/* Installed workstation fonts only: no font files are uploaded or redistributed. */
@font-face{font-family:SonicYoon;src:local("Yoon 윤고딕 520_TT"),local("Yoon YGO 520_TT"),local("YGO520");font-weight:300;font-display:swap}
@font-face{font-family:SonicYoon;src:local("Yoon 윤고딕 530_TT"),local("Yoon YGO 530_TT"),local("YGO530");font-weight:400;font-display:swap}
@font-face{font-family:SonicYoon;src:local("Yoon 윤고딕 540_TT"),local("Yoon YGO 540_TT"),local("YGO540");font-weight:500 600;font-display:swap}
@font-face{font-family:SonicYoon;src:local("Yoon 윤고딕 550_TT"),local("Yoon YGO 550_TT"),local("YGO550");font-weight:650 900;font-display:swap}
:root{--bg:#f5f4f3;--surface:#fff;--surface2:#f6f7fa;--text:#302c2d;--muted:#7d7575;--line:#e3e7ef;--primary:#b83236;--primary-soft:#faeeee;--red:#ca5262;--blue:#3477aa;--green:#268a78;--radius:16px;--shadow:0 2px 3px #23304703,0 8px 26px #23304704;font-family:SonicYoon,"Malgun Gothic","Apple SD Gothic Neo",sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
/* Keep the installed Yoon outlines. Tiny sizes and tightly packed glyphs make
   this older face harsh on Windows; smoothing flags alone do not fix that. */
body{font-size:14px;line-height:1.65;letter-spacing:0;text-rendering:geometricPrecision;-webkit-text-stroke:.12px currentColor}
button,input,select,textarea{font-family:inherit;letter-spacing:inherit}
button,.pnl-link-button,.monitor-page-head .link-btn{font-size:13px;font-weight:500;min-height:38px;border-radius:9px;border-color:var(--line);box-shadow:0 1px 2px #28304404;transition:background .15s,border-color .15s,box-shadow .15s}
button:hover,.pnl-link-button:hover{border-color:#c6cede;background:#f1f3f8}
button.primary{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 3px 8px #b832361b}
button.primary:hover{background:#98272c;border-color:#98272c}
.ghost{box-shadow:none;border-color:transparent}
.tiny{font-size:12px;min-height:30px}
button:focus-visible,a:focus-visible,.pc-plot:focus-visible{outline:3px solid #dfa0a0;outline-offset:3px}
input,select,textarea{font-size:14px;border-color:#dfe4ed;background:#fcfdff;box-shadow:inset 0 1px 2px #172a4803}
input:focus,select:focus,textarea:focus{border-color:#cb8385;box-shadow:0 0 0 3px #b832360d}
h1{font-size:27px;font-weight:700;letter-spacing:-.025em;line-height:1.4;-webkit-text-stroke:0}
h2{font-size:16px;font-weight:600;letter-spacing:-.025em}
h3{font-weight:600;letter-spacing:-.02em}
.content{max-width:1600px;padding:32px 40px 48px}
.topbar{height:66px;background:#ffffffd9;backdrop-filter:blur(16px);border-color:#e5e9f1}
.breadcrumbs{font-size:12px;color:#7e889a}.breadcrumbs strong{font-weight:500;color:var(--text)}
.page-head{margin-bottom:24px;gap:20px}.page-head .actions{gap:8px}
.sidebar{background:linear-gradient(180deg,#ffffff 0%,#fdfdfe 100%);border-color:#e0e5ee;padding-top:29px}
.brand-mark{background:var(--primary);border-radius:10px;box-shadow:0 4px 9px #b8323619}.brand-name{font-family:SonicYoon,sans-serif;font-size:23px;letter-spacing:.07em;font-weight:700}.brand-caption{font-size:10px;letter-spacing:.02em;margin-top:15px;color:#8a92a4}
.nav-label{font-size:9px;letter-spacing:.16em;color:#9aa3b3}
.nav-list{gap:6px}.nav-item{border-radius:9px;padding:11px 13px;font-size:13px;font-weight:400;color:#727d91;min-height:43px;box-shadow:none}
.nav-item.active{color:#a82e32;background:#faeeee;font-weight:600;box-shadow:inset 0 0 0 1px #b832360b}.nav-item .icon{height:18px;width:18px;stroke-width:1.6}.nav-item.active:after{width:4px;height:4px}
.sidebar-foot .member strong{font-weight:600}.member .avatar{background:#faeeee;color:var(--primary)}
.panel,.metric,.project-card{border-color:var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:var(--surface)}
.panel-head{padding:20px 23px 15px}.panel-body{padding:0 23px 22px}.panel-head p{color:var(--muted);font-size:12px}
.metric{padding:22px;min-height:132px}.metric-top{font-size:12px;color:#737d91;font-weight:500;line-height:1.5}.metric-value{font-size:30px;font-weight:600;letter-spacing:-.045em;line-height:1.4}.metric-value em{font-style:normal;font-size:11px;letter-spacing:0;margin-left:7px;font-weight:400;color:#9099a8}
.metric-note{font-size:11px;color:#858fa1}.metrics{gap:14px}
.segmented{padding:4px;border:1px solid #e7eaf2;border-radius:10px;background:#f4f6fa;gap:2px;box-shadow:inset 0 1px 2px #24334903}
.segmented button{min-height:30px;font-size:12px;font-weight:400;padding:6px 12px;border:0;box-shadow:none;border-radius:7px;color:#7e889b;white-space:nowrap}
.segmented button.active{background:#fff;color:#a82e32;font-weight:600;box-shadow:0 1px 3px #2c395812,0 0 0 1px #e3e6f066}
.segmented button:hover{background:#fff;color:var(--primary)}
.pnl-controls{padding:17px 22px;margin-bottom:14px;background:linear-gradient(160deg,#fff,#fdfdff)}
.pnl-control-row{gap:12px;margin:7px 0}.pnl-control-row>span:first-child{font-size:11px;min-width:58px}.pnl-control-row .field{font-size:11px;min-width:155px}.pnl-control-row input{padding:8px 10px;font-size:12px}.pnl-control-row .muted{font-size:11px}
.pnl-team-buttons{gap:6px}.pnl-team-buttons button{padding:5px 10px;min-height:32px;font-size:12px}.pnl-team-buttons .primary{box-shadow:none}
.pnl-source-note{font-size:11px;margin:12px 2px;color:#838c9f}.pnl-source-note summary{color:#646f83}
.pnl-summary-five{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:22px}
.pnl-summary-card{padding:19px 20px 17px;min-height:130px;background:linear-gradient(145deg,#fff 72%,#f9fafc)}
.pnl-summary-card .metric-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;color:#556075;font-size:13px}
.pnl-metric-code{font-size:9px;letter-spacing:.08em;color:#939dad;font-weight:400}
.pnl-summary-card .metric-value{font-size:clamp(23px,2vw,30px);font-weight:600;white-space:nowrap}
.pnl-metric-date{font-size:10px;color:#9aa3b2;margin-top:9px;letter-spacing:0}
.pnl-chart-panel{overflow:hidden}.pc-heading{display:flex;justify-content:space-between;gap:20px;padding:24px 26px 21px;border-bottom:1px solid #eef0f5}.pc-heading h2{font-size:16px;font-weight:600}.pc-range-total{font-size:27px;line-height:1.4;font-weight:600;letter-spacing:-.035em;margin-top:10px;font-variant-numeric:tabular-nums}.pc-range-total small{font-size:11px;margin-left:6px;color:#8792a4;font-weight:400}.pc-range-total>span{font-size:11px;color:#8b94a5;margin-left:15px;font-weight:400;letter-spacing:0}
.pc-chart-options{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:18px}.pc-legend{display:flex;align-items:center;gap:20px;font-size:11px;color:#8a94a6}.pc-legend>span{display:flex;align-items:center;gap:7px}.pc-line-key{width:17px;height:3px;border-radius:3px;background:#ba4145}.pc-bar-key{height:10px;width:9px;border-radius:2px;background:linear-gradient(90deg,#da8290 50%,#83a9ca 50%)}
.pc-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px}.pc-plot-column{min-width:0;padding:22px 20px 0}.pc-plot{width:100%;outline:none;cursor:crosshair;touch-action:pan-y;border-radius:6px}.pc-svg{display:block;width:100%;height:auto;overflow:visible;font-family:inherit;user-select:none}.pc-svg text{font-family:inherit}.pc-axis{font-size:10px;fill:#929cad;letter-spacing:0}.pc-axis-title{font-size:11px;fill:#707b91}.pc-grid{stroke:#edf0f6;stroke-width:1;stroke-dasharray:3 5}.pc-grid.pc-zero{stroke:#dce1eb;stroke-dasharray:none}.pc-line{stroke:#ba4145;stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.pc-up{fill:#d77c8a}.pc-down{fill:#83a9ca}.pc-bar{opacity:.65}.pc-bar.is-active{opacity:1}.pc-crosshair{stroke:#bb8e8e;stroke-dasharray:3 4;stroke-width:1;pointer-events:none}.pc-active-dot{fill:#ba4145;stroke:#fff;stroke-width:3;filter:drop-shadow(0 1px 3px #ba41453d);pointer-events:none}
.pc-plot-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#9aa3b3;line-height:1.6;border-top:1px solid #f0f2f7;padding:13px 4px 15px;margin-top:8px;letter-spacing:0}
.pc-readout{padding:24px 22px;background:linear-gradient(135deg,#fafbfe,#f7f8fc);border-left:1px solid #e9edf4;min-width:0}.pc-readout-head{display:flex;align-items:center;gap:7px;font-size:10px;color:#929bb0}.pc-indicator{height:5px;width:5px;border-radius:50%;background:#bc6e70}.pc-date{font-size:20px;font-weight:600;margin-top:12px;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.pc-date-range{font-size:10px;color:#929cad;margin:3px 0 22px;letter-spacing:0}.pc-value-block{padding-bottom:19px;margin-bottom:18px;border-bottom:1px solid #e8ebf3}.pc-value-block>span{font-size:11px;color:#8a94a7;display:block;margin-bottom:6px}.pc-value-block strong{display:block;font-size:19px;letter-spacing:-.04em;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.pc-cumulative-value{color:#a63438}.pc-periods{margin:0}.pc-periods>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:11px 0}.pc-periods dt{font-size:11px;color:#8c96a8}.pc-periods dd{margin:0;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.pnl-comparison{margin-top:22px}.pnl-comparison th{font-size:11px;font-weight:400;color:#8b95a6;background:#fafbfe}.pnl-comparison td{font-size:13px;padding:14px 17px}.pnl-comparison td:first-child button{font-size:13px;font-weight:500;color:#525f76}.pnl-comparison tbody tr:hover{background:#fafbff}.pnl-comparison tr:last-child td{border-bottom:0}
table th{font-weight:500;color:#7a8598}table td{font-variant-numeric:tabular-nums}table td.num{letter-spacing:-.015em}
.project-card{padding:24px;transition:box-shadow .18s,border-color .18s}.project-card:hover{box-shadow:0 8px 28px #2535550b;border-color:#cfd6e6}.project-card h3{font-size:18px;line-height:1.6;margin-top:18px}.project-card>p{font-size:13px;line-height:1.85;color:#8993a6}.project-icon{border-radius:12px;background:#faeeee;color:#b45b5d}.project-foot{border-top:1px solid #edf0f5;padding-top:14px}.project-actions{gap:6px}.tag{font-size:10px;font-weight:400;border-radius:6px;padding:4px 8px}.tag.purple{background:#faeeee;color:#a95b5e}.tag.green{background:#edf7f3;color:#428a74}
.doc-item{padding-top:16px;padding-bottom:16px}.doc-main strong{font-size:14px;font-weight:500}.doc-meta{color:#9099a9;font-size:11px}.doc-icon{border-radius:9px;background:#f1f3fa;color:#a98282}.notice{border-color:#e3e8f1;background:#f8f9fc;font-size:12px;line-height:1.8}
.calendar-header{padding:18px 20px}.calendar-header h2{font-weight:600}.calendar-cell{padding:8px 6px}.calendar-weekdays>span{font-size:11px;color:#8993a5;padding:10px}.cal-event{font-size:10px;border-radius:5px;padding:4px 6px}.calendar-filters .filter-title{font-weight:500}.check-row{font-size:12px}.note-select{padding:17px}.note-paper{border-radius:16px}.note-paper .prose{font-size:15px;line-height:2}.modal{box-shadow:0 18px 80px #182a4730;border-color:#e2e6ef;border-radius:18px}.modal-head{padding:22px 25px}.modal-head h2{font-size:18px;font-weight:600}.modal-close{min-height:28px}.modal-backdrop{background:#1d294d42;backdrop-filter:blur(7px)}
/* Preserve the intentionally dense monitoring spreadsheet and neutral positions. */
.monitor-sheet{font-size:12px}.monitor-sheet td,.monitor-sheet th{padding:6px 9px;line-height:1.35}.monitor-toggle{min-height:18px;height:18px;box-shadow:none;border-radius:4px;padding:0;font-size:13px}.monitor-account{font-size:12px;min-height:0;box-shadow:none;border-radius:0}.monitor-hq-row td{font-weight:600;font-size:15px}.monitor-neutral{color:var(--text)}.monitor-sheet .monitor-name{background:var(--surface)}
@media(max-width:1200px){.content{padding:26px}.pnl-summary-five{gap:9px}.pnl-summary-card{padding:17px 14px}.pnl-summary-card .metric-value{font-size:23px}.pc-layout{grid-template-columns:minmax(0,1fr) 235px}.pc-readout{padding:23px 18px}.pc-value-block strong{font-size:17px}.pc-heading{padding:22px}.pc-chart-options .segmented button{padding:6px 9px}}
@media(max-width:980px){.pnl-summary-five{grid-template-columns:repeat(5,minmax(0,1fr))}.pnl-summary-card .metric-top{font-size:12px;display:block}.pnl-metric-code{display:block;font-size:8px;margin-top:3px}.pnl-summary-card .metric-value{font-size:20px}.pnl-summary-card .metric-value em{display:block;margin:2px 0 0;font-size:10px}.pc-layout{grid-template-columns:minmax(0,1fr)}.pc-readout{border-left:0;border-top:1px solid #e9edf4;display:grid;grid-template-columns:1fr 1fr;column-gap:22px;padding:20px 24px}.pc-readout-head,.pc-date,.pc-date-range{grid-column:1/-1}.pc-date-range{margin-bottom:16px}.pc-value-block{margin-bottom:0}.pc-periods{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.pc-heading{flex-wrap:wrap}.pc-chart-options{flex:1;min-width:250px}.pc-plot-column{padding:18px 15px 0}}
@media(max-width:700px){body{font-size:14px}.content{padding:23px 16px 34px}.topbar{height:60px;padding:0 16px}.page-head{display:block;margin-bottom:19px}.page-head h1{font-size:24px;margin-bottom:14px}.page-head .actions{flex-wrap:wrap}.page-head .actions button{font-size:11px;padding:7px 10px;min-height:34px}.page-head .actions button .icon{width:15px;height:15px}.page-head .pnl-link-button{font-size:11px;min-height:34px;padding:7px 10px}.sidebar{padding:0 5px;background:var(--surface)}.nav-item{font-size:10px;min-height:60px;height:60px;padding:7px 0;border-radius:0;gap:5px}.nav-item.active{box-shadow:none}.nav-list{gap:0}.nav-item .icon{height:19px;width:19px}.pnl-controls{padding:14px}.pnl-control-row{gap:8px;margin:9px 0}.pnl-control-row>span:first-child{font-size:10px}.pnl-controls .segmented{gap:1px}.pnl-controls .segmented button{font-size:10px;padding:5px 8px;min-height:29px}.pnl-team-buttons button{font-size:11px;min-height:30px;padding:5px 8px}.pnl-summary-five{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;padding:1px 1px 10px;margin:0 -1px 15px}.pnl-summary-card{flex:0 0 145px;scroll-snap-align:start;min-height:125px;padding:16px}.pnl-summary-card .metric-top{display:flex;font-size:12px}.pnl-metric-code{margin:0;font-size:8px}.pnl-summary-card .metric-value{font-size:25px}.pnl-summary-card .metric-value em{display:inline-block;font-size:9px;margin-left:5px}.pnl-metric-date{font-size:9px}.pc-heading{padding:20px 18px;gap:15px}.pc-heading h2{font-size:15px}.pc-range-total{font-size:25px}.pc-chart-options{min-width:0;align-items:flex-start;gap:11px;flex-basis:100%}.pc-chart-options .segmented button{padding:6px 9px;font-size:11px}.pc-legend{font-size:10px}.pc-plot-column{padding:16px 8px 0}.pc-plot-footer{font-size:9px;padding:12px 6px;gap:5px}.pc-readout{padding:20px 18px;gap:0 15px}.pc-date{font-size:19px}.pc-value-block strong{font-size:16px}.pc-periods dd{font-size:11px}.pc-periods{column-gap:18px}.pnl-comparison .panel-head{padding:18px}.pnl-comparison td{font-size:12px;padding:12px}.pnl-comparison th{white-space:nowrap}.panel{border-radius:14px}.project-card{padding:22px}.project-card h3{font-size:18px}.cal-event{font-size:9px;padding:3px 4px}.calendar-cell{padding:5px 3px}.metric:not(.pnl-summary-card){padding:16px}.metric:not(.pnl-summary-card) .metric-value{font-size:25px}.form-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.monitor-sheet td.tick-up,.monitor-sheet td.tick-down{animation:none}}
/* Retain the existing mobile system-theme preference. */
@media(max-width:700px) and (prefers-color-scheme:dark){
  :root{--bg:#151923;--surface:#1e2431;--surface2:#252d3c;--text:#e6eaf4;--muted:#a0aabd;--line:#333d50;--primary:#ef9c9c;--primary-soft:#432a2d;--red:#ed919d;--blue:#88b6dc;--green:#79c7b0;--shadow:0 3px 16px #00000012}
  .topbar{background:#1e2431ed;border-color:var(--line)}.sidebar{background:var(--surface);border-color:var(--line)}
  .pnl-controls,.pnl-summary-card,.pc-readout{background:var(--surface)}.pc-heading,.pc-readout,.pc-value-block,.pc-plot-footer,.project-foot{border-color:var(--line)}
  input,select,textarea{background:var(--surface2);border-color:var(--line);color:var(--text)}
  button:hover,.pnl-link-button:hover,.pnl-comparison tbody tr:hover{background:var(--surface2);border-color:#525f78}
  button.primary{background:#b83236;border-color:#b83236;color:#fff}.segmented{background:#171e2b;border-color:var(--line)}.segmented button.active,.segmented button:hover{background:#303a51;color:#ffd1d1;box-shadow:none}
  .nav-item.active{background:#432a2d;color:#ffd1d1}.pnl-summary-card .metric-top,.pnl-comparison td:first-child button{color:#c0c9da}
  .pc-grid{stroke:#30394b}.pc-grid.pc-zero{stroke:#59657c}.pc-line{stroke:#eb989b}.pc-cumulative-value{color:#efb3b5}.pc-axis,.pc-axis-title{fill:#9ca8bf}.pc-up{fill:#ed919d}.pc-down{fill:#88b6dc}.pc-active-dot{fill:#eb989b;stroke:var(--surface)}
  .pnl-comparison th,.notice{background:var(--surface2)}.modal{border-color:var(--line)}.project-card>p{color:var(--muted)}
}

/* Closing workbook date navigation and actionable review. */
.workbook-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 18px}
.workbook-toolbar .field{margin:0;min-width:150px}.workbook-download{margin-left:auto;display:inline-flex;gap:8px;align-items:center;padding:11px 16px;border-radius:10px;text-decoration:none;font-weight:600;background:var(--accent,#b63139);color:#fff;border:1px solid transparent;box-shadow:0 2px 6px #81192518}
.workbook-download svg{width:17px;height:17px}.workbook-issue{padding:16px 0;border-bottom:1px solid var(--line,#eee)}.workbook-issue:last-child{border:0}.workbook-issue small{color:var(--muted,#767676)}.workbook-issue-count{font-variant-numeric:tabular-nums;margin-left:3px}.workbook-tabs{display:flex;flex-wrap:wrap;gap:7px}
@media(max-width:700px){.workbook-toolbar{gap:10px}.workbook-toolbar .muted{width:100%;order:3}.workbook-download{margin-left:0}.workbook-panel h2{font-size:16px}.workbook-tabs button{padding:9px 12px}.workbook-filters{display:grid;grid-template-columns:1fr 1fr}}

.workbook-issue strong{display:block}.workbook-issue small{display:block;margin-top:6px}

.doc-item.research-item{flex-wrap:nowrap;cursor:default}
.research-item .research-open{display:flex;flex:1;min-width:0;align-items:center;gap:12px;padding:0;border:0;background:transparent;color:inherit;text-align:left;text-decoration:none;font:inherit;box-shadow:none}
.research-open:hover strong,.research-open:focus-visible strong{text-decoration:underline}
.research-item .research-info{flex:none;min-height:32px;padding:3px 6px;font-size:12px}

/* Editable execution cells remain stable during live quote refresh. */
.monitor-inline-number{box-sizing:border-box;width:100%;min-width:88px;max-width:150px;padding:7px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:right}
.monitor-inline-number:hover{border-color:var(--border,#d8dbe2)}
.monitor-inline-number:focus{outline:2px solid #b52d35;outline-offset:-2px;background:var(--surface,#fff)}
.monitor-inline-actions{display:inline-flex;gap:5px;align-items:center;flex-wrap:wrap;min-width:130px}
.monitor-inline-actions[hidden]{display:none}
.monitor-inline-error{flex-basis:100%;max-width:260px;white-space:normal;color:#b52d35}

/* Original downloads must remain visible without horizontal scrolling. */
.modal:has(#workbook-files-body){width:min(960px,calc(100vw - 20px));min-width:0}
#workbook-files-body{min-width:0}
.workbook-file-download{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:9px 10px;min-height:40px;background:var(--accent,#b63139);color:#fff;border-radius:8px;text-decoration:none;font-size:13px;font-weight:600;white-space:nowrap}
.workbook-file-download .icon{width:16px;height:16px;flex-shrink:0}
.workbook-file-download:focus-visible{outline:3px solid var(--text);outline-offset:2px}
@media(min-width:701px){#workbook-files-body table{table-layout:fixed;width:100%;min-width:0}#workbook-files-body th,#workbook-files-body td{white-space:normal;overflow-wrap:anywhere;padding:12px 8px}#workbook-files-body th:nth-child(1){width:112px}#workbook-files-body th:nth-child(2){width:96px}#workbook-files-body th:nth-child(4){width:170px}#workbook-files-body th:nth-child(5){width:104px}}
.monitor-date-status{display:inline-flex;align-items:center;gap:7px;align-self:end;min-height:40px;color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap;letter-spacing:-.15px}
.monitor-date-status[hidden]{display:none}
.monitor-connection-status{display:flex;align-items:center;gap:8px;margin:0 0 12px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:12px;background:var(--surface)}
.monitor-connection-status[hidden]{display:none}
.monitor-date-status svg{width:16px;height:16px;fill:none;stroke:var(--green);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.monitor-date-status[data-state=error]{color:var(--primary)}
.monitor-date-status[data-state=error] svg{stroke:currentColor}
.monitor-date-status button{padding:3px 7px;font:inherit;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text)}
.monitor-date-spinner{width:14px;height:14px;flex:none;border:1.7px solid var(--line);border-top-color:var(--primary);border-radius:50%;animation:monitor-date-spin .8s linear infinite}
@keyframes monitor-date-spin{to{transform:rotate(360deg)}}
#monitor-content:is([data-date-state=loading],[data-date-state=error])>:not(.monitor-toolbar){opacity:.45;transition:opacity .15s ease}
@media(max-width:700px){.monitor-toolbar .monitor-date-status{order:3;flex-basis:100%;min-height:22px;font-size:11px}.monitor-toolbar>small{order:4}}
@media(prefers-reduced-motion:reduce){.monitor-date-spinner{animation:none}}

/* Position detail typography: keep table values readable at normal zoom. */
#workbook-body .workbook-table{font-size:14px;line-height:1.6}
#workbook-body .workbook-table td{font-size:14px;font-weight:500;line-height:1.6;padding-top:12px;padding-bottom:12px}
#workbook-body .workbook-table th{font-size:13px;font-weight:600;line-height:1.5}
#workbook-body .workbook-table .column-button{font-size:inherit}
@media(max-width:700px){#workbook-body .workbook-table.mobile-records td:first-child{font-size:14px;font-weight:600}#workbook-body .workbook-table.mobile-records td:before{font-size:12px}}

/* Workbook overview remains a spreadsheet on PC and mobile. */
.w-overview-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.w-overview-heading>span,.w-overview-note{font-size:12px;color:var(--muted)}
#workbook-body .w-overview-wrap{max-height:none;overflow:auto;border:1px solid var(--line);border-radius:8px}
#workbook-body .w-overview-sheet{width:100%;min-width:860px;table-layout:fixed;border-collapse:separate;border-spacing:0}
.w-overview-name{width:26%}
#workbook-body .w-overview-sheet th,#workbook-body .w-overview-sheet td{padding:11px 12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--text);white-space:nowrap;letter-spacing:0}
#workbook-body .w-overview-sheet thead th{background:var(--surface2);font-size:13px;position:sticky;top:0;z-index:2}
#workbook-body .w-overview-sheet .num{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
#workbook-body .w-overview-sheet th:first-child,#workbook-body .w-overview-sheet td:first-child{white-space:normal;text-align:left}
#workbook-body .w-overview-sheet .w-overview-team td{background:var(--surface);font-weight:600}
#workbook-body .w-overview-sheet .w-overview-strategy td:first-child{padding-left:40px;font-size:13px}
#workbook-body .w-overview-sheet .w-overview-subtotal>*{background:var(--surface2);font-weight:700;border-top:1px solid #bac2ce}
#workbook-body .w-overview-sheet .w-overview-grand>*{background:var(--primary-soft);font-size:15px;font-weight:700;border-top:2px solid #b83236}
#workbook-body .w-overview-sheet .w-overview-section th{background:var(--surface2);color:var(--muted);font-size:12px;padding:8px 12px}
#workbook-body .w-overview-sheet .w-overview-excluded-detail>*{font-size:12px;font-weight:400}
.w-overview-toggle{display:inline-flex;align-items:center;justify-content:center;width:24px;min-height:24px;height:24px;padding:0;margin-right:8px;border:1px solid #bcc4cf;border-radius:5px;background:var(--surface);font-size:16px;vertical-align:middle}
.w-overview-spacer{display:inline-block;width:32px}.w-overview-partial{display:block;font-size:10px;color:var(--muted);font-weight:400}.w-overview-note{margin:12px 0;line-height:1.6}
@media(max-width:700px){#workbook-body .workbook-panel:has(.w-overview-sheet){padding:12px}#workbook-body .w-overview-sheet{min-width:800px}.w-overview-name{width:210px}#workbook-body .w-overview-sheet th:first-child,#workbook-body .w-overview-sheet td:first-child{position:sticky;left:0;z-index:1;background:var(--surface)}#workbook-body .w-overview-sheet thead th:first-child{z-index:3;background:var(--surface2)}#workbook-body .w-overview-sheet .w-overview-subtotal>:first-child{background:var(--surface2)}#workbook-body .w-overview-sheet .w-overview-grand>:first-child{background:var(--primary-soft)}}
/* File-only P&L upload must fit the mobile viewport, including its actions. */
.modal:has(#pnl-excel-form){width:min(620px,calc(100vw - 20px));max-width:calc(100vw - 20px);min-width:0}
.modal:has(#pnl-excel-form) .modal-body{min-width:0;overflow-wrap:anywhere}
#pnl-excel-form input[type=file]{max-width:100%}
