.budget-workspace{width:min(1240px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d8e4ed;border-radius:20px;color:#163750;background:#fff;box-shadow:0 24px 80px #001d3255;overflow:auto;font-size:14px}.budget-workspace::backdrop{background:#08283cbd;backdrop-filter:blur(4px)}.budget-workspace>header{display:flex;align-items:start;justify-content:space-between;gap:20px;padding:24px 28px;background:#f5f9fc;border-bottom:1px solid #dbe7ef}.budget-workspace header small{font-size:11px;letter-spacing:.12em;font-weight:800;color:#146092}.budget-workspace h2{margin:6px 0;font-size:25px}.budget-workspace p{line-height:1.6;color:#5b7283;margin:8px 0}.workspace-body{padding:24px 28px;display:grid;gap:20px}.workspace-context{display:grid;gap:6px}.workspace-context span,.workspace-note{color:#526c80;font-size:13px}.workspace-guide{border:1px solid #d4e4ef;background:#f5faff;border-radius:12px;padding:14px 18px;line-height:1.7}.workspace-guide summary{cursor:pointer;font-weight:700;color:#075385}.workspace-guide ol{padding-left:22px}.workspace-error:not([hidden]){padding:14px 18px;border:1px solid #e9b5bf;background:#fff2f4;border-radius:10px;color:#a0233e;line-height:1.5}.workspace-table-wrap{overflow-x:auto;border:1px solid #dce6ee;border-radius:12px}.workspace-table{border-collapse:collapse;width:100%;font-size:14px}.workspace-table th{padding:13px 12px;background:#f2f6fa;color:#527087;font-size:11px;text-transform:uppercase;letter-spacing:.05em;text-align:left;white-space:nowrap}.workspace-table td{padding:14px 12px;border-top:1px solid #e4ebf1;vertical-align:top}.workspace-table td:first-child{min-width:260px;width:40%;line-height:1.5}.workspace-table td:first-child>b,.workspace-table td small{display:block}.workspace-table td small{font-size:12px;color:#587285;margin-top:5px}.workspace-table td:nth-child(5){font-variant-numeric:tabular-nums;white-space:nowrap}.workspace-table tr.excluded{background:#faf5f5}.workspace-table tr.excluded td:first-child>b{text-decoration:line-through;color:#7c6770}.budget-workspace input:not([type=checkbox]),.budget-workspace select{font:inherit;color:inherit;box-sizing:border-box;min-height:42px;border:1px solid #cadbe7;border-radius:8px;background:#fff;padding:9px 11px;max-width:100%}.workspace-table input:not([type=checkbox]){width:120px;font-variant-numeric:tabular-nums}.workspace-table input.resource-reason{width:100%;margin-top:8px;font-size:13px}.budget-workspace input:focus,.budget-workspace select:focus{outline:2px solid #62a6d7;outline-offset:1px}.budget-workspace input[type=checkbox]{accent-color:#075385;width:16px;height:16px;vertical-align:middle}.budget-workspace label{line-height:1.5}.workspace-body>label,.resource-search>label{display:grid;gap:8px;font-weight:700}.workspace-link{border:0;background:none;color:#075b91;font:inherit;font-size:13px;font-weight:600;cursor:pointer;padding:7px 0;text-align:left}.reuse{display:block;margin-top:8px;font-size:12px}.resource-result{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:14px;width:100%;border:1px solid #dbe6ed;background:#fff;border-radius:8px;padding:12px 16px;color:#163750;font:inherit;margin-top:6px;cursor:pointer}.resource-result:hover{background:#edf6fc;border-color:#7cadd0}.resource-result span{white-space:nowrap;font-size:12px;color:#587285}.resource-search{padding:18px;border:1px solid #b6d3e7;border-radius:12px;background:#f5faff}.workspace-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #c5ded7;border-radius:14px;background:#f0f9f6;gap:16px;padding:20px}.workspace-totals div{display:grid;gap:8px}.workspace-totals small{font-size:12px;color:#4c7267}.workspace-totals b{font-size:21px;font-variant-numeric:tabular-nums}.workspace-transfer{display:grid;grid-template-columns:220px 1fr;gap:24px;padding:18px;border:1px solid #dbe6ed;border-radius:12px}.workspace-transfer label:first-child{display:grid;gap:6px}.workspace-transfer small{display:block;color:#607889;font-size:12px;margin-top:8px}.budget-workspace>footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #dbe6ed;display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:16px 28px;z-index:2}.budget-workspace footer>span{margin-right:auto;font-size:12px;color:#607889}.budget-workspace button:disabled{opacity:.5;cursor:wait}@media(max-width:760px){.workspace-body{padding:16px}.workspace-totals{grid-template-columns:1fr 1fr}.workspace-transfer{grid-template-columns:1fr}.budget-workspace>header{padding:18px}.budget-workspace>footer{padding:14px}.budget-workspace footer>span{display:none}.workspace-totals b{font-size:18px}}
.budget-entry-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0 12px;padding:18px 20px;background:#fff;border:1px solid #dce6ee;border-radius:14px}.budget-entry-toolbar>div:first-child{margin-right:auto;display:grid;gap:5px}.budget-entry-toolbar small{font-size:12px;color:#607889}.entry-mode{display:flex;gap:3px;padding:4px;border:1px solid #dce6ee;border-radius:10px;background:#f3f7fa;margin:0}.entry-mode label{display:flex;align-items:center;gap:7px;padding:9px 13px;border-radius:7px;cursor:pointer;font-size:14px}.entry-mode label:has(input:checked){background:#fff;color:#075385;box-shadow:0 1px 4px #16375018;font-weight:700}.entry-mode input{accent-color:#075385}.budget-sheet{padding:0;gap:12px}.budget-sheet[hidden]{display:none}.budget-sheet-table{font-size:14px;min-width:1100px}.budget-sheet-table td:first-child{min-width:250px;max-width:340px;width:30%}.budget-sheet-table td:not(:first-child){font-variant-numeric:tabular-nums;white-space:nowrap}.budget-sheet input,.budget-sheet select{box-sizing:border-box;font:inherit;border:1px solid #bad1e0;border-radius:7px;min-height:40px;padding:8px;color:#163750;background:#fff}.budget-sheet input[data-field]{width:96px!important}.budget-sheet input[data-search]{width:100%;margin-top:10px}.budget-sheet .sheet-entry{background:#f0f7fc}.budget-sheet .sheet-entry label{display:grid;gap:5px;white-space:normal}.budget-sheet .sheet-entry select{width:100%;margin-top:6px}.budget-sheet input:disabled{background:#e9eef2;color:#6e7f8e;cursor:not-allowed}.sheet-results:empty{display:none}.sheet-results{max-height:340px;overflow:auto}.budget-sheet-table td[colspan]{white-space:normal}.budget-sheet .workspace-error{margin:8px 0}.budget-entry-toolbar .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.entry-kind-dialog{max-width:620px!important}.entry-kinds{display:grid;gap:12px}.entry-kinds>label{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid #dce5ef;border-radius:12px;cursor:pointer}.entry-kinds>label:has(input:checked){border-color:#07558c;background:#f1f7fc}.entry-kinds small{display:block;margin-top:5px;color:#60778e}.composition-toggle{border:0;background:none;color:#123b5a;font:inherit;font-weight:650;text-align:left;cursor:pointer;padding:5px 0;white-space:normal}.composition-toggle:focus-visible{outline:2px solid #0967aa;outline-offset:4px}.composition-detail>td{padding:0!important}.composition-panel{padding:22px;background:#f3f7fb;border-left:3px solid #0967aa}.composition-panel-head,.composition-panel-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.composition-panel small{display:block;font-size:12px;color:#63778c;margin-top:6px}.component-sale-table{width:100%;border-collapse:collapse;font-size:14px;background:white}.component-sale-table td,.component-sale-table th{padding:12px!important;border-bottom:1px solid #dce5ef}.component-sale-table th{text-align:left;font-size:12px;color:#526b83}.component-sale-table input{width:90px!important;min-width:0!important}.component-sale-table input:disabled{background:#edf1f5;color:#607287;opacity:1}.composition-panel-foot{margin:16px 0 0}.composition-panel-head>span{white-space:nowrap;color:#07558c;font-weight:600}
.entry-kind-dialog header{padding:24px 28px;border-bottom:1px solid #dce5ef;background:#f5f9fc}.entry-kind-dialog footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 28px;border-top:1px solid #dce5ef}.entry-kind-dialog input[type=radio]{width:18px;min-height:18px;height:18px;padding:0;accent-color:#07558c}.sheet-stage-heading td{background:#eef4fa;padding:12px 16px!important}.sheet-stage-heading small{display:inline!important;margin-left:12px}.component-sale-table td:first-child{white-space:normal!important}.composition-toggle[aria-expanded=true]{color:#076aa3}
.scenario-guide-launch{display:flex;align-items:center;justify-content:space-between;gap:20px}.scenario-guide-launch p{margin:4px 0 0}.scenario-guide-launch button{white-space:nowrap}.scenario-guided-tour{position:fixed;margin:0;box-sizing:border-box;width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border:1px solid #b6d4e9;border-radius:16px;background:#fff;color:#183d59;box-shadow:0 16px 60px #001d3244;font-size:14px}.scenario-guided-tour::backdrop{background:rgba(8,30,45,.22)}.scenario-tour-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.scenario-tour-top span{color:#08649c;font-weight:750;letter-spacing:.08em;font-size:11px}.scenario-tour-top button{border:0;background:#edf4f9;color:#1c5275;border-radius:8px;width:32px;height:32px;cursor:pointer;font-size:20px}.scenario-guided-tour h3{font-size:20px;line-height:1.3;margin:12px 0}.scenario-guided-tour p{font-size:14px;line-height:1.65;color:#4b6378;margin:0 0 20px}.scenario-tour-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px}.scenario-tour-target{outline:3px solid #1b99df!important;outline-offset:4px;box-shadow:0 0 0 7px #def2ff!important;border-radius:8px}@media(max-width:600px){.scenario-guide-launch{align-items:stretch;flex-direction:column}.scenario-guided-tour{padding:18px}}
.budget-sheet td.sheet-editable{cursor:text;transition:background .15s;position:relative}.budget-sheet td.sheet-editable:hover{background:#edf6fd;box-shadow:inset 0 -2px #65a8d2}.budget-sheet td.sheet-editable:focus-visible{outline:2px solid #1476b5;outline-offset:-3px}.budget-sheet td.sheet-editable.editing{background:#edf6fd;padding:7px!important}.budget-sheet td.sheet-editable input{width:100%;min-width:85px;max-width:150px;border:1px solid #1476b5;border-radius:6px;font:inherit;font-variant-numeric:tabular-nums}.budget-sheet td.sheet-editable input[aria-invalid=true]{border-color:#b7354a;background:#fff4f5}.budget-sheet td.sheet-editable[aria-busy=true]{opacity:.65;cursor:wait}
.sheet-selection-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 18px;border:1px solid #b7d4e9;background:#edf6fd;border-radius:12px}.sheet-selection-bar[hidden],.budget-sheet tbody[hidden],.budget-sheet tr[hidden]{display:none!important}.sheet-selection-bar label{display:flex;align-items:center;gap:8px}.sheet-selection-bar small{width:100%;color:#526c80}.sheet-stage-summary{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.sheet-stage-summary button{border:0;background:none;font:inherit;font-weight:700;color:#123c5b;cursor:pointer;padding:6px}.sheet-stage-summary small{margin:0!important}.sheet-drag-handle{float:left;margin:0 8px 4px 0;padding:5px 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:#6c8295;cursor:grab;font-size:20px;line-height:1}.sheet-drag-handle:hover,.sheet-drag-handle[aria-pressed=true]{border-color:#85b7dc;background:#e4f1fb;color:#07558c}.sheet-selected>td{background:#e8f3fc!important}.sheet-selected>td:first-child{box-shadow:inset 3px 0 #1476b5}.sheet-drop-target>td{box-shadow:inset 0 3px #1476b5!important;background:#d9eefa!important}.sheet-drop-target.sheet-drop-after>td{box-shadow:inset 0 -3px #1476b5!important}.sheet-stage-heading.sheet-drop-target>td{outline:2px dashed #1476b5;outline-offset:-3px}
.budget-sheet-table{min-width:0!important;display:block}.budget-sheet-table>thead{display:none}.budget-sheet-table>tbody{display:block;width:100%}.budget-sheet-table>tbody>tr{width:100%;box-sizing:border-box}.budget-sheet-table>tbody>tr.sheet-item-record{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));background:#fff;border-bottom:1px solid #dbe6ef;padding:0 20px 16px;gap:0 8px}.budget-sheet-table .sheet-item-record>td{display:block;min-width:0!important;max-width:none!important;width:auto!important;border:0;padding:12px 6px;white-space:normal!important;overflow-wrap:anywhere}.budget-sheet-table .sheet-item-record>td:first-child{grid-column:1/-1;padding:20px 6px 14px;border-bottom:1px solid #edf1f5;font-size:15px;line-height:1.6}.budget-sheet-table .sheet-item-record>td:first-child>b{display:inline}.budget-sheet-table .sheet-item-record>td:first-child>.composition-toggle{font-size:15px;line-height:1.6;max-width:calc(100% - 44px);vertical-align:top;padding:0}.budget-sheet-table .sheet-item-record>td[data-label]:not([data-label=""])::before{content:attr(data-label);display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#60798c;margin-bottom:9px}.budget-sheet-table .sheet-item-record>td:last-child{grid-column:1/-1;padding:0;text-align:right}.budget-sheet-table .sheet-item-record .sheet-drag-handle{float:none;display:inline-block;vertical-align:top;margin-right:10px}.budget-sheet-table>tbody>.sheet-stage-heading,.budget-sheet-table>tbody>.composition-detail{display:table;width:100%;table-layout:fixed}.budget-sheet-table .sheet-stage-heading td{min-width:0!important;width:100%}.budget-sheet-table .sheet-entry{display:table;width:100%}.budget-association{margin-top:12px;max-width:900px;white-space:normal;font-size:13px}.budget-association label{display:grid;gap:7px;font-size:11px;font-weight:700;letter-spacing:.03em;color:#526e85}.budget-association input[type=search]{width:100%!important;max-width:none;font-size:14px;min-height:42px}.association-linked{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;color:#587285;font-size:12px}.association-linked span{padding:4px 8px;border-radius:6px;background:#eef6f7;max-width:100%;overflow-wrap:anywhere}.association-options{max-height:280px;overflow:auto;border:1px solid #bcd3e4;border-radius:10px;margin-top:6px;background:#fff}.association-options[hidden]{display:none}.association-options>button{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:12px;border:0;border-bottom:1px solid #edf1f5;background:white;text-align:left;font:inherit;color:#193e59;cursor:pointer}.association-options>button:hover,.association-options>button[aria-selected=true]{background:#edf6fd}.association-options mark{background:#fff0ad;color:#153b57;border-radius:2px}.association-options small{white-space:nowrap}.association-feedback{font-size:12px;line-height:1.5;color:#075385;margin-top:6px}.budget-sheet .sheet-item-record td.sheet-editable input{min-width:0;max-width:100%}@media(max-width:1000px){.budget-sheet-table>tbody>tr.sheet-item-record{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:560px){.budget-sheet-table>tbody>tr.sheet-item-record{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 10px 12px}.association-options>button{align-items:start;flex-direction:column;gap:4px}}
