/* Drive builder: the same restrained panels, red outlines and readable spacing as the catalogue. */
.ac-drive-main { padding: 34px 0 65px; }
.ac-drive-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:22px; margin-bottom:28px; }
.ac-drive-heading > div { min-width:0; flex:1 1 500px; }
.ac-drive-heading h1 { margin:0 0 12px; font-size:clamp(30px,3.2vw,44px); line-height:1.2; overflow-wrap:anywhere; }
.ac-drive-heading p { margin:0; color:#a9b7c7; font-size:17px; line-height:1.7; }
.ac-drive-kicker { display:inline-flex; gap:8px; align-items:center; color:#cc929b; font-size:11px; font-weight:600; letter-spacing:.09em; line-height:1.5; }
.ac-drive-kicker .ac-icon { width:17px; height:17px; flex-basis:17px; }
.ac-drive-primary,.ac-drive-secondary,.ac-drive-icon-button { display:inline-flex; justify-content:center; align-items:center; gap:8px; min-height:44px; padding:10px 16px; border:1px solid #a23c49; border-radius:9px; background:#35212b; color:#f4d3d8; font:inherit; font-size:15px; line-height:1.5; text-align:center; text-decoration:none; cursor:pointer; transition:background .18s,border-color .18s,color .18s; }
.ac-drive-primary:hover { background:#492630; color:#fff; border-color:#db0e15; }
.ac-drive-secondary,.ac-drive-icon-button { background:#192630; color:#c4d0dc; border-color:#455364; }
.ac-drive-secondary:hover,.ac-drive-icon-button:hover { background:#2b2631; border-color:#a25867; color:#fff; }
.ac-drive-icon-button { flex:0 0 44px; width:44px; padding:9px; }
.ac-drive-page :is(button,input,textarea,a):focus-visible,.ac-drive-picker :is(button,input):focus-visible { outline:2px solid #e28793; outline-offset:3px; }
.ac-drive-page button:disabled,.ac-drive-picker button:disabled { opacity:.5; cursor:not-allowed; }
.ac-drive-text-button,.ac-drive-text-link { display:inline-flex; align-items:center; gap:7px; border:0; padding:8px 0; min-height:40px; background:none; color:#cdb3bc; font:inherit; font-size:14px; text-decoration:none; cursor:pointer; }
.ac-drive-text-button:hover,.ac-drive-text-link:hover { color:#ffe0e7; }
.ac-drive-guest-note { display:flex; align-items:flex-start; gap:13px; padding:18px 22px; margin:22px 0 28px; border:1px solid #354151; border-radius:12px; background:#18232d; color:#acbacb; }
.ac-drive-guest-note > .ac-icon { flex:0 0 21px; margin-top:3px; color:#c58e9a; }
.ac-drive-guest-note p { margin:0; font-size:15px; line-height:1.75; }
.ac-drive-guest-note strong { color:#e1e8f1; font-weight:500; }
.ac-drive-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:26px; align-items:start; }
.ac-drive-workspace { display:grid; gap:24px; min-width:0; }
.ac-drive-step,.ac-drive-overview,.ac-drive-component,.ac-drive-notes,.ac-drive-empty,.ac-drive-saved-card { border:1px solid #303d4b; border-radius:16px; background:linear-gradient(145deg,#18232e,#141e28); }
.ac-drive-step { padding:26px; min-width:0; }
.ac-drive-step-heading { display:flex; gap:14px; margin-bottom:24px; }
.ac-drive-step-number { display:inline-flex; align-items:center; justify-content:center; flex:0 0 35px; height:35px; border:1px solid #60404c; border-radius:9px; background:#30232e; color:#dba7b1; font-size:12px; font-variant-numeric:tabular-nums; }
.ac-drive-step-heading h2 { margin:3px 0 9px; font-size:23px; line-height:1.3; }
.ac-drive-step-heading p { margin:0; font-size:15px; line-height:1.65; color:#9fadc0; }
.ac-drive-scenarios { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ac-drive-scenarios button { display:grid; grid-template-columns:28px minmax(0,1fr); gap:6px 10px; align-content:start; min-height:102px; padding:17px; text-align:left; border:1px solid #3b4756; border-radius:11px; background:#17232e; color:#b4c2d3; transition:background .18s,border-color .18s; }
.ac-drive-scenarios button > .ac-icon { grid-row:1/3; color:#ac9aa7; margin-top:2px; }
.ac-drive-scenarios strong { font-size:17px; font-weight:500; line-height:1.3; color:#e5eaf1; }
.ac-drive-scenarios span { font-size:13px; line-height:1.55; }
.ac-drive-scenarios button:hover { border-color:#8e4e5b; background:#26232e; }
.ac-drive-scenarios button[aria-pressed=true] { border-color:#c34655; background:#32232d; }
.ac-drive-scenarios button[aria-pressed=true] > .ac-icon { color:#e89ba8; }
.ac-drive-slots { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.ac-drive-slot { display:flex; flex-direction:column; min-width:0; padding:18px; border:1px dashed #536172; border-radius:12px; background:#101b25; overflow:hidden; }
.ac-drive-slot.has-mod { border-style:solid; border-color:#475666; }
.ac-drive-slot [data-drive-slot-content] { min-width:0; flex:1; }
.ac-drive-slot-icon { display:flex; align-items:center; justify-content:center; width:52px; height:52px; margin:8px 0 22px; border-radius:12px; background:#23303d; color:#bc9ba7; }
.ac-drive-slot-icon .ac-icon { width:27px; height:27px; }
.ac-drive-slot h3 { font-size:21px; line-height:1.35; margin:0 0 10px; overflow-wrap:anywhere; }
.ac-drive-slot p { color:#9fadc0; font-size:14px; line-height:1.65; }
.ac-drive-slot img { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; border-radius:7px; margin-bottom:16px; background:#0f171f; }
.ac-drive-slot-actions { display:flex; gap:8px; margin-top:16px; }
.ac-drive-slot-actions > .ac-drive-primary { flex:1; padding:10px; font-size:14px; }
.ac-drive-slot-actions > .ac-drive-icon-button { color:#a5b2c4; }
.ac-drive-slot-version { margin:0; }
.ac-drive-extras { margin-top:26px; padding-top:23px; border-top:1px solid #314050; }
.ac-drive-extras h3 { display:flex; align-items:center; gap:9px; font-size:20px; line-height:1.4; margin-bottom:9px; }
.ac-drive-extras h3 span { margin-left:auto; color:#99a9bc; font-size:12px; font-weight:400; }
.ac-drive-extras p { color:#9aaabd; font-size:14px; line-height:1.7; }
.ac-drive-extra-list { display:grid; gap:10px; margin:18px 0; }
.ac-drive-extra-item { display:flex; align-items:center; gap:12px; padding:10px; border:1px solid #344352; border-radius:9px; background:#15212c; }
.ac-drive-extra-item img { flex:0 0 64px; width:64px; height:48px; object-fit:cover; border-radius:6px; }
.ac-drive-extra-item > div { flex:1; min-width:0; }
.ac-drive-extra-item strong { display:block; font-size:14px; font-weight:500; line-height:1.5; overflow-wrap:anywhere; }
.ac-drive-extra-item small { color:#97a8bc; font-size:12px; }
.ac-drive-extra-item button { flex:0 0 40px; width:40px; min-height:40px; }
.ac-drive-extras [data-drive-extra-count] { padding-left:8px; color:#a4b2c4; font-size:12px; }
.ac-drive-step form > label,.ac-drive-picker form > label,.ac-drive-sharing > label { display:block; margin:19px 0 8px; color:#d2dce8; font-size:15px; font-weight:500; }
.ac-drive-step form > label:first-child { margin-top:0; }
.ac-drive-step label > span { margin-left:6px; color:#94a5b9; font-size:12px; font-weight:400; }
.ac-drive-step :is(input[type=text],input:not([type]),textarea),.ac-drive-picker input[type=search] { display:block; width:100%; min-width:0; padding:12px 14px; min-height:46px; border:1px solid #485667; border-radius:9px; background:#111d27; color:#e0e7ef; font:inherit; font-size:16px; line-height:1.6; }
.ac-drive-step textarea { resize:vertical; min-height:120px; }
.ac-drive-step :is(input,textarea)::placeholder,.ac-drive-picker input::placeholder { color:#8394a8; opacity:1; }
.ac-drive-save-hint { margin:18px 0; color:#9cacbf; font-size:14px; line-height:1.7; }
.ac-drive-save-state { display:inline-block; margin:10px 0 10px 12px; color:#b2cbbb; font-size:13px; }
.ac-drive-sharing { margin-top:28px; padding-top:24px; border-top:1px solid #344251; }
.ac-drive-sharing h3 { display:flex; align-items:center; gap:9px; font-size:21px; margin-bottom:12px; }
.ac-drive-sharing p { font-size:14px; line-height:1.7; color:#a8b6c7; }
.ac-drive-share-actions,.ac-drive-inline-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.ac-drive-share-actions .ac-drive-secondary { font-size:14px; }
.ac-drive-editor-actions { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:19px; }
.ac-drive-muted,.ac-drive-sharing .ac-drive-muted { color:#8fa1b6; font-size:12px; line-height:1.7; margin:16px 0; }
.ac-drive-overview { position:sticky; top:110px; min-width:0; overflow:hidden; }
.ac-drive-overview-top { padding:24px; }
.ac-drive-overview h2 { font-size:23px; line-height:1.35; margin:0 0 20px; overflow-wrap:anywhere; }
.ac-drive-overview ol { display:grid; gap:15px; margin:0; padding:0; list-style:none; }
.ac-drive-overview li { display:flex; align-items:flex-start; gap:10px; font-size:14px; line-height:1.65; color:#a3b2c4; overflow-wrap:anywhere; }
.ac-drive-overview li .ac-icon { flex:0 0 18px; width:18px; height:18px; margin-top:3px; }
.ac-drive-overview li.is-ready { color:#b8d2c1; }
.ac-drive-requirements { padding:24px; border:1px solid #344251; border-radius:14px; background:#15212c; }
.ac-drive-overview .ac-drive-requirements { border-left:0; border-right:0; border-bottom:0; border-radius:0; }
.ac-drive-requirements h2 { display:flex; align-items:center; gap:9px; font-size:20px; margin:0 0 14px; }
.ac-drive-requirements > p { color:#9dacc0; font-size:13px; line-height:1.8; }
.ac-drive-requirements details { padding:15px 0; border-top:1px solid #344151; }
.ac-drive-requirements details:last-child { padding-bottom:0; }
.ac-drive-requirements summary { cursor:pointer; font-size:14px; font-weight:500; color:#ccd7e4; line-height:1.6; overflow-wrap:anywhere; }
.ac-drive-requirements dl { display:grid; gap:14px; margin:17px 0 0; }
.ac-drive-requirements dt { color:#95a6ba; font-size:12px; font-weight:400; line-height:1.5; }
.ac-drive-requirements dd { margin:4px 0 0; color:#c9d5e4; font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.ac-drive-requirements dd small { display:block; color:#91a1b5; font-size:11px; line-height:1.7; margin-top:5px; }
.ac-drive-requirements .ac-drive-text-link { font-size:12px; margin-top:10px; }
.ac-drive-alert,.ac-drive-warning { padding:15px 18px; border:1px solid #805660; border-radius:10px; background:#32232e; color:#edc8d0; font-size:14px; line-height:1.7; margin-bottom:20px; }
.ac-drive-alert[data-kind=success] { border-color:#416a57; background:#1b3029; color:#bad8c8; }
.ac-drive-picker .modal-dialog { max-width:850px; }
.ac-drive-picker .modal-content { border:1px solid #465466; border-radius:17px; background:#15212c; color:#dce5ef; overflow:hidden; }
.ac-drive-picker .modal-header { display:flex; align-items:flex-start; gap:18px; padding:22px 25px; border-bottom:1px solid #334151; }
.ac-drive-picker .modal-header > div { flex:1; min-width:0; }
.ac-drive-picker .modal-header h2 { margin:0; font-size:26px; line-height:1.3; }
.ac-drive-picker .modal-header button { margin-left:auto; background:transparent; border-color:transparent; }
.ac-drive-picker .modal-body { padding:22px 25px 28px; }
.ac-drive-picker form > label { margin-top:0; }
.ac-drive-search-row { display:flex; gap:10px; }
.ac-drive-search-row input { flex:1; }
.ac-drive-scenario-filter { display:flex!important; align-items:center; gap:8px; flex-wrap:wrap; margin:16px 0 0!important; font-size:13px!important; font-weight:400!important; }
.ac-drive-scenario-filter input { width:18px; height:18px; accent-color:#a84656; }
.ac-drive-scenario-filter strong { font-weight:500; }
.ac-drive-results { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; min-width:0; }
.ac-drive-result { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #3a495b; border-radius:11px; background:#17242f; }
.ac-drive-result img { display:block; width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; background:#0f1820; }
.ac-drive-result > div { display:flex; flex:1; flex-direction:column; padding:13px; }
.ac-drive-result h3 { margin:0 0 8px; color:#e2e9f1; font-size:16px; line-height:1.45; overflow-wrap:anywhere; }
.ac-drive-result p { color:#9eaec1; font-size:12px; line-height:1.6; margin-bottom:15px; }
.ac-drive-result button { margin-top:auto; font-size:13px; padding:8px; }
.ac-drive-result[aria-selected=true] { border-color:#c34858; }
.ac-drive-result[aria-selected=true] button { border-color:#b14b5b; color:#f0c8d1; }
.ac-drive-result-pages { display:flex; justify-content:center; align-items:center; gap:18px; flex-wrap:wrap; padding:25px 0 0; font-size:14px; color:#a0b1c4; }
.ac-drive-result-pages:empty { display:none; }
[data-drive-picker-status] { color:#b7c5d5; font-size:14px; line-height:1.7; margin:12px 0 20px; }
.ac-drive-empty { padding:38px; }
.ac-drive-empty h1,.ac-drive-empty h2 { font-size:29px; line-height:1.3; margin:0 0 18px; }
.ac-drive-empty p { color:#a4b4c7; font-size:16px; line-height:1.8; max-width:710px; margin-bottom:24px; }
.ac-drive-empty-symbol { display:block; margin-bottom:24px; color:#cd909b; }
.ac-drive-empty-symbol .ac-icon { width:38px; height:38px; }
.ac-drive-shared-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; align-items:start; gap:26px; }
.ac-drive-shared-components { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ac-drive-component { overflow:hidden; min-width:0; }
.ac-drive-component > div { padding:21px; }
.ac-drive-component-image img { display:block; aspect-ratio:16/10; width:100%; height:auto; object-fit:cover; }
.ac-drive-component h3 { margin:0 0 12px; font-size:23px; line-height:1.4; overflow-wrap:anywhere; }
.ac-drive-component h3 a { color:#e0e8f0; text-decoration:none; }
.ac-drive-component p { color:#9fafc2; font-size:14px; line-height:1.7; }
.ac-drive-component.is-unavailable { padding:25px; }
.ac-drive-shared-extras { margin-top:27px; }
.ac-drive-shared-extras h2,.ac-drive-notes h2 { display:flex; align-items:center; gap:9px; font-size:23px; margin-bottom:15px; }
.ac-drive-shared-extras > p { color:#9bacc0; font-size:14px; line-height:1.7; margin-bottom:20px; }
.ac-drive-notes { padding:25px; margin-top:25px; }
.ac-drive-notes p { color:#b4c1d1; font-size:16px; line-height:1.8; overflow-wrap:anywhere; margin:0; }
.ac-drive-saved-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.ac-drive-saved-card { overflow:hidden; display:flex; flex-direction:column; min-width:0; }
.ac-drive-saved-images { display:grid; grid-template-columns:1fr 1fr; gap:2px; background:#111a23; }
.ac-drive-saved-images > :is(img,span) { width:100%; height:auto; aspect-ratio:1.35; object-fit:cover; display:flex; align-items:center; justify-content:center; color:#617386; }
.ac-drive-saved-body { padding:22px; display:flex; flex:1; flex-direction:column; }
.ac-drive-saved-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:18px; color:#b995a1; font-size:12px; }
.ac-drive-saved-meta > span { display:inline-flex; align-items:center; gap:6px; }
.ac-drive-saved-meta .ac-icon { width:15px; height:15px; }
.ac-drive-saved-body h2 { margin:0 0 16px; font-size:24px; line-height:1.35; overflow-wrap:anywhere; }
.ac-drive-saved-body h2 a { color:#e5ecf4; text-decoration:none; }
.ac-drive-saved-body p { color:#b8c4d3; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.ac-drive-saved-body p span { color:#94a7bd; }
.ac-drive-saved-body > a { margin-top:auto; }
.ac-drive-saved-body .ac-drive-warning { font-size:12px; padding:12px; }
.ac-home-drive { padding:0 0 34px; }
.ac-home-drive-panel { display:flex; align-items:center; gap:24px; flex-wrap:wrap; padding:27px 30px; border:1px solid #3c3b4b; border-radius:16px; background:radial-gradient(ellipse at 0 100%,#5e263a30,transparent 65%),#17212c; }
.ac-home-drive-panel > div { flex:1 1 400px; }
.ac-home-drive-panel h2 { margin:0 0 10px; font-size:28px; line-height:1.3; }
.ac-home-drive-panel p { margin:0; color:#a4b3c5; font-size:15px; line-height:1.7; }
.ac-drive-page [hidden],.ac-drive-picker [hidden] { display:none!important; }
@media(max-width:1199px) { .ac-drive-layout { grid-template-columns:minmax(0,1fr) 290px; gap:20px; } .ac-drive-step { padding:22px; } .ac-drive-shared-layout { grid-template-columns:minmax(0,1fr) 290px; gap:20px; } }
@media(max-width:991px) { .ac-drive-layout,.ac-drive-shared-layout { grid-template-columns:minmax(0,1fr); } .ac-drive-overview { position:static; } .ac-drive-saved-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:575px) { .ac-drive-main { padding-top:25px; } .ac-drive-heading h1 { font-size:32px; } .ac-drive-heading p { font-size:16px; } .ac-drive-step { padding:18px; } .ac-drive-step-heading { gap:10px; } .ac-drive-step-heading h2 { font-size:21px; } .ac-drive-step-number { flex-basis:31px; height:31px; } .ac-drive-scenarios { gap:9px; } .ac-drive-scenarios button { grid-template-columns:1fr; padding:13px; min-height:142px; } .ac-drive-scenarios button > .ac-icon { grid-row:auto; margin-bottom:5px; } .ac-drive-scenarios strong { font-size:16px; } .ac-drive-scenarios span { font-size:12px; } .ac-drive-slots,.ac-drive-shared-components,.ac-drive-saved-grid { grid-template-columns:minmax(0,1fr); } .ac-drive-slot { padding:16px; } .ac-drive-guest-note { padding:16px; gap:10px; } .ac-drive-guest-note p { font-size:14px; } .ac-drive-picker .modal-dialog { margin:10px; } .ac-drive-picker .modal-header,.ac-drive-picker .modal-body { padding:18px; } .ac-drive-picker .modal-header h2 { font-size:23px; } .ac-drive-results { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .ac-drive-result > div { padding:10px; } .ac-drive-result h3 { font-size:14px; } .ac-drive-result p { font-size:11px; } .ac-drive-search-row { gap:8px; } .ac-drive-search-row button { padding:10px; } .ac-drive-search-row button span { display:none; } .ac-drive-empty { padding:25px; } .ac-drive-empty h2 { font-size:25px; } .ac-drive-sharing input { font-size:13px!important; } .ac-drive-extra-item img { flex-basis:48px; width:48px; height:42px; } .ac-drive-extra-item { gap:8px; padding:8px; } .ac-drive-extra-item strong { font-size:13px; } .ac-drive-saved-body { padding:19px; } .ac-home-drive-panel { padding:22px; } .ac-home-drive-panel h2 { font-size:25px; } }
@media(prefers-reduced-motion:reduce) { .ac-drive-page *, .ac-drive-picker * { transition:none!important; scroll-behavior:auto!important; } }

/* Keep new builder images on the site's shared loading/error treatment. */
.ac-drive-image { position:relative; display:block; flex:0 0 auto; width:100%; aspect-ratio:16/10; overflow:hidden; background:#101922; }
.ac-drive-image > img { display:block; width:100%; height:100%; object-fit:cover; margin:0; }
.ac-drive-slot .ac-drive-image { border-radius:7px; margin-bottom:16px; }
.ac-drive-slot .ac-drive-image img { margin:0; }
.ac-drive-saved-images > .ac-drive-image { aspect-ratio:1.35; }
.ac-drive-saved-images > .ac-drive-image img { width:100%; height:100%; object-fit:cover; }
.ac-drive-component-image { display:block; position:relative; aspect-ratio:16/10; background:#101922; }
.ac-drive-component-image > img { width:100%; height:100%; object-fit:cover; }
