@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#101714;--panel:#17201b;--raised:#1c2721;--border:#304038;--mint:#8be5bf;--text:#edf3ed;--muted:#a3b1a7;--danger:#ffb6ac;font-family:'DM Sans',Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,tr:focus-visible{outline:2px solid var(--mint);outline-offset:4px}button{color:inherit}button,input,select{border-radius:4px}button{background:none;border:0}input,select{width:100%;background:#111b15;border:1px solid var(--border);color:var(--text);padding:13px 14px;min-height:46px}input::placeholder{color:#7c9082}label{display:grid;gap:9px;font-size:13px;color:#c4d1c8}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:Manrope,Arial,sans-serif}em{color:var(--mint);font-style:normal}p{line-height:1.7}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:800;white-space:nowrap}.mark{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:6px;background:var(--mint);color:#123124;font-size:27px;font-weight:800;font-style:italic}.eyebrow,.section-kicker,.sidebar-label{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--mint)}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;padding:14px 19px;border:1px solid var(--border);font-size:13px;font-weight:700;min-height:46px;white-space:nowrap}.primary{background:var(--mint);border-color:var(--mint);color:#112f22}.subtle{background:var(--raised)}.full{width:100%}.quiet-link,.text-button{color:var(--mint);font-size:13px;text-decoration:none}.icon-button{width:42px;height:42px;display:inline-grid;place-items:center;border:1px solid var(--border);font-size:24px}.form-status{min-height:23px;font-size:13px;line-height:1.6}.error{color:var(--danger)!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}
.signin-page{min-height:100vh;background:radial-gradient(ellipse at 20% 45%,#1a3325 0,transparent 60%),var(--bg)}.login-header{display:flex;justify-content:space-between;align-items:center;padding:34px 5vw;border-bottom:1px solid var(--border)}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:9vw;max-width:1440px;margin:auto;padding:76px 6vw}.login-story h1{font-weight:500;font-size:clamp(45px,4.7vw,74px);line-height:1.12;letter-spacing:-3px;margin:23px 0 28px}.login-story>p:last-of-type{max-width:440px;font-size:17px;color:var(--muted)}.login-facts{margin-top:50px;display:grid;gap:19px;color:#b1c4b7;font-size:12px}.login-facts span{padding-bottom:17px;border-bottom:1px solid var(--border)}.login-panel{max-width:480px;width:100%;justify-self:end}.login-panel h2{font-size:28px;font-weight:500;line-height:1.35;margin:14px 0}.login-panel>p{font-size:14px;color:var(--muted)}#login-form{margin-top:30px;display:grid;gap:19px}.password-field{position:relative}.password-field input{padding-right:65px}.password-field button{position:absolute;right:8px;top:7px;height:32px;padding:0 10px;color:var(--mint);font-size:12px}.login-options{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.check-label{display:flex;gap:8px;align-items:center;max-width:235px;font-size:12px}.check-label input{width:16px;height:16px;min-height:0;accent-color:var(--mint);flex-shrink:0}.login-options .text-button{font-size:12px;padding:0;white-space:nowrap}.login-note{border-top:1px solid var(--border);margin-top:20px;padding-top:24px;font-size:13px}.login-note p{font-size:12px;color:var(--muted);margin:8px 0 14px}.login-note a,.help-line a{color:var(--mint)}.help-line{font-size:12px!important;margin-top:24px;line-height:1.7}.login-footer{display:flex;justify-content:space-between;padding:24px 5vw;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}
.workspace-page{background:#111914}.sidebar{width:250px;position:fixed;inset:0 auto 0 0;background:#0c130f;border-right:1px solid var(--border);padding:32px 22px;display:flex;flex-direction:column;z-index:20;overflow-y:auto}.sidebar .brand{font-size:19px}.sidebar-label{font-size:8px;margin-top:43px;letter-spacing:1.5px;color:#708c7a}.sidebar h2{font-size:16px;line-height:1.4;margin:12px 0 32px;font-weight:500}.sidebar nav{display:grid;gap:6px}.nav-module{display:flex;align-items:center;text-align:left;gap:9px;width:100%;padding:14px 10px;border:1px solid transparent;font-size:12px;position:relative;min-height:47px}.nav-module:hover,.nav-module.active{background:#1b3426;border-color:#345942;color:#b1f3ce}.nav-number{font-size:9px;color:#789884}.desktop-tag{font-size:6px;letter-spacing:.5px;color:#809887;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:38px;font-size:11px;color:var(--muted)}.sidebar-bottom>a{color:var(--mint);display:block;margin-bottom:24px}.sidebar-bottom p{overflow-wrap:anywhere}.sidebar-bottom .role{color:#789484;margin:3px 0 18px}.sidebar-bottom button{font-size:12px}.workspace-main{margin-left:250px;min-width:0}.workspace-header{height:83px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid var(--border)}.workspace-header>div{display:flex;align-items:center;gap:14px}.crumb{font-size:12px;color:#bfd0c4}.crumb>span{color:#526e5b;margin:0 12px}.early-pill{font-size:8px;letter-spacing:1px;color:var(--mint);padding:7px 10px;border:1px solid #375342;border-radius:20px}#menu-toggle{display:none}.workspace-main main{padding:42px 40px 72px;max-width:1800px;margin:auto}.workspace-intro>div{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-top:16px}.workspace-intro h1{font-size:clamp(35px,3.5vw,57px);font-weight:500;line-height:1.16;letter-spacing:-2px}.workspace-intro p:not(.eyebrow){font-size:13px;color:var(--muted)}.migration-banner{display:flex;gap:12px;align-items:center;margin:30px 0 43px;padding:16px 20px;background:#192a1e;border:1px solid #2f4c37;font-size:11px;color:#b6cbbd}.migration-banner p{line-height:1.6;flex:1}.migration-banner a{color:var(--mint);white-space:nowrap;font-size:11px}.online-dot{width:6px;height:6px;border-radius:50%;background:var(--mint);flex-shrink:0}.section-topline{display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.section-topline h2,.module-section h2{font-size:25px;font-weight:500;margin-top:10px}.inventory-controls{display:flex;align-items:flex-end;gap:16px;margin:26px 0 19px}.inventory-controls label{width:190px;font-size:10px;color:var(--muted)}.inventory-controls input,.inventory-controls select{font-size:12px;min-height:43px}.inventory-controls .search-label{margin-left:auto;width:clamp(220px,27vw,390px)}.inventory-summary{display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-bottom:14px}.inventory-summary>span:first-child{color:#d0e7d7}#feed-updated{margin-left:auto}.status-panel{padding:20px;border:1px solid var(--border);background:var(--panel);font-size:13px;display:flex;gap:20px;justify-content:space-between;align-items:center}.table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--border);background:#111d15}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:11px}th{background:#1e2c23;color:#b4c9bb;font-size:10px;font-weight:500;text-align:left;position:sticky;top:0}th,td{padding:15px 14px;border-bottom:1px solid #293b2d}th button{padding:0;text-align:left;color:inherit;display:flex;gap:7px;font-size:10px}th button span{color:var(--mint)}td:first-child,th:first-child{padding-left:16px;padding-right:8px}td.vehicle-name{font-weight:500;min-width:250px;max-width:340px;overflow:hidden;text-overflow:ellipsis;color:#ecf5e9}.select-col{width:35px}.select-col input{width:14px;height:14px;min-height:0;accent-color:var(--mint);display:block}.vin{font-size:10px;color:#b0c1b4;font-variant-numeric:tabular-nums}.photo-count{color:var(--mint);font-weight:700}tbody tr{cursor:pointer}tbody tr:nth-child(even){background:#18261c}tbody tr:hover{background:#263b2b}td .text-button{font-size:10px}.table-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:17px;color:var(--muted);font-size:10px}.table-footer>div{display:flex;align-items:center;gap:15px}.table-footer .button{font-size:10px;padding:8px 13px;min-height:34px}.module-section{margin-top:60px;padding-top:40px;border-top:1px solid var(--border)}.module-section>div:first-child>p{font-size:12px;color:var(--muted);margin-top:12px}.module-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:25px}.module-card{text-align:left;display:flex;flex-direction:column;align-items:flex-start;padding:22px;border:1px solid var(--border);min-height:177px;background:var(--panel)}.module-card:hover{border-color:#709a7d}.module-state{color:#7ea48a;font-size:8px;letter-spacing:1px}.module-card strong{font-size:15px;font-family:Manrope,Arial,sans-serif;margin:14px 0 9px;font-weight:500}.module-card>span:not(.module-state):not(.card-arrow){font-size:11px;line-height:1.6;color:var(--muted)}.card-arrow{align-self:flex-end;color:var(--mint);margin-top:auto;padding-top:15px}.workspace-footer{padding:25px 40px;border-top:1px solid var(--border);font-size:10px;color:var(--muted);display:flex;justify-content:space-between;gap:20px}.workspace-footer a{color:#bad4c2}
dialog{color:var(--text);background:var(--bg);border:1px solid var(--border);padding:0;max-width:none}dialog::backdrop{background:#030a06d9;backdrop-filter:blur(5px)}.gallery-dialog{width:min(1450px,96vw);height:94vh;max-height:94vh;overflow-y:auto;margin:auto}.gallery-header{display:flex;justify-content:space-between;gap:25px;padding:28px 30px;border-bottom:1px solid var(--border)}.gallery-header h2{font-size:23px;margin:11px 0 8px;font-weight:500}.gallery-header p{font-size:11px;color:var(--muted)}.gallery-header .icon-button{flex-shrink:0}.gallery-toolbar{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:21px 30px}.segmented{display:inline-flex;padding:4px;background:#0c130f;border:1px solid var(--border);gap:4px}.segmented button{padding:11px 15px;color:var(--muted);font-size:12px}.segmented [aria-pressed=true]{background:#294333;color:var(--mint)}#gallery-count{color:var(--muted);font-size:12px}.gallery-toolbar .quiet-link{margin-left:auto;font-size:11px}.gallery-status{font-size:12px;color:var(--muted);padding:0 30px 15px}.gallery-status:empty{display:none}.photo-grid{padding:0 30px 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 20px}.photo-card{min-width:0}.photo-number{font-size:9px;letter-spacing:1.3px;color:var(--muted);margin-bottom:10px}.photo-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#080d0a;border:1px solid var(--border)}.version-label{display:block;margin-top:10px;font-size:10px;color:var(--muted)}.version-picker{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:10px;color:var(--muted);margin-top:12px}.version-picker select{width:150px;padding:8px;min-height:34px;font-size:11px}.image-error{aspect-ratio:4/3;display:grid;place-items:center;text-align:center;padding:20px;border:1px solid var(--border);font-size:12px;color:var(--muted)}.gallery-note{border-top:1px solid var(--border);padding:20px 30px;font-size:11px;color:var(--muted);margin-top:18px}#more-photos{margin:5px 30px 15px}.module-dialog{width:min(500px,94vw);margin:auto;padding:35px}.module-dialog>.icon-button{float:right}.module-dialog h2{clear:both;margin:25px 0 17px;font-size:27px;font-weight:500}.module-dialog>p:not(.eyebrow){font-size:14px;color:var(--muted)}.module-dialog .button{margin-top:25px}
@media(min-width:1700px){.workspace-main main{padding:55px 60px 80px}.sidebar{width:270px}.workspace-main{margin-left:270px}.workspace-header{padding:0 60px}.module-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.sidebar{width:215px;padding:27px 15px}.sidebar .brand{font-size:17px}.workspace-main{margin-left:215px}.workspace-main main{padding:32px 25px 50px}.workspace-header{padding:0 25px}.workspace-intro>div{display:block}.workspace-intro p:not(.eyebrow){margin-top:18px}.migration-banner{align-items:flex-start}.migration-banner>a{display:none}.module-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-controls{gap:11px}.inventory-controls label{width:150px}.inventory-controls .search-label{width:210px;min-width:150px}.gallery-toolbar .quiet-link{margin-left:0}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.login-header{padding:22px 23px}.login-header .brand{font-size:18px}.login-header .quiet-link{font-size:10px}.login-layout{display:block;padding:40px 24px 50px}.login-story h1{font-size:43px;letter-spacing:-2px}.login-story>p:last-of-type,.login-facts{display:none}.login-panel{max-width:none;margin-top:35px;border-top:1px solid var(--border);padding-top:32px}.login-panel h2{font-size:25px}.login-footer{padding:20px 24px;font-size:9px;gap:20px}.login-footer>span:last-child{display:none}.sidebar{display:none;width:260px;box-shadow:20px 0 80px #000c}.sidebar.open{display:flex}.workspace-main{margin-left:0}.workspace-header{height:70px;padding:0 19px}#menu-toggle{display:inline-grid;width:33px;height:33px;font-size:17px}.crumb{font-size:10px}.crumb>span{margin:0 7px}.early-pill{font-size:6px;padding:7px;letter-spacing:.6px}.workspace-main main{padding:28px 18px 40px}.workspace-intro .eyebrow{font-size:8px;letter-spacing:1.5px}.workspace-intro h1{font-size:37px;letter-spacing:-1.5px}.workspace-intro p:not(.eyebrow){font-size:12px}.migration-banner{padding:13px;margin:24px 0 32px;font-size:10px}.online-dot{margin-top:6px}.section-topline{gap:12px}.section-kicker{font-size:8px;letter-spacing:1.4px}.section-topline h2{font-size:21px}.section-topline>.button{font-size:9px;padding:10px;min-height:36px;gap:7px}.inventory-controls{flex-wrap:wrap;margin-top:22px;gap:14px}.inventory-controls>label{width:calc(50% - 7px)}.inventory-controls .search-label{width:100%;margin:0}.inventory-summary{font-size:9px;gap:12px}#feed-updated{margin:0;width:100%}.status-panel{font-size:12px;display:block}.status-panel .text-button{display:block;margin-top:15px}.table-footer{flex-wrap:wrap}.table-footer>p{display:none}.table-footer>div{width:100%;justify-content:space-between}.module-section{margin-top:40px}.module-section h2{font-size:23px}.module-cards{gap:11px}.module-card{padding:17px 13px;min-height:170px}.module-card strong{font-size:13px}.module-state{font-size:6px}.module-card>span:not(.module-state):not(.card-arrow){font-size:10px}.workspace-footer{padding:20px 18px;display:grid;gap:12px}.gallery-dialog{width:100%;height:100%;max-height:100%;border:0}.gallery-header{padding:22px 18px;gap:15px}.gallery-header h2{font-size:19px}.gallery-header p{font-size:9px}.gallery-toolbar{padding:18px;gap:14px}.gallery-toolbar .quiet-link{font-size:10px}.segmented button{padding:10px;font-size:11px}.gallery-status{padding:0 18px 15px;font-size:11px}.photo-grid{padding:0 18px 20px;grid-template-columns:1fr;gap:26px}.gallery-note{padding:20px 18px}#more-photos{margin-left:18px}.version-picker select{width:170px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Photo editing uses the same workspace palette and keeps previews separate. */
.photo-edit-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}.photo-edit-actions button{font-size:12px}.photo-editor-dialog,.edit-tasks-dialog,.edit-compare-dialog{color:var(--text,#edf4ef);background:#111b16;border:1px solid #34473a;border-radius:18px;padding:28px;width:min(1320px,94vw);max-width:94vw;max-height:92vh;overflow:auto}.photo-editor-dialog::backdrop,.edit-tasks-dialog::backdrop,.edit-compare-dialog::backdrop{background:#07100be8}.photo-editor-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr);gap:30px;margin-top:24px}.editor-preview{background:#09100c;border-radius:12px;padding:14px;align-self:start}.editor-preview img{display:block;width:100%;height:auto;max-height:65vh;object-fit:contain}.editor-preview p{font-size:12px;color:#a6baac}.editor-controls label{display:block;margin:18px 0;color:#ccdbd0;font-size:14px}.editor-controls input:not([type=range]),.editor-controls select,.editor-controls textarea{display:block;box-sizing:border-box;width:100%;border:1px solid #3a5141;background:#16241c;color:#edf4ef;border-radius:7px;font:inherit;padding:12px;margin-top:8px}.editor-controls input[type=range]{display:block;width:100%;margin-top:14px;accent-color:#89e4bf}.editor-controls output{float:right;color:#89e4bf}.editor-controls h3{font-size:22px;margin:24px 0 10px}.editor-controls p{color:#a9bdb0;font-size:13px;line-height:1.65}.editor-controls .cost-note{padding:12px;border-left:2px solid #89e4bf;background:#1c2d22}.edit-task{display:grid;grid-template-columns:110px 1fr auto;gap:20px;align-items:center;padding:22px 0;border-bottom:1px solid #314237}.edit-task strong{font-weight:550}.edit-task p{font-size:13px;color:#b9cbbf;line-height:1.6}.edit-task small{font-size:11px;color:#809e8b}.task-state{font-size:11px;letter-spacing:.03em;color:#bbcfc1;background:#253b2d;border-radius:30px;padding:8px 12px;text-align:center}.task-state.ready{color:#9fecd0;background:#1a4535}.task-state.failed{color:#ffb6a7;background:#452c26}.task-state.complete{color:#98d6ad}.edit-compare-images{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:26px}.edit-compare-images figure{margin:0;min-width:0}.edit-compare-images img{display:block;width:100%;height:auto;max-height:60vh;object-fit:contain;background:#08100b}.edit-compare-images figcaption{font-size:12px;color:#a6baac;margin:12px 0}.edit-compare-dialog>p{font-size:14px;color:#bbcfc1}#edit-status.error{color:#ffb6a7}
@media(max-width:800px){.photo-editor-layout{grid-template-columns:1fr}.editor-preview img{max-height:35vh}.photo-editor-dialog,.edit-tasks-dialog,.edit-compare-dialog{padding:18px;width:calc(100vw - 28px);max-width:calc(100vw - 28px)}.edit-task{grid-template-columns:1fr;gap:10px}.task-state{justify-self:start}.edit-task button{justify-self:start}.edit-compare-images{grid-template-columns:1fr}.edit-compare-images img{max-height:40vh}.photo-edit-actions{align-items:flex-start;flex-direction:column}.section-topline{flex-wrap:wrap;gap:14px}}
.photo-batch-dialog,.batch-review-dialog{width:min(1700px,96vw);max-width:96vw;max-height:94vh;overflow:auto;padding:24px;border-radius:14px}.batch-setup{display:grid;grid-template-columns:1fr 1.4fr 1.7fr 130px 180px;align-items:start;gap:18px;margin:24px 0}.batch-setup img{width:180px;height:120px;object-fit:cover;border-radius:6px}.batch-glass-note{color:#b7cabf;border-left:2px solid var(--mint);padding:10px 18px;font-size:13px;background:#182b20}.batch-instructions{margin:18px 0;padding:16px;border:1px solid var(--border);border-radius:7px}.batch-instructions summary{color:var(--mint);cursor:pointer;font-size:13px}.batch-instructions label{margin:16px 0}.batch-instructions textarea{display:block;width:100%;background:#14251a;color:var(--text);padding:12px;border:1px solid var(--border);border-radius:4px}.batch-instructions p{font-size:12px;color:var(--muted)}.batch-toolbar,.batch-summary,.batch-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin:18px 0}.batch-toolbar label,.batch-summary label{min-width:150px}.batch-summary label{margin-left:auto}.batch-summary select{max-width:440px}.batch-summary>span{font-size:13px;color:var(--mint)}#batch-status,#batch-review-message{font-size:13px;color:var(--mint);margin:16px 0;min-height:24px}#batch-progress{width:100%;height:12px;accent-color:var(--mint);margin:8px 0 18px}.batch-table-wrap{overflow:auto;max-height:48vh;border:1px solid var(--border)}.batch-table-wrap table{width:100%;border-collapse:collapse;min-width:1100px;font-size:12px}.batch-table-wrap th{position:sticky;top:0;z-index:1;background:#203528;text-align:left;padding:14px}.batch-table-wrap td{padding:14px;border-bottom:1px solid var(--border);vertical-align:top}.batch-table-wrap tr:nth-child(even){background:#19291f}.batch-table-wrap td:nth-child(3){min-width:240px}.batch-attention{min-width:300px;color:#b4ccbc;line-height:1.65}.batch-table-wrap input[type=checkbox],.batch-photo-heading input{width:18px;height:18px;min-height:18px;padding:0;accent-color:var(--mint)}.photo-batch-dialog>.cost-note{font-size:12px;line-height:1.7;color:#adbfaf;padding:14px;border-left:2px solid var(--mint);background:#16281c}.batch-photo-review{padding:22px 0;border-bottom:1px solid var(--border)}.batch-photo-heading label{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600}.batch-photo-review>p{font-size:12px;color:var(--muted);margin:12px 0}.batch-review-dialog>p{font-size:13px;color:var(--muted)}.batch-photo-review .edit-compare-images{margin-bottom:14px}#batch-review-photos{max-height:65vh;overflow:auto}#batch-review-photos img{max-height:50vh}.batch-actions{position:sticky;bottom:-24px;background:#101d15;padding:14px 0;z-index:2}
@media(max-width:1000px){.batch-setup{grid-template-columns:1fr 1fr}.batch-summary label{margin-left:0}.batch-toolbar .button,.batch-actions .button{font-size:12px;padding:12px}.photo-batch-dialog,.batch-review-dialog{padding:14px}.batch-actions{bottom:-14px}.batch-setup img{width:100%;max-width:300px;height:150px}}@media(max-width:600px){.batch-setup{grid-template-columns:1fr}.batch-toolbar{align-items:stretch}.batch-toolbar label{width:100%}.batch-summary select{width:100%;max-width:none}.batch-summary label{width:100%}.batch-actions{position:static}.batch-review-dialog .gallery-header{padding:15px 0}}

.ims-dialog{width:min(1120px,96vw);max-height:92dvh;overflow:auto;background:var(--bg,#111b16);color:var(--text,#edf5ef);border:1px solid #365247;border-radius:18px;padding:clamp(18px,3vw,36px)}.ims-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:14px;margin:20px 0}.ims-photos figure{margin:0}.ims-photos img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#0a110e;border-radius:8px}.ims-photos figcaption{font-size:12px;padding:8px 0;color:#b1c2b9}.ims-history-row{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:13px 0;border-bottom:1px solid #31443a}.ims-confirm-label{display:flex;gap:12px;align-items:start;padding:18px;border:1px solid #6ca991;border-radius:8px;margin-bottom:18px}.ims-confirm-label input{width:20px;height:20px;flex-shrink:0}.ims-verification{padding:20px;border:1px solid #80d7b3;border-radius:10px;margin:20px 0}.ims-verification label{display:block}.ims-verification input{display:block;max-width:220px;letter-spacing:.3em;margin:10px 0;padding:12px;background:#1e3028;color:#edf5ef;border:1px solid #668f7b;border-radius:6px;font-size:22px}.ims-dialog [hidden]{display:none!important}.ims-dialog::backdrop{background:#000b}@media(max-width:600px){.ims-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.ims-dialog{width:100%;max-height:100dvh;border-radius:0}.gallery-toolbar{flex-wrap:wrap}}

#ims-login-form input{max-width:500px;width:100%;letter-spacing:normal;font-size:1rem}#ims-login-form label{margin:14px 0}.gallery-toolbar{position:sticky;top:0;z-index:3;background:#101b15;padding-block:14px;flex-wrap:wrap}

.inventory-actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 10px}.inventory-actions .button{padding:11px 14px;font-size:.9rem}.inventory-frame{position:relative;max-width:100%;border:1px solid #344b3e}.inventory-frame .table-wrap{max-height:65vh;min-height:180px;overflow:auto;border:0;margin:0}.inventory-frame table{min-width:2700px}.inventory-frame th{position:sticky;top:0;z-index:2;background:#203329}.inventory-frame .facebook-col{width:110px;min-width:110px;max-width:110px;text-align:center;white-space:normal}.facebook-col button{white-space:normal}.facebook-col input{width:18px;height:18px}.inventory-slider-wrap{display:flex;align-items:center;gap:15px;padding:10px 14px;background:#203329;position:sticky;bottom:0;z-index:4}.inventory-slider-wrap label{font-size:.875rem;white-space:nowrap}.inventory-slider-wrap input{width:100%;accent-color:#8ce2ba;cursor:ew-resize}.inventory-frame select{min-width:142px;max-width:170px;font-size:.875rem;padding:8px 24px 8px 8px;background:#17251e;border:1px solid #3e5c4a;color:#edf5ef;border-radius:5px}#inventory-tools-status{font-size:.9rem;color:#bad0c0;min-height:1.3em}#inventory-details-form label{display:block;margin:12px 0}#inventory-details-form input{display:block;width:100%;padding:10px;background:#1e3028;color:#edf5ef;border:1px solid #668f7b;border-radius:6px}#inventory-export-form,#inventory-upload-form{padding:18px;border:1px solid #4c745c;margin-block:16px}.photo-pick-label{display:flex;align-items:center;gap:10px;margin:10px 0;font-size:1rem}.photo-pick-label input{width:20px;height:20px}#photo-selection-tools[hidden]{display:none}@media(max-width:600px){.inventory-slider-wrap label{max-width:90px;white-space:normal}.inventory-frame .table-wrap{max-height:60vh}}

/* Compact inventory workspace: page and row scrolling are independent. */
html{min-height:100%;overflow-y:auto;overflow-x:hidden}
body.workspace-page{min-height:100dvh;overflow:visible}
.workspace-main{min-width:0;overflow:visible}
.workspace-main main{max-width:none}
.inventory-actions{flex-wrap:nowrap;gap:5px;align-items:stretch;margin:12px 0 8px;min-width:0}
.inventory-actions .button,.inventory-actions .text-button{flex:1 1 auto;min-width:0;min-height:34px;padding:7px 8px;font-size:clamp(9px,.66vw,12px);line-height:1.2;gap:4px;justify-content:center;white-space:nowrap}
.inventory-frame .table-wrap{height:70dvh;max-height:none;min-height:320px;overflow:auto;overscroll-behavior:auto;touch-action:pan-x pan-y;scrollbar-gutter:stable}
.inventory-frame th,.inventory-frame td{padding:10px 12px}
.inventory-frame .facebook-col input{min-height:0;margin:auto;display:block}
.inventory-slider-wrap{position:relative;bottom:auto;gap:12px;padding:5px 12px}
.inventory-slider-wrap label{font-size:11px}
.inventory-slider-wrap input{min-height:28px;height:28px;padding:0;border:0;background:transparent;touch-action:pan-y}
#inventory-tools-status:empty{display:none}
@media(min-width:761px){.workspace-main main{padding:25px 24px 48px}.workspace-header{height:60px;padding-inline:24px}.workspace-intro h1{font-size:clamp(27px,2.4vw,40px)}.workspace-intro>div{margin-top:10px}.migration-banner{margin:18px 0 22px;padding:10px 14px}.inventory-controls{margin:16px 0 12px}.section-topline h2{font-size:22px;margin-top:6px}}
@media(max-width:1100px){.inventory-actions{overflow-x:auto;padding-bottom:5px}.inventory-actions .button,.inventory-actions .text-button{flex:0 0 auto;font-size:10px;padding:8px}.inventory-frame .table-wrap{height:70dvh}}
@media(max-width:760px){.inventory-actions .button,.inventory-actions .text-button{font-size:12px;min-height:40px;padding:9px 10px}.inventory-frame .table-wrap{height:65dvh;min-height:280px}.inventory-slider-wrap label{font-size:10px}.inventory-slider-wrap input{min-height:36px}}

@media(min-width:761px){.section-topline>.button{min-height:34px;padding:8px 10px;font-size:11px;gap:6px}.section-topline{gap:12px}}

/* Focused inventory: fitted columns, one vertical scroller, and readable controls. */
.inventory-actions .button{flex:1 1 0;font-size:13px;padding:10px 12px;min-height:42px}
.inventory-actions{overflow:visible;gap:8px}
.inventory-frame table{width:100%;min-width:0;table-layout:fixed;font-size:13px;white-space:normal}
.inventory-frame th,.inventory-frame td{padding:11px 7px;overflow-wrap:anywhere;vertical-align:middle}
.inventory-frame th,.inventory-frame th button{font-size:11px;white-space:normal}
.inventory-frame td.vehicle-name{min-width:0;max-width:none;white-space:normal;font-size:14px;font-weight:600}
.inventory-frame .vin{font-size:11px;letter-spacing:0}
.inventory-frame .facebook-col{width:auto;min-width:0;max-width:none}
.inventory-frame .table-wrap{overflow-x:hidden;overflow-y:auto;height:70dvh}
.inventory-slider-wrap{display:none!important}
.inventory-controls label{font-size:12px}.inventory-controls input,.inventory-controls select{font-size:14px}
.row-ims-button{display:block;font-size:11px;color:var(--mint);border:1px solid #4e8060;border-radius:4px;padding:6px 8px;margin-top:7px;min-height:30px;text-align:left}
.vehicle-detail-dialog{width:min(960px,94vw);max-height:92dvh;overflow:auto;margin:auto}
.vehicle-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:25px 30px}
.vehicle-fact{min-width:0;display:flex;flex-direction:column;gap:9px}.vehicle-fact>span{font-size:12px;color:var(--muted)}.vehicle-fact strong{font-size:15px;overflow-wrap:anywhere}.vehicle-fact select{font-size:14px}
.vehicle-detail-actions{display:flex;flex-wrap:wrap;gap:12px;padding:20px 30px;border-top:1px solid var(--border)}
#batch-custom-label{flex:1 1 100%}#batch-custom-background{display:block;width:100%;background:#15241b;color:var(--text);border:1px solid var(--border);padding:12px;font:inherit}
@media(max-width:1100px) and (min-width:761px){.sidebar{width:180px;padding:20px 12px}.sidebar .brand{font-size:15px}.workspace-main{margin-left:180px}.workspace-main main{padding-inline:15px}.inventory-actions .button{font-size:11px;padding:8px 5px}.inventory-frame table{font-size:12px}.inventory-frame td.vehicle-name{font-size:12px}.inventory-frame .vin{font-size:10px}}
@media(max-width:760px){.inventory-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.inventory-actions .button{font-size:13px;white-space:normal}.inventory-frame table,.inventory-frame tbody{display:block}.inventory-frame colgroup,.inventory-frame thead{display:none}.inventory-frame tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:6px;border-bottom:1px solid var(--border)}.inventory-frame td{display:block;border:0;padding:6px;font-size:13px}.inventory-frame td::before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.inventory-frame td.vehicle-name{font-size:15px;grid-column:1/-1}.inventory-frame .select-col{grid-column:1/-1;width:auto}.inventory-frame .facebook-col{text-align:left}.inventory-frame .facebook-col input{margin:0}.vehicle-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:20px}.vehicle-detail-actions{padding:20px}.inventory-frame .table-wrap{height:70dvh}}

@media(min-width:761px){.inventory-actions .button{flex:1 1 auto;font-size:12px;padding:10px 9px}.inventory-frame th{overflow-wrap:normal}.inventory-frame td:nth-child(2),.inventory-frame td:nth-child(3),.inventory-frame td:nth-child(8),.inventory-frame td:nth-child(9),.inventory-frame td:nth-child(10){white-space:nowrap}.inventory-frame td:first-child,.inventory-frame th:first-child{padding-left:5px;padding-right:2px}}

.photo-dropzone{border:2px dashed #527963;border-radius:12px;padding:28px;text-align:center;cursor:pointer;display:grid;gap:12px;background:#15261c}.photo-dropzone:focus-visible,.photo-dropzone.drag-active{outline:3px solid #8ae4c1;background:#204432}.photo-dropzone[aria-disabled=true]{opacity:.65;cursor:default}.photo-dropzone input{max-width:100%}.upload-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:14px;margin-bottom:20px}.upload-previews article{min-width:0;display:grid;gap:7px}.upload-previews img{width:100%;height:110px;object-fit:contain;background:#09120d}.upload-previews small{overflow-wrap:anywhere}.lead-card{border:1px solid #355443;border-radius:8px;padding:18px;margin:16px 0}.lead-card details{padding:12px 0}.lead-card dl{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:8px}.lead-card dd{margin:0;overflow-wrap:anywhere}.lead-card dt{color:#a5b8b1}.vehicle-detail-actions{flex-wrap:wrap}

.batch-photo-reel-panel{border:1px solid #355b45;border-radius:12px;margin:18px 0;padding:18px}.batch-photo-reel{display:flex;overflow-x:auto;gap:18px;padding:10px 0 18px;scroll-snap-type:x proximity}.reel-photo{flex:0 0 350px;min-width:0;display:grid;gap:10px;align-content:start;border:1px solid #345442;padding:12px;border-radius:10px;scroll-snap-align:start}.reel-photo img{width:100%;height:225px;object-fit:contain;background:#09130e}.reel-photo[draggable=true]{cursor:grab}.reel-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.reel-photo-actions .button{min-height:34px;padding:7px;font-size:13px}.batch-photo-reel-panel h3{margin:0}.batch-photo-reel-panel .batch-toolbar{align-items:center}.batch-photo-reel-panel .batch-toolbar>div:first-child{flex:1}.reel-photo small{color:#a5bbb1}@media(max-width:600px){.reel-photo{flex-basis:280px}.reel-photo img{height:190px}.batch-photo-reel-panel{padding:10px}}

/* Compact generation controls keep photos in the first screen. */
#photo-batch-dialog{padding:12px 18px;scroll-padding-top:8px}#photo-batch-dialog .batch-glass-note{margin:0 0 6px;padding:6px 10px;font-size:11px;line-height:1.45}#photo-batch-dialog .batch-compact-header{display:grid;grid-template-columns:auto minmax(0,1fr) 36px;gap:14px;align-items:center;padding:5px 0 10px;margin:0;border-bottom:1px solid var(--border)}#photo-batch-dialog .batch-compact-header h2{margin:0;font-size:23px;white-space:nowrap}#photo-batch-dialog .batch-header-tools{justify-content:flex-end;align-items:center;gap:7px;margin:0}#photo-batch-dialog .batch-header-tools .button{font-size:11px;padding:8px 10px;min-height:34px;gap:4px}#photo-batch-dialog .batch-header-tools label{min-width:0;width:135px;font-size:10px;gap:3px}#photo-batch-dialog .batch-header-tools label:last-child{width:155px}#photo-batch-dialog .batch-header-tools input,#photo-batch-dialog .batch-header-tools select{min-height:32px;padding:6px 8px;font-size:12px}#photo-batch-dialog .icon-button{width:36px;height:36px}#photo-batch-dialog .batch-setup{grid-template-columns:130px minmax(165px,1fr) minmax(170px,1.3fr) 86px 120px 76px;gap:10px;margin:10px 0;align-items:end}#photo-batch-dialog .batch-setup label{font-size:11px;gap:4px}#photo-batch-dialog .batch-setup input,#photo-batch-dialog .batch-setup select{padding:8px 10px;min-height:37px;font-size:13px}#photo-batch-dialog .batch-setup img{width:76px;height:59px}#photo-batch-dialog #batch-custom-label{grid-column:1/-1;grid-row:2}#photo-batch-dialog .batch-instructions{margin:6px 0;padding:7px 10px}#photo-batch-dialog .batch-instructions summary{font-size:11px}#photo-batch-dialog .batch-live-status{display:flex;align-items:center;gap:12px}#photo-batch-dialog #batch-status{flex:1;font-size:11px;line-height:1.4;margin:5px 0;min-height:0}#photo-batch-dialog #batch-progress{width:150px;height:6px;margin:4px 0}#photo-batch-dialog .batch-photo-reel-panel{padding:10px 12px;margin:6px 0 10px}#photo-batch-dialog .batch-photo-reel-panel .batch-toolbar{margin:0;gap:8px;align-items:center}#photo-batch-dialog #batch-reel-title{font-size:15px;line-height:1.4}#photo-batch-dialog #batch-reel-status{font-size:11px;line-height:1.4;margin:3px 0}#photo-batch-dialog .batch-photo-reel-panel .batch-toolbar label{font-size:10px;gap:3px;min-width:140px}#photo-batch-dialog .batch-photo-reel-panel .batch-toolbar select{font-size:12px;padding:6px 8px;min-height:33px}#photo-batch-dialog .batch-photo-reel-panel .button{font-size:11px;padding:8px 10px;min-height:34px;gap:5px}#photo-batch-dialog .reel-help{font-size:11px;line-height:1.4;margin:5px 0;color:var(--muted)}.reel-pick-tools{display:flex;align-items:center;gap:15px;font-size:12px;color:var(--mint);margin:5px 0}.reel-pick-tools .text-button{font-size:11px}.reel-pick-label{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--text);font-weight:700}.reel-pick-label input{width:18px;height:18px;min-height:18px;accent-color:var(--mint);padding:0}#photo-batch-dialog .batch-photo-reel{gap:12px;padding:4px 0 10px}#photo-batch-dialog .reel-photo{flex-basis:310px;gap:7px;padding:9px}#photo-batch-dialog .reel-photo img{height:185px}#photo-batch-dialog .reel-photo>select{min-height:32px;padding:6px 9px;font-size:12px}#photo-batch-dialog .reel-photo-actions .button{min-height:29px;padding:5px 8px;font-size:11px}#photo-batch-dialog .reel-photo small{font-size:10px}.reel-photo.photo-picked{border-color:#8be5bf;background:#142b20}.batch-vehicle-list>summary{cursor:pointer;color:var(--mint);font-size:12px;padding:8px 0}.batch-vehicle-list .batch-summary{margin:5px 0 10px;gap:8px;align-items:center}.batch-vehicle-list .batch-summary label{font-size:10px;gap:3px}.batch-vehicle-list .batch-summary select{min-height:32px;padding:6px 8px;font-size:12px}.batch-vehicle-list .batch-summary .button{min-height:32px;padding:6px 9px;font-size:11px}#photo-batch-dialog .batch-actions{margin:8px 0 0;padding:8px 0;bottom:-12px}#photo-batch-dialog .batch-actions .button{padding:8px 12px;min-height:35px;font-size:12px;gap:5px}#photo-batch-dialog .cost-note{margin-top:10px;padding:8px 10px;font-size:11px;line-height:1.4}
.workspace-intro h1 br{display:none}.workspace-intro h1{font-size:clamp(27px,2.55vw,48px);white-space:nowrap;line-height:1.2;margin:12px 0 0}.workspace-intro{align-items:center;gap:24px}.workspace-intro p:not(.eyebrow){align-self:center}.inventory-section .section-topline>.button{font-size:16px;min-height:58px;padding:16px 22px;justify-content:center;gap:10px}.migration-banner{margin-top:22px;margin-bottom:26px}
@media(max-width:1150px){#photo-batch-dialog .batch-compact-header{grid-template-columns:1fr 36px}#photo-batch-dialog .batch-compact-header h2{grid-column:1;grid-row:1}#photo-batch-dialog .batch-header-tools{grid-column:1/-1;grid-row:2;justify-content:flex-start}#photo-batch-dialog #close-photo-batch{grid-column:2;grid-row:1}#photo-batch-dialog .batch-setup{grid-template-columns:110px minmax(150px,1fr) minmax(150px,1fr) 72px 108px 65px;gap:8px}#photo-batch-dialog .batch-setup img{width:65px;height:55px}.workspace-intro{align-items:start}.workspace-intro h1{white-space:normal}.inventory-section .section-topline>.button{font-size:14px;padding:13px 15px;min-height:51px}}
@media(max-width:760px){.workspace-intro h1{font-size:30px;letter-spacing:-1px}.inventory-section .section-topline{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.inventory-section .section-topline>div{grid-column:1/-1}.inventory-section .section-topline>.button{font-size:13px;padding:12px;min-height:48px;white-space:normal}#photo-batch-dialog .batch-setup{grid-template-columns:1fr 1fr}#photo-batch-dialog .batch-setup img{display:none}#photo-batch-dialog .batch-header-tools .button{font-size:10px}#photo-batch-dialog .batch-header-tools label{width:calc(50% - 4px)!important}#photo-batch-dialog .batch-header-tools label:last-child{flex:1}#photo-batch-dialog .batch-photo-reel-panel .batch-toolbar>div:first-child{flex-basis:100%}#photo-batch-dialog .batch-photo-reel-panel .batch-toolbar label{min-width:0;flex:1}#photo-batch-dialog .batch-live-status{display:block}#photo-batch-dialog #batch-progress{display:none}#photo-batch-dialog .batch-actions{bottom:-12px;gap:7px}#photo-batch-dialog .reel-photo{flex-basis:275px}#photo-batch-dialog .reel-photo img{height:165px}}

.workspace-intro>div{align-items:center}.workspace-intro h1{margin:0}.workspace-intro>div>p{margin-top:0!important}@media(max-width:1150px){.workspace-intro>div{gap:18px}.workspace-intro>div>p{max-width:310px;font-size:12px}}@media(max-width:900px){.workspace-intro>div{display:block}.workspace-intro>div>p{margin-top:12px!important;max-width:none}}

.lead-toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin:12px 0}.lead-toolbar label{min-width:220px}.lead-summary-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:14px 0}.lead-summary-facts span{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.lead-contact-links{display:flex;flex-wrap:wrap;gap:12px 22px;margin:12px 0}.lead-contact-link{color:var(--mint);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;padding:5px 0}.lead-contact-link:hover{color:white}.lead-unavailable{color:var(--muted);font-size:13px}.lead-bulk-drafts{border:1px solid var(--border);padding:16px;border-radius:8px;background:#15291d}.lead-bulk-drafts .button{margin:10px 10px 0 0}.lead-card h4{font-size:14px;color:var(--mint)}#vehicle-leads-dialog .gallery-header{padding:18px 0}#vehicle-leads-dialog .lead-card{margin:14px 0}#vehicle-leads-dialog .lead-card details{font-size:13px}#vehicle-leads-dialog .lead-card>.button{font-size:12px;min-height:35px;padding:8px 12px}@media(max-width:600px){.lead-summary-facts{grid-template-columns:1fr 1fr}.lead-contact-links{display:grid;gap:6px}.lead-toolbar label{flex:1;min-width:160px}.lead-bulk-drafts .button{white-space:normal}.lead-card dl{grid-template-columns:1fr}.lead-card dd{margin-bottom:7px}}

.workspace-intro h1{letter-spacing:-.8px}.workspace-intro h1 em{margin-left:.18em}
