:root{--navy:#101f35;--navy2:#182b48;--gold:#edbb57;--bg:#f5f7fb;--line:#dce3ed;--ink:#14233a;--muted:#64758b;--green:#148448;--red:#c93e46;--white:#fff;--radius:18px}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}button:disabled{opacity:.5;cursor:not-allowed}img{max-width:100%}.shell{max-width:1140px;margin:0 auto}.top{background:var(--navy);color:white;padding:12px 20px 12px;box-shadow:0 5px 24px #101f3522}.top-inner{max-width:1140px;margin:auto;display:flex;align-items:center;gap:16px;justify-content:space-between}.logo{width:207px;display:block;object-fit:contain;aspect-ratio:2048/545}.top-actions{display:flex;gap:8px;align-items:center}.head-link{padding:9px 13px;border:1px solid #ffffff33;border-radius:10px;font-weight:650;font-size:12px;color:#f0e1bf}.head-link.active{background:var(--gold);color:var(--navy);border-color:var(--gold)}.logout{background:transparent;color:#fff;border:0;font-size:12px}.tenant{border-radius:0 0 13px 13px;background:#fff;border:1px solid var(--line);border-top:0;margin:0 auto 16px;padding:8px 14px;display:flex;justify-content:space-between;align-items:center;gap:16px;box-shadow:0 4px 14px #101f350b}.tenant img{width:100%;max-width:570px;height:75px;object-fit:contain;object-position:left}.tenant>span{font-weight:800;font-size:12px;color:var(--muted);text-align:right}.main{padding:0 18px 100px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:18px 0}.page-head h1{font-size:25px;margin:0 0 5px}.sub{color:var(--muted);margin:0;font-size:13px}.chip{padding:6px 10px;border-radius:999px;background:#fff2cc;color:#81580e;font-size:11px;font-weight:800}.chip.good{background:#e5f8ed;color:#097541}.chip.bad{background:#ffebec;color:#b53536}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:19px;margin:14px 0;box-shadow:0 6px 24px #182b4808}.card h2{font-size:16px;margin:0 0 14px;display:flex;align-items:center;gap:9px}.card h2 .n{display:inline-flex;background:#fff0c8;color:#805609;align-items:center;justify-content:center;border-radius:9px;width:29px;height:29px;font-size:13px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.formfield{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted);font-weight:700;min-width:0}.formfield input,.formfield select,.formfield textarea,.search{width:100%;padding:12px;border-radius:10px;border:1px solid #cbd5e3;color:var(--ink);background:#fff;outline:none}.formfield input:focus,.formfield textarea:focus,.search:focus{border-color:#c39435;box-shadow:0 0 0 3px #edbb572d}.formfield input:disabled{background:#f3f5f8}.formfield textarea{min-height:120px;resize:vertical}.btn{border:0;border-radius:10px;padding:11px 14px;background:var(--navy);color:white;font-weight:750;font-size:12px;display:inline-flex;align-items:center;gap:7px;justify-content:center}.btn.gold{background:var(--gold);color:var(--navy)}.btn.green{background:var(--green)}.btn.outline{background:#fff;color:var(--navy);border:1px solid #b8c4d5}.btn.whatsapp{background:#148f59}.btn.mini{padding:6px 10px;font-size:11px}.actions{display:flex;gap:9px;flex-wrap:wrap}.side-note{font-size:12px;color:var(--muted);line-height:1.5}.status{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.toast{position:fixed;bottom:84px;left:50%;transform:translateX(-50%);background:var(--navy);padding:12px 20px;color:white;border-radius:12px;box-shadow:0 12px 30px #0003;z-index:60;max-width:90vw}.error{color:var(--red);font-weight:700}.banner{background:#fff6de;border:1px solid #ffe6a0;padding:12px;border-radius:10px;margin:10px 0;color:#7e5d15}.compare{background:#f2f6fd;padding:14px;border-radius:13px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px;text-align:center}.compare b{font-size:17px;display:block}.compare small{color:var(--muted)}.fuel-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.fuel-display{display:flex;gap:12px;align-items:center}.fuel-meter{height:27px;flex:1;position:relative;border-radius:20px;background:repeating-linear-gradient(90deg,#e8ecf2 0%,#e8ecf2 19%,white 19%,white 20%);border:1px solid #b9c4d3;cursor:crosshair;overflow:hidden}.fuel-fill{background:linear-gradient(90deg,#077d43,#31ae67);height:100%;pointer-events:none}.gauge{cursor:grab;width:145px;max-width:100%;touch-action:none}.fuel-modes{display:flex;gap:8px;align-items:center}.fuel-modes label{border:1px solid #d3dce9;padding:6px 10px;border-radius:9px;font-size:12px}.fuel-modes input{accent-color:var(--green)}.fuel-range{width:100%;accent-color:var(--green);margin:10px 0}.table-wrap{overflow-x:auto}table.check{border-collapse:collapse;width:100%;table-layout:fixed}table.check th,table.check td{border:1px solid #d6deea;padding:9px 6px;font-size:12px}table.check th{background:#e7ebf1;font-size:11px}table.check th:nth-child(1){width:auto;text-align:left}table.check td:nth-child(n+2),table.check th:nth-child(n+2){width:63px;text-align:center}table.check tr:nth-child(2n){background:#fafdff}.cellchoice{display:flex;align-items:center;justify-content:center;min-height:23px;color:transparent;border:1px solid #e4e9f1;border-radius:6px;font-weight:900}.cellchoice.yes.active{color:#057a43;background:#e3f8eb;border-color:#84d5a8}.cellchoice.no.active{color:#c2343e;background:#fff0f0;border-color:#f5adb1}.row-alert{background:#fff0f0!important}.map-panel{position:relative;margin:6px auto;width:100%;max-width:540px;touch-action:manipulation;background:#f3f6fb;border:1px dashed #cad6e4;border-radius:13px;padding:12px}.map-panel svg{width:100%;display:block}.pin{position:absolute;width:27px;height:27px;transform:translate(-50%,-50%);border-radius:50%;background:#dc3942;color:white;display:grid;place-items:center;font-weight:900;border:2px solid white;box-shadow:0 2px 6px #0003;pointer-events:none}.pin.old{background:#b78a2a}.pins-list{display:grid;gap:9px}.pin-row{display:flex;align-items:center;gap:8px;padding:8px;background:#f5f7fa;border-radius:10px}.pin-row .num{background:#cf3d44;border-radius:30px;color:white;padding:5px 9px;font-weight:800}.pin-row input{padding:9px;border:1px solid var(--line);border-radius:7px;flex:1;min-width:0}.inkpad{width:100%;height:155px;display:block;border:1px solid #cad4e1;border-radius:10px;background:white;touch-action:none}.penbar{display:flex;align-items:center;justify-content:space-between;margin:6px 0 9px}.tabs{display:flex;gap:6px}.tabs button{padding:8px 11px;border:1px solid var(--line);background:#fff;border-radius:8px;font-size:12px;font-weight:750}.tabs button.active{background:var(--navy);color:#fff}.gallery{display:flex;gap:10px;overflow:auto;padding:2px 0 10px}.gallery img{width:145px;height:99px;object-fit:cover;border:1px solid #d3dce9;border-radius:9px}.thumb{position:relative;flex-shrink:0}.thumb label{display:block;font-size:11px;color:var(--muted);margin:4px 0}.signature-title{font-weight:750;color:var(--muted);font-size:12px;margin:0 0 8px}.sigbox{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px;min-width:0}.sigbox b{font-size:12px;display:block;margin:8px 0 0}.sigbox canvas{height:118px}.signature-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bottomnav{position:fixed;z-index:40;bottom:0;left:0;right:0;background:#101f35;color:#e3e9f3;display:flex;justify-content:space-around;box-shadow:0 -7px 20px #14233a22;padding:8px env(safe-area-inset-right) calc(7px + env(safe-area-inset-bottom))}.bottomnav a{font-size:11px;text-align:center;padding:6px 16px;border-radius:9px}.bottomnav a.active{background:var(--gold);color:#152337;font-weight:850}.hero-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.hero-card{background:var(--navy);color:white;padding:18px;border-radius:16px}.hero-card .icon{font-size:24px}.hero-card b{display:block;margin:10px 0 3px}.history-item{border:1px solid var(--line);background:#fff;border-radius:15px;padding:15px;margin:11px 0}.history-item .row{display:flex;justify-content:space-between;gap:10px}.history-item b{font-size:15px}.history-item .meta{font-size:12px;color:var(--muted);margin:5px 0 12px}.login-cover{max-width:430px;margin:10vh auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:0 12px 45px #101f351a}.login-cover .logobg{background:var(--navy);padding:12px;border-radius:10px;margin-bottom:20px}.login-cover h1{font-size:22px;margin:0 0 6px}.login-cover form{display:grid;gap:12px;margin-top:20px}.login-cover p{color:var(--muted)}.notice{border-radius:10px;padding:10px;border:1px solid #fedba5;background:#fff8e9;font-size:12px}.ins-head{background:linear-gradient(110deg,#142541,#2e4361);padding:18px;color:#fff;border-radius:16px;margin:14px 0}.ins-head h1{margin:0 0 4px;font-size:22px}.ins-head p{margin:0;color:#e6edf8;font-size:12px}.marks{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.tag{background:#eef5ff;color:#264b84;border-radius:7px;padding:5px 8px;font-weight:750}.fileupload{border:1px dashed #99aac0;padding:12px;background:#f7fafc;border-radius:10px;display:inline-flex;gap:8px;align-items:center;font-size:12px;font-weight:750;cursor:pointer}.fileupload input{display:none}.progress{width:100%;height:9px;background:#e6eaf0;border-radius:10px;overflow:hidden}.progress>div{height:100%;background:var(--green)}@media(max-width:760px){.top{padding:10px}.top-inner{gap:7px}.logo{width:165px}.head-link{padding:8px;font-size:11px}.tenant{margin:0 10px 14px}.tenant img{height:64px}.tenant span{display:none}.main{padding:0 11px 98px}.page-head h1{font-size:20px}.card{padding:13px;margin:11px 0}.hero-cards{grid-template-columns:1fr}.grid3{grid-template-columns:1fr 1fr}.signature-two{grid-template-columns:1fr}.fuel-grid{grid-template-columns:1fr}.gallery img{width:115px;height:85px}}@media(max-width:420px){.logo{width:144px}.top-actions .head-link{font-size:10px;padding:7px}.grid{grid-template-columns:1fr}.grid3{grid-template-columns:1fr}.signature-two{grid-template-columns:1fr}.compare b{font-size:13px}.compare{gap:2px}.head-link.hide-xs{display:none}}@media(min-width:800px){.bottomnav{display:none}.main{padding-bottom:45px}}

/* V3.1: unify the company letterhead and five-view damage blueprint across screen and PDF. */
.tenant{gap:20px;align-items:center;padding:10px 18px;}
.tenant-copy{min-width:0;display:flex;flex-direction:column;line-height:1.4;gap:1px;}
.tenant-copy strong{font-size:15px;letter-spacing:.01em;color:var(--navy)}
.tenant-copy em{font-size:11px;color:#344a5c}
.tenant-copy span{font-size:11px;color:#394756;text-align:left;font-weight:500}
.tenant img.tenant-logo{width:165px;max-width:34%;height:59px;object-fit:contain;object-position:right;flex-shrink:0}
.ins-head{background:linear-gradient(100deg,#087346,#14894e);border:1px solid #0d8450}
.map-panel{padding:0;aspect-ratio:500/310;overflow:hidden;background:#fff;border:1px solid #cbd9e2;}
.map-panel img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}
@media(max-width:760px){.tenant{gap:10px;margin:0 10px 14px;padding:10px}.tenant-copy strong{font-size:12px}.tenant-copy em{font-size:10px}.tenant-copy span{font-size:9.5px}.tenant img.tenant-logo{width:107px;height:47px;max-width:34%}}
@media(max-width:360px){.tenant-copy span{font-size:8px}.tenant img.tenant-logo{width:88px;height:40px}}

/* Tahap 2: accessible mobile controls, safe-area, manual sharing help */
body{overflow-x:hidden} .btn,.cellchoice,.tabs button{touch-action:manipulation}
.cellchoice{width:100%;min-height:36px;cursor:pointer;background:#fff}
.share-help{position:fixed;z-index:110;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(500px,calc(100vw - 28px));background:white;color:#15243a;border:1px solid #b8c4d5;box-shadow:0 14px 60px #101f3555;border-radius:16px;padding:18px}
.share-help p{font-size:13px;line-height:1.5;color:#41516a}.share-help .actions a,.share-help .actions button{flex:1}
.thumb .btn{width:100%;margin-top:4px}.install-note{border-color:#ddc996}
@media (max-width:420px){.tenant-copy{max-width:calc(100% - 90px)}.head-link{white-space:nowrap}.top-actions{gap:2px}.bottomnav a{min-width:0;flex:1;padding:6px 4px}.pin-row{flex-wrap:wrap}.pin-row input{flex-basis:calc(100% - 56px)}.table-wrap .check{min-width:265px}.share-help .actions{flex-direction:column}}
@media (max-width:340px){.head-link:first-child{display:none}.top-actions{gap:0}}

/* V3.2 — history soft-delete confirmation; no PDF or inspection layout changes. */
.history-extras{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 18px 15px}
.btn.danger-outline{border:1px solid #b83e4b;background:#fff;color:#9b2734}
.btn.danger{background:#ac2637;color:white;border:1px solid #ac2637}
.btn.danger-outline:hover,.btn.danger:hover{filter:brightness(.93)}
.delete-overlay{position:fixed;z-index:500;inset:0;background:#0a1427b8;display:flex;align-items:center;justify-content:center;padding:16px}
.delete-dialog{width:min(460px,100%);max-height:calc(100vh - 32px);overflow-y:auto;background:white;padding:22px;border-radius:17px;border:1px solid #d3dae4;box-shadow:0 20px 90px #0006}
.delete-dialog h2{margin:0 0 12px;color:#14243b;font-size:21px}
.delete-dialog p{margin:7px 0 12px;overflow-wrap:anywhere}
.delete-dialog form{display:grid;gap:13px;margin-top:13px}
.delete-dialog .actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}
@media(max-width:420px){.delete-dialog{padding:15px}.delete-dialog .actions{flex-wrap:wrap}.delete-dialog .actions button{flex:1}}


/* ============================================
  MOBI RENT V3 • LOCKED MOBILE VISUAL REVISION
  Frontend only: mirrors the approved green inspection
  mockups. Backend, PDF master, inspection data untouched.
============================================ */
:root{--navy:#0d1b30;--navy2:#153451;--gold:#e6af45;--green:#087940;--bg:#f3f8f5;--line:#cbded6;--ink:#152a27;--muted:#5b6f69;--radius:12px}
body{background:#f2f7f4;color:var(--ink)}
.top{background:#0d1b30;padding:5px 13px;box-shadow:0 3px 12px #08172a27}
.top-inner{min-height:70px;max-width:1140px;gap:12px}
.brand-link{display:block;min-width:0;flex-shrink:0}
.logo{width:230px;height:auto;aspect-ratio:2048/545;display:block;object-fit:contain;mix-blend-mode:normal}
.nav-toggle{border:0;background:none;color:#fff;font-size:26px;font-weight:400;padding:3px 5px;line-height:1.2;cursor:pointer}
.top-section-name{color:#f6f8fb;font-weight:700;font-size:15px;margin-right:auto;border-left:1px solid #d4a65a;padding-left:13px;white-space:nowrap}
.top-actions{gap:8px}.head-link{color:#f9e7c2}.head-link.active{background:#f5d37e;color:#0d1b30}.logout{color:#fff}
.nav-menu{position:absolute;top:66px;left:max(calc((100vw - 1140px)/2),10px);width:min(280px,calc(100vw - 20px));background:#fff;color:#0d1b30;z-index:190;display:grid;border-radius:10px;box-shadow:0 16px 40px #071b2e55;border:1px solid #ccd7dc;padding:8px}
.nav-menu a{display:block;padding:12px;border-radius:6px;font-weight:700}
.nav-menu a:hover{background:#e6f3ea}
.tenant{border:1px solid #d3e0d7;border-top:0;border-bottom:2px solid #008b51;border-radius:0 0 12px 12px;background:white;box-shadow:none;margin-bottom:12px}
.tenant-copy strong{color:#102c20;font-size:15px}.tenant-copy em{color:#3c4a40}.tenant img.tenant-logo{height:67px;width:170px}
.main{max-width:1140px;padding:0 14px 90px}
.inspection-page{max-width:1140px;margin:auto}
.inspection-steps{display:flex;gap:8px;align-items:center;margin:6px 0 10px;flex-wrap:wrap}
.step-link{font-weight:800;font-size:12px;color:#146d42;border:1px solid #aed0ba;background:#fff;border-radius:7px;padding:9px 13px}
.step-link.current{background:#066d3d;color:#fff;border-color:#066d3d}
.ins-head{display:flex;gap:15px;align-items:center;min-height:83px;background:linear-gradient(105deg,#006139,#087c44 70%,#1da155);border:1px solid #00643b;border-radius:11px;padding:12px 19px;margin:8px 0 12px;color:white;box-shadow:0 4px 9px #095c3b1c}
.ins-head h1{font-size:27px;font-weight:850;letter-spacing:.1px;margin:0 0 3px}
.ins-head p{font-size:13px;font-weight:600;opacity:.94}.ins-head-icon{font-size:32px;line-height:1}
.ins-head-status{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;font-weight:800;white-space:nowrap;font-size:12px}
.ins-head-status small{background:#e6f6e9;color:#075c38;padding:4px 12px;border-radius:20px;margin-top:7px;font-size:10px;letter-spacing:.07em}
.card{padding:13px;margin:0 0 12px;border:1px solid #c9d9d2;background:#fff;border-radius:10px;box-shadow:0 2px 8px #193d2710;min-width:0}
.card h2{font-size:14px;font-weight:850;background:linear-gradient(95deg,#005d37,#058246);color:white;border-radius:7px 7px 0 0;padding:9px 12px;margin:-13px -13px 12px;display:flex;align-items:center;min-height:36px}
.card h2 .chip{margin-left:auto;background:#e6f6e9;color:#0c7149;font-size:10px;padding:3px 7px}
.card h2 .history-shortcut{margin-left:auto;background:#fff;color:#12653f;border-color:#fff;font-size:10px;padding:5px 7px}
.inspection-top-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:12px;align-items:stretch}
.inspection-top-grid>.card{height:calc(100% - 12px)}
.inspection-top-grid .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.formfield{font-size:11px;color:#2f5340;gap:4px}
.formfield input,.formfield select,.formfield textarea,.search{border:1px solid #b5c8c1;border-radius:6px;padding:9px 10px;color:#0c2920;font-weight:600}
.formfield input:focus,.formfield textarea:focus{border-color:#15955c;box-shadow:0 0 0 2px #0c8e491f}
.formfield input:disabled{background:#f3f8f5;color:#425950}
.btn{border-radius:7px;font-size:12px;font-weight:800;padding:10px 12px}
.btn.green,.btn.whatsapp{background:linear-gradient(100deg,#00753f,#109b55)}
.btn.outline{border:1px solid #159252;color:#09673a;background:#fff}
.btn.gold{background:#e8bf63;color:#0d1b30}
.fuel-input-card .fuel-modes{flex-wrap:wrap}.fuel-input-card .fuel-modes label{padding:5px 7px;font-size:11px}
.fuel-input-card .fuel-display{min-height:74px;padding:9px 10px;border:1px solid #d8e8dd;background:#f4faf6;border-radius:9px;display:flex;justify-content:center}
.fuel-input-card .fuel-meter{min-width:110px;max-width:300px;height:26px}
.fuel-input-card .gauge{width:150px}
.fuel-range{accent-color:#078448}
.inspection-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
.checklist-card .table-wrap{overflow:visible}
.checklist-card table.check{table-layout:fixed;border-collapse:collapse}
.checklist-card table.check th{background:#d9f1df;color:#124e32;text-align:center}
.checklist-card table.check th:first-child{width:auto;text-align:left}
.checklist-card table.check th:nth-child(2),.checklist-card table.check td:nth-child(2),.checklist-card table.check th:nth-child(3),.checklist-card table.check td:nth-child(3){width:61px}
.checklist-card table.check th,.checklist-card table.check td{padding:4px 5px;font-size:12px;border-color:#b7cfc0}
.checklist-card .cellchoice{min-height:31px;border-radius:4px}
.cellchoice.yes.active{color:#087c45;background:#dff5e6;border-color:#83c5a2}
.cellchoice.no.active{color:#c83333;background:#ffebec;border-color:#e8a0a0}
.inspection-map-notes{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:12px}
.damage-card .map-panel{aspect-ratio:500/310;max-width:560px;border:1px solid #d2dfd8;background:white}
.damage-card .pin{width:28px;height:28px;background:#e03b3b;box-shadow:0 2px 4px #113c2923}
.damage-card .pin.old{background:#d99f2f}
.damage-card .pins-list{margin-top:12px}
.damage-card .pin-row{background:#f1f8f3;border:1px solid #dbeadd;padding:6px}
.damage-card .pin-row .num{background:#0b8a4c}
.notes-card .notice{background:#e8f6ea;border:1px solid #b7dec3;color:#135d3a}
.notes-card .tabs button.active{background:#058346;color:#fff}
.notes-card textarea{min-height:178px;line-height:1.65;background:repeating-linear-gradient(to bottom,#fff 0,#fff 26px,#d8e7e0 27px,#fff 28px);font-weight:500}
.notes-card .inkpad{height:190px}
.photos-card .gallery{display:flex;gap:8px;padding-bottom:6px}.photos-card .gallery img{width:154px;height:95px;border-radius:7px}
.photos-card .fileupload{background:#eff9f1;color:#066b3d;border-color:#189658}
.signatures-card .signature-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.signatures-card .sigbox{border:1px solid #c5decf;border-radius:9px;text-align:center;background:#fbfffc}
.signatures-card .signature-title{background:#ddf3e3;color:#16573a;text-transform:uppercase;text-align:center;border-radius:5px;padding:7px 4px;font-size:11px}
.signatures-card .sigbox b{color:#143d2a;text-align:center}
.signatures-card .notice{border:1px solid #c5d9c9;background:#f2fbf4;color:#1b4f32}
.action-card .actions{justify-content:space-between}
.action-card .actions .btn{flex:1;min-width:130px}
.compare{background:#e9f5ed;border:1px solid #d0e5d8;border-radius:9px}
.compare b{color:#0d6440}
.bottomnav{background:#0d1b30;color:white}
.bottomnav a.active{background:#e8bd63;color:#0d1b30}
.page-head h1{color:#0b5837}
.hero-card{background:linear-gradient(135deg,#075d3c,#0c8a4e);box-shadow:0 5px 14px #0943231b}
.hero-card .icon{color:#fff1cc}
.history-item{border:1px solid #c9d9d2}.history-item .meta{color:#557264}
@media(max-width:850px){
 .top-inner{min-height:60px}.logo{width:178px}.top-section-name{font-size:13px}.top-actions .head-link{display:none}
 .main{padding:0 12px 89px}
 .inspection-top-grid{grid-template-columns:1fr 1fr}
 .tenant img.tenant-logo{height:59px;width:145px}
 .gallery img{width:128px;height:88px}
}
@media(max-width:640px){
 .top{padding:4px 8px}.top-inner{gap:6px;min-height:56px}.logo{width:min(38vw,160px)}
 .nav-toggle{font-size:24px}.top-section-name{font-size:11px;padding-left:8px}.top-actions .logout{font-size:11px;padding:5px}
 .tenant{margin:0 9px 9px;padding:9px;gap:8px}.tenant-copy strong{font-size:12px}.tenant-copy span{font-size:9px;line-height:1.3}.tenant img.tenant-logo{width:100px;max-width:30%;height:45px}
 .ins-head{min-height:72px;margin:9px 0;padding:11px;gap:8px}
 .ins-head h1{font-size:20px}.ins-head p{font-size:11px}.ins-head-icon{font-size:23px}
 .ins-head-status{font-size:10px}.ins-head-status small{font-size:9px;padding:4px 8px}
 .inspection-top-grid,.inspection-map-notes{grid-template-columns:1fr;gap:0}
 .inspection-top-grid .grid{grid-template-columns:1fr 1fr}
 .inspection-check-grid{grid-template-columns:1fr;gap:0}
 .card{padding:12px;margin-bottom:9px}.card h2{margin:-12px -12px 10px}
 .checklist-card table.check th,.checklist-card table.check td{font-size:12px}
 .checklist-card .cellchoice{min-height:35px}
 .fuel-input-card .fuel-display{min-height:72px}
 .signatures-card .signature-two{grid-template-columns:1fr}
 .history-shortcut{font-size:9px!important}
 .action-card .actions .btn{flex:1 1 42%}
 .photos-card .gallery img{width:132px;height:85px}
}
@media(max-width:380px){.logo{width:122px}.top-section-name{font-size:10px}.tenant img.tenant-logo{width:85px}.tenant-copy span{font-size:8px}.ins-head h1{font-size:18px}.ins-head-status small{display:none}.inspection-top-grid .grid{grid-template-columns:1fr}.action-card .actions .btn{flex:1 1 100%}}

/* Honor native hidden state, including dropdown navigation. */
[hidden]{display:none!important}
.checklist-card table.check th:first-child,.checklist-card table.check td:first-child{width:32px;text-align:center}
.checklist-card table.check th:nth-child(2),.checklist-card table.check td:nth-child(2){width:auto;text-align:left}
.checklist-card table.check th:nth-child(3),.checklist-card table.check td:nth-child(3),.checklist-card table.check th:nth-child(4),.checklist-card table.check td:nth-child(4){width:60px;text-align:center}
.checklist-card table.check .check-num{font-size:11px;color:#4c6a5e}


/* FRONTEND V3 LOCKED MOCKUP — inspection pages only, 21 Nov 2026. No backend / PDF / icons changed. */
body:has(.inspection-page){background:#f6faf7;color:#122e21;}
body:has(.inspection-page) .top{background:linear-gradient(105deg,#003d30 0%,#004a36 72%,#063d33 100%);padding:6px 9px;box-shadow:none;}
body:has(.inspection-page) .top-inner{min-height:58px;gap:7px;}
body:has(.inspection-page) .logo{width:190px;}
body:has(.inspection-page) .top-section-name{font-size:14px;flex:1;font-weight:600;margin-right:0;border-left:1px solid #b3d2c3;padding-left:10px;}
body:has(.inspection-page) .nav-toggle{font-size:24px;}
body:has(.inspection-page) .tenant{margin:0 auto 8px;padding:9px 12px;border:0;border-bottom:2px solid #058247;border-radius:0;background:#fff;box-shadow:none;}
body:has(.inspection-page) .tenant-copy strong{font-size:15px;font-weight:900;color:#121c18;}
body:has(.inspection-page) .tenant-copy span{font-size:10px;color:#152921;display:block;}
body:has(.inspection-page) .tenant-copy em{font-size:10px;}
body:has(.inspection-page) .tenant img.tenant-logo{height:61px;width:152px;object-fit:contain;}
body:has(.inspection-page) .bottomnav{display:none;}
body:has(.inspection-page) .main{padding:0 8px 30px;max-width:900px;}
.inspection-page{max-width:900px;}
.inspection-page .ins-head{margin:4px 0 8px;min-height:57px;padding:7px 11px;gap:9px;background:linear-gradient(107deg,#00643b 3%,#048044 83%,#098d4d);border:1px solid #157245;border-radius:10px;}
.inspection-page .ins-head h1{font-size:22px;line-height:1.06;margin:0;color:white;}
.inspection-page .ins-head p{font-size:12px;margin-top:3px;color:white;}
.inspection-page .ins-head-icon{font-size:29px;filter:grayscale(1) brightness(8);line-height:1;}
.inspection-page .ins-head-status{margin-left:auto;}
.inspection-page .ins-head-status small{display:block;letter-spacing:0;margin:0;background:#eafbe8;color:#075b2d;font-size:10px;padding:5px 10px;}
.inspection-page .card{background:#fff;padding:8px;border:1px solid #c9ded6;border-radius:10px;box-shadow:0 1px 3px #174e3010;margin:0 0 7px;min-width:0;}
.inspection-page .card h2{margin:-8px -8px 7px;padding:5px 8px;min-height:27px;font-size:13px;line-height:1.25;border-radius:8px 8px 0 0;background:linear-gradient(90deg,#005d35,#008447);color:#fff;}
.inspection-top-grid{grid-template-columns:minmax(0,1fr) minmax(0,.93fr);gap:8px;}
.inspection-top-grid>.card{height:auto;margin-bottom:7px;}
.inspection-page .formfield{display:grid;grid-template-columns:91px minmax(0,1fr);align-items:center;gap:4px;margin:0 0 5px;color:#183127;font-size:11px;font-weight:800;}
.inspection-page .formfield input{padding:4px 7px;font-size:11px;height:28px;border-radius:6px;border:1px solid #b7caca;background:#fff;}
.inspection-page .formfield input:disabled{background:#f8fbf9;color:#213e33;}
.inspection-page .identity-card .grid{grid-template-columns:1fr;gap:0;}
.inspection-page .history-shortcut{font-size:9px;white-space:nowrap;margin-left:auto;}
.inspection-page .identity-save{font-size:10px;padding:5px 7px;}
.inspection-page .fuel-row{display:flex;gap:5px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:10px;font-weight:800;}
.inspection-page .fuel-input-card .fuel-modes{gap:5px;}
.inspection-page .fuel-input-card .fuel-modes label{padding:2px 3px;border:0;font-size:10px;}
.inspection-page .fuel-display{border:1px solid #cfdfd7;background:#f5faf6;border-radius:8px;padding:6px;min-height:55px;margin:7px 0 2px;gap:9px;display:flex;align-items:center;justify-content:space-between;}
.inspection-page .fuel-icon{font-size:17px;}
.inspection-page .fuel-meter{min-width:0;height:22px;max-width:none;flex:1;background:repeating-linear-gradient(90deg,#e8edeb 0%,#e8edeb 19%,white 19%,white 20%);border-color:#c0cbc5;}
.inspection-page .fuel-fill{background:linear-gradient(90deg,#0c9b41,#1cce37);}
.inspection-page .fuel-indicator{font-size:11px;min-width:32px;text-align:right;white-space:nowrap;}
.inspection-page .gauge{width:112px;}
.inspection-page .fuel-range{margin:2px 0 0;height:9px;}
.inspection-page .fuel-help{font-size:9px;line-height:1.3;margin:7px 0 0;}
.inspection-page .inspection-check-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;}
.inspection-page .checklist-card .table-wrap{overflow:visible;}
.inspection-page .checklist-card table.check{table-layout:fixed;border-collapse:collapse;}
.inspection-page .checklist-card table.check th{font-size:10px;background:#d8f2df;color:#124a29;}
.inspection-page .checklist-card table.check th,.inspection-page .checklist-card table.check td{font-size:10px;padding:2px 3px;height:24px;border:1px solid #aebfb5;}
.inspection-page .checklist-card table.check th:first-child,.inspection-page .checklist-card table.check td:first-child{width:23px;}
.inspection-page .checklist-card table.check th:nth-child(3),.inspection-page .checklist-card table.check td:nth-child(3),.inspection-page .checklist-card table.check th:nth-child(4),.inspection-page .checklist-card table.check td:nth-child(4){width:41px;}
.inspection-page .checklist-card .cellchoice{border:none;min-height:18px;width:100%;border-radius:0;font-size:16px;padding:0;background:transparent;}
.inspection-page .checklist-card .cellchoice.yes.active{color:#008832;background:transparent;}
.inspection-page .checklist-card .cellchoice.no.active{color:#ed1b24;background:transparent;}
.inspection-page .inspection-map-notes{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.82fr);gap:8px;align-items:stretch;}
.inspection-page .inspection-map-notes>.card{height:100%;}
.inspection-page .damage-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);gap:5px;}
.inspection-page .damage-card .map-panel{margin:0;max-width:none;padding:1px;aspect-ratio:1.02;border:0;border-radius:0;background:white;touch-action:manipulation;}
.inspection-page .damage-card .map-panel img{width:100%;height:100%;object-fit:contain;}
.inspection-page .damage-card .pin{width:19px;height:19px;font-size:10px;background:#eb1535;}
.inspection-page .damage-card .pin.old{background:#c98724;}
.inspection-page .damage-points h3{margin:0 0 5px;font-size:11px;line-height:1.25;color:#0b5c35;}
.inspection-page .pin-placeholder{font-size:10px;color:#526d5f;line-height:1.4;}
.inspection-page .pins-list{display:grid;gap:4px;}
.inspection-page .pin-row{border:0;border-bottom:1px solid #d8e4dc;background:transparent;padding:2px 0;gap:3px;border-radius:0;}
.inspection-page .pin-row .num{background:#09a842;padding:3px 6px;border-radius:100px;font-size:10px;}
.inspection-page .pin-row input{font-size:10px;padding:3px;border:0;background:transparent;border-radius:0;min-width:0;color:#1d2b24;}
.inspection-page .pin-delete{font-size:16px;color:#ae4c3a;border:0;background:none;padding:0 3px;}
.inspection-page .marks{gap:4px;margin-top:5px;}
.inspection-page .tag{font-size:9px;padding:2px 4px;background:#e4f5e9;color:#066033;}
.inspection-page .template-strip{border-top:1px solid #d4e5d8;margin-top:5px;padding-top:5px;font-size:10px;}
.inspection-page .template-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:4px;}
.inspection-page .template-actions .btn{padding:3px 5px;font-size:9px;min-width:0;}
.inspection-page .notes-card .tabs{display:flex;gap:4px;margin-bottom:5px;}
.inspection-page .notes-card .tabs button{background:#eefaf0;border:1px solid #93c9a7;padding:5px 9px;color:#0a6f3c;font-size:10px;flex:1;}
.inspection-page .notes-card .tabs button.active{background:#0a9b4e;color:#fff;}
.inspection-page .note-page{background:#fffdef;border:1px solid #e1e9cf;border-radius:7px;padding:4px 6px;min-height:130px;}
.inspection-page .notes-card .auto-lines{background:transparent;border:0;padding:3px;margin:0!important;font-size:10px;line-height:1.35;color:#16533a;}
.inspection-page .notes-card textarea{border:0;box-shadow:none;border-radius:0;width:100%;min-height:100px;padding:5px 2px;font-size:12px;line-height:1.75;background:repeating-linear-gradient(to bottom,transparent 0,transparent 22px,#d2dfd1 23px,transparent 24px);font-family:'Segoe Print','Comic Sans MS',cursive;font-style:italic;color:#1b394d;font-weight:600;resize:vertical;}
.inspection-page .notes-card textarea:focus{border:0;box-shadow:none;}
.inspection-page .notes-hint{font-size:9px;color:#477058;line-height:1.3;margin:5px 0 0;}
.inspection-page .notes-card .inkpad{height:125px;}
.inspection-page .photos-card .gallery{gap:4px;display:flex;overflow-x:auto;margin:5px 0 6px;}
.inspection-page .photos-card .gallery img{width:124px;height:75px;border-radius:5px;border:1px solid #ddd;}
.inspection-page .photos-card .fileupload{border:1px dashed #159750;padding:8px;border-radius:6px;background:#f1fbf4;color:#046b38;font-size:11px;}
.inspection-page .photos-card .side-note{margin:0 0 4px;font-size:10px;line-height:1.3;}
.inspection-page .signatures-card .signature-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;}
.inspection-page .sigbox{padding:5px 5px 7px;border:1px solid #d0e1d7;border-radius:6px;text-align:center;}
.inspection-page .signature-title{font-size:10px;background:#d2f5d6;padding:5px 2px;margin:0;color:#0e5b2c;font-weight:850;line-height:1.3;}
.inspection-page .signature-title small{display:block;font-size:9px;font-weight:600;}
.inspection-page .sigbox canvas.inkpad{height:70px;border:0;border-bottom:1px solid #e3efe9;border-radius:0;}
.inspection-page .sigbox b{font-size:11px;margin:3px 0;}
.inspection-page .signature-time{font-size:9px;color:#496b5a;margin-top:3px;}
.inspection-page .sigactions{gap:3px;justify-content:center;}
.inspection-page .sigactions .btn{font-size:9px;padding:4px 6px;}
.inspection-page .signature-attention{display:grid;grid-template-columns:minmax(0,1fr) 93px;gap:7px;margin-top:6px;border:1px solid #ccdcca;border-radius:7px;background:#f8fcf8;padding:7px;}
.inspection-page .signature-attention .notice{padding:0;border:0;background:transparent;font-size:10px;line-height:1.45;}
.inspection-page .signature-attention .notice p{margin:3px 0;}
.inspection-page .admin-box{border-left:1px solid #c3d4c6;display:flex;flex-direction:column;justify-content:space-around;align-items:center;font-size:10px;font-weight:750;}
.inspection-page .action-card{border:none;background:transparent;padding:4px 0 9px;margin:0;box-shadow:none;}
.inspection-page .action-card>.actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;}
.inspection-page .action-card>.actions>.btn{min-width:0;font-size:10px;padding:9px 4px;line-height:1.1;}
.inspection-page .action-card>.side-note{font-size:9px;margin-top:6px;}
.inspection-page .summary-card .compare{padding:7px;gap:5px;}.inspection-page .summary-card .compare b{font-size:13px;}
.inspection-page .comparison-card .table-wrap{max-height:155px;overflow-y:auto;}
@media(max-width:700px){
 body:has(.inspection-page) .top-inner{min-height:50px;}body:has(.inspection-page) .logo{width:164px;}body:has(.inspection-page) .top-section-name{font-size:12px;}
 body:has(.inspection-page) .tenant-copy strong{font-size:13px;}body:has(.inspection-page) .tenant img.tenant-logo{height:53px;width:112px;}
 .inspection-page .inspection-top-grid{grid-template-columns:minmax(0,1fr) minmax(0,.93fr);gap:5px;}
 .inspection-page .inspection-check-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px;}
 .inspection-page .formfield{grid-template-columns:74px minmax(0,1fr);font-size:9px;gap:3px;}
 .inspection-page .formfield input{font-size:10px;height:25px;padding:3px 4px;}
 .inspection-page .fuel-row{font-size:9px;} .inspection-page .fuel-input-card .fuel-modes label{font-size:9px;}
 .inspection-page .card{padding:6px;margin-bottom:6px;} .inspection-page .card h2{margin:-6px -6px 5px;font-size:11px;padding:5px;min-height:23px;}
 .inspection-page .checklist-card table.check th,.inspection-page .checklist-card table.check td{font-size:9px;height:23px;padding:1px 2px;}
 .inspection-page .checklist-card table.check th:first-child,.inspection-page .checklist-card table.check td:first-child{width:19px;}
 .inspection-page .checklist-card table.check th:nth-child(3),.inspection-page .checklist-card table.check td:nth-child(3),.inspection-page .checklist-card table.check th:nth-child(4),.inspection-page .checklist-card table.check td:nth-child(4){width:31px;}
 .inspection-page .checklist-card .cellchoice{min-height:20px;font-size:15px;}
 .inspection-page .inspection-map-notes{grid-template-columns:minmax(0,1.42fr) minmax(0,.92fr);gap:5px;}
 .inspection-page .damage-layout{grid-template-columns:minmax(0,1.14fr) minmax(0,.91fr);gap:3px;}
 .inspection-page .damage-points h3{font-size:9px;}
 .inspection-page .pin-row .num{padding:2px 4px;font-size:9px;}
 .inspection-page .pin-row input{font-size:9px;}
 .inspection-page .notes-card .tabs button{font-size:9px;padding:4px 3px;}
 .inspection-page .notes-card textarea{font-size:10px;min-height:105px;}
 .inspection-page .template-actions .btn{font-size:8px;}
 .inspection-page .photos-card .gallery img{width:87px;height:67px;}
 .inspection-page .sigbox canvas.inkpad{height:63px;} .inspection-page .signature-title{font-size:9px;}
 .inspection-page .signature-time{font-size:8px;}
}
@media(max-width:385px){
 body:has(.inspection-page) .logo{width:125px;}body:has(.inspection-page) .top-section-name{font-size:11px;padding-left:5px;}
 .inspection-page .checklist-card table.check th,.inspection-page .checklist-card table.check td{font-size:8.5px;}
 .inspection-page .ins-head h1{font-size:19px;}.inspection-page .ins-head p{font-size:10px;}
 .inspection-page .signature-attention{grid-template-columns:1fr 64px;}
}
/* Ensure ADA / TIDAK columns are always reachable and do not intrude into neighboring cards. */
.inspection-page .checklist-card .table-wrap{width:100%;min-width:0;overflow:hidden;}
.inspection-page .checklist-card table.check{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;table-layout:auto;}
.inspection-page .checklist-card table.check thead,.inspection-page .checklist-card table.check tbody{display:block;width:100%;}
.inspection-page .checklist-card table.check tr{display:grid;grid-template-columns:21px minmax(0,1fr) 31px 34px;width:100%;}
.inspection-page .checklist-card table.check th,.inspection-page .checklist-card table.check td{display:flex;align-items:center;min-width:0;max-width:none;overflow-wrap:anywhere;width:auto!important;height:auto;min-height:23px;font-size:9px;line-height:1.17;}
.inspection-page .checklist-card table.check td:nth-child(3),.inspection-page .checklist-card table.check td:nth-child(4),.inspection-page .checklist-card table.check th:nth-child(3),.inspection-page .checklist-card table.check th:nth-child(4){justify-content:center;}
.inspection-page .checklist-card table.check .cellchoice{width:100%;display:grid;place-items:center;min-height:22px;}
@media (max-width:420px){.inspection-page .checklist-card table.check tr{grid-template-columns:18px minmax(0,1fr) 27px 29px;}.inspection-page .checklist-card table.check th,.inspection-page .checklist-card table.check td{font-size:8.5px;min-height:23px;}.inspection-page .checklist-card table.check .cellchoice{font-size:15px;}}
/* Preserve the exact logo pixels while visually blending the official navy artwork into the green top strip. */
body:has(.inspection-page) .logo{mix-blend-mode:lighten;}
@media(max-width:700px){
 body:has(.inspection-page) .tenant{padding:5px 9px;gap:5px;}
 body:has(.inspection-page) .tenant-copy{line-height:1.03;}
 body:has(.inspection-page) .tenant-copy strong{font-size:12px;line-height:1.2;}
 body:has(.inspection-page) .tenant-copy em,body:has(.inspection-page) .tenant-copy span{font-size:8.5px;line-height:1.13;}
 body:has(.inspection-page) .tenant img.tenant-logo{height:49px;width:94px;max-width:27%;}
}

.inspection-page .comparison-card{padding:0;overflow:hidden;}
.inspection-page .comparison-card summary{cursor:pointer;list-style:none;background:#006b40;color:white;padding:7px 10px;font-size:11px;font-weight:800;}
.inspection-page .comparison-card summary::-webkit-details-marker{display:none;}
.inspection-page .comparison-card summary:before{content:"▸ ";}
.inspection-page .comparison-card[open] summary:before{content:"▾ ";}
.inspection-page .summary-hint{float:right;background:#e7faeb;color:#145d34;border-radius:20px;padding:2px 6px;font-size:9px;}
.inspection-page .comparison-card .side-note{margin:9px;padding:0 8px;font-size:10px;}
.inspection-page .comparison-card .table-wrap{margin:8px;}

/* V3.4 — PATCH UI reference-locked 21 Nov 2026. Backend & PDF assets untouched. */
.nav-menu .nav-logout{background:#f3f7f4;color:#153c29;width:100%;border:0;border-top:1px solid #cdded3;padding:12px 14px;text-align:left;font-weight:800;cursor:pointer;font-size:13px}
.top-actions .logout{display:none!important}
.tenant img.tenant-logo{object-fit:contain;object-position:center;transform:none!important;rotate:0deg!important;aspect-ratio:131 / 54;image-rendering:auto}
.inspection-page .inspection-check-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1.02fr) minmax(0,.94fr);gap:6px;align-items:stretch}
.inspection-page .checklist-card,.inspection-page .remarks-card{margin:0 0 7px;min-width:0}
.inspection-page .remarks-card .remarks-lines{height:100%;min-height:210px;display:flex;flex-direction:column;justify-content:space-between;padding:4px 5px;gap:0;}
.inspection-page .remarks-card .remarks-line{border-bottom:1px solid #a4bdaf;flex:1;min-height:15px;line-height:1.2;font-size:9px;color:#234336;overflow:hidden;overflow-wrap:anywhere;padding:3px 1px 1px}
.inspection-page .damage-card .map-panel{aspect-ratio:1.55;background:white;border:0;overflow:hidden;position:relative;}
.inspection-page .damage-card .map-panel img{width:100%;height:100%;object-fit:contain;object-position:center}
.inspection-page .damage-card .damage-layout{align-items:start}
.history-status-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:12px}
.history-tab{background:#f2f8f2;border:1px solid #c0dbcc;color:#105e3b;border-radius:9px;font-weight:850;padding:12px 7px;cursor:pointer;font-size:13px}
.history-tab.active{background:#075c3a;border-color:#075c3a;color:#fff}
.history-secondary{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.history-count{color:#526e5c;font-size:12px;margin:5px 0 10px;font-weight:650}
.history-empty{padding:24px;color:#4b6659;text-align:center}
@media(max-width:700px){
 .inspection-page .inspection-check-grid{grid-template-columns:minmax(0,1.13fr) minmax(0,1.04fr) minmax(0,.9fr);gap:4px}
 .inspection-page .checklist-card table.check th,.inspection-page .checklist-card table.check td{font-size:8.5px;padding:1px 1px;height:21px}
 .inspection-page .checklist-card table.check th:first-child,.inspection-page .checklist-card table.check td:first-child{width:15px}
 .inspection-page .checklist-card table.check th:nth-child(3),.inspection-page .checklist-card table.check td:nth-child(3),.inspection-page .checklist-card table.check th:nth-child(4),.inspection-page .checklist-card table.check td:nth-child(4){width:24px}
 .inspection-page .checklist-card .cellchoice{font-size:13px;min-height:18px}
 .inspection-page .remarks-card .remarks-lines{min-height:210px;padding:2px}
 .inspection-page .remarks-card .remarks-line{font-size:8px;min-height:12px}
 .history-tab{font-size:11px}
}
@media(max-width:390px){
 .inspection-page .checklist-card table.check th,.inspection-page .checklist-card table.check td{font-size:8px;padding:0 1px}
 .inspection-page .checklist-card table.check th:nth-child(3),.inspection-page .checklist-card table.check td:nth-child(3),.inspection-page .checklist-card table.check th:nth-child(4),.inspection-page .checklist-card table.check td:nth-child(4){width:22px}
 .inspection-page .remarks-card .remarks-line{font-size:7.5px}
 .tenant img.tenant-logo{width:100px;height:auto}
}


/* ========================================================
   PATCH LOGO KAHE + RESPONSIVE TEXT, 21 NOV 2026.
   Scope: logo perusahaan KAHE and text wrapping ONLY.
   NO changes to Mobi Rent master, PWA icons, PDF, backend.
   ======================================================== */
/* Higher resolution Kahe asset has natural ratio 978:354.
   Never force the old 131:54 screenshot's aspect-ratio. */
.tenant { min-width:0; align-items:center; }
.tenant-copy { flex:1 1 0; min-width:0; max-width:100%; }
.tenant-copy strong,.tenant-copy em,.tenant-copy span { display:block; min-width:0; max-width:100%; white-space:normal; overflow-wrap:anywhere; word-break:normal; line-height:1.3; }
.tenant img.tenant-logo,
body:has(.inspection-page) .tenant img.tenant-logo {
  display:block;
  flex:0 0 auto;
  box-sizing:border-box;
  width:clamp(105px,25vw,154px);
  height:auto;
  max-height:none;
  max-width:40%;
  aspect-ratio:auto!important;
  object-fit:contain;
  object-position:center;
  transform:none!important;
  rotate:0deg!important;
  filter:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  image-rendering:auto;
  background:transparent;
}
/* Text flows into the next line instead of leaking out of viewport/card. */
.top-inner,.top-section-name,.page-head,.history-item,.history-item .row,
.history-item .meta,.history-item b,.history-item .chip,
.inspection-page .card,.inspection-page .card h2,
.inspection-page .formfield,.inspection-page .formfield>span,
.inspection-page .signature-title,.inspection-page .sigbox b,
.inspection-page .signature-attention,.inspection-page .pin-row,
.inspection-page .pin-row input,.history-tab,.history-shortcut,
.inspection-page .btn,.nav-menu a,.side-note,.notice,
.inspection-page .remarks-card .remarks-line { min-width:0; max-width:100%; }
.top-section-name,.page-head h1,.page-head .sub,.history-item .row,
.history-item .meta,.history-item b,.history-item .chip,
.inspection-page .card h2,.inspection-page .formfield>span,
.inspection-page .signature-title,.inspection-page .sigbox b,
.inspection-page .signature-attention,.inspection-page .pin-row,
.history-tab,.history-shortcut,.inspection-page .btn,
.nav-menu a,.side-note,.notice,
.inspection-page .remarks-card .remarks-line {
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
}
.top-section-name { line-height:1.2; }
.history-item .row { flex-wrap:wrap; align-items:start; }
.inspection-page .card h2 { line-height:1.3; height:auto; }
.inspection-page .btn, .history-item .btn { height:auto; min-height:31px; line-height:1.25; text-align:center; }
.inspection-page .checklist-card table.check tr { height:auto!important; min-height:23px; align-items:stretch; }
.inspection-page .checklist-card table.check th,
.inspection-page .checklist-card table.check td {
  height:auto!important;
  min-height:23px;
  white-space:normal;
  overflow:visible;
  overflow-wrap:anywhere;
  word-break:normal;
  line-height:1.23;
  align-items:center;
  padding-top:3px;
  padding-bottom:3px;
}
.inspection-page .remarks-card .remarks-lines { height:auto; min-height:210px; }
.inspection-page .remarks-card .remarks-line {
  flex:1 0 auto;
  height:auto!important;
  min-height:20px;
  overflow:visible;
  line-height:1.28;
}
.inspection-page .pin-row input { text-overflow:clip; }
.inspection-page .formfield { align-items:center; }
.inspection-page .formfield>span { line-height:1.25; }
@media(max-width:700px) {
 .tenant img.tenant-logo,body:has(.inspection-page) .tenant img.tenant-logo {
   width:clamp(102px,27vw,130px);height:auto;max-width:36%;aspect-ratio:auto!important;
 }
 .tenant-copy em,.tenant-copy span { line-height:1.22; }
 .inspection-page .remarks-card .remarks-line { font-size:8px; min-height:18px; }
 .inspection-page .checklist-card table.check tr { height:auto!important; }
}
@media(max-width:390px) {
 .tenant img.tenant-logo,body:has(.inspection-page) .tenant img.tenant-logo {width:106px;max-width:36%;height:auto;}
 .top-section-name {white-space:normal;line-height:1.15;}
 .inspection-page .remarks-card .remarks-line {font-size:7.5px;}
}

/* PATCH KAHE GROUP 21-11-2026: exact uploaded logo, only alpha padding trimmed.
   No transforms/filters or distortion. This block intentionally overrides earlier
   logo-specific rules without changing other elements. */
.tenant img.tenant-logo,
body:has(.inspection-page) .tenant img.tenant-logo {
  width:clamp(116px, 29vw, 168px);
  height:auto !important;
  max-height:none !important;
  max-width:42%;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center;
  transform:none !important;
  rotate:0deg !important;
  filter:none !important;
  opacity:1 !important;
  flex:0 0 auto;
  image-rendering:auto;
}
@media(max-width:390px) {
  .tenant img.tenant-logo,body:has(.inspection-page) .tenant img.tenant-logo {
    width:clamp(110px,31vw,126px);max-width:42%;height:auto !important;
  }
}
