@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;src:url('/static/fonts/Manrope.ttf') format('truetype');font-display:swap}
.balance-stats .stat-value{font-size:clamp(19px,2.6vw,28px);overflow-wrap:anywhere}.template-editor:focus{outline:2px solid #b7cf94;outline-offset:1px}
[hidden]{display:none!important}.status-badge.returned{background:#f0f2ee;color:#8b978b}.status-badge.scheduled{background:#eaf2f0;color:#5e8a7b}.car-table tr:focus-visible{outline:3px solid #95be60;outline-offset:-3px}.card .form-help{margin-bottom:16px}
.date-filter input[type="datetime-local"]{max-width:210px;font-size:11px;min-width:185px}.date-filter{flex-wrap:wrap}.drawer .date-filter{font-size:11px}
:root{--bg:#f5f5f0;--surface:#fff;--ink:#22312f;--muted:#7b8682;--line:#e6e9e1;--teal:#173a38;--teal-light:#eaf2ed;--lime:#d7ee9b;--orange:#b77624;--orange-bg:#fff4e1;--red:#b34343;--red-bg:#fff0ef;--radius:16px;--shadow:0 18px 60px rgba(17,43,39,.12)}*{box-sizing:border-box}body{margin:0;font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #95be60;outline-offset:3px}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1.1px;font-weight:800;line-height:1.3}h2{font-size:18px;letter-spacing:-.4px;font-weight:800}h3{font-size:15px;font-weight:800}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:var(--teal);color:#c9d8d0;padding:30px 20px;display:flex;flex-direction:column;z-index:25}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:23px;color:white;letter-spacing:-.8px}.brand-mark{width:35px;height:35px;display:grid;place-items:center;border-radius:11px;background:var(--lime);color:var(--teal);font-size:31px;line-height:1;letter-spacing:-4px;padding-right:4px}.brand-suffix{color:#a4bdad;font-size:13px;letter-spacing:-.1px;font-weight:600}.park-switch{margin:35px 1px 30px;padding:18px 14px;background:#244745;border:1px solid #3d5954;border-radius:12px}.park-switch .eyebrow{color:#97b0a4;font-size:8px;letter-spacing:1px}.park-switch strong{display:block;color:#f2f7ee;margin-top:7px;font-size:15px}.park-location{font-size:10px;display:block;margin-top:4px;color:#a3bbaf}nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;text-align:left;background:none;color:#b5cbbf;padding:12px 15px;border-radius:10px;font-weight:650;width:100%;font-size:13px}.nav-item svg{width:19px;height:19px;flex-shrink:0;opacity:.9}.nav-item:hover{background:#264b46}.nav-item.active{color:#173a38;background:var(--lime);font-weight:800}.nav-count{font-size:10px;background:#365550;padding:1px 6px;border-radius:5px;margin-left:auto;color:#bfd4c8}.active .nav-count{background:#c4dc8c;color:#24403a}.sidebar-bottom{margin-top:auto;padding:24px 7px 0}.sidebar-bottom>a:first-child:not(.signout){display:block;font-size:12px;margin-bottom:18px;color:#c7dfa7}.profile{display:flex;align-items:center;gap:10px;padding-top:17px;border-top:1px solid #3d5650}.avatar{width:34px;height:34px;border-radius:50%;background:#466256;display:grid;place-items:center;color:#dce7d4;font-size:13px;font-weight:750}.profile strong{display:block;color:#e5eee4;font-size:12px;max-width:146px;overflow:hidden;text-overflow:ellipsis}.profile span{display:block;font-size:10px;margin-top:2px;color:#93af9f}.signout{margin-top:15px;font-size:11px;display:flex;justify-content:space-between;color:#94b1a1}.workspace{margin-left:248px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;background:#fcfcf9;border-bottom:1px solid var(--line);gap:15px}.breadcrumb{font-size:11px;color:#94a096}.breadcrumb span{padding:0 11px;color:#c2c9be}.breadcrumb strong{color:#3e4c45;font-weight:650}.topbar-end{display:flex;align-items:center;gap:7px;font-size:10px;color:#808d82}.live-dot{background:#85a96d;width:6px;height:6px;border-radius:50%}.icon-btn{width:32px;height:32px;border-radius:8px;color:#54615a;background:transparent;font-size:21px;display:grid;place-items:center}.icon-btn:hover{background:#e9ede3}.mobile-menu{display:none}.content{padding:35px 38px;max-width:1550px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.page-heading p{color:var(--muted);font-size:12px;margin-top:8px}.heading-actions{display:flex;align-items:center;gap:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:10px 15px;font-size:12px;font-weight:750;line-height:1.5;background:var(--teal);color:white;min-height:39px;white-space:nowrap;border:1px solid transparent}.button:hover{filter:brightness(1.08)}.button svg{width:16px;height:16px}.button.lime{background:var(--lime);color:var(--teal)}.button.secondary{background:#fff;border-color:#dfe5d9;color:#435345}.button.ghost{background:transparent;color:#6a766c}.button.danger{background:var(--red-bg);color:var(--red)}.button.small{padding:6px 10px;min-height:30px;font-size:10px}.button.link{background:none;color:#2d5a43;padding:0;min-height:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:21px 21px 16px;position:relative}.stat-label{display:flex;align-items:center;justify-content:space-between;color:#728074;font-size:11px;font-weight:650;gap:8px}.stat-icon{width:29px;height:29px;background:#f2f5ed;border-radius:9px;display:grid;place-items:center;color:#718561}.stat-icon svg{width:16px;height:16px}.stat-value{font-size:33px;font-weight:800;letter-spacing:-1.2px;margin:6px 0}.stat-sub{font-size:10px;color:#8c978a}.stat.accent{background:var(--teal);border-color:var(--teal);color:white}.stat.accent .stat-label,.stat.accent .stat-sub{color:#b9cdbb}.stat.accent .stat-icon{background:#325345;color:#c9e69b}.stat.accent .stat-value{color:#d7ee9b}.section-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}.panel{border-radius:var(--radius);background:#fff;border:1px solid var(--line);overflow:hidden;margin-bottom:20px}.panel-header{padding:20px 23px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.panel-header p{font-size:10px;color:#8b978b;margin-top:5px}.panel-body{padding:20px 23px}.panel-tag{color:#7d8b71;font-size:10px;font-weight:700;background:#f0f4e8;padding:4px 8px;border-radius:6px;white-space:nowrap}.tabs{display:flex;gap:5px;align-items:center}.tab{border-radius:7px;padding:7px 12px;background:none;font-size:11px;color:#7e8a7c;white-space:nowrap}.tab.active{background:#edf2e7;color:#3c5030;font-weight:800}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{background:#fbfcf8;color:#8c9787;font-size:9px;letter-spacing:.55px;text-transform:uppercase;padding:12px 21px;font-weight:750;white-space:nowrap}td{padding:17px 21px;border-bottom:1px solid #edf0e7;font-size:11px;vertical-align:middle}tbody tr:last-child td{border:0}tr.clickable{cursor:pointer}tr.clickable:hover{background:#f9fbf4}.car-cell{display:flex;align-items:center;gap:12px;min-width:170px}.car-icon{width:45px;height:37px;background:#f0f3ed;border-radius:10px;display:grid;place-items:center;color:#6f8267}.car-icon svg{width:29px;height:29px}.car-cell strong{font-weight:800;font-size:12px;display:block}.plate{font-size:10px;display:inline-block;color:#6e7b68;letter-spacing:.5px;margin-top:3px;font-weight:650}.status-badge{font-size:9px;font-weight:750;display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;white-space:nowrap}.status-badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.status-badge.available{background:#fff2db;color:#af7a2b}.status-badge.rented,.status-badge.completed,.status-badge.active{background:#edf4e8;color:#66814d}.status-badge.maintenance,.status-badge.overdue{background:#fff0eb;color:#ba7350}.status-badge.archived,.status-badge.draft,.status-badge.closed,.status-badge.resolved{background:#f0f2ee;color:#8b978b}.driver-name{font-weight:750;display:block;white-space:nowrap;font-size:11px}.driver-phone{font-size:9px;color:#9aa493;display:block;margin-top:3px}.arrow{color:#90a27c;font-size:16px}.search-toolbar{padding:15px 21px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center;flex-wrap:wrap}.search-box{display:flex;align-items:center;gap:10px;background:#f7f9f3;border:1px solid #e4e9dc;border-radius:8px;flex:1;min-width:220px;padding:0 11px}.search-box svg{width:16px;color:#8e9a83}.search-box input{border:0;background:none;padding:10px 0;width:100%;font-size:11px;outline:none}.filter-select{border:1px solid #e1e7d9;background:#fff;border-radius:8px;padding:9px 10px;font-size:11px;color:#75816d;max-width:210px}.date-filter{display:flex;align-items:center;gap:7px;color:#87947a;font-size:10px}.date-filter input{border:1px solid #e1e7d9;border-radius:8px;padding:8px;font-size:10px;color:#546349;max-width:140px}.hint-bar{padding:11px 21px;background:#f7faef;font-size:10px;color:#7d8c66;display:flex;align-items:center;gap:7px}.empty{padding:47px 24px;text-align:center}.empty-icon{background:#eff4e8;border-radius:18px;width:59px;height:59px;margin:0 auto 16px;display:grid;place-items:center;color:#93a479}.empty-icon svg{width:29px;height:29px}.empty h3{font-size:14px;margin-bottom:7px}.empty p{max-width:380px;margin:0 auto 18px;font-size:11px;color:#8b9785}.empty.compact{padding:27px 20px}.empty.compact .empty-icon{display:none}.note-card{border-radius:15px;background:#eaf0df;padding:21px;margin-bottom:20px}.note-card .eyebrow{font-size:8px;color:#8c9d75;margin-bottom:12px}.note-card h3{font-size:17px;letter-spacing:-.4px;line-height:1.4;margin-bottom:9px}.note-card p{font-size:11px;color:#7b8b65;line-height:1.7}.note-card .button{margin-top:18px}.activity-item{padding:14px 0;display:flex;gap:12px;border-bottom:1px solid #edf0e7}.activity-item:last-child{border:0}.activity-dot{width:27px;height:27px;border-radius:9px;background:#edf4e6;color:#7e956a;display:grid;place-items:center;flex-shrink:0;font-size:12px}.activity-item strong{display:block;font-size:10px;line-height:1.7;font-weight:750}.activity-item p{font-size:9px;color:#98a18f;margin-top:3px;overflow-wrap:anywhere}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 13px}.section-heading h2{font-size:14px}.workspace-footer{display:flex;justify-content:space-between;font-size:9px;color:#a0aa98;padding:14px 38px 22px}.loading{display:flex;align-items:center;justify-content:center;gap:10px;padding:70px;color:#86947b}.spinner{width:20px;height:20px;border:2px solid #dae5ce;border-top-color:#6a8c4a;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.toast{position:fixed;left:calc(50% + 124px);bottom:25px;transform:translate(-50%,12px);background:#173a38;color:white;box-shadow:var(--shadow);padding:13px 21px;border-radius:10px;z-index:120;opacity:0;pointer-events:none;transition:.2s;font-size:12px;max-width:calc(100vw - 35px)}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#a13c3c}.drawer-backdrop{position:fixed;inset:0;background:#15362c55;z-index:45;backdrop-filter:blur(2px)}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(640px,100vw);background:var(--bg);box-shadow:var(--shadow);z-index:46;display:flex;flex-direction:column}.drawer-header{padding:24px 27px;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);background:white}.drawer-header h2{font-size:24px}.drawer-header .plate{font-size:12px}.drawer-body{padding:25px 27px;overflow:auto;flex:1}.drawer-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 20px}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;padding:20px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:20px}.detail-grid dt{color:#94a084;font-size:10px;margin-bottom:5px}.detail-grid dd{margin:0;font-size:12px;font-weight:750}.damage-item{border:1px solid #efded0;background:#fffbf3;border-radius:10px;padding:13px;margin-bottom:10px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.damage-item strong{font-size:11px}.damage-item p{font-size:11px;color:#8f7d64;margin:4px 0}.damage-item small{color:#b39e7e;font-size:9px}.timeline{border-left:1px solid #dce5d1;margin-left:6px;padding-left:22px}.timeline-item{position:relative;padding-bottom:20px}.timeline-item:before{content:"";width:7px;height:7px;border:3px solid var(--bg);background:#9ab879;border-radius:50%;position:absolute;left:-29px;top:3px}.timeline-item strong{font-size:11px}.timeline-item p{font-size:10px;color:#89947f;margin-top:3px}.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.photo-grid a{border-radius:8px;overflow:hidden;background:#eaf0e1;display:block}.photo-grid img{display:block;width:100%;height:76px;object-fit:cover}.photo-grid span{display:block;padding:6px;font-size:8px}.rental-card{padding:17px;background:white;border:1px solid var(--line);border-radius:11px;margin-bottom:12px}.rental-card-header{display:flex;justify-content:space-between;gap:10px;margin-bottom:11px}.rental-card h3{font-size:12px}.rental-card p{font-size:10px;color:#8d9981;margin-top:3px}.rental-card .detail-grid{padding:13px;background:#f8faf4;border:0;margin:12px 0;gap:10px}.rental-card .button{margin-top:4px}.payment-row{display:flex;align-items:center;justify-content:space-between;font-size:10px;padding:9px 0;border-bottom:1px solid #edf0e7;gap:10px}.payment-row:last-child{border:0}.deposit-progress{height:5px;background:#e9eedf;border-radius:3px;margin:10px 0}.deposit-progress span{height:100%;display:block;background:#b9d28c;border-radius:3px;max-width:100%}.money{white-space:nowrap;font-weight:750}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1 / -1}.field label{font-size:11px;color:#69775d;font-weight:750}.field small{font-size:9px;color:#98a48a}.field input,.field textarea,.field select{width:100%;border:1px solid #dce4d2;border-radius:8px;padding:11px 12px;background:white;color:#30402b;font-size:12px;min-height:41px}.field textarea{min-height:92px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#95b674}.form-section{font-size:12px;font-weight:800;margin:22px 0 12px;border-top:1px solid var(--line);padding-top:17px}.form-error{color:#b34343;background:#fff1ef;border-radius:8px;padding:10px;font-size:11px;margin-top:15px;display:none}.form-error:not(:empty){display:block}.form-help{font-size:10px;color:#8a987c;line-height:1.75;margin:12px 0}.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}dialog{border:0;padding:0;border-radius:18px;width:min(590px,calc(100vw - 26px));max-height:90vh;background:var(--bg);box-shadow:var(--shadow);color:var(--ink)}dialog::backdrop{background:#13352c66;backdrop-filter:blur(3px)}.modal-header{padding:22px 26px;display:flex;align-items:flex-start;justify-content:space-between;background:white;border-bottom:1px solid var(--line)}.modal-header h2{font-size:20px}.modal-header p{font-size:11px;color:#8b987e;margin-top:5px}.modal-body{padding:23px 26px}.wizard-progress{display:flex;align-items:center;gap:5px;margin-bottom:17px}.wizard-progress span{flex:1;height:4px;background:#e1e7d7;border-radius:2px}.wizard-progress .done{background:#7d9c57}.wizard-progress .current{background:#c5df96}.wizard-meta{display:flex;justify-content:space-between;color:#9aa78d;font-size:10px;margin-bottom:15px}.comparison{border:1px solid #e1e7d8;border-radius:12px;overflow:hidden;background:white}.comparison-label{padding:12px 15px;font-size:10px;background:#f7faf0;color:#7c8d68;display:flex;justify-content:space-between}.comparison img{display:block;max-height:290px;width:100%;object-fit:contain;background:#edf2e4}.comparison-empty{padding:35px 20px;text-align:center;color:#9aa88a;font-size:11px;min-height:140px;display:grid;place-items:center}.camera-upload{display:grid;place-items:center;padding:25px;background:#f4f8ed;border:2px dashed #ccdabc;border-radius:12px;text-align:center;cursor:pointer;min-height:170px;color:#728960;gap:12px}.camera-upload svg{width:40px;height:40px}.camera-upload strong{display:block;font-size:14px}.camera-upload span{font-size:10px;color:#98a988}.camera-upload input{max-width:100%;font-size:11px}.wizard-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px}.wizard-photos img{width:100%;height:64px;object-fit:cover;border-radius:6px}.wizard-photos span{font-size:8px;color:#8b9b79;display:block;text-align:center}.notice{padding:13px 15px;border-radius:9px;font-size:11px;line-height:1.8;background:#edf4e3;color:#6a8151;margin-bottom:18px}.notice.warning{background:#fff4df;color:#ab813c}.check-row{display:flex;align-items:center;gap:8px;font-size:11px;color:#79896a}.check-row input{width:16px;height:16px}.documents a{display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line);font-size:11px}.documents a:last-child{border:0}.staff-role{display:block;font-size:9px;margin-top:4px;color:#8d9c80}.error-page{padding:40px;background:#fff3ef;border-radius:15px;border:1px solid #efdbd3}.error-page h2{color:#a45f49}.error-page p{color:#a17d6c;margin:10px 0 20px}.audit-code{color:#6a8554;font-size:10px}.nowrap{white-space:nowrap}.nowrap-input{display:flex;gap:8px}.nowrap-input input{flex:1}.auth-body{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fafbf6}.auth-visual{background:var(--teal);color:#dcebd6;position:relative;overflow:hidden;padding:50px;display:flex;flex-direction:column;justify-content:space-between}.auth-visual:after{content:"";width:500px;height:500px;border:1px solid #547359;border-radius:50%;position:absolute;right:-250px;bottom:-200px;box-shadow:0 0 0 70px #44654922,0 0 0 140px #44654911}.auth-copy{max-width:440px;z-index:1}.auth-copy .eyebrow{color:#a3bf89;margin-bottom:22px}.auth-copy h1{font-size:47px;line-height:1.2;letter-spacing:-2px;color:#eaf3e2}.auth-copy h1 span{color:var(--lime)}.auth-copy p{font-size:13px;line-height:1.9;color:#b1c5a8;margin-top:23px;max-width:370px}.auth-note{color:#8dac84;font-size:11px}.auth-main{display:grid;place-items:center;padding:35px}.auth-card{width:100%;max-width:370px}.auth-card .eyebrow{color:#829c65;margin-bottom:12px}.auth-card h1{font-size:29px}.auth-card>p{font-size:12px;color:#8c9981;margin:10px 0 26px}.auth-card .field{margin-bottom:17px}.auth-card .button{width:100%;padding:13px}.auth-tabs{display:flex;background:#edf2e6;border-radius:8px;padding:4px;margin:20px 0}.auth-tabs button{flex:1;padding:9px;border-radius:6px;background:none;color:#80926b;font-size:11px;font-weight:750}.auth-tabs button.active{background:white;color:#3b5631;box-shadow:0 1px 4px #2434160c}.auth-foot{font-size:10px;color:#a2ae96;text-align:center;margin-top:26px}.auth-mobile-brand{display:none}.admin-top{background:var(--teal);color:#e3efd8;padding:21px 0}.admin-wrap{max-width:1400px;padding:0 35px;margin:0 auto}.admin-top .admin-wrap{display:flex;justify-content:space-between;align-items:center}.admin-top-links{display:flex;align-items:center;gap:20px;font-size:11px;color:#b9cda9}.admin-content{padding-top:35px;padding-bottom:40px}.admin-title{margin-bottom:27px}.admin-title p{font-size:12px;margin-top:8px;color:#8d9a7e}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:22px}.admin-settings{display:grid;grid-template-columns:1fr 1fr;gap:20px}.admin-content .row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.admin-content label{display:block;font-size:11px;color:#7a8b66;font-weight:700;margin-bottom:7px}.admin-content input,.admin-content select{width:100%;background:#fcfdf9;border:1px solid #dfe7d6;border-radius:8px;padding:10px 11px;font:inherit;font-size:12px;color:#3b502e}.admin-content .row input{margin-bottom:10px}.admin-content .card{padding:24px;background:white;border:1px solid var(--line);border-radius:16px;margin-bottom:20px}.admin-content .card h2{margin-bottom:8px}.admin-content .card>p{font-size:11px;color:#8e9e7d;margin-bottom:20px}.admin-content .btn{display:inline-flex;border:0;border-radius:7px;padding:7px 10px;font-size:10px;font-weight:750;color:#536842;background:#eef3e6;cursor:pointer;text-decoration:none;margin:2px;white-space:nowrap}.admin-content .btn.primary,.admin-content .btn.approve{background:var(--teal);color:white;padding:10px 15px}.admin-content .btn.park-entry{background:var(--lime);color:#344c23;padding:9px 13px;font-size:11px}.admin-content .btn.block{color:#a67d42;background:#fff4e3}.admin-content .btn.delete{color:#b87563;background:#fff0e9}.admin-content .status{font-size:9px;padding:5px 8px;border-radius:6px;background:#f0f3ea;color:#859477;white-space:nowrap;font-weight:750}.admin-content .status.approved{color:#65814e;background:#edf5e5}.admin-content .status.blocked{color:#b47a5e;background:#fff1e8}.admin-content .status.pending{color:#ae914c;background:#fff8e0}.admin-content .status.trial{color:#739078;background:#edf6ef}.admin-content td{padding:15px 16px}.admin-content th{padding:13px 16px}.admin-content .muted{font-size:10px;color:#98a88a}.admin-content details>summary{cursor:pointer;font-weight:800;font-size:14px;color:#5d7647}.admin-content details[open]>summary{margin-bottom:20px}.admin-actions{display:flex;gap:4px;flex-wrap:wrap}.admin-empty{padding:35px;text-align:center;font-size:12px;color:#94a780}.subheading{margin:28px 0 15px}.form-inline{display:flex;gap:10px;align-items:flex-end}.form-inline>div{flex:1}.form-inline .btn{margin-bottom:0}.admin-search{margin:0 0 16px}.park-number{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;background:#eef3e5;color:#88a170;font-weight:800;float:left;margin-right:10px}.admin-park-name{font-size:12px;font-weight:800}.file-name{max-width:500px;overflow-wrap:anywhere}.text-warn{color:#b58745}.badge-number{background:#eef3e5;border-radius:5px;padding:2px 5px;margin-left:5px;font-size:9px}.quick-start{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quick-start button{border:1px solid var(--line);background:#fff;padding:17px;text-align:left;border-radius:12px;color:#667d4e}.quick-start svg{width:23px;margin-bottom:8px}.quick-start strong{display:block;font-size:12px}.quick-start span{font-size:10px;color:#92a07f;margin-top:4px;display:block}
@media(min-width:1600px){.content{padding-top:42px}.stat{padding:25px}.stat-value{font-size:39px}.section-grid{grid-template-columns:minmax(0,1fr) 330px}td{padding-top:20px;padding-bottom:20px}}
@media(max-width:1200px){.sidebar{width:220px;padding:28px 15px}.workspace{margin-left:220px}.content{padding:28px}.topbar{padding:0 28px}.section-grid{grid-template-columns:minmax(0,1fr) 255px}td,th{padding-left:15px;padding-right:15px}.stat{padding:16px}.stat-label{font-size:10px}.toast{left:calc(50% + 110px)}.admin-content .row{grid-template-columns:repeat(2,1fr)}}
@media(max-width:1020px){.section-grid{grid-template-columns:1fr}.side-panels{display:grid;grid-template-columns:1fr 1fr;gap:15px}.stats{gap:10px}.stat{padding:16px 13px}.stat-value{font-size:28px}.stat-icon{display:none}.page-heading{align-items:flex-start}.page-heading h1{font-size:26px}.auth-copy h1{font-size:36px}.auth-visual{padding:35px}.admin-settings{grid-template-columns:1fr}.admin-wrap{padding:0 24px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:248px;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.workspace{margin:0}.mobile-menu{display:grid}.topbar{height:58px;padding:0 18px}.topbar-end span:not(.live-dot){display:none}.breadcrumb{margin-right:auto}.content{padding:24px 17px}.workspace-footer{padding:12px 18px 20px}.stats{grid-template-columns:repeat(2,1fr)}.stat-value{font-size:29px}.stat-icon{display:grid}.page-heading{flex-wrap:wrap;gap:15px;margin-bottom:20px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.heading-actions{width:100%}.heading-actions .button{flex:1}.panel-header{padding:17px}.panel-header h2{font-size:16px}.search-toolbar{padding:12px 15px;gap:9px}.search-box{min-width:100%;flex-basis:100%}.filter-select{max-width:none;flex:1}.tabs{overflow:auto;max-width:100%}.hint-bar{padding:10px 15px}.panel-body{padding:17px}.side-panels{grid-template-columns:1fr}.toast{left:50%}.drawer-header{padding:20px}.drawer-body{padding:20px}.form-grid{gap:13px}.form-grid .field{grid-column:1 / -1}.modal-header{padding:18px}.modal-body{padding:19px}.modal-header h2{font-size:18px}.auth-body{display:block}.auth-visual{display:none}.auth-main{min-height:100vh;padding:28px}.auth-mobile-brand{display:block;margin-bottom:40px}.auth-mobile-brand .brand{color:var(--teal)}.auth-mobile-brand .brand-suffix{color:#8d9e7e}.admin-wrap{padding:0 17px}.admin-top .brand{font-size:21px}.admin-top-links{gap:12px;font-size:10px}.admin-stats{grid-template-columns:repeat(2,1fr);gap:10px}.admin-content .row{grid-template-columns:1fr}.admin-content .card{padding:19px}.admin-content h1{font-size:25px}.form-inline{flex-direction:column;align-items:stretch}.admin-title{margin-bottom:22px}.quick-start{grid-template-columns:1fr}.quick-start button{display:grid;grid-template-columns:30px 1fr;column-gap:12px;padding:14px}.quick-start button svg{grid-row:1 / 3}.quick-start button span{margin:0}.photo-grid{grid-template-columns:repeat(2,1fr)}}
/* Operational text stays readable in busy tables and on phones. */
td{font-size:12px}.car-cell strong{font-size:13px}.driver-name{font-size:12px}.driver-phone{font-size:10px}.status-badge{font-size:10px}.stat-label{font-size:12px}.stat-sub{font-size:11px}.field label{font-size:12px}.search-box input{font-size:12px}.filter-select{font-size:12px}.plate{font-size:11px}.rental-card p{font-size:11px}.detail-grid dt{font-size:11px}.detail-grid dd{font-size:13px}.activity-item strong{font-size:11px}.activity-item p{font-size:10px}.audit-details{font-size:10px;color:#889879;margin-top:5px;max-width:100%;overflow-wrap:anywhere}.audit-details summary{cursor:pointer;color:#64834c}.audit-details p{font-size:10px}.nav-item{font-size:13px}
@media(max-width:760px){.fleet-table{overflow:visible}.car-table thead{display:none}.car-table tbody{display:block}.car-table tr{display:grid;grid-template-columns:1fr 1fr;gap:12px 15px;padding:18px;border-bottom:1px solid var(--line);position:relative}.car-table td{display:block;padding:0;border:0;font-size:12px}.car-table td:first-child{grid-column:1 / -1;padding-right:25px}.car-table td:last-child{position:absolute;right:20px;top:22px}.car-table td:nth-child(3){grid-column:1 / -1;grid-row:3}.car-table td:nth-child(2){grid-column:1 / -1;grid-row:2}.car-table td:nth-child(4),.car-table td:nth-child(5){grid-row:4}.car-table td[data-label]:before{content:attr(data-label);display:block;font-size:10px;color:#97a389;margin-bottom:3px}.car-table td:nth-child(2):before{display:none}.car-table .car-cell strong{font-size:15px}.car-table .plate{font-size:12px}.car-table .driver-name{font-size:13px;white-space:normal}.car-table .driver-phone{font-size:11px}.car-table .status-badge{font-size:11px}.car-table .car-icon{width:49px;height:44px}.car-table tr:last-child{border:0}.field label{font-size:12px}.button{font-size:12px}.payment-row{font-size:12px}.comparison-label{font-size:11px}.wizard-meta{font-size:11px}.auth-tabs button{font-size:12px}.stat-label{font-size:11px}}
@media(max-width:760px){.heading-actions{flex-wrap:wrap}.heading-actions .button{flex:1 1 155px;max-width:100%}.search-box input{min-width:0}.date-filter{max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

@media(min-width:761px) and (max-width:1450px){.section-grid{grid-template-columns:minmax(0,1fr)}.side-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}}
.combo-field{position:relative}.combo-label{display:flex;align-items:center;justify-content:space-between;gap:10px}.combo-label .button{font-size:11px}.combo-input-wrap{display:flex;gap:10px;align-items:center;border:1px solid #dce4d2;background:white;border-radius:9px;padding:0 12px}.combo-input-wrap svg{width:18px;height:18px;color:#91a379;flex-shrink:0}.combo-input-wrap input{border:0;padding-left:0;min-width:0;background:transparent}.combo-results{background:white;border:1px solid #dfe7d7;border-radius:10px;overflow:auto;max-height:235px;box-shadow:0 8px 22px #2335150c}.combo-option{display:block;width:100%;text-align:left;background:white;padding:12px 14px;border-bottom:1px solid #edf1e7;line-height:1.6}.combo-option:last-child{border:0}.combo-option:hover,.combo-option.highlighted{background:#f0f6e6}.combo-option:disabled{opacity:.65;cursor:not-allowed}.combo-option-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;font-weight:750;color:#3b5030}.combo-option-detail{display:block;font-size:11px;color:#8b9b7a;margin-top:3px}.combo-unavailable{display:block;color:#b38d56;font-size:10px;margin-top:4px}.combo-empty{padding:15px;font-size:11px;color:#8c9e78}.combo-selected{font-size:11px;color:#85966e;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.source-badge{font-size:9px;color:#978847;background:#fff5d7;border-radius:5px;padding:2px 5px;font-weight:750}.source-badge.local{background:#edf4e4;color:#7e985e}.duplicate-suggestions{grid-column:1/-1}.duplicate-suggestions:empty{display:none}.duplicate-suggestions .notice{margin:0}.duplicate-option{background:white;display:block;width:100%;border-radius:8px;padding:10px 12px;text-align:left;margin-top:8px}.duplicate-option strong{display:block;font-size:12px;color:#566744}.duplicate-option span{display:block;font-size:10px;color:#91a276;margin:3px 0}.duplicate-option b{font-size:10px;color:#819954}.autofilled-field{border-color:#9ebd79!important;background:#f7fbf0!important}.missing-field{border-color:#d8b986!important;background:#fffcf6!important}.missing-hint{font-size:10px;color:#b29258}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.integration-card{padding:18px;border:1px solid var(--line);border-radius:12px;background:#fbfcf8}.integration-card h3{font-size:13px}.integration-card p{font-size:11px;color:#93a180;margin-top:5px}.integration-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.balance{font-weight:800;white-space:nowrap}.balance.low{color:#b35e47}.balance.unknown{color:#9aab88;font-weight:600}.balance-meta{font-size:9px;color:#a6b296}.settings-section-title{font-size:14px;margin:24px 0 12px}.template-editor{width:100%;min-height:320px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;font-size:12px!important;line-height:1.7;tab-size:2}.template-tokens{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.template-token{background:#eaf1df;color:#7a915d;font-size:9px;padding:5px 7px;border-radius:5px;font-family:ui-monospace,Consolas,monospace}.integration-status{display:flex;align-items:center;gap:8px;margin:10px 0}.alert-recipient{border:1px solid var(--line);padding:12px;border-radius:10px;margin-bottom:10px;background:white}.alert-config-notice{font-size:11px;color:#a18c66;background:#fff7e8;border-radius:8px;padding:12px;margin:12px 0}.form-grid>.notice{grid-column:1/-1}.settings-tabs{display:flex;gap:8px;overflow:auto;margin-bottom:20px}.settings-tabs .tab{font-size:12px;background:#fff;border:1px solid var(--line)}.settings-tabs .tab.active{background:#eaf2dc;color:#627d43}.integration-card .check-row{margin-top:12px}.remote-search-state{font-size:10px;color:#90a875;padding:9px 14px;border-top:1px solid #edf1e7}.remote-source-list{margin-top:12px}.pdf-link{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
@media(max-width:760px){.integration-grid{grid-template-columns:1fr}.combo-label{align-items:flex-start;flex-wrap:wrap}.combo-option-title{font-size:13px}.combo-option-detail{font-size:11px}.combo-label .button{font-size:11px}.combo-results{max-height:210px}.template-editor{min-height:260px}.integration-card-actions>.button{flex:1}.balance{font-size:13px}}
.new-entity-search .form-help{margin:0 0 8px}.new-entity-search #new-entity-results{max-height:300px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.new-entity-search #new-entity-results:empty,#dispatch-choice:empty{display:none}.new-entity-search .combo-option{width:100%;border-bottom:1px solid var(--line)}.new-entity-search .combo-option:last-child{border-bottom:0}#dispatch-pair{max-width:100%;text-overflow:ellipsis}.new-entity-search .source-badge{white-space:normal}
@media(max-width:760px){.new-entity-search #new-entity-results{max-height:240px}.new-entity-search .combo-option-title{flex-wrap:wrap}}
.balance.negative{color:#b35e47}.balance-meta.stale{color:#a1824e}.source-badge.inactive{background:#f0f1ed;color:#92998d}.historical-balance{font-size:11px;white-space:normal;display:block;max-width:160px}.negative-panel .panel-header{flex-wrap:wrap;padding:18px}.negative-panel .panel-body{padding:18px}.negative-panel .panel-tag{font-size:9px}.negative-stats{display:grid;grid-template-columns:70px minmax(0,1fr);gap:14px;padding-bottom:14px}.negative-stats span{display:block;font-size:10px;color:var(--muted)}.negative-stats strong{display:block;font-size:23px;color:var(--teal);font-weight:800;letter-spacing:-.6px;overflow-wrap:anywhere}.negative-driver{display:flex;width:100%;align-items:flex-start;justify-content:space-between;gap:10px;padding:10px 0;text-align:left;border-bottom:1px solid var(--line);background:transparent}.negative-driver span{min-width:0}.negative-driver strong{display:block;font-size:11px}.negative-driver small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.negative-driver b{font-size:12px;color:#b35e47;white-space:nowrap}.negative-panel .button{margin-top:14px}.car-table.has-balances th,.car-table.has-balances td{padding-left:14px;padding-right:14px}.occupancy-notice{margin-bottom:18px}.occupancy-notice p{margin-top:8px}.occupancy-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
@media(max-width:760px){.car-table.has-balances td{padding:0}.car-table.has-balances td:nth-child(4){grid-column:1 / -1;grid-row:4}.car-table.has-balances td:nth-child(5),.car-table.has-balances td:nth-child(6){grid-column:auto;grid-row:5}.car-table.has-balances td:last-child{grid-row:auto}.negative-stats strong{font-size:27px}.historical-balance{max-width:none}.occupancy-actions .button{flex:1}}
.gallery-loading{padding:24px 4px;font-size:12px;color:var(--muted)}.gallery-group{padding:18px 0;border-bottom:1px solid var(--line)}.gallery-group:last-child{border:0}.gallery-group-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px;flex-wrap:wrap}.gallery-group-heading h3{font-size:13px}.gallery-group-heading p{font-size:11px;color:var(--muted);margin-top:4px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gallery-thumb{padding:0;background:#f4f7ee;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;min-width:0;text-align:left;border:1px solid var(--line)}.gallery-thumb img{width:100%;aspect-ratio:1 / 1;object-fit:cover;background:#e8edde;display:block}.gallery-thumb span{display:block;padding:8px 9px;color:#7b8d67;font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%}.gallery-thumb:hover{box-shadow:0 6px 18px #173a3822}.driver-photo-tabs{margin:18px 0}.photo-viewer{padding:0;border:0;border-radius:16px;width:min(1060px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);background:#102c2b;color:#e8f1e7;box-shadow:0 24px 100px #0006}.photo-viewer::backdrop{background:#061b1bec}.photo-viewer-header{padding:16px 20px;display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.photo-viewer-header h2{font-size:16px;overflow-wrap:anywhere}.photo-viewer-header p{font-size:11px;color:#a6bca8;margin-top:5px}.photo-viewer-header .icon-btn{background:#294641;color:#e7f1dc;width:44px;height:44px;flex-shrink:0}.photo-viewer-stage{height:min(70dvh,760px);min-height:180px;position:relative;display:flex;align-items:center;justify-content:center;background:#092120;padding:6px;overflow:hidden}.photo-viewer-stage #photo-load-state{position:absolute;z-index:1;text-align:center;max-width:360px;padding:20px;font-size:13px;color:#b3c7ab}.photo-viewer-stage img{max-width:100%;max-height:100%;object-fit:contain;opacity:0}.photo-viewer-stage img.loaded{opacity:1}.photo-viewer-controls{padding:13px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#b3c8a4}.photo-viewer-controls .button{min-height:44px}.drawer .tabs{overflow-x:auto}.drawer .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:600px){.gallery-grid,.drawer .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-viewer{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:12px}.photo-viewer-header{padding:12px}.photo-viewer-stage{height:calc(100dvh - 170px)}.photo-viewer-controls{padding:12px 8px;gap:6px}.photo-viewer-controls .button{padding:8px 10px;font-size:10px}.photo-viewer-header h2{font-size:14px}}
.rent-charge{margin-top:8px;padding:7px 8px;border-radius:7px;max-width:260px;font-size:10px;line-height:1.5}.rent-charge strong,.rent-charge small{display:block}.rent-charge strong{font-size:10px;font-weight:750}.rent-charge small{font-size:9px;margin-top:3px;white-space:normal}.rent-charge.observed{background:#eef6e6;color:#729454}.rent-charge.missing{background:#fff0eb;color:#b0704f}.rent-charge.neutral{background:#f3f5ef;color:#9ba98a}.driver-financial{margin:17px 0;padding:15px;background:#fafcf5;border:1px solid var(--line);border-radius:11px}.weekday-options{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:#7d906b}.weekday-options label{display:flex;align-items:center;gap:5px}.weekday-options input{width:auto}.sidebar{overflow-y:auto}.sidebar nav{flex-shrink:0}
.charge-range{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:14px 0}.charge-range label{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1 1 135px;color:var(--muted);font-size:12px}.charge-range input{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;background:#fff;padding:10px;color:var(--ink)}.charge-range .button{min-height:43px}.charge-total{border:1px solid #dfe9d3;background:#f3f8e9;padding:17px;border-radius:12px;margin:18px 0 12px}.charge-total span,.charge-total small{display:block;color:#859574;font-size:11px}.charge-total strong{display:block;font-size:28px;font-weight:800;letter-spacing:-.7px;color:var(--teal);margin:5px 0}.charge-total small{font-size:10px}.charge-group{border:1px solid var(--line);border-radius:12px;padding:16px;margin:14px 0}.charge-group-total{font-size:17px;color:var(--teal);white-space:nowrap}.charge-transactions{border-top:1px solid var(--line);margin-top:13px}.charge-transaction{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.charge-transaction:last-child{border:0;padding-bottom:0}.charge-transaction>div{min-width:0}.charge-transaction time{display:block;color:#819374;font-size:11px}.charge-transaction span{display:block;font-size:12px;margin-top:4px;overflow-wrap:anywhere}.charge-transaction>strong{font-size:13px;white-space:nowrap}.charge-payroll-note{margin-top:18px}.car-charges .notice p{margin-top:7px;font-size:12px;overflow-wrap:anywhere}
@media(max-width:600px){.charge-range .button{flex:1 1 100%}.charge-group{padding:13px}.charge-total strong{font-size:26px}.charge-transaction{gap:10px}.charge-transaction>strong{font-size:12px}.charge-transaction time{font-size:10px}.charge-group-total{font-size:15px}}
.rent-charge{padding:0;font-size:11px;border:1px solid transparent}.rent-charge.observed{background:#eaf7ee;color:#226b39;border-color:#c3e2cb}.rent-charge.missing{background:#fff0ee;color:#b42318;border-color:#efc3bc}.rent-charge.neutral{background:#f3f5ef;color:#65735b;border-color:#e1e6db}.rent-charge>summary{position:relative;display:block;list-style:none;cursor:pointer;padding:8px 24px 8px 9px;line-height:1.45}.rent-charge>summary::-webkit-details-marker{display:none}.rent-charge>summary:after{content:'⌄';position:absolute;right:8px;top:8px;font-size:15px;line-height:1}.rent-charge[open]>summary:after{transform:rotate(180deg)}.rent-charge>summary strong{font-size:11px;display:flex;align-items:center;gap:7px}.rent-charge-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 19px;width:19px;height:19px;border-radius:50%;background:#e1e6db}.rent-charge-icon svg{width:13px;height:13px;stroke-width:2.5}.rent-charge.observed .rent-charge-icon{background:#238447;color:#fff}.rent-charge.missing .rent-charge-icon{background:#b42318;color:#fff}.rent-charge>summary small{font-size:10px;margin-top:4px}.rent-charge-details{border-top:1px solid #cad4bd77;padding:8px 9px}.rent-charge-details p{font-size:10px;line-height:1.55;margin:0 0 6px;overflow-wrap:anywhere}.rent-charge-details p:last-child{margin:0}.rent-charge>summary:focus-visible{outline:2px solid currentColor;border-radius:7px;outline-offset:2px}
.rental-terms,.rental-notes p{white-space:pre-line;overflow-wrap:anywhere}.rental-notes{margin:12px 0;padding:12px;background:#f6f8f1;border-radius:9px;border:1px solid var(--line)}.rental-notes strong{font-size:11px;color:#718765}.rental-notes p{margin-top:5px}
.rental-payroll{border-top:1px solid var(--line);padding-top:10px;margin-top:12px;font-size:11px;color:#819371}.rental-payroll>summary{cursor:pointer;font-weight:750;color:#647c53}.rental-payroll>p{margin-top:8px!important;font-size:11px;line-height:1.7}.rental-payroll .drawer-actions{margin-top:10px}.rental-payroll>summary:focus-visible{outline:2px solid #8daa6a;outline-offset:3px;border-radius:3px}
.car-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);flex-wrap:wrap}.car-pagination>div{display:flex;align-items:center;gap:9px}.car-page-number{font-weight:750;color:var(--ink);white-space:nowrap}.car-pagination .button{min-height:38px}
@media(max-width:600px){.car-pagination{padding:14px 16px}.car-pagination>div{width:100%;justify-content:space-between}.car-pagination>span{width:100%;text-align:center}}

.sidebar #nav{overflow-y:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#52706a transparent}.sidebar-bottom{flex-shrink:0}

/* Rental handover and return remain in one dialog until mandatory photos are saved. */
.intake-modal{width:min(920px,calc(100vw - 32px));max-width:920px}.intake-modal .modal-body{padding:24px}.intake-steps{list-style:none;display:flex;gap:8px;margin:0 0 26px;padding:0}.intake-steps li{display:flex;align-items:center;gap:7px;flex:1;min-width:0;font-size:12px;color:#8d978e;padding:10px 8px;border-bottom:3px solid #edf0e8}.intake-steps li>span{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border-radius:50%;background:#eef1e8;font-size:11px;font-weight:800}.intake-steps li.current{color:var(--teal);font-weight:800;border-bottom-color:#a5c871}.intake-steps li.current>span{background:var(--lime);color:var(--teal)}.intake-steps li.done{color:#6b8d50;border-bottom-color:#d0e3b6}.intake-steps li.done>span{background:#eaf2df;color:#668843}.intake-section-heading{margin:25px 0 16px}.intake-section-heading:first-child{margin-top:0}.intake-section-heading h3{font-size:16px}.intake-section-heading p{font-size:12px;color:var(--muted);margin-top:6px;line-height:1.65}.intake-required-empty{border-color:#c3635b!important;background:#fff8f6!important}.intake-required-empty:focus{outline-color:#d9968b}.intake-selected,.intake-summary,.intake-condition{padding:16px 18px;background:#f5f8ee;border:1px solid #e3ead8;border-radius:11px;margin-bottom:16px;font-size:13px;overflow-wrap:anywhere}.intake-selected p,.intake-summary p,.intake-condition p{font-size:12px;margin-top:6px;color:#78896a}.intake-summary span{display:block;font-size:12px;color:#66874e;margin-top:8px}.intake-condition details{margin-top:12px;border-top:1px solid #dce5d2;padding-top:10px}.intake-condition summary{font-weight:750;color:#9b6c35;cursor:pointer}.intake-condition details p{color:#8a713d}.intake-photo-count{padding:10px 13px;margin-bottom:18px;font-size:12px;background:#f2f7e7;color:#748e58;border-radius:8px}.intake-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 24px}.intake-photo-card{border:1px solid var(--line);border-radius:12px;padding:12px;min-width:0;background:#fcfcf9}.intake-photo-card.saved{border-color:#c2d9a1;background:#f9fcf5}.intake-photo-heading{min-height:53px;margin-bottom:9px}.intake-photo-heading strong{font-size:12px;display:block;line-height:1.5}.intake-photo-heading span{font-size:10px;color:#ac8660;display:block;margin-top:4px}.intake-photo-card.saved .intake-photo-heading span{color:#73924f}.intake-photo-image{height:158px;display:grid;place-items:center;background:#edf2e5;border-radius:8px;overflow:hidden;margin-bottom:10px}.intake-photo-image>span{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11px;color:#93a67d}.intake-photo-image svg{width:28px;height:28px}.intake-photo-image button{width:100%;height:100%;background:transparent;padding:0;display:block}.intake-photo-image img{width:100%;height:100%;object-fit:contain;display:block}.intake-capture-actions{display:flex;gap:7px;flex-wrap:wrap}.intake-capture-actions label{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;cursor:pointer;padding:9px 8px;min-height:40px;background:#fff;border:1px solid #dbe4cf;border-radius:7px;font-size:10px;font-weight:750;color:#5e764b;position:relative;overflow:hidden}.intake-capture-actions label svg{width:14px;height:14px;flex-shrink:0}.intake-capture-actions input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;margin:0}.intake-capture-actions label:focus-within{outline:3px solid #95be60;outline-offset:2px}.intake-capture-actions.extra{margin:12px 0 20px}.intake-capture-actions.extra label{font-size:12px;min-height:46px;flex:1 1 200px}.intake-previous{font-size:10px;line-height:1.5;margin-bottom:10px;color:#829870}.intake-previous summary{cursor:pointer}.intake-previous img{width:100%;max-height:130px;object-fit:contain;display:block;margin-top:8px;background:#eaf0e2;border-radius:6px}.intake-first-photo{font-size:10px;color:#9ca68f;margin-bottom:10px}.intake-damage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0 22px}.intake-damage-grid>div{min-width:0;background:#f4f7ed;border:1px solid var(--line);border-radius:8px;overflow:hidden}.intake-damage-grid button{width:100%;padding:0;display:block;background:transparent}.intake-damage-grid img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.intake-damage-grid p{padding:8px;font-size:10px;overflow-wrap:anywhere}.intake-modal .modal-actions{flex-wrap:wrap;justify-content:space-between;margin-top:24px}.intake-modal .form-error:not(:empty){padding:12px;background:var(--red-bg);border-radius:8px;margin:15px 0;font-size:12px}.intake-drafts .rental-card:last-child{margin-bottom:0}
@media(max-width:760px){.intake-modal{width:calc(100vw - 12px);max-width:none;max-height:calc(100dvh - 12px);border-radius:12px}.intake-modal .modal-body{padding:17px}.intake-steps{gap:3px;margin-bottom:20px}.intake-steps li{font-size:10px;padding:8px 3px;flex-direction:column;gap:5px;text-align:center;line-height:1.3}.intake-steps li>span{width:24px;height:24px}.intake-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.intake-photo-card{padding:10px}.intake-photo-heading strong{font-size:11px}.intake-photo-image{height:140px}.intake-capture-actions{gap:5px}.intake-capture-actions label{min-height:43px;font-size:10px;padding:7px 5px}.intake-damage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.intake-modal .modal-actions .button{flex:1 1 160px;white-space:normal;text-align:center;min-height:45px}.intake-section-heading h3{font-size:15px}.intake-selected,.intake-summary,.intake-condition{padding:13px}.intake-modal .modal-header h2{font-size:18px}}
@media(max-width:380px){.intake-photo-grid{grid-template-columns:1fr}.intake-photo-image{height:180px}}

.finance-overview{margin:26px 0}.finance-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-caption{font-size:12px;color:var(--muted);margin:10px 0 15px}.finance-stats .stat-value{font-size:clamp(21px,2.5vw,34px);overflow-wrap:anywhere}.income-policy-details{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fafbf7}.income-policy-details summary{cursor:pointer;font-size:14px;font-weight:750}.income-policy-details p{margin-top:12px;font-size:13px}.income-policy-details .button{margin-top:12px}@media(max-width:760px){.finance-stats{grid-template-columns:1fr}.finance-overview .section-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}}

.intake-capture-actions label:has(input:disabled){opacity:.5;cursor:wait}

/* Removing a car keeps its history in the archive. */
.button.danger{background:#fff1ed;color:#a54836;border:1px solid #e9c8bf}.button.danger:hover{background:#ffe6de;border-color:#d79c8b}.button.danger:disabled{opacity:.5;cursor:not-allowed}

/* Contract dates are typed on the numeric keyboard; each PDF link names its document. */
.documents a{gap:6px 16px;flex-wrap:wrap;overflow-wrap:anywhere}.documents a span{color:var(--teal);font-weight:700}.field input[data-numeric-date]{font-variant-numeric:tabular-nums}
