@font-face{font-family:Questrial;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/questrial-vietnamese-400-normal-e8YnA9wZ.woff2)format("woff2"),url(/assets/questrial-vietnamese-400-normal-B2ptJQWX.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Questrial;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/questrial-latin-ext-400-normal-rdiUVXr0.woff2)format("woff2"),url(/assets/questrial-latin-ext-400-normal-urOzOTIY.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Questrial;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/questrial-latin-400-normal-DNhQdR1R.woff2)format("woff2"),url(/assets/questrial-latin-400-normal-BcF-iMQl.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#f4f4f3;--card:#fff;--ink:#111;--muted:#6b6b6b;--line:#e2e2e0;--wood:#111;--wood-soft:#ececea;--brand-font:"Questrial", "Century Gothic", "Avenir Next", system-ui, sans-serif;--green:#3f7a4f;--red:#b3412f;--amber:#b7791f;--radius:10px;--nav-h:62px;color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px}*{box-sizing:border-box}body{background:var(--bg);margin:0}h1{font-size:1.6rem;font-family:var(--brand-font);letter-spacing:.02em;margin:0;font-weight:400}h2{font-size:1.12rem;font-family:var(--brand-font);letter-spacing:.02em;margin:0 0 .5rem;font-weight:400}h3{margin:0 0 .5rem;font-size:1rem}a{color:var(--ink);text-underline-offset:3px;-webkit-text-decoration:underline #bdbdbd;text-decoration:underline #bdbdbd}a.card,a.tile,a.button,.list a,nav a,.brand,.me-link,.order-row,.quicklinks a,.alert-list a{text-decoration:none}code{background:var(--wood-soft);border-radius:4px;padding:1px 4px}.app{min-height:100vh;padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom))}.topbar{z-index:10;padding:calc(.6rem + env(safe-area-inset-top)) 1rem .6rem;background:var(--ink);color:#fff;align-items:center;gap:1rem;display:flex;position:sticky;top:0}.brand{color:#fff;font-family:var(--brand-font);letter-spacing:.22em;align-items:center;gap:.55rem;font-size:1.05rem;display:flex}.brand img{width:40px;height:40px}.topnav{flex:1;gap:.25rem;display:none}.topnav a{color:#cfcfcf;border-radius:6px;padding:.35rem .7rem}.topnav a.active{color:#fff;background:#2e2e2e}.me-link{color:#111;width:34px;height:34px;font-size:.85rem;font-weight:600;font-family:var(--brand-font);background:#fff;border-radius:50%;place-items:center;margin-left:auto;display:grid}.content{max-width:1100px;margin:0 auto;padding:1rem}.bottomnav{z-index:10;height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);border-top:1px solid var(--line);background:#fff;display:flex;position:fixed;bottom:0;left:0;right:0}.bottomnav a{color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;font-size:.72rem;display:flex}.bottomnav a .ico{font-size:1.3rem;line-height:1}.bottomnav a.active{color:var(--ink);font-weight:700}@media (width>=800px){.topnav{display:flex}.bottomnav{display:none}.app{padding-bottom:0}}.stack{flex-direction:column;gap:.9rem;display:flex}.row{align-items:center;display:flex}.row.wrap,.wrap{flex-wrap:wrap}.between{justify-content:space-between;gap:.5rem}.gap-s{gap:.5rem}.grow{flex:1;min-width:0}.grid2{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.grid4{grid-template-columns:repeat(4,1fr);gap:.75rem;display:grid}.span2{grid-column:span 2}@media (width<=600px){.grid2{grid-template-columns:1fr}.grid4{grid-template-columns:1fr 1fr}}.center{place-items:center;min-height:100vh;padding:1rem;display:grid}.center-text{text-align:center}.right{text-align:right}.pad{padding:1rem}.pad-s{padding:.45rem 0}.nowrap{white-space:nowrap}.muted{color:var(--muted)}.small{font-size:.82rem}.late{color:var(--red);font-weight:600}.scroll-x{overflow-x:auto}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);color:inherit;padding:1rem;display:block}.card.flush{padding:0}.card.narrow{width:100%;max-width:380px}.card.alert{background:#fff6e6;border-color:#f0d49c}.stat .big{font-size:1.8rem;font-weight:700}.notes{white-space:pre-wrap;background:var(--bg);border-radius:6px;padding:.6rem}label{color:var(--muted);flex-direction:column;gap:.25rem;font-size:.85rem;display:flex}input,select,textarea{font:inherit;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;min-width:0;padding:.55rem .65rem}input[type=checkbox]{width:20px;height:20px;accent-color:var(--wood)}input:focus,select:focus,textarea:focus{outline:2px solid var(--wood-soft);border-color:var(--wood)}button,.button{font:inherit;border:1px solid var(--line);color:var(--ink);cursor:pointer;white-space:nowrap;background:#fff;border-radius:8px;padding:.55rem .9rem;display:inline-block}button:disabled{opacity:.5;cursor:default}button.primary{color:#fff;background:#111;border-color:#111;font-weight:600}button.primary:hover{background:#333}button.danger{color:var(--red);border-color:#e6c3bc}button.ghost{background:0 0}button.link{color:var(--wood);background:0 0;border:none}button.icon{color:var(--muted);background:0 0;border:none;padding:.25rem .4rem}button.icon.tiny{padding:0 .3rem;font-size:.7rem}.error{color:var(--red);background:#fbeceb;border-radius:8px;padding:.5rem .7rem}.ok{color:var(--green);background:#e9f3ec;border-radius:8px;padding:.5rem .7rem}.warn{color:#7a4f10;background:#fff4df;border-radius:8px;padding:.5rem .7rem}details summary{cursor:pointer;color:var(--ink);margin-bottom:.5rem;text-decoration:underline}.tabs,.seg{gap:.35rem;display:flex;overflow-x:auto}.tabs button,.seg button{color:var(--muted);background:0 0;border-color:#0000}.tabs button.on,.seg button.on{background:var(--ink);color:#fff}.seg.wrap{flex-wrap:wrap}.seg button{border-color:var(--line);background:#fff}.login{background:#fff;place-items:center;min-height:100vh;padding:1rem;display:grid}.login .card{box-shadow:none;border:none}.login-logo{width:190px;height:190px;margin:0 auto .25rem;display:block}.login-title{text-align:center;font-family:var(--brand-font);letter-spacing:.25em;text-transform:uppercase;color:var(--muted);margin-bottom:.6rem;font-size:.85rem}.login form{flex-direction:column;gap:.8rem;display:flex}.list{margin:0;padding:0;list-style:none}.list li+li{border-top:1px solid var(--line)}.list a{color:inherit;padding:.6rem 0;display:flex}.card.flush .list a{padding:.7rem 1rem}.order-row{justify-content:space-between;gap:.75rem;width:100%}.msg-preview{border-top:1px solid var(--line);padding:.4rem 0}.tbl{border-collapse:collapse;width:100%}.tbl th,.tbl td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:.45rem .5rem}.tbl th{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:#faf8f4;font-size:.75rem;font-weight:600}.tbl .num{text-align:right;font-variant-numeric:tabular-nums}.tbl tfoot td{font-weight:700}.tbl.compact td{padding:.3rem .2rem}.tbl.cut td{padding:.2rem .25rem}.tbl.cut input:not([type=checkbox]){background:0 0;border-color:#0000;padding:.35rem .4rem}.tbl.cut input:not([type=checkbox]):focus{border-color:var(--wood);background:#fff}.tbl.cut tr.done td{background:#eef5ef}.tbl.cut tr.done input{color:var(--muted);text-decoration:line-through}.w-xs{width:56px}.w-s{width:80px}.w-m{width:120px}.w-l{width:160px}input.num{text-align:right}.edges{white-space:nowrap}.edge{color:var(--muted);margin-right:2px;padding:.2rem .35rem;font-size:.72rem}.edge.on{background:var(--wood);border-color:var(--wood);color:#fff}.badge{white-space:nowrap;background:#eee;border-radius:99px;padding:.15rem .5rem;font-size:.75rem;font-weight:600;display:inline-block}.s-tilbud{color:#5b574e;background:#ecebe7}.s-bestilt{color:#2d5b8a;background:#e3ecf7}.s-produksjon{color:#8a5316;background:#fbead3}.s-lakk{color:#6b3f86;background:#efe4f5}.s-montering{color:#22675c;background:#e0f1ee}.s-levert{color:#2f6a3d;background:#e5f1e7}.a-registrert{background:#ecebe7}.a-onsket{color:#7a4f10;background:#fff0cf}.a-godkjent{color:#2f6a3d;background:#e5f1e7}.a-avslatt{color:var(--red);background:#fbeceb}.status-steps{flex-wrap:wrap;gap:.35rem;display:flex}.status-steps button{color:var(--muted);padding:.35rem .65rem;font-size:.82rem}.status-steps button.on{border-color:currentColor;font-weight:700}.review-row{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem 0;display:flex}.week{text-align:center;grid-template-columns:repeat(7,1fr);gap:4px;margin:.75rem 0;display:grid}.week>div{background:var(--bg);border-radius:6px;padding:.35rem 0}.week>div.today{outline:2px solid var(--wood)}.chat{grid-template-columns:220px 1fr;gap:.75rem;height:calc(100vh - 56px - 2rem);display:grid}.chat-list{border:1px solid var(--line);border-radius:var(--radius);background:#fff;flex-direction:column;gap:2px;padding:.5rem;display:flex;overflow-y:auto}.chat-list button{text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;display:flex}.chat-list button.on{background:var(--wood-soft);font-weight:600}.dot{background:var(--red);border-radius:50%;width:8px;height:8px;display:inline-block}.chat-main{border:1px solid var(--line);border-radius:var(--radius);background:#fff;flex-direction:column;min-height:0;display:flex}.chat-head{border-bottom:1px solid var(--line);padding:.7rem 1rem;font-weight:600}.chat-msgs{flex-direction:column;flex:1;gap:.5rem;padding:.75rem;display:flex;overflow-y:auto}.bubble{background:var(--bg);border-radius:12px 12px 12px 3px;align-self:flex-start;max-width:80%;padding:.45rem .7rem}.bubble.mine{background:var(--wood-soft);border-radius:12px 12px 3px;align-self:flex-end}.bubble .meta{color:var(--muted);font-size:.72rem}.bubble .body{white-space:pre-wrap;word-break:break-word}.chat-input{border-top:1px solid var(--line);gap:.5rem;padding:.6rem;display:flex}.chat-input textarea{resize:none}@media (width<=799px){.chat{height:calc(100vh - 56px - var(--nav-h) - 2rem - env(safe-area-inset-bottom));grid-template-rows:auto 1fr;grid-template-columns:1fr}.chat-list{flex-direction:row;padding:.35rem;overflow-x:auto}.chat-list .muted{display:none}.chat-list button{white-space:nowrap;gap:.3rem}}.print-page{border-radius:var(--radius);background:#fff;padding:1rem}.print-head{border-bottom:2px solid var(--ink);justify-content:space-between;align-items:flex-end;margin:1rem 0;padding-bottom:.5rem;display:flex}.print-brand{font-family:var(--brand-font);letter-spacing:.18em;color:var(--muted);font-size:.8rem}.tbl.print td.box{border:1px solid var(--ink);text-align:center;width:24px}.print-sum{margin-top:.75rem}@media print{@page{size:A4 landscape;margin:12mm}.topbar,.bottomnav,.no-print{display:none!important}.app{padding:0}.content{max-width:none;padding:0}.print-page{padding:0}body,:root{background:#fff;font-size:11px}.tbl th,.tbl td{padding:3px 5px}tr{break-inside:avoid}}.no-print select,.no-print button,.no-print a{flex:none;width:auto}.navsep{background:#55524b;width:1px;margin:0 .35rem}.dot{background:var(--red);vertical-align:middle;border-radius:50%;width:8px;height:8px;margin-left:4px;display:inline-block}.dot.abs{margin-left:-2px;position:absolute}.bottomnav .ico{position:relative}.alertbar{background:var(--red);color:#fff;top:calc(54px + env(safe-area-inset-top));z-index:9;position:sticky}.alert-head{color:#fff;white-space:normal;text-align:left;background:0 0;border:none;border-radius:0;justify-content:space-between;align-items:center;gap:.5rem;width:100%;padding:.55rem 1rem;font-weight:600;display:flex}.alert-list{max-height:60vh;margin:0;padding:0 1rem .6rem;list-style:none;overflow-y:auto}.alert-list li a{color:#fff;background:#00000026;border-radius:8px;margin-top:.4rem;padding:.5rem .7rem;display:block}.alert-list .alert-item{opacity:.95;font-size:.85rem}.alert-list .alert-all{text-align:center;background:#ffffff2e;font-weight:600}.order-alert{color:var(--red);border-radius:var(--radius);cursor:pointer;background:#fbeceb;border:1px solid #e9b8b0;padding:.7rem 1rem}.alert-card{background:#fff8f7;border-color:#e9b8b0}.alert-card h2,.alert-text,.alert-bestill,.alert-forsinket,.alert-dato{color:var(--red)}.has-alert-row{box-shadow:inset 4px 0 0 var(--red)}.quicklinks{flex-wrap:wrap;gap:.4rem;display:flex}.quicklinks a,.quicklinks button{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:99px;padding:.4rem .8rem;font-size:.88rem}.quicklinks a.has-alert{border-color:var(--red);color:var(--red);font-weight:600}.primary-link,a.button.primary-link{background:var(--wood);border-color:var(--wood);color:#fff;font-weight:600}.w-auto{width:auto}.left{text-align:left;align-self:flex-start;padding-left:0}.pad-h{margin:0;padding:.8rem 1rem 0}.pre{white-space:pre-wrap}label.inline{flex-direction:row;align-items:center;gap:.4rem}label.inline input[type=date]{width:auto;padding:.3rem .4rem}.link.tiny{padding:0 .2rem;font-size:.75rem}.tiles{grid-template-columns:repeat(4,1fr);gap:.6rem;display:grid}.tile{border:1px solid var(--line);border-radius:var(--radius);text-align:center;color:var(--ink);background:#fff;padding:.9rem;font-weight:600}.primary-tile{background:var(--wood);color:#fff;border-color:var(--wood)}@media (width<=600px){.tiles{grid-template-columns:1fr 1fr}}.mat-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.65rem 1rem;display:flex}.mat-row.need{box-shadow:inset 4px 0 0 var(--red);background:#fdf1ef}.mat-row.late-row{box-shadow:inset 4px 0 0 var(--amber);background:#fff4df}.mat-info{flex:1;min-width:200px}.mat-controls{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.mstatus{border:1px solid var(--line);border-radius:8px;display:inline-flex;overflow:hidden}.mstatus button{color:var(--muted);background:#fff;border:none;border-radius:0;padding:.4rem .6rem;font-size:.8rem}.mstatus button+button{border-left:1px solid var(--line)}.mstatus button.on.m-ma_bestilles,.badge.m-ma_bestilles{background:var(--red);color:#fff}.mstatus button.on.m-bestilt,.badge.m-bestilt{color:#4a3308;background:#f5c56b}.mstatus button.on.m-paa_lager,.badge.m-paa_lager{background:var(--green);color:#fff}.mstatus button.on{font-weight:700}.picked{background:var(--wood-soft);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem .9rem;display:flex}.pick{text-align:left;white-space:normal;background:0 0;border:none;width:100%;padding:.6rem 1rem}.pick-list{border:1px solid var(--line);border-radius:8px;max-height:260px;overflow-y:auto}.card.inset{background:var(--bg)}.step{background:var(--ink);color:#fff;border-radius:50%;place-items:center;width:24px;height:24px;margin-right:.35rem;font-family:system-ui,sans-serif;font-size:.8rem;display:inline-grid}.lines{flex-direction:column;gap:.5rem;display:flex}.line{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:1fr auto auto;align-items:end;gap:.6rem;padding:.6rem;display:grid}.line-title{margin-bottom:.2rem;font-size:.9rem}.line-nums{grid-template-columns:70px 110px 70px 110px 100px;align-items:end;gap:.4rem;display:grid}.line-nums input,.line-nums select{padding:.4rem .45rem}.line-sum{text-align:right;white-space:nowrap;padding-bottom:.5rem;font-weight:600}.line-actions{display:flex}@media (width<=900px){.line{grid-template-columns:1fr auto}.line-nums{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.line-actions{grid-area:1/2;align-self:start}}.psearch{min-width:220px;position:relative}.dropdown{z-index:20;border:1px solid var(--line);background:#fff;border-radius:8px;max-height:300px;margin:2px 0 0;padding:0;list-style:none;position:absolute;top:100%;left:0;right:0;overflow-y:auto;box-shadow:0 8px 24px #0000001f}.dropdown button{text-align:left;white-space:normal;border:none;border-radius:0;justify-content:space-between;gap:.5rem;width:100%;display:flex}.dropdown button:hover{background:var(--wood-soft)}.totals{flex-direction:column;gap:.2rem;width:100%;max-width:320px;margin-left:auto;display:flex}.totals>div{justify-content:space-between;display:flex}.totals .grand{border-top:2px solid var(--ink);padding-top:.3rem;font-size:1.1rem}.submitbar{bottom:calc(var(--nav-h) + env(safe-area-inset-bottom) + 8px);background:var(--ink);color:#fff;border-radius:var(--radius);z-index:5;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 1rem;display:flex;position:sticky}.submitbar .muted{color:#cfc8bb}@media (width>=800px){.submitbar{bottom:12px}}.q-utkast{background:#ecebe7}.q-sendt{color:#2d5b8a;background:#e3ecf7}.q-akseptert{color:#2f6a3d;background:#e5f1e7}.q-avslatt{color:var(--red);background:#fbeceb}.sync-ok{color:#2f6a3d;background:#e5f1e7}.sync-err{color:var(--red);background:#fbeceb}.quote-print{max-width:820px;margin:0 auto}.qp-head{border-bottom:2px solid var(--ink);justify-content:space-between;align-items:flex-start;gap:1rem;margin:1rem 0;padding:1rem 0 .75rem;display:flex}.qp-brand{font-family:var(--brand-font);letter-spacing:.2em;font-size:1.4rem}.qp-logo{width:90px;height:90px}.qp-parties{grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem;display:grid}.print-totals{margin:.75rem 0 1rem auto}@media print{.alertbar,.submitbar{display:none!important}.quote-print{font-size:12px}@page{size:A4 portrait}}.tbl.print td.num,.tbl.print th.num{white-space:nowrap}.order-chat{flex-direction:column;gap:.5rem;max-height:60vh;display:flex;overflow-y:auto}.stack-s{flex-direction:column;gap:.3rem;display:flex}.msg-photo{cursor:zoom-in;border-radius:8px;width:100%;max-width:240px;margin:.3rem 0;display:block}.msg-photo.placeholder{background:var(--line);height:120px;color:var(--muted);place-items:center;font-size:.8rem;display:grid}.chat-input{align-items:flex-end}.chat-input .attach{cursor:pointer;-webkit-user-select:none;user-select:none;padding:.3rem;font-size:1.4rem}.upload-btn{cursor:pointer;background:var(--ink);color:#fff;border-radius:8px;justify-content:center;align-items:center;padding:.8rem 1rem;font-size:1rem;display:inline-flex}.upload-btn.disabled{opacity:.6;pointer-events:none}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.6rem;display:grid}.photo{aspect-ratio:1;border:1px solid var(--line);background:var(--bg);cursor:zoom-in;border-radius:8px;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.photo img{object-fit:cover;width:100%;height:100%;display:block}.photo-kind{color:#fff;background:#111;border-radius:999px;padding:.1rem .45rem;font-size:.68rem;position:absolute;top:.35rem;left:.35rem}.photo-kind.k-underveis{background:#555}.photo-kind.k-skade{background:#c0392b}.photo-kind.k-annet{background:#888}.photo-cap{color:#fff;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:linear-gradient(#0000,#000000bf);padding:.3rem .45rem;font-size:.75rem;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.lightbox{z-index:1000;background:#000000e0;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.lb-inner{flex-direction:column;gap:.6rem;width:100%;max-width:1100px;display:flex}.lb-inner img{object-fit:contain;border-radius:6px;max-width:100%;max-height:80vh;margin:0 auto}.lb-bar{color:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.lb-meta{color:#bbb}.photo-origin{color:#111;background:#ffffffe6;border-radius:999px;padding:.1rem .4rem;font-size:.65rem;position:absolute;top:1.7rem;left:.35rem}.photo-kind.k-oppmaling{background:#1f5f8b}.cust-notes summary{cursor:pointer;margin-bottom:.4rem}.cust-notes .order-chat{max-height:30vh}details.survey{border-top:1px solid var(--line);padding-top:.6rem}details.survey summary{cursor:pointer;margin-bottom:.6rem;font-weight:600}details.survey[open]>*+*{margin-top:.6rem}a.plain-link{color:inherit;border-bottom:1px dotted;text-decoration:none}.ann-wrap{max-width:100%;line-height:0;display:inline-block;position:relative}.ann-wrap.fit-cover{width:100%;height:100%;display:block}.ann-wrap.fit-cover img{object-fit:cover;width:100%;height:100%}.ann-layer{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.ann-wrap .ann-layer{pointer-events:none}.lb-img{text-align:center;line-height:0}.lb-img img{border-radius:6px;max-width:calc(100vw - 2rem);max-height:72vh}.photo-ann{background:#ffffffe6;border-radius:999px;padding:0 .3rem;font-size:.8rem;line-height:1.4;position:absolute;top:.3rem;right:.35rem}.measure{z-index:1100;color:#fff;padding:calc(env(safe-area-inset-top,0px) + .5rem) .6rem calc(env(safe-area-inset-bottom,0px) + .5rem);background:#0d0d0d;flex-direction:column;gap:.5rem;display:flex;position:fixed;inset:0}.measure-bar,.measure-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.measure .seg button{color:#ddd;background:#222;border-color:#333}.measure .seg button.on{color:#111;background:#fff}.measure select{width:auto}.swatches{gap:.35rem;display:flex}.swatch{border:2px solid #444;border-radius:50%;width:28px;height:28px;padding:0}.swatch.on{border-color:#fff;box-shadow:0 0 0 2px #0d0d0d,0 0 0 4px #fff}.measure-stage{flex:1;place-items:center;min-height:0;display:grid}.measure-img{max-width:100%;max-height:100%;line-height:0;position:relative}.measure-img img{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;max-width:calc(100vw - 1.2rem);max-height:calc(100dvh - 12rem);display:block}.measure-edit{background:#1b1b1b;border-radius:10px;align-items:flex-end;gap:.5rem;padding:.6rem;display:flex}.measure-edit label{color:#bbb;font-size:.8rem}.measure-edit input{font-size:1.1rem}.measure-hint{color:#aaa;text-align:center;place-items:center;min-height:2.6rem;display:grid}.measure-foot button:not(.primary){color:#fff;background:#222;border-color:#333}.measure .primary{color:#111;background:#fff;border-color:#fff}.lb-bar .row{flex-wrap:wrap}.lb-inner{max-height:100dvh;overflow-y:auto}.internal-note{background:#f4f4f4;border-style:dashed}.table-wrap{overflow-x:auto}.tbl.costing td.over{color:#b3261e;font-weight:600}.tbl.costing td.under{color:#1e7b3a;font-weight:600}.tbl.costing tr.total td{border-top:2px solid var(--ink);font-weight:700}.tbl.costing td .small{font-weight:400}.cost-list li{align-items:center;padding:.5rem 0}.cost-list .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.badge.c-materiale{color:#1f3f6b;background:#e8eef7}.badge.c-timer{color:#4b2a74;background:#efe8f7}.badge.c-annet{color:#444;background:#eee}
