/* 银聆科技 · 2026 · 桌面内部页面。仅调整展示，不改变数据与交互。 */

:is(#routing, #finance, #history, #resources) {
  --ink: #262626;
  --green: #2d664b;
  --muted: #707070;
  --line: #eaeaea;
  --soft: #f7f7f7;
  --negative: #666b68;
  --panel-sans: Taipei, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  color: var(--ink);
  font-family: var(--panel-sans);
  padding-top: 62px;
  padding-bottom: 80px;
}

:is(#routing, #finance, #history, #resources) :is(h2, h3, p, button, input, select, textarea, code, .eyebrow) {
  font-family: var(--panel-sans);
}

:is(#routing, #finance, #history, #resources) :is(h2, h3) {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.035em;
}

:is(#routing, #finance, #history, #resources) .section-heading {
  display: block;
  margin: 0 auto 46px;
  text-align: center;
}

:is(#routing, #finance, #history, #resources) .section-heading .eyebrow { display: none; }
:is(#routing, #finance, #history, #resources) .section-heading h2 {
  font-size: clamp(36px, 3.25vw, 48px);
  line-height: 1.3;
  margin: 0 0 20px;
}
:is(#routing, #finance, #history, #resources) .section-heading > p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

:is(#routing, #finance, #history, #resources) .eyebrow {
  color: #757575;
  font-size: 12px;
  letter-spacing: .015em;
  font-weight: 400;
}
:is(#routing, #finance, #history, #resources) .button {
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 11px 24px;
  background: #f2f2f2;
  color: #434343;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  box-shadow: none;
}
:is(#routing, #finance, #history, #resources) .button:hover { background: #ebebeb; }
:is(#routing, #finance, #history, #resources) .button.primary {
  color: #fff;
  background: #2d664b;
}
:is(#routing, #finance, #history, #resources) .button.primary:hover { background: #24533c; }
:is(#routing, #finance, #history, #resources) .text-button {
  color: #717171;
  border: 0;
  text-decoration: none;
}
:is(#routing, #finance, #history, #resources) :is(button, a, input, select, summary):focus-visible {
  outline: 3px solid #2d664b;
  outline-offset: 3px;
}
:is(#routing, #finance, #history, #resources) :is(.positive, .pos) { color: #2d664b; }
:is(#routing, #finance, #history, #resources) :is(.negative, .neg) { color: #666b68; }
:is(#routing, #finance, #history, #resources) .calc-note {
  margin-top: 22px;
  color: #7a7a7a;
  font-size: 13px;
  line-height: 1.95;
}
:is(#routing, #finance, #history, #resources) .details-block {
  margin: 14px 0;
  padding: 22px 27px;
  border: 0;
  border-radius: 18px;
  background: #f7f7f7;
}
:is(#routing, #finance, #history, #resources) .details-block summary {
  color: #464646;
  font-size: 14px;
  font-weight: 500;
}
:is(#routing, #finance, #history, #resources) .details-block summary:after { color: #7c7c7c; }
:is(#routing, #finance, #history, #resources) .details-block > div { padding-top: 25px; }
:is(#routing, #finance, #history, #resources) .governance-grid { gap: 26px 42px; }
:is(#routing, #finance, #history, #resources) .governance-grid h3 { font-size: 17px; }
:is(#routing, #finance, #history, #resources) .governance-grid p { color: #7a7a7a; font-size: 14px; }

/* 任务调度：一行选择，一张行动卡，一张记忆卡。 */
#routing .route-steps {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 28px;
  padding: 7px;
  border: 0;
  border-radius: 999px;
  background: #f6f6f6;
}
#routing .route-steps button {
  display: block;
  padding: 12px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  text-align: center;
  color: #7c7c7c;
}
#routing .route-steps button span { display: none; }
#routing .route-steps button b { font-size: 14px; font-weight: 500; }
#routing .route-steps button.active { background: #e9f1e8; color: #2d664b; }
#routing .route-steps button.done { color: #494949; }
#routing .routing-workspace { grid-template-columns: 1.6fr 1fr; gap: 22px; }
#routing .route-story {
  border: 0;
  border-radius: 22px;
  background: #f8f8f8;
  padding: 34px 38px;
  min-height: 520px;
}
#routing .route-story .eyebrow { color: #7a7a7a; font-size: 11px; }
#routing .route-story h3 { font-size: 31px; line-height: 1.45; margin: 17px 0 12px; }
#routing .route-subtitle { font-size: 15px; color: #7c7c7c; line-height: 1.9; }
#routing .route-fields { display: grid; grid-template-columns: 1fr; gap: 23px; margin: 30px 0; }
#routing .route-fields > div { display: grid; grid-template-columns: 38px 1fr; gap: 20px; }
#routing .route-fields dt { color: #7a7a7a; font-size: 12px; padding-top: 2px; }
#routing .route-fields dd { color: #585858; font-size: 14px; line-height: 1.95; }
#routing .route-example {
  border: 0;
  border-radius: 16px;
  background: #fff;
  padding: 21px 23px;
  margin-top: 26px;
  color: #6a6a6a;
  font-size: 14px;
  line-height: 1.9;
}
#routing .route-example span { color: #2d664b; font-size: 11px; }
#routing .route-memory {
  background: #e9f1e8;
  color: #575757;
  border: 0;
  border-radius: 22px;
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
}
#routing .route-memory:after { display: none; }
#routing .memory-glyph { display: none; }
#routing .route-memory .eyebrow { color: #949494; font-size: 11px; }
#routing .route-memory h3 { color: #484848; font-size: 26px; font-weight: 600; line-height: 1.55; margin-top: 22px; }
#routing .route-memory ol { margin: 13px 0 20px; }
#routing .route-memory li { border: 0; padding: 7px 0; color: #888888; font-size: 13px; }
#routing .route-memory li strong { color: #939393; font-size: 10px; }
#routing .memory-current { border: 0; margin-top: auto; padding: 25px 0 0; color: #727272; font-size: 14px; line-height: 1.95; }
#routing .step-controls { padding: 25px 0 44px; }
#routing .step-controls > span { color: #7c7c7c; font-size: 12px; }
#routing .branch-area { border: 0; border-radius: 22px; background: #f8f8f8; padding: 31px 36px; }
#routing .branch-area > div > .eyebrow { color: #7c7c7c; font-size: 11px; }
#routing .branch-area h3 { font-size: 25px; margin-top: 10px; }
#routing .segmented { gap: 8px; margin: 23px 0 10px; }
#routing .segmented button { border: 0; border-radius: 999px; background: #fff; color: #7f7f7f; padding: 10px 19px; font-size: 13px; }
#routing .segmented button.active { background: #e9f1e8; color: #2d664b; }
#routing #branch-detail { gap: 35px; padding: 24px 0 0; }
#routing #branch-detail span { color: #7c7c7c; font-size: 12px; }
#routing #branch-detail p { color: #696969; font-size: 14px; line-height: 1.95; }
#routing .rule-strip { border: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 25px 0; padding: 0; }
#routing .rule-strip > div { border: 0; border-radius: 18px; background: #f8f8f8; padding: 24px; }
#routing .rule-strip strong { font-size: 15px; font-weight: 500; color: #575757; }
#routing .rule-strip span { color: #7a7a7a; font-size: 12px; margin-top: 9px; }

/* 计算器：输入与结果保持同一桌面视线，数字独立成组。 */
#finance .calc-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 34px;
  padding: 7px;
  border: 0;
  border-radius: 999px;
  background: #f6f6f6;
}
#finance .calc-nav button {
  margin: 0;
  padding: 12px 21px;
  border: 0;
  border-radius: 999px;
  color: #7e7e7e;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}
#finance .calc-nav button.active { color: #2d664b; background: #e9f1e8; font-weight: 500; }
#finance .calculator-layout { display: grid; grid-template-columns: 326px minmax(0, 1fr); gap: 30px; align-items: start; }
#finance .calc-inputs { background: #f7f7f7; border: 0; border-radius: 22px; padding: 27px; }
#finance .calc-inputs h3 { color: #464646; font-size: 18px; font-weight: 600; margin: 0 0 12px; }
#finance .calc-inputs > p { color: #7a7a7a; font-size: 12px; line-height: 1.9; margin-bottom: 24px; }
#finance .field { display: block; margin-bottom: 20px; font-size: 12px; color: #7c7c7c; }
#finance .field > span { display: block; margin-bottom: 8px; }
#finance .input-unit input {
  background: #fff;
  color: #464646;
  font-size: 15px;
  font-weight: 500;
  min-height: 46px;
  padding: 11px 43px 11px 15px;
  border: 0;
  border-radius: 12px;
  box-shadow: none;
  font-variant-numeric: tabular-nums;
}
#finance .input-unit > span { right: 14px; top: 12px; font-size: 12px; color: #888888; }
#finance .checkbox-field { font-size: 12px; color: #7c7c7c; line-height: 1.8; }
#finance input[type='checkbox'] { accent-color: #2d664b; }
#finance .small-details { font-size: 12px; color: #8e8e8e; margin-top: 21px; }
#finance .period-inputs { gap: 10px; }
#finance .period-inputs input { border: 0; background: white; border-radius: 9px; color: #626262; padding: 8px; }
#finance .preset-buttons { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 25px; }
#finance .preset-buttons button { border: 0; border-radius: 999px; padding: 9px 13px; background: #fff; color: #8f8f8f; font-size: 11px; }
#finance .calc-reset { color: #7c7c7c; font-size: 11px; margin-top: 17px; text-decoration-color: #d4d4d4; }
#finance .calc-result { min-width: 0; padding: 8px 0 0; }
#finance .calc-result h3 { margin: 0 0 23px; font-size: 26px; font-weight: 600; line-height: 1.5; }
#finance .result-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 0 0 25px; }
#finance .result-kpis > div { border: 0; border-radius: 18px; padding: 23px 24px; background: #f7f7f7; min-width: 0; }
#finance .result-kpis > div > span { color: #7a7a7a; font-size: 12px; }
#finance .result-kpis strong { color: #3e3e3e; font-size: 31px; line-height: 1.8; font-weight: 500; letter-spacing: -.035em; font-variant-numeric: tabular-nums; white-space: nowrap; }
#finance .result-kpis > div:last-child { background: #e9f1e8; }
#finance .result-kpis > div:last-child strong { color: #2d664b; }
#finance .result-kpis small { display: block; color: #808080; font-size: 11px; line-height: 1.8; margin-top: 2px; }
#finance .formula { border: 0; border-radius: 18px; background: #e9f1e8; padding: 24px 27px; margin: 24px 0; }
#finance .formula > span { display: block; font-size: 11px; color: #2d664b; margin-bottom: 13px; }
#finance .formula p { color: #6b6b6b; font-size: 14px; line-height: 2.1; margin: 0; }
#finance .formula b { color: #2d664b; font-weight: 600; }
#finance .table-scroll { border: 0; border-radius: 18px; background: #f9f9f9; padding: 8px 22px; }
#finance .mini-table { font-size: 12px; line-height: 1.8; }
#finance .mini-table :is(th, td) { border: 0; padding: 15px 12px; background: transparent; }
#finance .mini-table th { color: #7c7c7c; font-size: 11px; font-weight: 400; }
#finance .mini-table td { color: #686868; }
#finance .mini-table :is(th, td):first-child { padding-left: 0; }
#finance .mini-table :is(th, td):last-child { padding-right: 0; }
#finance .mini-table tbody tr + tr { border-top: 1px solid #efefef; }
#finance .split-bar { height: 42px; border-radius: 12px; overflow: hidden; margin-top: 8px; }
#finance .split-bar > span { font-size: 12px; }
#finance .split-bar > span:first-child { background: #2d664b !important; color: #fff; }
#finance .split-bar > span:nth-child(2) { background: #83a58f !important; }
#finance .split-bar > span:nth-child(3) { background: #cbdcc8 !important; }
#finance .bar-legend { gap: 20px; margin: 14px 0 25px; color: #7a7a7a; font-size: 11px; }
#finance .bar-legend > span:first-child i { background: #2d664b !important; }
#finance .bar-legend > span:nth-child(2) i { background: #83a58f !important; }
#finance .bar-legend > span:nth-child(3) i { background: #cbdcc8 !important; }
#finance .ledger-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border: 0; padding: 0; margin-top: 44px; }
#finance .ledger-strip article { padding: 24px; border-radius: 18px; background: #f9f9f9; }
#finance .ledger-strip span { font-size: 12px; color: #2d664b; }
#finance .ledger-strip p { font-size: 13px; color: #888888; margin: 10px 0 0; line-height: 1.9; }
#finance .error-message { border: 0; border-radius: 15px; background: #e9f1e8; color: #2d664b; padding: 18px 22px; font-size: 14px; }

/* 月度推演：日期胶囊、四项指标、现金与价格两张平行卡片。 */
#history .history-controls { border: 0; padding: 0; margin-bottom: 28px; align-items: center; }
#history .month-buttons { display: flex; gap: 6px; background: #f6f6f6; border-radius: 999px; padding: 6px; }
#history .month-buttons button { border: 0; background: transparent; border-radius: 999px; padding: 10px 20px; color: #888888; font-size: 13px; }
#history .month-buttons button.active { color: #2d664b; background: #e9f1e8; }
#history .branch-select { color: #9a9a9a; font-size: 12px; gap: 13px; }
#history .branch-select select { border: 0; border-radius: 999px; padding: 13px 18px; background: #f6f6f6; color: #777777; font-size: 12px; min-width: 200px; }
#history .history-summary { display: grid; grid-template-columns: 1.9fr 1fr; border: 0; gap: 50px; padding: 29px 34px; border-radius: 22px; background: #f9f9f9; margin-bottom: 20px; }
#history #month-label { font-size: 11px; color: #7c7c7c; }
#history .history-summary h3 { font-size: 28px; line-height: 1.4; margin: 12px 0; }
#history .history-summary p { color: #7c7c7c; font-size: 13px; line-height: 1.9; margin-bottom: 0; }
#history .history-summary svg { height: 120px; }
#history .history-summary svg :is(path, polyline) { stroke: #2d664b; }
#history .history-summary svg circle { stroke: #2d664b; }
#history .history-summary svg circle:last-of-type { fill: #2d664b; }
#history .metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border: 0; padding: 0; margin: 0 0 24px; }
#history .metrics > div { border: 0; border-radius: 18px; background: #f7f7f7; padding: 23px 25px; }
#history .metrics > div:first-child { padding-left: 25px; }
#history .metrics > div:last-child { background: #e9f1e8; }
#history .metrics span { color: #7c7c7c; font-size: 12px; }
#history .metrics strong { font-size: 31px; font-weight: 500; line-height: 1.9; letter-spacing: -.035em; color: #494949; white-space: nowrap; }
#history .metrics > div:last-child strong { color: #2d664b; }
#history .metrics small { font-size: 11px; color: #808080; }
#history .history-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
#history .paper-panel { background: #f8f8f8; border: 0; border-radius: 22px; padding: 30px 32px; }
#history .paper-panel h3 { border: 0; padding: 0; margin-bottom: 22px; font-size: 20px; font-weight: 600; }
#history .bridge-row { border: 0; padding: 11px 0; font-size: 13px; color: #7a7a7a; }
#history .bridge-row strong { color: #6c6c6c; font-weight: 400; font-size: 13px; font-variant-numeric: tabular-nums; }
#history .bridge-row.total { border: 0; border-radius: 12px; padding: 12px 15px; margin: 8px -15px; background: #fff; color: #6f6f6f; }
#history .bridge-row.total strong { color: #2d664b; font-weight: 500; }
#history .subheading { margin: 43px 0 23px; }
#history .subheading h3 { font-size: 23px; font-weight: 600; margin: 0 0 10px; }
#history .subheading p { color: #7c7c7c; font-size: 12px; margin: 0; }
#history .table-scroll { border: 0; border-radius: 20px; background: #f9f9f9; overflow: auto; }
#history .members-table { min-width: 1160px; font-size: 12px; }
#history .members-table :is(th, td) { border: 0; padding: 17px 11px; }
#history .members-table th { background: #f1f1f1; color: #7c7c7c; font-size: 10px; font-weight: 400; white-space: nowrap; }
#history .members-table th:first-child { background: #f1f1f1; }
#history .members-table td { background: transparent; color: #717171; font-variant-numeric: tabular-nums; }
#history .members-table td:first-child { background: #f9f9f9; padding-left: 22px; }
#history .members-table th:first-child { padding-left: 22px; }
#history .members-table tbody tr + tr { border-top: 1px solid #efefef; }
#history .members-table tr.selected td { background: #e9f1e8; }
#history .members-table td.positive { color: #2d664b; }
#history .members-table td.negative { color: #666b68; }
#history .member-focus { grid-template-columns: 210px 1fr; border: 0; border-radius: 20px; background: #e9f1e8; padding: 26px 30px; margin: 20px 0 29px; gap: 30px; }
#history .member-focus label { color: #858585; font-size: 12px; }
#history .member-focus select { border: 0; border-radius: 999px; background: #fff; color: #2d664b; font-size: 12px; padding: 11px 16px; margin-top: 10px; }
#history .member-focus p { color: #797979; font-size: 12px; line-height: 2; }
#history .member-focus b { color: #2d664b; font-weight: 500; }
#history .mini-table { font-size: 12px; }
#history .mini-table :is(td, th) { border: 0; background: transparent; padding: 14px 15px; color: #858585; }
#history .mini-table th { font-size: 11px; color: #7c7c7c; }
#history .section-tail { border: 0; margin: 22px 0 0; padding: 18px 4px 0; color: #888888; font-size: 11px; }
#history .section-tail a { color: #2d664b; }

/* 资源与产品：数额优先，机会和当前资产分别成组。 */
#resources .resource-money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; border: 0; margin-bottom: 22px; }
#resources .resource-money article { border: 0; border-radius: 22px; padding: 31px 33px; background: #f7f7f7; }
#resources .resource-money article:last-child { background: #e9f1e8; }
#resources .resource-money article > span { color: #7c7c7c; font-size: 12px; }
#resources .resource-money strong { color: #525252; font-size: 43px; font-weight: 500; line-height: 1.8; letter-spacing: -.04em; margin: 2px 0; }
#resources .resource-money article:last-child strong { color: #2d664b; }
#resources .resource-money strong small { font-size: 16px; font-weight: 400; }
#resources .resource-money p { color: #7c7c7c; font-size: 11px; line-height: 1.9; margin: 3px 0 0; max-width: none; }
#resources .resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; border: 0; margin-bottom: 40px; }
#resources .resource-grid article { background: #f9f9f9; border: 0; border-radius: 22px; padding: 30px 33px; }
#resources .resource-grid .eyebrow { color: #858585; font-size: 11px; }
#resources .resource-grid h3 { margin: 14px 0 17px; font-size: 22px; line-height: 1.5; }
#resources .resource-grid ul { padding-left: 16px; color: #7a7a7a; font-size: 13px; line-height: 2.2; margin-bottom: 0; }
#resources .resource-interlude { display: none; }
#resources .demo-heading { border: 0; margin: 0; padding: 28px 0 30px; align-items: center; gap: 30px; }
#resources .demo-heading .eyebrow { color: #a2a2a2; font-size: 11px; }
#resources .demo-heading h2 { font-size: 33px; margin: 13px 0 10px; line-height: 1.5; }
#resources .demo-heading p { font-size: 12px; color: #888888; margin: 0; }
#resources .demo-guide { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
#resources .demo-guide-nav { border: 0; border-radius: 20px; background: #e9f1e8; padding: 28px 22px; }
#resources .demo-guide-nav .eyebrow { color: #858585; font-size: 11px; }
#resources .demo-guide-nav button { border: 0; border-radius: 13px; padding: 12px 15px; color: #858585; font-size: 12px; line-height: 1.8; }
#resources .demo-guide-nav button span { color: #939393; font-size: 10px; }
#resources .demo-guide-nav button.active { background: #e9f1e8; color: #2d664b; }
#resources .demo-instruction { background: #f9f9f9; border-radius: 20px; padding: 31px 35px; min-width: 0; }
#resources .demo-instruction > .eyebrow { color: #858585; font-size: 11px; }
#resources .demo-instruction h3 { font-size: 27px; line-height: 1.5; margin: 15px 0 17px; }
#resources .demo-instruction p { color: #7a7a7a; font-size: 14px; line-height: 1.95; }
#resources .demo-prompt { border-radius: 15px; background: #fff; padding: 19px 23px; margin-top: 22px; }
#resources .demo-prompt code { color: #8f8f8f; font-size: 13px; }
#resources .demo-prompt button { border: 0; border-radius: 999px; padding: 8px 13px; background: #e9f1e8; color: #2d664b; text-decoration: none; }
#resources .demo-step-controls { margin-top: 25px; }
#resources .demo-step-controls > span { color: #939393; font-size: 11px; }
#resources .login-note { margin: 31px 0 22px; }
#resources .login-note strong { color: #7b7b7b; font-size: 14px; font-weight: 500; }
#resources .login-note p { color: #888888; font-size: 12px; line-height: 1.9; }
#resources .accounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 25px; }
#resources .account { border: 0; border-radius: 18px; background: #f7f7f7; padding: 22px 24px; }
#resources .account strong { color: #878787; font-size: 13px; font-weight: 500; }
#resources .account code { color: #888888; font-size: 11px; }
#resources .account button { border: 0; border-radius: 999px; background: #fff; color: #858585; padding: 9px 12px; font-size: 10px; }
#resources .demo-toolbar { border: 0; border-radius: 20px 20px 0 0; background: #e9f1e8; color: #909090; padding: 17px 26px; font-size: 12px; }
#resources .demo-toolbar .text-button { color: #858585; font-size: 11px; border: 0; }
#resources .demo-frame-shell { border: 0; border-radius: 0 0 20px 20px; background: #f9f9f9; overflow: hidden; }
#resources .demo-cover { background: #f9f9f9; }
#resources .demo-cover img { width: 54px; margin-bottom: 20px; opacity: .9; }
#resources .demo-cover > .eyebrow { display: none; }
#resources .demo-cover h3 { color: #616161; font-size: 29px; line-height: 1.5; font-weight: 600; margin: 16px 0; }
#resources .demo-cover p { color: #7c7c7c; font-size: 13px; }
#resources .demo-footer { color: #888888; font-size: 11px; line-height: 1.9; margin-top: 16px; }

/* 1366 与 1440 桌面宽度下保留完整的数字与一排选择。 */
@media (min-width: 1100px) and (max-width: 1390px) {
  #finance .calc-nav button { padding-left: 17px; padding-right: 17px; }
  #finance .calculator-layout { grid-template-columns: 310px minmax(0, 1fr); gap: 25px; }
  #finance .result-kpis strong { font-size: 29px; }
  #history .metrics strong { font-size: 28px; }
  #history .month-buttons button { padding-left: 18px; padding-right: 18px; }
  #resources .resource-money strong { font-size: 40px; }
}
