:root{--ink:#17313f;--muted:#607381;--line:#dbe3e7;--bg:#f2f5f6;--accent:#c9552c;--nav:#152e3b;--green:#206e54;--amber:#925811}*{box-sizing:border-box}body{margin:0;font:15px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:var(--bg)}aside{position:fixed;inset:0 auto 0 0;width:240px;background:var(--nav);color:#fff;padding:32px 22px;display:flex;flex-direction:column}.brand b{display:block;font-size:40px;letter-spacing:4px;line-height:1}.brand span{color:#e18b5e;font-size:28px}.brand small{font-size:9px;letter-spacing:1.1px}.navlabel{font-size:10px;letter-spacing:1.6px;color:#9eb1bc;margin:56px 12px 12px}nav button{width:100%;text-align:left;background:none;color:#c7d4dc;border:0;margin:3px 0;padding:13px 14px;font-size:14px;border-radius:6px}nav button.active{color:#fff;background:#304a58;border-left:3px solid #e99266}.aside-foot{margin-top:auto;font-size:12px;color:#a8bbc5}.aside-foot span{color:#f6c493}.shell{margin-left:240px}header{background:white;border-bottom:1px solid var(--line);padding:18px 38px;display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}main{max-width:1240px;margin:auto;padding:34px 38px}footer{padding:20px 38px;color:var(--muted);font-size:12px}h1{font-size:31px;line-height:1.2;letter-spacing:-.8px;margin:8px 0 12px}h2{font-size:20px;margin:0 0 16px}h3{font-size:16px}.eyebrow{font-size:11px;letter-spacing:1.7px;text-transform:uppercase;color:var(--accent);font-weight:700}.sub{color:var(--muted);max-width:720px;margin:0 0 26px}.titlebar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.actions{display:flex;gap:9px;flex-wrap:wrap}button{font:inherit;cursor:pointer;border:1px solid #c5d0d6;background:white;color:var(--ink);border-radius:6px;padding:9px 15px}button:hover{filter:brightness(.95)}button.primary{background:var(--accent);color:white;border-color:var(--accent)}button.danger{color:#a42a22}button.small{font-size:12px;padding:6px 10px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e8a561;outline-offset:2px}.card{background:white;border:1px solid var(--line);border-radius:9px;padding:24px;margin-bottom:20px}.notice{background:#fff5e9;color:#755024;border:1px solid #efd8ba;border-radius:7px;padding:14px 18px;margin-bottom:24px;font-size:13px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:25px 0}.stat{background:#fff;border:1px solid var(--line);padding:20px 24px;border-radius:9px}.stat strong{font-size:32px;display:block}.stat span{font-size:12px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px}.wide{grid-column:1/-1}label{display:block;color:#425a68;font-size:12px;font-weight:600}input,select,textarea{display:block;width:100%;padding:10px;border:1px solid #cbd7dd;background:#fff;border-radius:5px;font:14px system-ui;color:var(--ink);margin-top:5px}textarea{min-height:86px;resize:vertical}input[type=checkbox]{display:inline;width:auto;margin-right:8px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.7px;background:#f5f8f9}th,td{padding:13px 11px;border-bottom:1px solid var(--line);vertical-align:top}td strong{display:block}.tag{display:inline-block;border-radius:4px;padding:4px 8px;font-size:11px;background:#e9eef1;color:#526a78}.tag.warn{background:#fff0dd;color:#935710}.tag.good{background:#e5f3ec;color:#266f53}.empty{padding:48px 20px;text-align:center;color:var(--muted)}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:22px 0;overflow:auto}.tabs button{white-space:nowrap;border:0;background:none;border-radius:0;padding:12px 14px;color:var(--muted)}.tabs button.active{border-bottom:3px solid var(--accent);color:var(--ink);font-weight:600}.checkrow{display:grid;grid-template-columns:1.2fr .7fr 1fr;gap:16px;padding:13px 0;border-bottom:1px solid var(--line);align-items:center}.checkrow label{font-size:14px}.checkrow input,.checkrow select{margin:0}.hint{font-size:12px;color:var(--muted);margin:8px 0}.issue{border-left:3px solid #c27e24;background:#fff8ed;padding:11px 14px;margin:9px 0;font-size:13px}.photo{max-width:180px;max-height:130px;border-radius:5px;object-fit:cover;margin:8px}.muted{color:var(--muted)}a{color:#a84425}.audititem{border-top:1px solid var(--line);padding:16px 0}.audititem:first-of-type{border:0}#toast{position:fixed;bottom:28px;right:30px;background:#193d4a;color:white;border-radius:7px;padding:14px 22px;display:none;max-width:450px;z-index:20}#printArea{display:none}.pill{font-size:11px;padding:4px 8px;border-radius:5px;background:#f9e9dc;color:#985227}@media(max-width:950px){aside{width:190px;padding:24px 15px}.shell{margin-left:190px}main{padding:25px 22px}.grid{gap:14px}.checkrow{grid-template-columns:1fr 1fr}.checkrow input{grid-column:1/-1}}@media(max-width:650px){aside{position:static;width:auto;padding:16px}.brand b{font-size:26px}.brand small,.navlabel,.aside-foot{display:none}nav{display:flex;gap:4px;margin-top:15px}nav button{padding:10px;font-size:12px}.shell{margin-left:0}header{padding:12px 20px}main{padding:24px 16px}.titlebar{align-items:flex-start;flex-direction:column}h1{font-size:27px}.stats{gap:8px}.stat{padding:14px}.stat strong{font-size:25px}.grid{grid-template-columns:1fr}.card{padding:18px}.checkrow{grid-template-columns:1fr}.checkrow input{grid-column:auto}footer{padding:18px}.actions button{font-size:13px}}@media print{@page{size:A4;margin:16mm}body{background:#fff;font-size:10pt}aside,.shell,#toast{display:none!important}#printArea{display:block;color:#000}#printArea h1{font-size:22pt}#printArea h2{font-size:15pt;margin-top:20px}#printArea h3{font-size:12pt}#printArea table{font-size:9pt}#printArea th,#printArea td{padding:6px}#printArea img{max-width:65mm;max-height:50mm}.print-block{break-inside:avoid}#printArea .notice{background:none;color:#000;border:1px solid #777;padding:8px}a{color:#000;text-decoration:none}}
.legacy{margin-top:20px;padding:16px;background:#f6f5ef;border:1px solid #e7e1d2;border-radius:6px}.installers{min-width:760px}.installers td:first-child{width:28%}.installers td:nth-child(2){width:30%}.installers td:nth-child(3){width:15%}.norm-row{border:1px solid var(--line);border-radius:7px;padding:18px;margin-bottom:14px}.norm-actions{margin-top:12px;justify-content:space-between;align-items:center}.norm-actions a{font-size:12px}.grid>label{min-width:0}select{max-width:100%}

.multi-field{min-width:0;margin:0;padding:16px;border:1px solid var(--line);border-radius:7px;background:#fbfcfc}.multi-field legend{font-size:14px;font-weight:700;padding:0 7px;color:var(--ink)}.multi-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.multi-option{display:flex;align-items:flex-start;gap:9px;min-height:44px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:5px;cursor:pointer;font-size:13px;font-weight:400;line-height:1.35}.multi-option:has(input:checked){background:#e9f3f0;border-color:#498371;color:#174f3d}.multi-option input[type=checkbox]{flex:none;width:17px;height:17px;margin:0;accent-color:#25654e}.multi-other{margin-top:14px}.multi-other textarea{min-height:58px}.multi-field .hint{margin-bottom:0}@media(max-width:950px){.multi-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.multi-options{grid-template-columns:1fr}}

.spec-row{padding:18px;border:1px solid var(--line);border-radius:7px;margin:16px 0;background:#fbfcfc}.spec-row .titlebar{margin-bottom:14px}.spec-row h3{margin:0}

.conclusion-choice{padding:16px;background:#f5f8f9;border:1px solid var(--line);border-radius:7px}.conclusion-preview{font-size:14px;line-height:1.6;white-space:pre-wrap}.issue-link{display:flex;width:100%;align-items:center;justify-content:space-between;gap:14px;text-align:left;color:var(--ink);border-radius:4px}.issue-link:hover{background:#ffefd7}.issue-link span:last-child{font-size:20px}.jump-highlight{outline:3px solid #c9552c!important;outline-offset:5px;background-color:#fff4df!important;scroll-margin-top:30px}

/* BZT branding, languages, photo capture and sharing */
:root{--accent:#0f2e5c;--nav:#142d35}
.brand{background:#fff;border-radius:8px;padding:10px}.brand .bzt-logo{display:block;width:100%;height:auto}.brand small{display:block;color:#17335f;font-size:10px;letter-spacing:0;margin-top:7px;text-align:center}
.header-tools{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.language-picker{display:flex;align-items:center;gap:8px}.language-picker select{margin:0;width:auto;min-width:115px;padding:7px}.language-note{font-size:12px;color:var(--muted);padding:10px 38px;margin:0;background:#eaf0f3}
nav button{text-align:start}nav button.active{border-left:0;border-inline-start:3px solid #8ab1dc}
.file-button{display:inline-flex;align-items:center;position:relative;overflow:hidden;min-height:42px;padding:9px 15px;border:1px solid #c5d0d6;border-radius:6px;background:white;cursor:pointer;font-size:14px}
.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;width:100%;height:100%}.file-button:focus-within{outline:3px solid #e8a561}
.photo-origin{display:block;max-width:180px;font-size:11px;color:var(--muted)}.photo-origin span{display:block}.photo-tools{margin-top:18px}
dialog{border:1px solid var(--line);border-radius:12px;padding:26px;max-width:min(94vw,760px);max-height:90vh;overflow:auto;color:var(--ink);box-shadow:0 20px 80px #0005}dialog::backdrop{background:#102833aa}
.camera-dialog{width:700px}.camera-dialog video{display:block;width:100%;max-height:58vh;background:#10202a;border-radius:7px;margin:15px 0}.send-dialog,.new-report-dialog{width:680px}.send-dialog>label{margin:14px 0}.send-dialog textarea{min-height:120px}
#installApp{margin-top:16px;background:#fff;color:#17335f;font-size:13px}
[dir=rtl] aside{inset:0 0 0 auto}[dir=rtl] .shell{margin-left:0;margin-right:240px}[dir=rtl] #printArea{direction:ltr;text-align:left}[dir=rtl] .table-wrap{text-align:right}
[dir=rtl] input[type=email],[dir=rtl] input[inputmode=decimal],[dir=rtl] input[type=date]{direction:ltr}
@media(max-width:950px){[dir=rtl] .shell{margin-right:190px}}
@media(max-width:650px){.brand{max-width:220px;padding:7px}.brand .bzt-logo{max-height:65px;object-fit:contain}.brand small{display:none}.header-tools{gap:10px}.language-note{padding:10px 20px}header{flex-wrap:wrap;gap:12px}[dir=rtl] .shell{margin-right:0}nav{flex-wrap:wrap}nav button{width:auto;flex:1}dialog{padding:18px}.actions{gap:8px}}
@media print{dialog,.language-note{display:none!important}#printArea{direction:ltr!important;text-align:left!important}}

.number-assignment{display:grid;gap:12px;padding:16px;background:#eef3f6;border-radius:8px}.series-counter{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin-top:16px}.series-counter label{max-width:230px}input[readonly]{background:#edf1f3;color:#385160}

.customer-logo{display:block;max-width:220px;max-height:95px;object-fit:contain;margin:8px 0}.brand strong{display:block;font-size:15px;line-height:1.4;color:#17313f;overflow-wrap:anywhere}.brand .customer-logo{max-width:100%;margin:0 auto 8px}.brand button{font-size:13px;border:0}.company-logo-editor{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:8px}.company-report-summary p{margin:5px 0}.report-company{border-bottom:1px solid #bbc8ce;margin-bottom:20px;padding-bottom:14px}.report-company p{margin:2px 0}.company-name{margin:8px 0!important}.company-logo-figure{margin:0 0 12px}.company-logo-figure img{max-width:55mm!important;max-height:23mm!important}.app-attribution{font-size:9px;color:#68757b}.company-footer{font-size:10px;color:#45535a;white-space:normal}footer small{font-size:11px}@media print{.report-company{break-inside:avoid}.report-company p{font-size:9pt}.report-company .company-name{font-size:14pt}.app-attribution{font-size:7pt}}

.sync-lock{border:0;padding:0;margin:0;min-width:0;opacity:.65}.sync-lock[disabled]{pointer-events:none}
