:root{--navy:#111b32;--navy2:#172540;--blue:#3568ea;--blue2:#2455d5;--bg:#f4f7fc;--card:#fff;--text:#202d44;--muted:#8390a5;--line:#edf0f6;--good:#1bb983;--amber:#e9a52c;--red:#eb6264;--shadow:0 5px 22px rgba(24,45,88,.045)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--blue)}.app{min-height:100vh;display:flex}.sidebar{position:fixed;z-index:12;top:0;bottom:0;left:0;width:254px;background:var(--navy);color:#9eabc2;display:flex;flex-direction:column;padding:28px 15px 18px}.brand{display:flex;align-items:center;gap:11px;padding:0 14px 27px;color:white}.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#5895ff,#3562df);display:grid;place-items:center;color:white;box-shadow:0 7px 22px #326dff55}.brand strong{display:block;font-size:19px;letter-spacing:-.65px}.brand small{display:block;font-size:10px;color:#8c9cbb;letter-spacing:1.1px;margin-top:2px;font-weight:700}.side-label{font-size:10px;letter-spacing:1.6px;font-weight:800;color:#677995;padding:18px 17px 10px}.nav-item{border:0;background:none;color:#a3b0c5;display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:12px 14px;border-radius:10px;font-size:12.5px;font-weight:600;margin:2px 0;transition:all .2s}.nav-item svg{width:17px;height:17px;stroke-width:1.75}.nav-item:hover{color:#fff;background:#ffffff0d}.nav-item.active{background:#2c4374;color:white;box-shadow:inset 3px 0 #588dff}.nav-item .nav-count{margin-left:auto;color:white;border-radius:7px;background:#f1666b;font-size:10px;padding:2px 6px}.side-bottom{margin-top:auto;border-top:1px solid #263651;padding:19px 12px 0}.online-dot{width:7px;height:7px;background:#3ac59b;border-radius:50%;box-shadow:0 0 0 4px #3ac59b21}.side-status{display:flex;gap:9px;align-items:center;font-size:11px}.side-status b{color:#c5d0e2}.side-version{font-size:10px;color:#5d7192;margin-top:15px}.main{margin-left:254px;min-width:0;flex:1}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 35px;border-bottom:1px solid #e9edf5;background:#fff;gap:12px}.crumb{color:#a5b0c0;font-size:12px}.crumb b{color:#33415c;margin-left:8px}.top-actions{display:flex;align-items:center;gap:12px}.date-chip{display:flex;align-items:center;gap:8px;color:#61718a;font-size:11px;font-weight:600;border:1px solid var(--line);border-radius:9px;padding:9px 12px}.date-chip svg{height:15px;width:15px}.icon-button{border:1px solid #e9edf4;background:#fff;border-radius:10px;height:35px;width:35px;display:grid;place-items:center;color:#6f7e96}.icon-button svg{height:18px;width:18px}.avatar{width:35px;height:35px;border-radius:11px;background:#edf3ff;color:#3568ea;display:grid;place-items:center;font-weight:800;font-size:12px}.profile{display:flex;gap:9px;align-items:center;padding-left:14px;border-left:1px solid var(--line)}.profile strong{font-size:11px;display:block}.profile small{color:#91a0b6;font-size:10px}.body{padding:31px 35px 55px;max-width:1600px;margin:auto}.hero{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:27px;gap:15px}.eyebrow{color:var(--blue);font-weight:800;letter-spacing:1.5px;font-size:10px;text-transform:uppercase;margin-bottom:8px}.heading{font-size:26px;letter-spacing:-.9px;line-height:1.2;margin:0;font-weight:800;color:#1b2d4a}.lead{color:#8c99ad;font-size:12.5px;margin:10px 0 0;line-height:1.7}.hero-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;border:1px solid transparent;padding:10px 15px;font-weight:700;font-size:11.5px;white-space:nowrap;transition:transform .15s,background .15s}.btn svg{width:15px;height:15px}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--blue);color:#fff;box-shadow:0 7px 18px #3266e326}.btn.primary:hover{background:#1d50d2}.btn.outline{color:#4a5d7a;border-color:#e3e9f3;background:white}.btn.light{background:#edf3ff;color:#3969dc}.btn.red{background:#fff0f1;color:#d85159}.btn.sm{padding:8px 11px;font-size:10.5px}.btn.ghost{background:none;border-color:#e2e9f3;color:#45546b}.select,input:not([type=checkbox]):not([type=radio]):not([type=file]),textarea{border:1px solid #e3e9f2;border-radius:9px;background:#fff;color:#34425c;padding:10px 12px;outline:none;font-size:12px;max-width:100%}.select:focus,input:focus,textarea:focus{border-color:#9eb7fa;box-shadow:0 0 0 3px #d8e4ff7f}textarea{resize:vertical;min-height:78px;line-height:1.5}.select{font-weight:650}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.kpi{background:#fff;border:1px solid #eef1f6;border-radius:15px;padding:21px 21px 19px;box-shadow:var(--shadow);position:relative;overflow:hidden;min-height:148px}.kpi-head{display:flex;align-items:center;justify-content:space-between;color:#8593a8;font-weight:650;font-size:11px;gap:6px}.kpi-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:11px}.kpi-icon svg{width:18px;height:18px}.kpi-icon.blue{color:#316de0;background:#eaf1ff}.kpi-icon.orange{color:#e4a12e;background:#fff7e6}.kpi-icon.green{color:#18ab81;background:#e8f9f3}.kpi-icon.purple{color:#8762db;background:#f2edff}.kpi-value{font-weight:800;color:#263551;font-size:31px;letter-spacing:-1.2px;margin:11px 0 6px}.kpi-foot{font-size:10.5px;color:#98a4b4}.kpi-foot strong{color:#18a67d}.panels{display:grid;grid-template-columns:1.53fr 1fr;gap:20px;margin-bottom:22px}.panel{background:#fff;border:1px solid #edf0f6;border-radius:15px;box-shadow:var(--shadow);min-width:0}.panel-pad{padding:22px 23px}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.panel-title{font-weight:800;font-size:13.5px;color:#223453}.panel-sub{color:#99a6b8;font-size:10.5px;margin-top:6px}.pill{display:inline-flex;align-items:center;border-radius:30px;padding:5px 9px;font-size:9.5px;font-weight:800;white-space:nowrap}.pill.red{background:#fff0f1;color:#db5a60}.pill.amber{background:#fff6e8;color:#d99625}.pill.green{background:#e9faf3;color:#17a878}.pill.blue{background:#ecf2ff;color:#3767db}.pill.gray{background:#eff2f6;color:#8190a5}.chart{margin-top:17px;height:230px;position:relative;overflow:hidden}.chart svg{width:100%;height:100%;display:block}.legend{display:flex;gap:17px;align-items:center;font-size:10px;color:#7f8ca2}.legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.legend .l1{background:#4b7cf1}.legend .l2{background:#27c9bd}.phase-list{margin-top:21px;display:flex;flex-direction:column;gap:24px}.phase-row{display:flex;align-items:center;gap:11px}.phase-icon{width:38px;height:38px;border-radius:11px;background:#f0f4fc;color:#6381a9;display:grid;place-items:center;flex-shrink:0}.phase-icon svg{width:18px;height:18px}.phase-main{min-width:0;flex:1}.phase-name{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:800;color:#344765}.phase-time{font-size:10px;color:#a3aebc;margin-top:5px}.bar{height:6px;background:#edf1f7;border-radius:10px;overflow:hidden;margin-top:10px}.bar>div{height:100%;background:linear-gradient(90deg,#3771e9,#6b9afa);border-radius:10px;transition:width .5s}.bar.green>div{background:#25bf92}.bar.orange>div{background:#f2b65b}.bar.red>div{background:#ef7977}.bottom-grid{display:grid;grid-template-columns:1.52fr 1fr;gap:20px}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%;font-size:11px}.table th{background:#f8faff;padding:13px 19px;font-size:10px;text-align:left;color:#8a98ad;font-weight:800;white-space:nowrap}.table td{padding:15px 19px;border-top:1px solid #f0f2f6;color:#52627b;white-space:nowrap}.table td strong{color:#263953}.table tr:hover td{background:#fcfdff}.store-badge{width:30px;height:30px;border-radius:9px;background:#edf3ff;color:#4676db;display:inline-grid;place-items:center;margin-right:9px;font-weight:800;vertical-align:middle}.muted{color:#9aa6b8}.score{font-weight:850}.score.bad{color:#e45b62}.score.mid{color:#e7a12e}.score.good{color:#1bb185}.warn-list{padding:5px 22px 16px}.warn-item{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #f0f2f6}.warn-item:last-child{border-bottom:0}.warning-mark{background:#fff1eb;border-radius:11px;width:37px;height:37px;color:#e77c40;display:grid;place-items:center;flex-shrink:0}.warning-mark svg{width:18px}.warn-item strong{font-size:11px;display:block}.warn-item small{color:#97a4b7;font-size:10px;display:block;margin-top:5px}.warn-item .btn{margin-left:auto}.section-spacer{margin-top:23px}.filter-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:19px}.stat-inline{display:flex;gap:7px;align-items:center;color:#77879c;font-size:11px}.tabbar{display:flex;gap:7px;border-bottom:1px solid #e7edf6;padding:0 0 13px;margin-bottom:18px}.tab{padding:10px 16px;border:0;background:#fff;color:#8493a7;border-radius:8px;font-size:11px;font-weight:750}.tab.active{background:#e9f0ff;color:#3568e6}.checklist-list{display:flex;flex-direction:column;gap:12px}.check-card{border:1px solid #e9edf5;border-radius:13px;padding:19px 20px;background:white;transition:border-color .2s;position:relative}.check-card:hover{border-color:#cfdbf7}.check-card.selected-good{border-left:3px solid #30c49a}.check-card.selected-bad{border-left:3px solid #f4a25a}.check-num{width:27px;height:27px;display:grid;place-items:center;background:#eef3fb;border-radius:8px;font-size:11px;font-weight:800;color:#7687a1;flex-shrink:0}.check-title{font-size:12px;font-weight:800;line-height:1.45;color:#2b3b57}.check-standard{font-size:11px;color:#8c9bb0;line-height:1.65;margin-top:5px;max-width:770px}.check-heading{display:flex;align-items:flex-start;gap:12px}.check-actions{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0 0 39px;align-items:center}.choice{display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid #e2e7f0;border-radius:9px;padding:9px 13px;color:#8190a7;font-size:10.5px;font-weight:750;cursor:pointer}.choice.ok.checked{border-color:#83dabc;color:#199969;background:#eafaf2}.choice.no.checked{border-color:#fac28b;color:#ba792e;background:#fff6eb}.choice svg{width:14px;height:14px}.check-note{margin:12px 0 0 39px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:center}.check-note input{width:100%}.file-label{background:#f3f7ff;color:#5072b7;border:1px dashed #cbd9f0;padding:9px 12px;border-radius:9px;font-size:10px;white-space:nowrap;cursor:pointer;max-width:200px;overflow:hidden;text-overflow:ellipsis}.file-label input{display:none}.panel-banner{background:linear-gradient(110deg,#263f79,#427bea);color:white;border-radius:15px;padding:25px 29px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:15px}.panel-banner h3{font-size:16px;margin:0 0 7px}.panel-banner p{font-size:11px;color:#cfddfa;margin:0}.panel-banner .pill{background:#ffffff27;color:white}.progress-circle{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;font-weight:850;font-size:20px;background:radial-gradient(closest-side,#355cc1 78%,transparent 80%),conic-gradient(#96eff0 var(--percent),#ffffff38 0)}.notice{padding:12px 15px;background:#fff6e8;border:1px solid #ffe5b9;color:#a36d25;font-size:11px;border-radius:10px;line-height:1.6;margin-bottom:15px}.notice.info{background:#eff5ff;border-color:#dce8ff;color:#4b6ca2}.empty{text-align:center;padding:35px;color:#94a0b1;font-size:12px}.empty svg{display:block;width:32px;height:32px;margin:0 auto 12px;color:#b0bfd2}.alert-card{border:1px solid #e9eef6;border-radius:13px;background:white;padding:19px;display:flex;align-items:flex-start;gap:14px;margin-bottom:12px}.alert-card .number{width:42px;height:42px;display:grid;place-items:center;background:#fff0f0;color:#dc686e;border-radius:11px;flex-shrink:0}.alert-card .number svg{width:21px}.alert-info{flex:1}.alert-info h3{margin:0;font-size:12px}.alert-info p{font-size:11px;color:#91a0b3;margin:6px 0 12px}.alert-tags{display:flex;gap:6px;flex-wrap:wrap}.alert-actions{display:flex;align-items:center;gap:12px}.modal-backdrop{position:fixed;z-index:50;inset:0;background:#0a1c37ac;display:flex;align-items:center;justify-content:center;padding:20px}.modal{background:white;border-radius:17px;max-width:520px;width:100%;box-shadow:0 25px 85px #06101f55;padding:26px;max-height:92vh;overflow:auto}.modal h2{font-size:18px;margin:0 0 9px}.modal p{font-size:12px;color:#8794a7;line-height:1.7}.modal label,.field-label{display:block;font-size:11px;font-weight:750;color:#5a6a83;margin:15px 0 7px}.modal textarea,.modal input,.modal select{width:100%}.modal-footer{display:flex;gap:9px;justify-content:flex-end;margin-top:22px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .full{grid-column:1 / -1}.form-grid label{font-size:11px;color:#64758f;font-weight:700;display:block;margin-bottom:7px}.form-grid input,.form-grid select,.form-grid textarea{width:100%}.card-stack{display:flex;flex-direction:column;gap:15px}.label-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.audit-choice{display:flex;gap:5px}.audit-choice button{width:30px;height:30px;border:1px solid #e2e7f0;background:#fff;border-radius:7px;color:#6c7b91;font-weight:800}.audit-choice button.chosen{background:#3568e9;color:white;border-color:#3568e9}.audit-inputs{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:13px 0 0 39px}.audit-inputs textarea{width:100%;min-height:55px}.logbook-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:20px}.type-card{padding:15px;border:1px solid #e8edf4;border-radius:12px;display:flex;gap:10px;align-items:center;background:#fff;color:#52617c;text-align:left;font-weight:700;font-size:11px;min-height:65px}.type-card span{color:#4b76cd;background:#edf3ff;padding:8px;border-radius:9px}.type-card.active{border-color:#86a7f5;background:#f4f8ff;color:#2755bc}.logbook-form{padding:24px}.small-heading{font-weight:800;color:#273950;font-size:12px;margin-bottom:10px}.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-panel{padding:22px}.settings-panel h3{margin:0 0 15px;font-size:14px}.field{margin-bottom:14px}.field label{font-size:11px;font-weight:700;color:#7f8ca1;display:block;margin-bottom:6px}.field input,.field select{width:100%}.form-notes{font-size:10.5px;color:#91a0b3;line-height:1.6}.toast{position:fixed;right:26px;bottom:24px;z-index:70;background:#1c3151;color:white;box-shadow:0 15px 40px #182f534a;border-radius:12px;padding:13px 18px;font-size:12px;font-weight:700;max-width:400px}.toast.error{background:#c54855}.demo-pill{font-size:9px;letter-spacing:.6px;font-weight:800;background:#eff3fe;color:#4673d4;padding:6px 8px;border-radius:7px}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f8faff}.login-left{background:linear-gradient(140deg,#14274b,#0f182e);display:flex;flex-direction:column;justify-content:space-between;padding:45px 60px;color:white;overflow:hidden;position:relative}.login-left:after{content:"";position:absolute;width:450px;height:450px;border:1px solid #7b9ffb42;transform:rotate(36deg);border-radius:65px;right:-110px;top:15%}.login-content{position:relative;z-index:1;max-width:490px}.login-content h1{font-size:45px;line-height:1.15;letter-spacing:-2px}.login-content p{font-size:14px;color:#b9c8e8;line-height:1.8}.login-features{display:flex;flex-direction:column;gap:15px;font-size:12px;color:#cad7f4;margin-top:39px}.login-right{display:grid;place-items:center;padding:40px}.login-box{width:min(100%,390px)}.login-box h2{font-size:27px;letter-spacing:-.8px}.login-box p{font-size:12px;color:#8795aa;line-height:1.6}.login-box input{width:100%;margin:8px 0 15px;padding:13px}.login-box label{font-size:12px;font-weight:750}.login-box button{width:100%;margin-top:7px;padding:14px}.mobile-toggle{display:none}.line{border-top:1px solid #edf0f6;margin:19px 0}.dim{opacity:.7}.setting-list{display:grid;gap:8px;margin-top:10px}.setting-list>div{display:flex;justify-content:space-between;font-size:11px;background:#f8faff;border-radius:8px;padding:10px}.sticky-action{position:sticky;bottom:15px;background:#fff;border:1px solid #e6ebf3;border-radius:12px;padding:13px;display:flex;justify-content:space-between;align-items:center;margin-top:15px;box-shadow:0 9px 26px #263f6221;z-index:4}.spinner{display:inline-block;width:16px;height:16px;border:2px solid #dae5ff;border-top-color:#3165e9;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1220px){.kpis{grid-template-columns:repeat(2,1fr)}.panels,.bottom-grid{grid-template-columns:1fr}.body{padding:25px}.topbar{padding:0 25px}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.mobile-toggle{display:grid}.topbar{height:64px;padding:0 16px}.body{padding:19px 15px}.hero{flex-direction:column}.heading{font-size:23px}.date-chip{display:none}.kpis{gap:10px}.kpi{padding:15px;min-height:132px}.kpi-value{font-size:26px}.kpi-head{font-size:10px}.panel-pad{padding:16px}.logbook-categories{grid-template-columns:1fr 1fr}.settings-layout,.form-grid,.audit-inputs{grid-template-columns:1fr}.form-grid .full{grid-column:1}.check-card{padding:15px}.check-actions,.check-note,.audit-inputs{margin-left:0}.check-note{grid-template-columns:1fr 1fr}.check-note input{grid-column:1/-1}.profile strong,.profile small{display:none}.panel-banner{padding:20px}.progress-circle{width:60px;height:60px;font-size:15px}.login-page{grid-template-columns:1fr}.login-left{display:none}.login-right{min-height:100vh}.alert-card{flex-wrap:wrap}.alert-actions{width:100%;justify-content:flex-end}}@media(max-width:430px){.logbook-categories{grid-template-columns:1fr}.kpis{grid-template-columns:1fr 1fr}.kpi{padding:13px}.alert-card{padding:13px}.heading{font-size:21px}}

/* NICESO visual identity v2 */
:root{--blue:#e72735;--blue2:#cf1728}
.brand{gap:12px!important;align-items:center!important;min-height:84px}
.brand-logo{width:130px;height:43px;object-fit:contain;object-position:center;border-radius:9px;background:#ed1c24;padding:4px;flex-shrink:0}
.brand-caption{display:flex;flex-direction:column;gap:4px;min-width:0}
.brand-caption strong{font-size:12px;line-height:1.25;color:#f3f8ff;font-weight:850;white-space:nowrap}
.brand-caption small{font-size:7px;letter-spacing:1px;color:#93a9ce;white-space:nowrap}
.login-left .brand-logo{width:184px;height:63px;padding:7px}
.login-left .brand-caption strong{font-size:17px}
.login-left .brand-caption small{font-size:9px}
.nav-item.active{background:linear-gradient(95deg,rgba(240,48,62,.22),rgba(240,48,62,.06));color:#fff;border-left:3px solid #f03b43}
.nav-count{background:#f13746}
.btn.primary{background:linear-gradient(130deg,#f02a38,#d71928);border-color:#df2632}
.btn.primary:hover{background:#bd1a28}
.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.permission-row{display:flex;align-items:flex-start;gap:9px;border:1px solid #e9edf4;border-radius:10px;padding:10px;background:#fbfcfe;cursor:pointer}
.permission-row input{width:16px;height:16px;accent-color:#e72735;flex-shrink:0;margin:3px 0 0}
.permission-row span{display:flex;flex-direction:column;gap:3px;min-width:0;line-height:1.35}
.permission-row b{font-size:11px;font-weight:750;color:#344660}
.permission-row small{font-size:9px;color:#99a3b3;overflow-wrap:anywhere}
.checkline{display:inline-flex!important;align-items:center;gap:8px;font-weight:700;font-size:11px;color:#5f6a7c;cursor:pointer}
.checkline input{width:16px!important;height:16px!important;margin:0!important;accent-color:#e72735}
.menu-config{display:grid;gap:10px;margin-top:16px}
.menu-config-row{display:grid;grid-template-columns:100px minmax(105px,1fr) 65px 70px auto;align-items:center;gap:8px;padding:9px;background:#f8fafd;border:1px solid #edf0f5;border-radius:9px}
.menu-config-row>div{display:flex;flex-direction:column;gap:4px}
.menu-config-row strong{font-size:10px;color:#4d5c73}
.menu-config-row small{font-size:9px;color:#99a7ba}
.menu-config-row input:not([type=checkbox]){width:100%;min-width:0;padding:9px;font-size:11px}
.menu-config-row .btn{font-size:10px;padding:9px}
@media(max-width:1200px){.brand-logo{width:106px;height:39px}.brand-caption strong{font-size:10px}.menu-config-row{grid-template-columns:70px 1fr 50px 55px auto}.permission-grid{grid-template-columns:1fr}}
@media(max-width:780px){.brand-logo{width:125px;height:40px}.menu-config-row{grid-template-columns:70px 1fr 50px 60px}.menu-config-row .btn{grid-column:1/-1}.settings-layout{grid-template-columns:1fr}.permission-grid{grid-template-columns:1fr}}

/* v3 — display the exact user-supplied 2048x2048 square NICESO artwork; never crop/stretch the bitmap */
.brand-logo,.login-left .brand-logo{width:53px!important;height:53px!important;min-width:53px;max-width:53px;object-fit:contain!important;object-position:center!important;padding:0!important;border-radius:0!important;background:transparent!important;aspect-ratio:1/1}
.login-left .brand-logo{width:78px!important;height:78px!important;min-width:78px;max-width:78px}
.brand-caption{min-width:0}
.brand-caption strong{font-size:16px!important;letter-spacing:-.35px}
.brand-caption small{white-space:normal;letter-spacing:.4px}
.report-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}
.report-stat{border:1px solid #e9edf6;background:#fff;border-radius:15px;padding:19px 20px;box-shadow:0 5px 22px rgba(24,45,88,.04);display:flex;flex-direction:column;gap:4px;min-height:122px}
.report-stat small{font-size:11px;color:#73839c;font-weight:700}
.report-stat strong{font-size:30px;color:#22314d;letter-spacing:-1px}
.report-stat span{font-size:10.5px;color:#8796ab}
.report-filters{display:grid;grid-template-columns:1fr 1fr 1.35fr 1.3fr 1fr auto;gap:11px;align-items:end;margin:17px 0}
.report-filters .field{margin:0;min-width:0}.report-filters input,.report-filters select{width:100%;min-width:0;height:39px}
.report-filter-action{display:flex;align-items:end;height:39px}.report-filter-action button{height:39px}
.export-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:10px 0 2px}
.export-group{padding:12px 0;border-top:1px solid #edf0f5}.export-group strong{font-size:12px;color:#33415c}
.logbook-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:17px}
.logbook-report-module{border:1px solid #e6ecf5;background:#fff;border-radius:12px;display:flex;align-items:center;gap:11px;text-align:left;padding:13px;min-width:0;transition:.2s}
.logbook-report-module:hover,.logbook-report-module.active{border-color:#e92737;background:#fff7f7;box-shadow:0 4px 12px #b42b3210}
.logbook-report-module>span:last-child{min-width:0;display:flex;flex-direction:column;gap:5px}
.logbook-report-module b{color:#33415b;font-size:11.5px;white-space:normal;line-height:1.45}
.logbook-report-module small{font-size:10px;color:#8a98af}
.report-mod-icon{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;border-radius:10px;background:#fff1f2;color:#dc2434}
.report-pages{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;border-top:1px solid #eef0f5;font-size:11px;color:#6b7890;gap:10px}
.report-pages .export-actions{margin:0}.table-mini{display:block;font-size:10px;color:#9aa6b5;margin-top:3px}
.empty-report{text-align:center;color:#8896aa;padding:25px!important}
.report-detail-modal{max-width:830px!important;max-height:86vh;overflow-y:auto}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.detail-cell{border:1px solid #ebeff5;background:#fcfdff;border-radius:10px;padding:12px;min-width:0;overflow-wrap:anywhere}.detail-cell small{display:block;color:#8b98ab;font-size:10px;margin-bottom:5px}.detail-cell strong{font-size:12px;color:#253450;white-space:pre-wrap;font-weight:650}
@media(max-width:1280px){.report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.logbook-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-action{height:auto}.report-filter-action button{width:100%}.report-pages{flex-direction:column;align-items:flex-start}}
@media(max-width:490px){.report-filters{grid-template-columns:1fr}.report-stats,.logbook-report-grid,.detail-grid{grid-template-columns:1fr}}

/* v4.2 - NICESO minimal compact login; original logo PNG is never cropped */
.auth-page{min-height:100svh;display:flex;align-items:center;justify-content:center;padding:22px 16px;background:#f6f8fc}
.auth-card{width:min(100%,370px);background:#fff;border:1px solid #e9edf5;border-radius:18px;padding:30px 30px 28px;box-shadow:0 15px 55px rgba(20,35,61,.055)}
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:26px}
.auth-brand img{display:block;width:65px;height:65px;object-fit:contain;object-position:center;flex:none;border-radius:0}
.auth-brand strong{display:block;color:#1c2b45;font-weight:800;font-size:17px;letter-spacing:-.4px}
.auth-brand small{display:block;margin-top:4px;color:#8d98a9;font-weight:600;font-size:11px;letter-spacing:.25px}
.auth-card h1{color:#1c2b45;font-size:22px;letter-spacing:-.65px;font-weight:800;margin:0 0 19px}
.auth-hint{font-size:11px;color:#8390a4;margin:-11px 0 19px}
.auth-form{display:block}
.auth-label{display:block;margin:15px 0 7px;font-weight:700;color:#43516a;font-size:11.5px}
.auth-card input:not([type=checkbox]){width:100%;height:43px;border:1px solid #e0e6f0;border-radius:9px;padding:0 12px;background:#fff;color:#243149;font-size:12.5px;margin:0;outline:0;box-sizing:border-box;transition:box-shadow .15s,border-color .15s}
.auth-card input:focus{border-color:#f07a83;box-shadow:0 0 0 3px rgba(233,39,55,.10)}
.auth-card input::placeholder{color:#aab4c1}
.auth-password{position:relative}
.auth-password input{padding-right:49px!important}
.auth-eye{position:absolute;right:4px;top:4px;width:36px;height:35px;border:0;border-radius:7px;background:transparent;color:#8290a3;display:grid;place-items:center;padding:0;cursor:pointer;transition:color .15s,background .15s}
.auth-eye:hover,.auth-eye:focus-visible{background:#f3f5f9;color:#e72735;outline:none}
.auth-eye svg{pointer-events:none}
.auth-submit{width:100%;border:0;border-radius:9px;background:#ec2434;color:white;height:43px;font-weight:750;font-size:12.5px;margin-top:23px;box-shadow:0 5px 12px rgba(236,36,52,.13)}
.auth-submit:hover{background:#ce182a}
.auth-submit:focus-visible{outline:3px solid #f9c6ca;outline-offset:2px}
.auth-logout{display:block;width:100%;border:0;background:transparent;color:#7a8697;margin:10px auto 0;padding:7px;font-size:11.5px;font-weight:650}
.auth-logout:hover{color:#d71b29}
@media(max-width:480px){.auth-card{padding:25px 23px;border-radius:15px}.auth-brand{margin-bottom:23px}.auth-page{padding:15px}}


/* v4.4 - modern desktop/mobile shell */
html,body{background:linear-gradient(180deg,#f7f9fd 0%,#f1f5fb 100%)}
.topbar{position:sticky;top:0;z-index:10;backdrop-filter:blur(10px);background:rgba(255,255,255,.88);box-shadow:0 4px 20px rgba(17,27,50,.03)}
.sidebar{box-shadow:20px 0 40px rgba(5,18,46,.16)}
.nav-item{position:relative;min-height:44px;border:1px solid transparent}.nav-item .nav-icon{display:inline-grid;place-items:center;opacity:.95}.nav-item .nav-text{flex:1;min-width:0}
.nav-item.active{border-color:rgba(255,255,255,.08);box-shadow:inset 3px 0 #ff5c68,0 10px 25px rgba(0,0,0,.08)}
.main{background:transparent}.body{padding:28px 32px 44px}.panel,.kpi,.report-stat,.auth-card{box-shadow:0 10px 35px rgba(20,35,61,.045)}
.hero{margin-bottom:23px}.heading{font-size:29px}.lead{font-size:12px}.mobile-toggle{display:none}.mobile-page-title{display:none;font-size:16px;font-weight:800;color:#24344d;letter-spacing:-.3px}.top-left{display:flex;align-items:center;gap:12px;min-width:0}.page-meta{min-width:0}.app-overlay{display:none}
.field label{display:block;margin-bottom:7px;font-size:11px;font-weight:700;color:#627189}.form-notes{font-size:11px;color:#8593a8;line-height:1.6}.setting-list{display:grid;gap:10px;margin-top:12px}.setting-list>div{display:flex;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid #edf1f6;border-radius:11px;background:#fbfcff}.setting-list small{color:#8d99ab}.notice.info{background:#f7faff;border:1px solid #dfeaff;color:#466086;border-radius:11px;padding:12px 13px;font-size:11px;line-height:1.55}
@media (max-width:1100px){.mobile-toggle{display:grid}.app-overlay{display:block;position:fixed;inset:0;background:rgba(10,17,32,.36);opacity:0;pointer-events:none;transition:opacity .2s;z-index:11}.app-shell.menu-open .app-overlay{opacity:1;pointer-events:auto}.sidebar{transform:translateX(-104%);transition:transform .24s ease;z-index:12;width:284px}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.topbar{padding:0 18px;height:70px}.body{padding:22px 18px 38px}.kpis,.panels,.bottom-grid,.report-stats,.settings-layout{grid-template-columns:1fr 1fr}.crumb{display:none}.mobile-page-title{display:block}}
@media (max-width:760px){.top-actions{gap:8px}.date-chip{display:none}.profile{padding-left:8px}.profile strong{display:block!important;font-size:10px}.profile small{display:block!important;font-size:9px}.avatar{width:32px;height:32px;border-radius:10px}.body{padding:18px 14px 30px}.heading{font-size:24px}.hero{flex-direction:column;align-items:flex-start}.hero-actions{width:100%}.hero-actions .btn{flex:1 1 auto}.kpis,.panels,.bottom-grid,.report-stats,.settings-layout{grid-template-columns:1fr}.filter-row{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.filter-row>.select,.filter-row>input,.filter-row>.btn{width:100%}.table th,.table td{padding:12px 13px}.tabbar{overflow:auto;white-space:nowrap;padding-bottom:8px}.tab{flex:0 0 auto}.auth-card{width:min(100%,380px)}}
@media (max-width:480px){.topbar{padding:0 12px;height:64px}.icon-button{height:34px;width:34px;border-radius:10px}.profile div:last-child{display:none}.hero-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.hero-actions .btn{width:100%}.kpi{min-height:auto}.kpi-value{font-size:28px}.panel-pad{padding:16px}.check-heading{flex-direction:column}.check-note{grid-template-columns:1fr!important}.sidebar{width:min(86vw,290px)}.brand{padding:2px 10px 22px}.body .panel,.body .kpi,.body .report-stat{border-radius:14px}}


/* v4.5 — compact login branding; image bytes and native aspect ratio remain unchanged */
.auth-page{padding:16px;background:#f6f8fc}
.auth-card{width:min(100%,340px);padding:23px 24px 22px;border-radius:15px}
.auth-brand{gap:10px;margin-bottom:17px;min-height:40px}
.auth-card .auth-brand img{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;aspect-ratio:1/1;object-fit:contain!important;object-position:center;padding:0!important;border-radius:0!important;flex:none}
.auth-brand strong{font-size:15px}.auth-brand small{font-size:10px;margin-top:2px}
.auth-card h1{font-size:20px;margin:0 0 12px}
.auth-label{margin:12px 0 6px}
.auth-card input:not([type=checkbox]){height:40px}
.auth-submit{height:41px;margin-top:19px}
@media(max-width:480px){.auth-card{padding:22px 20px;width:min(100%,325px)}.auth-card .auth-brand img{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important}.auth-page{padding:12px}}
