:root {
            --bg: #f8fafc;
            --bg-soft: #f1f5f9;
            --paper: #ffffff;
            --paper-strong: #ffffff;
            --text: #0f172a;
            --muted: #475569;
            --line: rgba(148, 163, 184, 0.28);
            --line-strong: rgba(100, 116, 139, 0.34);
            --accent: #14b8a6;
            --accent-2: #0f766e;
            --accent-soft: rgba(20, 184, 166, 0.08);
            --green: #059669;
            --amber: #ea580c;
            --red: #f43f5e;
            --shadow: 0 10px 24px rgba(14, 165, 164, 0.08);
            --radius: 22px;
        }

        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }

        body {
            margin: 0;
            font-family: "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif;
            color: var(--text);
            background:
                linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
            min-height: 100vh;
        }

        a { color: inherit; text-decoration: none; }

        .shell {
            width: min(1180px, calc(100% - 32px));
            margin: 0 auto;
        }

        .shell-wide {
            width: min(1560px, calc(100% - 32px));
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 10;
            backdrop-filter: blur(10px);
            background: rgba(248, 250, 252, 0.88);
            border-bottom: 1px solid var(--line);
        }

        .site-header .shell {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            padding: 14px 0;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 700;
            letter-spacing: 0.02em;
        }

        .brand-mark {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            background: var(--text);
            color: #fff;
            font-size: 13px;
        }

        .nav {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            color: var(--muted);
            font-size: 14px;
        }

        .nav a {
            padding: 9px 12px;
            border-radius: 999px;
        }

        .nav a:hover,
        .nav a:focus-visible {
            background: rgba(15, 23, 42, 0.04);
            outline: none;
        }

        .hero-card,
        .panel,
        .card,
        .faq-item,
        .story,
        .window-card {
            background: var(--paper);
            border: 1px solid var(--line);
            box-shadow: var(--shadow);
        }

        .hero-card,
        .panel {
            border-radius: calc(var(--radius) + 4px);
        }

        .hero-card {
            padding: 44px;
            background: var(--paper);
            border-color: var(--line);
        }

        .section { padding: 42px 0; }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 7px 12px;
            border-radius: 999px;
            color: var(--accent);
            background: rgba(37, 99, 235, 0.06);
            border: 1px solid rgba(37, 99, 235, 0.12);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        h1, h2, h3, p { margin: 0; }

        h1 {
            font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", ui-serif, Georgia, serif;
            font-size: clamp(38px, 7vw, 76px);
            line-height: 1.02;
            letter-spacing: -0.04em;
            font-weight: 600;
        }

        h2 {
            font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", ui-serif, Georgia, serif;
            font-size: clamp(28px, 4vw, 40px);
            line-height: 1.12;
            letter-spacing: -0.03em;
            font-weight: 600;
        }

        h3 {
            font-size: 20px;
            line-height: 1.35;
            font-weight: 700;
        }

        .lead {
            margin-top: 18px;
            max-width: 720px;
            color: var(--muted);
            font-size: 17px;
            line-height: 1.9;
        }

        .cta-row,
        .stat-grid,
        .grid-3,
        .grid-2,
        .window-grid,
        .faq-grid,
        .story-grid,
        .anchor-list {
            display: grid;
            gap: 18px;
        }

        .cta-row {
            margin-top: 30px;
            grid-template-columns: repeat(2, max-content);
            align-items: center;
        }

        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 50px;
            padding: 0 22px;
            border-radius: 999px;
            font-weight: 700;
            border: 1px solid transparent;
            cursor: pointer;
            transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
        }

        .button:hover,
        .button:focus-visible {
            transform: translateY(-1px);
        }

        .button-primary {
            background: var(--text);
            color: #fff;
            box-shadow: none;
        }

        .button-secondary {
            border-color: var(--line);
            background: #fff;
            color: var(--text);
        }

        .stat-grid {
            margin-top: 34px;
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .stat {
            padding: 22px;
            border-radius: 18px;
            background: #fff;
            border: 1px solid var(--line);
        }

        .stat strong {
            display: block;
            font-size: 30px;
            margin-bottom: 10px;
            letter-spacing: -0.03em;
        }

        .muted {
            color: var(--muted);
            line-height: 1.8;
        }

        .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

        .card,
        .faq-item,
        .story,
        .window-card {
            border-radius: 18px;
            padding: 20px;
        }

        .section-card {
            height: 100%;
        }

        .window-grid {
            grid-template-columns: repeat(4, minmax(0, 1fr));
            align-items: stretch;
            gap: 16px;
        }
        .window-card {
            position: relative;
            overflow: hidden;
            background: linear-gradient(180deg, #ffffff 0%, #fcfffe 100%);
            border-width: 1px;
            border-style: solid;
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
            box-shadow: 0 8px 20px rgba(20, 184, 166, 0.06);
            display: flex;
            flex-direction: column;
            min-height: 100%;
        }
        .window-card::before {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 0;
            background: transparent;
        }
        .window-card:hover,
        .window-card:focus-within {
            transform: translateY(-2px);
            box-shadow: 0 18px 36px rgba(20, 184, 166, 0.12);
        }

        .window-card:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.16), 0 18px 36px rgba(20, 184, 166, 0.12);
        }
        .window-card.open,
        .window-card.variant-open {
            background: linear-gradient(180deg, #ffffff 0%, #f7fffc 100%);
            border-color: rgba(52, 211, 153, 0.62);
        }
        .window-card.warning,
        .window-card.variant-countdown {
            background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
            border-color: rgba(250, 204, 21, 0.62);
        }
        .window-card.variant-remedy {
            background: linear-gradient(180deg, #ffffff 0%, #fff8f4 100%);
            border-color: rgba(251, 113, 50, 0.58);
        }
        .window-card.locked {
            background: linear-gradient(180deg, #ffffff 0%, #fff8fa 100%);
            border-color: rgba(251, 113, 133, 0.42);
        }
        .window-card.variant-penalty {
            background: linear-gradient(180deg, #ffffff 0%, #fff7fb 100%);
            border-color: rgba(244, 63, 94, 0.5);
        }
        .window-card.variant-lifetime {
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            border-color: rgba(148, 163, 184, 0.58);
        }
        .window-card.future,
        .window-card.variant-future {
            background: linear-gradient(180deg, #ffffff 0%, #fbf7ff 100%);
            border-color: rgba(168, 85, 247, 0.48);
        }
        .window-card.frame-career { box-shadow: 0 8px 20px rgba(20, 184, 166, 0.07); }
        .window-card.frame-career::after,
        .window-card.frame-relationship::after,
        .window-card.frame-health::after,
        .window-card.frame-cognition::after,
        .window-card.frame-future::after,
        .window-card.frame-alert::after,
        .window-card.frame-critical::after {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            border-radius: inherit;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
        }
        .window-card.frame-relationship { box-shadow: 0 8px 20px rgba(244, 63, 94, 0.06); }
        .window-card.frame-health { box-shadow: 0 8px 20px rgba(16, 185, 129, 0.06); }
        .window-card.frame-cognition { box-shadow: 0 8px 20px rgba(148, 163, 184, 0.08); }
        .window-card.frame-future { box-shadow: 0 8px 20px rgba(168, 85, 247, 0.06); }
        .window-card.variant-open::before {
            width: auto;
            height: 3px;
            inset: 0 0 auto 0;
            background: linear-gradient(90deg, #34d399, #a7f3d0);
        }
        .window-card.frame-alert { box-shadow: 0 8px 20px rgba(251, 146, 60, 0.06); }
        .window-card.variant-countdown::before {
            width: auto;
            height: 3px;
            inset: 0 0 auto 0;
            background: linear-gradient(90deg, #facc15, #fde68a);
        }
        .window-card.frame-critical { box-shadow: 0 8px 20px rgba(251, 113, 133, 0.06); }
        .window-card.variant-remedy::before {
            width: auto;
            height: 3px;
            inset: 0 0 auto 0;
            background: linear-gradient(90deg, #f97316, #fdba74);
        }
        .window-card.variant-penalty::before {
            width: auto;
            height: 3px;
            inset: 0 0 auto 0;
            background: linear-gradient(90deg, #f43f5e, #fda4af);
        }
        .window-card.variant-lifetime::before {
            width: auto;
            height: 3px;
            inset: 0 0 auto 0;
            background: linear-gradient(90deg, #94a3b8, #e2e8f0);
        }
        .window-card.variant-future::before {
            width: auto;
            height: 3px;
            inset: 0 0 auto 0;
            background: linear-gradient(90deg, #a855f7, #d8b4fe);
        }
        .window-card button { font: inherit; }

        .window-top,
        .window-meta,
        .window-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .window-top {
            margin-bottom: 14px;
            justify-content: center;
        }

        .window-card-head {
            display: grid;
            gap: 12px;
            text-align: center;
            min-height: 82px;
            align-content: start;
        }

        .window-card h3 {
            font-size: 16px;
            line-height: 1.4;
            font-weight: 700;
            letter-spacing: -0.01em;
        }

        .window-meta-center {
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 2px;
        }

        .window-period {
            margin-top: 12px;
        }

        .window-card.variant-open .progress > span { background: linear-gradient(90deg, #34d399, #10b981); }
        .window-card.variant-countdown .progress > span { background: linear-gradient(90deg, #fde047, #facc15); }
        .window-card.variant-remedy .progress > span { background: linear-gradient(90deg, #fb923c, #f97316); }
        .window-card.variant-lifetime .progress > span { background: linear-gradient(90deg, #cbd5e1, #94a3b8); }
        .window-card.variant-penalty .progress > span { background: linear-gradient(90deg, #fb7185, #f43f5e); }
        .window-card.variant-future .progress > span { background: linear-gradient(90deg, #c084fc, #a855f7); }

        .window-period-row {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 12px;
            color: var(--muted);
            font-size: 12px;
            line-height: 1.5;
        }

        .window-period-label {
            color: #64748b;
            font-weight: 600;
        }

        .window-period-row strong {
            color: var(--text);
            font-size: 12px;
            font-weight: 700;
        }

        .window-card-summary {
            margin-top: 4px;
            min-height: 5.1em;
            font-size: 12px;
            line-height: 1.7;
            color: #64748b;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
        }

        .window-card-divider {
            height: 1px;
            margin: 16px 0 14px;
            background: linear-gradient(90deg, rgba(226, 232, 240, 0), rgba(226, 232, 240, 0.9), rgba(226, 232, 240, 0));
        }

        .window-kpi-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .window-kpi {
            display: grid;
            gap: 6px;
        }

        .window-kpi span {
            color: #94a3b8;
            font-size: 12px;
            font-weight: 600;
        }

        .window-kpi strong {
            color: #0f172a;
            font-size: 27px;
            line-height: 1;
            letter-spacing: -0.03em;
        }

        .window-kpi strong small {
            margin-left: 2px;
            font-size: 16px;
            font-weight: 700;
            color: #64748b;
        }

        .kpi-cost {
            font-size: 23px;
        }

        .kpi-cost.medium,
        .kpi-cost.中 {
            color: #ea580c;
        }

        .kpi-cost.high,
        .kpi-cost.高 {
            color: #f43f5e;
        }

        .kpi-cost.extreme,
        .kpi-cost.极高,
        .kpi-cost.n\/a {
            color: #e11d48;
        }

        .window-card-foot {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            margin-top: 14px;
            color: #94a3b8;
            font-size: 12px;
            margin-bottom: 30px;
        }

        .window-foot-note,
        .window-foot-tag {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .window-foot-tag {
            text-align: right;
        }

        .window-card-utility {
            display: none;
        }

        .window-card-arrow {
            position: absolute;
            right: 14px;
            bottom: 12px;
            width: 24px;
            height: 24px;
            border-radius: 999px;
            display: grid;
            place-items: center;
            color: #94a3b8;
            background: rgba(248, 250, 252, 0.94);
            border: 1px solid rgba(148, 163, 184, 0.16);
            font-size: 18px;
            line-height: 1;
            transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
        }

        .window-card:hover .window-card-arrow,
        .window-card:focus-visible .window-card-arrow {
            transform: translateX(2px);
            color: var(--accent-2);
            background: rgba(240, 253, 250, 0.96);
            border-color: rgba(45, 212, 191, 0.26);
        }

        .lock-banner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 9px 12px;
            margin-bottom: 12px;
            border-radius: 999px;
            border: 1px solid rgba(148, 163, 184, 0.22);
            background: rgba(248, 250, 252, 0.92);
        }

        .lock-banner strong,
        .lock-banner span {
            font-size: 12px;
            line-height: 1.45;
        }

        .lock-banner strong {
            flex: 0 0 auto;
        }

        .lock-banner span {
            color: var(--muted);
            text-align: right;
        }

        .lock-soft {
            border-color: rgba(45, 212, 191, 0.34);
            background: rgba(236, 253, 245, 0.96);
        }

        .lock-alert {
            border-color: rgba(251, 146, 60, 0.28);
            background: rgba(255, 247, 237, 0.96);
        }

        .lock-critical {
            border-color: rgba(251, 113, 133, 0.26);
            background: rgba(255, 241, 242, 0.96);
        }

        .family-chip,
        .family-panel {
            border: 1px solid var(--line);
            background: #fff;
        }

        .family-chip {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 10px 12px;
            margin-bottom: 12px;
            border-radius: 12px;
            background: rgba(248, 250, 252, 0.92);
        }

        .family-chip strong,
        .family-chip span {
            font-size: 12px;
            line-height: 1.45;
        }

        .family-chip span {
            color: var(--muted);
            text-align: right;
        }

        .family-panel {
            padding: 14px 16px;
            border-radius: 16px;
        }

        .family-panel strong {
            display: block;
            font-size: 14px;
            line-height: 1.4;
        }

        .window-icon {
            width: 42px;
            height: 42px;
            border-radius: 999px;
            display: grid;
            place-items: center;
            font-weight: 800;
            background: rgba(240, 253, 250, 0.96);
            color: var(--accent-2);
            border: 1px solid rgba(45, 212, 191, 0.26);
        }

        .chip,
        .tone {
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            padding: 0 12px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 700;
        }

        .status-icon {
            width: 18px;
            height: 18px;
            border-radius: 999px;
            display: inline-grid;
            place-items: center;
            flex: 0 0 auto;
            margin-right: -1px;
            font-size: 12px;
            line-height: 1;
            font-weight: 800;
            border: 1px solid currentColor;
            background: rgba(255, 255, 255, 0.72);
        }

        .status-icon-lifetime {
            font-size: 14px;
        }

        .status-icon-penalty,
        .status-icon-remedy {
            font-size: 11px;
        }

        .chip {
            background: rgba(248, 250, 252, 0.95);
            color: var(--muted);
            border: 1px solid rgba(148, 163, 184, 0.18);
        }

        .tone-open {
            background: rgba(236, 253, 245, 0.98);
            color: #059669;
            border: 1px solid rgba(45, 212, 191, 0.34);
        }
        .tone-countdown,
        .tone-warning {
            background: rgba(254, 252, 232, 0.98);
            color: #ca8a04;
            border: 1px solid rgba(250, 204, 21, 0.34);
        }
        .tone-remedy {
            background: rgba(255, 247, 237, 0.98);
            color: #ea580c;
            border: 1px solid rgba(251, 113, 50, 0.3);
        }
        .tone-penalty,
        .tone-locked {
            background: rgba(255, 241, 242, 0.98);
            color: #e11d48;
            border: 1px solid rgba(244, 63, 94, 0.28);
        }
        .tone-lifetime {
            background: rgba(248, 250, 252, 0.98);
            color: #64748b;
            border: 1px solid rgba(148, 163, 184, 0.3);
        }
        .tone-future {
            background: rgba(250, 245, 255, 0.98);
            color: #9333ea;
            border: 1px solid rgba(192, 132, 252, 0.28);
        }

        .progress {
            height: 6px;
            margin: 10px 0 0;
            border-radius: 999px;
            background: rgba(148, 163, 184, 0.24);
            overflow: hidden;
        }

        .progress > span {
            display: block;
            height: 100%;
            border-radius: inherit;
            background: linear-gradient(90deg, #2dd4bf, #14b8a6);
        }

        .mini-progress {
            height: 7px;
            margin: 12px 0 10px;
            border-radius: 999px;
            background: rgba(148, 163, 184, 0.24);
            overflow: hidden;
        }

        .mini-progress > span {
            display: block;
            height: 100%;
            border-radius: inherit;
            background: linear-gradient(90deg, #bfdbfe, #1d4ed8);
        }

        .window-actions {
            margin-top: 16px;
            color: var(--muted);
            font-size: 14px;
        }

        .dimension-list {
            display: grid;
            gap: 14px;
        }

        .dimension-item {
            padding: 16px 18px;
            border-radius: 16px;
            background: #fff;
            border: 1px solid var(--line);
        }

        .dimension-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .dimension-head strong {
            font-size: 15px;
            line-height: 1.4;
        }

        .dimension-head span {
            color: var(--muted);
            font-size: 13px;
            white-space: nowrap;
        }

        .kpi-strip {
            display: grid;
            gap: 18px;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            margin-top: 24px;
        }

        .kpi-box {
            padding: 20px;
            border-radius: 16px;
            background: #fff;
            border: 1px solid var(--line);
        }

        .kpi-box strong {
            display: block;
            font-size: 24px;
            margin-bottom: 8px;
            letter-spacing: -0.03em;
        }

        .filter-row {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 16px;
        }

        .filter-pill {
            border: 1px solid var(--line);
            background: #fff;
            color: var(--muted);
            padding: 10px 14px;
            border-radius: 999px;
            cursor: pointer;
        }

        .filter-pill.is-active {
            background: rgba(37, 99, 235, 0.08);
            color: var(--accent);
            border-color: rgba(37, 99, 235, 0.18);
        }

        .dashboard-stage {
            display: grid;
            grid-template-columns: 320px minmax(0, 1fr);
            gap: 24px;
            align-items: start;
        }

        .control-panel {
            position: sticky;
            top: 88px;
            padding: 24px;
            border-radius: 18px;
            background: #fff;
            border: 1px solid var(--line);
            box-shadow: var(--shadow);
        }

        .age-display {
            font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", ui-serif, Georgia, serif;
            font-size: clamp(46px, 8vw, 82px);
            line-height: 1;
            letter-spacing: -0.05em;
            margin-top: 10px;
        }

        .age-axis {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 10px;
            margin-top: 18px;
        }

        .axis-button {
            min-height: 44px;
            border-radius: 12px;
            border: 1px solid var(--line);
            background: #fff;
            cursor: pointer;
            font: inherit;
            color: var(--text);
        }

        .axis-button.is-active {
            background: rgba(37, 99, 235, 0.08);
            border-color: rgba(37, 99, 235, 0.2);
            color: var(--accent);
            font-weight: 700;
        }

        .window-grid-stack {
            display: grid;
            gap: 18px;
        }

        .windows-clean {
            display: block;
        }

        .windows-clean-shell {
            padding: 28px;
        }

        .windows-clean-head {
            display: flex;
            align-items: start;
            justify-content: space-between;
            gap: 20px;
        }

        .windows-clean-head h1 {
            font-size: clamp(30px, 5vw, 48px);
            margin-top: 14px;
        }

        .windows-clean-toolbar {
            margin-top: 24px;
            display: grid;
            gap: 14px;
        }

        .windows-clean-metrics {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
            margin-top: 18px;
        }

        .windows-clean-age {
            margin-top: 18px;
            padding: 20px;
            border-radius: 18px;
            background: rgba(248, 250, 252, 0.82);
            border: 1px solid rgba(148, 163, 184, 0.16);
        }

        .windows-clean-age-head {
            display: grid;
            grid-template-columns: auto minmax(0, 1fr);
            align-items: center;
            gap: 16px;
        }

        .windows-clean-cats {
            margin-top: 18px;
        }

        .windows-clean-meta {
            margin-top: 18px;
        }

        .windows-secondary-links {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            margin-top: 18px;
            padding-top: 16px;
            border-top: 1px solid rgba(148, 163, 184, 0.12);
        }

        .windows-secondary-links a {
            color: var(--muted);
            font-size: 14px;
        }

        .windows-secondary-links a:hover,
        .windows-secondary-links a:focus-visible {
            color: var(--text);
            outline: none;
        }

        .search-input {
            width: 100%;
            min-height: 50px;
            padding: 0 16px;
            border-radius: 14px;
            border: 1px solid var(--line);
            background: #fff;
            color: var(--text);
            font: inherit;
            outline: none;
        }

        .search-input:focus {
            border-color: rgba(37, 99, 235, 0.28);
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
        }

        .toolbar-row {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
            margin-top: 16px;
        }

        .toolbar-select {
            display: grid;
            gap: 8px;
        }

        .toolbar-input {
            width: 100%;
            min-height: 46px;
            padding: 0 14px;
            border-radius: 14px;
            border: 1px solid var(--line);
            background: #fff;
            color: var(--text);
            font: inherit;
            outline: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
            padding-right: 38px;
        }

        .toolbar-input:focus {
            border-color: rgba(37, 99, 235, 0.28);
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
        }

        .list-grid {
            display: grid;
            gap: 18px;
        }

        .list-item {
            display: grid;
            gap: 10px;
            padding: 16px 18px;
            border-radius: 16px;
            background: #fff;
            border: 1px solid var(--line);
        }

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

        .topic-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
        }

        .topic-card {
            display: grid;
            gap: 0;
            padding: 24px;
            border-radius: 18px;
            background: #fff;
            border: 1px solid var(--line);
            box-shadow: var(--shadow);
        }

        .topic-card-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-wrap: wrap;
        }

        .topic-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .topic-stats span,
        .topic-ribbon-item span {
            color: var(--muted);
            font-size: 13px;
        }

        .topic-ribbon {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
        }

        .topic-ribbon-item {
            display: grid;
            gap: 6px;
            padding: 16px 18px;
            border-radius: 16px;
            border: 1px solid var(--line);
            background: #fff;
            transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
        }

        .topic-ribbon-item strong {
            font-size: 15px;
            line-height: 1.45;
        }

        .topic-ribbon-item:hover,
        .topic-ribbon-item:focus-visible {
            transform: translateY(-1px);
            border-color: rgba(45, 212, 191, 0.28);
            box-shadow: 0 12px 30px rgba(20, 184, 166, 0.08);
            outline: none;
        }

        .category-tile {
            display: grid;
            gap: 10px;
            padding: 24px;
            border-radius: 18px;
            background: #fff;
            border: 1px solid var(--line);
            box-shadow: var(--shadow);
        }

        .index-cloud {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .index-chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 38px;
            padding: 0 14px;
            border-radius: 999px;
            border: 1px solid var(--line);
            background: #fff;
            color: var(--muted);
            font-size: 14px;
        }

        .card-list-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 16px;
        }

        .modal-shell {
            position: fixed;
            inset: 0;
            z-index: 30;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(15, 23, 42, 0.18);
            backdrop-filter: blur(10px);
        }

        .modal-shell.is-open {
            display: flex;
        }

        .modal-card {
            width: min(880px, 100%);
            max-height: min(88vh, 920px);
            overflow: auto;
            padding: 30px;
            border-radius: 22px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
            border: 1px solid rgba(45, 212, 191, 0.18);
            box-shadow: 0 28px 72px rgba(15, 23, 42, 0.14);
        }

        .modal-head,
        .modal-kpis {
            display: grid;
            gap: 18px;
        }

        .modal-head {
            grid-template-columns: minmax(0, 1fr) auto;
            align-items: start;
        }

        .close-button {
            width: 44px;
            height: 44px;
            border-radius: 999px;
            border: 1px solid var(--line);
            background: #fff;
            cursor: pointer;
            font-size: 20px;
            color: var(--text);
        }

        .modal-kpis {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            margin-top: 22px;
        }

        .modal-kpis .kpi-box {
            border-radius: 16px;
            background: rgba(248, 250, 252, 0.9);
        }

        .modal-progress {
            margin-top: 22px;
            padding: 20px;
            border-radius: 18px;
            background: rgba(248, 250, 252, 0.88);
            border: 1px solid rgba(148, 163, 184, 0.16);
        }

        .modal-actions-list {
            display: grid;
            gap: 12px;
            margin-top: 18px;
        }

        .modal-actions-list .item {
            padding: 14px 16px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.96);
            border: 1px solid rgba(148, 163, 184, 0.14);
        }

        .compact-list .item {
            padding: 12px 14px;
            font-size: 14px;
            line-height: 1.7;
        }

        .modal-priority-score {
            display: flex;
            align-items: end;
            gap: 10px;
            margin-top: 16px;
        }

        .modal-priority-score strong {
            font-family: "Noto Serif CJK SC", "Noto Serif SC", "Source Han Serif SC", ui-serif, Georgia, serif;
            font-size: 38px;
            line-height: 1;
        }

        .modal-priority-score span {
            padding-bottom: 6px;
            color: var(--muted);
            font-size: 14px;
        }

        .modal-link-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 12px;
            margin-top: 16px;
        }

        .mini-link-card,
        .linked-window-card {
            display: block;
            color: inherit;
            text-decoration: none;
            transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
        }

        .mini-link-card {
            padding: 14px 16px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.96);
            border: 1px solid rgba(148, 163, 184, 0.14);
        }

        .mini-link-card strong {
            display: block;
            font-size: 15px;
            line-height: 1.5;
        }

        .mini-link-card .tone {
            margin-top: 10px;
        }

        .mini-link-card:hover,
        .mini-link-card:focus-visible,
        .linked-window-card:hover,
        .linked-window-card:focus-visible {
            transform: translateY(-1px);
            border-color: rgba(45, 212, 191, 0.28);
            box-shadow: 0 12px 30px rgba(20, 184, 166, 0.08);
            outline: none;
        }

        .anchor-list {
            grid-template-columns: repeat(6, minmax(0, 1fr));
            margin-top: 18px;
        }

        .anchor-item {
            padding: 18px 14px;
            border-radius: 18px;
            background: #fff;
            border: 1px solid var(--line);
            text-align: center;
        }

        .faq-grid,
        .story-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .site-footer {
            padding: 30px 0 60px;
            color: var(--muted);
        }

        .footer-line {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            padding-top: 24px;
            border-top: 1px solid rgba(31, 26, 22, 0.08);
        }

        .inline-links {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
        }

        @media (max-width: 980px) {
            .stat-grid,
            .grid-3,
            .anchor-list,
            .faq-grid,
            .story-grid,
            .grid-2,
            .kpi-strip,
            .modal-kpis,
            .category-band,
            .modal-link-grid,
            .topic-grid,
            .topic-ribbon {
                grid-template-columns: 1fr 1fr;
            }

            .dashboard-stage {
                grid-template-columns: 1fr;
            }

            .control-panel {
                position: static;
            }

            .window-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .toolbar-row {
                grid-template-columns: 1fr 1fr;
            }

            .windows-clean-metrics,
            .windows-clean-age-head {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 720px) {
            .site-header .shell,
            .footer-line,
            .window-top,
            .window-meta,
            .window-actions {
                display: block;
            }

            .hero-card { padding: 26px 20px; }

            .windows-clean-shell {
                padding: 22px 18px;
            }

            .cta-row,
            .stat-grid,
            .grid-3,
            .anchor-list,
            .faq-grid,
            .story-grid,
            .grid-2,
            .kpi-strip,
            .modal-kpis,
            .age-axis,
            .category-band,
            .modal-link-grid,
            .topic-grid,
            .topic-ribbon {
                grid-template-columns: 1fr;
            }

            .window-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .toolbar-row {
                grid-template-columns: 1fr;
            }

            .windows-clean-age-head {
                display: block;
            }

            .windows-clean-metrics {
                grid-template-columns: 1fr 1fr;
            }

            .nav { margin-top: 10px; }
            .shell { width: min(100% - 20px, 1180px); }
            .shell-wide { width: min(100% - 20px, 1560px); }
            h1 { font-size: 40px; line-height: 1.08; }
            .lead { font-size: 16px; }
            .card-list-meta,
            .modal-head {
                display: block;
            }

            .filter-row {
                flex-wrap: nowrap;
                overflow-x: auto;
                padding-bottom: 6px;
                margin-right: -4px;
                scroll-snap-type: x proximity;
                -webkit-overflow-scrolling: touch;
            }

            .filter-pill,
            .axis-button {
                flex: 0 0 auto;
                scroll-snap-align: start;
            }

            .control-panel {
                padding: 18px;
                border-radius: 18px;
            }

            .modal-shell {
                align-items: end;
                padding: 10px 10px 0;
            }

            .modal-card {
                width: 100%;
                max-height: 88vh;
                border-radius: 20px 20px 0 0;
                padding: 22px 18px calc(24px + env(safe-area-inset-bottom));
            }

            .button {
                min-height: 50px;
            }

            .window-kpi-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }

            .window-kpi strong {
                font-size: 26px;
            }

            .window-card-summary {
                min-height: auto;
            }
        }

        @media (max-width: 560px) {
            .window-grid {
                grid-template-columns: 1fr;
            }

            .windows-clean-metrics {
                grid-template-columns: 1fr;
            }
        }
