/* ALG adapts the archived Alnasser visual system and keeps the original intact. */
.alg-mark{font-family:Georgia,serif;font-size:46px;color:var(--gold-light);position:relative;width:53px;line-height:1}.alg-mark span{position:absolute;font-size:17px;top:-2px;inset-inline-end:-4px}.language-switch{color:#ead1a5;border:1px solid #ffffff36;border-radius:7px;background:#232626;padding:8px 11px;font-size:14px;max-width:132px}.language-switch option{background:#232626}.brand span.alg-mark{display:block;letter-spacing:0}.brand .alg-mark span{color:var(--gold-light)}.header-inner{gap:18px}.hero h1>span:first-child{color:#f5f4ef}.hero h1>span:last-child{color:var(--gold-light)}.hero .hero-caption>span:last-child{color:#aaaead;letter-spacing:0}.footer-base{align-items:center}.footer-base>a{margin-inline-start:auto}.hero .eyebrow{width:auto;max-width:580px}.hero .eyebrow>span:last-child{direction:ltr}.chat-panel{padding:0;display:flex;flex-direction:column;gap:0}.chat-panel:not([open]){display:none}.chat-head{position:relative;min-height:86px}.chat-head .dialog-close{position:static;margin-inline-start:auto}.chat-form{display:flex;gap:8px;align-items:center}.chat-form textarea{width:100%;border:0;resize:none;background:none;outline:none;min-height:47px;padding:10px}.chat-form>button{flex-shrink:0}.chat-messages{min-height:220px;overflow:auto;flex:1}.chat-foot{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.chat-bubble{white-space:pre-wrap;padding:12px 16px;background:#f2efe8;border-radius:14px;margin-bottom:14px;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.chat-bubble.customer{background:#e8d7b5;margin-inline-start:30px}.chat-bubble.bot{margin-inline-end:24px}.chat-vehicle{margin:10px 0}.chat-vehicle .car-card-body{padding:16px}.chat-vehicle img{aspect-ratio:1.8;object-fit:cover;width:100%}.alg-dialog{width:min(1000px,calc(100% - 32px));max-height:90dvh;overflow:auto;border:0;border-radius:18px;padding:38px;box-shadow:0 30px 100px #0005;background:var(--cream);color:var(--ink)}.alg-dialog::backdrop,.chat-panel::backdrop{background:#111b;backdrop-filter:blur(5px)}.alg-dialog.compact{width:min(530px,calc(100% - 26px))}.dialog-close{width:36px;height:36px;border-radius:50%;background:#e8e5dc;font-size:24px;line-height:1;position:absolute;inset-inline-end:18px;top:16px;z-index:3}.alg-dialog h2{font-size:32px;margin-bottom:18px}.alg-dialog h3{font-size:22px}.alg-form{display:flex;flex-direction:column;gap:18px;margin-top:24px}.alg-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#6c716a}.alg-form input,.alg-form select,.alg-form textarea,.admin-main input[type=search],.custom-feature input{width:100%;border:1px solid #dddcd4;border-radius:8px;background:#fff;padding:12px 13px;font-size:15px;color:#30352e;min-height:47px}.alg-form input:focus,.alg-form select:focus,.alg-form textarea:focus{border-color:var(--gold)}.form-error{color:#a3322a;font-size:14px;white-space:pre-wrap}.form-error:empty{display:none}.form-note{font-size:12px;color:#777b71;line-height:1.8}.field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.field-grid .span-all{grid-column:1/-1}.editor-section{padding:24px 0;border-top:1px solid var(--line)}.editor-section h3{margin-bottom:22px}.editor-section h3>span:first-child{font-size:13px;letter-spacing:.12em;color:#9a7945;margin-inline-end:14px}.editor-dialog form{gap:2px}.editor-dialog form>.button-row{position:sticky;bottom:-38px;background:var(--cream);padding:17px 0;z-index:2;border-top:1px solid var(--line)}.feature-checkboxes{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:12px 0}.feature-checkboxes label{display:flex;flex-direction:row;align-items:center;gap:10px;padding:11px 13px;border:1px solid #e0ddd2;border-radius:8px;font-size:13px;background:#fff;min-height:47px}.feature-checkboxes input{width:16px;min-height:16px;margin:0;accent-color:#a9844d}.field-heading{font-size:13px;margin-top:18px;color:#777b71}.custom-feature{display:flex;gap:8px;margin:18px 0 12px}.custom-feature .btn{white-space:nowrap}.admin-main{padding-top:48px;padding-bottom:90px}.admin-welcome{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:20px 0 30px}.admin-welcome h1{font-size:38px;margin:4px 0 13px}.admin-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:30px 0}.admin-tabs button{padding:14px 4px;background:none;color:#717568;font-size:16px;position:relative}.admin-tabs button.active{color:#252b22;font-weight:700}.admin-tabs button.active:after{content:'';height:3px;background:var(--gold);position:absolute;bottom:-1px;inset-inline:0;border-radius:3px}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stat-tile{padding:20px 24px;background:#fff;border:1px solid var(--line);border-radius:12px}.stat-tile span{font-size:13px;color:#7e8175}.stat-tile strong{display:block;font-size:35px;line-height:1.6}.admin-main .inventory-toolbar{gap:18px}.admin-main .inventory-toolbar>input{max-width:380px}.admin-main .car-card .car-card-body{padding:20px}.admin-card-actions{display:flex;gap:7px;border-top:1px solid var(--line);padding-top:17px;flex-wrap:wrap}.admin-card-actions button{border:1px solid #dddccf;border-radius:6px;padding:7px 13px;font-size:13px;background:white;min-height:37px}.admin-card-actions button:first-child{background:#252b25;color:white;border-color:#252b25}.publication-badge{position:absolute;inset-inline-end:12px;top:12px;border-radius:5px;background:#fffefaee;padding:4px 11px;font-size:11px}.publication-badge.live{color:#37623c}.publication-badge.draft{color:#7e684b}.price-mode-badge{font-size:11px;color:#80673c;background:#f3ead7;border-radius:5px;padding:5px 9px;display:inline-block;margin:10px 0 3px}.car-card-price{display:flex;flex-direction:column;gap:3px}.car-card-price strong{font-size:28px}.car-card-price small{font-size:11px;color:var(--muted)}.car-facts{min-height:40px;align-content:start}.car-card-actions{gap:8px;display:flex;flex-wrap:wrap}.car-card-actions .btn{padding:10px 16px;font-size:13px;min-height:44px;flex:1}.car-card-actions .text-button{flex-basis:100%;text-align:center;text-decoration:none;padding:8px;color:#6d705f}.car-card-media.no-image{display:grid;place-items:center;font-size:13px;color:#72786d;background:linear-gradient(140deg,#dbe0db,#f1f0e9)}.login-panel{width:min(460px,100%);margin:50px auto;padding:34px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.login-panel h1{font-size:37px;margin:17px 0}.login-panel>.muted{font-size:14px}.login-panel>.text-button{display:block;text-align:center;margin-top:22px}.settings-panel{max-width:800px;background:#fff;border:1px solid var(--line);padding:30px;border-radius:14px}.settings-panel .field-grid{grid-template-columns:1fr 1fr}.lead-list{display:flex;flex-direction:column;gap:16px}.lead-card{padding:24px;border:1px solid var(--line);background:white;border-radius:14px;display:grid;grid-template-columns:1fr auto;gap:18px}.lead-card h3{font-size:21px}.lead-card p{font-size:14px;margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere}.lead-card .lead-price{font-size:18px;color:#917244;margin-top:12px}.lead-card select{border:1px solid #dfd9c8;padding:8px;border-radius:7px;background:#faf9f5;font-size:13px;max-width:155px}.lead-card .notification{font-size:11px;color:#73806b}.lead-meta{color:#7b7e73;font-size:11px;display:flex;gap:14px;margin-top:18px;flex-wrap:wrap}.upload-zone{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:30px;border:1px dashed #baa47e;border-radius:10px;background:#f5f0e6;color:#80663e;cursor:pointer}.upload-zone input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload-zone small{font-size:11px}.image-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:20px 0}.image-thumb{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:white}.image-thumb img{width:100%;aspect-ratio:1.25;object-fit:cover}.image-thumb .controls{padding:8px;display:flex;gap:7px;flex-wrap:wrap}.image-thumb button{font-size:11px;padding:6px;background:#f0e9dc;border-radius:5px}.detail-top{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;margin-top:20px}.gallery-main img{width:100%;aspect-ratio:1.45;object-fit:cover;border-radius:12px}.gallery-thumbnails{display:flex;gap:8px;margin-top:12px;overflow:auto}.gallery-thumbnails button{width:90px;padding:0;border-radius:5px;overflow:hidden;flex-shrink:0;background:none}.gallery-thumbnails img{width:90px;height:64px;object-fit:cover}.detail-main{padding:27px;background:white;border:1px solid var(--line);border-radius:12px}.detail-main h2{margin-top:8px}.detail-specs{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:26px}.detail-specs article{background:white;padding:24px;border:1px solid var(--line);border-radius:12px}.detail-specs p{font-size:14px;margin-top:12px;white-space:pre-wrap}.detail-specs ul{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:14px}.detail-specs li:before{content:'✓';color:#9a7a42;margin-inline-end:8px}.lead-result{padding:25px 0;text-align:center}.lead-result .assistant-mark{margin:20px auto}.lead-result p{margin:14px 0}.lead-result code{font-size:11px;overflow-wrap:anywhere}.empty-inline{padding:44px 20px;text-align:center;color:#73776d;grid-column:1/-1;font-size:15px}.toast{z-index:100;inset-inline-end:24px;left:auto;transform:none;max-width:calc(100% - 48px)}
html[dir=ltr] .hero-shade{background:linear-gradient(90deg,#17191a 1%,#17191afa 25%,#17191aba 45%,#17191a1a 65%,#17191a05)}html[dir=ltr] .hero-picture img{object-position:right 62%}html[dir=ltr] .hero .eyebrow{justify-content:flex-start}html[dir=ltr] .car-make,html[dir=ltr] .car-card h3{text-align:left}html[dir=ltr] .chat-launcher{left:auto;right:25px}html[dir=ltr] .chat-panel{left:auto;right:25px}
@media(max-width:1000px){.field-grid{grid-template-columns:1fr 1fr}.feature-checkboxes{grid-template-columns:1fr 1fr}.image-preview{grid-template-columns:repeat(3,1fr)}.brand strong{font-size:18px}.header-nav{gap:18px}.header-nav a,.header-nav button{font-size:13px}}
@media(max-width:700px){.header-nav{display:none}.header-inner{height:77px}.brand strong{font-size:17px}.brand span{font-size:8px}.alg-mark{font-size:38px;width:42px}.language-switch{font-size:12px;max-width:115px}.hero{min-height:660px}.hero-content{padding-top:76px}.hero .eyebrow{width:auto;max-width:100%;margin-bottom:24px}.hero h1{font-size:42px;max-width:350px}.alg-dialog{padding:26px 20px;border-radius:13px;max-height:94dvh;width:calc(100% - 18px)}.alg-dialog h2{font-size:28px;padding-inline-end:23px}.dialog-close{top:12px;inset-inline-end:12px}.detail-top,.detail-specs{grid-template-columns:1fr}.field-grid{gap:14px 12px}.feature-checkboxes{gap:9px}.feature-checkboxes label{font-size:12px;padding:10px}.admin-main{padding-top:25px}.admin-welcome{align-items:start;flex-wrap:wrap}.admin-welcome h1{font-size:28px}.admin-welcome p{font-size:13px}.admin-welcome>.btn{font-size:12px;min-height:42px;padding:10px 15px}.admin-tabs{gap:22px;overflow:auto}.admin-tabs button{font-size:13px;white-space:nowrap}.admin-stats{gap:8px}.stat-tile{padding:13px 12px}.stat-tile strong{font-size:27px}.stat-tile span{font-size:10px}.admin-main .inventory-toolbar{align-items:stretch;gap:10px}.admin-main .inventory-toolbar>.btn{white-space:nowrap;font-size:12px;padding:10px 15px}.admin-main .inventory-toolbar>input{min-width:0;font-size:12px}.settings-panel{padding:23px 19px}.settings-panel .field-grid{grid-template-columns:1fr}.image-preview{grid-template-columns:1fr 1fr}.lead-card{padding:20px;grid-template-columns:1fr;gap:15px}.lead-card h3{font-size:20px}.lead-card select{max-width:100%;width:100%}.login-panel{padding:27px;margin:30px auto}.login-panel h1{font-size:32px}.chat-panel{width:100%;inset:0;max-width:none;max-height:none;height:100dvh;margin:0;border-radius:0}.chat-form{margin:0 12px}.chat-form textarea{font-size:14px}.chat-foot{padding-bottom:max(15px,env(safe-area-inset-bottom))}.chat-messages{min-height:0}.detail-main{padding:22px}.alg-dialog .editor-section h3{font-size:20px}.alg-dialog form>.button-row{bottom:-26px}.custom-feature .btn{font-size:12px;padding:10px 13px}.custom-feature input{font-size:13px}html[dir=ltr] .chat-panel{inset:0}html[dir=ltr] .hero-picture img{object-position:right}html[dir=ltr] .hero-shade{background:linear-gradient(180deg,#17191a 8%,#17191ae8 36%,#17191a16 90%)}.toast{inset-inline-end:16px;max-width:calc(100% - 32px)}}

.credits{max-width:950px;padding-block:64px}.credits h1{font-size:44px;margin-block:20px}.credits ul{padding:24px}.credits li{margin-block:24px}.credits a{text-decoration:underline}.credits p{line-height:1.8;margin-block:14px}
/* Final ALG sales specification; existing premium layout and responsive gallery. */
.card-equipment{display:flex;flex-wrap:wrap;gap:.35rem;margin:.7rem 0}.card-equipment span,.availability-badge{font-size:.72rem;padding:.3rem .55rem;border-radius:6px;background:#f0efea;color:#57594f}.car-trim{margin:.25rem 0;color:#75766f;font-size:.85rem}.offer-hint{font-size:.8rem;line-height:1.7;color:#7d6337;margin:.35rem 0 .8rem}.mode-open_offer{background:#f6edda}.mode-negotiable{background:#e8efe8}.car-card-actions{display:grid;grid-template-columns:1fr;gap:.5rem}.car-card-actions .btn{white-space:normal;min-height:44px}.car-card-price strong{line-height:1.65;font-size:1.15rem}.equipment-catalogue{max-height:390px;overflow:auto;margin-block:1rem;padding-inline:.25rem}.equipment-group{border-bottom:1px solid #e6e4dd;padding:.8rem 0}.equipment-group h4{margin:0 0 .65rem;font-size:.9rem;color:#937442}.equipment-row{display:grid;grid-template-columns:minmax(0,1fr) 130px 22px;align-items:center;gap:.75rem;padding:.4rem 0}.equipment-row small{display:block;color:#888;font-size:.7rem}.equipment-row select{min-height:40px;font-size:.8rem}.custom-equipment{background:#f6f5f0;border-radius:10px;padding:1rem}.custom-equipment summary{cursor:pointer;padding:.3rem;font-weight:600}.confirmation-field{display:flex!important;align-items:start;gap:.6rem;background:#fbf2de;border-radius:8px;padding:1rem}.confirmation-field input{width:20px;min-height:20px;margin-top:.25rem}.confirmation-field span{line-height:1.7}.lead-filters{margin-block:1.2rem}.span-all{grid-column:1/-1}.availability-badge{margin-inline:.4rem}.catalogue-review{padding:1rem}.catalogue-review pre{white-space:pre-wrap;overflow-wrap:anywhere}dialog .field-grid{min-width:0}@media(max-width:480px){.equipment-row{grid-template-columns:minmax(0,1fr) 110px 20px;gap:.4rem}.car-card-price strong{font-size:1.05rem}.alg-dialog.compact{width:calc(100% - 20px);padding:1.3rem}.lead-filters{grid-template-columns:1fr}.equipment-catalogue{max-height:340px}}

.confirmation-field[hidden]{display:none!important}
/* Owner-defined highlights use the established cards and showroom palette. */
.highlight-badges{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;min-height:0}
.highlight-badges:empty{display:none}
.highlight-badge{display:inline-flex;align-items:center;border-radius:5px;padding:5px 8px;font-size:10px;font-weight:800;letter-spacing:.075em;line-height:1.25}
.badge-top{background:#191c1c;color:#e5c78b}.badge-new{background:#e8eeeb;color:#34584c}.badge-promotion{background:#f6e7db;color:#8c4225}
.promotional-price{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.promotional-price del{color:#8b8e8b;font-size:14px;font-weight:400;text-decoration-thickness:1px}
.promotional-price strong{color:#8c4225}
.featured-section{margin-bottom:58px;padding-top:8px}.featured-section .section-heading{margin-bottom:24px}
.featured-section h2{font-size:clamp(23px,3vw,34px);margin:0;letter-spacing:-.025em}
.section-number{font-size:46px;font-weight:600;color:#ddd9d1;letter-spacing:-.06em}
.other-heading{font-size:24px;border-top:1px solid #dedbd4;padding-top:30px;margin:10px 0 24px}
.highlight-toggles{display:grid;gap:10px;margin-bottom:22px}.highlight-switch{display:flex!important;align-items:center;gap:11px!important;cursor:pointer;padding:13px 15px;border:1px solid #dedbd4;border-radius:8px;background:#faf9f6}
.highlight-switch input{width:18px!important;height:18px;accent-color:#856b43;flex:none}.highlight-switch span{font-weight:600;font-size:13px}
.highlight-switch:has(input:checked){border-color:#bda575;background:#f7f0e2}.highlight-switch:has(input:disabled){opacity:.7;cursor:default}
.promotion-status{font-size:12px;color:#6e7069;margin:8px 0}.promotion-history-rows article{display:grid;grid-template-columns:1fr 1fr;gap:6px;border-bottom:1px solid #e8e4dc;padding:12px 0;font-size:12px}
.promotion-history-rows time,.promotion-history-rows small{color:#7b7d77}.highlight-columns{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.highlight-manager h3{font-size:17px;margin-bottom:16px}.highlight-manager .field-grid{margin-bottom:16px}
.highlight-order-list{max-height:520px;overflow:auto;border:1px solid #e4e0d7;border-radius:8px}.highlight-order-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-bottom:1px solid #e8e4dc}
.highlight-order-row:last-child{border-bottom:0}.highlight-order-row.selected{background:#faf6ed}.highlight-order-row label{display:flex;align-items:center;gap:10px;cursor:pointer;flex:1}
.highlight-order-row input{width:17px;accent-color:#856b43}.highlight-order-row small{display:block;font-size:11px;color:#7b7d77;margin-top:3px}
.order-arrow{border:1px solid #ded8cb;border-radius:5px;background:white;padding:5px 10px;font-size:16px;cursor:pointer}.order-arrow:disabled{opacity:.3;cursor:default}
.lead-price-snapshot{display:flex;flex-direction:column;gap:4px;font-size:13px}.lead-price-snapshot strong{color:#8c4225}
@media(max-width:760px){.highlight-columns{grid-template-columns:1fr}.featured-section{margin-bottom:38px}.section-number{font-size:34px}.admin-tabs{overflow:auto;white-space:nowrap}.promotion-history-rows article{grid-template-columns:1fr}}


/* Existing chat footprint; a small recording status only. */
.chat-foot{gap:6px;align-items:center}.chat-foot>small{min-width:0;flex:1}
#voice-status{flex:none;max-width:55%;text-align:end;font-size:10px}
#voice-status.is-recording{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:#a91f2b}
.voice-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#d72735;flex:none}
.voice-seconds{font-variant-numeric:tabular-nums;font-family:monospace}
#voice-button{flex:none;min-width:38px}#voice-button.voice-recording{color:#b01c2b;background:#fff1f2;border-color:#e8b9bd}

/* Showroom settings and official seller requests, existing layout and palette. */
.profile-fieldset{grid-column:1/-1;border:1px solid var(--line);border-radius:12px;padding:18px;margin:4px 0}.profile-fieldset legend{padding:0 8px;font-weight:600}.profile-fieldset select{max-width:100%}.full-field{grid-column:1/-1}.contact-extra{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}.contact-extra a{color:inherit;text-decoration:underline;text-underline-offset:4px}.contact-hours{margin-top:24px;max-width:380px}.contact-hours dl{display:grid;gap:7px}.contact-hours dl>div{display:flex;justify-content:space-between;gap:18px}.contact-hours dd{margin:0}.chat-actions{margin:4px 0 16px;gap:8px}.chat-actions .btn{padding:9px 12px;font-size:12px}.chat-head #new-chat{position:absolute;inset-inline-end:54px;top:12px;font-size:11px;padding:3px 5px}.showroom-social{font-size:12px}#seller-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#seller-dialog h2{margin-top:10px}#seller-dialog>p{line-height:1.7}.profile-fieldset input{max-width:100%}@media(max-width:540px){#seller-fields{grid-template-columns:1fr}.profile-fieldset{padding:12px}.profile-fieldset .field-grid{grid-template-columns:1fr}.chat-head #new-chat{font-size:10px;inset-inline-end:46px}}
