:root {
    --bg: #f1f5f8;
    --panel: #ffffff;
    --line: #dce5f1;
    --text: #0e1b33;
    --muted: #617089;
    --blue: #286df0;
    --blue-dark: #1857c8;
    --blue-soft: #e8f1ff;
    --green: #00a878;
    --teal: #0aa6a6;
    --mint: #e7fbf3;
    --orange: #ff8a00;
    --orange-soft: #fff4dc;
    --rose: #ff3f78;
    --violet: #8b55ff;
    --shadow: 0 14px 36px rgba(31, 54, 88, 0.08);
    --radius: 8px;
    --content-topbar-height: 72px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
    font-size: 14px;
}

body.app-booting .app-shell,
body.app-booting .landing-shell {
    visibility: hidden;
}

body.landing-active {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 8%, rgba(55, 125, 255, 0.13), transparent 28%),
        radial-gradient(circle at 84% 12%, rgba(14, 184, 155, 0.11), transparent 30%),
        radial-gradient(circle at 64% 82%, rgba(255, 170, 112, 0.11), transparent 28%),
        linear-gradient(135deg, #f7fbff 0%, #f4f8ff 45%, #fff9f2 100%);
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.app-shell.workspace-hidden {
    display: none;
}

.landing-shell {
    display: none;
    min-height: 100vh;
    color: #14213d;
    background:
        linear-gradient(115deg, rgba(242, 249, 255, 0.97), rgba(247, 250, 255, 0.97) 52%, rgba(255, 250, 244, 0.97)),
        #f8fbff;
    position: relative;
    overflow: hidden;
}

.landing-shell.active {
    display: block;
}

.landing-shell::before {
    content: "";
    position: absolute;
    inset: -25% -12% auto auto;
    width: 920px;
    height: 920px;
    background:
        radial-gradient(circle at 36% 34%, rgba(76, 142, 255, 0.18), transparent 34%),
        radial-gradient(circle at 64% 58%, rgba(30, 188, 157, 0.16), transparent 36%);
    border-radius: 50%;
    filter: blur(18px);
    pointer-events: none;
}

.landing-nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1260px;
    width: min(1260px, 100%);
    margin: 0 auto;
    padding: 0 28px;
    backdrop-filter: blur(18px);
}

.landing-brand {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    color: inherit;
    text-align: left;
}

.landing-logo-mark {
    width: 58px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
}

.landing-logo-mark img,
.brand-mark img,
.login-brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-letter {
    display: inline-block;
}

.logo-a {
    color: #111a2e;
    text-shadow: 0 1px 0 rgba(17, 26, 46, 0.12);
}

.logo-i {
    width: 0.64em;
    height: 1.08em;
    margin-left: 0.02em;
    padding-right: 0.18em;
    padding-top: 0.04em;
    background: linear-gradient(180deg, #ff7a45 2%, #7c3aed 45%, #246bfe 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    clip-path: none;
    text-shadow: none;
    overflow: visible;
    transform: translateY(0.02em);
}

.landing-brand strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
}

.landing-brand small {
    display: block;
    margin-top: 3px;
    color: #66758e;
    font-size: 12px;
}

.landing-links {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.landing-links button,
.landing-footer button {
    border: 0;
    background: transparent;
    color: #51627b;
    font-weight: 700;
}

.landing-links button {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
}

.landing-links button:hover {
    color: #1c4fd7;
    background: rgba(40, 109, 240, 0.08);
}

.landing-nav-cta,
.landing-primary,
.landing-secondary {
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.landing-nav-cta,
.landing-primary {
    color: #fff;
    background: linear-gradient(135deg, #286df0, #0eb89b);
    box-shadow: 0 14px 28px rgba(40, 109, 240, 0.22);
}

.landing-nav-cta {
    min-height: 40px;
    padding: 0 18px;
}

.landing-primary,
.landing-secondary {
    min-height: 48px;
    padding: 0 24px;
}

.landing-secondary {
    color: #1d355c;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(171, 189, 216, 0.62);
    box-shadow: 0 12px 24px rgba(31, 54, 88, 0.08);
}

.landing-nav-cta:hover,
.landing-primary:hover,
.landing-secondary:hover {
    transform: translateY(-2px);
}

.landing-main {
    position: relative;
    z-index: 1;
    max-width: 1328px;
    margin: 0 auto;
    padding: 118px 36px 42px;
}

.landing-hero {
    min-height: min(660px, calc(100vh - 118px));
    display: grid;
    grid-template-columns: minmax(420px, 0.78fr) minmax(650px, 1.22fr);
    gap: 78px;
    align-items: center;
}

.landing-copy {
    animation: landingFadeUp 0.72s ease both;
}

.landing-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    border: 1px solid rgba(40, 109, 240, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #286df0;
    font-weight: 900;
    font-size: 13px;
}

.landing-title {
    max-width: 620px;
    margin: 20px 0 18px;
    line-height: 1.08;
    letter-spacing: 0;
}

.landing-title span {
    display: block;
}

.landing-title-main {
    color: #14213d;
    font-size: clamp(38px, 4.1vw, 58px);
    font-weight: 900;
    white-space: nowrap;
}

.landing-title-sub {
    margin-top: 8px;
    color: #286df0;
    font-size: clamp(30px, 3.1vw, 44px);
    font-weight: 850;
    white-space: nowrap;
}

.landing-copy p {
    max-width: 540px;
    margin: 0;
    color: #485c78;
    font-size: 18px;
    line-height: 1.85;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.landing-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.landing-proof span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border: 1px solid rgba(210, 222, 238, 0.78);
    border-radius: 999px;
    color: #56677f;
    background: rgba(255, 255, 255, 0.66);
}

.landing-proof strong {
    color: #14213d;
    font-size: 18px;
}

.landing-visual {
    position: relative;
    min-height: 620px;
    perspective: 1200px;
    animation: landingFadeUp 0.72s 0.08s ease both;
}

.landing-grid-plane {
    position: absolute;
    inset: 24% -2% 3% 5%;
    border-radius: 26px;
    background:
        linear-gradient(rgba(40, 109, 240, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(40, 109, 240, 0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    transform: rotateX(58deg) rotateZ(-8deg);
    opacity: 0.36;
    animation: gridDrift 8s linear infinite;
}

.landing-report-panel {
    position: absolute;
    width: min(620px, 90%);
    min-height: 220px;
    padding: 24px;
    border: 1px solid rgba(186, 204, 229, 0.72);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 84px rgba(30, 55, 90, 0.16);
    backdrop-filter: blur(18px);
    transform-style: preserve-3d;
    --lx: 0px;
    --ly: 0px;
}

.report-card-primary {
    left: 4%;
    top: 15%;
    z-index: 3;
    min-height: 430px;
    padding: 30px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 255, 0.94) 58%, rgba(239, 252, 248, 0.9));
    animation: panelFloatMain 6.5s ease-in-out infinite;
}

.report-card-rewrite {
    right: -1%;
    top: 1%;
    z-index: 2;
    width: min(500px, 75%);
    min-height: 232px;
    transform: scale(0.86) rotate(-3.4deg);
    border-color: rgba(40, 109, 240, 0.2);
    animation: panelFloatBack 7s ease-in-out infinite;
}

.report-card-dedup {
    right: 8%;
    bottom: 1%;
    z-index: 1;
    width: min(500px, 73%);
    min-height: 186px;
    transform: scale(0.82) rotate(3deg);
    border-color: rgba(14, 184, 155, 0.2);
    animation: panelFloatLow 7.8s ease-in-out infinite;
}

.report-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.report-card-head span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #245fd5;
    background: #eef5ff;
    font-weight: 800;
    font-size: 13px;
}

.report-card-head.green span {
    color: #078b71;
    background: #e8fbf5;
}

.report-card-head strong {
    color: #162542;
    font-size: 19px;
}

.report-cover-body {
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 22px;
}

.report-cover-score {
    min-height: 158px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px solid rgba(40, 109, 240, 0.16);
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 50%, #ffffff 0 48%, transparent 49%),
        conic-gradient(#ff7a71 0 32%, #dfeafb 32% 100%);
    box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.54);
    animation: scorePulse 3.8s ease-in-out infinite;
}

.report-cover-score b {
    color: #1e2c46;
    font-size: 42px;
    line-height: 1;
}

.report-cover-score span {
    color: #68768b;
    font-size: 13px;
    font-weight: 800;
}

.report-cover-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.report-cover-list li {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid #e4edf7;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
}

.report-cover-list span {
    color: #6b7a90;
    font-size: 13px;
    font-weight: 800;
}

.report-cover-list strong {
    color: #203453;
    font-size: 14px;
}

.report-metrics {
    display: grid;
    gap: 11px;
}

.report-metrics div {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
}

.report-metrics strong,
.report-metrics em {
    color: #43546d;
    font-size: 13px;
    font-style: normal;
}

.report-metrics span {
    height: 9px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, #286df0 0 var(--w), #e4edf7 var(--w) 100%);
}

.report-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.report-tags span {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #286df0;
    background: #eef5ff;
    font-size: 12px;
    font-weight: 800;
}

.paper-line {
    height: 10px;
    width: 72%;
    margin: 10px 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #dce8f6, rgba(220, 232, 246, 0.24));
}

.paper-line.wide {
    width: 92%;
}

.paper-line.short {
    width: 48%;
}

.rewrite-block {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e7edf5;
    background: #f8fbff;
}

.rewrite-block.after {
    border-color: rgba(11, 193, 154, 0.28);
    background: #effcf8;
}

.rewrite-block em {
    display: block;
    color: #6a7890;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.rewrite-block p {
    margin: 0;
    color: #2e415f;
    line-height: 1.7;
}

.scan-line {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(40, 109, 240, 0.7), transparent);
    animation: scanDown 3.4s ease-in-out infinite;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 18px;
}

.tag-row span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: #08766b;
    background: #e9fbf6;
    border: 1px solid rgba(11, 193, 154, 0.22);
    font-weight: 800;
    font-size: 12px;
}

.landing-feature-strip,
.landing-workflow,
.landing-trust {
    margin-top: 42px;
    scroll-margin-top: 90px;
}

.landing-feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.landing-feature-strip article {
    min-height: 168px;
    padding: 24px 22px;
    border: 1px solid rgba(210, 222, 238, 0.82);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 34px rgba(31, 54, 88, 0.055);
}

.landing-feature-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 999px;
    color: #286df0;
    background: #eef5ff;
    font-weight: 900;
    font-size: 12px;
}

.landing-feature-strip h2,
.landing-workflow h2,
.landing-trust h2 {
    margin: 14px 0 10px;
    font-size: 24px;
}

.landing-feature-strip p,
.landing-workflow p,
.landing-trust p {
    margin: 0;
    color: #5b6a82;
    font-size: 15px;
    line-height: 1.8;
}

.landing-workflow,
.landing-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    align-items: start;
    padding: 38px;
    border: 1px solid rgba(210, 222, 238, 0.78);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 20px 46px rgba(31, 54, 88, 0.07);
}

.landing-section-head {
    max-width: 620px;
}

.landing-section-head span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: #286df0;
    font-size: 13px;
    font-weight: 900;
}

.landing-section-head h2 {
    margin: 10px 0 8px;
    font-size: 30px;
    line-height: 1.22;
}

.landing-section-head p {
    margin: 0;
    color: #617089;
    font-size: 16px;
    line-height: 1.75;
}

.landing-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.landing-path-card {
    min-height: 250px;
    padding: 26px;
    border: 1px solid rgba(194, 210, 233, 0.82);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 252, 255, 0.86));
    box-shadow: 0 18px 36px rgba(31, 54, 88, 0.07);
    display: grid;
    align-content: start;
    gap: 14px;
}

.landing-path-card.accent {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(241, 252, 248, 0.88));
    border-color: rgba(11, 193, 154, 0.28);
}

.path-label {
    width: max-content;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    color: #245fd5;
    background: #edf4ff;
    font-size: 13px;
    font-weight: 900;
}

.landing-path-card.accent .path-label {
    color: #078b71;
    background: #e7fbf5;
}

.landing-path-card h3 {
    margin: 2px 0 0;
    color: #152542;
    font-size: 26px;
    line-height: 1.2;
}

.landing-path-card p {
    margin: 0;
    color: #63738c;
    font-size: 16px;
    line-height: 1.8;
}

.landing-path-card button {
    width: max-content;
    min-height: 40px;
    margin-top: 10px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #286df0;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(40, 109, 240, 0.18);
}

.landing-path-card.accent button {
    background: #0b9f86;
    box-shadow: 0 10px 20px rgba(11, 159, 134, 0.16);
}

.landing-path-card button:hover {
    transform: translateY(-1px);
}

.landing-trust {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    align-items: center;
    margin-bottom: 30px;
}

.trust-list {
    display: grid;
    gap: 12px;
}

.trust-list span {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid rgba(11, 193, 154, 0.18);
    border-radius: 12px;
    color: #24415f;
    background: #f1fbf8;
    font-weight: 700;
}

.landing-footer {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 28px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #748197;
}

.landing-footer span {
    font-weight: 800;
    color: #2b3b55;
}

@keyframes landingFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes panelFloatMain {
    0%, 100% {
        transform: translate3d(var(--lx), var(--ly), 0) rotate(-1.5deg);
    }
    50% {
        transform: translate3d(calc(var(--lx) + 8px), calc(var(--ly) - 16px), 36px) rotate(1deg);
    }
}

@keyframes panelFloatBack {
    0%, 100% {
        transform: translate3d(var(--lx), var(--ly), -28px) scale(0.82) rotate(-4deg);
    }
    50% {
        transform: translate3d(calc(var(--lx) - 12px), calc(var(--ly) + 14px), -8px) scale(0.84) rotate(-2deg);
    }
}

@keyframes panelFloatLow {
    0%, 100% {
        transform: translate3d(var(--lx), var(--ly), -46px) scale(0.78) rotate(3deg);
    }
    50% {
        transform: translate3d(calc(var(--lx) + 12px), calc(var(--ly) - 12px), -22px) scale(0.8) rotate(1deg);
    }
}

@keyframes gridDrift {
    from {
        background-position: 0 0, 0 0;
    }
    to {
        background-position: 34px 34px, 34px 34px;
    }
}

@keyframes scanDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    18%, 72% {
        opacity: 1;
    }
    86% {
        transform: translateY(126px);
        opacity: 0;
    }
}

@keyframes scorePulse {
    0%, 100% {
        filter: drop-shadow(0 0 0 rgba(40, 109, 240, 0));
    }
    50% {
        filter: drop-shadow(0 12px 18px rgba(40, 109, 240, 0.18));
    }
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 20;
    width: 256px;
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 42%);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: width 0.2s ease, transform 0.2s ease;
}

.sidebar.collapsed {
    width: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 64px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
}

.brand-home {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 2px 4px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    cursor: pointer;
    text-align: left;
    transition: background 0.16s ease;
    overflow: visible;
}

.brand-home:hover {
    background: #f6f9fd;
}

.brand-copy {
    min-width: 0;
    flex: 1;
    width: 148px;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.16s ease;
}

.brand-mark {
    width: 42px;
    height: 34px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    padding: 0;
    transform: translateY(1px);
}

.brand-name {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.brand-subtitle {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.sidebar-toggle {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #526783;
    transition: background 0.16s ease, color 0.16s ease;
}

.sidebar-toggle:hover {
    background: #f6f9fd;
    color: var(--blue);
}

.sidebar-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: width 0.16s ease;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 12px 0;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-left: 3px solid transparent;
    border-radius: 0 var(--radius) var(--radius) 0;
    background: transparent;
    color: #283955;
    text-align: left;
    overflow: hidden;
}

.nav-item:hover {
    background: #f3f7ff;
}

.nav-item.active {
    color: var(--blue);
    background: #f0f5ff;
    border-left-color: var(--blue);
    font-weight: 700;
}

.nav-feature.active,
.nav-feature:hover {
    color: #096d65;
    background: linear-gradient(90deg, #d9f3ee 0%, #effbf7 100%);
    border-left-color: #19a48f;
    box-shadow: inset 0 0 0 1px rgba(25, 164, 143, 0.15), 0 8px 18px rgba(20, 132, 116, 0.1);
}

.nav-feature {
    color: #11756d;
    background: linear-gradient(90deg, #e5f7f2 0%, #f5fcf9 100%);
    border-left-color: #73cfbf;
    font-weight: 700;
}

.nav-feature .nav-icon {
    color: #0b7b70;
    background: #d7f1eb;
    border-color: #98dccc;
}

.nav-feature .nav-badge {
    color: #08766b;
    background: #d8f2ec;
}

.nav-item.nav-disabled {
    color: #6f7f96;
}

.nav-item.nav-disabled:hover {
    color: #1f3556;
    background: #f3f7fc;
    box-shadow: none;
}

.welfare {
    color: #fff;
    background: linear-gradient(100deg, #ffae00 0%, #ff860f 50%, #ff5c86 100%);
    border: 2px solid transparent;
    border-left-width: 2px;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(255, 124, 32, 0.18);
}

.welfare.active {
    color: #fff;
    background: linear-gradient(100deg, #ffae00 0%, #ff860f 50%, #ff5c86 100%);
    border-color: #ff8a00;
    box-shadow: 0 0 0 2px #fff inset, 0 8px 18px rgba(255, 124, 32, 0.16);
}

.welfare.active .nav-badge.warm {
    color: #fff;
    background: rgba(255, 255, 255, 0.28);
}

.nav-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: inherit;
    flex: 0 0 24px;
    position: relative;
    background: #f4f7fb;
    border: 1px solid #dde7f2;
}

.nav-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-text {
    display: inline-block;
    min-width: 72px;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.16s ease, width 0.16s ease, min-width 0.16s ease;
}

.nav-item.active .nav-icon,
.nav-item:hover .nav-icon {
    background: #e9f2ff;
    border-color: #bcd5ff;
}

.welfare .nav-icon {
    color: #fff;
    background: transparent;
    border-color: transparent;
}

.welfare:hover .nav-icon,
.welfare.active .nav-icon {
    color: #fff;
    background: transparent;
    border-color: transparent;
}

.nav-icon::before,
.nav-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.icon-home::before {
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.icon-home::after {
    width: 5px;
    height: 5px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: translateY(-7px) rotate(45deg);
}

.icon-scan::before {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 4px;
    clip-path: polygon(0 0, 38% 0, 38% 18%, 18% 18%, 18% 38%, 0 38%, 0 0, 62% 0, 100% 0, 100% 38%, 82% 38%, 82% 18%, 62% 18%, 62% 0, 100% 62%, 100% 100%, 62% 100%, 62% 82%, 82% 82%, 82% 62%, 100% 62%, 38% 100%, 0 100%, 0 62%, 18% 62%, 18% 82%, 38% 82%, 38% 100%);
}

.icon-scan::after {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.icon-doc::before {
    width: 12px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.icon-doc::after {
    width: 7px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 4px 0 currentColor;
    transform: translateY(1px);
}

.icon-text::before {
    width: 14px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
}

.icon-text::after {
    width: 2px;
    height: 14px;
    background: currentColor;
    left: 7px;
}

.icon-spark::before {
    width: 15px;
    height: 15px;
    background: currentColor;
    clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
}

.icon-ai::before {
    content: "AI";
    position: static;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
}

.icon-user::before {
    width: 7px;
    height: 7px;
    top: 5px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-user::after {
    width: 14px;
    height: 8px;
    bottom: 4px;
    border: 2px solid currentColor;
    border-radius: 10px 10px 3px 3px;
}

.icon-card::before {
    width: 15px;
    height: 12px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.icon-card::after {
    width: 13px;
    height: 2px;
    background: currentColor;
    transform: translateY(-2px);
}

.icon-gift::before {
    width: 15px;
    height: 12px;
    bottom: 4px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.icon-gift::after {
    width: 2px;
    height: 16px;
    background: currentColor;
    box-shadow: 0 -5px 0 3px transparent;
}

.nav-badge {
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 999px;
    color: var(--blue);
    background: #e2eeff;
    font-size: 12px;
    white-space: nowrap;
    transition: opacity 0.16s ease;
}

.nav-badge.warm {
    color: #fff;
    background: rgba(255, 255, 255, 0.3);
}

.nav-divider {
    height: 1px;
    background: var(--line);
    margin: 18px 16px;
}

.sidebar-wallet {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
}

.wallet-chip {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid #dbe8ff;
    border-radius: var(--radius);
    background: #f4f8ff;
    color: var(--blue);
}

.wallet-chip.mint {
    border-color: #c9f3e4;
    background: #effcf7;
    color: var(--green);
}

.wallet-chip span {
    font-size: 12px;
}

.wallet-chip strong {
    font-size: 14px;
}

.main {
    margin-left: 256px;
    width: calc(100% - 256px);
    min-height: 100vh;
    padding: 0 40px 64px;
    transition: margin-left 0.2s ease, width 0.2s ease;
}

body.sidebar-collapsed .main {
    margin-left: 72px;
    width: calc(100% - 72px);
}

.sidebar.collapsed .brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0;
    gap: 0;
}

.sidebar.collapsed .brand-copy,
.sidebar.collapsed .nav-text,
.sidebar.collapsed .nav-badge,
.sidebar.collapsed .sidebar-wallet {
    opacity: 0;
    pointer-events: none;
}

.sidebar.collapsed .brand-copy,
.sidebar.collapsed .nav-text,
.sidebar.collapsed .nav-badge {
    display: none;
    width: 0;
    min-width: 0;
    overflow: hidden;
}

.sidebar.collapsed .brand-copy {
    display: none;
    flex: 0 0 0;
}

.sidebar.collapsed .brand-home {
    display: none;
}

.sidebar.collapsed .sidebar-toggle {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    margin: 0;
    border-radius: 10px;
}

.sidebar.collapsed .nav-list {
    align-items: center;
    gap: 8px;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.sidebar.collapsed .nav-item {
    width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
    gap: 0;
    border-left: 0;
    border-radius: 10px;
    background: transparent;
}

.sidebar.collapsed .nav-item:hover {
    background: #f1f6ff;
}

.sidebar.collapsed .nav-item.active {
    background: #edf4ff;
    border-left: 0;
}

.sidebar.collapsed .welfare {
    color: #fff;
    background: linear-gradient(100deg, #ffae00 0%, #ff860f 50%, #ff5c86 100%);
}

.sidebar.collapsed .welfare:hover {
    background: linear-gradient(100deg, #ffae00 0%, #ff860f 50%, #ff5c86 100%);
}

.sidebar.collapsed .welfare.active {
    color: #fff;
    background: linear-gradient(100deg, #ffae00 0%, #ff860f 50%, #ff5c86 100%);
    box-shadow: 0 0 0 2px #fff inset, 0 0 0 2px #ff8a00;
}

.sidebar.collapsed .welfare .nav-icon {
    color: #fff;
    background: transparent;
    border-color: transparent;
}

.sidebar.collapsed .welfare.active .nav-icon {
    color: #fff;
    background: transparent;
    border-color: transparent;
}

.sidebar.collapsed .nav-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    margin: 0;
}

.sidebar.collapsed .nav-icon svg {
    width: 16px;
    height: 16px;
}

.sidebar.collapsed .nav-divider {
    width: 44px;
    margin: 14px auto;
}

.sidebar.collapsed .sidebar-toggle span:nth-child(2) {
    width: 12px;
}

.topbar {
    position: relative;
    z-index: 20;
    height: var(--content-topbar-height);
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-spacer {
    flex: 1;
}

.notice-wrap {
    position: relative;
}

.mobile-menu {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
}

.round-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    box-shadow: 0 6px 18px rgba(24, 44, 72, 0.08);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.round-button:hover {
    border-color: #b9cbe0;
    background: #f8fbff;
}

.notice-icon {
    width: 19px;
    height: 19px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notice-dot {
    position: absolute;
    right: 10px;
    top: 9px;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ff4d68;
}

.notice-panel {
    display: none;
    position: absolute;
    right: 0;
    top: 52px;
    z-index: 50;
    width: 320px;
    border: 1px solid #dce5f1;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 18px 42px rgba(18, 34, 57, 0.16);
    overflow: hidden;
}

.notice-panel.active {
    display: block;
}

.notice-head {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid #edf2f8;
}

.notice-head strong {
    font-size: 16px;
}

.notice-head button {
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 13px;
}

.notice-list {
    display: grid;
}

.notice-item {
    position: relative;
    display: grid;
    gap: 6px;
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f4f8;
    text-align: left;
    background: #fff;
}

.notice-item:last-child {
    border-bottom: 0;
}

button.notice-item {
    border-width: 0 0 1px;
    border-radius: 0;
    cursor: pointer;
}

button.notice-item:hover {
    background: #f8fbff;
}

.notice-item.unread::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff4d68;
}

.notice-item strong {
    font-size: 14px;
    padding-left: 6px;
}

.notice-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notice-meta em {
    flex: 0 0 auto;
    padding: 2px 7px;
    border-radius: 999px;
    background: #eef5ff;
    color: #1d63d8;
    font-size: 12px;
    font-style: normal;
}

.notice-item span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    padding-left: 6px;
}

body.notices-read .notice-dot,
body.notices-read .notice-item.unread::before {
    display: none;
}

.login-button,
.primary-button,
.primary-wide {
    border: 0;
    border-radius: var(--radius);
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.login-button {
    height: 42px;
    min-width: 118px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 15px;
}

.primary-button {
    min-height: 38px;
    padding: 0 20px;
}

.primary-wide {
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
}

.login-button:hover,
.primary-button:hover,
.primary-wide:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(47, 125, 246, 0.22);
}

.primary-button:disabled {
    background: #9bbcf5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ghost-button:disabled {
    cursor: not-allowed;
    color: #91a0b4;
    background: #f2f5f9;
    border-color: #e1e8f2;
}

textarea:disabled {
    color: #526783;
    background: #f7f9fc;
    cursor: not-allowed;
}

.user-mini {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--text);
    padding: 4px 8px;
    text-align: left;
}

.user-menu-wrap {
    position: relative;
    display: none;
}

.user-mini:hover {
    background: #eef4fb;
}

.user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 60;
    width: 156px;
    padding: 8px;
    border: 1px solid #dce5f1;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 18px 42px rgba(18, 34, 57, 0.16);
}

.user-menu.active {
    display: grid;
    gap: 4px;
}

.user-menu button {
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #283955;
    text-align: left;
    font-weight: 700;
}

.user-menu button:hover {
    background: #f3f7ff;
    color: var(--blue);
}

.user-menu button.danger {
    color: #d43f5e;
}

.user-menu button.danger:hover {
    background: #fff1f4;
}

.avatar-sm,
.avatar-lg {
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
}

.avatar-sm {
    width: 36px;
    height: 36px;
}

.avatar-lg {
    width: 64px;
    height: 64px;
    font-size: 24px;
}

.user-mini span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.page {
    display: none;
    max-width: 1128px;
    margin: 0 auto;
}

.page.active {
    display: block;
}

.page-heading {
    min-height: var(--content-topbar-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: calc(var(--content-topbar-height) * -1);
    margin-bottom: 24px;
    padding-right: 0;
    text-align: center;
}

.page-heading h1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 2px 11px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0;
}

.page-heading h1::after,
.home-title h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), #0eb89b);
    transform: translateX(-50%);
}

.page-heading p {
    margin: 0;
    color: var(--muted);
}

.workspace-home {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
    gap: 24px;
    align-items: stretch;
}

.workbench-card,
.task-board {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #e2eaf4;
}

.workbench-card {
    position: relative;
    min-height: 460px;
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 36px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(10, 166, 166, 0.08), transparent 42%),
        linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
}

.workbench-card::after {
    content: "";
    position: absolute;
    right: -96px;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 48px solid rgba(40, 109, 240, 0.08);
    pointer-events: none;
}

.workbench-copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.section-kicker {
    display: inline-flex;
    height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--teal);
    background: #e9fbf8;
    font-weight: 800;
}

.workbench-copy h2 {
    margin: 24px 0 14px;
    max-width: 520px;
    font-size: 36px;
    line-height: 1.25;
}

.workbench-copy p {
    max-width: 560px;
    margin: 0;
    color: #526783;
    line-height: 1.9;
}

.primary-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.workbench-status {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.workbench-status div {
    padding: 18px;
    border: 1px solid #dfe9f5;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
}

.workbench-status span {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.workbench-status strong {
    font-size: 20px;
}

.task-board {
    padding: 22px;
}

.board-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
}

.board-header h2 {
    margin: 0;
    font-size: 20px;
}

.board-header span {
    color: var(--muted);
    font-size: 13px;
}

.task-item {
    width: 100%;
    min-height: 74px;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 14px;
    border: 0;
    border-top: 1px solid #edf2f8;
    background: transparent;
    text-align: left;
}

.task-item:hover {
    background: #f8fbff;
}

.task-item.unavailable {
    cursor: not-allowed;
    color: #6f7f96;
    background: #fbfcfe;
}

.task-item.unavailable:hover {
    background: #fbfcfe;
}

.task-item.unavailable .task-index {
    color: #7d8da5;
    background: #eef2f7;
}

.task-index {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f0f6ff;
    color: var(--blue);
    font-weight: 800;
}

.task-item strong {
    display: block;
    margin-bottom: 5px;
}

.task-item small {
    color: var(--muted);
}

.task-item em {
    min-width: 48px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-style: normal;
    text-align: center;
}

.task-item.ready em {
    color: #00785b;
    background: #e7fbf3;
}

.task-item.unavailable em {
    color: #8a5a00;
    background: #fff4dc;
}

.home-dashboard {
    display: grid;
    gap: 18px;
}

.home-title {
    min-height: var(--content-topbar-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: calc(var(--content-topbar-height) * -1);
    padding-right: 0;
    text-align: center;
}

.home-title h1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 2px 11px;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0;
}

.home-title p {
    margin: 0;
    color: var(--muted);
}

.home-panel,
.home-card {
    border: 1px solid #e2eaf4;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.home-account-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background:
        linear-gradient(145deg, rgba(40, 109, 240, 0.06), transparent 54%),
        #fff;
}

.home-account-head,
.home-panel .board-header,
.home-card .board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.home-account-head span {
    color: var(--muted);
}

.home-account-head button {
    border: 0;
    color: var(--blue);
    background: transparent;
    font-weight: 700;
}

.home-balance span,
.home-metrics span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.home-balance strong {
    display: block;
    margin-top: 4px;
    font-size: 32px;
    line-height: 1;
}

.home-metrics {
    display: grid;
    gap: 10px;
}

.home-metrics.compact {
    gap: 8px;
}

.home-metrics.mini {
    grid-template-columns: minmax(72px, 0.78fr) minmax(126px, 1.34fr) minmax(68px, 0.72fr);
    gap: 8px;
}

.home-metrics div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #edf2f8;
    border-radius: var(--radius);
    background: #f8fbff;
}

.home-metrics.mini div {
    display: block;
    min-height: 30px;
    min-width: 0;
    padding: 6px 9px;
}

.home-metrics.mini strong {
    display: block;
    margin-top: 3px;
    text-align: left;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
}

.home-metrics strong {
    color: #1f3556;
    white-space: nowrap;
    text-align: right;
}

.home-metrics strong span {
    display: inline;
    color: inherit;
    font-size: inherit;
}

.home-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
    align-items: start;
}

.home-top-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(340px, 1.18fr);
    gap: 16px;
    align-items: stretch;
}

.home-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.home-panel {
    padding: 18px;
}

.home-card {
    min-height: 230px;
    padding: 22px;
}

.home-tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 20px;
}

.home-tool-card {
    position: relative;
    min-height: 144px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
    border: 1px solid #e2eaf4;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 63, 120, 0.12), transparent 24%),
        linear-gradient(145deg, #ffffff, #fff8fb);
    box-shadow: var(--shadow);
    text-align: left;
    overflow: hidden;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.feature-card {
    position: relative;
    min-height: 172px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    overflow: hidden;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: #b9d2ff;
    box-shadow: 0 16px 32px rgba(31, 54, 88, 0.1);
}

.feature-card.pink {
    background:
        radial-gradient(circle at 88% 16%, rgba(255, 63, 120, 0.14), transparent 28%),
        linear-gradient(145deg, #ffffff, #fff7fb);
}

.feature-card.green {
    background:
        radial-gradient(circle at 88% 16%, rgba(10, 166, 166, 0.16), transparent 28%),
        linear-gradient(145deg, #ffffff, #f4fffc);
}

.home-tool-card:hover {
    transform: translateY(-2px);
    border-color: #b9d2ff;
    box-shadow: 0 16px 32px rgba(31, 54, 88, 0.1);
}

.home-tool-card.accent {
    background:
        radial-gradient(circle at 88% 18%, rgba(10, 166, 166, 0.14), transparent 26%),
        linear-gradient(145deg, #ffffff, #f5fffc);
}

.home-tool-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, #ff3f78, #d81b60);
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 10px 18px rgba(255, 63, 120, 0.18);
}

.home-tool-card.accent .home-tool-icon {
    background: linear-gradient(135deg, #00a878, #0aa6a6);
    box-shadow: 0 12px 22px rgba(10, 166, 166, 0.2);
}

.home-tool-card strong {
    font-size: 18px;
}

.feature-card strong {
    font-size: 19px;
    line-height: 1.25;
}

.home-tool-card small {
    min-height: 0;
    color: var(--muted);
    line-height: 1.55;
}

.feature-card small {
    color: var(--muted);
    line-height: 1.55;
}

.home-tool-card em {
    margin-top: 2px;
    color: var(--blue);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.feature-card em {
    margin-top: auto;
    color: var(--blue);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.home-balance.compact strong {
    font-size: 26px;
}

.home-account-summary {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 172px;
    padding: 18px;
    gap: 8px;
    background:
        radial-gradient(circle at 92% 12%, rgba(40, 109, 240, 0.1), transparent 24%),
        #fff;
}

.record-card,
.tips-card {
    width: 100%;
}

.record-card {
    min-height: 320px;
}

.tips-card {
    min-height: 280px;
}

.home-side-panel {
    display: grid;
    gap: 18px;
}

.home-recent-list {
    display: grid;
    gap: 10px;
}

.home-recent-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid #edf2f8;
    border-radius: var(--radius);
    background: #f8fbff;
    text-align: left;
}

.home-recent-item:hover {
    border-color: #c9dbf8;
}

.home-recent-item.failed {
    background: #fff7f8;
}

.home-recent-item strong,
.home-recent-item span {
    display: block;
}

.home-recent-item span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.home-recent-item em {
    color: var(--blue);
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.home-tips {
    margin: 0;
    padding-left: 18px;
    color: #526783;
    line-height: 1.9;
}

.home-tips strong {
    color: var(--blue);
}

.content-layout,
.document-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 294px;
    gap: 24px;
    align-items: start;
}

.content-main {
    display: grid;
    gap: 24px;
}

.content-side {
    display: grid;
    gap: 24px;
}

.notice-card,
.info-card,
.panel-card,
.history-card,
.side-card,
.text-panel,
.account-card,
.asset-card,
.table-card,
.login-card {
    background: var(--panel);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.notice-card {
    padding: 18px 24px;
    border: 1px solid #ffe1a9;
    background: linear-gradient(180deg, #fffdf2, #fff7dc);
    color: #ae5c00;
    line-height: 1.9;
}

.notice-card.slim {
    margin-bottom: 24px;
}

.notice-card strong {
    display: block;
    margin-bottom: 4px;
}

.notice-card p {
    margin: 0;
}

.notice-list {
    margin: 0;
    padding-left: 1.25em;
}

.notice-list li {
    margin: 6px 0 0;
    padding-left: 2px;
}

.notice-list li:first-child {
    margin-top: 0;
}

.notice-list .ai-order-warning {
    color: #d82455;
    font-weight: 800;
}

.info-card,
.panel-card,
.history-card,
.side-card {
    padding: 24px;
}

.info-card h2,
.panel-card h2,
.history-card h2,
.side-card h3,
.text-panel h2 {
    margin: 0;
    font-size: 20px;
}

.model-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    color: #283955;
}

.muted-note {
    margin: 16px 0 0;
    color: #617089;
    line-height: 1.7;
}

.model-row span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--blue);
    font-weight: 700;
}

.aigc-rule-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 18px;
    border: 1px solid #dfe8f5;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 32px rgba(31, 54, 88, 0.05);
}

.aigc-rule-item {
    min-height: 108px;
    padding: 18px 20px;
}

.aigc-rule-item + .aigc-rule-item {
    border-left: 1px solid #e7eef7;
}

.aigc-rule-item strong {
    display: block;
    margin-bottom: 8px;
    color: #1d2d46;
    font-size: 16px;
}

.aigc-rule-item p {
    margin: 0;
    color: #526783;
    line-height: 1.65;
}

.aigc-rule-item small {
    display: block;
    margin-top: 6px;
    color: #72809a;
    line-height: 1.5;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-title span {
    color: var(--muted);
    font-size: 13px;
}

.upload-box {
    min-height: 212px;
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: var(--muted);
    margin-bottom: 24px;
    background: #fbfdff;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.upload-box:hover {
    border-color: #9dc0ff;
    background: #f7fbff;
}

.upload-box.dragging {
    border-color: #4f83cf;
    background: #eef6ff;
    color: #285f9f;
    box-shadow: inset 0 0 0 1px rgba(79, 131, 207, 0.18), 0 16px 34px rgba(53, 91, 145, 0.1);
}

.upload-box.selected {
    border-color: var(--blue);
    background: var(--blue-soft);
    color: var(--blue);
}

.upload-box.invalid {
    border-color: #e1a6a6;
    background: #fff7f7;
    color: #b94949;
}

.upload-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: #f0f4fa;
    color: #8b98aa;
    font-size: 34px;
}

.file-input {
    display: none;
}

.file-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin: -8px 0 24px;
    padding: 14px 16px;
    border: 1px solid #d8eadf;
    border-radius: var(--radius);
    background: #f4fff8;
}

.file-preview strong,
.file-preview span {
    display: block;
}

.file-preview strong {
    color: #1d2d46;
    overflow-wrap: anywhere;
}

.file-preview span {
    margin-top: 4px;
    color: #617089;
}

.file-preview em {
    padding: 5px 10px;
    border-radius: 999px;
    background: #e4f6ed;
    color: #168463;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.file-preview.invalid {
    border-color: #edc8c8;
    background: #fff7f7;
}

.file-preview.invalid em {
    background: #f9e5e5;
    color: #b94949;
}

.upload-progress {
    align-items: center;
    gap: 10px;
    margin-top: -8px;
    padding: 12px 14px;
    border: 1px solid #dce7f2;
    border-radius: var(--radius);
    background: #f7fbff;
    color: #4c627d;
    font-size: 13px;
    font-weight: 700;
}

.upload-progress i {
    width: 16px;
    height: 16px;
    border: 2px solid #c9d8eb;
    border-top-color: #3f75b6;
    border-radius: 50%;
}

.upload-progress.active i {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.aigc-report-list {
    display: grid;
    gap: 10px;
}

.aigc-report-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border: 1px solid #e3ebf5;
    border-radius: var(--radius);
    background: #fbfdff;
    text-align: left;
}

.aigc-report-item:hover {
    border-color: #bed2f3;
    background: #f7fbff;
}

.aigc-report-item strong,
.aigc-report-item span {
    display: block;
}

.aigc-report-item span span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.aigc-report-item em {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.aigc-report-item em.low {
    color: #168463;
    background: #e7f7ef;
}

.aigc-report-item em.medium {
    color: #9a6818;
    background: #fff3d9;
}

.aigc-report-item em.high {
    color: #b95725;
    background: #fff0e7;
}

.aigc-report-item em.severe {
    color: #b94949;
    background: #fdeaea;
}

.aigc-report-item em.ai {
    color: #b73535;
    background: #fdeaea;
}

.aigc-report-item em.human {
    color: #276954;
    background: #e7f7ef;
}

.report-heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
}

.report-heading > div:first-child {
    flex: 1;
    display: flex;
    justify-content: center;
}

.report-heading h1 {
    transform: translateX(56px);
}

.report-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.report-empty {
    padding: 28px;
}

.report-empty p {
    margin: 8px 0 18px;
    color: var(--muted);
}

.aigc-report-document {
    display: grid;
    gap: 24px;
    color: #1d2636;
}

.aigc-report-page {
    position: relative;
    overflow: hidden;
    width: min(100%, 794px);
    min-height: 1123px;
    margin: 0 auto;
    padding: 42px 48px;
    border: 1px solid #d9e1ec;
    background: #fff;
    box-shadow: 0 18px 42px rgba(31, 54, 88, 0.1);
}

.aigc-report-page::before {
    content: "paperpass.pro";
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    color: rgba(31, 79, 143, 0.055);
    font-size: 78px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    transform: rotate(-28deg);
    pointer-events: none;
    user-select: none;
}

.aigc-report-page > * {
    position: relative;
    z-index: 1;
}

.report-overview-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.report-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #1f4f8f;
}

.report-page-head.compact {
    align-items: center;
}

.report-page-head span {
    display: block;
    margin-bottom: 8px;
    color: #526783;
    font-size: 13px;
}

.report-page-head h2 {
    margin: 0;
    color: #12335f;
    font-size: 25px;
    line-height: 1.25;
}

.report-page-head strong {
    color: #12335f;
    font-size: 13px;
    white-space: nowrap;
}

.report-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 20px;
}

.report-paper-info,
.report-result-card {
    border: 1px solid #dce5f1;
}

.report-paper-info {
    padding: 18px 20px;
}

.report-paper-info dl {
    display: grid;
    gap: 12px;
    margin: 0;
}

.report-paper-info div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
}

.report-paper-info dt {
    color: #617089;
}

.report-paper-info dd {
    margin: 0;
    color: #17243a;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.report-result-card {
    padding: 18px;
    background: #fbfdff;
}

.report-result-card h3 {
    margin: 0 0 16px;
    color: #12335f;
    font-size: 18px;
}

.result-numbers {
    display: grid;
    gap: 14px;
}

.result-numbers div {
    padding-bottom: 14px;
    border-bottom: 1px solid #e5edf7;
}

.result-numbers strong,
.result-numbers span {
    display: block;
}

.result-numbers strong {
    color: #12335f;
    font-size: 34px;
    line-height: 1;
}

.result-numbers div:last-child strong {
    color: #ba3f45;
}

.result-numbers span {
    margin-top: 6px;
    color: #526783;
}

.distribution-bar {
    display: flex;
    height: 14px;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #edf3fb;
}

.distribution-bar i,
.distribution-bar b {
    display: block;
}

.distribution-bar i {
    background: #2f6ed8;
}

.distribution-bar b {
    background: #c65353;
}

.report-result-card p {
    margin: 0;
    color: #526783;
    line-height: 1.7;
}

.report-basic-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid #dce5f1;
}

.report-basic-stats div {
    min-height: 72px;
    padding: 13px 12px;
    border-right: 1px solid #dce5f1;
}

.report-basic-stats div:last-child {
    border-right: 0;
}

.report-basic-stats span,
.report-basic-stats strong {
    display: block;
}

.report-basic-stats span {
    margin-bottom: 8px;
    color: #617089;
    font-size: 12px;
}

.report-basic-stats strong {
    color: #17243a;
    font-size: 16px;
}

.report-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.report-section-title h3 {
    margin: 0;
    color: #12335f;
    font-size: 18px;
}

.report-section-title span {
    color: var(--muted);
    font-size: 13px;
}

.chapter-table {
    border: 1px solid #dce5f1;
}

.chapter-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1.6fr) minmax(0, 1.1fr) 110px 110px;
    align-items: center;
    min-height: 46px;
    border-top: 1px solid #e6edf6;
}

.chapter-row:first-child {
    border-top: 0;
}

.chapter-row span,
.chapter-row strong {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-right: 1px solid #e6edf6;
    overflow-wrap: anywhere;
}

.chapter-row span:last-child {
    border-right: 0;
}

.chapter-head {
    background: #eef4fb;
    color: #314a70;
    font-weight: 800;
}

.chapter-row strong {
    color: #17243a;
}

.suggestion-list {
    margin: 0;
    padding-left: 20px;
    color: #526783;
    line-height: 1.9;
}

.report-legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.report-legend span,
.report-distribution-note span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #526783;
    font-size: 13px;
}

.report-legend i,
.report-distribution-note i {
    width: 18px;
    height: 10px;
    border-radius: 2px;
}

.legend-ai,
.legend-ai-high {
    background: rgba(205, 60, 60, 0.22);
}

.legend-ai-medium {
    background: rgba(205, 60, 60, 0.22);
}

.legend-ai-low {
    background: rgba(205, 60, 60, 0.22);
}

.legend-human {
    background: rgba(42, 73, 105, 0.08);
}

.original-compare {
    display: grid;
    gap: 22px;
    margin-top: 24px;
}

.compare-section h3 {
    margin: 0 0 12px;
    color: #12335f;
    font-size: 18px;
}

.compare-parts {
    display: grid;
    gap: 4px;
}

.compare-part {
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.compare-part p {
    margin: 0;
    color: #26354c;
    font-size: 15px;
    line-height: 1.9;
    text-align: justify;
}

.part-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.part-meta strong,
.part-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
}

.part-meta strong {
    background: rgba(21, 47, 78, 0.08);
    color: #28405c;
}

.part-meta span {
    background: rgba(255, 255, 255, 0.68);
    color: #526783;
}

.compare-part em,
.compare-part small {
    display: block;
    margin-top: 8px;
    color: #526783;
    font-size: 13px;
    font-style: normal;
    line-height: 1.65;
}

.compare-part small {
    color: #39536f;
}

.mark-ai-high,
.mark-ai-medium,
.mark-ai-low,
.mark-ai {
    border-color: rgba(205, 60, 60, 0.2);
    background: rgba(205, 60, 60, 0.08);
}

.mark-ai-high p,
.mark-ai-medium p,
.mark-ai-low p,
.mark-ai p {
    color: #b73535;
    font-weight: 650;
}

.mark-human {
    border-color: transparent;
    background: transparent;
}

.report-distribution-note {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid #dce5f1;
}

.report-distribution-note strong {
    color: #12335f;
}

.report-disclaimer {
    margin-top: 24px;
    padding: 18px 22px;
    border: 1px solid #e8dcc4;
    background: #fffaf0;
    color: #725b2d;
    line-height: 1.75;
}

.report-disclaimer strong {
    display: block;
    margin-bottom: 6px;
    color: #5f481d;
}

.report-disclaimer p {
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

label span {
    display: block;
    margin-bottom: 8px;
    color: #314059;
}

input,
textarea {
    width: 100%;
    border: 1px solid #d7e1ee;
    border-radius: var(--radius);
    background: #fbfdff;
    color: var(--text);
    outline: none;
}

input {
    height: 42px;
    padding: 0 14px;
}

textarea {
    min-height: 300px;
    padding: 16px;
    resize: vertical;
    line-height: 1.8;
}

input:focus,
textarea:focus {
    border-color: #94baff;
    box-shadow: 0 0 0 3px rgba(47, 125, 246, 0.08);
}

.side-card ul {
    margin: 18px 0 0;
    padding-left: 18px;
    color: #40516b;
    line-height: 2.2;
}

.side-card p {
    color: #40516b;
    line-height: 1.8;
}

.faq-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.faq-list strong {
    color: #1d2d46;
    font-size: 14px;
}

.faq-list p {
    margin: 0 0 8px;
    color: #526783;
    line-height: 1.7;
}

.side-card button {
    width: 100%;
    height: 42px;
    margin-top: 10px;
    border: 1px solid #e5edf7;
    border-radius: var(--radius);
    background: #fff;
    color: #283955;
    text-align: left;
    padding: 0 12px;
}

.empty-state {
    min-height: 150px;
    display: grid;
    place-items: center;
    color: #64748b;
}

.text-tool-shell {
    position: relative;
}

.text-tool {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.ai-tool-layout,
.tool-usage-layout {
    position: relative;
}

.ai-usage-card,
.tool-usage-card {
    position: absolute;
    left: calc(100% + 28px);
    top: 0;
    width: 288px;
    min-height: 354px;
    padding: 22px 22px 24px;
    border: 1px solid #dfe9f6;
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 255, 0.96)),
        #fff;
    box-shadow: var(--shadow);
}

.ai-usage-head,
.tool-usage-head {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.ai-usage-head span,
.tool-usage-head span {
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.ai-usage-head strong,
.tool-usage-head strong {
    color: #10213b;
    font-size: 20px;
    line-height: 1.25;
}

.ai-usage-card ol,
.tool-usage-card ol {
    margin: 0;
    padding-left: 1.25em;
    color: #40516b;
    line-height: 1.9;
}

.ai-usage-card li + li,
.tool-usage-card li + li {
    margin-top: 10px;
}

.text-panel {
    padding: 20px 20px 22px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.text-panel textarea {
    min-height: 360px;
    border-color: #dce5f1;
}

.text-link {
    border: 0;
    color: var(--blue);
    background: transparent;
    font-weight: 700;
}

.tool-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0 10px;
}

.tool-model-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: -8px 0 18px;
}

.tool-model-title {
    font-size: 14px;
    font-weight: 700;
    color: #7b4f14;
    line-height: 1;
}

.tool-model-bar .model-selector {
    justify-content: center;
    padding: 10px 12px;
    border: 1px solid #dfe8f4;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(15, 35, 60, 0.06);
}

.tool-footer.actions-only {
    justify-content: flex-end;
    margin: 18px 0 8px;
}

.tool-action-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 28px;
    margin: 16px 0 12px;
}

.tool-action-left,
.tool-action-center,
.tool-action-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tool-action-left {
    justify-content: flex-start;
}

.tool-action-center {
    justify-content: center;
}

.tool-action-right {
    justify-content: flex-end;
}

.tool-action-row .primary-button {
    min-width: 146px;
    height: 48px;
    font-size: 16px;
}

.model-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.model-selector span {
    color: var(--muted);
}

.model-btn,
.ghost-button,
.small-button,
.pill,
.amount-button {
    height: 36px;
    border: 1px solid #d7e1ee;
    border-radius: var(--radius);
    background: #fff;
    color: #273955;
    padding: 0 14px;
}

.model-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 138px;
    height: 38px;
    padding: 0 10px 0 13px;
    white-space: nowrap;
}

.model-btn span {
    color: inherit;
    font-weight: 700;
}

.model-btn em {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #fff1c2;
    color: #9a5700;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.model-btn.pro em {
    background: #ffe0ea;
    color: #c2184f;
}

.row-action {
    height: 26px;
    margin-top: 8px;
    border: 1px solid #ffd0dc;
    border-radius: var(--radius);
    background: #fff7f9;
    color: #d82455;
    padding: 0 10px;
    font-size: 12px;
}

.danger-button {
    width: 100%;
    margin-top: 10px;
    border-color: #ffd0dc;
    background: #fff7f9;
    color: #d82455;
}

.model-btn.active,
.pill.active,
.amount-button.active {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 8px 18px rgba(47, 125, 246, 0.22);
}

.model-btn.active em {
    background: rgba(255, 255, 255, 0.94);
    color: #1f63d4;
}

.model-btn.pro.active em {
    color: #c2184f;
}

.model-btn:disabled {
    cursor: not-allowed;
    color: #91a0b4;
    background: #f2f5f9;
    border-color: #e1e8f2;
    box-shadow: none;
}

.action-row {
    display: flex;
    gap: 10px;
}

.loading-row,
.stats-line {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    margin: 10px 0;
}

.estimate-line {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    margin: -6px 0 12px;
    color: var(--muted);
}

.estimate-line strong {
    color: var(--blue);
}

.estimate-line strong.over-limit,
.panel-title span.over-limit {
    color: #ff2864;
}

.record-list {
    display: grid;
    gap: 10px;
}

.record-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid #edf2f8;
    cursor: pointer;
}

.record-item:hover {
    background: #f8fbff;
}

.record-item.failed {
    background: #fff7f8;
}

.record-item:first-child {
    border-top: 0;
}

.record-item strong,
.record-item span {
    display: block;
}

.record-item span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.empty-state.compact {
    min-height: 86px;
}

.spinner {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #dbe6f7;
    border-top-color: var(--blue);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.tabs {
    display: flex;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    padding: 6px;
    border: 1px solid #dde7f2;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.tab {
    height: 36px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: #40516b;
}

.tab.active {
    color: #fff;
    background: var(--blue);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 356px;
    gap: 24px;
}

.account-card {
    padding: 28px 24px;
}

.account-card h2 {
    margin: 0 0 22px;
}

.account-head {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.account-head h3 {
    margin: 0 0 6px;
    font-size: 22px;
}

.account-head p {
    margin: 0;
    color: var(--muted);
}

.account-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.account-meta div {
    padding: 16px;
    border: 1px solid #e3ebf5;
    border-radius: var(--radius);
    background: #f8fbff;
}

.account-meta span {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.invite-box {
    display: block;
    padding: 16px;
    border: 1px solid #e3ebf5;
    border-radius: var(--radius);
    background: #f8fbff;
}

.invite-box div {
    display: flex;
    gap: 8px;
}

.invite-box button {
    min-width: 78px;
    border: 0;
    border-radius: var(--radius);
    background: var(--blue);
    color: #fff;
    font-weight: 700;
}

.asset-stack {
    display: grid;
    gap: 20px;
}

.asset-card {
    position: relative;
    min-height: 214px;
    padding: 38px 24px;
    overflow: hidden;
}

.asset-card::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 56px;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    border: 10px solid rgba(255, 255, 255, 0.55);
}

.asset-card.gold {
    background: linear-gradient(135deg, #fff5d8, #fff);
}

.asset-card.mint {
    background: linear-gradient(135deg, #e6fff3, #fff);
}

.asset-card span {
    display: block;
    color: #9c5d00;
    margin-bottom: 16px;
}

.asset-card.mint span {
    color: #00785b;
}

.asset-card strong {
    display: block;
    font-size: 44px;
}

.asset-card small {
    font-size: 16px;
    font-weight: 400;
}

.asset-card button {
    position: absolute;
    right: 24px;
    bottom: 28px;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    height: 34px;
    padding: 0 14px;
}

.filter-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-row .right {
    margin-left: auto;
    color: var(--green);
    border-color: #9de8cf;
    background: #effcf7;
}

.table-card {
    overflow: hidden;
}

.table-row,
.table-line,
.table-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 0.8fr;
    gap: 20px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

.table-head {
    grid-template-columns: 1fr auto;
}

.table-row:last-child,
.table-line:last-child {
    border-bottom: 0;
}

.table-row span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}

.status {
    display: inline-block !important;
    width: fit-content;
    padding: 4px 10px;
    border: 1px solid #c7d8f2;
    border-radius: 999px;
    color: #4b6a95 !important;
    margin-top: 0 !important;
}

.green-text { color: var(--green); }
.blue-text { color: var(--blue); }
.red-text { color: #ff2864; }

.inline-form {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.inline-form input {
    max-width: 376px;
}

.amount-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0 14px;
}

.pay-method-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 18px 0 0;
}

.custom-amount {
    display: none;
    margin-top: 0;
}

.custom-amount.active {
    display: flex;
}

.recharge-result {
    color: #40516b;
}

.package-tabs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.package-tabs button {
    height: 44px;
    min-width: 128px;
    border: 1px solid #9edbf0;
    border-radius: 8px;
    color: #082946;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 253, 250, 0.88));
    font-weight: 800;
}

.package-tabs button.active {
    color: #082946;
    background: linear-gradient(135deg, #ffffff, #ecfffb);
    border-color: #75cfee;
}

.package-tabs span {
    margin-left: 8px;
    color: #405875;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.recommend {
    position: absolute;
    top: 24px;
    right: 22px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f8b932, #e89318);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(232, 147, 24, 0.24);
}

.price-card {
    position: relative;
    min-height: 0;
    padding: 0;
    border: 1px solid rgba(199, 232, 238, 0.92);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(68, 143, 158, 0.14);
    text-align: left;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.price-card:hover {
    transform: translateY(-7px);
    border-color: #9ddfe7;
    box-shadow: 0 34px 90px rgba(68, 143, 158, 0.22);
}

.price-card.selected {
    border-color: #efc56a;
    box-shadow: 0 34px 92px rgba(183, 127, 33, 0.22);
}

.price-card.featured {
    background: #fff;
}

.price-card.featured:hover {
    transform: translateY(-7px);
}

.price-card.featured .discount-tag {
    display: none;
}

.price-card.featured .price-card-hero {
    background:
        radial-gradient(circle at 88% 16%, rgba(255, 221, 128, 0.34), transparent 31%),
        linear-gradient(145deg, #fff8de, #fffdf5);
}

.price-card.featured .plan-tag {
    color: #8a5a00;
    background: #fff0bd;
}

.price-card.featured .points-line strong,
.price-card.featured .price-line b {
    color: #a76600;
}

.price-card-hero {
    min-height: 210px;
    padding: 24px 22px 20px;
    background:
        radial-gradient(circle at 88% 16%, rgba(125, 211, 252, 0.22), transparent 30%),
        linear-gradient(145deg, #e9fbf8, #eafcff);
}

.price-card-body {
    padding: 20px 22px 22px;
    background: rgba(255, 255, 255, 0.96);
}

.price-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.plan-tag,
.discount-tag,
.unit-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.plan-tag {
    color: #0f766e;
    background: #d7faf3;
}

.discount-tag {
    color: #0f766e;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(15, 118, 110, 0.12);
}

.price-card h2 {
    margin: 0 0 22px;
    color: #183244;
    font-size: 23px;
    line-height: 1.25;
}

.points-line {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.points-line strong {
    color: #0f766e;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.points-line span {
    color: #64748b;
    font-size: 18px;
    font-weight: 800;
}

.quota-list {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.quota-list p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    min-height: 22px;
}

.quota-list span {
    color: #52677d;
    font-size: 13px;
    white-space: nowrap;
}

.quota-list strong {
    color: #0f766e;
    font-size: 13px;
    white-space: nowrap;
}

.unit-price {
    width: max-content;
    margin-bottom: 16px;
    color: #0f766e;
    background: #e6fbf7;
}

.price-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.price-line del {
    color: #94a3b8;
    font-size: 14px;
}

.price-line b {
    color: #0f766e;
    font-size: 30px;
    line-height: 1;
}

.price-card button {
    width: 100%;
    height: 44px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #14b8a6, #38bdf8);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(20, 184, 166, 0.22);
}

.price-card button:hover {
    filter: brightness(1.04);
}

.pay-row {
    display: grid;
    grid-template-columns: 280px 1fr 242px;
    gap: 18px;
    align-items: center;
    margin-top: 28px;
    padding: 16px;
    border: 1px solid rgba(157, 223, 231, 0.9);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(241, 253, 251, 0.9));
    box-shadow: 0 24px 70px rgba(68, 143, 158, 0.14);
}

.selected-plan span {
    display: block;
    color: #6b7f98;
    font-size: 13px;
}

.selected-plan strong {
    display: block;
    margin-top: 6px;
    color: #183244;
    font-size: 22px;
    line-height: 1.2;
}

.selected-plan-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #526783;
    font-size: 14px;
    font-weight: 700;
}

.selected-plan-meta b {
    color: #0f766e;
}

.pay-row .primary-button {
    height: 52px;
    background: linear-gradient(135deg, #14b8a6, #38bdf8);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(20, 184, 166, 0.22);
}

.welfare-heading {
    align-items: center;
    padding-right: 0;
    text-align: center;
}

.welfare-heading h1 {
    font-size: 27px;
}

.welfare-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.welfare-choice-card {
    position: relative;
    min-height: 128px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: center;
    padding: 24px 28px;
    border: 1px solid #dce8f5;
    border-radius: var(--radius);
    background: #fff;
    color: #1d2d46;
    text-align: left;
    box-shadow: 0 12px 26px rgba(31, 54, 88, 0.05);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.welfare-choice-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(31, 54, 88, 0.08);
}

.welfare-choice-card.active {
    border: 2px solid #ff8a00;
    background: linear-gradient(135deg, #fffdf8 0%, #fff7eb 100%);
    box-shadow: 0 12px 28px rgba(255, 138, 0, 0.13);
}

.welfare-choice-card.muted {
    background: #ffffff;
}

.welfare-choice-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #eef3f8;
    color: #66758b;
}

.welfare-choice-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.welfare-choice-card.active .welfare-choice-icon {
    background: linear-gradient(135deg, #ffae00 0%, #ff7a00 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(255, 138, 0, 0.22);
}

.welfare-choice-copy {
    display: grid;
    gap: 8px;
}

.welfare-choice-copy strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.welfare-choice-copy em {
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef3f8;
    color: #66758b;
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
}

.welfare-choice-card.active em {
    background: linear-gradient(90deg, #ff8a00, #ff6d7a);
    color: #fff;
}

.welfare-choice-copy small {
    color: #40516b;
    line-height: 1.6;
}

.welfare-choice-check {
    position: absolute;
    top: -1px;
    right: -1px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 32px;
    border-radius: 0 var(--radius) 0 14px;
    background: #ff9600;
    color: #fff;
    font-size: 18px;
    font-style: normal;
}

.welfare-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

.welfare-main-stack {
    display: grid;
    gap: 24px;
}

.welfare-rules-card,
.welfare-flow-card {
    border: 1px solid #dce8f5;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 14px 32px rgba(31, 54, 88, 0.06);
}

.welfare-rules-card {
    overflow: hidden;
}

.invite-action-card {
    align-content: start;
    justify-items: stretch;
    gap: 16px;
    min-height: auto;
    padding: 24px;
    border: 1px solid #dce8f5;
    background: linear-gradient(135deg, #ffffff 0%, #f4fbff 55%, #f3fcf8 100%);
    box-shadow: 0 14px 32px rgba(31, 54, 88, 0.07);
}

.invite-action-card small {
    color: #708099;
    line-height: 1.55;
}

.invite-panel-top {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: center;
    text-align: left;
}

.invite-panel-top .primary-button {
    min-height: 40px;
    white-space: nowrap;
}

.invite-action-card h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
    text-align: left;
}

.invite-action-card p {
    margin: 5px 0 0;
    color: #40516b;
    line-height: 1.55;
    text-align: left;
}

.invite-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.invite-stats div {
    padding: 14px 12px;
    border: 1px solid #dfe8f5;
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
}

.invite-stats span,
.invite-stats strong {
    display: block;
}

.invite-stats span {
    color: var(--muted);
    font-size: 12px;
}

.invite-stats strong {
    margin-top: 4px;
    color: #087b6d;
    font-size: 24px;
}

.invite-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.welfare-rules-head {
    padding: 28px 30px 22px;
    background:
        linear-gradient(135deg, rgba(232, 246, 255, 0.95) 0%, rgba(240, 255, 248, 0.9) 100%);
    border-bottom: 1px solid #dce8f5;
}

.welfare-rules-head span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #e6f6f2;
    color: #087b6d;
    font-weight: 800;
}

.welfare-rules-head h2 {
    margin: 14px 0 8px;
    font-size: 25px;
    line-height: 1.3;
}

.welfare-rules-head p {
    max-width: 620px;
    margin: 0;
    color: #526783;
    line-height: 1.7;
}

.reward-matrix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 24px 30px 10px;
}

.reward-tile {
    min-height: 122px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 18px;
    border: 1px solid #dce8f5;
    border-radius: var(--radius);
    background: #f8fbff;
}

.reward-tile span,
.reward-tile small {
    color: #526783;
}

.reward-tile strong {
    color: #1f5fbf;
    font-size: 32px;
    line-height: 1;
}

.reward-tile.secondary {
    background: #f4fbf8;
    border-color: #ccece1;
}

.reward-tile.secondary strong {
    color: #07836f;
}

.welfare-rule-list {
    display: grid;
    gap: 12px;
    padding: 16px 30px 30px;
}

.welfare-rule-list div {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    align-items: start;
}

.welfare-rule-list span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef5ff;
    color: var(--blue);
    font-weight: 800;
    font-size: 12px;
}

.welfare-rule-list p {
    margin: 2px 0 0;
    color: #2c3f5c;
    line-height: 1.65;
}

.reward-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 18px;
}

.reward-row {
    display: grid;
    place-items: center;
    min-height: 100px;
    margin: 0;
    padding: 14px;
    border: 1px solid #e8edf5;
    border-radius: var(--radius);
    background: #f8fbff;
    text-align: center;
}

.reward-row strong {
    color: #2f6ed8;
    font-size: 28px;
    line-height: 1;
}

.reward-row span {
    margin-top: 8px;
    color: #3c4d66;
    line-height: 1.45;
}

.login-card {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    min-height: 280px;
    padding: 24px;
    text-align: center;
}

.login-symbol {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef5ff;
    color: var(--blue);
    font-size: 22px;
    font-weight: 800;
}

.welfare-code-box,
.welfare-invite-box {
    width: 100%;
    margin-top: 4px;
    text-align: left;
}

.welfare-code-box input {
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
}

.welfare-flow-card {
    padding: 24px;
}

.welfare-flow-card h2 {
    margin: 0 0 18px;
    font-size: 20px;
}

.welfare-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.welfare-flow div {
    min-height: 112px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 18px;
    border: 1px solid #e3ebf5;
    border-radius: var(--radius);
    background: #f9fbfe;
}

.welfare-flow span {
    color: #2f6ed8;
    font-weight: 900;
    font-size: 13px;
}

.welfare-flow strong {
    color: #1d2d46;
}

.welfare-flow small {
    color: #617089;
    line-height: 1.45;
}

.service-float {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 30;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #34445b;
    color: #fff;
    box-shadow: 0 10px 22px rgba(28, 43, 64, 0.25);
}

.service-panel {
    display: none;
    position: fixed;
    right: 46px;
    bottom: 88px;
    z-index: 31;
    width: min(360px, calc(100vw - 32px));
    padding: 22px;
    border: 1px solid rgba(140, 183, 236, 0.58);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(255, 255, 255, 0.98));
    box-shadow: 0 22px 60px rgba(26, 41, 65, 0.24);
}

.service-panel.active {
    display: block;
}

.service-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 34px;
}

.service-badge {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #2f7cf6, #20c5d2);
    color: #fff;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: 0 12px 22px rgba(47, 124, 246, 0.22);
}

.service-panel h2 {
    margin: 0;
    color: #10213b;
    font-size: 22px;
    line-height: 1.2;
}

.service-panel p {
    margin: 5px 0 0;
    color: #65758e;
    font-size: 13px;
    line-height: 1.4;
}

.close-small {
    position: absolute;
    right: 18px;
    top: 18px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 20px;
}

.service-qr-card {
    margin: 18px 0 14px;
    padding: 14px;
    border: 1px solid #d7e7f8;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.service-qr-card img {
    width: 180px;
    height: 180px;
    display: block;
    margin: 0 auto 10px;
    object-fit: contain;
    border-radius: 8px;
}

.service-qr-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef7ff;
    color: #1764ca;
    font-size: 14px;
    font-weight: 800;
}

.service-contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.service-contact-list div {
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #dce8f6;
    border-radius: 8px;
    background: #f8fbff;
}

.service-contact-list span {
    display: block;
    color: #6f7f96;
    font-size: 12px;
    line-height: 1.3;
}

.service-contact-list strong {
    display: block;
    margin-top: 4px;
    color: #10213b;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 0;
    word-break: break-all;
}

.service-panel small {
    display: block;
    margin-top: 10px;
    color: #728199;
    font-size: 12px;
    line-height: 1.55;
}

.service-panel .service-bonus-note {
    margin-top: 6px;
    color: #ff0000;
    font-family: SimSun, "宋体", serif;
    font-weight: 700;
    text-align: center;
}

.wx-qr-crop {
    position: relative;
    display: grid;
    place-items: center;
    width: 204px;
    height: 204px;
    min-height: 204px;
    justify-self: center;
    border-radius: 2px;
    border: 0;
    background: #fff;
    color: #14253a;
    overflow: hidden;
    flex: 0 0 204px;
    box-sizing: border-box;
}

.wx-qr-crop.is-locked {
    background: #fff;
    color: #fff;
}

.wechat-qr-mount {
    position: absolute;
    left: 50%;
    top: 0;
    display: grid;
    place-items: start center;
    width: 204px;
    height: 204px;
    min-height: 204px;
    transform: translateX(-50%);
    transform-origin: top center;
}

.wechat-qr-mount:not(.is-wx-mounted) {
    position: relative;
    left: auto;
    top: auto;
    place-items: center;
    transform: none;
    height: 204px;
    min-height: 204px;
}

.wechat-qr-mock {
    width: 216px;
    height: 216px;
    border-radius: 4px;
    background:
        linear-gradient(90deg, #111 10px, transparent 10px 18px, #111 18px 26px, transparent 26px 34px, #111 34px 42px, transparent 42px 50px),
        linear-gradient(#111 10px, transparent 10px 18px, #111 18px 26px, transparent 26px 34px, #111 34px 42px, transparent 42px 50px),
        repeating-linear-gradient(90deg, #111 0 8px, transparent 8px 14px),
        repeating-linear-gradient(0deg, #111 0 8px, transparent 8px 14px),
        #f8fafc;
    background-size: 64px 64px, 64px 64px, 22px 22px, 22px 22px, auto;
    background-position: 14px 14px, 14px 14px, 2px 7px, 9px 2px, center;
    box-shadow: inset 0 0 0 12px #fff, 0 12px 24px rgba(18, 34, 57, .08);
    filter: grayscale(1);
    opacity: .78;
}

.wechat-qr-mask {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 18px;
    background: rgba(17, 24, 39, .78);
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
    backdrop-filter: blur(1px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .18s ease, visibility .18s ease;
    z-index: 3;
}

.wx-qr-crop.is-agreed .wechat-qr-mask {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.wechat-qr-mask strong {
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
}

.wechat-qr-mask span {
    font-size: 13px;
    font-weight: 760;
    line-height: 1.2;
}

.wechat-qr-mount iframe {
    width: 204px !important;
    height: 204px !important;
    min-height: 204px !important;
    max-height: 204px !important;
    border: 0;
    display: block;
}

.modal-mask {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    place-items: center;
    background: rgba(9, 18, 32, 0.72);
}

.modal-mask.active {
    display: grid;
}

.login-modal {
    position: relative;
    width: min(840px, calc(100vw - 32px));
    height: min(580px, calc(100vh - 32px));
    min-height: 0;
    max-height: calc(100vh - 32px);
    display: grid;
    grid-template-columns: 355px 1fr;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.record-modal {
    position: relative;
    width: min(960px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    padding: 26px;
}

.legal-modal {
    position: relative;
    width: min(920px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.legal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 72px 18px 28px;
    border-bottom: 1px solid var(--line);
}

.legal-head h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.legal-head p {
    margin: 0;
    color: var(--muted);
}

.legal-tabs {
    display: flex;
    gap: 8px;
    padding: 4px;
    border-radius: var(--radius);
    background: #f1f5fb;
}

.legal-tabs button {
    height: 34px;
    min-width: 88px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: #40516b;
}

.legal-tabs button.active {
    color: #fff;
    background: var(--blue);
}

.legal-body {
    overflow: auto;
    padding: 24px 28px 30px;
}

.legal-content {
    display: none;
    color: #253650;
    line-height: 1.78;
}

.legal-content.active {
    display: block;
}

.legal-content section {
    margin-top: 22px;
}

.legal-content h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.legal-content p {
    margin: 0 0 10px;
}

.announcement-modal {
    position: relative;
    width: min(620px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.announcement-modal-head {
    padding: 26px 72px 18px 28px;
    border-bottom: 1px solid var(--line);
}

.announcement-modal-head span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef5ff;
    color: #1d63d8;
    font-size: 13px;
    font-weight: 700;
}

.announcement-modal-head h2 {
    margin: 0;
    color: #16233a;
    font-size: 24px;
    line-height: 1.35;
}

.announcement-modal-head p {
    margin: 10px 0 0;
    color: #51627a;
    line-height: 1.7;
}

.announcement-modal-head small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
}

.announcement-modal-body {
    overflow: auto;
    padding: 24px 28px 8px;
    color: #253650;
    line-height: 1.82;
}

.announcement-modal-body p {
    margin: 0 0 14px;
}

.announcement-modal-actions {
    display: grid;
    gap: 12px;
    padding: 16px 28px 24px;
    border-top: 1px solid var(--line);
}

.announcement-modal-actions small {
    color: var(--muted);
    line-height: 1.6;
}

.primary-wide.muted-button {
    background: #eaf0f8;
    color: #334763;
    box-shadow: none;
}

.account-modal {
    position: relative;
    width: min(420px, calc(100vw - 32px));
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    padding: 28px;
}

.account-modal h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.account-modal p {
    margin: 0 0 18px;
    color: var(--muted);
}

.account-modal label {
    display: block;
    margin-bottom: 14px;
    color: #40516b;
    font-weight: 700;
}

.account-modal input {
    margin-top: 8px;
}

.order-summary {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.order-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e3ebf5;
    border-radius: var(--radius);
    background: #f8fbff;
}

.order-summary span {
    color: var(--muted);
}

.order-summary p {
    margin: 4px 0 0;
    padding: 12px;
    border: 1px solid #d8eadf;
    border-radius: var(--radius);
    background: #f4fff8;
    color: #24754f;
}

.record-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-right: 44px;
}

.record-modal-head h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.record-modal-head p {
    margin: 0;
    color: var(--muted);
}

.record-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.record-detail-grid h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.record-detail-grid textarea {
    min-height: 360px;
    background: #fbfdff;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 22px;
    z-index: 2;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 24px;
}

.login-visual {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 45% 32%, rgba(100, 161, 255, 0.20), transparent 36%),
        linear-gradient(180deg, #eef6ff 0%, #f8fbff 56%, #f4f9ff 100%);
    border-right: 1px solid rgba(226, 233, 244, 0.68);
    cursor: default;
}

.login-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(121, 168, 232, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(121, 168, 232, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.10) 58%, rgba(0, 0, 0, 0.04));
    pointer-events: none;
}

.login-particle-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
}

.login-cloud {
    position: absolute;
    z-index: 4;
    width: 116px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow:
        0 16px 34px rgba(71, 117, 184, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 8px 16px rgba(80, 132, 196, 0.09));
    pointer-events: none;
}

.login-cloud::before,
.login-cloud::after,
.login-cloud span::before,
.login-cloud span::after {
    content: "";
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.login-cloud::before {
    left: 17px;
    top: -18px;
    width: 44px;
    height: 44px;
}

.login-cloud::after {
    left: 48px;
    top: -28px;
    width: 56px;
    height: 56px;
}

.login-cloud span::before {
    right: 12px;
    top: -12px;
    width: 38px;
    height: 38px;
}

.login-cloud span::after {
    left: 4px;
    top: 5px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.74);
}

.login-cloud-left {
    left: 42px;
    top: 64px;
    opacity: 0.96;
    transform: scale(0.92);
}

.login-cloud-right {
    left: 174px;
    top: 104px;
    opacity: 0.88;
    transform: scale(0.78);
}

@keyframes slowSpin {
    to { transform: rotate(360deg); }
}

.login-form {
    height: 100%;
    min-height: 0;
    padding: 28px 30px 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.brand-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.brand-mini .brand-mark {
    width: 32px;
    height: 27px;
    flex: 0 0 32px;
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-bottom: 12px;
    text-align: center;
}

.login-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 32px;
    padding: 0;
    overflow: hidden;
}

.login-brand-copy {
    display: grid;
    gap: 2px;
    color: #10223c;
    justify-items: center;
    text-align: center;
}

.login-brand-copy strong {
    font-size: 16px;
    font-weight: 850;
    line-height: 1.12;
}

.login-brand-copy small {
    color: #7a8aa2;
    font-size: 12px;
    line-height: 1.2;
}

.login-form h2 {
    margin: 0 0 5px;
    font-size: 24px;
    text-align: center;
    display: none;
}

.login-form p {
    margin: 0 0 14px;
    color: var(--muted);
    text-align: center;
}

.login-form > #loginSubtitle {
    display: none;
}

.login-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 18px;
    border-radius: var(--radius);
    background: #f1f5fb;
}

.login-tabs button {
    height: 38px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
}

.login-tabs button.active {
    background: #fff;
    box-shadow: 0 4px 12px rgba(18, 34, 57, 0.12);
}

.login-mode {
    display: none;
}

.login-mode.active {
    display: block;
}

#accountLogin.active {
    display: grid;
    gap: 16px;
}

#accountLogin label {
    margin-bottom: 0;
    color: #253650;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

#accountLogin input {
    height: 45px;
    margin-top: 8px;
}

.wechat-login-card {
    display: grid;
    grid-template-rows: 24px 204px 22px 30px;
    align-items: start;
    gap: 5px;
    height: 295px;
    min-height: 295px;
    overflow: hidden;
}

.wechat-login-card h3 {
    margin: 0;
    color: #253650;
    font-size: 18px;
    font-weight: 650;
    line-height: 24px;
    text-align: center;
}

.wechat-status {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    gap: 8px;
    width: 100%;
    min-height: 166px;
    padding: 22px;
    text-align: center;
}

.wechat-status span {
    display: inline-grid;
    place-items: center;
    min-width: 76px;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(31, 143, 119, .10);
    color: #167963;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.wechat-status strong {
    color: #14253a;
    font-size: 18px;
    font-weight: 850;
}

.wx-qr-crop.is-loading .wechat-status span {
    background: rgba(40, 109, 240, .10);
    color: #286df0;
}

.wx-qr-crop.is-locked .wechat-status span {
    background: rgba(82, 98, 118, .10);
    color: #526276;
}

.wx-qr-crop.is-locked .wechat-status strong {
    color: #3c4a5d;
}

.wx-qr-crop.is-pending .wechat-status span {
    background: rgba(233, 147, 38, .12);
    color: #a56212;
}

.wx-qr-crop.is-error .wechat-status span {
    background: rgba(226, 79, 79, .10);
    color: #b23838;
}

.wechat-login-card p {
    margin: 0;
    color: #65758c;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    min-height: 30px;
    max-height: 30px;
    overflow: hidden;
}

.wechat-refresh {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 22px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6f7f95;
    font-size: 13px;
    cursor: pointer;
}

.wechat-refresh::before {
    content: "↻";
    font-size: 15px;
    line-height: 1;
}

.wechat-refresh:hover {
    color: #286df0;
    background: #f2f6fc;
}

.login-mode label {
    display: block;
    margin-bottom: 14px;
}

.login-links {
    display: flex;
    justify-content: space-between;
    color: var(--blue);
    margin: 1px 0 4px;
}

.login-mode .auth-register-only {
    display: none;
}

.login-mode.register-mode .auth-register-only {
    display: block;
}

.agreement {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    color: #526783;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.agreement input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 0;
}

.agreement button {
    border: 0;
    background: transparent;
    color: var(--blue);
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.toast {
    position: fixed;
    left: calc(50% + 128px);
    top: 50%;
    transform: translate(-50%, calc(-50% + 20px));
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    max-width: min(560px, calc(100vw - 40px));
    padding: 12px 18px;
    border-radius: var(--radius);
    color: #fff;
    background: #1d2d46;
    text-align: center;
    box-shadow: 0 10px 28px rgba(15, 29, 50, 0.28);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body.sidebar-collapsed .toast {
    left: calc(50% + 36px);
}

.toast.active {
    opacity: 1;
    transform: translate(-50%, -50%);
}

@media (max-width: 1180px) {
    .ai-tool-layout,
    .tool-usage-layout {
        display: grid;
        gap: 18px;
    }

    .ai-usage-card,
    .tool-usage-card {
        position: static;
        width: auto;
        min-height: auto;
    }

    .landing-main {
        padding-top: 100px;
    }

    .landing-hero,
    .landing-workflow,
    .landing-trust {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .landing-hero {
        gap: 36px;
    }

    .landing-visual {
        min-height: 520px;
    }

    .landing-feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workspace-home,
    .home-main-grid,
    .welfare-shell {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .pay-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .content-layout,
    .document-page,
    .profile-grid,
    .report-overview-grid,
    .rules-layout,
    .reward-matrix {
        grid-template-columns: 1fr 1fr;
    }

    .reward-tile.reserved {
        grid-column: 1 / -1;
    }

    .content-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .landing-nav {
        height: auto;
        min-height: 64px;
        padding: 12px 18px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .landing-links {
        order: 3;
        width: 100%;
        justify-content: space-between;
    }

    .landing-nav-cta {
        margin-left: auto;
    }

    .landing-main {
        padding: 124px 18px 30px;
    }

    .landing-hero {
        min-height: auto;
    }

    .landing-title {
        max-width: 100%;
    }

    .landing-title-main {
        font-size: 34px;
    }

    .landing-title-sub {
        font-size: 28px;
    }

    .landing-copy p {
        font-size: 15px;
    }

    .landing-actions,
    .landing-proof {
        align-items: stretch;
        flex-direction: column;
    }

    .landing-primary,
    .landing-secondary,
    .landing-proof span {
        width: 100%;
        justify-content: center;
    }

    .landing-visual {
        min-height: 620px;
    }

    .landing-report-panel {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: auto;
        margin-bottom: 16px;
        transform: none;
        animation: landingFadeUp 0.6s ease both;
    }

    .report-card-primary,
    .report-card-rewrite,
    .report-card-dedup {
        inset: auto;
        width: 100%;
        transform: none;
    }

    .report-cover-body {
        grid-template-columns: 1fr;
    }

    .landing-grid-plane {
        display: none;
    }

    .landing-feature-strip {
        grid-template-columns: 1fr;
    }

    .landing-workflow,
    .landing-trust {
        padding: 22px;
    }

    .landing-path-grid {
        grid-template-columns: 1fr;
    }

    .landing-path-card {
        min-height: auto;
        padding: 20px;
    }

    .landing-path-card button {
        width: 100%;
        justify-content: center;
    }

    .landing-section-head h2 {
        font-size: 25px;
    }

    .landing-workflow li {
        min-height: auto;
    }

    .landing-footer {
        flex-wrap: wrap;
        padding-bottom: 96px;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main {
        margin-left: 0;
        width: 100%;
        padding: 0 16px 64px;
    }

    .topbar {
        height: 64px;
    }

    .page-heading,
    .home-title {
        min-height: auto;
        margin-top: 0;
        padding-right: 0;
    }

    .toast,
    body.sidebar-collapsed .toast {
        left: 50%;
    }

    .mobile-menu {
        display: block;
    }

    .text-tool,
    .home-top-card-grid,
    .home-card-grid,
    .home-tool-grid,
    .form-grid,
    .content-side,
    .pricing-grid,
    .welfare-choice-grid,
    .reward-matrix,
    .invite-panel-top,
    .invite-fields,
    .welfare-flow,
    .pay-row,
    .record-detail-grid,
    .login-modal {
        grid-template-columns: 1fr;
    }

    .aigc-rule-card {
        grid-template-columns: 1fr;
    }

    .aigc-rule-item + .aigc-rule-item {
        border-left: 0;
        border-top: 1px solid #e7eef7;
    }

    .invite-panel-top .primary-button {
        width: 100%;
    }

    .report-heading,
    .aigc-report-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .report-heading > div:first-child {
        width: 100%;
    }

    .report-heading h1 {
        transform: none;
    }

    .report-actions,
    .report-actions button {
        width: 100%;
    }

    .aigc-report-page {
        width: 100%;
        min-height: auto;
        padding: 24px 18px;
    }

    .report-page-head,
    .report-page-head.compact,
    .report-distribution-note {
        flex-direction: column;
        align-items: flex-start;
    }

    .report-basic-stats,
    .chapter-row {
        grid-template-columns: 1fr;
    }

    .report-basic-stats div,
    .chapter-row span,
    .chapter-row strong {
        border-right: 0;
        border-bottom: 1px solid #e6edf6;
    }

    .welfare-rules-head,
    .welfare-rule-list {
        padding-left: 20px;
        padding-right: 20px;
    }

    .reward-matrix {
        padding-left: 20px;
        padding-right: 20px;
    }

    .login-visual {
        display: none;
    }

    .tool-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .tool-model-bar .model-selector {
        width: 100%;
    }

    .tool-action-row {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .tool-action-left,
    .tool-action-center,
    .tool-action-right {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .tool-action-row .primary-button {
        width: 100%;
    }

    .tabs {
        overflow-x: auto;
        gap: 8px;
    }

    .tab {
        flex: 0 0 auto;
        padding: 0 14px;
    }

    .account-meta,
    .table-row,
    .table-line {
        grid-template-columns: 1fr;
    }

    .service-panel {
        width: calc(100vw - 32px);
        right: 16px;
    }

    .service-qr-card img {
        width: 164px;
        height: 164px;
    }

    .service-contact-list {
        grid-template-columns: 1fr;
    }
}

@media print {
    @page {
        size: A4;
        margin: 0;
    }

    body {
        background: #fff;
    }

    .sidebar,
    .topbar,
    .toast,
    .modal-mask,
    .report-actions,
    #aigcReportEmpty,
    .page:not(#aigc-report-page),
    #aigc-report-page .page-heading {
        display: none !important;
    }

    .main {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .page {
        max-width: none;
    }

    #aigc-report-page {
        display: block !important;
    }

    #aigcReportView {
        display: block !important;
    }

    .aigc-report-document {
        display: block;
        padding: 0;
        border: 0;
        box-shadow: none;
    }

    .aigc-report-page {
        width: 210mm;
        min-height: 297mm;
        margin: 0;
        padding: 14mm 16mm;
        border: 0;
        box-shadow: none;
        break-after: page;
    }

    .aigc-report-page:last-child {
        break-after: auto;
    }

    .report-paper-info,
    .report-result-card,
    .chapter-table,
    .report-basic-stats,
    .report-disclaimer {
        break-inside: avoid;
    }

    .chapter-row {
        break-inside: avoid;
    }
}
