:root{--bg:#f5f6f8;--ink:#202a36;--muted:#77808d;--line:#e5e8ed;--blue:#3159df;--nav:#142235;--green:#258267;--red:#b74545;--shadow:0 10px 40px #182c4610;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #96afff;outline-offset:3px}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px 14px;font-size:13px;font-weight:600;transition:.16s}button:hover{background:#f1f4fc;border-color:#b9c6e9}button.primary{background:var(--blue);color:white;border-color:var(--blue)}button.primary:hover{background:#2446c2}button.ghost{background:transparent;border-color:transparent}button.danger{color:var(--red)}button.small{padding:7px 10px;font-size:12px}.icon{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.layout{display:grid;grid-template-columns:248px 1fr;min-height:100vh}.sidebar{background:var(--nav);color:#c0c9d5;padding:29px 19px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:248px}.brand{display:flex;align-items:center;gap:11px;color:white;font-weight:750;font-size:19px;letter-spacing:-.4px;padding:0 10px}.brandmark{background:#4870f2;color:white;width:36px;height:40px;border-radius:10px;display:grid;place-items:center}.brandmark .icon{width:23px;height:23px}.brand small{display:block;color:#8595ab;font-size:10px;letter-spacing:2px;font-weight:500;margin-top:5px}.side-caption{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#788ba4;margin:42px 12px 13px}.nav-button{justify-content:flex-start;width:100%;background:transparent;color:#a8b7ca;border:0;margin:3px 0;padding:12px}.nav-button:hover{background:#203249;color:white}.nav-button.active{background:#2a3c5a;color:white}.nav-button.active .icon{color:#8ca6ff}.nav-button .count{margin-left:auto;background:#ffffff13;padding:2px 7px;border-radius:5px;font-size:10px}.site-nav{margin-top:8px;overflow:auto;max-height:32vh}.site-button{width:100%;display:block;text-align:left;background:none;color:#9daec4;border:0;font-weight:400;padding:11px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-button.selected{color:white;background:#ffffff08;border-left:2px solid #7a98ff;border-radius:0 5px 5px 0}.side-new{border:1px dashed #40516a;background:none;color:#aabbd1;width:100%;margin-top:12px}.side-new:hover{background:#203249;color:white;border-color:#6a81a3}.sidebar-bottom{margin-top:auto;padding-top:30px}.local-note{display:flex;align-items:center;gap:9px;padding:13px 10px;border-top:1px solid #304058;font-size:11px;color:#91a2b9}.local-note .dot{background:#63cca3}.main{grid-column:2;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:20px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:13px}.breadcrumb strong{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:14px}.save-state{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:6px}.dot{height:6px;width:6px;background:#43a17c;border-radius:50%;display:inline-block}.avatar{border-radius:50%;width:31px;height:31px;background:#edf1ff;color:#4d68b3;display:grid;place-items:center;font-size:11px;font-weight:700}.content{max-width:1600px;margin:auto;padding:35px 40px 55px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750;color:var(--muted);text-transform:uppercase;margin-bottom:10px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}h1{font-size:28px;letter-spacing:-.8px;margin:0 0 9px;font-weight:650}h2{font-size:17px;letter-spacing:-.3px;margin:0}h3{font-size:14px;margin:0 0 10px}p{line-height:1.65}.sub{font-size:12px;color:var(--muted);margin:0}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;justify-content:space-between;gap:12px}.stat-label{font-size:11px;color:var(--muted);margin-bottom:14px}.stat-value{font-size:28px;font-weight:650;letter-spacing:-1px}.stat-icon{background:#edf1ff;color:#6b83cd;display:grid;place-items:center;width:35px;height:35px;border-radius:9px}.stat:nth-child(3) .stat-icon{background:#eaf5ef;color:#4d9a7d}.stat:nth-child(4) .stat-icon{background:#fff4e4;color:#bb944b}.panel{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;box-shadow:0 2px 3px #14223502}.panel-title{padding:21px 23px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.panel-title p{font-size:11px;margin:6px 0 0;color:var(--muted)}.toolbar{padding:17px 22px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.search{position:relative;flex:1;min-width:180px;max-width:360px}.search .icon{position:absolute;top:11px;left:12px;color:#8d96a5;width:16px}.search input{padding-left:37px}.toolbar select{width:auto;min-width:130px}.toolbar .right{margin-left:auto;font-size:11px;color:var(--muted)}input,select,textarea{width:100%;border:1px solid #dce1e8;border-radius:7px;background:white;color:var(--ink);padding:10px 12px;outline:0;font-size:13px}input:focus,select:focus,textarea:focus{border-color:#7896f0;box-shadow:0 0 0 3px #3159df0e}input::placeholder,textarea::placeholder{color:#a3aab5}textarea{resize:vertical;min-height:78px}label{display:block;font-size:11px;font-weight:600;margin-bottom:7px;color:#586273}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#7b8594;background:#fafbfc;font-weight:650;padding:14px 20px;border-block:1px solid var(--line);white-space:nowrap}td{padding:18px 20px;border-bottom:1px solid #edf0f3;vertical-align:middle}tr.position{cursor:pointer}tr.position:hover{background:#f8faff}tr:last-child td{border-bottom:0}.number{font-weight:700;color:#3457a7}.muted{color:var(--muted)}.badge{display:inline-flex;gap:5px;align-items:center;font-size:10px;padding:5px 8px;border-radius:5px;white-space:nowrap;background:#f1f3f7;color:#677386}.badge.blue{color:#4c65a7;background:#edf1fc}.badge.green{color:#388265;background:#ecf7f0}.badge.orange{color:#a27636;background:#fff5e5}.floor-row td{padding:11px 20px;background:#f6f8fb;color:#778391;font-size:10px;letter-spacing:.3px;font-weight:650}.system-name{font-weight:600;margin-bottom:4px}.system-extra{font-size:10px;color:var(--muted);max-width:240px}.table-wrap{overflow-x:auto}.empty{padding:55px 25px;text-align:center}.empty h3{font-size:17px;margin:18px 0 9px}.empty p{font-size:12px;color:var(--muted);max-width:360px;margin:0 auto 20px}.empty-icon{width:66px;height:66px;margin:auto;border-radius:17px;background:#eff3ff;color:#6684db;display:grid;place-items:center}.empty-icon .icon{width:30px;height:30px}.welcome{display:grid;grid-template-columns:1.2fr 1fr;padding:35px;gap:40px;align-items:center}.welcome h2{font-size:27px;line-height:1.3;max-width:390px;letter-spacing:-.7px}.welcome p{font-size:13px;color:var(--muted);max-width:410px;margin:16px 0 22px}.welcome-art{background:#f1f4fb;border:1px solid #e5eaf5;border-radius:12px;padding:30px;position:relative}.mock-paper{background:white;border-radius:8px;padding:25px;box-shadow:0 12px 20px #1c365314;transform:rotate(-4deg);max-width:270px;margin:auto}.mock-line{height:7px;background:#e8ecf3;margin:14px 0;border-radius:3px}.mock-row{display:flex;gap:12px;margin-top:20px}.mock-photo{height:60px;width:80px;border:1px dashed #b6c6e5;border-radius:6px;background:#f2f6fe;color:#8fa5d1;display:grid;place-items:center}.floating{position:absolute;right:18px;bottom:20px;background:white;padding:12px 16px;border-radius:8px;box-shadow:var(--shadow);font-size:11px;display:flex;gap:8px;align-items:center;color:#3b8164}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}.step{padding:23px;border:1px solid var(--line);background:white;border-radius:10px}.step .step-n{color:#7289c8;font-size:10px;letter-spacing:1px;margin-bottom:15px}.step p{font-size:11px;color:var(--muted);margin:9px 0 0}.footnote{display:flex;justify-content:space-between;color:#939ca8;font-size:10px;padding-top:22px;gap:15px}.site-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.site-card{background:white;border:1px solid var(--line);border-radius:10px;padding:24px;cursor:pointer}.site-card:hover{border-color:#a3b6ef;box-shadow:var(--shadow)}.site-card h3{margin:18px 0 6px;font-size:16px}.site-card p{font-size:11px;color:var(--muted);margin:5px 0 22px}.site-card-bottom{border-top:1px solid var(--line);padding-top:16px;font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;padding:22px}.photo-card{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:white}.photo-card img{width:100%;height:175px;object-fit:cover;display:block;cursor:zoom-in}.photo-content{padding:14px}.photo-content p{font-size:11px;white-space:pre-wrap;margin:8px 0;color:#657082}.photo-content input{font-size:11px}.photo-content textarea{font-size:11px;margin-top:8px;min-height:65px}.photo-content .actions{margin-top:10px}.photo-meta{font-size:10px;color:#8a94a3;margin-top:8px;overflow-wrap:anywhere}.dropzone{border:1px dashed #b4c1e2;border-radius:8px;padding:25px;text-align:center;background:#f7f9fe;margin:20px 0}.dropzone.dragging{background:#e5edff;border-color:#3159df}.dropzone p{font-size:11px;color:#8290a6;margin:8px 0 0}.dialog-overlay{position:fixed;inset:0;background:#0d192962;backdrop-filter:blur(3px);display:grid;place-items:center;z-index:20;padding:24px}.dialog{background:#fff;border-radius:13px;width:620px;max-width:100%;max-height:92vh;overflow:auto;box-shadow:0 20px 80px #08152840}.dialog.wide{width:980px}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.dialog-header h2{font-size:18px}.dialog-body{padding:24px 26px}.dialog-footer{border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;padding:18px 26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.form-note{font-size:11px;color:var(--muted);line-height:1.6;margin-top:6px}.check-group{display:flex;gap:8px;flex-wrap:wrap}.check-option{display:flex;gap:7px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:9px;margin:0;font-size:11px;cursor:pointer}.check-option input{width:14px;margin:0;accent-color:var(--blue)}.check-option:has(input:checked){border-color:#9caee7;background:#f1f5ff;color:#3159df}.dimensions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.hint{display:flex;gap:10px;background:#f4f7fc;padding:14px;border-radius:7px;font-size:11px;color:#667791;line-height:1.6}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;background:#f7f9fc;padding:20px;border:1px solid var(--line);border-radius:9px}.detail-label{color:var(--muted);font-size:10px;margin-bottom:5px}.detail-value{font-size:12px;line-height:1.5;white-space:pre-wrap}.detail-heading{display:flex;align-items:center;justify-content:space-between;margin-top:27px}.detail-photos .gallery{padding:18px 0}.error{padding:12px 15px;background:#fff1f0;color:#a64b44;border-radius:7px;font-size:12px;margin-bottom:15px}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);z-index:50;background:#20334c;color:white;font-size:12px;padding:14px 22px;border-radius:9px;box-shadow:0 5px 25px #15223735;max-width:90vw}.doc-options{padding:26px;display:grid;grid-template-columns:1fr 1fr;gap:25px}.doc-preview{background:#f3f5f9;padding:25px;border-radius:9px}.doc-preview .mock-paper{transform:none;min-height:220px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-card{padding:25px}.settings-card p{font-size:12px;color:var(--muted)}.mobile-menu{display:none}#printArea{display:none}.viewer-image{display:block;max-width:100%;max-height:67vh;object-fit:contain;margin:auto}.help-list{font-size:13px;line-height:1.9;padding-left:20px}.help-list li{margin:10px 0}.inline-link{color:var(--blue)}@media(max-width:1100px){.content{padding:28px 24px}.topbar{padding:0 24px}.sidebar{width:215px;padding-inline:14px}.layout{grid-template-columns:215px 1fr}.stats{gap:10px}.stat{padding:15px}.stat-icon{display:none}.page-heading{align-items:flex-start}.welcome{padding:28px;gap:20px}.welcome-art{padding:20px}.toast{left:55%}}@media(max-width:760px){.layout{display:block}.sidebar{display:none;width:248px;z-index:15;box-shadow:8px 0 40px #10203330}.sidebar.open{display:flex}.mobile-menu{display:inline-flex}.topbar{height:65px;padding:0 16px}.content{padding:24px 16px}.breadcrumb{gap:6px}.breadcrumb>span:first-child{display:none}.top-actions .save-state{display:none}.top-actions{gap:5px}.top-actions>button{font-size:0;padding:8px}.top-actions>button .icon{width:18px}.avatar{display:none}.page-heading{display:block;margin-bottom:20px}.page-heading .actions{margin-top:18px}h1{font-size:25px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.stat{padding:16px}.stat-label{margin-bottom:8px}.stat-value{font-size:24px}.welcome{display:block;padding:25px}.welcome-art{display:none}.welcome h2{font-size:25px}.steps{grid-template-columns:1fr;gap:12px}.step{padding:18px;display:grid;grid-template-columns:30px 1fr;gap:0 8px}.step .step-n{grid-row:1/3}.step h3{margin:0}.step p{margin-top:5px}.toolbar{padding:15px;gap:8px}.toolbar .search{max-width:none;flex-basis:100%}.toolbar select{flex:1;width:100px;min-width:0}.toolbar .right{display:none}.panel-title{padding:18px}.panel-title p{max-width:190px}.dialog-overlay{padding:12px}.dialog{max-height:96vh}.dialog-header{padding:18px}.dialog-body{padding:20px 18px}.dialog-footer{padding:16px 18px}.form-grid{gap:15px}.detail-grid{grid-template-columns:1fr 1fr;padding:15px}.detail-heading{align-items:flex-start;gap:10px}.settings-grid,.doc-options{grid-template-columns:1fr}.doc-options{padding:20px}.footnote{font-size:9px;line-height:1.5}.toast{left:50%;width:max-content;max-width:90vw}.gallery{padding:15px}.panel-title .actions{gap:4px}.photo-card img{height:200px}}@media print{@page{size:A4;margin:15mm}body{background:white;color:#222;font-family:Arial,sans-serif;font-size:10pt}.layout,#modalRoot,.toast{display:none!important}#printArea{display:block}.print-cover{padding-bottom:18px;border-bottom:2px solid #294d9a;margin-bottom:22px}.print-cover h1{font-size:24pt}.print-cover p{font-size:10pt;color:#555;margin:5px 0}.print-topline{font-size:9pt;color:#666;margin-bottom:10px;letter-spacing:1px}.print-floor{break-before:page;margin:0 0 15px}.print-floor.first{break-before:auto}.print-floor h2{font-size:15pt;margin-bottom:12px}.print-table{font-size:8pt}.print-table td,.print-table th{padding:8px;border:1px solid #ddd}.print-position{break-before:page}.print-position h2{font-size:16pt;margin:10px 0}.print-position p{font-size:10pt;white-space:pre-wrap}.print-photos{display:grid;grid-template-columns:1fr 1fr;gap:15px}.print-photo{break-inside:avoid;border:1px solid #ddd;padding:8px}.print-photo img{max-width:100%;max-height:250px;object-fit:contain;display:block;margin:auto}.print-photo figcaption{font-size:8pt;white-space:pre-wrap;margin-top:8px;overflow-wrap:anywhere}.print-footer{font-size:8pt;color:#888;margin-top:20px}.badge{border:1px solid #ddd;background:white!important;color:#222!important}tr{break-inside:avoid}}

.product-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.product-section-heading h3{margin-bottom:6px}.addon-editor{display:grid;grid-template-columns:2.1fr 1fr 1fr .8fr 34px;gap:10px;padding:16px 13px;border:1px solid var(--line);border-radius:9px;background:#fafbfe;margin-bottom:12px;align-items:end}.addon-editor label{font-size:10px}.addon-editor input,.addon-editor select{font-size:12px;padding:10px 8px}.addon-editor .addon-note{grid-column:1/-1;margin:0}.addon-editor .ghost{padding:10px 5px}.area-preview{padding:12px 14px;background:#edf3ff;color:#3d5b9c;border:1px solid #d8e4ff;border-radius:7px;margin-top:10px;font-size:12px;line-height:1.6}.catalog-panel{padding:20px;background:#f4f7fc;border-radius:9px;margin-bottom:20px;font-size:12px;line-height:1.6}.catalog-panel p{font-size:11px;color:#66758a}.photo-image-button{border:0;border-radius:0;padding:0;width:100%;display:block}.photo-inbox-drop{margin:0 20px 10px;padding:20px}.photo-review-dialog{width:1240px!important}.photo-review-dialog .dialog-body{padding:0}.photo-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;min-height:440px}.photo-review-image{background:#edf0f5;display:flex;flex-direction:column;justify-content:center;padding:20px;overflow:auto;max-height:72vh}.review-picture-button{padding:0;border:0;background:none!important;border-radius:0;display:block;width:100%;cursor:zoom-in}.review-picture-button img{display:block;width:100%;max-height:59vh;object-fit:contain}.review-picture-button.zoomed{cursor:zoom-out;width:max-content;min-width:100%}.review-picture-button.zoomed img{width:auto;max-width:2200px;max-height:none}.review-image-hint{font-size:10px;color:#7e8999;text-align:center;margin-top:14px;overflow-wrap:anywhere}.photo-review-fields{padding:24px;border-left:1px solid var(--line);max-height:72vh;overflow:auto}.photo-review-fields .badge{white-space:normal;line-height:1.5}.photo-review-dialog .dialog-footer{flex-wrap:wrap;justify-content:flex-start;gap:8px}.duplicate-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}.duplicate-pair img{width:100%;height:260px;object-fit:contain;background:#f1f3f7;border-radius:8px}.duplicate-pair p{font-size:12px;overflow-wrap:anywhere}.photo-card .photo-content .badge{white-space:normal}.photo-card .photo-content .actions{gap:6px}.photo-card .photo-content button{font-size:10px;padding:7px 8px}@media(max-width:760px){.addon-editor{grid-template-columns:1fr 1fr;gap:10px}.addon-editor>div:first-child{grid-column:1/-1}.addon-editor .ghost{grid-column:2;justify-self:end;grid-row:4}.addon-editor .addon-note{grid-row:5}.product-section-heading{display:block}.product-section-heading button{margin-top:10px}.photo-review-layout{grid-template-columns:1fr}.photo-review-image{max-height:42vh;padding:10px}.review-picture-button img{max-height:34vh}.photo-review-fields{max-height:none;padding:18px;border-left:0}.duplicate-pair{gap:10px}.duplicate-pair img{height:170px}.photo-inbox-drop{margin:0 12px 10px}.photo-review-dialog .dialog-footer span{display:none}}@media print{.print-table td{white-space:pre-line}.area-preview,.catalog-panel{display:none}}

.dialog-footer{position:sticky;bottom:0;background:#fff;z-index:2}

.dimensions-cm{grid-template-columns:1fr 1fr}.addon-editor{grid-template-columns:2fr 1.1fr .75fr 34px}.repair-editor{display:grid;grid-template-columns:170px 1fr 34px;gap:12px;align-items:end;border:1px solid var(--line);border-radius:8px;background:#f8faff;padding:14px;margin-bottom:12px}.repair-card{border:1px solid #dce5f2;border-radius:10px;padding:18px;margin-top:18px}.repair-card h3{margin:0}.repair-note-text{font-size:12px;white-space:pre-wrap;color:#69788c;margin:14px 0 0}.repair-card .gallery,.installation-photos .gallery{padding:18px 0}.review-repair-fields{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0;margin:15px 0}.photo-review-fields{max-height:72vh}.photo-review-fields .form-note{font-size:10px}@media(max-width:760px){.addon-editor{grid-template-columns:1fr 1fr}.addon-editor>div:first-child{grid-column:1/-1}.addon-editor .ghost{grid-row:3}.addon-editor .addon-note{grid-row:4}.repair-editor{grid-template-columns:1fr 34px}.repair-editor>div{grid-column:1}.repair-editor button{grid-column:2;grid-row:1/3}.photo-review-fields{max-height:none}.repair-card{padding:12px}.repair-card>.actions{align-items:flex-start}.repair-card>.actions>.actions{margin-top:10px}}

:root{--blue:#ef7c19;--nav:#191d23;--ink:#253044;--bg:#f8f8f7;--line:#e6e5e2;--shadow:0 10px 40px #231b1010}.brandmark{background:#fb821c;border-radius:4px;width:34px;height:38px}.brandmark svg{stroke-width:2.2}.isodok-name{font-size:28px;font-weight:850;letter-spacing:-1.5px}.isodok-name b{color:#fb821c}.brand small{font-size:8px;letter-spacing:1.4px}.sidebar{padding-top:24px;border-top:6px solid #fb821c;overflow-y:auto}.nav-button.active{background:#ff831b1e;color:#ffad6b}.nav-button.active:before{background:#fb821c}.side-new{border-color:#754721;color:#ffad6b}.side-new:hover{background:#ef7c191a}.stat-icon,.stat:nth-child(2) .stat-icon,.stat:nth-child(3) .stat-icon,.stat:nth-child(4) .stat-icon{background:#fff0e2;color:#d26916}.badge.blue{background:#fff0e2;color:#a95613}.avatar{background:#fff0e2;color:#bc5a0b}.nav-button{padding:10px 13px}.sidebar .side-caption{margin-top:22px}.sidebar-bottom{margin-top:auto;padding-top:22px}.site-nav{min-height:60px;max-height:180px}.page-heading{border-bottom:1px solid var(--line);padding-bottom:24px}.eyebrow{color:#b9621b}.mock-paper{border-top:5px solid #fb821c}.primary:hover,button.primary:hover{background:#cf650d;border-color:#cf650d}.area-preview{background:#fff6ed;border-color:#f6d4b6;color:#93501b}.report-filters,.document-list{padding:24px}.report-filters .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.document-row{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding:20px 0}.document-row strong{margin-left:10px}.document-row p{margin:8px 0 0 28px}.plan-dialog{max-width:1300px;width:96vw}.plan-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.plan-toolbar label{display:flex;align-items:center;gap:8px;margin:0}.plan-toolbar input{width:65px;padding:7px}.plan-toolbar select{width:auto;max-width:300px}.plan-scroll{max-height:65vh;overflow:auto;background:#dadbdd;border:1px solid var(--line);padding:15px}.plan-stage{position:relative;margin:auto;line-height:0;background:#fff}.plan-stage canvas{display:block}.plan-pin{position:absolute;transform:translate(-50%,-50%);border-radius:30px;border:2px solid #fff;background:#e96e11;color:white;min-width:35px;min-height:35px;box-shadow:0 2px 5px #0007;padding:4px;font-size:12px;line-height:1}.plan-pin.selected{background:#1b293b;outline:3px solid #ff8e36}.iso-addon{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--line);border-radius:8px;margin:12px 0;background:#fffaf5}.iso-addons-summary{padding:0 0 20px}.print-topline{color:#bd5a0e}.site-card .actions{margin-top:15px}.site-card .actions:first-child{margin-top:0}.site-card .stat-icon{margin:0}@media(max-width:900px){.report-filters .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.document-row{align-items:flex-start;flex-direction:column}.iso-addon{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{#printArea .table-wrap{overflow:visible}#printArea table{width:100%;font-size:9pt;border-collapse:collapse}#printArea td,#printArea th{padding:7px;border-bottom:1px solid #ddd;color:#222}#printArea th{background:#fff0e2}#printArea .system-extra{color:#555}}

button:hover{background:#fff7ef;border-color:#e9c4a4}button:focus-visible,a:focus-visible{outline-color:#ed9b58}.site-button.selected{background:#f681201a;color:#ffbf8c;border-left-color:#fb821c}.sidebar .nav-button:hover{background:#ffffff0a}.sidebar .nav-button.active{background:#ff831b1e}.sidebar .nav-button.active:before{background:#fb821c}

.office-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.office-tabs button{font-size:12px}.office-board{display:grid;grid-template-columns:1fr 1fr;gap:20px}.office-board-row{display:flex;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:17px 0}.office-board-row>div{flex:1}.office-board-row p{margin:6px 0 0}.traffic{display:inline-block;width:15px;height:15px;border-radius:50%;flex-shrink:0;background:#e7a123;box-shadow:0 0 0 5px #e7a12313}.traffic.red{background:#d64c42;box-shadow:0 0 0 5px #d64c4213}.traffic.green{background:#319478;box-shadow:0 0 0 5px #31947813}.badge.red{background:#fee9e6;color:#b33d31}.office-checks{display:flex;gap:15px;flex-wrap:wrap}.office-checks label{display:flex;align-items:center;gap:8px}.office-checks input{width:auto}.office-line{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr auto;gap:10px;border-bottom:1px solid var(--line);padding:12px 0;align-items:end}.billing-line{display:grid;grid-template-columns:3fr .8fr .8fr 1fr 1.2fr auto;gap:8px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}.billing-line input{min-width:0}.billing-line input[type=checkbox]{width:auto}.auth-shell{width:460px;max-width:95%;margin:8vh auto;padding:36px;border:1px solid var(--line);border-top:6px solid #ef7c19;border-radius:12px;background:#fff;box-shadow:var(--shadow)}.auth-brand{font-size:38px;font-weight:850;letter-spacing:-2px;color:#ed7a18;margin-bottom:30px}.auth-brand span{color:#20242a}.auth-shell label{margin-top:18px}.auth-shell .actions{justify-content:center}.phase-label{display:block;font-size:11px;margin-bottom:12px}.phase-label select{margin-top:5px}.office-fullscreen .sidebar,.office-fullscreen .topbar,.office-fullscreen .footnote{display:none}.office-fullscreen .layout{display:block}.office-fullscreen .main{margin:0}.office-fullscreen .content{max-width:none}.office-fullscreen .office-board{font-size:20px}.office-fullscreen .sub{font-size:16px}.label-sheet{display:flex;flex-wrap:wrap;gap:5mm}.qr-label{width:var(--label-width);height:var(--label-height);border:1px solid #111;padding:2mm;display:flex;gap:2mm;overflow:hidden;break-inside:avoid;page-break-inside:avoid;color:#111;background:#fff}.qr-label-code{width:40%;display:flex;align-items:center;flex-shrink:0}.qr-label-code svg{width:100%;height:auto;max-height:100%}.qr-label-text{display:flex;flex-direction:column;justify-content:center;gap:1mm;font-size:8pt;overflow-wrap:anywhere}.qr-label-text .label-brand{font-size:16pt;color:#d66a12}.qr-label-text b{font-size:9pt}.main table tr[role=button]{cursor:pointer}.sidebar .nav-button[hidden]{display:none}@media(max-width:1000px){.office-board{grid-template-columns:1fr}.office-line{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-line{grid-template-columns:2fr 1fr 1fr}.office-tabs{gap:5px}}@media print{.label-sheet{gap:3mm}.qr-label-text{font-size:7pt}.qr-label-text b{font-size:8pt}#printArea h1{font-size:22pt}#printArea p{font-size:10pt;line-height:1.5}}

.home-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:18px;margin:8px 0 28px}
.home-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:14px;text-align:left;white-space:normal;padding:25px 25px 29px;min-height:205px;border:1px solid #dde3e9;border-radius:14px;background:#fff;color:#172334;box-shadow:0 3px 15px #1b2b4310;transition:transform .15s,box-shadow .15s,border-color .15s}
.home-tile:hover{transform:translateY(-3px);border-color:#ef8327;box-shadow:0 9px 25px #1b2b4318;background:#fff}
.home-tile:focus-visible{outline:3px solid #ef8327;outline-offset:3px}
.home-tile strong{font-size:19px;font-weight:750;line-height:1.3}
.home-tile>span:not(.home-tile-icon):not(.home-tile-count):not(.home-tile-arrow){font-size:13px;line-height:1.5;color:#637083;padding-right:10px}
.home-tile-icon{display:flex;align-items:center;justify-content:center;width:47px;height:47px;color:#df711a;background:#fff1e5;border-radius:12px}.home-tile-icon svg{width:25px;height:25px}
.home-tile-count{position:absolute;right:24px;top:27px;font-size:23px;font-weight:750;color:#213147}
.home-tile-arrow{position:absolute;bottom:20px;right:22px;font-size:20px;color:#bdc6d1}
@media(max-width:620px){.home-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-tile{padding:17px;min-height:185px;gap:11px}.home-tile strong{font-size:16px}.home-tile-count{right:16px;top:20px;font-size:19px}}
@media(max-width:370px){.home-tiles{grid-template-columns:1fr}}

.isodok-logo{position:relative;display:inline-block;width:215px;height:65px;overflow:hidden;background:#fff;vertical-align:middle;border-radius:5px}
.isodok-logo img{position:absolute;display:block;width:123%;max-width:none;height:auto;left:-11.5%;top:50%;transform:translateY(-50%)}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:8px;background:#fff;border-radius:8px;margin-bottom:20px}.brand small{color:#5e6571;align-self:center;letter-spacing:1.3px;font-size:8px}.brand .isodok-logo{width:100%;height:60px}.auth-brand .isodok-logo{width:290px;height:90px}.print-brand{margin:0 0 20px}.print-brand .isodok-logo{width:190px;height:58px}
@media print{.print-brand{break-inside:avoid}.print-brand .isodok-logo{background:#fff}}

.workspace-home{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1220px}
.workspace-home .home-tile{min-height:190px}
.project-primary{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1120px}
.project-primary .home-tile{min-height:185px}
.project-extras{padding:24px;max-width:1120px}
.project-extras h2{font-size:16px;margin:0 0 18px}
.workspace-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.workspace-links button{padding:14px;text-align:left;justify-content:flex-start;white-space:normal;min-height:50px;background:#fcfcfb}
.workspace-links button>span:last-child{margin-left:auto;color:#9ca5b0}
.workspace-links button .icon{color:#dd711a;flex-shrink:0}
.workspace-project-name{border-top:1px solid #ffffff15;border-bottom:1px solid #ffffff15;padding:17px 12px;margin:15px 0}
.workspace-project-name small{display:block;color:#91a0b2;font-size:9px;letter-spacing:1px;margin-bottom:8px}
.workspace-project-name strong{color:#fff;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.workspace-back .nav-button{font-size:11px}
.workspace-more{margin-top:18px;border-top:1px solid #ffffff15;padding-top:8px}
.workspace-more summary{padding:12px;color:#c4ceda;font-size:11px;cursor:pointer}
.workspace-more .nav-button{font-size:11px}
.workspace-scope-note{font-size:10px;color:#91a0b2;line-height:1.5;padding:4px 12px}
.workspace-crumb{border:0;background:transparent;padding:3px;font-size:inherit;color:inherit;box-shadow:none;text-align:left;white-space:normal}
.workspace-crumb:hover{background:#fff1e5;color:#a95616;border-color:transparent}
.workspace-notice{background:#fff1e5;color:#97501b;padding:14px;border-radius:8px}
@media(min-width:1101px){.project-workspace .sidebar{width:260px}.project-workspace.layout{grid-template-columns:260px 1fr}}
@media(max-width:1150px){.workspace-home{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.workspace-links{grid-template-columns:1fr}.workspace-home,.project-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.project-primary .home-tile{min-height:180px}.project-extras{padding:18px}.breadcrumb{min-width:0}.breadcrumb .workspace-crumb{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:420px){.workspace-home,.project-primary{grid-template-columns:1fr}.project-primary .home-tile{min-height:160px}}

.business-home{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1250px}
.business-home .home-tile,.finance-home .home-tile{min-height:185px}
.finance-home{grid-template-columns:repeat(3,minmax(0,1fr))}
.employee-absences{border-top:1px solid var(--line);margin-top:25px;padding-top:20px}
.employee-absences h3{margin:0}.employee-absences .table-wrap{margin-top:16px}
.absence-stats{grid-template-columns:repeat(2,minmax(0,1fr));max-width:700px}
.invoice-filters{margin-bottom:18px}.invoice-filters button{margin-top:14px}
@media(max-width:1150px){.business-home{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-home{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.business-home,.finance-home{grid-template-columns:1fr}.business-home .home-tile,.finance-home .home-tile{min-height:160px}}

.invoice-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:6px 0 24px}
.invoice-steps button{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:12px 10px;font-size:12px;white-space:normal;background:#f7f7f6}
.invoice-steps button span{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e8e9ea;color:#596675;flex-shrink:0}
.invoice-steps button.active{background:#fff0e2;border-color:#eaaa74;color:#9a4a0a}.invoice-steps button.active span{background:#e67a21;color:#fff}
[data-invoice-step][hidden],[data-wizard-action][hidden],[data-wizard-final][hidden]{display:none!important}
[data-invoice-step]>h3{margin:0 0 15px}.invoice-wizard .wizard-context{margin:0 0 9px;font-size:12px;color:#6c7582}
#wizardIssuer{margin-top:24px;border:1px solid var(--line);padding:16px;border-radius:8px}#wizardIssuer summary{cursor:pointer;font-weight:600}#wizardIssuer[open] summary{margin-bottom:20px}
.wizard-save-status{font-size:11px;color:#6b7684;margin-right:auto}.invoice-wizard-dialog .dialog-footer{flex-wrap:wrap;position:sticky;bottom:0;background:#fff;z-index:2}
.wizard-review-parties{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.wizard-review-parties section{background:#fafaf9;padding:18px;border:1px solid var(--line);border-radius:8px}.wizard-review-parties h4{margin:0 0 12px;color:#7a818b;font-size:12px}.wizard-review-parties p{font-size:12px;line-height:1.5;margin:7px 0}
.wizard-review-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;margin:0 0 22px}.wizard-review-facts dt{font-size:11px;color:#7a818b}.wizard-review-facts dd{font-size:12px;margin:5px 0;overflow-wrap:anywhere}.wizard-review-note{white-space:pre-wrap}
#wizardItems>.panel{margin-bottom:18px}.invoice-wizard-dialog{width:1050px!important}
@media(max-width:650px){.invoice-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-review-parties,.wizard-review-facts{grid-template-columns:1fr}.wizard-save-status{flex-basis:100%}.invoice-wizard-dialog .dialog-footer button{font-size:11px}}

#wizardDetails{border:1px solid var(--line);border-radius:8px;padding:16px;margin:0 0 20px}#wizardDetails>summary{cursor:pointer;font-weight:600;font-size:13px}#wizardDetails[open]>summary{margin-bottom:20px}

#invoiceSettingsForm fieldset{border:0;padding:0;margin:0;min-width:0}#invoiceSettingsForm h3{margin-top:26px}#invoiceSettingsForm details{margin:20px 0;padding:15px;border:1px solid #dce2e7;border-radius:10px}.company-assets{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center}.company-assets input{display:block;margin:12px 0}.company-logo-preview{width:100%;max-width:220px;max-height:100px;object-fit:contain}.company-paper-preview{width:120px;height:auto;border:1px solid #dce2e7}#companyPaperPreview{display:flex;gap:20px}.company-assets button{margin-top:8px}#wizardSellerFields input[readonly],#wizardSellerFields textarea[readonly]{background:#f1f3f5;color:#59626a}

#companyLayoutPreview{float:right;width:34%;position:sticky;top:5px;margin:0 0 20px 25px;font-size:11px}#companyLayoutPreview~fieldset{width:61%}.company-preview-page{position:relative;aspect-ratio:210/297;background:white;border:1px solid #dce2e7;box-shadow:0 5px 16px #0001;font-size:8px;overflow:hidden;color:#222}.company-preview-content{position:relative;padding:16px 18px}.company-preview-content p{font-size:8px;line-height:1.5;margin:10px 0}.company-preview-content h4{font-size:12px;margin:10px 0}.company-preview-paper{position:absolute;inset:0;width:100%;height:100%}.company-preview-top{border-top:2px solid;padding-top:5px;display:flex;align-items:center;gap:10px}.company-preview-top img{max-width:75px;height:30px;object-fit:contain}.company-preview-footer{position:absolute;bottom:12px;left:18px;right:18px;font-size:7px}@media(max-width:900px){#companyLayoutPreview{float:none;position:static;width:260px;max-width:100%;margin:10px auto}#companyLayoutPreview~fieldset{width:100%}}

.stock-thumb{width:60px;height:60px;object-fit:contain;vertical-align:middle;margin-right:10px}.stock-low{color:#b54708}.stock-count-value{min-width:100px;width:140px}.time-week-grid{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));gap:10px;overflow:auto}.time-day{padding:12px;border:1px solid #dce2e7;border-radius:10px;background:#fafbfc}.time-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}@media(max-width:850px){.time-week-grid{grid-template-columns:repeat(7,140px)}.time-summary-grid{grid-template-columns:1fr}}

.workflow-attention,.workflow-project-overview{margin-top:20px}.workflow-stats{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}.workflow-attention-row{display:flex;width:100%;justify-content:space-between;align-items:center;text-align:left;gap:16px;margin:8px 0;padding:13px;background:#f8fafc;border:1px solid var(--line);border-radius:10px;color:var(--ink)}.workflow-attention-row small{display:block;color:var(--muted);margin-top:5px;line-height:1.5}.workflow-attention-row strong,.workflow-attention-row span{overflow-wrap:anywhere}.workflow-project-overview progress{width:100%;height:14px;accent-color:#ed741d}.workflow-site-progress{font-weight:600;color:#a65012}.workflow-history{margin-top:22px;padding-top:14px;border-top:1px solid var(--line)}.workflow-photo-hint{font-size:13px;color:var(--muted);margin:8px}.photo-workflow-meta{font-size:12px;color:var(--muted);line-height:1.5}.workflow-setting-tabs{margin-bottom:20px;flex-wrap:wrap}.workflow-unsaved{color:#a65012!important;font-weight:600}.workflow-filters{flex-wrap:wrap}.workflow-filters input{flex:1;min-width:180px}.workflow-discard{position:fixed;inset:0;z-index:30000;background:#17202bc4;display:flex;align-items:center;justify-content:center;padding:18px}.workflow-discard>section{max-width:520px;width:100%;background:white;padding:24px;border-radius:16px;box-shadow:0 15px 60px #0006}.workflow-discard p{margin:16px 0;line-height:1.6}.workflow-project-overview .detail-grid{margin-top:16px}.workflow-project-overview .stats{margin-top:12px}.workflow-attention h2,.workflow-project-overview h2{margin-bottom:14px}
@media(max-width:620px){.workflow-attention-row{flex-wrap:wrap;gap:8px}.workflow-attention-row>span:first-child{width:100%}.workflow-filters>*{width:100%;min-width:0}.workflow-discard .actions{display:grid}.workflow-setting-tabs button{flex:1}.workflow-project-overview .detail-grid{grid-template-columns:1fr}.workflow-discard>section{max-height:85dvh;overflow:auto}}
@media print{.workflow-discard{display:none!important}}
.workflow-photo-picker{display:grid;gap:8px;margin-top:16px}.workflow-photo-picker label{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:8px}.workflow-photo-picker input{width:auto}.workflow-photo-picker img{width:70px;height:65px;object-fit:cover}.workflow-photo-picker small{display:block;color:var(--muted);margin-top:4px}

.report-section-title{margin-top:16px;padding-top:16px;border-top:1px solid var(--line,#e2e8f0)}
.report-section-title:first-child{border:0;margin-top:0;padding-top:0}
.report-labor-section{min-width:0}.report-worker-row{display:grid;grid-template-columns:minmax(150px,1fr) 105px minmax(160px,1.4fr) auto;gap:12px;align-items:end;padding:14px 0;border-bottom:1px solid #e2e8f0}
.report-worker-row>div{min-width:0}.report-worker-row input,.report-worker-row select{width:100%;min-width:0}
.report-worker-actions{margin:16px 0}.report-legacy-note{padding:12px;background:#fff4e8;border-radius:8px}.report-hours-output{margin:18px 0}
.report-overview .actions{margin-bottom:20px}.site-team-summary{margin-top:20px}.site-team-summary .actions h2{margin-right:auto}
.report-team-editor .office-checks{max-height:240px;overflow:auto}.report-hours-output tfoot{font-weight:700;background:#fafafa}
@media(max-width:640px){.report-worker-row{grid-template-columns:minmax(0,1fr) 95px;gap:10px;padding:16px 0}.report-worker-row>div:nth-child(3){grid-column:1/2}.report-worker-row button{justify-self:end}.report-worker-actions>button{width:100%}.report-overview .actions>button{width:100%}}
@media print{.report-hours-output{break-inside:auto}.report-hours-output tr{break-inside:avoid}.report-hours-output .table-wrap{overflow:visible}.report-hours-output th,.report-hours-output td{white-space:normal}}

.etikett-company-entry,.etikett-position-info{padding:18px;margin:18px 0;border:1px solid #e2e8f0;border-radius:12px}.etikett-template-list>div{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:16px 0;border-bottom:1px solid #e2e8f0}.etikett-template-list strong{margin-right:auto}
.etikett-editor{display:grid;grid-template-columns:minmax(280px,1fr) minmax(300px,1fr);gap:24px}.etikett-editor fieldset{border:0;padding:0;min-width:0}.etikett-editor aside{min-width:0}.etikett-preview-scroll{overflow:auto;max-width:100%;padding:12px;background:#edf0f4;border-radius:10px}.etikett-label{position:relative;box-sizing:border-box;background:#fff;color:#111;border:0.3mm solid var(--etikett-color,#ed741d);flex-shrink:0;overflow:hidden;font-family:Arial,sans-serif;text-align:left}
.etikett-field{position:absolute;box-sizing:border-box;overflow:hidden;line-height:1.15;white-space:pre-wrap;overflow-wrap:anywhere;margin:0!important;padding:0!important;min-width:0;min-height:0}.etikett-caption{display:block;font-size:0.8em;font-weight:400;color:#444;margin-bottom:.4mm}.etikett-value{display:block;font-weight:700}.etikett-logo img{width:100%;height:100%;object-fit:contain;object-position:left center;display:block}.etikett-qr{overflow:visible;text-align:center;white-space:nowrap}.etikett-qr svg{display:block;width:100%;height:100%;background:#fff}.etikett-qr small{display:block;font-size:5pt;line-height:1.2;background:white}.etikett-editor .etikett-field{cursor:move;outline:1px dashed #9ca3af;touch-action:none}.etikett-editor .etikett-field.selected{outline:2px solid #ed741d}.etikett-editor [data-etikett-field]{user-select:none}
.etikett-print-fields>div{display:grid;grid-template-columns:minmax(100px,1fr) 1fr 1fr;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #e2e8f0}.etikett-print-fields textarea{min-height:44px}.etikett-stock-list{max-height:55vh;overflow:auto;margin-top:16px}.etikett-stock-list>label{display:flex;gap:12px;align-items:center;padding:12px;border-bottom:1px solid #e2e8f0}.etikett-stock-list input{width:auto}.etikett-camera input{display:block}.etikett-grid{display:grid;align-content:start}.etikett-page{box-sizing:border-box;background:#fff;overflow:hidden}.etikett-page .etikett-field{outline:0!important}
@media(max-width:740px){.etikett-editor{grid-template-columns:1fr}.etikett-print-fields>div{grid-template-columns:1fr}.etikett-stock-list>label{flex-wrap:wrap}.etikett-template-list>div{align-items:flex-start}}
@media print{body.etikett-printing #printArea{padding:0!important;margin:0!important;max-width:none!important;width:auto!important}.etikett-page{page:isodokLabels;break-after:page;break-inside:avoid}.etikett-page:last-child{break-after:auto}.etikett-label{break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}.etikett-page .etikett-grid{display:grid!important}.etikett-page .etikett-label{border:.3mm solid var(--etikett-color)!important}.etikett-page .etikett-field{position:absolute!important;line-height:1.15!important}.etikett-page img{max-height:none!important}.etikett-page svg{max-width:none!important}}

.inspection-toolbar{margin:18px 0}.inspection-summary{margin-top:20px}.inspection-access{padding:16px;border:1px solid #e2e8f0;border-radius:12px}.inspection-description{white-space:pre-wrap;overflow-wrap:anywhere}.inspection-pending{color:#9b5b11;font-weight:600}.inspection-evidence img{max-width:100%;max-height:450px;object-fit:contain}.inspection-evidence figure{margin:0;border:1px solid #e2e8f0;padding:10px}.inspection-repair{padding:15px;border:1px solid #e2e8f0;margin:14px 0}.inspection-photo-input{margin-top:18px}.inspection-photo-draft{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}.inspection-photo-draft figure{margin:0;width:140px}.inspection-photo-draft img{width:140px;height:100px;object-fit:cover}.inspection-plan-scroll{overflow:auto;margin-top:16px;max-height:450px}.inspection-plan-stage{position:relative;cursor:crosshair}.inspection-plan-stage canvas{display:block}.inspection-pin{position:absolute;width:18px;height:18px;border-radius:50%;border:3px solid white;background:#c83232;box-shadow:0 0 0 2px #b91c1c;transform:translate(-50%,-50%);pointer-events:none;z-index:8}.inspection-print-entry{padding:14px 0;border-bottom:1px solid #bbb}.inspection-print-entry .gallery{margin:12px 0}tr[data-inspection-action] small{display:block;margin-top:5px;color:#64748b}#inspectionUserAccess .office-checks{max-height:230px;overflow:auto}
@media(max-width:640px){.inspection-toolbar>button{width:100%}.inspection-photo-input .actions{display:block}.inspection-photo-input input{max-width:100%}}
@media print{.inspection-print-entry .gallery{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}.inspection-evidence img{max-height:220px!important;max-width:100%!important}.inspection-evidence figure{break-inside:avoid}.inspection-print-round{break-before:page}.inspection-print-round:first-of-type{break-before:auto}}

.ht-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.ht-group-grid,.ht-variant-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.ht-variant-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ht-picture{white-space:normal;display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:8px;border:1px solid #dce3ea;background:white;border-radius:10px;color:#243244;cursor:pointer}.ht-picture strong{padding:8px 3px;font-size:13px;overflow-wrap:anywhere}.ht-picture.selected{border:2px solid #ed741d;background:#fff6ed}.ht-image{display:block;position:relative;overflow:hidden;width:100%;aspect-ratio:1;background:#f4f5f6;border-radius:7px}.ht-image img{position:absolute;max-width:none;object-fit:fill}.ht-remember{margin:18px 0;padding:14px;background:#f6f8fa;border-radius:8px}.ht-remember label{display:inline-flex;margin:8px 14px 0 0}.ht-simple .ht-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ht-simple .ht-variant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ht-simple .ht-office{display:none}.ht-simple .ht-picture .ht-image{max-height:220px}.ht-simple .ht-image{aspect-ratio:1}.ht-addon-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0}.ht-addon-meta{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.ht-addon-meta>div{flex:1;min-width:130px}@media(max-width:760px){.ht-group-grid,.ht-variant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ht-office{display:none}.ht-addon-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}

#positionForm:not(.ht-simple) #htPictures{display:none}.ht-simple.ht-lv .ht-native-product{display:none}

.ht-endchoices{display:none}.ht-simple .ht-endchoices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.ht-endchoices p{grid-column:1/-1}.ht-endchoices svg{width:100%;height:auto}@media(max-width:600px){.ht-simple .ht-endchoices{grid-template-columns:repeat(2,minmax(0,1fr))}}

.addon-lv-result,.addon-lv-office{grid-column:1/-1}.addon-lv-result{padding:10px;background:#f8fafc;border-radius:6px}.addon-lv-result .form-note{margin:6px 0 0}.addon-mm-preview{display:block;padding:5px 0;color:#526572}.addon-input-unit{margin-top:6px}

/* Each auxiliary section is its own row, never a narrow cell of the header grid. */
#positionForm .addon-editor{grid-template-columns:minmax(0,2fr) minmax(180px,1.15fr) minmax(100px,.65fr) 38px;align-items:start;column-gap:12px;row-gap:16px}
#positionForm .addon-editor>*{min-width:0}
#positionForm .addon-editor>div:first-child{grid-column:1;grid-row:1}
#positionForm .addon-editor>.addon-measure-field{grid-column:2;grid-row:1}
#positionForm .addon-editor>.addon-quantity-field{grid-column:3;grid-row:1}
#positionForm .addon-editor>button[data-product-action="remove-addon"]{grid-column:4;grid-row:1;align-self:start;margin-top:22px}
#positionForm .addon-editor>.ht-addon-meta,#positionForm .addon-editor>.ht-endchoices,#positionForm .addon-editor>.ht-addon-choices,#positionForm .addon-editor>.addon-note,#positionForm .addon-editor>.addon-lv-result,#positionForm .addon-editor>.addon-lv-office{grid-column:1/-1;grid-row:auto}
#positionForm .addon-measure-controls{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:6px;align-items:start}
#positionForm .addon-input-unit{margin-top:0}
#positionForm .addon-editor .ht-addon-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
#positionForm .addon-editor .ht-addon-meta>div{min-width:0}
#positionForm.ht-simple .ht-addon-meta{grid-template-columns:1fr}
#positionForm.ht-simple .ht-addon-meta>div:nth-child(2){display:none}
#positionForm:not(.ht-simple) .ht-addon-choices{display:none}
#positionForm .ht-addon-choices .ht-picture{align-items:stretch;min-height:0}
#positionForm .ht-addon-choices .ht-image{width:min(100%,180px);max-height:none;align-self:center}
#positionForm .ht-addon-choices .ht-picture strong{min-width:0;word-break:normal;overflow-wrap:normal;hyphens:manual;line-height:1.4}
#positionForm .addon-editor label{font-size:12px}
@media(max-width:760px){
 #positionForm .addon-editor{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px}
 #positionForm .addon-editor>div:first-child{grid-column:1/3;grid-row:1}
 #positionForm .addon-editor>.addon-measure-field{grid-column:1;grid-row:2}
 #positionForm .addon-editor>.addon-quantity-field{grid-column:2/4;grid-row:2}
 #positionForm .addon-editor>button[data-product-action="remove-addon"]{grid-column:3;grid-row:1}
}
@media(max-width:560px){
 #positionForm .addon-editor>.addon-measure-field{grid-column:1/-1;grid-row:2}
 #positionForm .addon-editor>.addon-quantity-field{grid-column:1/-1;grid-row:3}
 #positionForm .addon-editor .ht-addon-meta{grid-template-columns:1fr}
 #positionForm .ht-addon-choices{grid-template-columns:1fr;gap:8px}
 #positionForm .ht-addon-choices .ht-picture{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:center;gap:10px;text-align:left}
 #positionForm .ht-addon-choices .ht-image{width:78px}
}
@media(max-width:760px){.isodok-mobile-shell #positionForm .addon-editor>button[data-product-action="remove-addon"]{margin-top:0}}

/* Guided service capture: pipe type, dimensions, then accessory. Same DOM in both modes. */
#positionForm .addon-dependent{display:flex;flex-wrap:wrap;align-items:flex-start;gap:14px}
#positionForm .addon-dependent>input[type=hidden]{display:none}
#positionForm .addon-dependent>.ht-addon-meta{order:1;flex:0 0 100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#positionForm .addon-dependent>.addon-measure-field{order:2;flex:1 1 220px}
#positionForm .addon-dependent>.addon-product-field{order:3;flex:1 1 220px}
#positionForm .addon-dependent>.addon-quantity-field{order:4;flex:0 1 100px}
#positionForm .addon-dependent>button[data-product-action="remove-addon"]{order:4;flex:0 0 38px}
#positionForm .addon-dependent>.ht-addon-choices{order:5;flex:0 0 100%;grid-template-columns:repeat(2,minmax(0,1fr))}
#positionForm .addon-dependent>.ht-endchoices{order:6;flex:0 0 100%;grid-template-columns:repeat(2,minmax(0,1fr))}
#positionForm .addon-dependent>.addon-note{order:7;flex:0 0 100%}
#positionForm .addon-dependent>.addon-lv-result{order:8;flex:0 0 100%}
#positionForm .addon-dependent>.addon-lv-office{order:9;flex:0 0 100%}
#positionForm .addon-dependent .addon-end-field{order:3}
#positionForm.ht-simple .addon-dependent .ht-addon-meta>div:nth-child(2){display:block}
#positionForm .addon-dependent .addon-pipe-profile{order:2}
#positionForm .addon-dependent .addon-pipe-note{display:block;color:#526572;margin-top:6px;line-height:1.4}
#positionForm .addon-dependent .addon-list-controls{grid-template-columns:minmax(0,1fr)}
#positionForm .addon-dependent [hidden]{display:none!important}
#positionForm .addon-dependent .addon-symbol{height:100px;display:grid;place-items:center;background:#f4f5f6;border-radius:8px}
#positionForm .addon-dependent .addon-symbol svg{width:48px;height:48px}
@media(max-width:560px){
 #positionForm .addon-dependent>.ht-addon-meta{grid-template-columns:minmax(0,1fr)}
 #positionForm .addon-dependent>.addon-measure-field,#positionForm .addon-dependent>.addon-product-field{flex:0 0 100%}
 #positionForm .addon-dependent>.ht-addon-choices{grid-template-columns:minmax(0,1fr)}
}

#positionForm.ht-simple .addon-dependent .addon-end-fixed{display:none!important}
#positionForm .addon-lv-office:empty{display:none}


.invoice-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.invoice-metrics>div{padding:12px;border:1px solid #e1e6ec;background:#f8fafc;border-radius:10px;min-width:0}.invoice-metrics small,.invoice-metrics strong{display:block;overflow-wrap:anywhere}.invoice-metrics small{font-size:11px;color:#68788b;margin-bottom:5px}.invoice-metrics strong{font-size:18px}.billing-filters{margin-top:20px;grid-template-columns:repeat(4,minmax(0,1fr))}.invoice-customer-folder{margin:12px 0;border:1px solid #dfe5ec;border-radius:12px;overflow:hidden}.invoice-customer-folder>summary{padding:16px;background:#f8fafc;cursor:pointer;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.invoice-customer-folder>summary span{font-size:12px;color:#637487}.invoice-project-folder{padding:16px;border-top:1px solid #e1e6ec}.invoice-project-folder h3{font-size:15px;margin:0 0 12px}.invoice-project-folder .invoice-metrics strong{font-size:14px}.invoice-project-folder .invoice-metrics>div{padding:8px}.invoice-overview-row{display:grid;grid-template-columns:minmax(180px,1fr) repeat(3,minmax(90px,.38fr));align-items:center;gap:12px;padding:14px 10px;text-align:left;width:100%;max-width:100%;min-width:0;border:0;border-top:1px solid #e9edf2;border-radius:0;background:white;color:#253347;white-space:normal}.invoice-overview-row:hover{background:#fff6ee}.invoice-overview-row span{min-width:0;overflow-wrap:anywhere}.invoice-overview-row small,.invoice-overview-row strong{display:block;font-size:12px;line-height:1.5}.invoice-overview-row small{font-size:11px;color:#637487}.invoice-origins{margin:0 0 14px;padding:10px;border:1px solid #e4e9ef;border-radius:8px;grid-column:1/-1}.invoice-origins summary{cursor:pointer;font-size:12px;font-weight:600}.invoice-origins table{width:100%;min-width:0;font-size:12px}.invoice-origins td,.invoice-origins th{white-space:normal;overflow-wrap:anywhere;padding:8px}.billing-report-groups>section{padding:16px;border-bottom:1px solid #e4e9ef}.billing-report-groups p{font-size:12px;color:#637487;margin-block:8px}.billing-progress{margin-top:20px}.billing-progress .table-wrap{overflow-x:auto}.invoice-organized-dialog{width:min(1050px,calc(100vw - 40px))!important;max-width:calc(100vw - 40px)!important}.invoice-organized-dialog .dialog-body{min-width:0;max-width:100%;overflow:auto}.invoice-line input[readonly]{background:#f4f6f8}.invoice-line [hidden]{display:none!important}.invoice-line{grid-template-columns:minmax(180px,1fr) 90px 70px 110px 90px 36px}.invoice-line>*{min-width:0}.invoice-line .inv-description{width:100%}
@media(max-width:1100px){.topbar{height:auto;min-height:76px;flex-wrap:wrap}.top-actions{flex-wrap:wrap}.breadcrumb{min-width:0;flex-wrap:wrap}}
@media(max-width:700px){.invoice-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.billing-filters{grid-template-columns:minmax(0,1fr)}.invoice-project-folder{padding:10px}.invoice-overview-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.invoice-overview-row>span:first-child{grid-column:1/-1}.invoice-overview-row strong{font-size:12px}.invoice-customer-folder>summary{padding:12px}.invoice-metrics strong{font-size:15px}.invoice-organized-dialog{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important}.invoice-line{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.invoice-line .inv-description{grid-column:1/-1}.invoice-line .inv-total{align-self:center}.invoice-line>button{justify-self:end}.invoice-origins td:nth-child(2),.invoice-origins th:nth-child(2){display:none}.invoice-organized-dialog .dialog-footer{display:flex;flex-wrap:wrap;gap:8px}.invoice-organized-dialog .dialog-footer button{flex:1 1 130px;min-width:0;min-height:44px;white-space:normal}}

.invoice-organized-dialog{display:flex!important;flex-direction:column;min-width:0;max-height:calc(100vh - 36px)}.invoice-organized-dialog .dialog-header,.invoice-organized-dialog .dialog-footer{flex:0 0 auto;min-width:0;max-width:100%}.invoice-organized-dialog .dialog-body{flex:1 1 auto;min-height:0}.invoice-organized-dialog .dialog-header h2{min-width:0;overflow-wrap:anywhere}.invoice-value-label{display:block;font-size:11px;min-width:0;color:#637487}.invoice-value-label input{display:block;width:100%;min-width:0;margin-top:4px}

.invoice-project-quantities{margin-top:12px}.invoice-project-quantities>summary{font-size:12px;color:#637487;cursor:pointer}.invoice-project-quantities .billing-progress{margin-top:10px;padding:10px}.invoice-project-quantities .panel-title h2{font-size:14px}

.preparation-view-options{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0}.preparation-view-options p{font-size:12px;color:#637487;line-height:1.5;margin:0}.preparation-view-options button{flex-shrink:0}.preparation-group{border:1px solid #dfe5ec;border-radius:12px;margin:14px 0;min-width:0;overflow:hidden;background:white}.preparation-group-head{display:grid;grid-template-columns:minmax(180px,1fr) 74px 58px 120px 105px 36px;align-items:end;gap:12px;padding:16px}.preparation-group-title{align-self:center;min-width:0}.preparation-group-title strong,.preparation-group-title span{display:block;overflow-wrap:anywhere;line-height:1.45}.preparation-group-title strong{color:#bd610c;font-size:14px}.preparation-group-title span{font-size:12px;margin-top:5px}.preparation-group-head>label{min-width:0;font-size:11px;color:#637487}.preparation-group-head input{display:block;max-width:100%;min-width:0;margin-top:4px}.preparation-group-head output{display:block;min-height:42px;padding:11px 8px;margin-top:4px;background:#f4f6f8;border-radius:7px;font-size:14px;color:#253347;font-weight:700}.preparation-group-head .check-option{display:flex;min-height:42px;align-items:center;gap:6px}.preparation-group-head .check-option input{width:18px;height:18px;margin:0}.preparation-group-foot{display:flex;gap:10px;justify-content:space-between;padding:0 16px 12px;font-size:12px;color:#637487}.preparation-group-foot strong{white-space:nowrap;color:#253347}.preparation-group>details{border-top:1px solid #e4e9ef}.preparation-group>details>summary{padding:12px 16px;cursor:pointer;font-size:12px;line-height:1.5;background:#f8fafc;overflow-wrap:anywhere}.preparation-source-rows{padding:0 12px}.preparation-entry{min-width:0}.preparation-entry .billing-line{margin-top:12px}.preparation-entry .form-note{font-size:11px}.billing-preparation-dialog fieldset{min-width:0}.billing-preparation-dialog .form-grid{min-width:0}
@media(max-width:760px){.preparation-view-options{align-items:flex-start;flex-direction:column;gap:10px}.preparation-group-head{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}.preparation-group-title{grid-column:1/-1}.preparation-group-head .check-option{align-self:center}.preparation-group-head>button{justify-self:end}.preparation-group-foot{padding:0 12px 12px;flex-wrap:wrap}.preparation-source-rows{padding:0 8px}.preparation-group>details>summary{padding:12px}.preparation-source-rows .billing-line{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.preparation-source-rows .bill-description{grid-column:1/-1}.preparation-source-rows .billing-line>*{min-width:0;max-width:100%}}

#insulationForm [hidden]{display:none!important}
.ilv-dialog{max-width:1100px;width:min(1100px,96vw)}.ilv-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,.8fr);gap:24px;align-items:start}.ilv-layout>div,.ilv-preview{min-width:0}.ilv-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:18px}.ilv-categories button{display:flex;flex-direction:column;align-items:center;min-width:0;white-space:normal;padding:12px 6px;font-size:11px}.ilv-categories svg{width:65px;height:46px}.ilv-categories strong{font-size:11px;line-height:1.5}.ilv-categories button.selected{border:2px solid #ed741d;background:#fff6ed;padding:11px 5px}.ilv-mode{display:flex;gap:7px;margin-bottom:20px}.ilv-mode button{flex:1;min-width:0;font-size:12px}.ilv-fields{gap:15px}.ilv-fields small{display:block;margin-top:6px;font-size:10px;color:#a95613}.ilv-geometry{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ilv-geometry>div{min-width:0}.ilv-addons{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.ilv-addons h3{font-size:12px}.ilv-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ilv-counters label{font-size:10px;line-height:1.5}.ilv-stepper{display:grid;grid-template-columns:28px minmax(24px,1fr) 28px;border:1px solid #dce1e8;border-radius:7px;overflow:hidden;max-width:180px}.ilv-stepper button{border:0;border-radius:0;padding:0;font-size:17px;background:#fafafa;height:34px;min-height:34px;line-height:1;color:#586273}.ilv-stepper input{border:0;border-radius:0;min-width:0;width:100%;padding:5px 1px;height:34px;text-align:center;font-size:12px;-moz-appearance:textfield}.ilv-stepper input::-webkit-inner-spin-button,.ilv-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ilv-stepper:focus-within{outline:2px solid #ed9b58;outline-offset:1px}.ilv-stepper input:focus{box-shadow:none}.ilv-optional,.ilv-help,#ilv-other-addons{margin-top:17px;border-top:1px solid var(--line);padding-top:14px}.ilv-optional summary,.ilv-help summary,#ilv-other-addons summary{font-size:11px;color:#586273;cursor:pointer;line-height:1.6}.ilv-optional .form-grid{margin-top:17px}#ilv-extra-addons{margin-top:15px;grid-template-columns:repeat(2,minmax(0,1fr))}.ilv-preview{padding:18px;border:1px solid var(--line);border-radius:10px;background:#fcfcfb;position:sticky;top:10px}.ilv-preview svg{width:100%;height:160px}.ilv-preview h3{font-size:14px;line-height:1.6}.ilv-preview .area-preview{margin:18px 0;font-size:15px}.ilv-preview .form-note{font-size:10px}.ilv-detail-graphic{max-width:260px;margin:15px auto}.ilv-detail-graphic svg{width:100%;height:140px}.ilv-catalog-results{margin-top:18px}.ilv-catalog-row{display:flex;align-items:center;gap:15px;padding:14px 0;border-top:1px solid var(--line);font-size:12px;line-height:1.5}.ilv-catalog-row>div{flex:1;min-width:0}.ilv-catalog-row small{font-size:10px;color:var(--muted);display:block;margin-top:5px}.ilv-catalog-row button{font-size:11px;padding:7px 10px}.ilv-catalog-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ilv-catalog-toolbar input{flex:1;min-width:150px}.ilv-catalog-toolbar span{font-size:11px;color:var(--muted)}.ilv-price-help{margin-top:12px;padding:12px;background:#fff6ed;border-radius:7px;font-size:11px;color:#93501b;line-height:1.6}
@media(max-width:760px){.ilv-layout{grid-template-columns:1fr;gap:18px}.ilv-preview{position:static}.ilv-preview svg{height:120px}.ilv-categories{gap:7px}.ilv-categories button{padding:10px 4px}.ilv-categories button.selected{padding:9px 3px}.ilv-categories strong{font-size:10px}.ilv-categories svg{width:50px;height:38px}.ilv-counters{gap:9px}.ilv-stepper{grid-template-columns:25px minmax(24px,1fr) 25px}.ilv-stepper button,.ilv-stepper input{height:32px;min-height:32px}.ilv-catalog-row{align-items:flex-start;flex-wrap:wrap}.ilv-catalog-row>div{flex-basis:100%}.ilv-geometry{gap:8px}.ilv-geometry label{font-size:10px}.ilv-mode button{padding:9px 5px;font-size:11px}.ilv-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ilv-catalog-toolbar{align-items:flex-start}}
@media print{.ilv-detail-graphic svg{height:90px}}

#htPictures .ht-selection-stage{border:1px solid #e2e5e8;border-radius:11px;background:#fff;padding:17px;margin:18px 0 0;min-width:0}
#htPictures .ht-stage-heading{display:flex;gap:11px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #e6e5e2;margin-bottom:14px}
#htPictures .ht-stage-number{display:grid;place-items:center;background:#253044;color:white;font-size:13px;font-weight:700;width:29px;height:29px;border-radius:7px;flex-shrink:0}
#htPictures .ht-stage-heading h3{font-size:15px;line-height:1.4;margin:0}
#htPictures .ht-stage-heading p{font-size:11px;color:#77808d;margin:5px 0 0;line-height:1.5}
#htPictures .ht-stage-variant{margin-top:28px;border-top:4px solid #ef7c19;background:#fffaf5}
#htPictures .ht-stage-variant .ht-stage-number{background:#ef7c19}
#htPictures .ht-group-grid,#htPictures .ht-variant-grid{margin:0}
#htPictures .ht-stage-variant .ht-picture{background:#fff}
@media(max-width:760px){#htPictures .ht-selection-stage{padding:12px;margin-top:16px}#htPictures .ht-stage-variant{margin-top:28px}#htPictures .ht-stage-heading h3{font-size:14px}#htPictures .ht-stage-heading p{font-size:11px}#htPictures .ht-stage-heading{padding-bottom:12px;margin-bottom:12px}#htPictures .ht-group-grid,#htPictures .ht-variant-grid{gap:8px}#htPictures .ht-picture strong{font-size:12px;line-height:1.5}}

.contract-source{margin-top:20px;padding:15px;border:1px solid #e3e6ea;border-left:4px solid #ef7c19;border-radius:8px;background:#fffaf5}
.contract-source p{margin:6px 0}.contract-source small,.contract-original small{display:block;color:#687386;line-height:1.5}
.contract-comparison .toolbar{display:flex;gap:12px;align-items:center;margin:16px 0}.contract-comparison .toolbar select{width:auto;max-width:100%}
.contract-comparison table{min-width:680px}.contract-comparison td{vertical-align:top}.contract-original{margin-top:22px}.contract-original summary{cursor:pointer;font-weight:600;padding:12px 0}
.contract-warning{padding:10px 12px;border-left:3px solid #ef7c19;background:#fff5e9;font-size:12px;line-height:1.6}
.dialog.contract-import-dialog{width:min(1400px,calc(100vw - 32px));max-width:1400px}
.contract-import-table{overflow-x:auto;max-width:100%;margin:18px 0;border:1px solid #e2e5e9;border-radius:8px}
.contract-import-table table{border-collapse:collapse;min-width:1040px;width:100%;font-size:12px}
.contract-import-table th{background:#f4f6f8;text-align:left;padding:12px 10px;white-space:nowrap}.contract-import-table td{padding:12px 10px;border-top:1px solid #e3e6ea;vertical-align:top}
.contract-import-table td:nth-child(2){width:27%}.contract-import-table td:nth-child(3){width:21%}.contract-import-table td:nth-child(4){width:15%}.contract-import-table td:nth-child(5){width:13%}
.contract-import-table input:not([type=checkbox]){width:100%;min-width:0;padding:8px;font-size:12px;margin-bottom:6px}.contract-import-table input[type=checkbox]{width:18px;height:18px;accent-color:#ef7c19}
.contract-import-table small{display:block;font-size:11px;line-height:1.5;color:#637087;max-width:240px;overflow-wrap:anywhere}.contract-import-description{line-height:1.5;max-height:110px;overflow-y:auto;overflow-wrap:anywhere}
.contract-import-table .contract-error{color:#ad3c14}#contract-preview-summary{min-height:24px}
@media(max-width:760px){.dialog.contract-import-dialog{width:calc(100vw - 16px)}.contract-import-dialog .dialog-body{padding:14px}.contract-comparison .toolbar{align-items:flex-start;flex-direction:column}.contract-source{padding:12px}.contract-import-dialog .dialog-footer{flex-wrap:wrap}.contract-import-dialog .dialog-footer button{flex:1}}

.optional-project-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.optional-project-tools>span{color:#748091;font-size:11px;text-transform:uppercase;letter-spacing:.06em}
.optional-lv-choice{display:flex;flex-direction:column;gap:6px;align-items:flex-start;width:100%;margin:8px 0;padding:12px;text-align:left;white-space:normal}.optional-lv-choice span,.optional-lv-choice small{color:#66748b;line-height:1.5}.optional-lv-choice:disabled{opacity:.7}
.optional-choice-hint{border-left:3px solid #ef7c19;padding:10px 12px;background:#fff7ed;margin:0 0 16px;font-size:12px}.optional-choice-hint p{margin:6px 0;line-height:1.5}.optional-choice-hint small{color:#a23d16}
.optional-parent-list{display:flex;flex-direction:column;gap:8px}.optional-parent-list button{text-align:left;white-space:normal}
.optional-review-list button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;width:100%;text-align:left;white-space:normal;padding:12px;margin:8px 0}.optional-review-list strong{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.optional-review-list button>span:last-child{font-size:11px;color:#69778c}
#projectChangeForm fieldset{border:0;padding:0;margin:0}#projectChangeForm textarea{min-height:90px}.contract-pdf-source{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.5 inherit;max-height:180px;overflow-y:auto}
@media(max-width:760px){.optional-project-tools{gap:6px}.optional-project-tools button{font-size:11px;padding:9px}.optional-review-list button{grid-template-columns:auto minmax(0,1fr)}.optional-review-list button>span:last-child{grid-column:2}.optional-lv-choice strong{font-size:12px}}

.flv-visual{display:block;aspect-ratio:1.25;overflow:hidden;background:#eee;border-radius:7px;min-width:0}.flv-visual img{display:block;width:100%;height:auto}
#fireLVForm [hidden]{display:none!important}#fireLVForm .ht-selection-stage{margin-top:0}#fireLVForm .ht-group-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.flv-dialog{max-width:1120px!important}
.flv-execution{margin-top:26px;border:1px solid #e2e5e8;border-top:4px solid #ef7c19;border-radius:10px;background:#fffaf5;padding:16px}.flv-title{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e5e5e5;padding-bottom:12px;margin-bottom:16px}.flv-title>span{background:#ef7c19;color:white;border-radius:6px;padding:6px 10px;font-weight:700}.flv-title h3{margin:0;font-size:15px}
.flv-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px}.flv-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.flv-two>small{grid-column:1/-1}.flv-preview{background:white;padding:14px;border:1px solid #e5e6e9;border-radius:10px;align-self:start;position:sticky;top:0}.flv-preview strong{display:block;margin-top:14px}.flv-preview p,.flv-preview small{font-size:12px;line-height:1.6}.flv-extra{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px;margin:12px 0}.flv-extra input,.flv-extra select{width:100%;margin-top:6px}.flv-optional,#flv-allowance{margin-top:18px;padding-top:12px;border-top:1px solid #e1e4e7}.flv-optional summary,#flv-allowance summary{cursor:pointer;margin-bottom:12px;font-size:12px;font-weight:600}#fireLVForm small{display:block;font-size:11px;color:#68748a;line-height:1.6}#fireLVForm input,#fireLVForm select{min-width:0}#fireLVForm .ht-picture strong{font-size:12px}
@media(max-width:760px){#fireLVForm .ht-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flv-layout{grid-template-columns:1fr;gap:16px}.flv-preview{position:static}.flv-preview .flv-visual{max-width:180px;margin:auto}.flv-execution{padding:12px}.flv-extra{grid-template-columns:minmax(0,1fr) 82px;gap:8px}.flv-title h3{font-size:14px}}
/* All eight main groups remain reachable in both capture modes. */
#positionForm.ht-lv #htPictures{display:block}
#positionForm.ht-lv .ht-native-product{display:none}

.web-login-logo{width:220px;max-width:100%;height:90px;object-fit:contain}.auth-shell .sub{margin:12px 0}
/* Mobile shell: contain the content itself, rather than clipping the page. */
html.isodok-mobile-shell,body.isodok-mobile-shell{width:100%;max-width:100%;min-width:0}
body.isodok-mobile-shell{--mobile-bar-height:66px;--mobile-screen-height:100vh}
#mobileAppBar{position:sticky;top:0;z-index:40;background:#eaf3ed;border-bottom:1px solid #ccdfd2;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 16px;min-height:66px;color:#214d33;max-width:100%;box-sizing:border-box}
#mobileAppBar .mobile-status{display:flex;align-items:center;gap:10px;min-width:0}
#mobileAppBar strong{display:block;font-size:12px;overflow-wrap:anywhere}
#mobileAppBar small{display:block;font-size:10px;font-weight:400;margin-top:3px;line-height:1.35;overflow-wrap:anywhere}
#mobileAppBar .mobile-status-dot{width:9px;height:9px;border-radius:50%;background:#33825a;flex-shrink:0}
#mobileAppBar .mobile-app-actions{display:flex;gap:6px;flex-shrink:0;flex-wrap:wrap}
#mobileAppBar button{min-height:44px;white-space:normal}
.isodok-offline-appearance #mobileAppBar{background:#f0f1f3;border-color:#d6dce2;color:#505d6b}
.isodok-offline-appearance #mobileAppBar .mobile-status-dot,.isodok-offline-appearance .local-note .dot{background:#8b96a2}
.isodok-mobile-shell .sidebar{top:var(--mobile-bar-height,66px)}
.isodok-mobile-shell .auth-shell{min-height:0;max-width:calc(100% - 24px);margin:24px auto}
#mobileNavBackdrop,.mobile-nav-close{display:none}
#mobileNavBackdrop[hidden]{display:none!important}
@media screen and (max-width:900px){
 .isodok-mobile-shell .layout,.isodok-mobile-shell .project-workspace.layout{display:block;width:100%;max-width:100%;min-width:0}
 .isodok-mobile-shell .main{grid-column:auto;width:100%;max-width:100%;min-width:0}
 .isodok-mobile-shell .sidebar{display:none;z-index:30;top:var(--mobile-bar-height,66px);bottom:0;width:min(296px,calc(100vw - 28px));max-width:calc(100vw - 28px);overflow-y:auto;overscroll-behavior:contain}
 .isodok-mobile-shell .sidebar.open{display:flex}
 .isodok-mobile-shell .mobile-menu{display:inline-flex;min-height:44px;min-width:44px}
 .isodok-mobile-shell .mobile-nav-close{display:flex;color:#fff;background:transparent;border:1px solid #ffffff33;min-height:44px;margin-bottom:12px;justify-content:center}
 .isodok-mobile-shell #mobileNavBackdrop{display:block;position:fixed;inset:var(--mobile-bar-height,66px) 0 0;z-index:25;background:#17233170;border:0;border-radius:0;width:100%;padding:0;max-width:none}
 .isodok-mobile-shell .topbar{padding:12px;gap:10px;height:auto;min-height:66px;flex-wrap:wrap;max-width:100%}
 .isodok-mobile-shell .breadcrumb{flex:1 1 100%;min-width:0;gap:7px;flex-wrap:wrap;overflow-wrap:anywhere}
 .isodok-mobile-shell .breadcrumb .workspace-crumb{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
 .isodok-mobile-shell .top-actions{width:100%;min-width:0;display:flex;gap:7px;flex-wrap:wrap}
 .isodok-mobile-shell .top-actions>button{font-size:12px;min-height:44px;padding:9px 12px;white-space:normal;max-width:100%;overflow-wrap:anywhere}
 .isodok-mobile-shell .top-actions .save-state{display:flex;flex:1 1 100%;white-space:normal}
 .isodok-mobile-shell .content{width:100%;max-width:100%;min-width:0;padding:20px 14px 30px}
 .isodok-mobile-shell .panel,.isodok-mobile-shell .settings-card,.isodok-mobile-shell .project-extras,.isodok-mobile-shell .table-wrap,.isodok-mobile-shell .home-tiles,.isodok-mobile-shell .site-grid,.isodok-mobile-shell .gallery{min-width:0;max-width:100%}
 .isodok-mobile-shell .form-grid>*,.isodok-mobile-shell .detail-grid>*,.isodok-mobile-shell .stats>*,.isodok-mobile-shell .home-tile,.isodok-mobile-shell fieldset{min-width:0;max-width:100%;overflow-wrap:anywhere}
 .isodok-mobile-shell fieldset{margin-inline:0}
 .isodok-mobile-shell input:not([type=checkbox]):not([type=radio]),.isodok-mobile-shell select,.isodok-mobile-shell textarea{min-width:0;max-width:100%;width:100%;font-size:16px;box-sizing:border-box}
 .isodok-mobile-shell input[type=date],.isodok-mobile-shell input[type=time],.isodok-mobile-shell input[type=month]{min-height:46px}
 .isodok-mobile-shell input[type=file]{white-space:normal;overflow-wrap:anywhere}
 .isodok-mobile-shell button{touch-action:manipulation}
 .isodok-mobile-shell .actions{min-width:0;max-width:100%;flex-wrap:wrap;gap:8px}
 .isodok-mobile-shell .actions>button{max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere}
 .isodok-mobile-shell .page-heading{display:block}
 .isodok-mobile-shell .page-heading>.actions{margin-top:14px}
 .isodok-mobile-shell .panel-title,.isodok-mobile-shell .detail-heading,.isodok-mobile-shell .document-row{align-items:flex-start;flex-wrap:wrap;gap:12px;min-width:0}
 .isodok-mobile-shell .panel-title>*{min-width:0;max-width:100%}
 .isodok-mobile-shell .table-wrap{width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 .isodok-mobile-shell .badge{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .isodok-mobile-shell .dialog-overlay{z-index:100;display:flex;align-items:center;justify-content:center;max-width:100%;padding:8px;padding-bottom:max(8px,env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}
 .isodok-mobile-shell .dialog,.isodok-mobile-shell .dialog.wide,.isodok-mobile-shell .invoice-wizard-dialog,.isodok-mobile-shell .photo-review-dialog{display:flex;flex-direction:column;width:100%!important;max-width:100%!important;min-width:0;max-height:calc(var(--mobile-screen-height,100vh) - 16px);overflow:hidden;margin:auto}
 .isodok-mobile-shell .dialog-header{position:static;flex:0 0 auto;padding:14px;gap:10px;min-width:0}
 .isodok-mobile-shell .dialog-header h2{min-width:0;overflow-wrap:anywhere;font-size:17px}
 .isodok-mobile-shell .dialog-header button{min-width:44px;min-height:44px;flex-shrink:0}
 .isodok-mobile-shell .dialog-body{flex:1 1 auto;min-height:0;min-width:0;max-width:100%;overflow:auto;overscroll-behavior:contain;padding:16px 14px;-webkit-overflow-scrolling:touch}
 .isodok-mobile-shell .dialog-body form{min-width:0;max-width:100%}
 .isodok-mobile-shell .dialog-footer{position:static;flex:0 0 auto;min-width:0;max-width:100%;flex-wrap:wrap;gap:8px;padding:12px 14px;background:white}
 .isodok-mobile-shell .dialog-footer button{flex:1 1 130px;max-width:100%;min-width:0;min-height:46px;white-space:normal;font-size:13px;overflow-wrap:anywhere}
 .isodok-mobile-shell .photo-review-dialog .dialog-body{padding:0}
 .isodok-mobile-shell .photo-review-layout{grid-template-columns:minmax(0,1fr);min-height:0}
 .isodok-mobile-shell .photo-review-image{max-height:36vh;min-width:0;padding:10px}
 .isodok-mobile-shell .photo-review-fields{max-height:none;border-left:0;min-width:0;padding:14px}
 .isodok-mobile-shell .review-picture-button:not(.zoomed) img{max-width:100%;max-height:30vh}
 .isodok-mobile-shell .plan-dialog .dialog-body{min-width:0}
 .isodok-mobile-shell .plan-toolbar{max-width:100%;gap:8px}
 .isodok-mobile-shell .plan-toolbar label{min-width:0;max-width:100%;flex-wrap:wrap}
 .isodok-mobile-shell .plan-toolbar input{width:70px!important}
 .isodok-mobile-shell .plan-scroll{max-width:100%;max-height:50vh;padding:8px;overscroll-behavior:contain}
 .isodok-mobile-shell .toast{left:12px;right:12px;bottom:max(16px,env(safe-area-inset-bottom));transform:none;width:auto;max-width:calc(100% - 24px);white-space:normal;overflow-wrap:anywhere;z-index:150}
 .isodok-mobile-shell .auth-shell{padding:24px 20px}
 .isodok-mobile-shell .auth-shell .web-login-logo{max-width:100%}
 .isodok-mobile-shell .footnote{flex-wrap:wrap;overflow-wrap:anywhere}
}
@media screen and (max-width:620px){
 #mobileAppBar{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px;gap:8px;min-height:66px;align-items:center}
 #mobileAppBar .mobile-status{gap:7px}
 #mobileAppBar .mobile-app-actions{max-width:150px;justify-content:flex-end;gap:6px}
 #mobileAppBar .mobile-app-actions button{font-size:11px;padding:8px;min-height:44px}
 .isodok-mobile-shell .form-grid,.isodok-mobile-shell .settings-grid,.isodok-mobile-shell .doc-options,.isodok-mobile-shell .company-assets,.isodok-mobile-shell .time-summary-grid,.isodok-mobile-shell .wizard-review-parties,.isodok-mobile-shell .wizard-review-facts,.isodok-mobile-shell .report-filters .form-grid,.isodok-mobile-shell .iso-addon{grid-template-columns:minmax(0,1fr)!important;gap:14px}
 .isodok-mobile-shell .home-tiles,.isodok-mobile-shell .workspace-home,.isodok-mobile-shell .project-primary,.isodok-mobile-shell .business-home,.isodok-mobile-shell .finance-home,.isodok-mobile-shell .site-grid,.isodok-mobile-shell .gallery{grid-template-columns:minmax(0,1fr)!important;gap:12px}
 .isodok-mobile-shell .home-tile{min-height:145px;padding:18px;gap:10px}
 .isodok-mobile-shell .home-tile strong{font-size:18px;overflow-wrap:anywhere}
 .isodok-mobile-shell .home-tile-count{font-size:20px;top:19px;right:18px}
 .isodok-mobile-shell .stats,.isodok-mobile-shell .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .isodok-mobile-shell .stat{padding:12px}
 .isodok-mobile-shell .stat-value{font-size:22px;overflow-wrap:anywhere}
 .isodok-mobile-shell .dimensions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .isodok-mobile-shell .addon-editor,.isodok-mobile-shell .repair-editor,.isodok-mobile-shell .office-line,.isodok-mobile-shell .billing-line,.isodok-mobile-shell .invoice-line{grid-template-columns:minmax(0,1fr)!important;gap:12px;min-width:0;max-width:100%;padding:14px 10px}
 .isodok-mobile-shell .addon-editor>*,.isodok-mobile-shell .repair-editor>*{grid-column:auto!important;grid-row:auto!important;min-width:0;max-width:100%}
 .isodok-mobile-shell .addon-editor .ghost,.isodok-mobile-shell .repair-editor>button{justify-self:end;min-width:44px;min-height:44px}
 .isodok-mobile-shell .invoice-line textarea,.isodok-mobile-shell .invoice-line input{width:100%;min-width:0}
 .isodok-mobile-shell .office-board{grid-template-columns:minmax(0,1fr)}
 .isodok-mobile-shell .office-board-row{min-width:0;flex-wrap:wrap}
 .isodok-mobile-shell .office-board-row>div{min-width:0;overflow-wrap:anywhere}
 .isodok-mobile-shell .sub,.isodok-mobile-shell .detail-value,.isodok-mobile-shell .time-day{min-width:0;overflow-wrap:anywhere}
 .isodok-mobile-shell .time-week-grid{grid-template-columns:minmax(0,1fr);overflow:visible}
 .isodok-mobile-shell .invoice-steps{grid-template-columns:minmax(0,1fr);gap:7px}
 .isodok-mobile-shell .invoice-steps button{min-height:44px}
 .isodok-mobile-shell .company-assets,.isodok-mobile-shell #companyPaperPreview{flex-wrap:wrap;min-width:0;max-width:100%}
 .isodok-mobile-shell #companyLayoutPreview{float:none;position:static;width:230px;max-width:100%;margin:12px auto}
 .isodok-mobile-shell #companyLayoutPreview~fieldset{width:100%}
 .isodok-mobile-shell .table-wrap.mobile-card-wrap{overflow:visible}
 .isodok-mobile-shell table.mobile-cards{display:block;min-width:0;width:100%;max-width:100%;table-layout:fixed}
 .isodok-mobile-shell .mobile-cards thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .isodok-mobile-shell .mobile-cards tbody,.isodok-mobile-shell .mobile-cards tfoot{display:block;min-width:0;max-width:100%;width:100%}
 .isodok-mobile-shell .mobile-cards tbody>tr,.isodok-mobile-shell .mobile-cards tfoot>tr{display:block;margin:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;min-width:0;max-width:calc(100% - 20px);background:white}
 .isodok-mobile-shell .mobile-cards tr.floor-row{border:0;background:#f1f3f5;margin-bottom:0}
 .isodok-mobile-shell .mobile-cards td{display:block;width:100%;max-width:100%;min-width:0;white-space:normal!important;overflow-wrap:anywhere;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}
 .isodok-mobile-shell .mobile-cards td:last-child{border-bottom:0}
 .isodok-mobile-shell .mobile-cards td[data-mobile-label]:before{content:attr(data-mobile-label);display:block;color:var(--muted);font-size:10px;font-weight:650;letter-spacing:.3px;line-height:1.5;margin-bottom:5px}
 .isodok-mobile-shell .mobile-cards td[colspan]{display:block}
 .isodok-mobile-shell .stock-count-value{min-width:0;width:100%;max-width:100%}
 .isodok-mobile-shell .dialog-body>.panel,.isodok-mobile-shell .dialog-body .settings-card{padding:14px}
}
@media screen and (max-width:360px){
 #mobileAppBar{grid-template-columns:minmax(0,1fr)}
 #mobileAppBar .mobile-app-actions{max-width:100%;justify-content:flex-start}
 .isodok-mobile-shell .detail-grid{grid-template-columns:minmax(0,1fr)}
 .isodok-mobile-shell .dialog-footer button{flex-basis:100%}
}
@media print{#mobileAppBar,#mobileNavBackdrop,.mobile-nav-close{display:none!important}.isodok-mobile-shell .sidebar{top:0}html.isodok-mobile-shell,body.isodok-mobile-shell{width:auto;max-width:none}.mobile-cards{display:table}.mobile-cards td:before{display:none}}

#offlineProjectBar{position:fixed;bottom:0;left:0;right:0;z-index:18;background:#fff8ee;border-top:2px solid #ed741d;box-shadow:0 -3px 15px #0001;padding:10px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}#offlineProjectBar strong,#offlineProjectBar small{display:block}#offlineProjectBar small{font-size:12px;line-height:1.5}#offlineProjectBar .actions{margin:0;flex-wrap:wrap}.has-offline-project-bar .main{padding-bottom:145px}.offline-conflict-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.offline-conflict-grid section{padding:16px;background:#f6f7f9;border-radius:10px}body.has-offline-project-bar .footnote{margin-bottom:60px}@media(max-width:760px){#offlineProjectBar{padding:8px 10px;flex-direction:column;align-items:stretch;gap:6px;max-height:30dvh;overflow:auto}#offlineProjectBar .actions{gap:6px}.has-offline-project-bar .main{padding-bottom:200px}.offline-conflict-grid{grid-template-columns:1fr}}@media print{#offlineProjectBar{display:none!important}}
#offlineSyncLock{position:fixed;inset:0;z-index:29000;background:#17202bd9;color:white;display:flex;justify-content:center;align-items:center;padding:25px;text-align:center;font-size:18px;font-weight:600}@media print{#offlineSyncLock{display:none!important}}

/* Compact views apply only to phones; desktop tables keep their existing layout. */
@media screen and (max-width:760px){
 body.isodok-mobile-shell{--mobile-bar-height:44px}
 #mobileAppBar{display:flex!important;min-height:44px!important;padding:4px 12px!important;gap:8px!important}
 #mobileAppBar .mobile-status{gap:7px}
 #mobileAppBar .mobile-status strong{font-size:12px}
 #mobileAppBar .mobile-status small{display:none!important}
 #mobileAppBar .mobile-app-actions button{min-height:36px!important;padding:5px 9px!important;font-size:11px}
 body.isodok-mobile-shell .topbar{min-height:52px;padding:4px 10px;gap:0}
 body.isodok-mobile-shell .breadcrumb{flex-wrap:nowrap;font-size:12px}
 body.isodok-mobile-shell .sidebar .mobile-account-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;padding:16px 0;border-top:1px solid #ffffff22}
 body.isodok-mobile-shell .sidebar .mobile-account-actions .save-state{display:none}
 body.isodok-mobile-shell .sidebar .mobile-account-actions>button{min-height:44px;width:100%;max-width:100%;font-size:12px}
 body.isodok-mobile-shell .content{padding:14px 12px 20px}
 body.isodok-mobile-shell .page-heading h1{font-size:23px}
 body.isodok-mobile-shell .content:has(#positionTable) .page-heading{margin-bottom:12px}
 body.isodok-mobile-shell .content:has(#positionTable) .page-heading p,
 body.isodok-mobile-shell .content:has(#positionTable) .page-heading .eyebrow{display:none}
 body.isodok-mobile-shell .content:has(#positionTable) .panel-title{padding:10px 0;align-items:center}
 body.isodok-mobile-shell .content:has(#positionTable) .panel-title h2{font-size:16px}
 body.isodok-mobile-shell .content:has(#positionTable) .panel-title p{display:none}
 body.isodok-mobile-shell .content:has(#positionTable) .toolbar{padding:10px 0}
 .mobile-project-overview{margin:4px 0 12px;border-block:1px solid #e3e7ec}
 .mobile-project-overview>summary{display:flex;align-items:center;justify-content:space-between;min-height:40px;padding:6px 2px;font-size:12px;color:#667585;cursor:pointer;list-style:none}
 .mobile-project-overview>summary::-webkit-details-marker{display:none}
 .mobile-project-overview .stats{margin-block:8px}
 body.isodok-mobile-shell .page-heading>.actions{margin-top:10px}
 body.isodok-mobile-shell .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding-bottom:3px}
 body.isodok-mobile-shell .stats .stat{padding:8px 6px;min-width:0}
 body.isodok-mobile-shell .stats .stat-label{font-size:9px;line-height:1.3;overflow-wrap:anywhere}
 body.isodok-mobile-shell .stats .stat-value{font-size:18px}
 body.isodok-mobile-shell .panel{padding:14px 12px}
 body.isodok-mobile-shell .toolbar{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 body.isodok-mobile-shell .toolbar .search{grid-column:1/-1;min-width:0}
 body.isodok-mobile-shell .toolbar>.right{grid-column:1/-1;font-size:12px}
 .mobile-position-list{display:grid;gap:9px;width:100%;min-width:0}
 .mobile-floor-heading{font-size:12px;letter-spacing:.04em;color:#667585;margin:10px 2px 0}
 body.isodok-mobile-shell .mobile-position-card{display:block;width:100%;max-width:100%;min-width:0;padding:12px;text-align:left;white-space:normal;background:#fff;border:1px solid #dce3ea;border-radius:12px;box-shadow:0 2px 4px #18283806;color:#253243;font:inherit;cursor:pointer;overflow-wrap:anywhere}
 .mobile-position-card:hover{border-color:#ed741d;background:#fffaf5}
 .mobile-position-card:focus-visible{outline:3px solid #ed741d;outline-offset:2px}
 .mobile-card-head,.mobile-card-content,.mobile-card-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;min-width:0}
 .mobile-card-reference{font-size:16px;color:#24558a}
 .mobile-card-head .badge{font-size:11px;padding:3px 7px;flex-shrink:0}
 .mobile-card-content{margin-top:9px;align-items:flex-start}
 .mobile-card-description{display:grid;gap:3px;flex:1;min-width:0}
 .mobile-card-title{font-size:14px;line-height:1.35}
 .mobile-card-meta,.mobile-card-extra{font-size:12px;line-height:1.4;color:#667585}
 .mobile-card-extra{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .mobile-card-photo{width:48px;height:48px;border-radius:7px;object-fit:cover;flex-shrink:0}
 .mobile-card-footer{margin-top:10px;padding-top:8px;border-top:1px solid #edf0f4;color:#536375;font-size:11px;line-height:1.45}
 .mobile-card-footer>span:first-child{min-width:0;flex:1}
 .mobile-card-count{display:flex;align-items:center;gap:4px;white-space:nowrap;flex-shrink:0}
 .mobile-card-count svg{width:15px;height:15px}
 .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}
/* One collapsed control, with the existing real offline operations behind it. */
#mobileAppBar[data-connection="offline"]{background:#fff5e3;color:#805b20}
#mobileAppBar[data-connection="offline"] .mobile-status-dot{background:#b57c16}
#mobileAppBar[data-connection="disconnected"]{background:#f0f1f3;color:#505d6b}
#mobileAppBar[data-connection="disconnected"] .mobile-status-dot{background:#8b96a2}
#offlineProjectBar{display:block!important;padding:0!important;max-height:none!important;overflow:visible!important;border-top:1px solid #e3d5c2;background:#fffaf3}
#offlineProjectBar summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:8px 16px;list-style:none;cursor:pointer;font-size:13px;box-sizing:border-box}
#offlineProjectBar summary::-webkit-details-marker{display:none}
#offlineProjectBar summary:focus-visible{outline:3px solid #ed741d;outline-offset:-3px}
.offline-panel-title{font-weight:600}
.offline-panel-summary{display:flex;align-items:center;gap:8px;font-size:12px}
.offline-panel-pending{background:#fff0d6;color:#905000;border-radius:20px;padding:3px 8px}
.offline-panel-chevron{display:inline-block;transition:transform .15s}
details[open] .offline-panel-chevron{transform:rotate(180deg)}
#offlineProjectBar .offline-panel-body{padding:2px 16px 14px;max-height:55dvh;overflow:auto;overscroll-behavior:contain}
#offlineProjectBar .offline-panel-body>div:first-child{margin-bottom:10px}
#offlineProjectBar .offline-panel-body .actions{display:flex;gap:8px}
#offlineProjectBar .offline-panel-body .actions button{min-height:44px}
#offlineProjectBar .offline-panel-body .error{margin-top:6px}
body.has-offline-project-bar .main{padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))!important}
body.has-offline-project-bar .footnote{margin-bottom:0!important}
@media screen and (max-width:760px){
 #offlineProjectBar summary{padding:8px 12px;min-height:48px}
 #offlineProjectBar{padding-bottom:env(safe-area-inset-bottom,0px)!important}
 #offlineProjectBar .offline-panel-body{padding-inline:12px}
 #offlineProjectBar .offline-panel-body .actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #offlineProjectBar .offline-panel-body .actions button{width:100%;min-width:0;font-size:12px;padding:8px;white-space:normal}
}
@media print{#offlineProjectBar,#mobileAppBar,.mobile-position-list{display:none!important}}
