.depth-page {
  --depth-ink: #1a2921;
  --depth-green: #23543c;
  --depth-deep: #163a2a;
  --depth-paper: #f4f2e9;
  --depth-rule: #cfd2c6;
  --depth-ochre: #be8741;
  --depth-muted: #566358;
  color-scheme: light;
  color: var(--depth-ink);
  background: var(--depth-paper);
}
.depth-page * { box-sizing: border-box; }
.depth-page .page-shell { width: min(1160px, calc(100% - 40px)); }
.depth-page .site-header { min-height: 66px; }
.depth-page .site-header, .depth-page .site-nav, .depth-page .brand { color: var(--depth-ink); }
.depth-main { padding-top: 18px; padding-bottom: 56px; }
.depth-crumb { margin: 0 0 14px; color: var(--depth-muted); font-size: .78rem; }
.depth-crumb a, .depth-page a { color: var(--depth-green); font-weight: 760; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.depth-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 12px 0 18px; border-bottom: 1px solid var(--depth-rule); }
.depth-eyebrow { margin: 0 0 6px; color: var(--depth-ochre); font-size: .73rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.depth-intro h1 { max-width: 760px; margin: 0; color: var(--depth-ink); font: 700 clamp(2rem, 4.4vw, 3.35rem)/1.02 Georgia, 'Times New Roman', serif; letter-spacing: -.04em; }
.depth-lead { max-width: 780px; margin: 12px 0 0; color: var(--depth-muted); font-size: 1rem; line-height: 1.55; }
.depth-stamp { display: grid; min-width: 150px; gap: 5px; border-left: 2px solid var(--depth-ochre); padding: 8px 0 8px 14px; color: var(--depth-green); font-size: .67rem; font-weight: 850; letter-spacing: .08em; }
.depth-tool { margin-top: 20px; border: 1px solid var(--depth-rule); background: #fbfaf5; box-shadow: 0 8px 26px rgba(26,41,33,.06); }
.depth-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); align-items: stretch; }
.depth-inputs { min-width: 0; padding: 22px 24px 24px; }
.depth-block-title { display: flex; align-items: start; gap: 12px; margin: 0 0 16px; }
.depth-index { display: grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border: 1px solid var(--depth-ochre); color: var(--depth-green); font-size: .7rem; font-weight: 850; }
.depth-block-title h2 { margin: 0; color: var(--depth-ink); font-size: 1.05rem; line-height: 1.2; }
.depth-block-title p { margin: 4px 0 0; color: var(--depth-muted); font-size: .78rem; line-height: 1.45; }
.depth-fields { display: grid; gap: 16px; }
.depth-field { display: grid; min-width: 0; gap: 6px; color: var(--depth-ink); font-size: .79rem; font-weight: 760; }
.depth-field small { color: var(--depth-muted); font-size: .69rem; font-weight: 450; line-height: 1.4; }
.depth-entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(112px, .7fr); gap: 7px; }
.depth-entry input, .depth-entry select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #9ba69a; border-radius: 0; padding: 8px 10px; color: var(--depth-ink); background: #fffef9; font: inherit; font-size: .92rem; }
.depth-entry input:focus-visible, .depth-entry select:focus-visible, .depth-button:focus-visible, .depth-copy:focus-visible, .depth-page a:focus-visible { outline: 3px solid #ad7433; outline-offset: 2px; }
.depth-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.depth-button, .depth-copy { min-height: 44px; border: 1px solid var(--depth-green); border-radius: 0; padding: 9px 12px; color: var(--depth-green); background: transparent; font: inherit; font-size: .77rem; font-weight: 820; cursor: pointer; }
.depth-button:hover { color: #fffdf7; background: var(--depth-green); }
.depth-button.secondary { border-color: var(--depth-rule); color: var(--depth-muted); }
.depth-hint { margin: 13px 0 0; border-left: 2px solid var(--depth-ochre); padding-left: 10px; color: var(--depth-muted); font-size: .75rem; line-height: 1.5; }
.depth-result { display: flex; flex-direction: column; min-width: 0; padding: 22px 23px 20px; color: #f8f5e9; background: var(--depth-deep); }
.depth-result > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.depth-overline { margin: 0 0 9px; color: #e9c07f; font-size: .68rem; font-weight: 850; letter-spacing: .12em; }
.depth-result h2 { margin: 0; color: #fffdf6; font: 650 1.48rem/1.18 Georgia, 'Times New Roman', serif; }
.depth-status { min-height: 40px; margin: 9px 0 12px; color: #dbe3da; font-size: .74rem; line-height: 1.45; }
.depth-answer { border-top: 1px solid rgba(239,237,220,.29); border-bottom: 1px solid rgba(239,237,220,.29); padding: 12px 0 13px; }
.depth-answer span { display: block; color: #dbe3da; font-size: .72rem; }
.depth-answer strong { display: block; margin-top: 3px; color: #f4cd86; font: 760 clamp(2.2rem, 4.2vw, 3.1rem)/1 Georgia, 'Times New Roman', serif; letter-spacing: -.04em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.depth-answer .depth-metric { margin-top: 6px; color: #fffdf6; font-size: .95rem; font-weight: 750; }
.depth-summary { margin: 11px 0; color: #dbe3da; font-size: .76rem; line-height: 1.5; }
.depth-copy { display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-color: #e7bd77; color: var(--depth-deep); background: #efc77f; text-align: left; }
.depth-copy:hover:not(:disabled) { background: #ffdc9d; }
.depth-copy:disabled { cursor: not-allowed; opacity: .58; }
.depth-copy-status { min-height: 1em; margin: 5px 0 0; color: #dbe3da; font-size: .68rem; }
.depth-fallback { width: 100%; margin-top: 6px; border: 1px solid #8ea18f; padding: 8px; color: #fff; background: #254633; font: inherit; font-size: .72rem; }
.depth-boundary { margin: 10px 0 0; color: #bfcfc1; font-size: .67rem; line-height: 1.45; }
.depth-tool-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; border-top: 1px solid var(--depth-rule); padding: 10px 16px; color: var(--depth-muted); background: #eeeee4; font-size: .68rem; }
.depth-tool-footer strong { color: var(--depth-green); }
.depth-figure { max-width: 980px; margin: 30px auto 36px; }
.depth-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--depth-rule); background: #faf9f4; }
.depth-figure figcaption { margin-top: 7px; color: var(--depth-muted); font-size: .74rem; line-height: 1.45; text-align: center; }
.depth-section { max-width: 1000px; margin: 0 auto 32px; }
.depth-section h2 { margin: 0 0 10px; color: var(--depth-deep); font: 700 clamp(1.35rem, 3vw, 1.8rem)/1.15 Georgia, 'Times New Roman', serif; }
.depth-section h3 { margin: 17px 0 5px; color: var(--depth-green); font-size: .94rem; }
.depth-section p, .depth-section li { color: var(--depth-muted); font-size: .86rem; line-height: 1.6; }
.depth-section p { margin: 0 0 10px; }
.depth-formula { margin: 14px 0; border-left: 2px solid var(--depth-ochre); padding: 10px 13px; color: var(--depth-ink); background: #efeee5; font-size: .9rem; line-height: 1.65; font-variant-numeric: tabular-nums; }
.depth-faq details { border-top: 1px solid var(--depth-rule); padding: 11px 0; }
.depth-faq details:last-child { border-bottom: 1px solid var(--depth-rule); }
.depth-faq summary { color: var(--depth-green); font-size: .9rem; font-weight: 790; cursor: pointer; }
.depth-faq details p { max-width: 860px; margin: 7px 0 0; font-size: .82rem; }
.depth-related { border-top: 1px solid var(--depth-rule); padding-top: 18px; }
.depth-related a, .depth-source a { color: var(--depth-green); font-weight: 760; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.depth-source { font-size: .74rem !important; }
.depth-page .site-footer { margin-top: 0; }
@media (max-width: 900px) {
  .depth-grid { grid-template-columns: minmax(0, 1fr); }
  .depth-result { grid-row: 1; }
  .depth-inputs { grid-row: 2; }
}
@media (max-width: 650px) {
  .depth-page .page-shell { width: min(100% - 24px, 1160px); }
  .depth-page .site-header.page-shell { width: 100%; min-height: 0; padding: 8px 10px; flex-direction: column; align-items: stretch; gap: 4px; }
  .depth-page .brand { gap: 6px; font-size: 15px; letter-spacing: -.45px; }
  .depth-page .brand-symbol { flex-basis: 24px; width: 24px; height: 24px; }
  .depth-page .brand-symbol svg { width: 19px; height: 19px; }
  .depth-page .site-nav { display: grid; width: 100%; min-width: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; padding: 0; }
  .depth-page .site-nav a { min-height: 40px; padding: 4px 1px; font-size: 11.5px; line-height: 1.15; text-align: center; white-space: normal; overflow-wrap: anywhere; }
  .depth-main { padding-top: 12px; }
  .depth-intro { align-items: start; gap: 12px; }
  .depth-stamp { min-width: 104px; padding-left: 9px; font-size: .58rem; }
  .depth-intro h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .depth-lead { margin-top: 9px; font-size: .91rem; }
  .depth-tool { margin-top: 14px; }
  .depth-inputs, .depth-result { padding: 17px 14px; }
  .depth-fields { gap: 12px; }
  .depth-entry { grid-template-columns: minmax(0, 1fr) minmax(104px, .72fr); gap: 6px; }
  .depth-actions { align-items: stretch; flex-direction: column; }
  .depth-button { width: 100%; }
  .depth-answer strong { font-size: 2.75rem; }
  .depth-tool-footer { padding: 9px 12px; }
  .depth-figure { margin: 22px auto 28px; }
  .depth-section { margin-bottom: 26px; }
}
@media (max-width: 390px) {
  .depth-page .page-shell { width: calc(100% - 20px); }
  .depth-page .site-header.page-shell { width: 100%; }
  .depth-intro { display: block; }
  .depth-stamp { display: flex; gap: 12px; margin-top: 9px; border-left: 0; border-top: 1px solid var(--depth-rule); padding: 7px 0 0; }
  .depth-intro h1 { font-size: 1.9rem; overflow-wrap: anywhere; }
  .depth-entry { grid-template-columns: minmax(0, 1fr) minmax(96px, .8fr); }
  .depth-result h2 { font-size: 1.3rem; }
  .depth-answer strong { font-size: 2.35rem; }
  .depth-result .depth-status, .depth-result .depth-summary, .depth-result .depth-boundary { overflow-wrap: anywhere; }
}
