:root{color:#18283a;font-synthesis:none;--ink:#18283a;--muted:#4c6174;--line:#d4dee7;--surface:#fff;--accent:#146651;--accent-dark:#0e4e40;--accent-light:#eaf7f2;--negative:#983643;--warning:#744b06;background:#eef3f7;font-family:Inter,Segoe UI,system-ui,sans-serif;font-size:100%;line-height:1.5}*,:before,:after{box-sizing:border-box}body{min-width:280px;margin:0}h1,h2,h3,p,dl,dd{margin:0}h2{letter-spacing:-.025em;font-size:1.25rem}h3{font-size:1rem}p{overflow-wrap:anywhere}button,select,input{font:inherit}button,select{cursor:pointer}:focus-visible{outline-offset:3px;outline:3px solid #178475}[disabled]{cursor:default;opacity:.65}.app-header{color:#f5f8fc;background:#11263b;border-bottom:3px solid #299783}.header-inner,.page{width:min(100% - 3rem,1440px);margin-inline:auto}.header-inner{justify-content:space-between;align-items:center;gap:1.5rem;min-height:6.5rem;display:flex}.brand{align-items:center;gap:.875rem;display:flex}.brand-mark,.empty-icon{border-radius:.65rem;flex:none;justify-content:center;align-items:end;gap:.19rem;width:2.75rem;height:2.75rem;padding-bottom:.68rem;display:inline-flex}.brand-mark{color:#176b57;background:#bceedd}.brand-mark i,.empty-icon i{background:currentColor;border-radius:.2rem;width:.28rem;height:.55rem}.brand-mark i:nth-child(2),.empty-icon i:nth-child(2){height:.86rem}.brand-mark i:nth-child(3),.empty-icon i:nth-child(3){height:1.15rem}.brand-label{color:#b5cbdc;font-size:.79rem;font-weight:600}h1{letter-spacing:-.04em;font-size:clamp(1.35rem,2.9vw,2.05rem);line-height:1.18}nav,.button-row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}nav a{color:#e3edf6;border-radius:.375rem;padding:.45rem .65rem;font-size:.9rem;text-decoration:none}nav a:hover{background:#243d55}nav a:focus-visible{outline-color:#bceedd}.workspace-fields{border:0;gap:1.25rem;min-width:0;margin:0;padding:0;display:grid}.workspace-fields[disabled]{opacity:1}.signed-in{overflow-wrap:anywhere}.page{gap:1.25rem;padding-block:1.5rem;display:grid}.panel{background:var(--surface);border:1px solid var(--line);border-radius:.85rem;min-width:0;box-shadow:0 2px 5px #18283a08}.portfolio-tools,.section-heading{padding:1.1rem 1.25rem}.portfolio-tools-main,.section-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.portfolio-tools-main>.field{width:min(100%,24rem)}.section-heading p,.portfolio-tools p{color:var(--muted);margin-top:.2rem;font-size:.9rem}.section-heading{border-bottom:1px solid var(--line)}button{min-height:2.55rem;color:var(--ink);background:var(--surface);border:1px solid #a9b9c7;border-radius:.45rem;justify-content:center;align-items:center;padding:.45rem .85rem;font-size:.875rem;font-weight:650;display:inline-flex}button:hover:not(:disabled){background:#eef4f8;border-color:#8296a7}button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}button.primary:hover:not(:disabled){background:var(--accent-dark)}button.danger{color:#fff;background:#9b3340;border-color:#9b3340}button.danger:hover:not(:disabled){background:#74252d}button.danger-text,.error,[data-sign=negative]{color:var(--negative)}button.text-button{min-height:2rem;color:var(--accent-dark);border-color:#0000;padding:.25rem .35rem}button.text-button.danger-text{color:var(--negative)}.field{align-content:start;gap:.25rem;min-width:0;display:grid}.field label,legend{font-size:.875rem;font-weight:650}.field input,.field select{background:var(--surface);width:100%;min-width:0;min-height:2.6rem;color:var(--ink);border:1px solid #a9b9c7;border-radius:.42rem;padding:.4rem .65rem}.field select{appearance:none;background-image:linear-gradient(45deg,#0000 50%,#52697b 50%),linear-gradient(135deg,#52697b 50%,#0000 50%);background-position:calc(100% - 1rem) 53%,calc(100% - .7rem) 53%;background-repeat:no-repeat;background-size:.3rem .3rem;padding-right:2.1rem}.field input[aria-invalid=true]{border-color:var(--negative)}small{font-size:.8rem}.muted{color:var(--muted)}.editor{background:#f4f9fa;border:1px solid #abc5ca;border-radius:.6rem;margin:1rem 1.25rem;padding:1rem}.portfolio-tools .editor{margin-inline:0;margin-bottom:0}.editor h3{overflow-wrap:anywhere;margin-bottom:.75rem}.import-panel .section-heading{padding:0}.import-panel h3{margin:0}.import-panel .form-grid,.import-diff,.import-review,.import-mapping>button{margin-block:.85rem}.import-panel .table-scroll{border:1px solid var(--line);background:#fff}.import-panel table{min-width:100%}.import-counts,.import-pages{flex-wrap:wrap;align-items:center;gap:.5rem;margin-block:.75rem;display:flex}.import-issues{min-width:14rem;margin:.35rem 0 0;padding-inline-start:1rem}.import-cell{overflow-wrap:anywhere;max-width:20rem}.import-notice{color:var(--accent);margin:1rem 1.25rem}.form-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.85rem;display:grid}.form-actions{margin-top:.9rem}.delete-editor{background:#fff8f8;border-color:#e8c2c8}.register-controls{border-bottom:1px solid var(--line);background:#f7fafc;flex-wrap:wrap;align-items:end;gap:1rem 1.4rem;padding:.9rem 1.25rem;display:flex}.register-controls .field{min-width:min(100%,12rem);max-width:100%}.check{align-items:center;gap:.45rem;min-height:2rem;padding-block:.5rem;font-size:.875rem;display:inline-flex}input[type=checkbox],input[type=radio]{width:1rem;height:1rem;accent-color:var(--accent);flex:none;margin:0}.account-controls{max-width:100%;margin-left:auto}.account-controls summary{cursor:pointer;padding:.5rem;font-size:.875rem;font-weight:650}.account-controls ul{margin:0;padding:.15rem .5rem;list-style:none}.account-controls li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.account-controls li span{overflow-wrap:anywhere}.account-controls li+li{border-top:1px solid var(--line)}.empty-state{text-align:center;color:var(--muted);padding:2rem 1rem}.empty-icon{color:#41708a;background:#e5f0f5;margin-bottom:.45rem}.empty-title{color:var(--ink);margin-bottom:.15rem;font-weight:700}.table-scroll{border-radius:0 0 .85rem .85rem;overflow-x:auto}.table-scroll:focus-visible{outline-offset:-3px}table{border-collapse:collapse;width:100%;font-size:.875rem}th,td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:.75rem .6rem}th:first-child,td:first-child{padding-left:1.25rem}th:last-child,td:last-child{padding-right:1.25rem}th[scope=col]{color:#344f66;white-space:nowrap;background:#edf4f8}tbody tr:nth-child(2n){background:#f8fbfd}tfoot tr{background:#edf4f8;font-weight:650}tfoot tr:last-child>*{border-bottom:0}.num{text-align:right;font-variant-numeric:tabular-nums}.badge,.flag{white-space:nowrap;border-radius:.35rem;width:fit-content;padding:.125rem .38rem;font-size:.78rem;font-weight:650;display:inline-block}.badge{color:#32566f;background:#e8f1f7}.flag{color:var(--warning);background:#fff3d7}.cell-detail,td.num>small{white-space:nowrap;margin-top:.2rem;margin-left:auto;display:block}.cell-detail,.quote-meta{color:var(--muted)}.quote-meta{white-space:nowrap;gap:.125rem;font-size:.8rem;display:grid}.quote-refresh-summary{color:var(--muted);flex-wrap:wrap;gap:.375rem 1.25rem;padding:.75rem 1.25rem;font-size:.875rem;display:flex}.quote-refresh-summary p{margin:0}.row-actions{flex-wrap:wrap;gap:.1rem;display:flex}td .row-actions{white-space:nowrap;flex-wrap:nowrap}.simulation-notice{color:#195344;background:#eaf7f2;border-bottom:1px solid #c6e6da;padding:.65rem 1.25rem;font-size:.9rem;font-weight:650}.scenario-body{grid-template-columns:minmax(15rem,.8fr) minmax(0,2fr);align-items:start;gap:1.25rem;padding:1.25rem;display:grid}.scenario-inputs{gap:.85rem;display:grid}.scenario-terms,.result-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.price-controls{flex-wrap:wrap;align-items:center;gap:.25rem .5rem;display:flex}.price-controls small{flex-basis:100%}.target-kind{border:1px solid var(--line);border-radius:.4rem;min-width:0;margin:0;padding:.35rem .6rem .6rem}.target-kind label{align-items:center;gap:.3rem;margin-right:.65rem;font-size:.875rem;display:inline-flex}.result-placeholder{text-align:center;background:#f8fbfd;border:1px dashed #a9bdcc;border-radius:.6rem;align-content:center;gap:.35rem;min-height:12rem;padding:1rem;display:grid}.result-placeholder p,.valuation-note{color:var(--muted);font-size:.875rem}.valuation-note{margin-top:.75rem}.result-columns{align-items:start}.metric-card{background:#f4f8fb;border:1px solid #c8d7e2;border-radius:.6rem;overflow:hidden}.metric-card.simulated{background:#f0faf6;border-color:#b5dfd0}.metric-card h3{background:#e7f0f6;border-bottom:1px solid #c8d7e2;padding:.65rem .85rem}.metric-card.simulated h3{color:#194e40;background:#d7f0e6;border-color:#b5dfd0}.metric-card dl{padding-inline:.85rem;font-size:.875rem}.metric-card dl div{flex-wrap:wrap;justify-content:space-between;gap:.15rem .6rem;padding:.48rem 0;display:flex}.metric-card dl div+div{border-top:1px solid #d4dee7}.metric-card dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-weight:650}.scenario-errors{background:#fff8f8;border:1px solid #e8c2c8;border-radius:.5rem;margin:0;padding:.75rem 1.75rem}.settings-body,.storage-notice,.register-export{justify-items:start;gap:.75rem;padding:1rem 1.25rem;display:grid}.storage-notice,.data-prompt{background:#fffaf0;border:1px solid #ddc69d}.data-prompt{border-radius:.5rem;justify-items:start;gap:.75rem;width:100%;padding:.85rem;display:grid}.data-prompt table{width:min(100%,32rem)}.saved-scenarios{border-top:1px solid var(--line);justify-items:start;gap:.65rem;padding-top:.85rem;display:grid}@media (width<=900px){.scenario-body{grid-template-columns:minmax(12rem,.85fr) minmax(0,1.2fr)}.result-columns{grid-template-columns:1fr}}@media (width<=680px){.header-inner,.page{width:calc(100% - 1.5rem)}.header-inner,.portfolio-tools-main,.section-heading{flex-direction:column;align-items:flex-start}.header-inner{gap:.55rem;padding-block:1rem .6rem}nav a:first-child{padding-left:0}.page{gap:.85rem;padding-block:.9rem}.portfolio-tools,.section-heading,.register-controls,.settings-body,.storage-notice,.register-export,.simulation-notice,.scenario-body{padding-inline:.85rem}.account-controls{margin-left:0}.scenario-body{grid-template-columns:1fr}.editor{margin-inline:.85rem}td,th{padding-inline:.5rem}}
