.costbook{--cost-border:var(--line,#dae6e0)}.costbook-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.8fr);gap:22px;align-items:start}.costbook .panel{padding:24px;min-width:0}.costbook-editor{position:sticky;top:20px}.costbook-pair{display:grid;grid-template-columns:1.3fr .8fr;gap:12px}.costbook fieldset{border:0;padding:0;margin:0;min-width:0}.costbook .field{display:grid;gap:7px;margin-bottom:15px}.costbook input,.costbook select{max-width:100%;min-width:0;min-height:44px;width:100%}.costbook .field>span{font-size:12px;font-weight:600;color:var(--muted,#526b61)}.costbook-toggle,.costbook-review label{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin:18px 0}.costbook input[type=checkbox]{width:19px;min-height:19px;flex:0 0 19px;margin-top:3px}.costbook .btn{min-height:44px}.costbook-editor-title p{font-size:13px;color:var(--muted,#526b61);line-height:1.7}.costbook-search{display:flex;align-items:end;gap:12px}.costbook-search .field{flex:1;margin:0}.costbook-list{margin-top:22px}.costbook-list article{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--cost-border)}.costbook-list article>div{display:grid;gap:7px;min-width:0}.costbook-list article>div:last-child{text-align:right;justify-items:end;flex-shrink:0}.costbook-list article span,.costbook-list article small{color:var(--muted,#526b61);font-size:12px;overflow-wrap:anywhere}.costbook-list article strong{overflow-wrap:anywhere}.costbook-empty{padding:35px 10px;color:var(--muted,#526b61);line-height:1.8}.costbook-empty>span{font-size:35px;color:#18765c}.costbook-empty h2{font-size:21px;color:var(--ink,#173b2f)}.costbook-pagination{display:flex;gap:8px;align-items:center;margin:22px 0;font-size:12px;flex-wrap:wrap}.costbook-pagination>span{margin-right:auto}.costbook-review{padding:16px;background:#edf6f0;border:1px solid #b9d9c9;border-radius:12px;margin:18px 0;overflow-wrap:anywhere}.costbook-review>div{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.costbook-review strong{display:block;margin-top:5px;font-size:17px;font-variant-numeric:tabular-nums}.costbook-review p{font-size:12px;line-height:1.7}.costbook-history{padding:0 0 0 20px;font-size:12px}.costbook-history li{padding:14px 0;border-bottom:1px solid var(--cost-border)}.costbook-history span{display:block;margin-top:5px;color:var(--muted,#526b61)}.costbook-history p{overflow-wrap:anywhere}.costbook details summary{cursor:pointer;min-height:44px;padding:12px 0}.costbook :focus-visible{outline:3px solid #318a73;outline-offset:3px}.costbook [disabled]{opacity:.55;cursor:not-allowed}.costbook form>.btn{margin-right:8px;margin-bottom:8px}@media(max-width:1050px){.costbook-layout{grid-template-columns:minmax(0,1fr)}.costbook-editor{position:static}}@media(max-width:540px){.costbook .panel{padding:17px}.costbook-pair{grid-template-columns:minmax(0,1fr)}.costbook-list article{align-items:start}.costbook-list article>div:last-child{max-width:48%}.costbook-review>div{grid-template-columns:minmax(0,1fr)}.costbook .page-actions{width:100%;display:flex;flex-wrap:wrap}.costbook-search{gap:8px}}
