@font-face{font-family:Onest;src:url('/static/Onest.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{font-family:Onest,Arial,sans-serif;color:#273342;background:#fff;font-size:14px;line-height:1.5;--line:#d5dce3;--blue:#0963ad;--muted:#526272;--danger:#a32923;--focus:#0873ce}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}::selection{background:#cce6ff;color:#173754}input,textarea{caret-color:var(--blue)}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}main{max-width:1100px;margin:0 auto;padding:28px 34px 40px}header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}h1{font-size:24px;line-height:1.25;font-weight:650;letter-spacing:-.025em;margin:0}header p{margin:8px 0 0;color:var(--muted)}h2{font-size:17px;line-height:1.4;font-weight:650;margin:0 0 16px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;padding-top:26px}.fields section+section{margin-top:32px;padding-top:26px;border-top:1px solid var(--line)}label{display:block;font-weight:500;margin:15px 0 5px}input:not([type=radio]):not([type=checkbox]),select,textarea{font:inherit;color:inherit;background:#fff;border:1px solid #a9b5c0;border-radius:5px;padding:9px 11px;width:100%;min-height:40px}input::placeholder,textarea::placeholder{color:#647485;opacity:1}textarea{resize:vertical}button,.button{font:inherit;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;color:#fff;background:var(--blue);border:1px solid transparent;border-radius:5px;padding:9px 16px;min-height:40px;text-decoration:none;transition:background .12s ease-out}button:hover,.button:hover{background:#07538f}button:disabled{background:#e6ecf0;color:#61717f;cursor:wait}.secondary{background:#fff;color:#273342;border-color:#a9b5c0}.secondary:hover{background:#eff4f7}.choice{display:flex;gap:22px;margin:4px 0 15px}.choice label{margin:0;display:flex;align-items:center;gap:7px}.choice input,#widget input{accent-color:var(--blue);width:16px;height:16px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.search-row{display:flex;gap:8px}.search-row input{min-width:0}.hint{color:var(--muted);font-size:12px;margin:7px 0 0;max-width:68ch}aside{align-self:start;position:sticky;top:24px;background:#f2f6f9;border-radius:10px;padding:22px}dl{margin:0;font-variant-numeric:tabular-nums}dl>div{display:flex;justify-content:space-between;gap:15px;margin:12px 0}dt{color:var(--muted)}dd{margin:0;font-weight:550;white-space:nowrap}dl .total{margin-top:20px;padding-top:17px;border-top:1px solid #c6d2dc;display:block}.total dt{color:#273342;font-weight:500}.total dd{font-size:29px;letter-spacing:-.025em;margin-top:3px}aside button{width:100%;margin-top:22px}.notice{background:#fff5d7;color:#654b0a;padding:12px 16px;border-radius:5px;margin:18px 0}.message{color:var(--danger);background:#fff0ed;padding:12px 16px;border-radius:5px;margin:18px 0;white-space:pre-line}#review,#result,#main-help{padding-top:28px;max-width:750px}#review p,#result p,#main-help p{max-width:70ch}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}#result-calculation{max-width:420px;margin-top:20px}#widget{display:flex;align-items:center;gap:12px;min-height:60px;padding:5px 8px;font-size:13px}#widget label{margin:0;display:flex;align-items:center;gap:7px;white-space:nowrap}#widget button{min-height:32px;padding:5px 12px}#widget-summary{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#a9b8c5;border-radius:8px;border:2px solid #fff}::-webkit-scrollbar-track{background:#fff}@media(max-width:760px){main{padding:20px 18px 30px}h1{font-size:21px}.workspace{grid-template-columns:1fr;gap:26px}aside{position:static}aside .total{display:flex;align-items:center}.total dd{font-size:26px}header{gap:8px}header button{padding:6px 10px}.two-columns{grid-template-columns:1fr;gap:0}.actions>*{flex:1 1 auto}#widget{gap:8px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
#contract-frame{position:fixed;width:1px;height:1px;left:-10000px;top:0;border:0}
