@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&display=swap');
.executive-pdf-button{float:right;background:#fff;color:#a83a32;border-radius:9px;padding:10px 14px;font-weight:700}
.executive-intro{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#173f36,#285d50);color:#fff}.executive-intro p{margin:4px 0;opacity:.75}.executive-intro>span{padding:8px 12px;border-radius:99px;background:#ffffff18;font-size:11px;letter-spacing:1px}.qr-access-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.access-card{margin:0;text-align:center}.access-head{display:flex;justify-content:space-between;text-align:left}.access-head h3,.access-head p{margin:0}.access-head p{color:var(--muted)}.access-qr{display:flex;justify-content:center;margin:18px}.access-card code{display:block;overflow-wrap:anywhere;background:#f3f5f2;padding:9px;font-size:10px}.access-card>small{display:block;color:var(--muted);margin:8px}.access-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.access-actions form{display:inline}.danger-button{color:#a8493b}.disabled-link{opacity:.65}.executive-page{background:#edf2ef}.executive-header{background:#173f36;color:#fff;padding:16px max(20px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between}.executive-header>div:last-child{text-align:right}.executive-header small{display:block;opacity:.7}.executive-brand{display:flex;align-items:center;gap:10px}.executive-brand>span{width:40px;height:40px;border-radius:12px;background:#e9763f;display:grid;place-items:center;font-weight:700}.executive-brand strong,.executive-brand small{display:block}.executive-content{width:min(1180px,calc(100% - 32px));margin:24px auto}.executive-welcome{background:linear-gradient(120deg,#173f36,#285d50);color:#fff;border-radius:18px;padding:28px 32px}.executive-welcome span{font-size:11px;color:#ffb28e;font-weight:700}.executive-welcome h1{margin:5px 0;font-size:28px}.executive-welcome p{margin:0;color:#c9ddd6}.executive-fuel{grid-template-columns:repeat(3,1fr)}.executive-vehicles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.executive-vehicles article{border:1px solid var(--line);border-radius:11px;padding:13px;display:grid;grid-template-columns:1fr auto;gap:5px}.executive-vehicles small{display:block;color:var(--muted)}.executive-vehicles p{grid-column:1/-1;margin:3px 0 0;font-weight:700}.executive-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.executive-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.executive-row small{display:block;color:var(--muted)}.executive-footer{text-align:center;color:var(--muted);font-size:11px;padding:20px}@media(max-width:700px){.qr-access-grid,.executive-columns,.executive-vehicles{grid-template-columns:1fr}.executive-header{padding:12px 16px}.executive-content{width:min(100% - 20px,1180px);margin:10px auto}.executive-welcome{padding:22px}.executive-fuel{grid-template-columns:1fr}.executive-intro{align-items:flex-start;gap:12px}}
.action-count{background:#eef2ef;color:var(--muted);border-radius:99px;padding:6px 11px;font-size:12px}.alert-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.alert-card{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-left:4px solid #d39a2c;border-radius:10px;padding:12px;background:#fffcf5}.alert-card.danger{border-left-color:#bd4b40;background:#fff8f7}.alert-card b{margin-left:auto}.alert-card small,.all-clear small{display:block;color:var(--muted)}.alert-icon{width:34px;height:34px;border-radius:9px;background:#fff0d8;display:grid;place-items:center}.danger .alert-icon{background:#fae0dc}.all-clear{display:flex;align-items:center;justify-content:center;gap:12px;padding:24px;color:#267354}.all-clear>span{width:40px;height:40px;border-radius:50%;background:#dff2e8;display:grid;place-items:center;font-size:22px}.quick-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}.quick-actions a{display:grid;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px}.quick-actions a:hover{border-color:var(--orange);transform:translateY(-1px)}.quick-actions span{font-size:25px}.quick-actions strong{margin-top:7px}.quick-actions small{color:var(--muted)}@media(max-width:950px){.quick-actions{grid-template-columns:repeat(3,1fr)}}@media(max-width:620px){.alert-grid,.quick-actions{grid-template-columns:1fr}.action-center .panel-head{align-items:flex-start}}
.car-icon{font-size:34px;line-height:1;overflow:hidden}.car-icon.icon-available,.car-icon.icon-generator{background:#dff2e8;color:#267354}.car-icon.icon-in_use{background:#fff0b8;color:#8a6412}.car-icon.icon-maintenance{background:#fae0dc;color:#a8493b}
.generator-standard{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(120deg,#173f36,#285d50);color:#fff}.generator-standard p{margin:4px 0;opacity:.75}.generator-standard>strong{background:#ffffff18;padding:12px 16px;border-radius:10px}
.alert.warning{background:#fff0d8;color:#87581b}.asset-meta{display:block;color:var(--muted);margin:4px 0}.import-stats{margin:0 0 18px}
.return-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:32px}.return-bookings{display:grid;gap:9px;margin-top:15px}.return-choice{display:grid;text-align:left;border:1px solid var(--line);border-radius:10px;background:#f8faf8;padding:12px;color:var(--ink);cursor:pointer}.return-choice:hover{border-color:var(--orange)}.return-choice span,.return-choice small{color:var(--muted)}.report-controls form{display:flex;align-items:end;gap:12px}.report-controls label{min-width:180px}.pdf-button{background:#a83a32;color:#fff}.report-preview{overflow:auto}.report-preview .report-sheet{min-width:900px;padding:18px}@media(max-width:620px){.return-layout{grid-template-columns:1fr}.report-controls form{display:grid}.report-controls label{min-width:0}}
.fuel-stats{grid-template-columns:repeat(3,1fr)}.fuel-type-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fuel-type-switch label{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f7f9f7;cursor:pointer}.fuel-type-switch input{width:auto}.compact-grid{margin-top:0}.compact-grid label{align-content:start}input[readonly]{background:#f2f5f3;font-weight:700}
:root{--ink:#18302b;--green:#173f36;--mint:#d9eee5;--cream:#f5f2e9;--orange:#e9763f;--line:#dde5e0;--white:#fff;--muted:#71807b}*{box-sizing:border-box}body{margin:0;background:#f3f5f2;color:var(--ink);font-family:'Noto Sans Thai',sans-serif}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:var(--green);color:white;padding:28px 20px;display:flex;flex-direction:column;z-index:10}.logo{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:700;margin-bottom:42px}.logo>span,.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--orange);color:white;font-weight:700}.logo small{display:block;font-size:10px;opacity:.65;font-weight:400}.sidebar nav{display:grid;gap:7px}.sidebar nav a{padding:12px 14px;border-radius:10px;color:#d5e4df}.sidebar nav a:hover{background:#295248;color:white}.user-box{margin-top:auto;border-top:1px solid #42655d;padding:20px 10px 0}.user-box small,.user-box a{display:block;font-size:12px;opacity:.7}.user-box a{margin-top:12px;color:#ffd2bd}.content{margin-left:250px;padding:30px 38px;max-width:1600px}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.topbar h1{font-size:28px;margin:0}.eyebrow{margin:0;color:var(--orange);font-size:11px;font-weight:700;letter-spacing:1px}.menu{display:none}.btn{border:0;border-radius:10px;padding:11px 17px;font:inherit;font-weight:600;cursor:pointer;display:inline-block}.btn.primary{background:var(--orange);color:white}.full{width:100%;text-align:center}.hero{border-radius:22px;background:linear-gradient(120deg,#173f36,#285d50);padding:38px 42px;color:white;display:flex;justify-content:space-between;align-items:end;overflow:hidden;position:relative}.hero:after{content:'';position:absolute;width:330px;height:330px;border:65px solid #fff1;border-radius:50%;right:-80px;top:-150px}.hero h2{font-size:31px;line-height:1.35;margin:13px 0 8px}.hero p{margin:0;color:#c9ddd6}.pill{background:#ffffff17;padding:6px 11px;border-radius:99px;font-size:12px}.hero-action{position:relative;z-index:1;background:var(--cream);color:var(--green);padding:13px 18px;border-radius:10px;font-weight:700}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.stats article,.panel,.vehicle-card{background:white;border:1px solid var(--line);border-radius:16px;padding:22px}.stats span,.stats small{display:block;color:var(--muted);font-size:12px}.stats strong{font-size:32px;margin-right:5px}.stats small{display:inline}.panel{margin:18px 0}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.panel h3,.panel-head h3{margin:0}.panel-head p{margin:2px 0;color:var(--muted);font-size:13px}.panel-head a{color:var(--orange);font-weight:600;font-size:13px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:700px}th{text-align:left;color:var(--muted);font-size:11px;text-transform:uppercase;padding:11px;border-bottom:1px solid var(--line)}td{padding:13px 11px;border-bottom:1px solid #edf0ee;font-size:13px}td small{display:block;color:var(--muted)}.status{display:inline-block;padding:5px 9px;border-radius:99px;font-size:11px;background:#eee}.status.available,.status.approved,.status.completed{background:#dff2e8;color:#267354}.status.in_use,.status.pending{background:#fff0d8;color:#9a641c}.status.maintenance,.status.cancelled{background:#fae0dc;color:#a8493b}.vehicle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.vehicle-card{padding:20px}.vehicle-top{display:flex;justify-content:space-between}.car-icon{background:var(--mint);color:var(--green);width:42px;height:42px;border-radius:12px;display:grid;place-items:center}.vehicle-card h3{font-size:22px;margin:16px 0 0}.vehicle-card>p{color:var(--muted);margin:2px 0}.mileage{background:#f5f7f5;border-radius:10px;padding:13px;margin:16px 0}.mileage small{display:block;color:var(--muted)}.mileage strong{font-size:21px}.mileage em{font-size:11px;font-style:normal}.card-actions{display:flex;gap:14px;font-size:12px;color:var(--orange);font-weight:600}.form-panel summary{font-weight:700;cursor:pointer}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-top:20px}.span-2{grid-column:span 2}label{font-size:12px;font-weight:600;display:grid;gap:6px}input,select,textarea{width:100%;border:1px solid #ccd7d2;border-radius:9px;padding:11px 12px;background:white;font:inherit;color:var(--ink)}textarea{min-height:80px}.inline-form select{padding:6px;width:auto}.mileage-layout{display:grid;grid-template-columns:1fr 1.3fr;gap:32px}.selected-car{margin-top:20px;background:var(--green);color:white;padding:24px;border-radius:14px}.selected-car span,.selected-car small{display:block;opacity:.7}.selected-car strong{font-size:30px;display:block}.record-form{display:grid;gap:12px}.big-input{font-size:28px;font-weight:700}.scan-prompt,.scanner-card,.qr-card{text-align:center}.scan-prompt>div,.scan-icon{font-size:60px;color:var(--orange)}#reader{max-width:560px;margin:20px auto;border:0!important}.qr-card{max-width:540px;margin:20px auto}.qr-card h2{font-size:30px;margin:8px}.qr-card #qrcode{display:flex;justify-content:center;margin:26px}.qr-card code{display:block;overflow-wrap:anywhere;background:#f2f4f2;padding:10px;margin:16px 0;font-size:11px}.alert{padding:12px 16px;border-radius:10px;margin-bottom:16px}.alert.success{background:#dff2e8;color:#236848}.alert.error{background:#fae0dc;color:#9a3d34}.empty{text-align:center;color:var(--muted);padding:40px}.auth-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at top right,#d9eee5,transparent 45%),var(--cream)}.auth-card{width:min(420px,calc(100% - 32px));background:white;padding:36px;border-radius:22px;box-shadow:0 20px 60px #173f3620}.auth-card .brand-mark{margin:auto}.auth-card h1{text-align:center;margin:18px 0 3px}.auth-card .muted{text-align:center}.muted{color:var(--muted)}.auth-card form{display:grid;gap:15px;margin-top:25px}.setup-link{display:block;text-align:center;color:var(--muted);font-size:12px;margin-top:20px}
@media(max-width:950px){.sidebar{transform:translateX(-100%);transition:.2s}.nav-open .sidebar{transform:none}.content{margin-left:0;padding:22px}.menu{display:block;border:0;background:transparent;font-size:24px}.stats{grid-template-columns:repeat(2,1fr)}.vehicle-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.content{padding:16px}.topbar .btn{display:none}.hero{padding:28px 22px}.hero h2{font-size:24px}.hero-action{display:none}.stats,.vehicle-grid,.form-grid,.mileage-layout{grid-template-columns:1fr}.span-2{grid-column:auto}.stats article{padding:16px}.topbar h1{font-size:22px}}@media print{.sidebar,.topbar,.qr-help,.qr-card .btn{display:none}.content{margin:0}.qr-card{border:0;margin:auto}}
