/* BOQ layout: separate detailed calculation from compact total */
#workspace .total {position:static; font-size:14px; line-height:1.5; color:inherit; padding:12px; z-index:auto; overflow-wrap:anywhere;}
#workspace .total table {font-size:13px; color:inherit; table-layout:auto; width:100%;}
#workspace .total td {padding:7px 9px; vertical-align:top;}
#workspace .total td:not(:first-child) {white-space:nowrap; text-align:right;}
#workspace .total strong {display:block; font-size:18px; color:#79d9ca;}
#workspace .toolbar {align-items:center;}
#workspace .table-wrap {font-size:13px;}
#workspace .table-wrap input,#workspace .table-wrap button {font-size:13px;}
#workspace .table-wrap td {vertical-align:top;}
#workspace .boq-result-scroll {overflow-x:auto; max-width:100%;}
#workspace .boq-sticky-total {position:sticky; bottom:0; z-index:1; background:#202833; border:1px solid #465362; border-radius:8px; padding:10px 14px; font-size:15px; color:#79d9ca; margin-top:12px;}
@media print {#workspace .boq-sticky-total {position:static;background:white;color:black} #workspace .total strong{color:black} #workspace .boq-result-scroll{overflow:visible}}

#workspace .boq-action{background:#354b60;color:#fff;border:1px solid #66839c;border-radius:8px;padding:10px 15px;font-weight:600;cursor:pointer;box-shadow:0 2px 3px #0003;transition:background .15s,transform .1s;margin:3px}#workspace .boq-action:hover{background:#496780}#workspace .boq-action:active{transform:translateY(2px)}#workspace .boq-action:focus-visible{outline:2px solid #80e3d8;outline-offset:3px}#workspace .boq-primary{background:#087b70;border-color:#42b9a9}#workspace .boq-primary:hover{background:#09665e}#workspace .boq-danger{background:#59363d;border-color:#98606a}#workspace .boq-action:disabled{opacity:.65;cursor:wait}#workspace .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}#workspace .toolbar select{width:auto;cursor:pointer;border:1px solid #7890a3}#status{position:fixed;right:24px;top:72px;z-index:1000;max-width:min(480px,90vw);padding:14px 18px;background:#173e39;color:#e2fff6;border:1px solid #4db9a8;border-radius:9px;box-shadow:0 4px 18px #0005;font-size:14px;pointer-events:none}#status:empty,#status[hidden]{display:none}#status[data-kind=error]{background:#602d35;border-color:#e58c96}#status[data-kind=warn]{background:#59451e;border-color:#d8b35f}#status[data-kind=busy]{background:#25425e;border-color:#7daed6}@media print{#status{display:none!important}}
