@layer reset, tokens, base, layout, components, features, pages, responsive;

@layer reset {
    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; }
    body, h1, h2, h3, p, ul, ol, fieldset { margin: 0; }
    [hidden] { display: none !important; }
    img, svg { display: block; max-width: 100%; }
    button, input, textarea, select { font: inherit; }
}

@layer tokens {
    :root {
        color-scheme: light;
        --ink: #17251d;
        --ink-soft: #46554b;
        --sage: #c9d9c3;
        --paper: #fffaf0;
        --surface: #fffefb;
        --line: #899580;
        --line-soft: #c8c5b7;
        --coral: #eb5944;
        --coral-dark: #bf3e2c;
        --lemon: #dff36a;
        --mint: #e8f4e8;
        --green: #387549;
        --blue: #dff3f6;
        --sun: #fff0c7;
        --lavender: #eee8ff;
        --radius-sm: .85rem;
        --radius-md: 1.25rem;
        --radius-lg: 2rem;
        --shadow: 0 .55rem 0 rgb(55 75 57 / 22%);
        --shadow-soft: 0 .65rem 1.8rem rgb(38 57 42 / 16%);
        --page: min(100% - 2rem, 76rem);
    }
}

@layer base {
    body {
        min-height: 100vh;
        color: var(--ink);
        background: var(--sage);
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
        line-height: 1.65;
    }
    h1, h2 { font-family: Georgia, "Songti SC", "STSong", serif; line-height: 1.12; }
    a { color: inherit; text-decoration: none; }
    input, textarea, select { color: var(--ink); }
    input::placeholder, textarea::placeholder { color: #6f796f; opacity: 1; }
    input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #f3b33e; outline-offset: 2px; }
    button, a { -webkit-tap-highlight-color: transparent; text-align: center; }
}

@layer layout {
    .site-header {
        width: var(--page);
        min-height: 4.5rem;
        margin: 1rem auto 0;
        padding: .75rem 1.25rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 2px solid var(--line);
        border-radius: 1.35rem;
        background: var(--surface);
        box-shadow: var(--shadow-soft);
    }
    .brand { font-family: Georgia, "Songti SC", serif; font-size: 1.65rem; letter-spacing: .18em; }
    .brand span { color: #9ea49c; }
    .site-header__action { color: var(--green); font-weight: 700; }
    .site-header__nav { display: flex; gap: 1rem; }
    .page-shell { width: var(--page); margin: 1.5rem auto 5rem; }
    .site-footer { padding: 2rem 1rem 6rem; color: #3f5045; text-align: center; font-size: .85rem; }
}

@layer components {
    .eyebrow { color: var(--green); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
    .badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        min-height: 2rem;
        padding: .35rem .75rem;
        border: 1.5px solid currentColor;
        border-radius: 999px;
        font-size: .75rem;
        font-weight: 900;
        line-height: 1.2;
        letter-spacing: .06em;
    }
    .badge--mint { background: var(--mint); color: #346745; }
    .badge--sun { background: var(--sun); color: #926517; }
    .badge--blue { background: var(--blue); color: #286979; }
    .badge--coral { background: #ffe3dc; color: var(--coral-dark); }
    .button {
        min-height: 3.4rem;
        padding: .8rem 1.25rem;
        border: 2px solid #263c2d;
        border-radius: var(--radius-sm);
        cursor: pointer;
        font-weight: 900;
        transition: transform .15s ease, box-shadow .15s ease;
    }
    .button:not(:disabled):active { transform: translateY(.2rem); box-shadow: none; }
    .button:disabled { cursor: not-allowed; opacity: .58; }
    .button--primary { color: white; border-color: #9e3023; background: var(--coral); box-shadow: 0 .22rem 0 var(--coral-dark); }
    .button--secondary { color: #24331f; background: var(--lemon); border-color: #879c25; box-shadow: 0 .32rem 0 #9baa43; }
    .button--ghost { color: #294d35; background: var(--surface); border-color: var(--line); box-shadow: 0 .25rem 0 rgb(55 75 57 / 18%); }
    .button--wide { width: 100%; }
    .section-heading { display: flex; align-items: center; gap: .7rem; }
    .section-heading__icon { color: var(--green); font-size: 1.7rem; line-height: 1; }
    .section-heading h2 { font-size: clamp(1.45rem, 4vw, 2rem); }
    .section-heading p { margin-top: .45rem; color: var(--ink-soft); font-size: .88rem; }
    .form-error { padding: .7rem 1rem; border: 2px solid #d66c58; border-radius: .7rem; color: #8c261b; background: #fff0eb; font-weight: 700; }
    .coupon-preview, .coupon-form { border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff8dc; }
    .coupon-preview label, .coupon-form label { display: block; margin-bottom: .45rem; font-size: .78rem; font-weight: 850; }
    .coupon-preview__controls, .coupon-form__controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
    .coupon-preview__controls input, .coupon-form__controls input { min-width: 0; text-transform: uppercase; }
}

@layer features {
    .catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1rem .25rem 1.5rem; }
    .catalog-head h1 { margin-top: .35rem; font-size: clamp(2.35rem, 8vw, 4.8rem); }
    .catalog-head__promise { padding: .45rem .85rem; border: 1.5px solid #879c25; border-radius: 999px; background: var(--lemon); font-weight: 800; white-space: nowrap; }
    .catalog-tools { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
    .category-tabs { display: flex; gap: .55rem; overflow-x: auto; scrollbar-width: none; padding: .35rem .15rem .55rem; }
    .category-tabs::-webkit-scrollbar { display: none; }
    .category-tab { flex: 0 0 auto; padding: .55rem 1rem; border: 2px solid var(--line); border-radius: 999px; background: var(--surface); color: #27392e; font-weight: 800; box-shadow: 0 .22rem 0 #84907d; }
    .category-tab.is-active { color: #9e3023; border-color: var(--coral); background: #ffe3dc; box-shadow: 0 .22rem 0 #e89a88; }
    .search-box { min-width: 16rem; margin-left: auto; display: flex; align-items: center; gap: .5rem; padding: .6rem .85rem; border: 2px solid var(--line); border-radius: 999px; background: white; box-shadow: 0 .25rem 0 rgb(55 75 57 / 18%); }
    .search-box input { width: 100%; border: 0; outline: 0; background: transparent; }
    .test-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .test-card { overflow: hidden; position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 2px solid #7f8d78; border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: transform .18s ease; }
    .test-card:hover { transform: translateY(-.2rem); }
    .test-card--tone-1 { background: var(--lemon); }
    .test-card--tone-2 { background: #ffd9cf; }
    .test-card--tone-3 { background: var(--blue); }
    .test-card--tone-4 { background: var(--lavender); }
    .test-card__media { min-width: 0; aspect-ratio: 1200 / 630; }
    .test-card__media img { width: 100%; height: 100%; object-fit: cover; }
    .test-card__labels { margin-bottom: .65rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
    .test-card__number, .test-card__category { padding: .32rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 900; }
    .test-card__number { border: 1.5px solid #657361; background: white; }
    .test-card__category { color: white; border: 1.5px solid #9e3023; background: var(--coral); }
    .test-card__featured { position: relative; margin-left: auto; color: #ffd52f; font-size: 1.05rem; line-height: 1; filter: drop-shadow(0 1px 0 #a76d00) drop-shadow(0 0 .28rem rgb(255 213 47 / 75%)); }
    .test-card__featured::before, .test-card__featured::after { position: absolute; color: #fff4a7; line-height: 1; content: "✦"; }
    .test-card__featured::before { top: -.38rem; left: -.35rem; font-size: .48rem; }
    .test-card__featured::after { right: -.42rem; bottom: -.26rem; font-size: .35rem; }
    .test-card__body { min-width: 0; min-height: 10.5rem; padding: 1.15rem; display: flex; flex-direction: column; text-align: left; }
    .test-card__body h2 { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; text-align: left; font-size: clamp(1.35rem, 2.4vw, 2rem); }
    .test-card__body h2 span { flex: 0 0 auto; font-family: system-ui, sans-serif; font-size: 1rem; }
    .test-card__body p { margin-top: .55rem; overflow: hidden; display: -webkit-box; color: #506057; text-align: left; font-size: .88rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .test-card__meta { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; color: #283b30; font-size: .75rem; font-weight: 750; }
    .empty-state { min-height: 24rem; display: grid; place-items: center; align-content: center; gap: .7rem; text-align: center; }
    .empty-state__icon { font-size: 3rem; color: var(--coral); }
    .error-card { min-height: 28rem; padding: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; border: 2px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); text-align: center; }
    .error-card > strong { color: var(--coral); font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
    .error-card h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
    .error-card p { color: var(--ink-soft); }
    .error-card pre { max-width: 100%; padding: .7rem; overflow: auto; border-radius: .6rem; background: #f5f1e7; text-align: left; }

    .quiz-hero { overflow: hidden; display: grid; grid-template-columns: 1fr minmax(16rem, 40%); border: 2px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff6cf, #e8f8f4); box-shadow: var(--shadow); }
    .quiz-hero__copy { padding: clamp(1.5rem, 5vw, 3.5rem); align-self: center; }
    .quiz-hero h1 { margin-top: .75rem; font-size: clamp(2rem, 6vw, 4rem); }
    .quiz-hero p { margin-top: .8rem; color: var(--ink-soft); font-size: 1.05rem; }
    /* .quiz-hero img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; } */
    .quiz-hero img { height: 100%;}

    .test-intro { display: grid; gap: 1rem; }
    .test-intro__hero { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr); border: 2px solid var(--line); border-radius: var(--radius-lg); background: var(--lemon); box-shadow: var(--shadow); }
    .test-intro__hero > img { align-self: center; min-width: 0; width: calc(100% - 1.5rem); max-width: 100%; height: auto; margin: .75rem; border-radius: calc(var(--radius-lg) - .6rem); object-fit: contain; }
    .test-intro__copy { min-width: 0; padding: clamp(1.25rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
    .test-intro__copy h1 { margin-top: .7rem; font-size: clamp(2.1rem, 5vw, 4rem); }
    .test-intro__copy > p { margin-top: .75rem; color: #425248; }
    .test-intro__meta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
    .test-intro__meta span { padding: .3rem .6rem; border: 1.5px solid #7f8d78; border-radius: 999px; background: white; font-size: .75rem; font-weight: 800; }
    .test-intro__start { width: fit-content; margin-top: 1rem; }
    .test-intro__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .test-intro__facts article { min-width: 0; padding: 1.2rem; border: 2px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-soft); }
    .test-intro__facts article:nth-child(2) { background: var(--blue); }
    .test-intro__facts article:nth-child(3) { background: var(--sun); }
    .test-intro__facts article > span { color: var(--coral); font-size: .75rem; font-weight: 900; }
    .test-intro__facts h2 { margin-top: .2rem; font-size: 1.35rem; }
    .test-intro__facts ul { margin-top: .55rem; padding-left: 1.1rem; color: #4b5850; font-size: .88rem; }
    .test-intro__facts li + li { margin-top: .25rem; }
    .test-intro__bottom-start { display: none; }
    .quiz-form { margin-top: 1.5rem; }
    .quiz-progress { position: sticky; top: .5rem; z-index: 8; margin-bottom: 1rem; padding: .75rem 1rem; display: grid; gap: .55rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fffaf0; box-shadow: var(--shadow-soft); }
    .quiz-progress > div { display: flex; justify-content: space-between; align-items: center; color: var(--ink-soft); font-size: .8rem; }
    .quiz-progress strong { color: var(--ink); }
    .quiz-progress__track { height: .55rem; overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: #dce5d5; }
    .quiz-progress__track i { width: 0; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--coral), #f2b84b); transition: width .25s ease; }
    .form-sheet { display: grid; gap: 1rem; }
    .form-field { min-width: 0; padding: clamp(1rem, 3vw, 1.5rem); border: 2px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 .35rem 0 rgb(55 75 57 / 20%); }
    .form-field legend { display: flex; align-items: center; gap: .65rem; max-width: 100%; padding: 0 .35rem; font-size: 1.05rem; font-weight: 800; }
    .form-field legend > span { display: inline-grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center; border: 1.5px solid #879c25; border-radius: 50%; background: var(--lemon); }
    .form-field legend em { padding: .18rem .45rem; border: 1.5px solid #719076; border-radius: 999px; background: var(--mint); color: var(--green); font-size: .72rem; font-style: normal; }
    .form-field__help { margin: .4rem 0 1rem 2.95rem; color: var(--ink-soft); line-height: 1.65; }
    .form-field__range { margin: -.55rem 0 1rem 2.95rem; color: #8b4d14; font-size: .82rem; font-weight: 800; }
    .form-field .number-field, .form-field .text-field { display: flex; align-items: center; gap: .65rem; max-width: 28rem; margin-left: 2.95rem; }
    .form-field input[type="number"], .form-field input[type="date"], .form-field input[type="text"], .form-field textarea { width: 100%; border: 2px solid #71806c; border-radius: 1rem; background: #fff; color: var(--ink); box-shadow: inset 0 1px 2px rgb(31 45 34 / 10%); }
    .form-field input[type="number"] { min-height: 3.25rem; padding: .7rem 1rem; }
    .form-field input[type="date"], .form-field input[type="text"] { min-height: 3.25rem; padding: .7rem 1rem; }
    .form-field textarea { min-height: 8rem; padding: 1rem; resize: vertical; }
    .option-grid--form { margin: .8rem 0 0 2.95rem; }
    .question-group { margin-bottom: 1.25rem; padding: clamp(1rem, 3vw, 2rem); border: 2px solid #74836f; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); }
    .question-group__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: .4rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
    .question-group__head > span { color: var(--coral); font-weight: 900; }
    .question-group__head h2 { font-size: 1.8rem; }
    .question-group__head p { color: var(--ink-soft); font-size: .85rem; }
    .question-card { padding: 1.2rem 0; border: 0; border-bottom: 1.5px solid var(--line-soft); }
    .question-card:last-child { border-bottom: 0; }
    .question-card.is-incomplete, .form-field.is-incomplete { outline: 3px solid #d94c38; outline-offset: 3px; }
    .question-card__error { margin: .65rem 0 .15rem; }
    .question-card legend { width: 100%; display: flex; gap: .75rem; align-items: flex-start; font-weight: 850; font-size: 1.05rem; }
    .question-card legend span { flex: 0 0 1.8rem; height: 1.8rem; display: grid; place-items: center; border: 2px solid #71806c; border-radius: .45rem; color: var(--green); background: #f5f8ef; font-size: .8rem; }
    .question-card__image { width: 100%; max-height: 28rem; aspect-ratio: 16 / 9; margin: .9rem 0; object-fit: cover; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #edf2e8; box-shadow: var(--shadow-soft); }
    .quiz-form.is-paged .question-group, .quiz-form.is-paged .form-sheet { min-height: min(64vh, 42rem); }
    .quiz-form.is-paged .question-card, .quiz-form.is-paged .form-field { border-bottom: 0; }
    .quiz-step-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
    .quiz-step-actions .button { width: 100%; }
    .option-grid { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .55rem; }
    .option-card { position: relative; min-width: 0; cursor: pointer; }
    .option-card input { position: absolute; opacity: 0; pointer-events: none; }
    .option-card span { min-height: 3.4rem; height: 100%; padding: .65rem; display: grid; place-items: center; border: 2px solid #7d8976; border-radius: .8rem; background: #fffdf7; color: #2f4035; box-shadow: 0 .18rem 0 rgb(55 75 57 / 15%); text-align: center; font-size: .86rem; font-weight: 700; transition: .15s ease; }
    .option-card input:checked + span { color: #852d21; border-color: var(--coral); background: #ffe1d8; box-shadow: 0 .25rem 0 #e79380; transform: translateY(-.1rem); }
    .option-card input:focus-visible + span { outline: 3px solid #80baff; outline-offset: 2px; }
    .submit-dock { margin-top: 1rem; padding: .9rem; border: 2px solid #71806c; border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); }
    .submit-dock__status { margin-bottom: .6rem; display: flex; justify-content: space-between; color: var(--ink-soft); font-size: .82rem; }
    .submit-dock__status strong { color: var(--ink); }
    .submit-dock .form-error { margin-bottom: .65rem; }

    .result-hero, .result-overview, .insight-card, .unlock-card { border: 2px solid var(--line); box-shadow: var(--shadow); }
    .result-hero { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 5vw, 3rem); border-radius: var(--radius-lg); background: linear-gradient(125deg, #fff6cf 0%, #fff 55%, #dff5f3 100%); }
    .result-hero h1 { margin-top: .7rem; font-size: clamp(2.2rem, 7vw, 4.4rem); }
    .result-hero p { max-width: 48rem; margin-top: .75rem; color: var(--ink-soft); }
    .result-hero .result-hero__balance { padding-top: .75rem; border-top: 1px solid var(--line-soft); color: var(--ink); font-weight: 750; }
    .score-orb { flex: 0 0 auto; min-width: 11rem; padding: 1.2rem; display: flex; align-items: center; gap: .8rem; border: 2px solid var(--line); border-radius: var(--radius-md); background: white; }
    .score-orb strong { color: var(--green); font-family: Georgia, serif; font-size: 3.5rem; line-height: 1; }
    .score-orb span { max-width: 4rem; color: var(--ink-soft); font-size: .8rem; }
    .result-overview { margin-top: 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: white; }
    .result-overview__grid { margin-top: 1.3rem; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1rem, 4vw, 3rem); align-items: center; }
    .radar-card { min-width: 0; padding: .75rem; border: 1.5px solid var(--line-soft); border-radius: var(--radius-md); background: #fffaf0; }
    .radar-chart { width: 100%; height: auto; overflow: hidden; }
    .radar-chart__grid, .radar-chart__axis { fill: none; stroke: #d8d6cc; stroke-width: 1.5; }
    .radar-chart__value { fill: rgb(235 89 68 / 24%); stroke: #cc432f; stroke-width: 3; }
    .radar-chart__label { fill: #657068; font-size: 13px; dominant-baseline: middle; }
    .dimension-list { min-width: 0; }
    .dimension-bar { min-width: 0; min-height: 3.1rem; padding: .45rem .2rem; display: grid; grid-template-columns: 5.5em minmax(0, 1fr) 2.25rem; align-items: center; gap: .65rem; border-bottom: 1px solid var(--line-soft); }
    .dimension-bar:last-child { border-bottom: 0; }
    .dimension-bar strong { white-space: nowrap; }
    .dimension-bar__track { min-width: 0; height: .55rem; overflow: hidden; border-radius: 999px; background: #e9e8e2; }
    .dimension-bar__track i { display: block; width: var(--score, 0%); height: 100%; background: var(--green); }
    .dimension-bar.is-focus .dimension-bar__track i { background: #c08a2a; }
    .dimension-bar b { color: var(--green); font-family: Georgia, serif; font-size: 1.2rem; text-align: right; white-space: nowrap; }
    .preview-analysis { margin-top: 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); border: 2px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
    .preview-profile { margin-top: 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); border: 2px solid var(--line); border-radius: var(--radius-lg); background: #fff2c9; box-shadow: var(--shadow); }
    .preview-profile h2 { margin-top: .75rem; font-size: clamp(1.8rem, 5vw, 3rem); }
    .preview-profile > p { max-width: 68rem; margin-top: .7rem; color: var(--ink-soft); }
    .preview-profile__tagline { color: var(--ink) !important; font-size: 1.15rem; font-weight: 850; }
    .preview-profile__keywords { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
    .preview-profile__keywords span { padding: .38rem .7rem; border: 1.5px solid var(--line); border-radius: 999px; background: white; font-weight: 800; }
    .preview-profile__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
    .preview-profile__columns > div { padding: 1rem 1.1rem; border: 1.5px solid var(--line-soft); border-radius: var(--radius-md); background: rgba(255, 255, 255, .72); }
    .preview-profile__columns h3 { margin-bottom: .55rem; }
    .preview-profile__columns li + li { margin-top: .35rem; }
    .dimension-insights { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
    .dimension-insight { position: relative; min-width: 0; padding: 1.15rem; border: 1.5px solid var(--line-soft); border-radius: var(--radius-md); background: #fffdf7; }
    .dimension-insight header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .dimension-insight h3 { font-size: 1.15rem; }
    .dimension-insight strong { color: var(--green); font-family: Georgia, serif; font-size: 1.8rem; line-height: 1; }
    .dimension-insight p { margin-top: .65rem; color: var(--ink-soft); }
    .dimension-insight--low { border-color: #dca849; background: #fff7dc; }
    .dimension-insight--high { background: #eef8ee; }
    .dimension-insight__tag { position: absolute; top: -.55rem; right: 1rem; padding: .2rem .55rem; border-radius: 999px; background: #ffd966; color: #6e4b00; font-size: .68rem; font-weight: 900; }
    .preview-connections { margin-top: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .insight-card { min-width: 0; padding: 1.5rem; border-radius: var(--radius-md); }
    .insight-card--focus { background: var(--sun); }
    .insight-card--resource { background: var(--blue); }
    .insight-card--action { background: #ffe4dc; }
    .insight-card h2 { margin-top: .8rem; font-size: 1.65rem; }
    .insight-card p { margin-top: .65rem; color: #4f5a53; }
    .preview-actions { margin-top: 1rem; }
    .preview-actions__grid { margin-top: .9rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .preview-actions__grid article { padding: 1rem; border: 1.5px solid #db9b8d; border-radius: 1rem; background: rgb(255 255 255 / 62%); }
    .preview-actions__grid h2 { margin-top: 0; }
    .preview-actions__closing { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #db9b8d; font-weight: 750; }
    .city-match-map { margin-top: 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); border: 2px solid var(--line); border-radius: var(--radius-lg); background: #eef8ee; box-shadow: var(--shadow); }
    .city-match-grid { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .city-match-card { min-width: 0; padding: 1.2rem; border: 1.5px solid var(--line-soft); border-radius: var(--radius-md); background: #fffdf7; }
    .city-match-card:first-child { grid-column: 1 / -1; background: #fff2c9; }
    .city-match-card h2 { margin-top: .7rem; font-size: 1.65rem; }
    .city-match-card > strong { display: block; margin-top: .35rem; color: var(--green); }
    .city-match-card > p { margin-top: .55rem; color: var(--ink-soft); }
    .city-match-card .city-match-card__note { padding-top: .55rem; border-top: 1px solid var(--line-soft); color: var(--ink); font-weight: 700; }
    .result-lock-card { overflow: hidden; display: grid; grid-template-columns: minmax(16rem, .8fr) minmax(0, 1.05fr) minmax(20rem, .75fr); border: 2px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(125deg, #fff6cf, #e8f8f4); box-shadow: var(--shadow); }
    .result-lock-card__visual { position: relative; min-height: 28rem; background: var(--green); }
    .result-lock-card__visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
    .result-lock-card__visual > span { position: absolute; right: 1rem; bottom: 1rem; width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: var(--lemon); color: var(--green); font-size: 1.8rem; font-weight: 900; box-shadow: var(--shadow-soft); }
    .result-lock-card__copy { align-self: center; padding: clamp(1.4rem, 4vw, 2.8rem); }
    .result-lock-card__copy h1 { margin-top: .75rem; font-size: clamp(2.2rem, 5vw, 3.8rem); }
    .result-lock-card__copy p { margin-top: .8rem; color: var(--ink-soft); }
    .result-lock-card__copy ul { margin-top: 1.2rem; padding-left: 1.2rem; }
    .result-lock-card__copy li + li { margin-top: .45rem; }
    .result-lock-card__action { align-self: center; margin: 1rem; padding: 1.25rem; border: 2px solid var(--line); border-radius: var(--radius-md); background: white; }
    .result-lock-card__action > span { color: var(--ink-soft); font-size: .8rem; }
    .result-lock-card__action > strong { display: block; margin: .25rem 0 1rem; color: var(--coral); font-family: Georgia, serif; font-size: 3rem; }
    .result-lock-card__action form { margin-top: .8rem; }
    .unlock-card { margin-top: 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; border-color: #efb66b; border-radius: var(--radius-lg); background: linear-gradient(120deg, #fff2cc, #ffe3d8); }
    .unlock-card h2 { margin-top: .75rem; font-size: clamp(2rem, 5vw, 3.2rem); }
    .unlock-card p { margin-top: .7rem; }
    .unlock-card ul { margin-top: 1rem; padding-left: 1.2rem; }
    .unlock-card li + li { margin-top: .45rem; }
    .unlock-card__action { padding: 1.25rem; border: 2px solid var(--line); border-radius: var(--radius-md); background: white; }
    .unlock-card__action > span { color: var(--ink-soft); font-size: .8rem; }
    .unlock-card__action > strong { display: block; margin: .25rem 0 1rem; color: var(--coral); font-family: Georgia, serif; font-size: 3rem; }
    .coupon-preview { margin-bottom: 1rem; padding: .85rem; }
    .coupon-preview__controls .button { min-width: 5rem; padding-inline: .8rem; }
    .coupon-preview__status { margin-top: .55rem; color: var(--green); font-size: .76rem; font-weight: 850; }
    .coupon-preview__price { margin: .55rem 0 0; display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; color: var(--ink-soft); font-size: .76rem; }
    .coupon-preview__price strong { color: var(--coral); font-size: 1rem; }
    .coupon-preview__price s { color: #777; }
    .unlock-card__action form { margin-top: .8rem; }
}

@layer responsive {
    @media (max-width: 900px) {
        .test-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .dimension-insights, .preview-connections, .preview-actions__grid, .preview-profile__columns, .city-match-grid { grid-template-columns: 1fr; }
        .city-match-card:first-child { grid-column: auto; }
        .result-lock-card { grid-template-columns: 1fr 1fr; }
        .result-lock-card__visual { min-height: 16rem; grid-column: 1 / -1; }
    }
    @media (max-width: 700px) {
        :root { --page: min(100% - .75rem, 76rem); }
        .site-header { min-height: 3.2rem; margin-top: .3rem; padding: .45rem .75rem; border-radius: .85rem; box-shadow: 0 .35rem 0 rgb(55 75 57 / 20%); }
        .brand { font-size: 1.35rem; }
        .site-header__nav { gap: .65rem; font-size: .8rem; }
        .page-shell { margin-top: .55rem; margin-bottom: 3rem; }
        .catalog-head { align-items: center; padding: .2rem .15rem .45rem; }
        .catalog-head .eyebrow, .catalog-head__promise { display: none; }
        .catalog-head h1 { margin: 0; font-size: 1.85rem; }
        .catalog-tools { display: block; margin-bottom: .65rem; }
        .category-tabs { gap: .35rem; padding-block: .2rem .4rem; }
        .category-tab { padding: .4rem .72rem; font-size: .78rem; box-shadow: 0 .16rem 0 #84907d; }
        .search-box { width: 100%; min-width: 0; margin-top: .2rem; padding: .45rem .7rem; }
        .test-grid { gap: .55rem; }
        .test-card { border-radius: 1.1rem; box-shadow: 0 .38rem 0 rgb(55 75 57 / 22%); }
        .test-card__labels { margin-bottom: .4rem; }
        .test-card__number, .test-card__category { padding: .18rem .4rem; font-size: .58rem; }
        .test-card__featured { font-size: .9rem; }
        .test-card__body { min-height: 8.6rem; padding: .7rem; }
        .test-card__body h2 { font-size: clamp(.98rem, 4.6vw, 1.25rem); }
        .test-card__body h2 span { font-size: .75rem; }
        .test-card__body p { margin-top: .35rem; font-size: .69rem; line-height: 1.45; }
        .test-card__meta { padding-top: .5rem; gap: .25rem .4rem; font-size: .62rem; }
        .test-intro__hero { grid-template-columns: 1fr; border-radius: 1.2rem; }
        .test-intro__hero > img { width: calc(100% - 1rem); margin: .5rem; }
        .test-intro__copy { padding: .9rem; }
        .test-intro__copy h1 { margin-top: .4rem; font-size: 1.8rem; }
        .test-intro__copy > p { margin-top: .45rem; font-size: .85rem; line-height: 1.55; }
        .test-intro__meta { margin-top: .65rem; gap: .3rem; }
        .test-intro__meta span { padding: .2rem .45rem; font-size: .64rem; }
        .test-intro__start { display: none; }
        .test-intro__facts { grid-template-columns: 1fr; gap: .55rem; }
        .test-intro__facts article { padding: .8rem .9rem; border-radius: 1rem; }
        .test-intro__facts h2 { display: inline; margin-left: .4rem; font-size: 1.05rem; }
        .test-intro__facts ul { margin-top: .35rem; font-size: .76rem; line-height: 1.55; }
        .test-intro__bottom-start { position: sticky; z-index: 4; bottom: max(.45rem, env(safe-area-inset-bottom)); display: block; min-height: 3rem; text-align: center; }
        .result-lock-card { grid-template-columns: 1fr; }
        .result-lock-card__visual { min-height: 12rem; grid-column: auto; }
        .result-lock-card__copy { padding: 1.1rem; }
        .result-lock-card__copy h1 { font-size: 2rem; }
        .result-lock-card__action { margin: 0 1rem 1rem; }
        .quiz-hero { grid-template-columns: 1fr; }
        .quiz-hero__copy { order: 2; padding: .9rem; }
        .quiz-hero h1 { margin-top: .4rem; font-size: 1.65rem; }
        .quiz-hero p { margin-top: .35rem; font-size: .78rem; }
        .quiz-hero img { display: none; }
        .quiz-form { margin-top: .65rem; }
        .question-group { margin-bottom: .7rem; padding: .8rem; border-radius: 1rem; }
        .question-group__head { gap: .55rem; padding-bottom: .55rem; }
        .question-group__head h2 { font-size: 1.25rem; }
        .question-card { padding: .85rem 0; }
        .question-card legend { gap: .5rem; font-size: .92rem; line-height: 1.45; }
        .form-field__help, .form-field__range, .form-field .number-field, .form-field .text-field, .option-grid--form { margin-left: 0; }
        .option-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; }
        .option-grid--form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .option-card span { min-height: 3rem; padding: .35rem .2rem; font-size: .68rem; line-height: 1.25; }
        .submit-dock__status { align-items: flex-start; gap: .5rem; }
        .page-test .page-shell { margin: 0 auto; padding-top: calc(3rem + env(safe-area-inset-top)); }
        .page-test .quiz-form { margin: 0; }
        .page-test .question-card, .page-test .form-field { padding: .55rem; }
        .page-test .question-card__title, .page-test .form-field legend { font-size: 1.3rem; }
        .page-test .question-card__visual { margin: .38rem 0; gap: .38rem; }
        .page-test .question-card__number { min-width: 2.35rem; min-height: 2.35rem; font-size: .8rem; }
        .page-test .question-card__visual.has-image .question-card__number { min-height: clamp(7rem, 21vh, 10.5rem); }
        .page-test .question-card__image { height: clamp(7rem, 21vh, 10.5rem); max-width: calc(100% - 2.73rem); }
        .page-test .option-grid, .page-test .option-grid--form { grid-template-columns: 1fr; gap: .25rem; margin-top: .38rem; }
        .page-test .option-card { min-height: 2.45rem; padding: .32rem .48rem; }
        .page-test .option-card span { min-height: 0; padding: 0; font-size: .98rem; line-height: 1.28; }
        .page-test .quiz-step-actions .button { min-width: 6.7rem; min-height: 2.5rem; font-size: .8rem; }
        .result-hero { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
        .score-orb { width: 100%; justify-content: center; }
        .result-overview__grid { grid-template-columns: 1fr; }
        .unlock-card { grid-template-columns: 1fr; }
        .site-footer { padding: 1.2rem .5rem 4rem; font-size: .7rem; }

        .catalog-pagination { grid-template-columns: 1fr 1fr; }
        .catalog-pagination span { grid-column: 1 / -1; grid-row: 1; }
        .checkout-shell { grid-template-columns: 1fr; }
        .checkout-payment { border-top: 2px solid var(--line); border-left: 0; }
        .order-list { grid-template-columns: 1fr; }
        .deep-report__meta { align-items: flex-start; flex-direction: column; }
        .share-panel { align-items: stretch; flex-direction: column; }
    }
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
    }
}

@layer pages {
    .page-test .page-shell { width: min(100% - .75rem, 48rem); margin: 0 auto; padding: calc(3.15rem + env(safe-area-inset-top)) 0 .5rem; }
    .page-test .quiz-form { margin: 0; }
    .page-test .quiz-progress { position: fixed; top: 0; left: 50%; z-index: 20; width: min(100%, 48rem); margin: 0; padding: calc(.35rem + env(safe-area-inset-top)) .7rem .4rem; gap: .28rem; transform: translateX(-50%); border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0 0 .75rem .75rem; background: rgb(255 250 240 / 96%); box-shadow: 0 .2rem .6rem rgb(31 45 34 / 18%); backdrop-filter: blur(.5rem); }
    .page-test .quiz-progress > div { font-size: .76rem; line-height: 1.15; }
    .page-test .quiz-progress__track { height: .3rem; }
    .page-test .question-group, .page-test .form-sheet { min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .page-test .question-card, .page-test .form-field { padding: .65rem; border: 1.5px solid var(--line); border-radius: .8rem; background: var(--surface); box-shadow: none; }
    .page-test .question-card__title { margin: 0 .1rem .45rem; font-size: .95rem; font-weight: 850; line-height: 1.35; }
    .page-test .form-field legend { gap: .5rem; font-size: .95rem; line-height: 1.35; }
    .page-test .form-field legend > span { flex-basis: 1.55rem; width: 1.55rem; height: 1.55rem; font-size: .72rem; }
    .page-test .question-card__visual { margin: .45rem 0; display: flex; align-items: stretch; gap: .45rem; }
    .page-test .question-card__number { flex: 1 1 auto; min-width: 2.7rem; min-height: 2.7rem; display: flex; align-items: center; justify-content: center; border: 1.5px solid #71806c; border-radius: .55rem; background: #f5f8ef; color: var(--green); font-size: .9rem; font-weight: 850; }
    .page-test .question-card__visual.has-image .question-card__number { min-height: clamp(7.5rem, 22vh, 12rem); }
    .page-test .question-card__image { flex: 0 1 auto; align-self: center; width: auto; max-width: calc(100% - 3.15rem); height: clamp(7.5rem, 22vh, 12rem); max-height: none; margin: 0; aspect-ratio: auto; object-fit: contain; object-position: center; border: 0; border-radius: .55rem; background: transparent; box-shadow: none; }
    .page-test .option-grid, .page-test .option-grid--form { grid-template-columns: 1fr; gap: .3rem; margin: .45rem 0 0; }
    .page-test .option-card { min-height: 2.65rem; padding: .38rem .55rem; display: flex; align-items: center; gap: .55rem; border: 1px solid #879184; border-radius: .55rem; background: #fffdf7; box-shadow: none; }
    .page-test .option-card input { position: static; flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin: 0; opacity: 1; pointer-events: auto; accent-color: var(--coral); }
    .page-test .option-card span { min-height: 0; height: auto; padding: 0; display: block; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); text-align: left; font-size: .84rem; font-weight: 650; line-height: 1.35; transform: none; }
    .page-test .option-card:has(input:checked) { border-color: var(--coral); background: #fff0e9; }
    .page-test .option-card input:checked + span { color: var(--ink); border: 0; background: transparent; box-shadow: none; transform: none; }
    .page-test .option-card input:focus-visible + span { outline: 0; }
    .page-test .submit-dock { margin: .45rem 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .page-test .submit-dock .form-error { margin: 0 0 .35rem; font-size: .75rem; }
    .page-test .quiz-step-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
    .page-test .quiz-step-actions .button { width: auto; min-width: 7.5rem; min-height: 2.7rem; padding: .45rem .8rem; }
    .page-test [data-next-question], .page-test [data-submit-button] { margin-left: auto; }
    .initial-result { display: flow-root; }
    .initial-result__signature { margin-top: 1rem; padding: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 2px solid var(--line); border-radius: var(--radius-md); background: #fffaf0; color: var(--ink-soft); box-shadow: var(--shadow-soft); }
    .initial-result__signature strong { color: var(--green); font-family: Georgia, "Songti SC", serif; font-size: 1.1rem; letter-spacing: .08em; }
    .initial-result__signature span { font-size: .78rem; }
    .payment-note { margin-top: .65rem; color: #9a4a3c; font-size: .75rem; text-align: center; }
    .catalog-pagination { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; }
    .catalog-pagination a:first-child { justify-self: start; }
    .catalog-pagination a:last-child { justify-self: end; }
    .catalog-pagination span { color: var(--ink-soft); font-size: .8rem; text-align: center; }
    .checkout-shell { min-height: 34rem; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr); border: 2px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(125deg, #fff2c9, #ffe2d8); box-shadow: var(--shadow); }
    .checkout-copy, .checkout-payment { padding: clamp(1.4rem, 5vw, 3.5rem); }
    .checkout-copy h1 { margin-top: .8rem; font-size: clamp(2.3rem, 7vw, 4.4rem); }
    .checkout-copy > p { max-width: 42rem; margin-top: 1rem; color: var(--ink-soft); }
    .checkout-copy ul { margin-top: 1.4rem; padding-left: 1.2rem; }
    .checkout-copy li + li { margin-top: .55rem; }
    .checkout-payment { display: flex; flex-direction: column; justify-content: center; border-left: 2px solid var(--line); background: rgb(255 255 255 / 78%); }
    .checkout-payment > span { color: var(--ink-soft); }
    .checkout-payment > strong { margin: .2rem 0 1.2rem; color: var(--coral); font-family: Georgia, serif; font-size: clamp(3.5rem, 9vw, 5.5rem); line-height: 1; }
    .checkout-price-detail { margin: -.55rem 0 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; color: var(--ink-soft); font-size: .78rem; }
    .checkout-price-detail b { color: #9a3f31; }
    .coupon-form { margin: .25rem 0 1rem; padding: .9rem; }
    .coupon-form__controls .button { min-width: 5rem; padding-inline: .9rem; }
    .coupon-form__status { margin-top: .55rem; color: var(--green); font-size: .75rem; font-weight: 850; }
    .checkout-coupon-locked { margin: .25rem 0 1rem; padding: .85rem 1rem; display: grid; gap: .25rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff8dc; }
    .checkout-coupon-locked span, .checkout-coupon-locked small { color: var(--ink-soft); font-size: .75rem; }
    .checkout-coupon-locked strong { color: var(--green); overflow-wrap: anywhere; }
    .checkout-payment .button + .button { margin-top: .7rem; }
    .status-panel { padding: .8rem 1rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: 0 .2rem 0 rgb(55 75 57 / 14%); }
    .status-panel--error { color: #8f3528; border-color: #ee9b89; background: #ffe6df; }
    .page-title { padding: 1rem .25rem 1.5rem; }
    .page-title h1 { margin-top: .65rem; font-size: clamp(2.3rem, 7vw, 4.2rem); }
    .page-title p { margin-top: .65rem; color: var(--ink-soft); }
    .report-history-group { display: grid; gap: .75rem; }
    .report-history-group + .report-history-group { margin-top: 1.5rem; }
    .report-history-group__head { padding: 0 .15rem; }
    .report-history-group__head h2 { font-size: 1.15rem; }
    .report-history-group__head p { margin-top: .25rem; color: var(--ink-soft); font-size: .78rem; }
    .report-list { display: grid; gap: 1rem; }
    .order-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .order-card { min-width: 0; padding: 1.25rem; border: 2px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow); }
    .order-card__head, .order-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .order-card__head { color: var(--ink-soft); font-size: .75rem; }
    .order-card__head span { color: var(--green); font-weight: 900; }
    .order-card h2 { margin-top: .7rem; font-size: 1.35rem; }
    .order-card__number { margin-top: .45rem; color: var(--ink-soft); font-size: .75rem; overflow-wrap: anywhere; }
    .order-card__foot { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--line); }
    .order-card__foot strong { color: var(--coral); font-family: Georgia, serif; font-size: 1.4rem; }
    .order-card__foot a { color: var(--green); font-weight: 800; }
    .report-list-card { padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 2px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow); text-align: left; }
    .report-list-card h2 { margin-top: .55rem; font-size: 1.45rem; }
    .report-list-card p { margin-top: .35rem; color: var(--ink-soft); font-size: .82rem; }
    .report-list-card__arrow { color: var(--coral); font-size: 2rem; }
    .report-state { padding: .25rem .6rem; border: 1.5px solid currentColor; border-radius: 999px; background: var(--sun); color: #7b5715; font-size: .7rem; font-weight: 900; }
    .report-state--ready { color: var(--green); background: var(--mint); }
    .report-state--failed { color: #9d3326; background: #ffe0d8; }
    .waiting-card { min-height: 32rem; padding: clamp(1.5rem, 8vw, 4rem); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; border: 2px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, #fff6d4, #e6f6f2); box-shadow: var(--shadow); text-align: center; }
    .waiting-card h1 { font-size: clamp(2.4rem, 8vw, 4.5rem); }
    .waiting-card > p { max-width: 38rem; color: var(--ink-soft); }
    .thinking-orbit { position: relative; width: 6rem; height: 6rem; animation: orbit 5s linear infinite; }
    .thinking-orbit::before { content: ""; position: absolute; inset: 1rem; border: .65rem solid var(--lemon); border-radius: 50%; }
    .thinking-orbit i { position: absolute; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--coral); }
    .thinking-orbit i:nth-child(1) { top: .2rem; left: 2.45rem; }
    .thinking-orbit i:nth-child(2) { right: .25rem; bottom: 1rem; background: #4ca0b5; }
    .thinking-orbit i:nth-child(3) { left: .25rem; bottom: 1rem; background: var(--green); }
    .waiting-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
    .waiting-steps span { padding: .4rem .7rem; border: 1.5px solid var(--line); border-radius: 999px; background: white; color: var(--ink-soft); font-size: .78rem; }
    .waiting-steps .is-active { color: var(--green); background: var(--mint); font-weight: 800; }
    @keyframes orbit { to { transform: rotate(360deg); } }

    .deep-report { display: grid; gap: .75rem; }
    .deep-report__hero, .report-section { padding: clamp(1rem, 3vw, 1.6rem); border-radius: var(--radius-md); background: white; }
    .deep-report__hero { background: linear-gradient(125deg, #fff4c9, white 55%, #dff5f1); }
    .deep-report__hero h1 { margin-top: .8rem; font-size: clamp(1.9rem, 6vw, 3.8rem); line-height: 1.22; }
    .deep-report__hero > p { max-width: 60rem; padding-top: 1.25rem; color: #435148; font-size: 1.05rem; }
    .deep-report__meta { margin-top: 1.5rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .75rem; }
    .report-section > h2 { margin: 1rem 0; font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.25; }
    .report-section > .section-heading { margin-bottom: 1rem; }
    .report-profile { background: var(--sun); }
    .report-profile p { line-height: 1.75; }
    .report-overview__grid { display: grid; gap: 1rem; }
    .report-dimensions, .report-patterns, .report-actions { display: grid; gap: .6rem; }
    .report-dimensions article, .report-patterns article, .report-actions article { min-width: 0; padding: .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fffdf8; }
    .report-dimensions header { margin-bottom: .8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
    .report-dimensions h3, .report-patterns h3, .report-actions h3 { font-size: 1.08rem; line-height: 1.4; }
    .report-patterns h3, .report-actions h3 { margin-bottom: .8rem; }
    .report-dimensions strong { color: var(--green); font-family: Georgia, serif; font-size: 1.8rem; }
    .report-dimensions p, .report-patterns p, .report-actions p { color: #4f5c54; line-height: 1.75; }
    .report-actions ol { margin-top: .85rem; padding-left: 1.2rem; line-height: 1.65; }
    .report-actions li + li { margin-top: .35rem; }
    .day-grid { display: grid; gap: .5rem; }
    .day-grid article { min-width: 0; padding: .8rem; border: 1px solid #8c82ae; border-radius: var(--radius-sm); background: var(--lavender); }
    .day-grid strong { display: block; margin-bottom: .65rem; color: #6550a0; font-size: .72rem; }
    .day-grid p { font-size: .84rem; line-height: 1.6; }
    .report-boundary { background: #fff5e0; }
    .report-boundary > h2 { margin: 0 0 1rem; }
    .report-boundary ul { padding-left: 1.2rem; line-height: 1.7; }
    .report-closing { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-family: Georgia, "Songti SC", serif; font-size: 1.25rem; }
    .share-panel { margin-top: 1.5rem; padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 2px solid var(--line); border-radius: var(--radius-md); background: var(--lavender); box-shadow: var(--shadow); }
    .share-panel h2 { margin-top: .55rem; font-size: 1.45rem; }
    .share-panel p { color: var(--ink-soft); font-size: .82rem; }
    .share-preview { width: min(100% - 1rem, 32rem); max-height: 92vh; padding: 1rem; border: 0; border-radius: var(--radius-md); background: white; box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 30%); text-align: center; }
    .share-preview::backdrop { background: rgb(20 25 20 / 68%); }
    .share-preview > button { float: right; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: #eee; font-size: 1.5rem; }
    .share-preview h2 { margin: .5rem 2rem 1rem; font-size: 1.25rem; }
    .share-preview img { width: 100%; height: auto; border-radius: .75rem; }
}
