:root {
  --color-surface-0:#fff;
  --color-surface-50:#f6f8fb;
  --color-border:#dbe2ea;
  --color-border-light:#edf1f5;
  --color-text-primary:#172033;
  --color-text-secondary:#475569;
  --color-text-tertiary:#64748b;
}
* { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; min-width:1180px; padding-top:0!important; background:#f6f8fb; color:#172033; font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif; }
.web-header { position:sticky; top:0; z-index:20; display:flex; justify-content:space-between; align-items:center; gap:24px; padding:15px 24px; color:#fff; background:linear-gradient(125deg,#173f73,#2563a7); box-shadow:0 3px 14px rgba(15,23,42,.18); }
.web-header h1 { margin:0 0 5px; font-size:22px; letter-spacing:.5px; }
.web-header p { margin:0; font-size:12px; opacity:.82; }
.web-header-actions { display:flex; gap:9px; }
.web-header-actions button { height:34px; padding:0 14px; border:1px solid rgba(255,255,255,.42); border-radius:7px; color:#19416f; background:#fff; cursor:pointer; font-weight:600; }
.web-header-actions button.secondary { color:#fff; background:rgba(255,255,255,.1); }
.web-update-note { margin:14px 22px 0; padding:10px 14px; border:1px solid #bfdbfe; border-radius:9px; color:#1e4f85; background:#eff6ff; font-size:12px; }
.panel { display:block; }
.web-layout { display:grid; grid-template-columns:205px minmax(0,1fr); gap:12px; align-items:start; padding:10px 20px 28px; }
.web-module-nav { position:sticky; top:104px; z-index:15; display:flex; flex-direction:column; gap:7px; max-height:calc(100vh - 116px); margin:0; padding:8px; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; border:1px solid #dbe5f0; border-radius:11px; background:#fff; box-shadow:0 2px 9px rgba(15,23,42,.06); }
.business-switch-title { padding:5px 7px 2px; color:#64748b; font-size:12px; font-weight:700; }
.business-module-grid { display:grid; grid-template-columns:1fr; gap:8px; padding-bottom:9px; border-bottom:1px solid #e8eef5; }
.business-module-section { display:grid; gap:6px; padding-bottom:8px; border-bottom:1px solid #edf1f5; }
.business-module-section:last-child { padding-bottom:0; border-bottom:0; }
.web-module-nav .business-module-section>button { min-height:54px; display:flex; flex-direction:column; justify-content:center; gap:3px; align-items:center; padding:7px 8px; border:1px solid #e2e8f0; border-radius:10px; color:#475569; background:#f8fafc; text-align:center; box-shadow:none; transition:transform 150ms cubic-bezier(.34,1.56,.64,1),filter 150ms cubic-bezier(.16,1,.3,1),border-color 180ms cubic-bezier(.16,1,.3,1),background-color 180ms cubic-bezier(.16,1,.3,1),box-shadow 200ms cubic-bezier(.16,1,.3,1); }
.web-module-nav .business-module-section>button:hover { border-color:#9dbbd9; background:#f0f6fd; transform:translateY(-1px); box-shadow:0 4px 11px rgba(15,23,42,.08); }
.web-module-nav .business-module-section>button:active { transform:scale(.985); filter:brightness(.97); }
.web-module-nav .business-module-section>button.active { border-color:#173f73; color:#fff; background:linear-gradient(135deg,#173f73,#2563a7); box-shadow:0 5px 14px rgba(23,63,115,.24); }
.business-module-icon { display:flex; width:31px; height:31px; flex:0 0 31px; align-items:center; justify-content:center; border-radius:9px; color:#fff; background:#7890aa; font-size:14px; font-weight:700; }
.business-module-grid button.active .business-module-icon { background:linear-gradient(135deg,#2563a7,#173f73); }
.business-module-grid strong { font-size:15px; line-height:1.2; }
.business-module-grid small { color:#94a3b8; font-size:10px; line-height:1.2; }
.business-module-grid button.active small { color:#dbeafe; }
.work-offset-navigation { display:flex; flex-direction:column; gap:7px; }
.business-module-section .work-offset-navigation { margin:0 2px 0 7px; padding-left:8px; border-left:2px solid #dbeafe; }
.nav-brand { display:flex; align-items:center; gap:10px; padding:7px 8px 10px; color:#173f73; font-size:17px; border-bottom:1px solid #e8eef5; }
.nav-brand-icon { display:inline-flex; width:32px; height:32px; align-items:center; justify-content:center; border-radius:9px; color:#fff; background:linear-gradient(135deg,#2563a7,#173f73); font-size:15px; }
.nav-group-label { display:flex; align-items:center; gap:7px; margin:4px 7px 0; color:#355b84; font-size:12px; font-weight:700; }
.nav-group-label span { width:4px; height:14px; border-radius:4px; background:#2563a7; }
.nav-group-label.muted { margin-top:10px; color:#7c5c24; }
.nav-group-label.muted span { background:#d99a24; }
.web-module-nav button { width:100%; min-height:64px; display:flex; align-items:center; gap:10px; padding:9px 10px; border:0; border-radius:8px; background:transparent; color:#52657b; cursor:pointer; text-align:left; font-size:14px; line-height:1.55; font-weight:650; transition:transform 150ms cubic-bezier(.34,1.56,.64,1),background-color 180ms cubic-bezier(.16,1,.3,1),color 180ms cubic-bezier(.16,1,.3,1),box-shadow 200ms cubic-bezier(.16,1,.3,1); }
.web-module-nav .work-offset-navigation>button:hover,.nav-collapsible-body>button:hover { color:#173f73; background:#edf4fc; transform:translateX(2px); }
.web-module-nav .work-offset-navigation>button:active,.nav-collapsible-body>button:active { transform:translateX(2px) scale(.985); }
.web-module-nav button.active { color:#fff; background:#2563a7; box-shadow:0 2px 6px rgba(37,99,167,.22); }
.nav-index { display:inline-flex; width:30px; height:30px; flex:0 0 30px; align-items:center; justify-content:center; border-radius:7px; color:#2563a7; background:#eaf3ff; font-size:12px; font-variant-numeric:tabular-nums; }
.web-module-nav button.active .nav-index { color:#174779; background:#fff; }
.view-unsold .signing-task-head { display:none!important; }
.unsold-placeholder { min-height:520px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:48px; border:1px solid #e1e8f0; border-radius:14px; color:#52657b; background:linear-gradient(145deg,#fff,#f7f9fc); box-shadow:0 4px 18px rgba(15,23,42,.06); text-align:center; }
.unsold-placeholder-icon { width:66px; height:66px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; border-radius:18px; color:#fff; background:linear-gradient(135deg,#d99a24,#b87212); font-size:26px; font-weight:700; box-shadow:0 9px 22px rgba(217,154,36,.22); }
.unsold-placeholder h2 { margin:0 0 10px; color:#172033; font-size:24px; }
.unsold-placeholder p { margin:0; font-size:15px; }
.unsold-placeholder-note { max-width:620px; margin-top:18px; padding:12px 18px; border-radius:9px; color:#8a5b12; background:#fff7df; font-size:13px; }
.business-external .web-header-actions,.business-external .web-update-note {
  visibility:hidden!important;
  pointer-events:none!important;
}
.business-external-host { min-width:0; }
.business-external-card { display:flex; align-items:center; gap:16px; padding:20px 22px; border:1px solid #dce5ef; border-radius:14px; background:linear-gradient(135deg,#fff,#f5f8fc); box-shadow:0 4px 16px rgba(15,23,42,.06); }
.business-external-icon { display:flex; width:58px; height:58px; flex:0 0 58px; align-items:center; justify-content:center; border-radius:16px; color:#fff; background:linear-gradient(135deg,#2563a7,#173f73); font-size:23px; font-weight:700; box-shadow:0 8px 20px rgba(37,99,167,.2); }
.business-external-copy { min-width:0; flex:1; }
.business-external-kicker { color:#2563a7; font-size:12px; font-weight:700; letter-spacing:.08em; }
.business-external-copy h2 { margin:3px 0 4px; color:#172033; font-size:23px; }
.business-external-copy p { margin:0; color:#64748b; font-size:13px; }
.business-external-status { padding:7px 12px; border-radius:999px; font-size:12px; font-weight:700; white-space:nowrap; }
.business-external-status.pending { color:#9a6700; background:#fff3cd; }
.business-external-status.ready { color:#047857; background:#d1fae5; }
.business-external-placeholder { min-height:470px; display:flex; flex-direction:column; align-items:center; justify-content:center; margin-top:12px; padding:40px; border:1px dashed #bfd0e2; border-radius:14px; color:#64748b; background:#fff; text-align:center; }
.business-port-mark { display:flex; width:72px; height:72px; align-items:center; justify-content:center; margin-bottom:16px; border-radius:20px; color:#2563a7; background:#eaf3ff; font-size:15px; font-weight:800; letter-spacing:.08em; }
.business-external-placeholder h3 { margin:0 0 9px; color:#172033; font-size:20px; }
.business-external-placeholder p { max-width:620px; margin:0; line-height:1.8; }
.business-port-fields { display:flex; gap:8px; margin-top:20px; }
.business-port-fields span { padding:6px 11px; border-radius:999px; color:#355b84; background:#eef5fc; font-size:12px; }
.business-external-frame { width:100%; min-height:680px; margin-top:12px; border:1px solid #dce5ef; border-radius:14px; background:#fff; }
.module-litigation .business-external-card { display:none; }
.module-litigation .business-external-frame { min-height:calc(100vh - 126px); margin-top:0; border:0; border-radius:0; background:transparent; }
.module-litigation .business-external-host { overflow:hidden; border:1px solid #dfe7f0; border-radius:12px; background:#f6f8fb; box-shadow:0 3px 12px rgba(15,23,42,.055); }
.module-settlement .business-external-card { display:none; }
.module-settlement .business-external-frame { min-height:calc(100vh - 126px); margin-top:0; border:0; border-radius:0; background:transparent; }
.module-settlement .business-external-host { overflow:hidden; border:1px solid #dfe7f0; border-radius:12px; background:#f3f6fa; box-shadow:0 3px 12px rgba(15,23,42,.055); }
.module-three-orders .business-external-card { display:none; }
.module-three-orders .business-external-frame { min-height:calc(100vh - 126px); margin-top:0; border:0; border-radius:0; background:transparent; }
.module-three-orders .business-external-host { overflow:hidden; border:1px solid #dfe7f0; border-radius:12px; background:#f3f6fa; box-shadow:0 3px 12px rgba(15,23,42,.055); }
.three-orders-navigation,.settlement-navigation,#workOffsetNavigation { gap:5px; }
.three-orders-navigation button,.settlement-navigation button,#workOffsetNavigation button { height:40px; min-height:40px; padding:5px 8px; gap:7px; font-size:12px; line-height:1.25; }
.three-orders-navigation button .nav-index,.settlement-navigation button .nav-index,#workOffsetNavigation button .nav-index { width:26px; height:26px; flex-basis:26px; border-radius:6px; font-size:11px; }
.three-orders-navigation .nav-group-label,.settlement-navigation .nav-group-label,#workOffsetNavigation .nav-group-label { margin-top:4px; font-size:11px; }
#workOffsetNavigation button { height:40px; min-height:40px; font-size:12px; }
#workOffsetNavigation button > span:last-child,.settlement-navigation button > span:last-child,.three-orders-navigation button > span:last-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nav-collapsible { margin-top:3px; }
.nav-collapsible>summary { min-height:34px; display:flex; align-items:center; gap:6px; padding:3px 4px 4px 0; border-radius:7px; cursor:pointer; list-style:none; user-select:none; }
.nav-collapsible>summary::-webkit-details-marker { display:none; }
.nav-collapsible>summary:hover { background:#f8fafc; }
.nav-collapsible>summary .nav-group-label { margin-top:0; }
.nav-collapsible-body { display:flex; flex-direction:column; gap:5px; padding-top:4px; }
.settlement-navigation .nav-group-label:first-child { margin-top:2px; }
@keyframes businessNavReveal { from { opacity:.7; } to { opacity:1; } }
@keyframes businessContentReveal { from { opacity:.9; } to { opacity:1; } }
.work-offset-navigation:not([hidden]) { animation:businessNavReveal 120ms ease-out; }
.business-external-host:not([hidden]),.signing-task-panel:not([hidden]) { animation:businessContentReveal 120ms ease-out; }
@media (prefers-reduced-motion:reduce) { .web-module-nav button,.work-offset-navigation,.business-external-host,.signing-task-panel { animation-duration:.01ms!important; transition-duration:.01ms!important; } }
.settlement-upload-panel { margin-top:12px; padding:22px; border:1px solid #dce5ef; border-radius:14px; background:#fff; box-shadow:0 4px 16px rgba(15,23,42,.055); }
.settlement-upload-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.settlement-upload-head span:first-child { color:#2563a7; font-size:12px; font-weight:700; }
.settlement-upload-head h3 { margin:4px 0 6px; color:#172033; font-size:21px; }
.settlement-upload-head p { margin:0; color:#64748b; font-size:13px; }
.settlement-rule-status { padding:7px 12px; border-radius:999px; color:#9a6700; background:#fff3cd; font-size:12px; font-weight:700; white-space:nowrap; }
.settlement-rule-status.ready { color:#047857; background:#d1fae5; }
.settlement-dropzone { min-height:220px; display:flex; flex-direction:column; align-items:center; justify-content:center; margin-top:20px; border:2px dashed #b8cce2; border-radius:14px; color:#52657b; background:#f8fbff; cursor:pointer; transition:all .18s ease; }
.settlement-dropzone:hover { border-color:#2563a7; background:#f0f6fd; transform:translateY(-1px); }
.settlement-file-icon { display:flex; width:64px; height:64px; align-items:center; justify-content:center; margin-bottom:12px; border-radius:17px; color:#fff; background:linear-gradient(135deg,#10b981,#047857); font-size:14px; font-weight:800; }
.settlement-dropzone strong { color:#173f73; font-size:17px; }
.settlement-dropzone small { margin-top:7px; color:#94a3b8; }
.settlement-file-info { margin-top:12px; padding:12px 14px; border-radius:9px; color:#64748b; background:#f1f5f9; font-size:13px; }
.settlement-file-info.ready { color:#065f46; background:#ecfdf5; border:1px solid #a7f3d0; }
.settlement-file-info span { color:#64748b; }
.settlement-file-info small { color:#64748b; line-height:1.8; }
.settlement-next-step { margin-top:12px; padding:12px 14px; border-left:4px solid #2563a7; border-radius:7px; color:#475569; background:#eff6ff; font-size:13px; line-height:1.7; }
.settlement-upload-confirm { display:flex; align-items:end; gap:10px; margin-top:12px; }
.settlement-upload-confirm label { display:flex; flex-direction:column; gap:5px; color:#64748b; font-size:11px; }
.settlement-upload-confirm input { width:220px; height:36px; padding:0 10px; border:1px solid #cfd9e5; border-radius:7px; }
.settlement-upload-confirm button { height:36px; padding:0 16px; border:0; border-radius:7px; color:#fff; background:#2563a7; cursor:pointer; font-weight:650; }
.web-module-view { display:none; }
.web-module-view.active { display:block; }
.signing-task-panel { min-width:0; max-width:none; margin:0; padding:0!important; }
.signing-task-head { margin-bottom:8px!important; align-items:center!important; }
.signing-task-head h2 { font-size:20px!important; margin-bottom:2px!important; }
.dashboard-filter-strip { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; padding:8px; border:1px solid #dfe7f0; border-radius:12px; background:#fff; box-shadow:0 3px 12px rgba(15,23,42,.055); }
.dashboard-scope-tabs { display:flex; align-items:center; gap:6px; min-width:0; }
.dashboard-scope-tabs button { min-width:86px; height:42px; padding:0 18px; border:0; border-radius:8px; color:#53657a; background:transparent; cursor:pointer; font-size:14px; font-weight:650; transition:all .18s ease; }
.dashboard-scope-tabs button:hover { color:#173f73; background:#edf4fc; }
.dashboard-scope-tabs button.active { color:#fff; background:#173f73; box-shadow:0 4px 10px rgba(23,63,115,.2); }
.dashboard-month-picker { display:flex; align-items:center; gap:10px; flex:0 0 auto; padding:0 8px; color:#64748b; font-size:13px; font-weight:650; white-space:nowrap; }
.dashboard-month-picker select { min-width:150px; height:38px; padding:0 10px; border:1px solid #d2dce8; border-radius:8px; color:#172033; background:#fff; font-size:14px; }
.signing-task-section-title { margin:12px 0 7px!important; }
.signing-task-section-title.compact { margin-top:8px!important; }
.st-kpi-grid { gap:8px!important; }
.st-kpi-grid-six { grid-template-columns:repeat(6,minmax(145px,1fr))!important; }
.st-kpi-grid-seven { grid-template-columns:repeat(4,minmax(180px,1fr))!important; }
.st-kpi-grid-five { grid-template-columns:repeat(3,minmax(210px,1fr))!important; }
.st-kpi-grid-three { grid-template-columns:repeat(3,minmax(180px,1fr)); }
.st-kpi { min-height:76px!important; padding:9px 12px!important; border:1px solid #e2e8f0!important; border-left-width:4px!important; border-radius:9px!important; }
.st-kpi { display:flex; flex-direction:column; justify-content:center; box-shadow:0 3px 10px rgba(15,23,42,.05)!important; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.st-kpi:hover { transform:translateY(-1px); box-shadow:0 7px 18px rgba(15,23,42,.09)!important; }
.st-kpi-grid-seven .st-kpi { min-width:0; min-height:82px!important; padding:10px 13px!important; }
.st-kpi-grid-seven .st-kpi-value { font-size:23px!important; white-space:nowrap; letter-spacing:-.2px; }
.st-kpi-grid-seven .st-kpi-value span { margin-left:4px; font-size:11px!important; }
.st-kpi-grid-seven .st-kpi-note { overflow:visible; white-space:normal; }
.st-kpi-grid-five .st-kpi { min-height:82px!important; padding:10px 13px!important; }
.st-kpi-grid-five .st-kpi-value { font-size:23px!important; }
.st-kpi-label { margin-bottom:4px!important; color:#64748b!important; font-size:11px!important; font-weight:650!important; line-height:1.35!important; }
.st-kpi-value { color:#173f73!important; font-size:22px!important; line-height:1.08!important; font-variant-numeric:tabular-nums; }
.st-kpi-value span { font-size:11px!important; }
.st-kpi-note { min-height:13px!important; margin-top:4px!important; color:#7c8ca0!important; font-size:10px!important; line-height:1.35!important; }
.signing-task-card { overflow:hidden; border:1px solid #e2e8f0!important; border-radius:10px!important; box-shadow:0 3px 10px rgba(15,23,42,.05)!important; }
.signing-task-card-title { min-height:42px; padding:10px 14px!important; color:#173f73!important; font-size:14px!important; font-weight:700!important; }
.signing-task-chart-grid { gap:10px!important; margin-top:10px!important; }
.signing-task-chart { height:245px!important; }
.st-signing-trend-card { margin-top:10px; }
.st-signing-trend-card .signing-task-chart { height:300px!important; }
.overview-signing-divider,.overview-plan-divider { height:1px; margin:18px 2px 10px; background:linear-gradient(90deg,transparent,#cbd8e7 12%,#cbd8e7 88%,transparent); }
.st-region-grid { grid-template-columns:repeat(5,minmax(175px,1fr))!important; gap:8px!important; }
.st-region-grid.single { grid-template-columns:minmax(240px,360px)!important; }
.st-region-card { padding:10px 12px!important; border-radius:9px!important; }
.st-region-card-head { margin-bottom:7px!important; }
.st-region-card-head strong { font-size:14px!important; }
.st-region-metrics { gap:5px 8px!important; }
.st-region-metrics b { font-size:12px!important; }
.st-region-pending { margin-top:7px!important; padding-top:6px!important; }
.st-data-filterbar { display:flex; flex-wrap:wrap; align-items:end; gap:10px; padding:10px 12px; border:1px solid #dbe5f0; border-radius:9px; background:#fff; }
.st-data-filterbar label { display:flex; flex-direction:column; gap:4px; min-width:170px; color:#64748b; font-size:11px; }
.st-data-filterbar select { height:34px; padding:0 9px; border:1px solid #cfd9e5; border-radius:7px; color:#172033; background:#fff; }
.st-data-filterbar input { height:34px; padding:0 10px; border:1px solid #cfd9e5; border-radius:7px; color:#172033; background:#fff; }
.st-data-filterbar .st-house-picker { min-width:280px; flex:1 1 360px; }
.st-data-source-pill { margin-left:auto; min-width:86px; padding:8px 11px; border-radius:999px; color:#1d4f82; background:#eaf3ff; font-size:11px; font-weight:650; text-align:center; white-space:nowrap; }
.st-top-submit { height:34px; padding:0 15px; border:0; border-radius:7px; color:#fff; background:#2563eb; cursor:pointer; font-weight:600; white-space:nowrap; }
.st-plan-toolbar { grid-template-columns:145px 160px minmax(240px,1fr) auto minmax(170px,auto)!important; padding:10px 12px!important; }
.st-submit-feedback { display:none!important; }
.signing-task-save-status:not(:empty) { position:fixed; right:24px; top:96px; z-index:1000; display:block; max-width:420px; padding:10px 16px; border-radius:9px; white-space:nowrap; font-size:13px; font-weight:600; box-shadow:0 10px 28px rgba(15,23,42,.18); }
.signing-task-save-status.success { color:#047857; background:#d1fae5; border:1px solid #a7f3d0; }
.signing-task-save-status.error { color:#b91c1c; background:#fee2e2; border:1px solid #fecaca; }
.signing-task-save-status.saving { color:#1d4ed8; background:#dbeafe; border:1px solid #bfdbfe; }
.st-submit-feedback.success { color:#047857; background:#d1fae5; }
.st-submit-feedback.error { color:#b91c1c; background:#fee2e2; }
.st-submit-feedback.saving { color:#1d4ed8; background:#dbeafe; }
.st-workspace-card,.st-review-card { margin-top:10px!important; }
@media print {
  .web-header-actions,.web-update-note,.web-module-nav,.st-plan-toolbar,.st-review-card { display:none!important; }
  .web-header { position:static; color:#172033; background:#fff; box-shadow:none; }
  .web-layout { display:block; padding:0; }
  body { min-width:0; }
}
@media (max-width:1250px) {
  .st-kpi-grid-six { grid-template-columns:repeat(3,minmax(145px,1fr))!important; }
  .st-kpi-grid-seven { grid-template-columns:repeat(4,minmax(140px,1fr))!important; }
  .st-kpi-grid-five { grid-template-columns:repeat(3,minmax(180px,1fr))!important; }
  .st-region-grid { grid-template-columns:repeat(5,minmax(160px,1fr))!important; }
}
@media (max-width:1450px) {
  .dashboard-filter-strip { align-items:flex-start; flex-wrap:wrap; }
  .dashboard-scope-tabs { flex-wrap:wrap; }
  .dashboard-scope-tabs button { min-width:76px; padding:0 13px; }
  .dashboard-month-picker { margin-left:auto; }
}
