/* Financial planning stays scoped to the existing ERP workspace. */
.gsc-root{color:#202224;font:inherit;min-width:0}
.gsc-root *{box-sizing:border-box}
.gsc-root [hidden]{display:none!important}
.gsc-root h2,.gsc-root h3,.gsc-root h4{line-height:1.3;overflow-wrap:anywhere}
.gsc-root h2{font-size:23px;margin:0 0 10px}
.gsc-root h3{font-size:18px;margin:0 0 14px}
.gsc-root h4{font-size:16px;margin:0 0 12px}
.gsc-section{background:#fff;border:1px solid #e1e4e8;border-radius:16px;margin-bottom:24px;padding:24px;min-width:0}
.gsc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}
.gsc-head>div{min-width:0}
.gsc-note{color:#62676d;font-size:14px;line-height:1.55;margin:8px 0;overflow-wrap:anywhere}
.gsc-error{color:#a52b2b;font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}
.gsc-error:empty{display:none}
.gsc-notice{padding:14px 16px;background:#fff9de;border:1px solid #e5d897;border-radius:10px;color:#62521c;font-size:14px;line-height:1.55;margin:16px 0;overflow-wrap:anywhere}
.gsc-notice p{margin:0 0 8px}
.gsc-notice p:last-child{margin-bottom:0}
.gsc-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}
.gsc-stat{border:1px solid #e0e3e7;background:#fafbfc;border-radius:12px;padding:18px;min-width:0}
.gsc-stat dt{font-size:14px;line-height:1.4;color:#62676d;margin:0}
.gsc-stat dd{font-size:25px;font-weight:750;line-height:1.3;margin:10px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.gsc-stat small{display:block;font-size:12px;line-height:1.5;color:#62676d;font-weight:400;margin:7px 0 0}
.gsc-stat.gsc-emphasis{background:#fffce7;border-color:#e5d88b}
.gsc-negative{color:#9c2929}
.gsc-positive{color:#32623d}
.gsc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.gsc-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.gsc-field{display:flex;flex-direction:column;gap:7px;margin:0 0 14px;min-width:0;font-size:14px;font-weight:600}
.gsc-field small{font-size:12px;line-height:1.45;color:#62676d;font-weight:400}
.gsc-root input:not([type=checkbox]):not([type=radio]),.gsc-root select,.gsc-root textarea{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #cbd0d6;border-radius:8px;background:#fff;color:#202224;font:400 16px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}
.gsc-root textarea{resize:vertical}
.gsc-root input[type=checkbox],.gsc-root input[type=radio]{width:18px;height:18px;flex:0 0 auto;margin:2px 0 0;accent-color:#202224}
.gsc-root input:disabled,.gsc-root select:disabled,.gsc-root textarea:disabled{background:#f1f3f5;color:#62676d;opacity:1}
.gsc-root button:focus-visible,.gsc-root input:focus-visible,.gsc-root select:focus-visible,.gsc-root textarea:focus-visible,.gsc-root summary:focus-visible,.gsc-root a:focus-visible{outline:3px solid #6653c7;outline-offset:3px}
.gsc-root .gs-btn{font-size:14px;min-height:40px;white-space:normal;margin:2px}
.gsc-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:16px 0}
.gsc-toolbar-end{justify-content:flex-end}
.gsc-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5;margin:10px 0;overflow-wrap:anywhere}
.gsc-check small{display:block;color:#62676d;font-size:12px;margin-top:3px}
.gsc-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.gsc-source{border:1px solid #dfe3e7;border-radius:10px;padding:12px;margin:0;background:#fafbfc;min-width:0}
.gsc-source:has(input:checked){border-color:#c6b33b;background:#fffce7}
.gsc-source span{min-width:0}
.gsc-source strong{font-weight:650}
.gsc-fieldset{border:1px solid #dfe3e7;border-radius:12px;padding:20px;margin:20px 0;min-width:0}
.gsc-fieldset legend{padding:0 8px;font-size:17px;font-weight:700;max-width:100%;overflow-wrap:anywhere}
.gsc-permission-fieldset{padding:0;margin:0;border:0;min-width:0}
.gsc-fieldset> :last-child{margin-bottom:0}
.gsc-disabled-group{opacity:.75}
.gsc-disclosure{border:1px solid #dfe3e7;border-radius:12px;padding:16px;margin:20px 0;min-width:0}
.gsc-disclosure>summary{cursor:pointer;font-size:16px;font-weight:650;line-height:1.5;padding:4px 0}
.gsc-disclosure[open]>summary{margin-bottom:16px}
.gsc-table-wrap{overflow:auto;max-width:100%;border:1px solid #dfe3e7;border-radius:9px;margin:12px 0}
.gsc-root .gs-table{width:100%;margin:0}
.gsc-root .gs-table th{font-size:13px;white-space:normal;text-align:left}
.gsc-root .gs-table td{font-size:14px;vertical-align:top;white-space:normal;overflow-wrap:anywhere}
.gsc-root .gs-table small{display:block;font-size:12px;color:#62676d;margin-top:5px;line-height:1.45}
.gsc-root .gs-table .gsc-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.gsc-editor-table{min-width:820px}
.gsc-root .gsc-editor-table td{padding:8px}
.gsc-root .gsc-editor-table input,.gsc-root .gsc-editor-table select{min-width:80px;font-size:14px;padding:8px}
.gsc-editor-table .gsc-wide-input{min-width:170px}
.gsc-row-total{display:block;padding:10px 0;font-variant-numeric:tabular-nums;white-space:nowrap}
.gsc-badge{display:inline-block;border:1px solid #d8dde2;border-radius:20px;background:#f3f5f7;padding:4px 10px;color:#4d555e;font-size:12px;font-weight:600;line-height:1.4}
.gsc-badge-pending{background:#fff6d8;border-color:#e5d48c;color:#6f571a}
.gsc-badge-approved{background:#eaf5e9;border-color:#c7ddc3;color:#35603a}
.gsc-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:#62676d;font-size:13px;line-height:1.6;margin:12px 0}
.gsc-total{display:flex;justify-content:space-between;gap:20px;font-size:17px;line-height:1.4;padding:16px 0;border-top:1px solid #dfe3e7;margin-top:16px}
.gsc-total strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.gsc-empty{padding:20px;text-align:center;background:#f8f9fb;border:1px dashed #d4d9df;border-radius:10px;color:#62676d;font-size:14px;line-height:1.5;margin:14px 0}
.gsc-actions-note{font-size:13px;color:#62676d;line-height:1.5;max-width:660px}
.gsc-dirty{color:#7a5c00;font-size:13px;font-weight:600}
.gsc-approval{border-left:3px solid #dcc653;padding:8px 16px;margin:16px 0;background:#fffcf0;overflow-wrap:anywhere}
.gsc-approval p{margin:8px 0;font-size:14px;line-height:1.5;white-space:pre-wrap}
.gsc-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.gsc-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.gsc-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.gsc-section{padding:18px}.gsc-head{flex-direction:column;gap:8px}.gsc-grid,.gsc-grid-three,.gsc-sources{grid-template-columns:1fr}.gsc-fieldset{padding:14px}.gsc-stat{padding:14px}.gsc-stat dd{font-size:21px}.gsc-total{flex-wrap:wrap;gap:8px}.gsc-toolbar-end{justify-content:flex-start}.gsc-meta{gap:6px 12px}}
@media(max-width:420px){.gsc-summary{grid-template-columns:1fr}.gsc-stat dd{font-size:24px}}
@media print{.gsc-root form,.gsc-root .gsc-toolbar,.gsc-root [data-gsc-action]{display:none!important}.gsc-section{border:0;padding:0;break-inside:avoid}.gsc-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.gsc-stat{break-inside:avoid}.gsc-table-wrap{overflow:visible;border:0}.gsc-root .gs-table tr{break-inside:avoid}.gsc-root .gs-table thead{display:table-header-group}}
/* Existing factual ledger editor, separated from the confidential planning form. */
.gsa-editor{border:1px solid #d9dde2;border-radius:14px;padding:20px;margin:20px 0;background:#fafbfc}.gsa-editor>p{font-size:13px;line-height:1.6}.gsa-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gsa-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;font-weight:600}.gsa-field input,.gsa-field select,.gsa-field textarea{font:inherit;font-weight:400;width:100%;min-width:0;box-sizing:border-box;border:1px solid #d6dbe0;border-radius:9px;background:#fff;padding:10px 12px;min-height:42px}.gsa-field textarea{min-height:80px}.gsa-wide{grid-column:1/-1}.gsa-confirm{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.55;padding:16px 0}.gsa-confirm input{flex:0 0 auto;width:18px;height:18px;margin-top:3px}.gsa-calculated{font-size:16px!important}.gsa-history{display:flex;align-items:center;gap:8px;font-size:13px;margin:12px 0}.gsa-table{min-width:750px}.gsa-table small{display:block;color:#747e88;margin-top:4px}.gsa-table td:last-child{white-space:nowrap}.gsa-table .gs-btn{margin:3px;font-size:12px}.gsa-cancelled{color:#6d7882}.gsa-cancelled td:nth-child(5){text-decoration:line-through}.gsa-editor .gso-toolbar{display:flex;gap:10px;flex-wrap:wrap}.gsc-root [data-actual-costs] .gsc-head .gso-toolbar{display:flex;gap:8px;flex-wrap:wrap}@media(max-width:600px){.gsa-fields{grid-template-columns:1fr}.gsa-editor{padding:14px}.gsa-field input,.gsa-field select,.gsa-field textarea{font-size:16px}.gsa-confirm{font-size:14px}.gsc-root [data-actual-costs] .gsc-head{align-items:flex-start;flex-wrap:wrap}}
