/* V1.2 Soft Editorial tokens. Gate A approved; visual rollout across existing screens. */
:root {
 --se-canvas:#f3f0e7;
 --se-surface:#f8f5ee;
 --se-ink:#26322c;
 --se-secondary:#5d6259;
 --se-line:#d4d0c4;
 --se-control:#7b8678;
 --se-sage-soft:#a8bca4;
 --se-primary:#54705a;
 --se-primary-pressed:#405b47;
 --se-on-primary:#ffffff;
 --se-accent:#355341;
 --se-gold:#d8c8a8;
 --se-growth:#cbd7c4;
 --se-rose:#d9c2b8;
 --se-amber:#dcd3bc;
 --se-lavender:#c9c5d9;
 --se-neutral:#e8e2d5;
 --se-card-secondary:#4b5148;
 --se-error:#93463d;
 --se-disabled:#dfe2d9;
 --se-disabled-text:#555e52;
 --se-lift:3px 4px 8px rgba(87,74,53,.12),-2px -2px 5px rgba(255,255,255,.65);
 --se-inset:inset 1px 2px 3px rgba(87,74,53,.09);
}
#cosmos-five-screen-review .page {
 --paper:var(--se-canvas);--wash:var(--se-surface);--ink:var(--se-ink);
 --soft:var(--se-secondary);--accent:var(--se-accent);--line:var(--se-line);
 --card:var(--se-surface);--on:var(--se-on-primary);
 color:var(--se-ink);background:var(--se-canvas);border-color:#e2ddd0;border-radius:18px;
}
#cosmos-five-screen-review .page h2,
#cosmos-five-screen-review .page h3,
#cosmos-five-screen-review .page p,
#cosmos-five-screen-review .page strong,
#cosmos-five-screen-review .page b,
#cosmos-five-screen-review .page .persona-copy [data-astrologer],
#cosmos-five-screen-review .page .persona-copy [data-greeting] {color:var(--se-ink);}
#cosmos-five-screen-review .page small,
#cosmos-five-screen-review .page .mark,
#cosmos-five-screen-review .page .category-label {color:var(--se-secondary);}
#cosmos-five-screen-review .page .textbtn,
#cosmos-five-screen-review .page svg {color:var(--se-accent);}
#cosmos-five-screen-review .page .block {border-color:var(--se-line);}
#cosmos-five-screen-review .page .topic {
 background:var(--se-neutral);border-radius:12px;
 box-shadow:0 0 0 1px rgba(255,255,255,.6),var(--se-lift);
}
#cosmos-five-screen-review .page .topic[data-topic-tone=opportunity] {background:var(--se-gold);}
#cosmos-five-screen-review .page .topic[data-topic-tone=growth] {background:var(--se-growth);}
#cosmos-five-screen-review .page .topic[data-topic-tone=relationship] {background:var(--se-rose);}
#cosmos-five-screen-review .page .topic[data-topic-tone=attention] {background:var(--se-amber);}
#cosmos-five-screen-review .page .topic[data-topic-tone=transition] {background:var(--se-lavender);}
#cosmos-five-screen-review .page .topic .mark,
#cosmos-five-screen-review .page .topic small {color:var(--se-card-secondary);}
#cosmos-five-screen-review .page .icon-only {
 background:var(--se-surface);border-radius:12px;box-shadow:var(--se-lift);
}
#cosmos-five-screen-review .page .icon-only:active {box-shadow:var(--se-inset);}
#cosmos-five-screen-review .page .monogram {background:var(--se-surface);box-shadow:1px 2px 4px rgba(87,74,53,.1);}
#cosmos-five-screen-review .page button.textbtn[data-open=reading] {
 padding-left:12px;padding-right:12px;background:var(--se-primary);border-radius:10px;
 color:var(--se-on-primary);box-shadow:var(--se-lift);
}
#cosmos-five-screen-review .page button.textbtn[data-open=reading] span {color:inherit;}
#cosmos-five-screen-review .page button.textbtn[data-open=reading]:hover {background:#49674f;}
#cosmos-five-screen-review .page button.textbtn[data-open=reading]:active {background:var(--se-primary-pressed);box-shadow:var(--se-inset);}
#cosmos-five-screen-review .page button.textbtn[data-open=reading]:disabled {background:var(--se-disabled);color:var(--se-disabled-text);box-shadow:none;}
#cosmos-five-screen-review .page nav button {color:var(--se-secondary);}
#cosmos-five-screen-review .page nav button[aria-current] {
 background:#e0e8da;color:var(--se-accent);border-radius:10px;box-shadow:none;
}
#cosmos-five-screen-review .page nav button[aria-current]::after {
 content:'';display:block;width:18px;height:2px;background:var(--se-accent);position:absolute;bottom:4px;left:calc(50% - 9px);
}
#cosmos-five-screen-review .page nav button {position:relative;}
#cosmos-five-screen-review .page button:focus-visible {outline:2px solid var(--se-accent);outline-offset:3px;}
body.neu-birth {background:#eae6dc;color:var(--se-ink);}
.neu-birth main {background:var(--se-canvas);color:var(--se-ink);border-radius:18px;}
.neu-birth header,.neu-birth p {color:var(--se-secondary);}
.neu-birth h1,.neu-birth label {color:var(--se-ink);}
.neu-birth .progress {background:#deded2;border-radius:3px;box-shadow:none;}
.neu-birth .progress span {background:var(--se-primary);border-radius:3px;}
.neu-birth input,.neu-birth select {
 background:var(--se-surface);color:var(--se-ink);border-color:var(--se-control);
 border-radius:10px;box-shadow:var(--se-inset);
}
.neu-birth input::placeholder {color:var(--se-secondary);}
.neu-birth input:focus,.neu-birth select:focus {
 outline:2px solid var(--se-accent);outline-offset:2px;box-shadow:none;
}
.neu-birth .yearline select {background:var(--se-surface);border-color:var(--se-control);}
.neu-birth .next {
 background:var(--se-primary);color:var(--se-on-primary);border-radius:10px;box-shadow:var(--se-lift);
}
.neu-birth .next:hover {background:#49674f;}
.neu-birth .next:active {background:var(--se-primary-pressed);box-shadow:var(--se-inset);}
.neu-birth .next:focus-visible {outline:2px solid var(--se-accent);outline-offset:3px;}
.neu-birth .next:disabled {background:var(--se-disabled);color:var(--se-disabled-text);box-shadow:none;}
.neu-birth .divider,.neu-birth .approach {border-color:var(--se-line);}
.neu-birth .unknown {background:var(--se-surface);color:var(--se-secondary);box-shadow:none;}
.neu-birth input[type=checkbox] {accent-color:var(--se-primary);box-shadow:none;}
.neu-birth .status {color:var(--se-error);}
.neu-birth input[aria-invalid=true],.neu-birth select[aria-invalid=true] {border-color:var(--se-error);box-shadow:none;}

/* Extend approved visual language to existing screens, preserving geometry. */
#cosmos-five-screen-review .page .primary {background:var(--se-primary);border-color:var(--se-primary);color:var(--se-on-primary);border-radius:10px;box-shadow:var(--se-lift);}
#cosmos-five-screen-review .page .primary span {color:inherit;}
#cosmos-five-screen-review .page .primary:hover {background:#49674f;}
#cosmos-five-screen-review .page .primary:active {background:var(--se-primary-pressed);box-shadow:var(--se-inset);}
#cosmos-five-screen-review .page .primary:disabled {background:var(--se-disabled);border-color:var(--se-disabled);color:var(--se-disabled-text);box-shadow:none;}
#cosmos-five-screen-review .page .sub-card,#cosmos-five-screen-review .page .dna-grid div,#cosmos-five-screen-review .page .segment {background:var(--se-surface);}
#cosmos-five-screen-review .page .segment button[aria-pressed=true] {background:#e0e8da;color:var(--se-accent);}
#cosmos-five-screen-review .page .editorial-person .portrait {background:var(--se-surface);color:var(--se-accent);}
#cosmos-five-screen-review .page .method {color:var(--se-secondary);}
#cosmos-five-screen-review .page .calendar-grid button[data-kind=support],#cosmos-five-screen-review .page .legend span[data-kind=support]::before {background:var(--se-growth);}
#cosmos-five-screen-review .page .calendar-grid button[data-kind=shift],#cosmos-five-screen-review .page .legend span[data-kind=shift]::before {background:var(--se-amber);}
#cosmos-five-screen-review .page .calendar-grid button[data-kind=care],#cosmos-five-screen-review .page .legend span[data-kind=care]::before {background:var(--se-rose);}
#cosmos-five-screen-review .page .calendar-grid button[aria-pressed=true] {background:var(--se-primary);color:var(--se-on-primary);box-shadow:inset 0 0 0 2px var(--se-accent);}
#cosmos-five-screen-review .page .calendar-grid button[data-kind=support][aria-pressed=true] {background:var(--se-growth);color:var(--se-ink);box-shadow:inset 0 0 0 2px var(--se-accent);}
#cosmos-five-screen-review .page .chart-placeholder {background:var(--se-surface);border-color:var(--se-line);color:var(--se-secondary);}
#cosmos-five-screen-review .page select,#cosmos-five-screen-review .page textarea {background:var(--se-surface);color:var(--se-ink);border-color:var(--se-control);}
#cosmos-five-screen-review .page select:focus,#cosmos-five-screen-review .page textarea:focus {outline:2px solid var(--se-accent);outline-offset:2px;}
body {color-scheme:only light;}
body:not(.neu-birth) main {background:var(--se-canvas);color:var(--se-ink);border-radius:18px;}
body:not(.neu-birth) main .next {background:var(--se-primary);color:var(--se-on-primary);border-radius:10px;box-shadow:var(--se-lift);}
body:not(.neu-birth) main .next:active {background:var(--se-primary-pressed);box-shadow:var(--se-inset);}
body:not(.neu-birth) main .next:disabled {background:var(--se-disabled);color:var(--se-disabled-text);box-shadow:none;}
body:not(.neu-birth) main .next:focus-visible,body:not(.neu-birth) main input:focus-visible {outline:2px solid var(--se-accent);outline-offset:3px;}
body:not(.neu-birth) main .star,body:not(.neu-birth) main .thai-data {background:var(--se-surface);}
body:not(.neu-birth) main .notice,body:not(.neu-birth) main .consent {background:var(--se-neutral);}
body:not(.neu-birth) main .option.selected {background:#e0e8da;border-color:var(--se-accent);}
body:not(.neu-birth) main .person .portrait {background:var(--se-surface);}
body:not(.neu-birth) main .person.selected .portrait {background:var(--se-surface);outline-color:var(--se-accent);}
body:not(.neu-birth) main .avatar {background:var(--se-surface);}
.cosmos-consent {background:var(--se-canvas);color:var(--se-ink);border-color:var(--se-control);}
.cosmos-consent input {accent-color:var(--se-primary);}
.cosmos-consent button {background:var(--se-surface);color:var(--se-accent);border-color:var(--se-control);}
.cosmos-consent button[data-consent-confirm] {background:var(--se-primary);color:var(--se-on-primary);}
.cosmos-consent button:disabled {opacity:1;background:var(--se-disabled);color:var(--se-disabled-text);}
