:root{color-scheme:light;--bg:#eff2f6;--card:#fff;--text:#172331;--muted:#59697b;--border:#dce3eb;--red:#ac1322;--red2:#dd3345;--nav:#111a25;--warn:#ffedc0;--ok:#176945;--shadow:0 2px 12px rgba(28,43,66,.045)}*{box-sizing:border-box}html{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif;line-height:1.48;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-size:15px}button,select,input,textarea{font:inherit}button{touch-action:manipulation;cursor:pointer;transition:filter .1s,background-color .1s}button:active{filter:brightness(.9)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #89addd;outline-offset:1px}button:disabled{opacity:.43;cursor:not-allowed}a{color:var(--red)}.app-header{height:72px;background:var(--nav);color:#fff;display:flex;align-items:center;gap:15px;padding:10px max(20px,env(safe-area-inset-right));border-bottom:3px solid var(--red);position:sticky;top:0;z-index:30;padding-left:max(20px,env(safe-area-inset-left))}.brandmark{background:var(--red);width:42px;height:42px;display:grid;place-items:center;border-radius:9px;font-weight:900;letter-spacing:-1px}.brandcopy{display:flex;flex-direction:column;line-height:1.28}.brandcopy strong{letter-spacing:.12em}.brandcopy span{color:#bbc5d0;font-size:12px}.right-status{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:1px}.status{padding:3px 9px;border-radius:18px;background:#345244;font-size:12px;font-weight:800}.status.offline{background:#154532}.mini{color:#acb9c6;font-size:11px}.layout{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:calc(100vh - 72px)}.sidebar{background:#17222f;color:#dde5ee;padding:25px 12px 30px;min-height:calc(100vh - 72px)}.side-heading{padding:0 13px 16px;color:#8095ac;font-size:10px;font-weight:850;letter-spacing:.14em}.sidebar nav{display:grid;gap:4px}.sidebar button{border:0;text-align:left;padding:12px;border-radius:7px;color:#d9e3ed;background:transparent;display:flex;align-items:center;gap:11px;font-size:13px;font-weight:650;min-height:44px}.sidebar button span{width:20px;font-size:18px;text-align:center;line-height:1}.sidebar button.active,.sidebar button:hover{background:#293a4d;color:white}.sidebar button.active{border-left:3px solid var(--red2)}.side-foot{color:#8192a5;font-size:11px;line-height:1.65;padding:22px 11px}.workspace{min-width:0;max-width:1410px;width:100%;margin:auto;padding:28px 34px 80px}.tab{display:none}.tab.active{display:block}.page-heading{display:flex;justify-content:space-between;gap:18px;align-items:start;margin-bottom:23px}.page-heading h1{font-size:clamp(25px,3vw,35px);margin:0 0 5px;letter-spacing:-.045em;line-height:1.1}.page-heading p{margin:0;color:var(--muted)}.eyebrow{color:var(--red);font-weight:900;font-size:11px;letter-spacing:.12em;margin-bottom:10px}.panel{background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:10px;padding:22px;margin:0 0 20px}.panel h2{font-size:18px;letter-spacing:-.02em;margin:0 0 10px}.panel h3{font-size:16px;margin:22px 0 8px}.panel h4{margin:0 0 8px}.panel p{color:var(--muted)}.cards{display:grid;gap:20px}.cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}.cards .panel{height:auto}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:21px}.stats article{background:var(--card);border:1px solid var(--border);border-left:3px solid var(--red);border-radius:9px;padding:15px}.stats span{display:block;color:var(--muted);font-size:12px;font-weight:650}.stats strong{display:block;font-size:27px;letter-spacing:-.05em;margin-top:4px}.caution{border-left:4px solid #dfa12a}.caution-inline{background:#fff4dc;border-left:3px solid #c68f26;color:#564625!important;padding:11px 14px;border-radius:4px;font-size:13px}.muted{color:var(--muted);font-size:13px}.empty{padding:20px 0;color:var(--muted)}button{border:1px solid #cbd5e0;background:#f8fafc;color:var(--text);border-radius:7px;padding:10px 13px;min-height:42px;font-weight:700}button.primary{border-color:var(--red);background:var(--red);color:#fff}button.danger{color:#a3202d;background:#fff5f5;border-color:#f3c3c8}button.small{min-height:34px;padding:5px 10px;font-size:12px}button.ghost{background:transparent;border-color:transparent}.buttonrow{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}.buttonrow button{margin:0}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.formgrid.cols4{grid-template-columns:repeat(4,minmax(0,1fr))}label{display:block;font-size:12px;font-weight:800;color:#4b5c70;margin:11px 0 7px}label input,label textarea,label select{display:block;margin-top:5px}input,select,textarea{display:block;width:100%;max-width:100%;border:1px solid #c9d3df;background:white;color:var(--text);border-radius:7px;min-height:43px;padding:10px 12px;font-size:15px}textarea{min-height:135px;resize:vertical;line-height:1.55}input[type=file]{padding:9px}input[type=date],input[type=time]{min-width:0}.section-head{display:flex;gap:18px;justify-content:space-between;align-items:center}.section-head input{max-width:360px}.section-head h2{margin-bottom:0}.compact-list{margin:13px 0}.line-item{padding:13px 0;border-bottom:1px solid var(--border);display:flex;align-items:start;gap:10px;justify-content:space-between}.line-item:last-child{border-bottom:0}.line-item strong{display:block}.line-item small{color:var(--muted)}.line-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:end}.line-actions button{min-height:32px;font-size:12px;padding:5px 9px}.pills{display:flex;flex-wrap:wrap;gap:7px}.pills button{font-size:12px;min-height:34px;padding:6px 10px}.check-group{padding:16px 0;border-bottom:1px solid var(--border)}.check-group:last-child{border:0}.check-title{font-size:14px;font-weight:780;margin-bottom:7px}.segrow{display:flex;gap:5px;flex-wrap:wrap}.segrow button{min-height:34px;min-width:67px;font-size:12px}.segrow button.selected[data-value="OK"]{background:#d9f3e5;border-color:#55a779;color:#135f35}.segrow button.selected[data-value="NOT OK"]{background:#ffe3e3;border-color:#ed6776;color:#a01826}.segrow button.selected[data-value="N/A"]{background:#e3e9ef;border-color:#99adbf;color:#364f64}.segrow button.selected[data-value=""]{background:#eee}.check-obs{margin-top:9px;display:block;width:100%}.signature{width:100%;height:160px;display:block;background:#fcfdfd;border:2px dashed #8795a5;border-radius:8px;touch-action:none;cursor:crosshair}.approval{background:#f8fafc;border:1px solid var(--border);border-radius:8px;margin-top:20px;padding:17px}.tag{display:inline-block;border-radius:18px;padding:3px 9px;background:#e2e9f1;font-size:11px;font-weight:800}.tag.ok{background:#d8f3e2;color:#11623d}.tag.locked{background:#fff0c9;color:#704c0e}.tag.warn{background:#ffe6e8;color:#a2252c}#toast{position:fixed;bottom:24px;right:24px;z-index:90;max-width:340px;background:#1c2e40;color:white;padding:12px 17px;border-radius:8px;box-shadow:0 9px 25px rgba(5,15,30,.2);display:none;font-weight:700}#toast.show{display:block}#toast.bad{background:#8a1e29}#watch-result{margin-top:18px}#watch-result .watch-box{padding:15px;border-radius:8px;background:#ebf2f8;font-weight:750}.modal-mask{position:fixed;inset:0;background:rgba(9,17,29,.68);display:grid;place-items:center;z-index:100;padding:18px}.modal-mask[hidden]{display:none}.modal{width:min(500px,100%);border-radius:12px;background:white;padding:25px;box-shadow:0 15px 60px #0004}.modal h2{margin:0}.modal .buttonrow{justify-content:flex-end}.print-root{display:none}
@media(max-width:960px){.layout{grid-template-columns:1fr}.sidebar{min-height:0;padding:8px 10px;position:sticky;top:72px;z-index:20}.sidebar nav{display:flex;overflow:auto;gap:6px;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}.sidebar button{white-space:nowrap;flex:none}.side-heading,.side-foot{display:none}.workspace{padding:22px 16px 65px}.formgrid.cols4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.app-header{height:63px}.sidebar{top:63px}.right-status .mini{display:none}.page-heading{align-items:start;flex-direction:column}.page-heading>button{align-self:stretch}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cards.two,.formgrid,.formgrid.cols4{grid-template-columns:1fr}.panel{padding:16px}.section-head{align-items:stretch;flex-direction:column}.section-head input{max-width:none}.line-item{flex-direction:column}.line-actions{justify-content:start}.signature{height:140px}}
@media print{ @page{size:A4;margin:17mm}html,body{margin:0!important;padding:0!important;background:white!important;color:black!important;font:11pt/1.4 Arial,sans-serif!important}body>*:not(#print-root){display:none!important}#print-root{display:block!important;position:static!important}#print-root h1{font-size:18pt;margin:0 0 6pt;color:#9c101d}#print-root h2{font-size:13pt;margin-top:15pt;border-bottom:1px solid #aaa;padding-bottom:4pt}#print-root .meta{color:#555;font-size:9pt;margin-bottom:16pt}#print-root .docrow{padding:5pt 0;border-bottom:1px solid #ddd;break-inside:avoid}#print-root .report-notes{white-space:pre-wrap;word-break:break-word}#print-root .print-sign{width:190px;height:70px;object-fit:contain;border-bottom:1px solid #333}#print-root table{border-collapse:collapse;width:100%;font-size:10pt}#print-root td,#print-root th{border:1px solid #bbb;padding:7pt;text-align:left}#print-root .page-break{break-before:page}#print-root .fine{font-size:8pt;color:#666}}

.profile-picture{width:155px;height:155px;border:3px solid #af1524;border-radius:20px;background:#17222f;color:white;font-size:52px;font-weight:950;display:grid;place-items:center;overflow:hidden}.profile-picture img{width:100%;height:100%;object-fit:cover}.profile-picture+label{margin-top:18px}
