.guide-app{max-width:1440px;margin:auto;padding:36px 28px 64px}.guide-heading{margin:24px 0}.guide-heading h1{font-size:clamp(28px,3vw,40px);margin:8px 0}.guide-heading p,.guide-form>p,.guide-fields>p{color:var(--muted);line-height:1.65}.guide-progress{list-style:none;display:flex;padding:0;margin:24px 0 32px;gap:8px}.guide-progress li{flex:1;min-width:0}.guide-progress button{display:flex;align-items:center;gap:8px;width:100%;padding:14px 10px;border:1px solid var(--line);border-radius:12px;color:var(--muted);background:var(--surface);text-align:start;font:inherit;font-size:13px}.guide-progress button:disabled{opacity:1;cursor:default}.guide-progress span{display:grid;place-items:center;flex-shrink:0;width:26px;height:26px;border-radius:50%;background:var(--surface-3)}.guide-progress [aria-current] button{border-color:#7f8eff;color:var(--text);background:#7284ff15}.guide-progress [aria-current] span{background:#687aff;color:#fff}.guide-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:28px;align-items:start}.guide-form,.guide-preview-card{min-width:0;border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:24px}.guide-fields{border:0;padding:0;margin:0;min-width:0;display:grid;gap:18px}.guide-fields:disabled{opacity:.7}.guide-fields h2{font-size:24px;line-height:1.35;margin:0}.guide-fields p{margin:0}.guide-fields>label{display:grid;gap:8px;font-size:14px}.guide-fields .input{width:100%;min-width:0;font-size:16px}.guide-fields fieldset{border:0;padding:0;margin:0;min-width:0}.guide-fields legend{font-size:14px;margin-bottom:10px}.guide-options{display:grid;gap:10px}.guide-option{display:flex;align-items:start;gap:12px;border:1px solid var(--line);padding:16px;border-radius:12px;cursor:pointer}.guide-option:has(input:checked){border-color:#7f8eff;background:#7284ff12}.guide-option input{flex-shrink:0;margin-top:4px;accent-color:#7f8eff}.guide-option span{display:grid;gap:5px}.guide-option small,.guide-style small{color:var(--muted);font-size:13px;line-height:1.5}.guide-hint{font-size:13px;color:var(--muted);line-height:1.6}.guide-feedback{min-height:42px;margin-top:16px;font-size:14px}.guide-feedback p{margin:0 0 12px}.guide-feedback .spinner{display:inline-block;width:16px;height:16px;border-width:2px;vertical-align:middle}.guide-save{font-size:12px;color:var(--muted)}.guide-warning{padding:12px;border-radius:10px;background:#ffb84d16;color:#ffd48a;overflow-wrap:anywhere}.guide-success{color:#63dfb3!important}.guide-navigation{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.guide-navigation .btn-primary{margin-inline-start:auto}.guide-advanced{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.guide-advanced summary{cursor:pointer;font-size:14px}.guide-advanced p{font-size:13px;color:var(--muted);line-height:1.6}.guide-preview-card{position:sticky;top:86px;padding:16px}.guide-preview-head{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap;font-size:13px;margin-bottom:14px}.guide-preview-head>span{color:var(--muted)}.guide-preview{aspect-ratio:16/9;position:relative;overflow:hidden;border-radius:10px;background:#090d18;isolation:isolate}.guide-scene{position:absolute;width:1920px;height:1080px;transform-origin:top left}.guide-preview video{display:block;width:100%;height:100%;object-fit:contain}.guide-preview-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;background:radial-gradient(ellipse at top,#22385d,#0c1322)}.guide-preview-empty>span{font-size:40px;color:#ffd176}.guide-preview-empty h3{font-size:clamp(16px,2vw,28px);overflow-wrap:anywhere;max-width:100%}.guide-preview-empty p{font-size:14px;color:#b6c3d8;max-width:300px}.guide-player{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0}.guide-player>.btn{font-size:13px}.guide-player>span{font-size:12px;color:var(--muted)}.guide-scrubber{flex:1;min-width:100px}.guide-scrubber input{width:100%;accent-color:#7d8eff}.guide-sequence{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.guide-sequence button{display:grid;gap:5px;background:var(--surface-2);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:10px 12px;font:inherit;font-size:12px;max-width:100%;overflow-wrap:anywhere;text-align:start}.guide-sequence small{color:var(--muted)}.guide-chips{display:flex;gap:8px;flex-wrap:wrap;min-width:0}.guide-chips button{background:#7384ff20;color:var(--text);border:1px solid #7e90ff55;border-radius:24px;padding:8px 12px;font:inherit;font-size:14px;max-width:100%;overflow-wrap:anywhere}.guide-chips button span{margin-left:8px}#guide-city-results{display:grid;gap:6px;max-height:300px;overflow-y:auto}#guide-city-results>button{display:grid;text-align:start;padding:12px;gap:4px;color:var(--text);background:var(--surface-2);border:1px solid var(--line);border-radius:8px;font:inherit}#guide-city-results small{font-size:12px;color:var(--muted)}.guide-styles{display:grid;gap:12px}.guide-style{display:grid;grid-template-columns:90px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-items:center;text-align:start;color:var(--text);background:var(--surface-2);padding:14px;border:1px solid var(--line);border-radius:12px;font:inherit}.guide-style[aria-pressed=true]{border-color:#8799ff;box-shadow:0 0 0 1px #8799ff}.guide-style-swatch{grid-row:1/3;display:flex;justify-content:space-between;align-items:center;height:58px;border-radius:8px;padding:10px;background:#14191f;color:#fff;border-bottom:3px solid #ff3b47}.guide-style-swatch i{font-style:normal;font-size:14px}.guide-style-morning .guide-style-swatch{background:#e1eeff;color:#183f6f;border-color:#3289f1}.guide-style-minimal .guide-style-swatch{background:#fff;color:#18212f;border-color:#252e3b}.guide-summary{display:flex;gap:10px}.guide-summary>span{display:grid;gap:4px;flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;padding:12px;font-size:12px;color:var(--muted)}.guide-summary b{font-size:23px;color:var(--text)}.guide-success-box{border:1px solid #64cba859;background:#46c39a0c;border-radius:12px;padding:16px;margin:12px 0}.guide-success-box p{margin:8px 0}.guide-success-box progress{width:100%;accent-color:#67d3b4}.guide-render{width:100%;margin-top:12px}.guide-fields .actions{flex-wrap:wrap}.guide-card-advanced{margin-top:14px}.guide-card-advanced summary{cursor:pointer;color:var(--muted);font-size:13px}.guide-card-advanced .actions{margin-top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1050px){.guide-layout{grid-template-columns:1fr 1fr;gap:16px}.guide-form{padding:18px}.guide-progress button{flex-direction:column;align-items:start}}@media(max-width:760px){.guide-app{padding:20px 16px 40px}.guide-layout{grid-template-columns:minmax(0,1fr)}.guide-preview-card{position:static;grid-row:1}.guide-preview-card>.guide-hint{display:none}.guide-progress{gap:4px;margin-bottom:20px}.guide-progress button{font-size:10px;padding:8px 4px;gap:6px;min-height:76px}.guide-progress span{width:23px;height:23px}.guide-preview-head{font-size:12px}.guide-heading h1{font-size:27px}.guide-heading p{font-size:14px}.guide-form{padding:20px}.guide-fields h2{font-size:23px}.guide-navigation .btn{flex:1;justify-content:center}.guide-summary b{font-size:20px}.guide-summary>span{padding:10px}.guide-preview-empty p{font-size:12px}.guide-preview-empty h3{margin:10px 0}.guide-preview-empty>span{font-size:28px}}

/* Keep the current question and its action within an ordinary desktop viewport. */
.guide-app{padding-top:24px}.guide-heading{margin:16px 0}.guide-heading p{margin:8px 0}.guide-progress{margin:18px 0 24px}.guide-fields{gap:14px}.guide-option{padding:12px}.guide-navigation{position:sticky;bottom:12px;z-index:3;background:var(--surface);padding:12px 0}.guide-form .guide-fields h2:focus{outline:none}@media(max-width:760px){.guide-navigation{bottom:0;padding:12px 0}}
.guide-pages{border-top:1px solid var(--line);padding-top:16px;display:grid;gap:12px}.guide-pages h3{margin:0}.guide-pages ol{list-style:none;padding:0;margin:0;display:grid;gap:8px}.guide-pages li{display:grid;gap:6px;background:var(--surface-2);border:1px solid var(--line);padding:12px;border-radius:10px;overflow-wrap:anywhere}.guide-pages small{color:var(--muted)}.guide-pages label{display:grid;gap:8px}.guide-palettes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.guide-palettes button{display:flex;gap:8px;align-items:center;background:var(--surface-2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:12px;font:inherit;font-size:13px;text-align:start;overflow-wrap:anywhere}.guide-palettes i{background:var(--swatch);border-radius:50%;height:18px;width:18px;flex-shrink:0}.guide-app button[aria-pressed=true]{border-color:#8799ff;background-color:#7284ff20;box-shadow:0 0 0 1px #8799ff}.guide-app[dir=rtl] .guide-scene{direction:ltr;left:0}.guide-app .guide-fields>.actions{display:flex;gap:8px;flex-wrap:wrap}.guide-app .actions .btn{white-space:normal;text-align:start}.guide-pages .actions{display:flex;gap:8px;flex-wrap:wrap}.guide-pages .actions .btn{font-size:12px;padding:8px}
.guide-fields h2{scroll-margin-top:90px}
.guide-progress button{overflow-wrap:anywhere;hyphens:auto}.guide-app .btn{white-space:normal;overflow-wrap:anywhere;max-width:100%}.guide-app[dir=rtl] .back-link{display:inline-block}
.guide-settings{border:1px solid var(--line);border-radius:12px;padding:14px 18px;margin-bottom:20px;background:var(--surface)}.guide-settings summary{cursor:pointer;font-weight:650}.guide-settings p{font-size:13px;color:var(--muted);line-height:1.6}.guide-settings .actions{display:flex;gap:8px;flex-wrap:wrap}.guide-settings .btn{font-size:13px}
.guide-settings{scroll-margin-top:90px}

.guide-design-tools,.guide-background,.guide-ai{display:grid;gap:12px;margin-bottom:16px}.guide-design-tools label,.guide-ai label,.guide-identity label{display:grid;gap:8px;font-size:14px}.guide-design-tools .input,.guide-ai .input{width:100%;min-width:0;font:inherit}.guide-background{border:1px solid var(--line);border-radius:12px;padding:14px}.guide-background h3{margin:0}.guide-ai{margin-top:16px}.guide-selected{outline:5px solid #72b7ff!important;outline-offset:5px}.guide-identity{border-top:1px solid var(--line);padding-top:16px}.guide-identity summary{cursor:pointer}.guide-identity[open]{display:grid;gap:14px}.guide-preview:has(.guide-scene){cursor:crosshair}.guide-progress li{flex:1}

.guide-design-tools,.guide-ai{border:0;padding:0;min-width:0}.guide-design-tools:disabled,.guide-ai:disabled{opacity:.65}

@media(min-width:761px){.guide-ai{grid-template-columns:1fr 1fr}.guide-ai>p,.guide-ai>label:has(textarea),.guide-ai>.actions{grid-column:1/-1}}

/* The first decision is a design, not a wall of controls. */
.guide-collection-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;flex-wrap:wrap}.guide-collection-head span{font-size:12px;color:var(--muted)}
.guide-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.guide-collection-card{min-width:0;display:flex;flex-direction:column;gap:7px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);padding:8px;color:var(--text);font:inherit;text-align:start;cursor:pointer;overflow:hidden}.guide-collection-card b{font-size:14px;padding:0 3px}.guide-collection-card small{font-size:12px;line-height:1.45;color:var(--muted);padding:0 3px 5px}.guide-thumb{display:block;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:7px;isolation:isolate;pointer-events:none}.guide-thumb-scene{display:block;width:1920px;height:1080px;position:absolute;top:0;left:0;transform-origin:top left}.guide-collection-card:focus-visible{outline:3px solid #90b0ff;outline-offset:3px}.guide-collection-filters{display:flex;flex-wrap:wrap;gap:6px}.guide-collection-filters .btn{font-size:12px;padding:7px 10px}.guide-customize{border:1px solid var(--line);padding:14px;border-radius:12px}.guide-customize[open]{display:grid;gap:16px}.guide-customize summary,.guide-ai-drawer summary{cursor:pointer;font-size:14px;font-weight:650}.guide-customize label{display:grid;gap:8px}.guide-editor-promise{border-inline-start:3px solid #7f8eff;padding-inline-start:12px;font-size:13px!important;line-height:1.65;color:var(--muted)}.guide-editor-promise a{display:inline-block;margin-top:6px;color:#aebcff}.guide-ai-drawer{border-top:1px solid var(--line);padding-top:14px;margin-top:12px}.guide-preview-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;flex-wrap:wrap}.guide-preview-actions .btn{font-size:13px}.guide-ai-drawer .guide-ai{margin-top:14px}
@media(max-width:760px){.guide-collection{gap:8px}.guide-collection-card small{font-size:11px}.guide-collection-card b{font-size:13px}.guide-preview-card:has(.guide-ai-drawer){padding:12px}.guide-collection-head{font-size:13px}}

/* Keep the design choices and full preview near the top of the first screen. */
.guide-app:has(.guide-collection) .guide-heading .eyebrow,.guide-app:has(.guide-collection) .guide-heading>p{display:none}
.guide-app:has(.guide-collection){padding-top:14px}.guide-app:has(.guide-collection) .guide-heading{margin:10px 0}.guide-app:has(.guide-collection) .guide-heading h1{font-size:26px;margin:4px 0}.guide-app:has(.guide-collection) .guide-progress{margin:12px 0 18px}

.guide-preview-background{border:0;padding:0;margin:0;display:grid;gap:10px;min-width:0}.guide-preview-background legend{font-size:13px;margin-bottom:8px}.guide-background-choices{display:flex;gap:8px;flex-wrap:wrap}.guide-background-choices .btn{font-size:12px;padding:9px 12px}.guide-solid-colour{display:flex!important;align-items:center;gap:12px}.guide-solid-colour input{width:64px;height:36px;border:1px solid var(--line);background:transparent;border-radius:6px;cursor:pointer}

/* Compact navigation leaves room for the design and its controls on arrival. */
.guide-app,.guide-app:has(.guide-collection){padding-top:10px}
.guide-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 10px;min-height:28px}
.guide-topbar h1{font-size:18px;line-height:1.3;margin:0;font-weight:600;color:var(--muted)}
.guide-topbar .back-link{font-size:13px;margin:0}
.guide-progress,.guide-app:has(.guide-collection) .guide-progress{margin:0 0 14px;gap:6px}
.guide-progress button{padding:8px 10px;border-radius:9px;min-height:42px}
.guide-progress span{width:23px;height:23px;font-size:12px}
.guide-preview-head{margin-bottom:10px}
.guide-preview-head,.guide-preview-status{align-items:center}
.guide-preview-status{display:flex;flex-wrap:wrap;gap:8px;color:var(--muted)}
.guide-preview-status .btn{min-height:34px;padding:4px 10px;font-size:12px;white-space:normal}
.guide-design-tools{gap:10px;margin-bottom:12px}
.guide-page-types{display:grid;gap:8px;min-width:0}
.guide-page-types>b{font-size:13px;font-weight:600}
.guide-type-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.guide-type-card{min-width:0;padding:4px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--text);font:inherit;font-size:11px;cursor:pointer;display:grid;align-content:start;gap:5px;text-align:center}
.guide-type-card>span:last-child{padding:0 2px 3px;line-height:1.25;overflow-wrap:anywhere}
.guide-type-card:focus-visible{outline:3px solid #90b0ff;outline-offset:2px}
.guide-page-types .guide-hint,.guide-preview-background .guide-hint{margin:0;font-size:12px;line-height:1.45}
.guide-preview-background{gap:7px}.guide-preview-background legend{margin-bottom:5px}
.guide-motion-choice{display:flex;align-items:center;gap:8px;flex:1;max-width:360px;font-size:12px;color:var(--muted)}
.guide-motion-choice .input{min-width:0;width:auto;flex:1;font-size:13px;padding:8px}
.guide-preview-actions{justify-content:flex-start;margin-top:10px}
.guide-ai-examples{display:flex;flex-wrap:wrap;gap:6px;grid-column:1/-1}
.guide-ai-examples .btn{font-size:12px;padding:7px 9px}
@media(max-width:1050px){.guide-progress button{flex-direction:row;align-items:center}.guide-type-choices{gap:4px}.guide-type-card{font-size:10px;padding:3px}}
@media(max-width:760px){.guide-topbar{gap:8px}.guide-topbar h1{font-size:13px;text-align:end}.guide-progress button{flex-direction:column;align-items:start;min-height:60px;padding:6px;font-size:10px}.guide-type-card{font-size:10px}.guide-motion-choice{max-width:none}.guide-preview-actions{gap:8px}.guide-preview-actions>.btn{padding:8px;font-size:12px}.guide-motion-choice>span{display:none}}

/* Match the page creator’s schematic icons; keep controls above the stage compact. */
.guide-type-card .preview-cards{grid-template-rows:1fr}.guide-type-card .preview-cards i:nth-child(n+4){display:none}
.guide-type-card .guide-layout-icon{position:relative;display:grid;gap:4px;width:92px;min-width:92px;height:64px;grid-template-columns:repeat(3,1fr);padding:7px;border:1px solid var(--line);border-radius:6px;background:#132d49;overflow:hidden;box-sizing:border-box}
.guide-type-card .guide-layout-icon i{display:block;background:#517297;border-radius:2px;min-height:0}
.guide-type-card .preview-columns{grid-template-columns:repeat(5,1fr);grid-template-rows:9px 1fr}
.guide-type-card .preview-columns i:first-child{grid-column:1/-1;background:#8abaff}
.guide-type-card .preview-hero{grid-template-columns:1.8fr 1fr 1fr;grid-template-rows:9px 1fr}
.guide-type-card .preview-hero i:first-child{grid-column:1/-1}
.guide-type-card .preview-hero i:nth-child(2){background:#8abaff}
.guide-type-card .preview-hero i:nth-child(n+5){display:none}
.guide-type-card .preview-cards{grid-template-columns:repeat(3,1fr)}
.guide-type-card .preview-cards i{position:relative}
.guide-type-card .preview-cards i:after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#ffda83;top:6px;left:50%;transform:translateX(-50%)}
.guide-type-card .preview-trend{background:repeating-linear-gradient(0deg,#132d49,#132d49 14px,#294660 15px)}
.guide-type-card .preview-trend i{display:none}
.guide-type-card .preview-trend:after{content:'';position:absolute;inset:14px 8px;background:#8abaff;clip-path:polygon(0 65%,20% 45%,40% 52%,60% 20%,80% 30%,100% 0%,100% 6%,80% 36%,60% 26%,40% 58%,20% 51%,0 71%)}
.guide-type-card{justify-items:center;padding:5px 3px;gap:3px}.guide-type-card .guide-layout-icon{width:58px;min-width:0;height:40px;padding:4px;gap:3px;border-radius:4px;pointer-events:none}.guide-type-card .preview-columns,.guide-type-card .preview-hero{grid-template-rows:5px 1fr}.guide-type-card .preview-cards i:after{width:4px;height:4px;top:4px}.guide-type-card .preview-trend:after{inset:8px 5px}.guide-type-card>span:last-child{padding:0;font-size:10px;line-height:1.2}.guide-type-choices{gap:6px}.guide-page-types{gap:0}.guide-preview-head{margin-bottom:7px;align-items:baseline}.guide-preview-head>b{font-size:12px}.guide-preview-head>span{font-size:11px}.guide-design-tools{gap:7px;margin-bottom:8px}.guide-preview-background{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.guide-background-label{font-size:11px;color:var(--muted)}.guide-background-choices{gap:4px;flex-wrap:wrap}.guide-background-choices .btn{font-size:11px;padding:5px 8px;min-height:30px;border-radius:7px}.guide-solid-colour{font-size:11px!important;gap:6px}.guide-solid-colour input{width:38px;height:28px}.guide-background-help{position:relative;font-size:14px;color:var(--muted);margin-inline-start:auto}.guide-background-help summary{cursor:pointer;list-style:none;padding:4px}.guide-background-help summary::-webkit-details-marker{display:none}.guide-background-help>p{position:absolute;inset-inline-end:0;top:100%;z-index:5;width:min(300px,65vw);padding:12px!important;background:var(--surface-2);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 28px #0005}.guide-page-help{margin:8px 0 0;font-size:11px;line-height:1.4}.guide-preview-actions{margin-top:8px}@media(max-width:760px){.guide-type-card .guide-layout-icon{width:48px;height:34px}.guide-type-card>span:last-child{font-size:9px}.guide-preview-head{gap:6px}.guide-background-choices .btn{font-size:10px;padding:5px 6px}.guide-background-label{display:none}.guide-type-choices{gap:4px}}
.guide-preview-card>.guide-page-help{display:block}@media(max-width:760px){.guide-type-card>span:last-child{font-size:10px}}

/* One navigation row, guidance first, and media controls beside motion. */
.guide-stepbar{display:flex;align-items:center;gap:8px;margin-bottom:12px;min-width:0}
.guide-stepbar .guide-progress{flex:1;min-width:0;margin:0!important}
.guide-back{display:grid;place-items:center;flex:0 0 30px;height:36px;border:1px solid var(--line);border-radius:8px;color:var(--muted);text-decoration:none;font-size:19px}
.guide-back:hover,.guide-back:focus-visible{color:var(--text);border-color:#8799ff}
.guide-page-types{gap:7px}.guide-page-types .guide-page-help{margin:0;font-size:12px;line-height:1.45}
.guide-preview-actions{gap:8px;align-items:center}
.guide-preview-actions>.btn{white-space:nowrap}
.guide-motion-choice{max-width:260px;min-width:180px}
.guide-preview-background{flex:1;min-width:200px;gap:5px}
.guide-background-choice{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);flex:1;min-width:0}
.guide-background-choice .input{flex:1;min-width:0;max-width:230px;width:100%;font-size:12px;padding:8px}
.guide-background-dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-sizing:border-box;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:20px;background:var(--surface);color:var(--text);box-shadow:0 20px 80px #0008}
.guide-background-dialog::backdrop{background:#050812b8}
.guide-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.guide-dialog-heading h2{margin:0;font-size:20px}.guide-dialog-heading .btn{font-size:22px;padding:4px 10px}
.guide-background-dialog>fieldset{margin:0;padding:0;border:0;min-width:0}
.guide-background-dialog .guide-background{border:0;padding:0;margin:0;gap:14px}
.guide-background-dialog label{display:grid;gap:7px;font-size:13px}
.guide-background-dialog .input{width:100%;min-width:0;box-sizing:border-box;font:inherit}
.guide-background-dialog textarea{min-height:90px;resize:vertical}
.guide-background-dialog .guide-hint{margin:16px 0 0;font-size:12px}
@media(max-width:760px){.guide-stepbar{gap:4px}.guide-back{flex-basis:24px;font-size:16px}.guide-preview-actions>.guide-preview-background{flex-basis:100%}.guide-background-choice .input{max-width:none}.guide-preview-actions .guide-motion-choice{min-width:150px}.guide-page-types .guide-page-help{font-size:11px}.guide-background-dialog{padding:16px}}

.guide-glass-controls{display:grid;gap:12px;margin-top:14px}.guide-glass-controls[hidden]{display:none!important}.guide-glass-controls label{display:grid;grid-template-columns:1fr auto;gap:6px;font-size:13px}.guide-glass-controls input{grid-column:1/-1;width:100%;accent-color:#93b7ff}.guide-glass-controls output{font-size:12px;color:var(--muted)}
.guide-chat{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px}.guide-chat>*{grid-column:1!important;min-width:0}.guide-chat-log{display:flex;flex-direction:column;gap:10px;max-height:300px;overflow:auto;scrollbar-width:thin}.guide-chat-message{max-width:92%;border:1px solid var(--line);background:var(--surface-2);padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.guide-chat-message b{font-size:11px;color:var(--muted);display:block;margin-bottom:5px}.guide-chat-message p{margin:0;white-space:pre-wrap}.guide-chat-user{align-self:flex-end;background:#7186ff1c;border-color:#829bff45}.guide-chat-assistant{align-self:flex-start}.guide-chat-targeting summary{cursor:pointer;font-size:12px;color:var(--muted)}.guide-chat-targeting label{display:grid;gap:6px;margin-top:10px}.guide-chat textarea{min-height:80px;resize:vertical}.guide-chat>.guide-hint{margin:0}.guide-ai-drawer summary{font-size:14px}.guide-form .guide-palettes{margin-top:8px}
#guide-design-status{margin:6px 0;font-size:12px}#guide-design-status[hidden]{display:none}

/* Desktop design workspace: choices, preview and a permanently open assistant. */
.guide-app:has(.guide-layout-design){max-width:1800px;box-sizing:border-box;padding-inline:20px}
.guide-workspace{min-width:0;max-width:100%}
.guide-layout.guide-layout-design{grid-template-columns:minmax(340px,400px) minmax(420px,1fr) minmax(340px,380px);gap:16px;min-width:1140px;align-items:start}
.guide-layout-design>.guide-form{padding:16px}
.guide-layout-design .guide-fields h2{font-size:20px}
.guide-layout-design .guide-fields>p{font-size:13px}
.guide-layout-design .guide-collection{gap:8px}
.guide-layout-design .guide-collection-card b{font-size:12px}
.guide-layout-design .guide-collection-card small{font-size:11px}
.guide-layout-design>.guide-preview-card{grid-column:2;grid-row:1;position:sticky;top:86px;padding:14px}
.guide-assistant-card{grid-column:3;grid-row:1;position:sticky;top:86px;min-width:0;border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:16px;max-height:calc(100dvh - 110px);overflow-y:auto;box-sizing:border-box;scrollbar-width:thin}
.guide-assistant-card>h2{font-size:17px;line-height:1.4;margin:0 0 12px}
.guide-assistant-card .guide-chat{margin:0;padding:0}
.guide-assistant-card .guide-chat-log{max-height:300px}
.guide-assistant-card .guide-ai-examples{gap:5px}
.guide-assistant-card .guide-ai-examples .btn{font-size:11px;padding:6px 8px}
.guide-assistant-card .actions{display:grid;gap:6px}
.guide-assistant-card .actions .btn{font-size:12px;width:100%}
.guide-assistant-card textarea{min-height:96px}
.guide-assistant-card .guide-chat-message{max-width:100%}
.guide-wide-notice{display:none}
@media(max-width:1199px){.guide-app:has(.guide-layout-design)>.guide-wide-notice{display:block;margin:0 0 12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--muted);font-size:13px}.guide-app:has(.guide-layout-design)>.guide-workspace{overflow-x:auto;padding-bottom:12px}.guide-layout-design>.guide-form{grid-column:1;grid-row:1}.guide-layout-design>.guide-preview-card{position:static}.guide-layout-design>.guide-assistant-card{position:static;max-height:none}}
.guide-live-pages{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden;padding:10px 0 4px}.guide-live-pages .btn{flex:0 0 auto;display:grid;text-align:start;gap:4px;height:auto;min-height:48px;box-sizing:border-box;max-width:210px;white-space:normal;padding:9px 12px}.guide-live-pages small{font-size:10px;color:var(--muted)}
.guide-page-dialog{background:var(--surface,#11151e);color:var(--text,#eef2ff);border:1px solid var(--line,#343c4f);border-radius:16px;width:min(580px,90vw);max-height:85vh;overflow:auto;padding:22px}.guide-page-dialog::backdrop{background:#0009;backdrop-filter:blur(3px)}.guide-page-dialog label{display:grid;gap:8px;margin:12px 0}.guide-page-dialog h2{font-size:20px;margin:0}.guide-page-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.guide-page-search-results{display:grid;gap:6px;margin:10px 0;max-height:260px;overflow:auto}.guide-page-search-results .btn{display:grid;text-align:start;gap:5px}.guide-page-search-results small{font-size:11px;color:var(--muted)}.guide-page-dialog>.actions{margin-top:16px}.guide-page-dialog .guide-chips{margin:12px 0}.guide-page-dialog .input{width:100%}
.guide-preview [data-guide-change-city]{cursor:pointer}.guide-preview [data-guide-change-city]:hover,.guide-preview [data-guide-change-city]:focus-visible{outline:4px solid #8799ff;outline-offset:-4px}.guide-city-edit-help{font-size:11px;margin:4px 0}
.guide-inspector{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:16px}.guide-inspector header{display:flex;align-items:center;justify-content:space-between}.guide-inspector h2{font-size:17px;margin:0}.guide-inspector p{margin:8px 0}.guide-inspector header .btn{padding:0 10px;height:30px}.guide-property-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.guide-property-fields label{display:grid;gap:5px;min-width:0;font-size:12px}.guide-property-fields .input{width:100%;box-sizing:border-box;min-width:0;font-size:13px}.guide-property-fields label:has([data-guide-property=titleText]),.guide-property-fields label:has([data-guide-property=channelLabel]){grid-column:1/-1}.guide-inspector summary{cursor:pointer;font-size:12px;color:var(--muted)}.guide-inspector .actions{display:flex;margin-top:12px}.guide-inspector .actions .btn{font-size:11px;width:auto;padding:5px 10px}.guide-inline-editor{position:absolute;z-index:20;width:250px;max-width:calc(100% - 8px);padding:8px;border:1px solid #8799ff;background:var(--surface,#10151f);border-radius:9px;box-shadow:0 12px 32px #0008;box-sizing:border-box}.guide-inline-editor .input{width:100%;box-sizing:border-box;font-size:14px}.guide-inline-editor small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.guide-inline-results{max-height:180px;overflow:auto}.guide-inline-results button{display:block;width:100%;text-align:start;padding:9px;background:transparent;color:var(--text);border:0;border-bottom:1px solid var(--line);cursor:pointer}.guide-inline-results button:hover{background:#8799ff22}.guide-preview .region-title,.guide-preview .channel-label{cursor:text}
.guide-property-enter{grid-column:1/-1;font-size:10px;color:var(--muted);margin-top:-6px}
.guide-form[data-local-busy=true] .guide-fields:disabled,.guide-form[data-local-busy=true] .guide-fields button:disabled{opacity:1}
.guide-transform-box{position:absolute;z-index:12;pointer-events:none;box-sizing:border-box;border:1px solid #91a7ff}.guide-transform-handle{position:absolute;width:12px;height:12px;min-width:12px;padding:0;border:2px solid #fff;border-radius:3px;background:#647cff;pointer-events:auto;touch-action:none;box-shadow:0 0 3px #000}.guide-transform-handle.handle-nw{left:-6px;top:-6px;cursor:nwse-resize}.guide-transform-handle.handle-ne{right:-6px;top:-6px;cursor:nesw-resize}.guide-transform-handle.handle-sw{left:-6px;bottom:-6px;cursor:nesw-resize}.guide-transform-handle.handle-se{right:-6px;bottom:-6px;cursor:nwse-resize}.guide-preview{touch-action:none}.guide-preview .guide-selected{cursor:move;user-select:none}
.guide-box-mode{grid-column:1/-1}
.guide-transform-handle.handle-n{left:calc(50% - 6px);top:-6px;cursor:ns-resize}.guide-transform-handle.handle-s{left:calc(50% - 6px);bottom:-6px;cursor:ns-resize}.guide-transform-handle.handle-w{left:-6px;top:calc(50% - 6px);cursor:ew-resize}.guide-transform-handle.handle-e{right:-6px;top:calc(50% - 6px);cursor:ew-resize}

.guide-inspector{margin-bottom:12px;padding-bottom:10px}.guide-inspector h2{font-size:15px}.guide-inspector .guide-hint{font-size:11px;line-height:1.4;margin:6px 0}.guide-inspector .guide-property-fields{gap:7px 10px;margin:8px 0}.guide-inspector .guide-property-fields label{font-size:11px;gap:3px;align-content:start}.guide-inspector .guide-property-fields .input{height:30px;min-height:30px;border-radius:6px;padding:0 7px;font-size:12px}.guide-inspector input[type=color].input{padding:3px;height:30px}.guide-inspector input[type=checkbox]{width:16px;height:16px;margin:5px 0}.guide-inspector .guide-box-mode{grid-column:1/-1}.guide-surface-hint,.guide-icon-chooser{grid-column:1/-1}.guide-icon-chooser{border:1px solid var(--line);border-radius:8px;padding:8px}.guide-icon-chooser>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--text);font-size:12px}.guide-icon-current{display:flex;align-items:center;gap:6px;font-size:11px}.guide-icon-current .weather-icon{width:30px;height:30px;max-width:30px}.guide-icon-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;max-height:220px;overflow:auto;padding:2px}.guide-icon-packs button{min-width:0;border:1px solid var(--line);border-radius:7px;padding:6px 3px;background:var(--surface-2);color:var(--text);font:inherit;font-size:10px;cursor:pointer}.guide-icon-packs button[aria-pressed=true]{border-color:#8c9cff;box-shadow:0 0 0 1px #8c9cff}.guide-icon-samples{display:flex;justify-content:center;gap:2px;margin-bottom:4px}.guide-icon-samples .weather-icon{width:25px;height:30px;max-width:25px}.guide-icon-packs button:focus-visible{outline:2px solid #8c9cff;outline-offset:1px}

.guide-inspector .guide-property-fields>p{grid-column:1/-1}

.guide-opacity-control>span:first-child{display:flex;justify-content:space-between;gap:4px}.guide-opacity-control output{color:var(--text);font-variant-numeric:tabular-nums}.guide-opacity-inputs{display:flex;align-items:center;gap:6px;min-width:0}.guide-opacity-inputs input[type=range]{min-width:0;flex:1;width:50px;accent-color:#8799ff}.guide-inspector .guide-opacity-inputs .input{flex:0 0 52px;width:52px;padding:0 3px}.guide-underlay-note{grid-column:1/-1;background:#8799ff0d;border:1px solid var(--line);border-radius:6px;padding:6px}.guide-underlay-note .btn{font-size:11px;padding:4px 7px;height:auto}

.guide-family-choices{display:flex;gap:6px;flex-wrap:wrap}.guide-family-choices .btn{font-size:11px;padding:6px 9px;min-height:30px}.guide-family-choices .btn[aria-pressed=true]{border-color:#8c9cff;background:#7e8cff20}.guide-family-label{font-size:12px;margin:6px 0}.guide-family-note{font-size:11px;line-height:1.5;color:var(--muted)}

.guide-city-photo{border-top:1px solid var(--line,#29303c);padding-top:10px;margin-top:10px}.guide-city-photo h3{font-size:14px;margin:0 0 6px}.guide-city-photo>img{width:100%;height:100px;object-fit:cover;border-radius:8px;margin-bottom:8px}.guide-city-photo label{display:block;font-size:12px;margin-bottom:8px}.guide-city-photo .input{min-height:30px;padding:5px 8px;font-size:12px}.guide-city-photo small{font-size:10px;display:block;line-height:1.4}
.guide-city-photo label:has(input[type=file]){position:relative;padding:8px;border:1px solid var(--line,#29303c);border-radius:8px;text-align:center;cursor:pointer;background:var(--surface-2)}.guide-city-photo input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.guide-city-photo input[type=number]{height:32px;box-sizing:border-box}
/* Preview-only image affordances never appear in exported video. */
.guide-photo-edit{display:none;position:absolute;top:14px;inset-inline-start:14px;z-index:5;pointer-events:auto;border:1px solid rgba(255,255,255,.75);border-radius:10px;padding:9px 14px;background:rgba(5,20,40,.85);color:#fff;font:600 24px Inter,Arial,sans-serif;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.2)}
#guide-preview .city-photo-media{pointer-events:auto;cursor:pointer}
#guide-preview .city-photo-media.guide-selected>.guide-photo-edit{display:block}
.guide-photo-edit:hover,.guide-photo-edit:focus-visible{background:#244f91;outline:3px solid #a5c8ff;outline-offset:3px}
.hero-feature .guide-photo-edit{top:14px}
.panorama-band .guide-photo-edit{top:auto;bottom:44px;inset-inline-start:50%;transform:translateX(-50%)}
.guide-city-photo-preview{position:relative;overflow:hidden;margin:0 auto 8px;border-radius:8px;background:#142439;width:100%}
.guide-city-photo-preview img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.08)}
.guide-city-photo-ai{padding:10px 0;border-top:1px solid var(--line,#29303c)}
.guide-city-photo-ai summary{font-size:12px;font-weight:600;cursor:pointer}
.guide-city-photo-ai textarea{width:100%;box-sizing:border-box;height:72px;resize:vertical}
.guide-city-photo-ai .btn{width:100%;font-size:12px}
.guide-photo-framing{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.guide-photo-framing input[type=range]{width:100%;padding:0;min-height:24px;accent-color:#788bff}
.guide-photo-framing button{grid-column:1/-1;font-size:11px;min-height:30px}
.guide-photo-status:empty{display:none}
#guide-preview .city-photo-media.guide-selected{outline:3px solid #8da7ff;outline-offset:-3px}
.guide-new-page-preview{width:100%;aspect-ratio:16/9;position:relative;overflow:hidden;pointer-events:none;background:#111827;border-radius:10px}
.guide-new-page-preview>div{position:absolute;inset:0}
.guide-page-dialog:has(.guide-new-page-preview){width:min(720px,90vw)}
/* The guide stays compact; the assistant remains available throughout setup. */
.guide-onboarding{margin:0 0 10px}
.guide-onboarding-toolbar{display:flex;justify-content:flex-end;gap:8px;margin:-4px 0 6px}
.guide-onboarding-toolbar .btn{padding:4px 9px;min-height:26px;font-size:11px}
.guide-onboarding-body{display:grid;grid-template-columns:auto minmax(0,1fr) auto 28px;gap:12px;align-items:center;background:#7185ff0d;border:1px solid #8294ff45;border-radius:10px;padding:9px 12px}
.guide-onboarding-body ol{list-style:none;display:flex;gap:12px;margin:0;padding:0;font-size:11px;color:var(--muted)}
.guide-onboarding-body li{display:flex;gap:5px;align-items:center}
.guide-onboarding-body li[aria-current]{color:var(--text);font-weight:600}
.guide-onboarding-body li span{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#7589ff25}
.guide-onboarding-body p{font-size:12px;color:var(--muted);line-height:1.45;margin:0}
.guide-onboarding-body .btn{font-size:12px;min-height:32px;padding:6px 10px}
.guide-example-label{font-size:12px;padding:6px 10px;margin:0 0 8px;border-radius:7px;background:#ffce7117;color:#eaca89}
.guide-example-label[hidden]{display:none}
@media(min-width:1200px){.guide-layout-assist:not(.guide-layout-design){grid-template-columns:minmax(260px,.9fr) minmax(0,1.5fr) minmax(300px,.9fr);gap:16px}.guide-app:has(.guide-layout-assist){max-width:2000px}.guide-layout-assist>.guide-assistant-card{display:flex;flex-direction:column;height:calc(100dvh - 110px);max-height:calc(100dvh - 110px);overflow:hidden}.guide-assistant-card #guide-inspector{flex:0 1 auto;max-height:32%;overflow:auto;scrollbar-width:thin}.guide-assistant-card .guide-ai{display:flex;flex-direction:column;flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.guide-assistant-card .guide-chat-log{flex:1 1 80px;min-height:60px;max-height:none;overflow:auto}.guide-assistant-card .guide-ai>label{flex:none}.guide-assistant-card .guide-ai textarea{height:70px;min-height:60px}.guide-assistant-card>.guide-ai>.actions{flex:none}.guide-assistant-card>h2{flex:none;margin:8px 0}.guide-assistant-card .guide-chat-targeting{flex:none}.guide-assistant-card .guide-ai-examples{flex:none}}
@media(max-width:1199px){.guide-layout-assist:not(.guide-layout-design)>.guide-assistant-card{grid-column:1/-1;grid-row:auto;position:static;max-height:none}.guide-onboarding-body{grid-template-columns:1fr auto 28px}.guide-onboarding-body ol{grid-column:1/-1}.guide-onboarding-body p{grid-column:1}.guide-onboarding-body .btn{grid-column:auto}.guide-onboarding-body{gap:8px}}
@media(max-width:600px){.guide-onboarding-body ol{flex-wrap:wrap;gap:7px}.guide-onboarding-body{grid-template-columns:1fr 28px}.guide-onboarding-body p{grid-column:1/-1}.guide-onboarding-body [data-guide-onboarding-action]{grid-column:1;grid-row:3}.guide-onboarding-body [data-guide-help-close]{grid-column:2;grid-row:3}.guide-onboarding-toolbar{justify-content:space-between}}
@media(min-width:1200px){.guide-assistant-card .guide-chat{display:flex!important}}
.guide-stepbar .guide-onboarding-toolbar{margin:0;flex-shrink:0;gap:4px}
.guide-stepbar .guide-onboarding-toolbar .btn{min-width:30px;height:30px;min-height:30px;padding:4px 7px;font-size:12px}
.guide-onboarding:not(:has(.guide-onboarding-body)){margin:0}

/* One document scroll: choosing, inspecting and chatting never trap the wheel. */
.guide-stepbar{flex-wrap:wrap;row-gap:4px;margin-bottom:8px}
.guide-stepbar>.guide-onboarding{flex:0 0 100%;margin:0}
.guide-stepbar .guide-onboarding-body{display:flex;gap:8px;border:0;border-radius:0;background:none;padding:0 0 0 38px;min-height:26px}
.guide-stepbar .guide-onboarding-body p{flex:1;font-size:11px;line-height:1.35}
.guide-stepbar .guide-onboarding-body .btn{min-height:24px;height:24px;padding:2px 7px;font-size:11px}
.guide-layout-assist>.guide-form,.guide-layout-assist>.guide-assistant-card{position:static;height:auto;max-height:none;overflow:visible}
.guide-layout-assist .guide-fields,.guide-layout-assist .guide-collection{height:auto;max-height:none;overflow:visible}
.guide-layout-assist>.guide-assistant-card{display:block}
.guide-layout-assist .guide-assistant-card #guide-inspector,.guide-layout-assist .guide-assistant-card .guide-ai,.guide-layout-assist .guide-assistant-card .guide-chat-log,.guide-layout-assist .guide-icon-packs{height:auto;max-height:none;overflow:visible}
.guide-layout-assist .guide-assistant-card .guide-chat{display:grid!important;gap:10px}
.guide-layout-assist .guide-chat-log:empty{display:none}
.guide-layout-assist .guide-navigation{position:static}
.guide-layout-design .guide-fields>h2+p{display:none}
.guide-layout-design .guide-fields{gap:10px}
@media(min-width:1200px){.guide-layout-assist>.guide-preview-card{position:sticky;top:70px}}

/* The preview and its controls stay together within the desktop viewport. */
.guide-layout-design>.guide-preview-card{box-sizing:border-box}
.guide-layout-design #guide-preview{margin-inline:auto;max-width:100%;flex:none}
.guide-layout-design .guide-preview-head{margin-bottom:8px}
.guide-layout-design .guide-live-pages{flex-wrap:nowrap;padding:6px 0 2px}
.guide-layout-design .guide-live-pages .btn{min-height:38px;padding:5px 9px;font-size:11px}
.guide-layout-design .guide-preview-actions{margin-top:6px;gap:7px}
.guide-layout-design .guide-preview-actions .btn,.guide-layout-design .guide-preview-actions .input{min-height:32px;height:32px;font-size:11px}
.guide-layout-design .guide-preview-actions label{font-size:11px}
.guide-layout-design .guide-city-edit-help{font-size:10px;line-height:1.3;margin:5px 0 0}
.guide-chosen-design{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:9px}
.guide-chosen-design>.guide-thumb{flex:0 0 110px;width:110px}
.guide-chosen-design>div{min-width:0;display:grid;gap:5px}
.guide-chosen-design small{color:var(--muted);font-size:10px}
.guide-chosen-design b{font-size:13px}
.guide-chosen-design .btn{padding:4px 7px;min-height:26px;font-size:11px}
.guide-page-dialog:has([data-guide-apply-layout]){width:min(700px,90vw)}
.guide-page-dialog .guide-type-choices{margin:14px 0}
.guide-page-dialog [data-guide-apply-layout]:disabled{opacity:.35;cursor:not-allowed}

.guide-layout-design .guide-live-pages{overflow:visible;align-items:center}
.guide-page-tabs{display:flex;gap:7px;min-width:0;flex:1;overflow-x:auto;padding:2px}
.guide-layout-design .guide-page-options{font-size:22px;padding:1px 8px}
.guide-layout-design [data-guide-new-page]{white-space:nowrap}

/* Keep the daily controls concise; detailed explanations remain in the guide. */
.guide-layout-design .guide-customize[open]{gap:10px}
.guide-layout-design .guide-form>p.guide-hint{display:none}
.guide-layout-design .guide-editor-promise{font-size:11px!important;line-height:1.5}
.guide-ai-busy{width:min(430px,calc(100vw - 48px));box-sizing:border-box;padding:32px;border:1px solid #565f97;border-radius:18px;background:#141824;color:#f3f5ff;text-align:center;box-shadow:0 20px 90px #0009;overflow:hidden}
.guide-ai-busy::backdrop{background:rgba(6,9,17,.64);backdrop-filter:blur(3px)}
.guide-ai-busy h2{font-size:19px;line-height:1.4;margin:18px 0 10px}
.guide-ai-busy p{font-size:14px;line-height:1.6;color:#b7c1d7;margin:0}
.guide-ai-busy .spinner{display:inline-block;width:28px;height:28px;border-width:3px}
.guide-ai-busy-progress{height:3px;margin:24px -32px -32px;background:linear-gradient(90deg,transparent,#7988ff,transparent);background-size:200% 100%;animation:guide-ai-progress 1.8s linear infinite}
@keyframes guide-ai-progress{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.guide-ai-busy-progress{animation:none}.guide-ai-busy .spinner{animation:none}}
.guide-simple-surfaces .guide-family-choices{display:flex;flex-wrap:wrap;gap:5px}
.guide-simple-intensity{display:flex;align-items:center;gap:12px;margin-top:10px}
.guide-simple-intensity input{min-width:80px;flex:1}
.guide-simple-check{display:flex!important;align-items:center;gap:8px}
.guide-simple-check input{width:auto!important}
.guide-simple-advanced{margin-top:10px}
.guide-simple-icons .guide-icon-packs{grid-template-columns:repeat(2,minmax(0,1fr))}
.guide-background-choice{font-size:12px;white-space:nowrap}
.guide-page-dialog .guide-type-choices{grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0}
#guide-appearance-controls{display:grid;gap:12px}

.guide-inspector .guide-text-style-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) 45px 48px;gap:8px;align-items:end}
.guide-inspector .guide-text-style-row label{grid-column:auto}
.guide-inspector .guide-text-style-row input[type=checkbox]{appearance:none;width:100%;height:30px;margin:0;border:1px solid var(--line);border-radius:6px;background:var(--surface-2);cursor:pointer;display:grid;place-content:center}
.guide-inspector .guide-text-style-row input[type=checkbox]:before{content:'B';font-weight:800;font-size:15px;color:var(--muted)}
.guide-inspector .guide-text-style-row input[type=checkbox]:checked{border-color:#8c9cff;background:#8799ff25}
.guide-inspector .guide-text-style-row input[type=checkbox]:checked:before{color:var(--text)}
.guide-inspector .guide-text-style-row input:focus-visible{outline:2px solid #8c9cff;outline-offset:2px}
.guide-global-accent{display:flex;gap:10px;align-items:center}
.guide-global-accent input[type=color]{flex:0 0 48px;width:48px;height:34px;padding:3px}
.guide-global-accent .btn{flex:1}
.guide-simple-intensity{position:relative}.guide-simple-intensity output{position:absolute;inset-inline-end:0;top:0;font-size:11px;font-variant-numeric:tabular-nums}
.guide-background-library{border:0;padding:0;margin:8px 0}.guide-background-library summary{cursor:pointer;font-size:13px;padding:8px 0}
.guide-background-current img{display:block;width:100%;max-height:150px;aspect-ratio:16/9;object-fit:cover;border-radius:7px}
.guide-background-thumbnails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:2px}
.guide-background-thumbnails button{padding:0;min-width:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--surface-2);color:var(--text);text-align:start;cursor:pointer;font:inherit}
.guide-background-thumbnails button[aria-pressed=true]{border-color:#8c9cff;box-shadow:0 0 0 1px #8c9cff}
.guide-background-thumbnails img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--surface-2)}
.guide-background-thumbnails span{display:block;padding:7px;font-size:12px;overflow-wrap:anywhere}
.guide-photo-library summary{cursor:pointer;padding:8px 0;font-weight:600}
.guide-photo-thumbnails{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:2px}
.guide-photo-thumbnails button{min-width:0;padding:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--surface-2);color:var(--text);font:inherit;text-align:start;cursor:pointer}
.guide-photo-thumbnails button[aria-pressed=true]{border-color:#8c9cff;box-shadow:0 0 0 2px #8c9cff}
.guide-photo-thumbnails img,.guide-photo-empty{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;background:var(--surface-2)}
.guide-photo-thumbnails span:not(.guide-photo-empty){display:block;padding:6px;font-size:11px;overflow-wrap:anywhere}
.guide-photo-empty{display:grid;place-content:center;font-size:32px}
.guide-photo-thumbnails button:focus-visible{outline:2px solid #8c9cff;outline-offset:2px}

/* Desktop columns own their wheel scroll; reaching an edge never scrolls a neighbour. */
@media(min-width:1200px){
 html:has(.guide-layout-assist),body:has(.guide-layout-assist){overflow:hidden;overscroll-behavior:none}
 body:has(.guide-layout-assist) .app-footer{display:none}
 .guide-app:has(.guide-layout-assist){padding-bottom:16px}
 .guide-layout-assist{height:var(--guide-workspace-height,calc(100dvh - 140px));min-height:0;align-items:start}
 .guide-layout-assist>.guide-form,.guide-layout-assist>.guide-assistant-card{position:static;height:100%;max-height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scroll-behavior:auto}
 .guide-layout-assist>.guide-preview-card{position:static;top:auto;align-self:start}
 .guide-layout-assist .guide-assistant-card #guide-inspector,.guide-layout-assist .guide-assistant-card .guide-ai,.guide-layout-assist .guide-assistant-card .guide-chat-log,.guide-layout-assist .guide-icon-packs{height:auto;max-height:none;overflow:visible}
}

/* Two compact card choices; the existing material controls stay in the same section. */
.guide-card-style{display:grid;grid-template-columns:62px minmax(0,1fr);gap:6px 8px;margin:8px 0;align-items:end}
.guide-card-style label{display:grid;gap:4px;font-size:11px;margin:0}.guide-card-style input,.guide-card-style select{width:100%;height:32px;min-height:32px;box-sizing:border-box}
.guide-card-style button{grid-column:1/-1;min-height:26px;padding:4px 8px;font-size:10px;justify-self:start}

/* Element editing has one home; bulletin-wide settings are an optional drawer. */
.guide-general{border:1px solid var(--line);border-radius:10px;padding:12px;min-width:0}
.guide-general>summary{cursor:pointer;font-size:14px;font-weight:650}
.guide-general-content{display:grid;gap:12px;margin-top:14px;min-width:0}
.guide-general-content>h2{font-size:17px}
.guide-general-content>p{font-size:12px}
.guide-general-content .guide-advanced{margin-top:0;padding-top:10px}
.guide-form #guide-inspector{min-width:0}
.guide-form .guide-inspector{margin:0;border:0;padding:0}
.guide-form .guide-chat-targeting{margin-top:10px}
.guide-item-toolbar{margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.guide-history{display:flex;gap:8px;margin-bottom:12px}
.guide-history .btn{flex:1;min-height:34px;padding:6px 10px}
.guide-item-toolbar h2{font-size:14px;margin:0 0 8px}
.guide-item-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.guide-item-choice{display:flex;min-width:0}
.guide-item-choice>.btn{min-width:0;min-height:34px;padding:6px 8px;font-size:12px;text-align:start;white-space:normal}
.guide-item-choice>[data-guide-inspect]{flex:1;display:flex;align-items:center;justify-content:space-between;gap:4px}
.guide-item-choice>[aria-pressed=true]{background:#8799ff25;border-color:#8c9cff;color:var(--text)}
.guide-item-choice small{font-size:10px;color:var(--muted)}
.guide-item-choice .guide-item-visibility{flex:0 0 42px;padding:4px;text-align:center;font-size:10px}
.guide-item-choice:has(.guide-item-visibility)>[data-guide-inspect]{border-start-end-radius:0;border-end-end-radius:0}
.guide-item-visibility{border-start-start-radius:0;border-end-start-radius:0}
.guide-day-format,.guide-heading-align{grid-column:1/-1}
/* Saving and clearing status must not change the 16:9 preview's available height. */
#guide-design-status{display:block;height:18px;min-height:18px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:6px 0}
#guide-design-status[hidden]{display:block!important;visibility:hidden}
.guide-item-picker{display:grid;gap:6px;font-size:12px}
.guide-item-picker>span{display:flex;gap:6px;min-width:0}
.guide-item-picker select{flex:1;min-width:0;width:100%}
.guide-item-picker button{flex:none;padding:6px 10px}
.guide-global-tools{display:grid;gap:10px;border-top:1px solid var(--line);margin-top:18px;padding-top:14px}
.guide-global-tools>a{font-size:11px;color:var(--muted)}
.guide-settings-dialog{color:var(--text);background:var(--surface,#151a24);border:1px solid var(--line);border-radius:16px;width:min(880px,calc(100vw - 40px));max-height:86vh;padding:24px;overflow:auto}
.guide-settings-dialog::backdrop{background:#050912b8}
.guide-settings-dialog .guide-dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:20px}
.guide-settings-dialog h2{margin:0;font-size:20px}
.guide-settings-dialog .guide-settings-category{display:grid;gap:6px;font-size:12px;margin-bottom:20px}
.guide-settings-dialog .guide-settings-content{display:grid;gap:18px;padding:0;margin:0;border:0;min-width:0}
.guide-settings-dialog .guide-settings-content>label{display:grid;gap:6px}
.guide-settings-dialog #guide-appearance-controls{display:grid;gap:18px}
.guide-settings-dialog .guide-collection{grid-template-columns:repeat(3,minmax(0,1fr))}
.guide-settings-dialog .guide-chosen-design{margin:0}
.guide-settings-dialog .guide-settings-status:empty{display:none}
.guide-settings-dialog>.actions{justify-content:flex-end;margin-top:20px}
@media(max-width:650px){.guide-settings-dialog .guide-collection{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-settings-dialog{padding:16px}}

/* The document remains the main workspace at every step and screen size. */
.guide-layout.guide-layout-assist{min-width:0}
.guide-layout-assist:not(.guide-chat-open)>.guide-assistant-card{display:none!important}
@media(min-width:1200px){.guide-layout.guide-layout-assist:not(.guide-chat-open){grid-template-columns:clamp(300px,23vw,380px) minmax(0,1fr)}}
.guide-quick-settings{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 10px}
.guide-media-progress{padding:.6rem;margin:.4rem 0;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:8px}

.guide-layout-assist .guide-preview-actions{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.guide-layout-assist .guide-preview-actions .guide-motion-choice{max-width:none;min-width:0;display:flex;flex-wrap:wrap;gap:5px}
.guide-layout-assist .guide-motion-choice .input{flex:1 1 100px;width:100%;max-width:100%;min-width:0}
.guide-layout-assist .guide-preview-actions [data-guide-background-edit]{grid-column:1/-1;min-width:0;width:100%;height:auto;min-height:34px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.guide-layout-assist .guide-form #first-bulletin-form{min-height:100%;display:flex;flex-direction:column}
.guide-layout-assist .guide-form .guide-fields{flex:1 0 auto}
.guide-layout-assist .guide-navigation{position:sticky;bottom:0;z-index:4;display:grid;grid-template-columns:1fr;gap:6px;padding:10px 0;background:var(--surface);border-top:1px solid var(--line)}
.guide-layout-assist .guide-navigation .btn{width:100%;box-sizing:border-box;margin:0;min-height:34px;white-space:normal;text-align:center;justify-content:center}
.guide-layout-assist .guide-feedback{flex:none;min-height:22px;margin-top:10px}
.guide-layout-assist .guide-feedback p{font-size:11px;margin:0 0 6px}
.guide-chat-quota{font-size:11px;color:var(--muted);margin:0}
.guide-chat-quota:has([data-guide-chats-empty]:not([hidden])){color:#ffd48a}
.guide-chat-suggestions{flex:none;min-width:0;font-size:11px;color:var(--muted)}
.guide-chat-suggestions>summary{cursor:pointer;padding:4px 0}
.guide-chat-suggestions .guide-ai-examples{margin-top:6px}
@media(min-width:1200px){
 .guide-layout.guide-layout-assist{grid-template-columns:clamp(250px,20vw,320px) minmax(0,1fr) clamp(250px,21vw,340px);gap:16px}
 .guide-layout-assist>.guide-form{padding:14px 14px 0}
 .guide-layout-assist>.guide-assistant-card{display:flex;flex-direction:column;overflow:hidden;padding:16px;box-sizing:border-box}
 .guide-layout-assist>.guide-assistant-card>h2{flex:none;font-size:17px;margin:0 0 12px}
 .guide-layout-assist .guide-assistant-card .guide-ai{display:flex!important;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;gap:10px}
 .guide-layout-assist .guide-assistant-card .guide-chat-log{flex:1 1 auto;min-height:120px;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}
 .guide-layout-assist .guide-assistant-card .guide-ai>p,.guide-layout-assist .guide-assistant-card .guide-ai>label,.guide-layout-assist .guide-assistant-card .guide-ai>.actions,.guide-layout-assist .guide-assistant-card .guide-ai-examples,.guide-layout-assist .guide-assistant-card .guide-ai>small{flex:none}
 .guide-layout-assist .guide-assistant-card .guide-ai>label{margin-top:auto}
 .guide-layout-assist .guide-assistant-card .guide-ai textarea{height:84px;min-height:64px;max-height:140px;box-sizing:border-box}
 .guide-layout-assist .guide-assistant-card .guide-ai-examples .btn{font-size:11px;padding:6px 8px;white-space:normal}
 .guide-layout-assist .guide-assistant-card .guide-ai:has(.guide-chat-message)>.guide-hint:first-child{display:none}
}
@media(min-width:761px) and (max-width:1199px){
 .guide-app:has(.guide-layout-assist){padding-inline:16px}
 .guide-app:has(.guide-layout-design)>.guide-workspace{overflow:visible}
 .guide-layout.guide-layout-assist{grid-template-columns:minmax(240px,.72fr) minmax(0,1.5fr);gap:14px}
 .guide-layout-assist>.guide-form{grid-column:1;grid-row:1/span 2;padding:14px}
 .guide-layout-assist>.guide-preview-card{grid-column:2;grid-row:1;position:static}
 .guide-layout-assist>.guide-assistant-card{grid-column:2;grid-row:2;min-width:0}
}
@media(max-width:760px){
 .guide-app:has(.guide-layout-assist){padding-inline:12px}
 .guide-app:has(.guide-layout-design)>.guide-workspace{overflow:visible}
 .guide-layout.guide-layout-assist{grid-template-columns:minmax(0,1fr);min-width:0;gap:12px}
 .guide-layout-assist>.guide-preview-card{grid-column:1;grid-row:1;position:static;padding:10px}
 .guide-layout-assist>.guide-form{grid-column:1;grid-row:2;padding:14px}
 .guide-layout-assist>.guide-assistant-card{grid-column:1;grid-row:3;padding:14px}
 .guide-layout-assist .guide-live-pages{flex-wrap:wrap}
 .guide-layout-assist .guide-page-tabs{flex:1 0 100%}
 .guide-layout-assist .guide-navigation{position:static}
 .guide-app:has(.guide-layout-design)>.guide-wide-notice{font-size:11px;padding:8px;margin-bottom:10px}
}

/* Compare the same design across all supported page types before choosing it. */
.guide-settings-dialog{box-sizing:border-box}
.guide-settings-dialog:has(.guide-collection){width:min(1160px,calc(100vw - 40px))}
.guide-settings-dialog .guide-collection{grid-template-columns:minmax(0,1fr);gap:16px}
.guide-template-note{margin:0;padding:10px 12px;border-inline-start:3px solid #8b9aff;background:#7f8eff0c;border-radius:4px;font-size:13px;line-height:1.6;color:var(--muted)}
.guide-template-row{min-width:0;display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2)}
.guide-template-row[data-selected=true]{border-color:#8b9aff}
.guide-template-row header h3{margin:0 0 5px;font-size:16px;line-height:1.4}
.guide-template-row header p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.guide-template-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
.guide-template-previews figure{min-width:0;margin:0}
.guide-template-previews figcaption{margin-top:7px;font-size:12px;line-height:1.5;color:var(--muted)}
.guide-template-row footer{display:flex;justify-content:flex-end}
.guide-template-row footer .btn{font-size:13px;min-height:38px;white-space:normal}
.guide-template-row footer .btn[aria-pressed=true]::before{content:'✓';margin-inline-end:6px}
.guide-city-rows{display:grid;gap:8px;margin:12px 0 18px!important;padding-bottom:16px!important;border-bottom:1px solid var(--line)!important}
.guide-city-rows legend{font-weight:600;font-size:12px}
.guide-city-row{display:grid;grid-template-columns:20px minmax(0,1fr) 28px;gap:6px;align-items:start}
.guide-city-row-number{padding-top:9px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
.guide-city-row-field{min-width:0}
.guide-city-row .input{width:100%;min-width:0;height:36px;font-size:13px}
.guide-city-row>.btn{padding:0;width:28px;min-height:36px;font-size:18px}
.guide-city-row-results:not([hidden]):not(:empty){border:1px solid var(--line);border-radius:8px;margin-top:5px;max-height:200px;overflow:auto;background:var(--surface-2);font-size:12px}
.guide-city-row-results button{display:block;width:100%;border:0;border-bottom:1px solid var(--line);padding:9px 10px;background:transparent;color:var(--text);font:inherit;text-align:start;cursor:pointer}
.guide-city-row-results button small{display:block;margin-top:3px;color:var(--muted)}
.guide-city-row-results button:hover,.guide-city-row-results button:focus-visible{background:#8799ff22;outline:2px solid #8c9cff;outline-offset:-2px}
.guide-city-rows>[data-guide-city-row-add]{justify-self:start;font-size:12px;min-height:32px}
.guide-inline-package{border-top:1px solid var(--line);padding-top:12px}
.guide-inline-package>summary{cursor:pointer;font-size:13px;font-weight:600}
.guide-inline-package .guide-options{margin:12px 0}
.guide-inline-package .guide-option{padding:10px;font-size:12px}
.guide-inline-package .guide-option small{font-size:11px}
.guide-page-menu{position:fixed;z-index:1000;min-width:190px;max-width:min(280px,calc(100vw - 16px));padding:5px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);color:var(--text);box-shadow:0 12px 36px #0007;font-size:13px}
.guide-page-menu-title{padding:7px 10px;color:var(--muted);font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.guide-page-menu button{display:block;width:100%;padding:10px;border:0;border-radius:6px;background:transparent;color:var(--text);font:inherit;text-align:start;cursor:pointer}
.guide-page-menu button:hover:not(:disabled),.guide-page-menu button:focus-visible{background:#8799ff25;outline:2px solid #8c9cff;outline-offset:-2px}
.guide-page-menu button:disabled{opacity:.4;cursor:default}
.guide-page-menu .guide-page-menu-delete{color:#ffaaa9}
@media(min-width:901px){
 .guide-template-row{grid-template-columns:180px minmax(0,1fr);column-gap:18px}
 .guide-template-row header{grid-column:1;grid-row:1}
 .guide-template-previews{grid-column:2;grid-row:1/span 2}
 .guide-template-row footer{grid-column:1;grid-row:2;align-self:end}
 .guide-template-row footer .btn{width:100%;justify-content:center}
}
@media(max-width:620px){
 .guide-settings-dialog,.guide-settings-dialog:has(.guide-collection){width:calc(100vw - 24px);padding:14px}
 .guide-template-row{padding:10px}
 .guide-template-previews{grid-template-columns:minmax(0,1fr);gap:14px}
 .guide-template-row footer .btn{width:100%;justify-content:center}
}
.guide-ident-controls{display:grid;gap:12px;padding-top:12px}.guide-ident-card{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2)}.guide-ident-card label{display:grid;gap:7px}.guide-ident-card select{width:100%;min-width:0}.guide-ident-card .actions{display:flex;gap:6px;flex-wrap:wrap}.guide-ident-card .btn{font-size:12px;padding:7px 10px}.guide-ident-tab{border-style:dashed!important}.guide-ident-dialog{width:min(940px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line-strong);border-radius:14px;background:var(--surface);color:var(--text);box-shadow:0 24px 90px #07162c55}.guide-ident-dialog::backdrop{background:#0a1429a6}.guide-ident-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid var(--line)}.guide-ident-dialog h2{font-size:18px;margin:0}.guide-ident-body{padding:20px}.guide-ident-status{padding:10px 20px;margin:0;color:var(--warn);background:#ffbe5512}.guide-ident-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;max-height:260px;overflow:auto;margin-bottom:16px}.guide-ident-choice{padding:0;border:2px solid var(--line);border-radius:9px;background:var(--surface-2);overflow:hidden;cursor:pointer;color:inherit}.guide-ident-choice[aria-pressed=true]{border-color:#2164df}.guide-ident-choice img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.guide-ident-choice span{display:block;padding:9px;font-size:12px}.guide-ident-video{width:100%;max-height:46vh;background:#101726;border-radius:8px;margin-bottom:14px}.guide-ident-designer{width:min(1480px,calc(100vw - 24px));height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.guide-ident-designer[open]{display:flex;flex-direction:column}.guide-ident-designer .guide-ident-body{flex:1;min-height:0;padding:0}.guide-ident-designer iframe{display:block;width:100%;height:100%;border:0}.guide-ident-dialog button:focus-visible{outline:3px solid #619afa;outline-offset:2px}
.guide-review-media h3{margin:4px 0 6px;font-size:15px}.guide-review-media p{margin:0}.guide-review-media .guide-ident-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.guide-review-media .guide-ident-card{gap:5px;padding:9px}.guide-review-media .guide-ident-card:first-child{grid-column:1/-1}.guide-review-media .guide-ident-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guide-review-media .guide-ident-card .btn{justify-self:start;text-align:start;white-space:normal}
.guide-editing-ident>:not(.guide-ident-inline){display:none!important}.guide-ident-inline{display:flex;flex-direction:column;width:100%;height:100%;min-height:620px;max-height:none}.guide-ident-inline>header{display:flex;align-items:center;justify-content:space-between;padding:4px 0 12px;gap:12px}.guide-ident-inline h2{font-size:18px;margin:0}.guide-ident-inline .guide-ident-body{flex:1;min-height:560px}.guide-ident-inline iframe{width:100%;height:100%;border:0;border-radius:10px}.guide-ident-card small{overflow-wrap:anywhere}.guide-ai-context{padding:10px;background:var(--surface-2);border:1px solid var(--line);border-radius:8px;margin:0 0 12px}.guide-ident-dialog .guide-ident-body{max-height:calc(100vh - 150px);overflow:auto}
.guide-preview-card.guide-editing-ident{height:var(--guide-workspace-height,calc(100dvh - 180px));min-height:620px;box-sizing:border-box}.guide-ident-inline{height:100%;min-height:0}.guide-ident-inline .guide-ident-body{display:flex;min-height:0;flex:1}.guide-ident-inline iframe{flex:1;min-height:0;height:100%}
.guide-ident-inline>header{height:44px;min-height:44px;flex:0 0 44px;position:static;margin:0;padding:0 0 8px}

/* While editing a single ident the forecast inspector has no editable target. */
.guide-layout-assist:has(.guide-editing-ident){grid-template-columns:minmax(0,1fr)!important}
.guide-layout-assist:has(.guide-editing-ident)>.guide-form,
.guide-layout-assist:has(.guide-editing-ident):not(.ident-show-chat)>.guide-assistant-card{display:none!important}
.guide-layout-assist:has(.guide-editing-ident)>.guide-preview-card{grid-column:1;grid-row:1}
.guide-ident-inline>header h2{margin-inline-end:auto}
@media(min-width:1000px){.guide-layout-assist.ident-show-chat:has(.guide-editing-ident){grid-template-columns:minmax(0,1fr) 320px!important}.guide-layout-assist.ident-show-chat>.guide-assistant-card{display:flex;flex-direction:column;grid-column:2;grid-row:1;min-height:0}.guide-layout-assist.ident-show-chat .guide-assistant-card .guide-ai{display:flex!important;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0;overflow:hidden}.guide-layout-assist.ident-show-chat .guide-assistant-card .guide-chat-log{flex:1 1 0;min-height:80px;max-height:none;overflow-y:auto;overflow-x:hidden}.guide-layout-assist.ident-show-chat .guide-ai>button,.guide-layout-assist.ident-show-chat .guide-chat-suggestions{flex:none}}
@media(max-width:999px){.guide-layout-assist.ident-show-chat>.guide-assistant-card{display:block;grid-column:1;grid-row:2}}
.guide-ident-progress{width:100%;border-color:#829bff52;background:linear-gradient(145deg,#829bff10,var(--surface-2) 75%)}
.guide-ident-progress [data-ident-draft]{margin-bottom:8px}
.guide-ident-progress-status{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}
.guide-ident-dots{display:inline-flex;gap:4px;align-items:center;flex:none;color:#98a9ff}
.guide-ident-dots i{width:5px;height:5px;border-radius:50%;background:currentColor;animation:guide-ident-wait 1.2s ease-in-out infinite}
.guide-ident-dots i:nth-child(2){animation-delay:.14s}.guide-ident-dots i:nth-child(3){animation-delay:.28s}
@keyframes guide-ident-wait{0%,60%,100%{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.guide-ident-dots i{animation:none}}

.guide-review-channel{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-block:14px}
.guide-review-channel label{display:grid;gap:5px;min-width:min(240px,100%)}
.guide-music-level{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:3px 8px;
  margin-block-start:8px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  color:var(--muted);
  font-size:12px;
}
.guide-music-level output{color:var(--text);font-variant-numeric:tabular-nums}
.guide-music-level input{grid-column:1/-1;width:100%;margin:0;min-height:24px}
