.skip{position:absolute;left:12px;top:-100px}.skip:focus{top:12px;background:var(--surface);z-index:2;padding:12px}.page-nav a{display:block;padding:10px 12px;margin:3px 0;text-decoration:none;border:1px solid transparent;border-radius:8px;font-size:calc((16px) * var(--zj-text-scale, 1))}.page-nav a[aria-current=page]{background:var(--fill);border-color:var(--line)}.route-row{padding:20px 0;border-bottom:1px solid var(--line)}.route-row h2{margin:0 0 8px}.route-row code{font-size:calc((12px) * var(--zj-text-scale, 1));overflow-wrap:anywhere}.route-row button{width:100%;margin-top:14px}.route-row button:disabled{opacity:1;color:var(--muted);background:var(--fill)}.connection-mobile{font-size:calc((14px) * var(--zj-text-scale, 1));overflow-wrap:anywhere}.source-map{font-size:calc((14px) * var(--zj-text-scale, 1))}.emotion-reference{display:block;width:100%;height:auto;border-radius:16px}.phone{min-height:760px}.footer{position:static}.screen{overflow-wrap:anywhere}.context p{overflow-wrap:anywhere}@media(max-width:600px){#page-links{flex-wrap:wrap;overflow:visible}.page-nav a{font-size:calc((14px) * var(--zj-text-scale, 1));min-height:44px;padding:9px 10px}.phone{min-height:calc(100dvh - 200px)}}
.primary-navigation{position:sticky;bottom:0;display:flex;gap:8px;justify-content:space-around;background:var(--surface);border-top:1px solid var(--line);padding:12px 16px max(12px,env(safe-area-inset-bottom));z-index:2}.primary-navigation a{min-height:44px;display:flex;align-items:center;padding:8px;text-decoration:none}.primary-navigation a[aria-current=page]{font-weight:700;text-decoration:underline}
/* Viewport shell: the content scrolls in its own row; navigation never overlays it. */
body{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.demo-bar{flex:none;padding:8px 16px;gap:12px;padding-top:max(8px,env(safe-area-inset-top))}
.demo-bar[hidden]{display:none}
.demo-bar button{min-height:44px;font-size:calc((14px) * var(--zj-text-scale, 1))}.demo-bar span{font-size:calc((14px) * var(--zj-text-scale, 1))}
.workspace{flex:1;min-height:0;width:100%;max-width:488px;margin:0 auto;padding:12px 24px;display:grid;grid-template-columns:minmax(0,1fr);gap:0}
#app{min-width:0;min-height:0;height:100%}.phone{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.phone header{padding:14px 24px}.screen{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-padding-block:20px;padding-bottom:20px;-webkit-overflow-scrolling:touch}
.primary-navigation{position:static;min-width:0;z-index:auto}.primary-navigation a{justify-content:center;flex:1;font-size:calc((16px) * var(--zj-text-scale, 1))}
.screen .footer{margin-top:28px;padding:0}.screen input,.screen textarea,.screen select{max-width:100%;font-size:calc((16px) * var(--zj-text-scale, 1))}
.intake-page .field{display:grid;gap:8px;margin-block:20px}.intake-page select,.intake-page input:not([type=checkbox]),.intake-page textarea{box-sizing:border-box;width:100%;min-width:0;min-height:44px;font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px}.intake-page textarea{min-height:144px;resize:vertical}.intake-page fieldset{margin:24px 0;padding:0;border:0;min-width:0}.intake-page legend{font-weight:600;margin-bottom:8px}.intake-choice{display:flex;align-items:flex-start;gap:12px;padding-block:12px;min-height:44px;box-sizing:border-box}.intake-choice input{flex:0 0 auto;width:22px;height:22px;margin:2px 0;accent-color:var(--ink)}.intake-choice span{min-width:0;overflow-wrap:anywhere}.intake-page [data-error]:empty{display:none}.intake-page [data-error]{color:var(--ink);font-weight:600}.intake-page :focus-visible{outline:2px solid var(--ink);outline-offset:3px}.intake-page [aria-label="送出確認"]{margin-top:28px}.intake-page .primary{width:100%;min-height:48px}
.public-link{display:block;width:100%;text-align:left;margin-block:16px}.result-original-item{white-space:pre-wrap}
@media(max-width:600px){.workspace{max-width:none;padding:0}.phone{min-height:0;border-radius:0;border:0}.phone header{padding-inline:20px}.screen{padding-inline:20px}.primary-navigation{padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right))}}

/* System text size; Native owns the trusted scale. Default typography remains unchanged. */
html[data-zj-large-text="true"] { overflow-wrap:anywhere; }
html[data-zj-large-text="true"] button,html[data-zj-large-text="true"] a { white-space:normal; overflow-wrap:anywhere; }

/* Enlarged text uses document scrolling so growing chrome cannot consume the content row. */
html[data-zj-large-text="true"] body { height:auto; min-height:100dvh; overflow:auto; }
html[data-zj-large-text="true"] .demo-bar { flex-wrap:wrap; }
html[data-zj-large-text="true"] .demo-bar span { flex:1 1 100%; min-width:0; }
html[data-zj-large-text="true"] .workspace { display:block; flex:none; }
html[data-zj-large-text="true"] #app,html[data-zj-large-text="true"] .phone { height:auto; }
html[data-zj-large-text="true"] .phone { display:flex; overflow:visible; }
html[data-zj-large-text="true"] .phone header { flex-wrap:wrap; gap:12px; }
html[data-zj-large-text="true"] .screen { overflow:visible; }
html[data-zj-large-text="true"] .primary-navigation { flex-wrap:nowrap; }
html[data-zj-large-text="true"] .primary-navigation a { flex:1 1 0; min-width:0; text-align:center; }
html[data-zj-large-text="true"] .actions,html[data-zj-large-text="true"] .segmented { flex-wrap:wrap; }
html[data-zj-large-text="true"] .actions button { flex:1 1 100%; }
/* Editable controls keep a readable floor under smaller system text sizes.
   Larger Dynamic Type continues scaling. Append after the paired shell CSS. */
.screen input,
.screen textarea,
.screen select {
  font-size: max(16px, calc(16px * var(--zj-text-scale, 1)));
}
/* Decision controls occupy the shell's bottom grid row, separate from scrolling content. */
.phone > .decision-action-slot { min-width:0; min-height:0; background:var(--surface); }
.phone > .decision-action-slot[hidden] { display:none; }
.phone > .decision-action-slot .footer { margin:0; padding:12px 20px max(12px,env(safe-area-inset-bottom)); }
/* Intake progress uses the existing B1 line and text tokens. */
.flow-progress { display:block; width:100%; height:3px; border:0; background:var(--b1-line); margin:0 0 18px; }
.flow-progress::-webkit-progress-bar { background:var(--b1-line); }
.flow-progress::-webkit-progress-value { background:var(--b1-text); }
.flow-progress::-moz-progress-bar { background:var(--b1-text); }

.screen.intake-page input:not([type=checkbox]),
.screen.intake-page textarea,
.screen.intake-page select,
.screen .intake-page input:not([type=checkbox]),
.screen .intake-page textarea,
.screen .intake-page select {
  font-size: max(16px, calc(17px * var(--zj-text-scale, 1)));
}

/* First four pages (V2 layout): no demo bar while the connection is fine (shell.js toggles body.zj-front). */
body.zj-front .demo-bar,body.zj-front .connection-mobile{display:none}

/* 2026-10-09: neutral white/gray per the current product request.
   The older warm B1 palette is historical; these background values are a
   neutral fallback, pending an accessible current authority background token. */
:root {
  --page: #f5f5f5;
  --surface: #ffffff;
  --fill: #eeeeee;
  scrollbar-color: #a5a7a6 var(--page);
}
#app { background: var(--page); }
html body .v4-decisions {
  --page: #f5f5f5;
  --surface: #ffffff;
  --fill: #eeeeee;
}
html body .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-theme="light"] {
  --b1-page: #f5f5f5;
  --b1-surface: #ffffff;
  --ink-950: #f5f5f5;
  --ink-900: #eeeeee;
  --ink-850: #ffffff;
  --ink-800: #fafafa;
  --ink-700: #e2e2e2;
}
html body .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-theme="light"] .nav-actions {
  background: var(--b1-page);
}
.field textarea:read-only,
html body .v4-decisions .field textarea:read-only { background: var(--fill); }

/* A saved selection is disabled only to prevent duplicate writes.
   Keep its visual selection intact, including while other choices are busy. */
[aria-label="AI 使用與同意"] [data-choice] {
  background: var(--surface);
  color: var(--ink);
}
[aria-label="AI 使用與同意"] [data-choice]:not([aria-pressed="true"]):hover {
  background: var(--fill);
}
[aria-label="AI 使用與同意"] [data-choice][aria-pressed="true"],
[aria-label="AI 使用與同意"] [data-choice][aria-pressed="true"]:disabled {
  background: #252628;
  color: #ffffff;
  border-color: #252628;
  opacity: 1;
  cursor: default;
}
[aria-label="AI 使用與同意"] [data-choice][aria-pressed="true"]::after {
  content: "";
  flex: 0 0 auto;
  align-self: center;
  width: 8px;
  height: 14px;
  margin: 0 4px 4px 16px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
[aria-label="AI 使用與同意"] [data-choice]:focus-visible {
  outline: 3px solid #252628;
  outline-offset: 4px;
}

.brand-home { display:inline-flex; align-items:center; min-width:44px; min-height:44px; }
.brand-home img { display:block; width:44px; height:44px; object-fit:contain; }
.review-workspace .entry { padding-block:20px; border-bottom:1px solid var(--line); }
.review-workspace .entry h3 { margin:8px 0 12px; overflow-wrap:anywhere; }
.review-workspace .entry button { width:100%; margin-top:8px; min-height:44px; }
.review-filters { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 24px; }
.review-filters button { flex:1; min-height:44px; }
.review-filters button[aria-pressed="true"] { background:var(--ink); color:var(--surface); }
.review-statistics { margin-top:32px; padding-top:24px; border-top:1px solid var(--line); }
.review-original-question { margin-bottom:24px; }
.review-original-question .quote { white-space:pre-wrap; }
.review-workspace [hidden] { display:none; }
.decision-home .home-hero { position:relative; isolation:isolate; min-height:320px; background:#121211; color:#fff; overflow:hidden; }
.decision-home .home-brand-image { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:60% center; margin:0; border-radius:0; }
.decision-home .home-hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(8,8,8,.85),rgba(8,8,8,.52) 55%,rgba(8,8,8,.08)); }
.decision-home .home-hero-copy { position:relative; padding:32px 24px 24px; }
.decision-home .home-hero h1 { margin:0; max-width:9em; font-size:calc(32px * var(--zj-text-scale,1)); line-height:1.35; letter-spacing:.02em; color:#fff; }
.decision-home .home-hero-copy > p { margin:16px 0 24px; color:#fff; font-size:calc(16px * var(--zj-text-scale,1)); line-height:1.65; }
.decision-home button.home-start { display:flex; align-items:center; justify-content:space-between; gap:24px; min-width:192px; min-height:48px; padding:12px 16px; border:0; border-radius:6px; background:#fff; color:#252628; font-size:calc(16px * var(--zj-text-scale,1)); font-weight:600; }
.decision-home button.home-start:hover { background:#e9e9e7; }
.decision-home button.home-start:disabled { opacity:1; background:#d1d1cf; color:#565754; }
.decision-home button.home-start:focus-visible { outline:3px solid #fff; outline-offset:4px; }
.decision-home .home-hero-copy > p.home-start-note { margin:10px 0 0; font-size:calc(13px * var(--zj-text-scale,1)); color:#f3f3f1; }
.decision-home .home-records { margin-top:28px; }
.decision-home .home-section-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:8px; border-bottom:1px solid var(--line); }
.decision-home .home-section-head h2 { display:flex; align-items:baseline; gap:10px; margin:0; font-size:calc(20px * var(--zj-text-scale,1)); }
.decision-home .home-count { font-size:calc(13px * var(--zj-text-scale,1)); font-weight:400; color:var(--muted); white-space:nowrap; }
.decision-home .home-section-head button { flex:none; padding:8px 0 8px 12px; min-height:44px; border:0; border-radius:0; font-size:calc(14px * var(--zj-text-scale,1)); color:var(--soft); }
.decision-home .home-record { border-bottom:1px solid var(--line); }
.decision-home .home-record button { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:76px; text-align:left; padding:14px 0; border:0; border-radius:0; background:transparent; }
.decision-home .home-record button:hover { background:var(--fill); }
.decision-home .home-record-copy { display:grid; gap:4px; min-width:0; }
.decision-home .home-record-date { font-size:calc(12px * var(--zj-text-scale,1)); color:var(--muted); line-height:1.5; }
.decision-home .home-record-title { font-size:calc(16px * var(--zj-text-scale,1)); font-weight:500; line-height:1.5; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
.decision-home .home-record svg { flex:none; color:var(--soft); }
.decision-home .home-quick-review { display:flex; flex-wrap:wrap; gap:8px; padding:0 0 14px; }
.decision-home .home-quick-review button { flex:1 1 96px; width:auto; min-height:46px; padding:10px 8px; justify-content:center; text-align:center; gap:0; font-size:calc(15px * var(--zj-text-scale,1)); border:1px solid var(--line); background:var(--surface); }
.decision-home .home-quick-review button[aria-pressed="true"] { background:var(--ink); color:var(--surface); border-color:var(--ink); }
.decision-home .home-quick-review button:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.decision-home .home-quick-review button:disabled { cursor:not-allowed; }
.decision-home .home-state { padding:16px 0; font-size:calc(15px * var(--zj-text-scale,1)); color:var(--soft); }
[data-home-load] { margin-top:24px; padding:10px 0; border:0; border-radius:0; font-size:calc(13px * var(--zj-text-scale,1)); color:var(--muted); }
html[data-zj-large-text="true"] .decision-home .home-record-title { display:block; overflow:visible; }
@media(min-width:601px) { .decision-home .home-hero { min-height:344px; }.decision-home .home-hero-copy { padding:36px 28px 28px; }.decision-home .home-hero h1 { font-size:calc(36px * var(--zj-text-scale,1)); } }
/* Nature sections stay separate; source transport and missing-data states remain R-owned. */
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"] .v2-daily-cues__cards,
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"] .v2-daily-cues__grid {
  gap:24px; border:0; border-radius:0; background:transparent; box-shadow:none; overflow:visible;
}
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"] .v2-daily-cue-card--earth,
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"] .v2-daily-cue-card--moon {
  padding:20px 0 24px; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent;
}
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"] .v2-daily-cue-card h3 {
  margin:0; font-family:var(--serif); font-size:calc(21px * var(--zj-text-scale,1)); line-height:1.5; letter-spacing:0; font-weight:600;
}
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"] .v2-daily-cue-card__eyebrow { margin:0 0 6px; font-size:calc(12px * var(--zj-text-scale,1)); }
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-waiting-cues] .v2-daily-cue-card--earth .v2-daily-cue-card__reading > section > h4,
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-waiting-cues] .v2-daily-cue-card--moon .v2-daily-cue-card__moon-note > h4 {
  font-size:calc(11.5pt * var(--zj-text-scale,1));
}
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"] .v2-daily-cue-card__moon-primary { margin-top:16px; padding-bottom:0; }
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"] .v2-daily-cue-card__moon-note { margin-top:12px; padding-top:0; }
/* Work identity uses the incumbent work-scenario two-column fine-rule selection. */
html .phone .zj-v2[data-screen="business-scenario"] .choice-grid--compact { grid-template-columns:repeat(2,minmax(0,1fr)); }
html .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-screen="work-context"] .choice-grid.work-identity-grid {
  grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; margin-top:32px; border-bottom:1px solid var(--line);
}
html .phone .zj-v2[data-screen="work-context"] .choice.work-identity-card {
  min-height:82px; padding:0; border:0; border-top:1px solid var(--line); border-radius:0;
}
html .phone .zj-v2[data-screen="work-context"] .work-identity-card__content {
  height:100%; min-height:82px; padding:17px 4px; gap:8px; border:0; border-radius:0; background:transparent; box-shadow:none;
}
html .phone .zj-v2[data-screen="work-context"] .work-identity-card__content .choice__label { min-width:0; overflow-wrap:anywhere; }
html .phone .zj-v2[data-screen="work-context"] .work-identity-card:hover .work-identity-card__content { color:var(--text); background:var(--fill); }
html .phone .zj-v2[data-screen="work-context"] .work-identity-card__input:checked + .work-identity-card__content {
  color:var(--text); background:var(--fill); border:0; border-radius:0; box-shadow:none; opacity:1;
}
html .phone .zj-v2[data-screen="work-context"] .work-identity-card__mark { width:20px; height:20px; flex-basis:20px; border-radius:3px; }
html .phone .zj-v2[data-screen="work-context"] .work-identity-card__input:focus-visible + .work-identity-card__content { outline:2px solid var(--text); outline-offset:-3px; }
/* Centered half-width navigation retains 28px links, 16px labels and device safe-area. */
.phone > .primary-navigation { width:50%; min-width:180px; max-width:100%; margin-inline:auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; min-height:0; height:auto; border-top:0; padding:0 0 env(safe-area-inset-bottom,0px); }
.phone > .primary-navigation a { white-space:nowrap; overflow-wrap:normal; min-width:0; min-height:28px; height:28px; padding:0 2px; font-size:16px; line-height:1.2; }
/* Fixed 16px navigation labels retain the user-approved low-height three-entry row. */
html[data-zj-large-text="true"] .phone > .primary-navigation { width:50%; }
html[data-zj-large-text="true"] .phone > .primary-navigation a { font-size:16px; height:28px; white-space:nowrap; overflow-wrap:normal; }
.phone.analysis-waiting > .primary-navigation { display:none; }
.phone.analysis-waiting { grid-template-rows:auto minmax(0,1fr); }
/* Remove only the emotion page's redundant label and its occupied line. */
.phone .zj-v2.is-emotion-home > .eyebrow { display:none; margin:0; padding:0; }
.phone .zj-v2.is-emotion-home > .eyebrow + h2 { margin-top:0; }
.review-empty img { display:block; width:100%; height:120px; object-fit:cover; border-radius:12px; margin:16px 0; }
/* Compact chrome stays in separate grid rows; the original content width is preserved. */
.phone > header { position:static; padding-block:max(4px,env(safe-area-inset-top)) 4px; min-height:53px; }
.primary-navigation { padding-block:4px max(4px,env(safe-area-inset-bottom)); }
.primary-navigation a { box-sizing:border-box; min-height:44px; padding-block:4px; }
.screen { padding-top:16px; scroll-padding-top:16px; }
.screen h1,.screen h2 { scroll-margin-top:16px; }
/* Work identity retains the imported V2 markup/styles; its step controls belong after the complete form. */
html body .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-screen="work-context"] .nav-actions,
html body .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-screen="question"] .nav-actions,
html body .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-screen="options"] .nav-actions {
  position:static; z-index:auto; left:auto; bottom:auto; width:100%; transform:none;
  margin-top:24px; padding:13px 0 12px; background:transparent;
}
/* A programmatically focused, non-interactive heading needs no UA rectangle. Interactive focus is untouched. */
html body .phone .zj-v2 h2[tabindex="-1"]:focus { outline:none; }
/* Narrow successor: charge confirmation remains explicit, without nested gray panels. */
html body .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-screen="review"] .quota-confirmation {
  margin-top:16px; padding:14px 16px; border:1px solid var(--line); border-radius:12px; background:transparent;
}
html body .phone .zj-v2[data-screen="review"] .quota-confirmation h3 {
  margin:0; font-size:calc(16px * var(--zj-text-scale,1)); line-height:1.5; color:var(--text); font-weight:650;
}
html body .phone .zj-v2[data-screen="review"] .quota-confirmation__copy {
  margin:6px 0 0; font-size:calc(14px * var(--zj-text-scale,1)); line-height:1.6;
}
html body .phone .zj-v2[data-screen="review"] .quota-confirmation__check {
  min-height:44px; margin-top:10px; padding:6px 0; gap:10px; align-items:center;
  border:0; border-radius:0; background:transparent; font-size:calc(15px * var(--zj-text-scale,1)); line-height:1.55; font-weight:500;
}
html body .phone .zj-v2[data-screen="review"] [data-intake-step="review"] > .notice:not([data-option-route-status]) {
  margin-top:12px; padding:0; border:0; border-radius:0; background:transparent;
  font-size:calc(13px * var(--zj-text-scale,1)); line-height:1.7;
}
html body .phone .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-screen="review"] .nav-actions {
  position:static; z-index:auto; left:auto; bottom:auto; width:100%; transform:none; background:transparent;
}
/* Original V2 loading-track and pulse, scoped to the reused processing surface. */
.zj-v2[data-screen="loading"] .loading-track { display:grid; gap:12px; margin-top:28px; }
.zj-v2[data-screen="loading"] .loading-step { display:flex; align-items:center; gap:12px; color:var(--text-muted); }
.zj-v2[data-screen="loading"] .loading-step::before { content:""; width:10px; height:10px; flex:0 0 auto; border:1px solid var(--line-strong); border-radius:50%; }
.zj-v2[data-screen="loading"] .loading-step.is-active { color:var(--text); }
.zj-v2[data-screen="loading"] .loading-step.is-active::before { border-color:var(--gold); background:var(--gold); animation:v2-loading-pulse 1.2s ease-in-out infinite; }
@keyframes v2-loading-pulse { 50% { opacity:.38; } }
@media(prefers-reduced-motion:reduce) { .zj-v2[data-screen="loading"] .loading-step.is-active::before { animation:none; } }
/* Exact V2 strategy-map spatial rules, scoped to V4 summary; data counts are untouched. */
.review-statistics { --text:var(--ink); --text-soft:var(--soft); --text-muted:var(--muted); --b1-surface:var(--surface); --serif:var(--font); --gold-wash:var(--fill); }
.review-statistics [data-summary-groups] { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 16px; margin:16px 0; font-size:14px; }
.review-statistics [data-summary-groups] dd { margin:0; font-variant-numeric:tabular-nums; }
.review-statistics .strategy-map__donut { max-width:220px; }
.review-statistics .strategy-map__legend-row button { font-size:14px; border-radius:0; }
.review-statistics .strategy-map__donut small { font-size:11px; }
.review-statistics .strategy-map__donut strong { font-size:16px; }
.review-statistics .strategy-map__donut b { font-size:13px; }
.review-statistics .strategy-map__section-head p { font-size:12px; }
@media(max-width:430px) {
  .review-statistics .strategy-map__distribution { grid-template-columns:minmax(0,1fr); gap:18px; }
  .review-statistics .strategy-map__donut { width:184px; margin:0 auto; }
}
@media(max-width:350px) { .review-statistics .strategy-map__donut { width:174px; } }
/* Human-selected A: one Songti family across product roles; preserve all size/weight/layout rules.
   Local system fonts only. Windows/other platforms use the explicit serif fallbacks below. */
html body, html body * {
  font-family:"Songti TC","Noto Serif TC",PMingLiU,"新細明體",serif !important;
}
.review-statistics .strategy-map__meta {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 12px 0;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.review-statistics .strategy-map__meta strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.review-statistics .strategy-map__section {
  margin-top: 0;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.review-statistics .strategy-map__section:first-of-type {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.review-statistics .strategy-map__section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.review-statistics .strategy-map__section-head h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
}

.review-statistics .strategy-map__section-head p {
  max-width: 13em;
  margin: 0;
  color: var(--text-muted);
  text-align: right;
}

.review-statistics .strategy-map__distribution {
  display: grid;
  grid-template-columns: minmax(166px, 42%) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.review-statistics .strategy-map__donut {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--segments));
}

.review-statistics .strategy-map__donut::after {
  content: "";
  position: absolute;
  inset: 27%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--b1-surface) 84%, transparent);
}

.review-statistics .strategy-map__donut > span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  color: var(--text);
  text-align: center;
}

.review-statistics .strategy-map__donut small {
  color: var(--text-muted);
}

.review-statistics .strategy-map__donut strong {
  margin-top: 2px;
  font-family: var(--serif);
}

.review-statistics .strategy-map__donut b {
  margin-top: 1px;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.review-statistics .strategy-map__legend {
  display: grid;
  gap: 2px;
}

.review-statistics .strategy-map__legend-row,
.review-statistics .strategy-map__legend-row button {
  min-width: 0;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.review-statistics .strategy-map__legend-row {
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}

.review-statistics .strategy-map__legend-row button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 44px;
  padding: 0 4px;
  color: inherit;
  border: 0;
  background: transparent;
  text-align: left;
}

.review-statistics .strategy-map__legend-row button:hover,
.review-statistics .strategy-map__legend-row button[aria-pressed="true"] {
  background: var(--gold-wash);
}

.review-statistics .strategy-map__legend-row i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--swatch);
}

.review-statistics .strategy-map__legend-row strong {
  min-width: 0;
  white-space: nowrap;
}

.review-statistics .strategy-map__legend-row span {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* Keep the original V2 narrow-screen overrides after its base rules. */
@media(max-width:430px) {
  .review-statistics .strategy-map__distribution { grid-template-columns:minmax(0,1fr); gap:18px; }
  .review-statistics .strategy-map__donut { width:184px; margin:0 auto; }
}
@media(max-width:350px) { .review-statistics .strategy-map__donut { width:174px; } }

/* Tomsk uses the existing, normal-static shell stylesheet; preserve source aspect ratio. */
html .zj-v2[data-zhaojian-prompt-profile="v2"] .v2-tomsk-card .v2-daily-cue-card__reading section {
  display: block;
}
.v2-tomsk-card img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Keep the existing angle checkboxes and copy on shared left-aligned columns. */
html body .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-screen="business-focus"] [data-choice-grid] > label.choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  justify-content: start;
  align-items: start;
  gap: 14px;
}
html body .zj-v2[data-ui-theme="b1-mist-sanctuary"][data-screen="business-focus"] [data-choice-grid] > label.choice > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Pending confirmation stays within the viewport without moving the form or document. */
.inline-confirm-panel { position:fixed; inset:auto 16px max(16px,env(safe-area-inset-bottom)) 16px; width:calc(100% - 32px); max-width:408px; max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 32px); overflow:auto; overscroll-behavior:contain; margin:0 auto; z-index:20; background:var(--surface); color:var(--ink); }
.inline-confirm-panel h2 { margin:0 0 14px; font-size:calc(21px * var(--zj-text-scale,1)); line-height:1.5; }

/* Compact previews, expandable original question, and a single border per reading group. */
.review-statistics .summary-question-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; }
.review-statistics .summary-question-full p { white-space:pre-line; overflow-wrap:anywhere; }
.review-statistics .strategy-map__meta { margin-top:8px; }
.reading-section--inner { border:0; padding:0; margin:12px 0 0; }
.reading-section--inner .reading-section--inner { margin-top:12px; }

/* The waiting cards keep their moon icon; the editorial backdrop belongs to the check-in hero. */
html .zj-v2[data-waiting-cues] .v2-moon-backdrop { display:none; }

/* Existing account route stays reachable from the first Home viewport. */
.phone > header .account-entry { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; font-size:16px; color:var(--ink); text-decoration:none; }
.phone > header .account-entry:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }

/* Persistent Home action across all App-owned shell routes. */
.brand-home { gap:8px; text-decoration:none; flex-shrink:0; }
.brand-home .home-label { font-size:16px; letter-spacing:normal; font-weight:normal; }
