:root{--font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--canvas: #fcfbf9;--surface: #ffffff;--surface-subtle: #f6f4ee;--surface-muted: #edeae2;--border-subtle: #eae6dc;--border-default: #ddd8cb;--border-strong: #c2baa8;--ink-primary: #181715;--ink-secondary: #58554e;--ink-muted: #8c877d;--ink-faint: #b3aea3;--accent: #b58d5b;--accent-hover: #9c7444;--accent-light: #f7f2eb;--accent-subtle: #efe6d8;--accent-ring: rgba(181, 141, 91, .25);--brand-noir: #181715;--brand-noir-hover: #2d2924;--brand-noir-active: #0d0c0b;--tour-bg: #161412;--tour-card: rgba(22, 20, 18, .82);--status-success: #24754a;--status-success-bg: #eef6f1;--status-success-border: #c8e4d3;--status-error: #b83328;--status-error-bg: #fdf2f1;--status-error-border: #f6d1cd;--status-warning: #ad6d13;--status-warning-bg: #fdf7ed;--status-warning-border: #fae1be;--shadow-xs: 0 1px 2px rgba(24, 23, 21, .04);--shadow-sm: 0 2px 6px rgba(24, 23, 21, .05);--shadow-md: 0 8px 24px -4px rgba(24, 23, 21, .08), 0 2px 6px -1px rgba(24, 23, 21, .04);--shadow-lg: 0 16px 36px -6px rgba(24, 23, 21, .12), 0 4px 12px -2px rgba(24, 23, 21, .05);--safe-t: env(safe-area-inset-top, 0px);--safe-r: env(safe-area-inset-right, 0px);--safe-b: env(safe-area-inset-bottom, 0px);--safe-l: env(safe-area-inset-left, 0px);--tabbar-h: calc(71px + var(--safe-b));--tap: 44px;--radius-xs: 4px;--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 22px;--radius-full: 9999px;--ink: var(--ink-primary);--forest: var(--brand-noir);--forest-deep: var(--brand-noir-hover);--lime: var(--accent);--muted: var(--ink-muted);--line: var(--border-subtle);--paper: var(--canvas);--white: var(--surface);--sand: var(--surface-subtle);font-family:var(--font-body);color:var(--ink-primary);background:var(--canvas);font-size:15px;line-height:1.5;font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink-primary);font-family:var(--font-body);min-height:100vh;min-height:100dvh}h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);font-weight:700;letter-spacing:-.025em;color:var(--ink-primary);margin:0}p{margin:0;line-height:1.6}em{font-style:normal;color:var(--accent);font-weight:700}a{color:inherit;text-decoration:none;transition:color .15s ease}button{font:inherit;cursor:pointer;border:0;background:none;color:inherit;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}input,textarea,select{font-family:var(--font-body);font-size:15px;width:100%;border:1px solid var(--border-default);background:var(--surface);padding:11px 14px;border-radius:var(--radius-sm);color:var(--ink-primary);transition:border-color .15s ease,box-shadow .15s ease}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring);outline:none}input::placeholder,textarea::placeholder{color:var(--ink-faint)}textarea{resize:vertical;min-height:84px}label{display:block;font-family:var(--font-heading);font-weight:600;font-size:14px;letter-spacing:0;color:var(--ink-secondary);margin:16px 0 6px}::selection{background:var(--accent-light);color:var(--brand-noir)}.muted{color:var(--ink-muted);line-height:1.6}.eyebrow{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-heading);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}.eyebrow.light{color:var(--accent)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--radius-sm);padding:10px 18px;font-family:var(--font-heading);font-weight:600;font-size:13px;line-height:1.4;white-space:nowrap;transition:all .18s cubic-bezier(.16,1,.3,1);box-shadow:var(--shadow-xs)}.button:not(:disabled):hover{transform:translateY(-1px)}.button:not(:disabled):active{transform:translateY(0)}.button.primary{background:var(--brand-noir);color:#fff;border:1px solid var(--brand-noir)}.button.primary:not(:disabled):hover{background:var(--brand-noir-hover);border-color:var(--brand-noir-hover);box-shadow:var(--shadow-sm)}.button.secondary{background:var(--surface);color:var(--ink-primary);border:1px solid var(--border-default)}.button.secondary:hover{background:var(--surface-subtle);border-color:var(--border-strong)}.button.compact{padding:7px 12px;font-size:11px;border-radius:var(--radius-xs)}.icon-button{display:inline-grid;place-items:center;width:32px;height:32px;min-width:32px;border-radius:var(--radius-sm);color:var(--ink-secondary);transition:all .15s ease}.icon-button:hover{background:var(--surface-subtle);color:var(--ink-primary)}.text-button{font-family:var(--font-heading);font-size:12px;font-weight:600;color:var(--accent);transition:color .15s ease}.text-button:hover{color:var(--accent-hover);text-decoration:underline}.brand{display:inline-flex;align-items:center;gap:10px;font-family:var(--font-heading);font-size:20px;font-weight:800;letter-spacing:-.03em;color:var(--ink-primary);white-space:nowrap;padding:0}.brand-mark{position:relative;display:inline-flex;align-items:center;justify-content:center;background:var(--brand-noir);color:#fff;width:32px;height:32px;border-radius:8px;font-family:var(--font-heading);font-weight:800;font-size:17px;line-height:1;box-shadow:0 2px 6px #0000001f}.brand-mark>span{display:inline-block;color:var(--accent);font-size:10px;margin-left:1px}.brand-studio{font-family:var(--font-heading);font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);padding:2px 6px;border-radius:4px;background:var(--accent-light);border:1px solid var(--border-subtle);margin-left:2px}.brand-light{color:#fff}.brand-light .brand-mark{background:#fff;color:var(--brand-noir)}.brand-light .brand-mark>span{color:var(--accent)}.brand-light .brand-studio{background:#ffffff1f;color:#fff;border-color:#fff3}.boot{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;color:var(--ink-muted)}.boot .brand-mark{width:44px;height:44px;font-size:24px;border-radius:12px}.auth-shell{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:1.15fr 1fr;background:var(--canvas)}.auth-story{position:relative;isolation:isolate;overflow:hidden;background:#141310;color:#f7f5f0;padding:44px 8%;display:flex;flex-direction:column;justify-content:space-between}.auth-story:before{content:"";position:absolute;inset:0;background:url(/showcase/interior-after.webp) center center / cover no-repeat;opacity:.32;filter:saturate(.85);z-index:1}.auth-story:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#141310bf,#141310e0);z-index:2}.auth-story>*{position:relative;z-index:3}.auth-story-copy{margin:auto 0;padding:32px 0;max-width:480px}.auth-story h1{font-size:clamp(32px,3.2vw,48px);color:#fff;line-height:1.15;margin:16px 0;letter-spacing:-.03em}.auth-story h1 em{color:var(--accent)}.auth-story-copy>p{font-size:14px;line-height:1.7;color:#cfcac0}.architectural-scene{position:relative;border-radius:var(--radius-md);overflow:hidden;border:1px solid rgba(255,255,255,.12);background:#181715bf;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:16px;display:flex;align-items:center;gap:16px;margin-top:24px}.architectural-scene img{width:90px;height:64px;object-fit:cover;border-radius:var(--radius-sm);border:1px solid rgba(255,255,255,.15)}.scene-caption{font-family:var(--font-heading);font-size:11px;letter-spacing:.08em;color:#ded8cb;line-height:1.5}.auth-story-footer{display:flex;justify-content:space-between;font-size:11px;color:#a8a295;border-top:1px solid rgba(255,255,255,.08);padding-top:20px}.auth-form-side{display:flex;flex-direction:column;padding:40px 10%;justify-content:space-between;background:var(--surface)}.auth-top-note{text-align:right;font-family:var(--font-heading);font-weight:500;color:var(--ink-muted);font-size:11px}.auth-form-wrap{width:100%;max-width:380px;margin:40px auto}.auth-form-wrap h2{font-size:26px;margin:10px 0 6px}.auth-form-wrap>.muted{font-size:13px}.auth-tabs{display:flex;padding:3px;background:var(--surface-subtle);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);margin:22px 0 20px}.auth-tabs button{flex:1;font-family:var(--font-heading);font-size:15px;font-weight:600;border-radius:var(--radius-xs);padding:11px 12px;color:var(--ink-muted);transition:all .15s ease}.auth-tabs button.active{background:var(--surface);color:var(--ink-primary);box-shadow:var(--shadow-xs)}.auth-submit{width:100%;margin-top:22px}.auth-footnote{text-align:center;color:var(--ink-muted);font-size:13px;margin-top:18px}.auth-copyright{text-align:center;color:var(--ink-faint);font-size:11px}.icon{display:inline-flex;width:20px;height:20px;flex-shrink:0}.icon svg{width:100%;height:100%}.button.big{min-height:52px;padding:14px 24px;font-size:16px;border-radius:var(--radius-md)}.button .icon{width:20px;height:20px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.spinner{height:18px;width:18px;min-width:18px;border:2px solid var(--border-default);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.spinner.small{width:12px;height:12px;min-width:12px}.spinner.large{width:40px;height:40px;min-width:40px;border-width:3px}.spinner.light{border-color:#ffffff4d;border-top-color:#fff}@keyframes spin{to{transform:rotate(360deg)}}.alert{padding:12px 14px;border-radius:var(--radius-sm);font-size:14px;line-height:1.5;background:var(--status-warning-bg);border:1px solid var(--status-warning-border);color:var(--status-warning)}.alert p{margin-top:2px}.alert.error{background:var(--status-error-bg);border-color:var(--status-error-border);color:var(--status-error)}.alert.success{background:var(--status-success-bg);border-color:var(--status-success-border);color:var(--status-success)}.count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:var(--radius-full);background:var(--surface-muted);color:var(--ink-secondary);font-family:var(--font-body);font-size:12px;font-weight:600;letter-spacing:0}.app{--appbar-h: 68px;display:flex;flex-direction:column;height:100vh;height:100dvh;overflow:hidden;background:var(--canvas)}.appbar{position:relative;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(max-content,1fr);align-items:center;gap:16px;height:var(--appbar-h);padding:0 20px;background:var(--surface);border-bottom:1px solid var(--border-subtle);flex-shrink:0}.appbar-start,.appbar-end{display:flex;align-items:center;gap:12px;min-width:0}.appbar-end{grid-column:3;justify-content:flex-end}.library-pick,.result-card,.project-card,.compass-pick,.tour-pick,.style-option{padding:0}.back-button,.icon-text-button{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 12px;border-radius:var(--radius-sm);font-family:var(--font-heading);font-size:14px;font-weight:600;color:var(--ink-secondary);border:1px solid var(--border-subtle);background:var(--surface);white-space:nowrap}.back-button:hover,.icon-text-button:hover{background:var(--surface-subtle);color:var(--ink-primary)}.project-title{font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.mode-tabs{display:flex;gap:4px;padding:4px;border-radius:var(--radius-md);background:var(--surface-subtle);border:1px solid var(--border-subtle)}.mode-tabs button{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 20px;border-radius:9px;font-family:var(--font-heading);font-size:15px;font-weight:700;color:var(--ink-secondary);white-space:nowrap;transition:background .15s ease,color .15s ease}.mode-tabs button:hover{color:var(--ink-primary);background:#fff9}.mode-tabs button.active{background:var(--brand-noir);color:#fff;box-shadow:var(--shadow-sm)}.mode-tabs button.active .icon{color:var(--accent)}.status-chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:var(--radius-full);font-size:13px;font-weight:600;white-space:nowrap}.status-chip .icon{width:16px;height:16px}.status-chip.warning{background:var(--status-warning-bg);color:var(--status-warning);border:1px solid var(--status-warning-border)}.user-chip{display:inline-flex;align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:600;color:var(--ink-secondary)}.user-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.avatar{display:inline-grid;place-items:center;width:36px;height:36px;min-width:36px;border-radius:50%;background:var(--accent-subtle);color:var(--accent-hover);font-family:var(--font-heading);font-size:13px;font-weight:700}.app-main{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.verify-banner{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 16px;font-size:13px;background:var(--status-warning-bg);color:var(--status-warning);border-bottom:1px solid var(--status-warning-border)}.verify-banner>span{flex:1;min-width:200px}.verify-banner .link-button{color:inherit;font-weight:600;text-decoration:underline}.account-dialog h3{margin:12px 0 4px;font-size:15px}.account-dialog small{display:block;margin:6px 0 12px;color:var(--ink-muted)}.credit-badge{margin-left:4px;min-width:20px;padding:1px 6px;border-radius:999px;background:var(--surface-muted, rgba(0,0,0,.06));font-size:12px;font-weight:600;text-align:center}.credit-badge.empty{background:var(--danger-soft, #fde8e6);color:var(--danger, #b42318)}.add-credits{display:inline-flex;align-items:center;gap:6px;margin:6px auto 0;font-weight:600}.add-credits .icon{width:16px;height:16px}.credits-dialog{width:min(520px,calc(100vw - 32px))}.credits-dialog h3{margin:18px 0 8px;font-size:15px}.credit-balance{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:4px 0 8px}.credit-balance strong{font-size:36px;line-height:1}.credit-balance span{color:var(--ink-muted)}.credit-packages{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px}.credit-package{display:flex;flex-direction:column;gap:2px;padding:12px;border:1px solid var(--line, rgba(0,0,0,.12));border-radius:12px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.credit-package:hover:not(:disabled){border-color:currentColor}.credit-package:disabled{opacity:.6;cursor:default}.credit-package span{color:var(--ink-muted);font-size:13px}.credit-note{display:block;margin-top:8px;color:var(--ink-muted)}.credit-history{list-style:none;margin:0;padding:0;max-height:260px;overflow-y:auto}.credit-history li{display:grid;grid-template-columns:1fr auto auto;gap:4px 12px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--line, rgba(0,0,0,.08));font-size:14px}.credit-history time{color:var(--ink-muted);font-size:12px}.credit-history strong{min-width:36px;text-align:right}.credit-history strong.plus{color:var(--success, #067647)}.credit-history li.refunded strong{text-decoration:line-through;opacity:.6}.credit-history em{color:var(--ink-muted);font-style:normal}@media(max-width:520px){.credit-history li{grid-template-columns:1fr auto}.credit-history time{grid-column:1;grid-row:2}}.toasts{position:fixed;top:calc(var(--appbar-h) + 12px);left:50%;transform:translate(-50%);z-index:40;display:flex;flex-direction:column;gap:8px;width:min(560px,calc(100% - 32px));pointer-events:none}.toast{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 16px;border-radius:var(--radius-md);font-size:15px;font-weight:500;line-height:1.4;box-shadow:var(--shadow-lg);pointer-events:auto;animation:toast-in .2s ease}.toast>span{flex:1}.toast>.spinner{flex:none}.toast.info{background:var(--surface);color:var(--ink-primary);border:1px solid var(--border-subtle)}.toast-list{margin:4px 0 0;padding-left:18px;font-weight:400}.toast button{display:grid;place-items:center;width:32px;height:32px;border-radius:var(--radius-sm);opacity:.7}.toast button:hover{opacity:1;background:#0000000f}.toast.success{background:var(--status-success);color:#fff}.toast.success button:hover{background:#ffffff26}.toast.error{background:var(--status-error-bg);color:var(--status-error);border:1px solid var(--status-error-border)}@keyframes toast-in{0%{opacity:0;transform:translateY(-6px)}}.drop-overlay{position:fixed;inset:0;z-index:45;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#1817158c;color:#fff;font-family:var(--font-heading);font-size:22px;pointer-events:none;border:4px dashed var(--accent)}.drop-overlay .icon{width:56px;height:56px}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:232px minmax(0,1fr) 380px;gap:16px;padding:16px}app-video-panel,app-tour-panel{display:contents}.library,.stage,.controls{min-height:0;background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs)}.library{display:flex;flex-direction:column;gap:10px;padding:14px;overflow:hidden}.library-head h2,.results h3{display:flex;align-items:center;gap:8px;font-size:15px}.add-photo{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;margin:0;border-radius:var(--radius-md);border:2px dashed var(--border-strong);background:var(--surface-subtle);font-family:var(--font-heading);font-size:15px;font-weight:700;letter-spacing:0;color:var(--ink-primary);cursor:pointer;transition:border-color .15s ease,background .15s ease;flex-shrink:0}.add-photo:hover{border-color:var(--accent);background:var(--accent-light)}.add-photo .icon{color:var(--accent)}.library-hint,.library-empty{font-size:13px;line-height:1.4;color:var(--ink-muted)}.library-hint{font-weight:600;color:var(--accent-hover)}.library-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;overflow-y:auto;margin:0 -4px;padding:2px 4px 4px;align-content:start}.library-card{position:relative;border-radius:var(--radius-sm)}.library-pick{position:relative;display:block;width:100%;aspect-ratio:1;border-radius:var(--radius-sm);overflow:hidden;background:var(--surface-muted);outline:3px solid transparent;outline-offset:-3px;transition:outline-color .15s ease,transform .15s ease}.library-pick img{width:100%;height:100%;object-fit:cover;display:block}.library-pick:hover img{filter:brightness(1.05)}.library-card.selected .library-pick{outline-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.library-current{display:flex;align-items:center;gap:10px;flex-shrink:0;width:100%;padding:6px 10px 6px 6px;border:2px solid var(--accent);border-radius:var(--radius-md);background:var(--accent-light);text-align:left}.library-current img{flex:none;width:56px;height:56px;border-radius:var(--radius-sm);object-fit:cover}.library-current span{flex:1;min-width:0}.library-current small{display:block;font-size:11px;font-weight:600;color:var(--accent-hover)}.library-current strong{display:block;overflow:hidden;font-family:var(--font-heading);font-size:14px;color:var(--ink-primary);text-overflow:ellipsis;white-space:nowrap}.library-current .icon{flex:none;width:18px;height:18px;color:var(--accent)}.library-section{grid-column:1 / -1;display:flex;align-items:center;gap:6px;margin:6px 0 0;font-size:12px;font-weight:700;color:var(--ink-secondary)}.library-section:first-child{margin-top:0}.library-section span{font-weight:600;color:var(--ink-muted)}.library-tag{position:absolute;left:5px;bottom:5px;display:inline-flex;align-items:center;gap:2px;padding:2px 6px 2px 4px;border-radius:var(--radius-full);background:#181715bf;color:#fff;font-size:11px;font-weight:700}.library-tag .icon{flex:none;width:12px;height:12px;color:var(--accent)}.library-tag{max-width:calc(100% - 10px)}.library-tag span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.library-badge{position:absolute;left:5px;top:5px;padding:3px 8px;border-radius:var(--radius-full);background:var(--accent);color:#fff;font-family:var(--font-heading);font-size:12px;font-weight:700;box-shadow:var(--shadow-sm)}.library-remove{position:absolute;right:4px;top:4px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#18171599;color:#fff;opacity:0;transition:opacity .15s ease}.library-remove .icon{width:16px;height:16px}.library-card:hover .library-remove,.library-remove:focus-visible{opacity:1}.library-remove:hover{background:var(--status-error)}@media(hover:none){.library-remove{opacity:1}}.library-confirm{position:absolute;inset:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:4px;padding:6px;border-radius:var(--radius-sm);background:#181715db;color:#fff;text-align:center;font-size:13px;font-weight:600}.library-confirm button{height:30px;border-radius:6px;background:#ffffff29;font-size:13px;font-weight:600}.library-confirm button.danger{background:var(--status-error)}.library-confirm{inset:0 0 auto;min-height:100%;z-index:3;gap:5px;font-size:12px;line-height:1.25}.library-confirm small{font-size:10.5px;font-weight:500;opacity:.85}.library-confirm-actions{display:flex;flex-direction:column;gap:4px}.library-confirm-actions button{height:26px;font-size:12px}.upload-progress{display:flex;align-items:center;gap:10px;padding:10px;border-radius:var(--radius-sm);background:var(--accent-light);font-size:13px}.upload-progress>div{flex:1;display:flex;flex-direction:column;gap:6px}.upload-bar{display:block;height:4px;border-radius:4px;background:var(--accent-subtle);overflow:hidden}.upload-bar i{display:block;height:100%;background:var(--accent);transition:width .3s ease}.upload-errors{display:flex;gap:6px;padding:10px;border-radius:var(--radius-sm);background:var(--status-error-bg);border:1px solid var(--status-error-border);color:var(--status-error);font-size:12px;line-height:1.4;max-height:140px;overflow-y:auto}.upload-errors ul{margin:4px 0 0;padding-left:16px}.library-more{grid-column:1 / -1;display:flex;justify-content:center;padding:8px 0 4px}.library-more small{margin-left:6px;opacity:.7}.upload-errors button{align-self:flex-start}.upload-errors .icon{width:16px;height:16px}.stage{display:flex;flex-direction:column;overflow:hidden}.stage-main{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:16px;background:radial-gradient(circle at 50% 40%,rgba(255,255,255,.9),transparent 70%),var(--surface-subtle);container-type:size}.stage-wide{grid-column:2 / 4}.fit-box,.compare-frame,.photo-frame{position:relative;max-width:100%;max-height:100%;border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-md);background:var(--surface-muted)}.photo-frame img,.compare-frame>img{display:block;max-width:100cqw;max-height:calc(100cqh - 32px);width:auto;height:auto;object-fit:contain}.compare-after{position:absolute;inset:0}.compare-after img{width:100%;height:100%;object-fit:cover;display:block}.compare-line{position:absolute;top:0;bottom:0;width:3px;margin-left:-1.5px;background:#fff;box-shadow:0 0 8px #0000004d;pointer-events:none}.compare-line>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff;color:var(--ink-primary);box-shadow:var(--shadow-lg)}.compare-line.at-end>span{left:-26px}.compare-line.at-start>span{left:28px}.compare-range{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:ew-resize;border:0}.stage-label{position:absolute;top:12px;padding:5px 12px;border-radius:var(--radius-full);background:#181715b3;color:#fff;font-family:var(--font-heading);font-size:13px;font-weight:700;pointer-events:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.stage-label.left{left:12px}.stage-label.right{right:12px}.stage-action{position:absolute;right:28px;bottom:28px;display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 18px;border-radius:var(--radius-md);background:#fff;color:var(--ink-primary);font-family:var(--font-heading);font-size:15px;font-weight:700;box-shadow:var(--shadow-lg)}.stage-action:hover{background:var(--accent-light)}.stage-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#fcfbf9c7;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);font-size:15px;color:var(--ink-secondary)}.stage-overlay strong{font-family:var(--font-heading);font-size:22px;color:var(--ink-primary)}.stage-alert{position:absolute;left:24px;right:24px;bottom:24px;display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--radius-md);background:var(--status-warning-bg);border:1px solid var(--status-warning-border);color:var(--status-warning);font-size:14px;line-height:1.5;box-shadow:var(--shadow-md)}.stage-alert.error{background:var(--status-error-bg);border-color:var(--status-error-border);color:var(--status-error)}.stage-empty{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:360px;text-align:center;color:var(--ink-muted);font-size:15px;line-height:1.5}.stage-empty>.icon{width:48px;height:48px;padding:12px;box-sizing:content-box;border-radius:50%;background:var(--surface);color:var(--accent);box-shadow:var(--shadow-sm)}.stage-empty strong{font-family:var(--font-heading);font-size:19px;color:var(--ink-primary)}.stage-hint{font-size:14px;font-weight:500;color:var(--ink-secondary);text-align:center}.stage-hint.warn{color:var(--status-warning)}.first-upload{display:flex;flex-direction:column;align-items:center;gap:16px;width:min(520px,100%);margin:0;padding:48px 32px;border-radius:var(--radius-xl);border:2px dashed var(--border-strong);background:var(--surface);text-align:center;cursor:pointer;letter-spacing:0;transition:border-color .15s ease}.first-upload:hover{border-color:var(--accent)}.first-upload-icon{display:grid;place-items:center;width:88px;height:88px;border-radius:50%;background:var(--accent-light);color:var(--accent)}.first-upload-icon .icon{width:44px;height:44px}.first-upload strong{font-family:var(--font-heading);font-size:24px;color:var(--ink-primary)}.first-upload small{font-family:var(--font-body);font-size:13px;font-weight:400;color:var(--ink-muted)}.results{flex-shrink:0;display:flex;flex-direction:column;gap:8px;padding:12px 16px 14px;border-top:1px solid var(--border-subtle)}.results-strip{display:flex;gap:10px;overflow-x:auto;padding-bottom:2px}.results-empty{display:flex;align-items:center;height:84px;font-size:14px;color:var(--ink-muted)}.result-card{position:relative;flex:0 0 auto;width:132px;height:84px;border-radius:var(--radius-sm);overflow:hidden;background:var(--surface-muted);outline:3px solid transparent;outline-offset:-3px;text-align:left}.result-card.active{outline-color:var(--accent)}.result-card>img,.result-card>video{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.result-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:6px;color:var(--ink-muted);font-size:12px;font-weight:700;padding-bottom:18px}.result-name{position:absolute;left:0;right:0;bottom:0;padding:14px 8px 5px;background:linear-gradient(transparent,#181715cc);color:#fff;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.result-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-70%);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffffffeb;color:var(--ink-primary);box-shadow:var(--shadow-sm)}.result-play .icon{width:16px;height:16px;margin-left:2px}.tour-card{width:168px}.result-open{position:absolute;top:50%;left:50%;transform:translate(-50%,-70%);display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:var(--radius-full);background:#fff;color:var(--ink-primary);font-family:var(--font-heading);font-size:13px;font-weight:700;white-space:nowrap;box-shadow:var(--shadow-md)}.result-open .icon{width:16px;height:16px}.result-open:hover{background:var(--accent-light)}.result-error{position:absolute;inset:6px 6px 22px;font-size:10px;line-height:1.3;color:var(--status-error);overflow:hidden}.controls{display:flex;flex-direction:column;overflow:hidden}.controls-body{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:16px;padding:16px 18px}.step{display:flex;flex-direction:column;gap:10px}.step-title{display:flex;align-items:center;gap:8px;margin:0;font-family:var(--font-heading);font-size:15px;font-weight:700;letter-spacing:0;color:var(--ink-primary)}.step-title small{font-family:var(--font-body);font-size:12px;font-weight:500;color:var(--ink-muted)}.step-number{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--brand-noir);color:#fff;font-size:12px;font-weight:700}.tiles{display:grid;gap:8px}.tiles.three{grid-template-columns:repeat(3,minmax(0,1fr))}.tiles.two{grid-template-columns:repeat(2,minmax(0,1fr))}.tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:68px;padding:8px 6px;border-radius:var(--radius-md);border:2px solid var(--border-subtle);background:var(--surface);font-family:var(--font-heading);font-size:14px;font-weight:600;line-height:1.25;text-align:center;color:var(--ink-secondary);transition:border-color .15s ease,background .15s ease,color .15s ease}.tile .icon{width:26px;height:26px}.tile small{display:block;font-family:var(--font-body);font-size:11px;font-weight:500;color:var(--ink-muted)}.tile:hover{border-color:var(--border-strong);color:var(--ink-primary)}.tile.selected{border-color:var(--accent);background:var(--accent-light);color:var(--ink-primary)}.tile.selected .icon{color:var(--accent-hover)}.tiles.compact .tile{flex-direction:row;justify-content:flex-start;min-height:54px;padding:8px 12px;text-align:left;gap:10px}.tiles.compact .tile .icon{width:22px;height:22px}.option-rows{display:flex;flex-direction:column;gap:8px}.style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.style-option{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:8px!important;border-radius:var(--radius-md);border:2px solid var(--border-subtle);background:var(--surface);text-align:left;transition:border-color .15s ease,background .15s ease}.style-option:hover{border-color:var(--border-strong)}.style-option.selected{border-color:var(--accent);background:var(--accent-light)}.style-name{font-family:var(--font-heading);font-size:14px;font-weight:700;padding:0 2px 2px}.style-check{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--accent);color:#fff;box-shadow:var(--shadow-sm)}.style-check .icon{width:14px;height:14px}.template-swatch{--a: #d9cbb4;--b: #a07a52;--c: #4f4a42;display:flex;height:40px;border-radius:8px;overflow:hidden}.template-swatch i{flex:1;background:var(--a)}.template-swatch i:nth-child(2){background:var(--b)}.template-swatch i:nth-child(3){background:var(--c)}.template-swatch[data-style=enhance-empty]{--a: #f6f4f0;--b: #ebe7e0;--c: #c9bfb0}.template-swatch[data-style=interior-modern]{--a: #e4ddd2;--b: #8d8478;--c: #2f2d2a}.template-swatch[data-style=interior-minimal]{--a: #f1eee8;--b: #d8d3c9;--c: #9b968c}.template-swatch[data-style=interior-luxury]{--a: #e9e2d6;--b: #b8975a;--c: #262320}.template-swatch[data-style=interior-wood]{--a: #e3cfae;--b: #a2724a;--c: #5c3d26}.template-swatch[data-style=interior-scandinavian]{--a: #f5f3ef;--b: #d9c7a8;--c: #9fb1bf}.template-swatch[data-style=interior-japandi]{--a: #e8e0d2;--b: #b39b7c;--c: #3b342d}.template-swatch[data-style=interior-industrial]{--a: #a9a39b;--b: #8a5a36;--c: #2b2b2b}.template-swatch[data-style=interior-classic]{--a: #f1e8d6;--b: #c4a15a;--c: #2c3a5a}.template-swatch[data-style=interior-boho]{--a: #e9d3b0;--b: #c46d3b;--c: #6f7a3a}.template-swatch[data-style=interior-brand]{--a: #f1eee8;--b: #181715;--c: #b58d5b}.quick-box{display:grid;gap:10px;padding:6px;border:1px solid var(--border-default);border-radius:var(--radius-lg);background:var(--surface-subtle)}.quick-actions{display:grid;gap:6px}.quick-action{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border:2px solid transparent;border-radius:var(--radius-md);background:var(--surface);color:var(--ink-secondary);text-align:left;box-shadow:var(--shadow-xs);transition:border-color .15s ease,background .15s ease}.quick-action:hover{border-color:var(--border-strong)}.quick-action .icon{flex:none;width:24px;height:24px}.quick-action strong{display:block;font-family:var(--font-heading);font-size:14px;color:var(--ink-primary)}.quick-action small{display:block;font-size:12px;color:var(--ink-muted)}.quick-action.selected{border-color:var(--accent);background:var(--accent-light)}.quick-action.selected .icon{color:var(--accent-hover)}.quick-style{display:grid;gap:6px;padding:0 6px 4px}.quick-style label{font-size:12px;font-weight:700;color:var(--ink-secondary)}.quick-style .fine-print{margin:0}.quick-style-pick{display:flex;align-items:center;gap:8px}.quick-style-pick .template-swatch{flex:none;width:40px;height:40px}.quick-style-pick select{height:44px;padding:0 12px}.template-swatch[data-style=garden-natural]{--a: #c8d6a8;--b: #7c9a52;--c: #4d5f34}.template-swatch[data-style=garden-modern]{--a: #dfe3dc;--b: #8a9a80;--c: #3e4a42}.template-swatch[data-style=construction-modern]{--a: #ece9e3;--b: #b7aea0;--c: #5b636b}textarea{min-height:64px;font-size:15px}.quick-tags{display:flex;flex-wrap:wrap;gap:6px}.quick-tags button{padding:6px 10px;border-radius:var(--radius-full);background:var(--surface-subtle);border:1px solid var(--border-subtle);font-size:13px;color:var(--ink-secondary)}.quick-tags button:hover{border-color:var(--accent);color:var(--ink-primary)}.add-note{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;height:40px;padding:0 12px;margin-left:-4px;border-radius:var(--radius-sm);font-family:var(--font-heading);font-size:14px;font-weight:600;color:var(--ink-secondary)}.add-note small{font-family:var(--font-body);font-size:12px;font-weight:500;color:var(--ink-muted)}.add-note:hover{background:var(--surface-subtle);color:var(--ink-primary)}.add-note .icon{width:18px;height:18px;color:var(--accent)}.controls-action{flex-shrink:0;display:flex;flex-direction:column;gap:8px;padding:14px 18px 16px;border-top:1px solid var(--border-subtle);background:var(--surface)}.button.go{width:100%;min-height:58px;font-size:17px}.button.go:not(:disabled){background:var(--accent);border-color:var(--accent)}.button.go:not(:disabled):hover{background:var(--accent-hover);border-color:var(--accent-hover)}.button.go:disabled{opacity:1;background:var(--surface-muted);border-color:var(--surface-muted);color:var(--ink-muted);box-shadow:none}.action-note{font-size:13px;line-height:1.4;text-align:center;color:var(--ink-muted)}.action-note.warn{color:var(--status-warning);font-weight:600}.method-list{display:flex;flex-direction:column;gap:6px}.method{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:var(--radius-md);border:2px solid var(--border-subtle);background:var(--surface);text-align:left;transition:border-color .15s ease,background .15s ease}.method:hover{border-color:var(--border-strong)}.method.selected{border-color:var(--accent);background:var(--accent-light)}.method-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.method-copy strong{font-family:var(--font-heading);font-size:14px}.method-copy small{font-size:12px;color:var(--ink-muted);line-height:1.35}.method-price{flex-shrink:0;padding:4px 9px;border-radius:var(--radius-full);background:var(--surface-subtle);font-size:13px;font-weight:700;color:var(--ink-primary)}.method-price.free{background:var(--status-success-bg);color:var(--status-success)}.segmented{display:flex;align-items:center;gap:4px;padding:4px 4px 4px 12px;border-radius:var(--radius-md);background:var(--surface-subtle);border:1px solid var(--border-subtle);color:var(--ink-muted)}.segmented .icon{margin-right:4px}.segmented button{flex:1;height:40px;border-radius:8px;font-family:var(--font-heading);font-size:14px;font-weight:700;color:var(--ink-secondary)}.segmented button.selected{background:var(--surface);color:var(--ink-primary);box-shadow:var(--shadow-sm);outline:2px solid var(--accent)}.video-estimate{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:4px 10px;font-size:13px;color:var(--ink-muted)}.video-estimate strong{font-family:var(--font-heading);font-size:18px;color:var(--ink-primary)}.frame-editor{aspect-ratio:var(--ar);width:min(100cqw,(100cqh - 40px) * var(--ar));max-height:none;touch-action:none;-webkit-user-select:none;user-select:none}.frame-editor img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.frame-window{position:absolute;border:3px solid #fff;border-radius:6px;box-shadow:0 0 0 9999px #1817158c;cursor:ew-resize;outline:none}.frame-window.vertical{cursor:ns-resize}.frame-window:focus-visible{border-color:var(--accent)}.frame-grip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff;color:var(--ink-primary);box-shadow:var(--shadow-lg)}.frame-grip .icon{width:26px;height:26px}.room-order{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;gap:14px;margin:0;padding:0;list-style:none;max-width:100%;max-height:calc(100cqh - 40px);overflow-y:auto}.room-item{display:flex;flex-direction:column;gap:6px;width:clamp(130px,22cqw,200px)}.room-image{position:relative;display:block;aspect-ratio:4 / 3;border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-md)}.room-image img{width:100%;height:100%;object-fit:cover;display:block}.room-number{position:absolute;left:8px;top:8px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff;font-family:var(--font-heading);font-size:16px;font-weight:800;box-shadow:var(--shadow-sm)}.room-actions{display:flex;justify-content:center;gap:6px}.room-actions button{display:grid;place-items:center;width:38px;height:34px;border-radius:var(--radius-sm);border:1px solid var(--border-default);background:var(--surface);color:var(--ink-secondary)}.room-actions button:not(:disabled):hover{border-color:var(--accent);color:var(--ink-primary)}.room-actions .icon{width:18px;height:18px}.tour-picks{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;max-width:100%}.tour-pick{position:relative;display:flex;flex-direction:column;gap:6px;width:clamp(200px,36cqw,340px);padding:6px!important;border-radius:var(--radius-md);border:2px solid var(--border-subtle);background:var(--surface);font-family:var(--font-heading);font-size:14px;font-weight:700}.tour-pick img{width:100%;aspect-ratio:2 / 1;object-fit:cover;border-radius:8px;display:block}.tour-pick.selected{border-color:var(--accent);background:var(--accent-light)}.player-backdrop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:24px;background:#181715b3;animation:toast-in .15s ease}.player-dialog{display:flex;flex-direction:column;gap:14px;width:min(960px,100%);max-height:100%;padding:16px;border-radius:var(--radius-xl);background:var(--surface);box-shadow:var(--shadow-lg)}.player-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:var(--font-heading);font-size:17px}.video-player{align-self:center;aspect-ratio:16 / 9;border-radius:var(--radius-md);overflow:hidden;background:#000}.video-player.portrait{aspect-ratio:9 / 16}.video-player video{width:100%;height:100%;display:block}.player-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;color:var(--ink-muted)}.player-wait{display:flex;flex-direction:column;align-items:center;gap:10px;padding:48px 16px;text-align:center;font-size:15px;color:var(--ink-secondary)}.player-wait strong{font-family:var(--font-heading);font-size:20px;color:var(--ink-primary)}.player-wait>.icon{width:40px;height:40px;color:var(--status-warning)}.tour-stage-main{gap:18px}.compass{--slot: min(26cqh, 22cqw, 170px);position:relative;display:grid;grid-template-columns:repeat(3,var(--slot));grid-template-rows:repeat(3,var(--slot));grid-template-areas:". front ." "left center right" ". back .";gap:10px}.compass:before{content:"";position:absolute;inset:18%;border-radius:50%;border:2px dashed var(--border-default);pointer-events:none}.compass-slot{position:relative}.compass-slot[data-dir="0"]{grid-area:front}.compass-slot[data-dir="90"]{grid-area:right}.compass-slot[data-dir="180"]{grid-area:back}.compass-slot[data-dir="270"]{grid-area:left}.compass-pick{position:relative;display:grid;place-items:center;width:100%;height:100%;border-radius:var(--radius-lg);border:2px dashed var(--border-strong);background:var(--surface);color:var(--ink-muted);overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}.compass-pick>.icon{width:30px;height:30px;margin-bottom:18px}.compass-pick img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.compass-slot.filled .compass-pick{border-style:solid;border-color:transparent;box-shadow:var(--shadow-md)}.compass-slot.active .compass-pick{border:3px solid var(--accent);box-shadow:0 0 0 5px var(--accent-ring)}.compass-label{position:absolute;left:50%;bottom:8px;transform:translate(-50%);padding:3px 12px;border-radius:var(--radius-full);background:var(--brand-noir);color:#fff;font-family:var(--font-heading);font-size:14px;font-weight:700}.compass-slot.active .compass-label{background:var(--accent)}.compass-clear{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#181715a6;color:#fff}.compass-clear:hover{background:var(--status-error)}.compass-clear .icon{width:16px;height:16px}.compass-center{grid-area:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--accent-hover);font-family:var(--font-heading);font-weight:700}.compass-center .icon{width:38px;height:38px;padding:8px;box-sizing:content-box;border-radius:50%;background:var(--accent-light)}.how-steps{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}.how-steps li{display:flex;align-items:center;gap:12px;font-size:15px;line-height:1.4;color:var(--ink-secondary)}.how-icon{display:grid;place-items:center;width:44px;height:44px;min-width:44px;border-radius:var(--radius-md);background:var(--accent-light);color:var(--accent-hover)}.how-icon .icon{width:22px;height:22px}.slot-meter{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.slot-meter span{padding:8px 0;border-radius:var(--radius-sm);background:var(--surface-subtle);border:1px solid var(--border-subtle);text-align:center;font-family:var(--font-heading);font-size:13px;font-weight:700;color:var(--ink-muted)}.slot-meter span.filled{background:var(--status-success-bg);border-color:var(--status-success-border);color:var(--status-success)}.fine-print{font-size:13px;line-height:1.45;color:var(--ink-muted)}.home{flex:1;min-height:0;overflow-y:auto;padding:32px clamp(16px,4vw,48px) 48px}.home-head{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1200px;margin:0 auto 24px}.home-head h1{font-size:28px}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;max-width:1200px;margin:0 auto}.project-card{display:flex;flex-direction:column;border-radius:var(--radius-lg);border:1px solid var(--border-subtle);background:var(--surface);overflow:hidden;text-align:left;box-shadow:var(--shadow-xs);transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease}.project-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:var(--border-default)}.project-cover{display:grid;place-items:center;aspect-ratio:16 / 10;background:var(--surface-subtle);color:var(--ink-faint)}.project-cover img{width:100%;height:100%;object-fit:cover;display:block}.project-cover .icon{width:48px;height:48px}.project-copy{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px}.project-copy strong{font-family:var(--font-heading);font-size:17px}.project-copy small{display:flex;align-items:center;gap:4px;font-size:14px;color:var(--ink-muted)}.project-copy small .icon{width:16px;height:16px}.project-copy small .icon:not(:first-child){margin-left:10px}.home>.home-empty{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:clamp(24px,4vw,56px);max-width:1040px;min-height:calc(100% - 16px);margin:0 auto}.home-empty-copy{display:flex;flex-direction:column;align-items:flex-start;gap:14px}.home-empty-kicker{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted)}.home-empty h1{font-size:clamp(28px,3.4vw,40px);line-height:1.1}.home-empty p{font-size:16px;color:var(--ink-secondary);max-width:36ch}.home-empty-steps{list-style:none;margin:6px 0 10px;padding:0;display:grid;gap:10px}.home-empty-steps li{display:flex;align-items:center;gap:12px;font-size:15px}.home-empty-steps span{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--surface-subtle);border:1px solid var(--border, rgba(0,0,0,.08));font-size:13px;font-weight:600}.home-empty-art{position:relative;margin:0}.home-empty-art img{display:block;width:100%;max-height:min(60vh,460px);aspect-ratio:4 / 3;object-fit:cover;border-radius:var(--radius-xl);box-shadow:var(--shadow-lg)}.home-empty-art .home-empty-before{position:absolute;left:-18px;bottom:-18px;width:38%;aspect-ratio:4 / 3;max-height:none;border:4px solid var(--surface, #fff);border-radius:var(--radius-lg, 14px)}.home-empty-art figcaption{position:absolute;top:12px;right:12px;padding:4px 10px;border-radius:999px;background:#0000008c;color:#fff;font-size:12px;font-weight:600}@media(max-width:767px){.home>.home-empty{grid-template-columns:1fr;min-height:0;gap:20px}.home-empty-art{order:-1}.home-empty-art img{max-height:30vh;aspect-ratio:16 / 10}.home-empty-art .home-empty-before{display:none}.home-empty-copy .button{width:100%;justify-content:center}}.project-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;max-width:1200px;margin:0 auto 22px}.project-search{position:relative;flex:1 1 320px;max-width:480px;display:flex;align-items:center}.project-search>.icon{position:absolute;left:14px;width:18px;height:18px;color:var(--ink-muted);pointer-events:none}.project-search input{height:46px;padding-left:42px;padding-right:42px}.project-search input::-webkit-search-cancel-button{display:none}.project-search-clear{position:absolute;right:6px;display:grid;place-items:center;width:34px;height:34px;border-radius:var(--radius-sm);color:var(--ink-muted)}.project-search-clear:hover{background:var(--surface-subtle);color:var(--ink-primary)}.project-search-clear .icon{width:16px;height:16px}.project-sort{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--ink-secondary)}.project-sort select{width:auto;height:46px;padding:0 12px}.project-total{margin-left:auto;font-size:14px;color:var(--ink-muted)}.project-none,.project-more{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:1200px;margin:28px auto 0;text-align:center}.project-none{padding:40px 16px;color:var(--ink-secondary)}.project-none>.icon{width:36px;height:36px;color:var(--ink-faint)}.project-more small{margin-left:6px;font-weight:500;color:var(--ink-muted)}.guide{position:fixed;inset:0;z-index:70}.guide-dim{position:absolute;inset:0;background:#1817158c}.guide-spot{position:absolute;border-radius:var(--radius-md);box-shadow:0 0 0 3px var(--accent),0 0 0 9999px #1817158c;pointer-events:none;transition:top .25s ease,left .25s ease,width .25s ease,height .25s ease}.guide-card{position:absolute;width:min(360px,calc(100vw - 32px));padding:18px 20px 16px;border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-lg);color:var(--ink-secondary);outline:none;transition:top .25s ease,left .25s ease}.guide-card.centered{top:50%;left:50%;transform:translate(-50%,-50%)}.guide-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.guide-count{font-size:13px;font-weight:600;color:var(--accent-hover)}.guide-close{display:grid;place-items:center;width:32px;height:32px;margin-right:-8px;border-radius:var(--radius-sm);color:var(--ink-muted)}.guide-close:hover{background:var(--surface-subtle);color:var(--ink-primary)}.guide-close .icon{width:18px;height:18px}.guide-card h2{font-size:19px;color:var(--ink-primary);margin-bottom:6px}.guide-card p{font-size:15px;line-height:1.5}.guide-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.guide-dots{display:flex;gap:5px}.guide-dots i{width:7px;height:7px;border-radius:50%;background:var(--border-default)}.guide-dots i.on{background:var(--accent)}.guide-actions{display:flex;align-items:center;gap:8px}.guide-actions .button{height:40px;padding:0 16px;font-size:14px}.guide-actions .link-button{padding:0 8px;color:var(--ink-muted)}.project-dialog{width:min(440px,calc(100% - 32px));padding:24px;border:0;border-radius:var(--radius-xl);box-shadow:var(--shadow-lg)}.project-dialog::backdrop{background:#1817158c}.project-dialog form{display:flex;flex-direction:column}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.dialog-top h2{font-size:22px}.project-dialog label{font-size:14px}.project-dialog input{font-size:16px;padding:14px 16px}.project-dialog .button{margin-top:18px}.project-dialog .alert{margin:8px 0}.stage-main.listing-stage{align-items:stretch;justify-content:flex-start;overflow-y:auto;container-type:normal;background:var(--surface-subtle)}.listing-sheet{width:100%;max-width:760px;margin:0 auto;display:flex;flex-direction:column;padding:20px 22px 24px;border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border-subtle)}.listing-sheet label{margin:14px 0 6px}.listing-sheet label small{font-family:var(--font-body);font-weight:500;color:var(--ink-muted);margin-left:6px}.sheet-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}.sheet-head h2{font-size:20px}.save-state{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-muted)}.save-state .icon{width:16px;height:16px}.save-state[data-state=saved]{color:var(--status-success)}.save-state[data-state=failed]{color:var(--status-error);font-weight:600}.listing-summary{margin-top:6px;font-family:var(--font-heading);font-size:16px;font-weight:700;color:var(--accent-hover)}.segmented{display:inline-flex;align-self:flex-start;gap:4px;margin-top:16px;padding:4px;border-radius:var(--radius-md);background:var(--surface-subtle);border:1px solid var(--border-subtle)}.segmented button{min-width:110px;height:42px;padding:0 18px;border-radius:9px;font-family:var(--font-heading);font-size:15px;font-weight:700;color:var(--ink-secondary)}.segmented button.selected{background:var(--brand-noir);color:#fff}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid .field{min-width:0}.price-field{grid-column:span 2}.input-pair{display:flex;gap:8px}.input-pair select{width:76px;flex-shrink:0}.more-toggle,.link-button{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-heading);font-weight:700;color:var(--accent-hover)}.more-toggle{align-self:flex-start;margin-top:18px;font-size:15px}.more-toggle small{font-family:var(--font-body);font-weight:500;color:var(--ink-muted)}.more-toggle .icon,.link-button .icon{width:18px;height:18px}.link-button{font-size:14px;padding:4px 0}.link-button:hover{color:var(--ink-primary)}.sheet-subhead{margin:20px 0 8px;font-size:14px;color:var(--ink-secondary)}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;gap:4px;min-height:38px;padding:6px 12px;border-radius:999px;border:1.5px solid var(--border-default);background:var(--surface);font-size:14px;font-weight:500;color:var(--ink-secondary)}.chip .icon{width:16px;height:16px;color:var(--accent-hover)}.chip:hover{border-color:var(--border-strong);color:var(--ink-primary)}.chip.selected{border-color:var(--accent);background:var(--accent-light);color:var(--ink-primary);font-weight:600}.inline-tip{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;margin-top:18px;padding:12px 14px;border-radius:var(--radius-md);background:var(--status-warning-bg);border:1px solid var(--status-warning-border);color:var(--status-warning);font-size:14px}.inline-tip>span{flex:1;min-width:200px}.inline-tip .icon{width:20px;height:20px}.field-head{display:flex;align-items:baseline;justify-content:space-between}.counter{font-size:13px;color:var(--ink-muted)}.counter.over{color:var(--status-error);font-weight:700}.copy-row{display:flex;gap:8px}.copy-row .button{flex-shrink:0}.copy-row input{min-width:0;flex:1}.share-box{margin-top:24px;padding:16px;border:1px solid var(--border-default);border-radius:var(--radius-md);background:var(--surface-subtle);display:flex;flex-direction:column;gap:10px}.share-box>.button{align-self:flex-start}.share-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.share-head .sheet-subhead{margin:0;display:inline-flex;align-items:center;gap:6px;color:var(--ink-primary)}.share-head .sheet-subhead .icon{width:16px;height:16px;color:var(--accent-hover)}.share-views{font-size:13px;color:var(--ink-secondary)}.share-box .fine-print{margin:0}.share-actions{display:flex;flex-wrap:wrap;gap:8px}.share-actions .button{text-decoration:none}.share-box .inline-tip{margin-top:0}.share-revoke{align-self:flex-start;color:var(--ink-muted);font-size:13px}.link-button.danger{color:var(--status-error)}.share-text{display:flex;flex-direction:column;gap:6px}.share-text label{font-size:13px;font-weight:600;color:var(--ink-secondary)}.share-text .fine-print{margin:0}.share-text .fine-print .link-button{margin-left:4px}.share-note{display:flex;align-items:center;gap:6px;margin:12px 0 0;font-size:13px;color:var(--status-success)}.share-note .icon{width:16px;height:16px;flex-shrink:0}.write-own{align-self:center;margin-top:6px;font-size:13px}.text-body{min-height:300px;font-size:15px;line-height:1.6}.sheet-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 10px}.result-card.text-card{display:flex;flex-direction:column;justify-content:space-between;gap:4px;width:190px;padding:10px 12px;background:var(--surface);border:1px solid var(--border-subtle)}.text-card-kind{font-size:12px;font-weight:700;color:var(--accent-hover)}.text-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.35;color:var(--ink-primary)}.picked-photos{display:flex;flex-wrap:wrap;gap:8px}.picked-photo{position:relative;width:72px;height:54px;border-radius:var(--radius-sm);overflow:hidden}.picked-photo img{width:100%;height:100%;object-fit:cover;display:block}.picked-photo button{position:absolute;top:3px;right:3px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#181715bf;color:#fff}.picked-photo button .icon{width:14px;height:14px}.tiles.compact .tile>span{display:flex;flex-direction:column;gap:1px}.stage-download{position:absolute;right:28px;bottom:28px;display:flex;align-items:center;gap:8px}.stage-download .stage-action{position:static}.brand-toggle{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:14px;white-space:nowrap;cursor:pointer}.stage-download .brand-toggle{height:46px;padding:0 14px;border-radius:var(--radius-md);background:#ffffffeb;color:var(--ink-primary);box-shadow:var(--shadow-lg)}.brand-toggle input,.check-row input{width:18px;height:18px;padding:0;accent-color:var(--accent)}.project-facts{font-size:14px;font-weight:600;color:var(--accent-hover)}.office-dialog{width:min(560px,calc(100% - 32px))}.office-dialog fieldset{border:1px solid var(--line, #e6e1d9);border-radius:12px;padding:12px 14px 14px;margin:16px 0 4px;min-width:0}.office-dialog legend{padding:0 6px;font-weight:600;font-size:14px}.brand-colors{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px}.color-field{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:13px;cursor:pointer}.color-field input[type=color]{width:36px;height:32px;padding:2px;border-radius:8px;cursor:pointer}.logo-preview.agent-photo{border-radius:50%;overflow:hidden}.logo-preview.agent-photo img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:cover}.dialog-lead{font-size:14px;color:var(--ink-muted);margin-bottom:4px}.logo-row{display:flex;align-items:center;gap:16px;margin-top:12px}.logo-preview{display:grid;place-items:center;width:96px;height:72px;flex-shrink:0;border-radius:var(--radius-md);border:1px dashed var(--border-strong);background:repeating-conic-gradient(var(--surface-subtle) 0 25%,var(--surface) 0 50%) 0 0 / 16px 16px;color:var(--ink-faint);overflow:hidden}.logo-preview img{max-width:88%;max-height:80%;object-fit:contain}.logo-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}.logo-actions label.button{margin:0;cursor:pointer}.logo-actions small{flex-basis:100%;font-size:12px;color:var(--ink-muted)}.check-row{display:flex;align-items:center;gap:10px;font-family:var(--font-body);font-weight:500;cursor:pointer}@media(max-width:900px){.stage-main.listing-stage{height:auto;max-height:none;padding:10px}.listing-sheet{padding:16px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.price-field{grid-column:span 2}.copy-row{flex-direction:column}.stage-download{right:16px;bottom:16px}.stage-download .brand-toggle,.stage-download .stage-action{height:42px}}@media(max-width:480px){.form-grid,.form-grid.two{grid-template-columns:minmax(0,1fr)}.price-field{grid-column:auto}.segmented{align-self:stretch}.segmented button{flex:1;min-width:0}}@media(max-width:1440px){.icon-text-button span{display:none}.appbar{grid-template-columns:minmax(0,1fr) auto auto;gap:12px}.appbar-start:has(.project-title) .brand-name,.appbar:has(.project-title) .user-name,.back-button span{display:none}.appbar-start,.appbar-end{gap:8px}.mode-tabs button{padding:0 12px}.user-name{max-width:120px}.project-title{flex:1 1 auto;min-width:72px}}@media(max-width:2100px){.mode-tabs button{padding:0 14px}.user-name{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}@media(max-width:1840px){.icon-text-button span{display:none}.icon-text-button{padding:0 10px}}@media(max-width:1280px){.workspace{grid-template-columns:200px minmax(0,1fr) 340px;gap:12px;padding:12px}.mode-tabs button{padding:0 10px}}@media(max-width:1100px){.appbar{grid-template-columns:auto auto 1fr}.brand-name,.user-name,.icon-text-button span{display:none}.status-chip.warning{font-size:0;gap:0;padding:0 8px}}@media(min-width:901px)and (max-height:820px){.appbar,.app{--appbar-h: 60px}.mode-tabs button{height:42px}.workspace{padding-top:12px;padding-bottom:12px}.controls-body{gap:12px;padding:14px 16px}.step{gap:8px}.tile{min-height:0;padding:6px;gap:3px;font-size:13px}.tile .icon{width:20px;height:20px}.tiles.compact .tile{min-height:44px;padding:6px 10px}.tiles.compact .tile small{display:none}.method{padding:6px 12px}.method-copy small{display:none}.segmented button{height:34px}.style-option{gap:6px}.template-swatch{height:30px}.controls-action{padding:10px 16px 12px;gap:6px}.button.go{min-height:52px}.result-card,.results-empty{height:70px}}@media(max-width:900px){.app{height:auto;min-height:100dvh;overflow:visible}.app.in-project{padding-bottom:var(--tabbar-h)}.appbar-end{grid-column:2}.appbar{position:sticky;top:0;--appbar-h: 60px;grid-template-columns:minmax(0,1fr) auto;padding:0 12px}.app{--appbar-h: 60px}.back-button span{display:none}.back-button{padding:0 10px}.mode-tabs{position:fixed;left:0;right:0;bottom:0;z-index:30;border-radius:0;border:0;border-top:1px solid var(--border-subtle);background:var(--surface);padding:6px calc(8px + var(--safe-r)) calc(6px + var(--safe-b)) calc(8px + var(--safe-l));box-shadow:0 -4px 16px #1817150f}.mode-tabs button{flex:1;flex-direction:column;gap:2px;height:58px;padding:0;font-size:13px}.mode-tabs button .icon{width:24px;height:24px}.user-chip{display:none}.workspace{display:flex;flex-direction:column;gap:12px;padding:12px}.library{overflow:visible}.library-grid{display:flex;overflow-x:auto;overflow-y:hidden;margin:0 -14px;padding:2px 14px 6px}.library-card{flex:0 0 96px}.library-section{display:none}.stage-main{height:min(72vw,62vh);height:min(72vw,62svh);flex:none}.stage[aria-labelledby=tour-heading] .stage-main{height:min(112vw,70vh);height:min(112vw,70svh)}.controls,.controls-body{overflow:visible}.controls-action{position:sticky;bottom:var(--tabbar-h);z-index:10;border-radius:0 0 var(--radius-lg) var(--radius-lg);box-shadow:0 -6px 16px #1817150f}.room-order{flex-wrap:nowrap;justify-content:flex-start;width:100%;overflow-x:auto;padding-bottom:4px}.room-item{flex:0 0 150px}.stage-action{right:24px;bottom:24px;height:42px;font-size:14px}.first-upload{padding:32px 20px}.compass{--slot: min(26cqh, 28cqw, 130px)}.toasts{top:72px}.home{padding-top:20px}.home-head h1{font-size:24px}.player-backdrop{padding:12px}}@media(max-width:480px){.project-title{font-size:15px}.home-head .button.big{min-height:46px;padding:10px 16px;font-size:15px}.project-grid{grid-template-columns:1fr 1fr;gap:12px}.project-search{flex-basis:100%;max-width:none}.project-sort>span{display:none}.project-copy{padding:10px 12px 12px}.project-copy strong{font-size:15px}.tile{min-height:68px;font-size:13px}.tour-pick{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.tour-viewer{position:fixed;inset:0;z-index:50;background:#1c2421;color:#eef1e7}.tour-stage{position:absolute;inset:0;outline:none;touch-action:none;cursor:grab}.tour-stage:active{cursor:grabbing}.tour-stage:focus-visible{outline:3px solid #9bbf78;outline-offset:-3px}.tour-canvas{display:block;width:100%;height:100%}.tour-topbar{position:absolute;left:0;right:0;top:0;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(#141b18cc,#141b1800);pointer-events:none}.tour-topbar>div:first-child{min-width:0}.tour-topbar strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:19px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tour-actions{display:flex;gap:8px;pointer-events:auto}.tour-icon-button{width:38px;height:38px;border-radius:9px;background:#ffffff1f;border:1px solid #ffffff2e;color:#f3f6e9;font-size:17px;display:grid;place-items:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.tour-icon-button:hover{background:#fff3}.tour-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:11px;background:#141b18d9;border:1px solid #ffffff24;border-radius:10px;padding:13px 17px;font-size:12px;max-width:calc(100% - 32px)}.tour-status.error{color:#f1d3c7}.tour-ai-label{position:absolute;left:18px;top:74px;font-size:10px;color:#e6ecdd;background:#141b18a6;border:1px solid #ffffff1f;border-radius:6px;padding:5px 9px;pointer-events:none;max-width:calc(100% - 36px)}.tour-text-button{height:38px;padding:0 13px;border-radius:9px;background:#ffffff1f;border:1px solid #ffffff2e;color:#f3f6e9;font-size:12px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);white-space:nowrap}.tour-text-button:not(:disabled):hover{background:#fff3}.tour-saved{position:absolute;left:50%;top:116px;transform:translate(-50%);background:#204f40e6;color:#f3f6e9;border-radius:9px;padding:9px 14px;font-size:12px;max-width:calc(100% - 32px);text-align:center}.tour-hint{position:absolute;left:50%;bottom:18px;transform:translate(-50%);background:#141b18b3;border:1px solid #ffffff1f;border-radius:999px;padding:8px 15px;font-size:10px;color:#cdd6c4;white-space:nowrap;pointer-events:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.tour-hint kbd{font:inherit;font-size:9px;border:1px solid #ffffff40;border-radius:4px;padding:1px 4px;margin:0 1px}@media(max-width:650px){.tour-hint{white-space:normal;text-align:center;width:calc(100% - 32px);border-radius:12px}.tour-topbar strong{font-size:16px}.tour-text-button{font-size:11px;padding:0 10px}.tour-topbar{flex-wrap:wrap}.tour-ai-label{inset:auto 16px 84px;max-width:none;text-align:center}.tour-saved{top:150px}}.tour-walk{position:absolute;right:18px;bottom:70px;display:flex;flex-direction:column;gap:8px}.tour-walk-button{width:52px;height:52px;border-radius:50%;background:#ffffff29;border:1px solid rgba(255,255,255,.3);color:#fff;font-size:18px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);touch-action:none;-webkit-user-select:none;user-select:none}.tour-walk-button:hover{background:#ffffff47}.tour-walk-button:active{background:#fff6}.tour-map{position:absolute;left:18px;bottom:70px;width:84px;height:84px;border-radius:12px;background:#1413108c;border:1px solid rgba(255,255,255,.18);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);pointer-events:none}.tour-map-room{position:absolute;inset:12px;border:1.5px solid rgba(255,255,255,.45);border-radius:3px}.tour-map-you{position:absolute;left:50%;top:50%;width:26px;height:26px;transform:translate(-50%,-50%)}.tour-map-you:before{content:"";position:absolute;left:50%;top:0;width:0;height:0;transform:translate(-50%);border-left:9px solid transparent;border-right:9px solid transparent;border-top:13px solid rgba(214,178,128,.55)}.tour-map-you>i{position:absolute;left:50%;top:50%;width:9px;height:9px;transform:translate(-50%,-50%);border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--accent)}@media(max-width:650px){.tour-walk{bottom:120px;right:14px}.tour-map{bottom:120px;left:14px;width:70px;height:70px}}@media(max-width:820px){.auth-shell{display:flex;flex-direction:column}.auth-story{padding:28px 20px}.architectural-scene{display:none}}.library-import{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;margin-top:-4px;border-radius:var(--radius-sm);font-family:var(--font-heading);font-size:14px;font-weight:600;color:var(--ink-secondary);flex-shrink:0}.library-import:hover{background:var(--surface-subtle);color:var(--ink-primary)}.library-import .icon{width:18px;height:18px;color:var(--accent)}.first-library{margin-top:4px}.first-library .icon{width:18px;height:18px}.library-dialog{width:min(960px,calc(100% - 32px));max-height:min(860px,calc(100dvh - 32px))}.library-dialog-body{display:flex;flex-direction:column;gap:12px;max-height:calc(min(860px,100dvh - 32px) - 48px)}.library-dialog .dialog-top{margin-bottom:0}.library-dialog .dialog-lead{margin:-6px 0 0}.library-dialog .button,.library-dialog .segmented{margin-top:0}.library-dialog .alert{margin:0}.library-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.library-tools .project-search{flex:1 1 240px;max-width:none}.library-dialog .project-search input{height:44px;padding:0 14px 0 42px;font-size:15px}.library-tools select{width:auto;max-width:240px;height:44px;padding:0 12px}.library-tools .button{height:44px}.library-dialog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:12px 10px;min-height:180px;overflow-y:auto;margin:0 -4px;padding:2px 4px 4px;align-content:start}.library-dialog-grid .library-empty{grid-column:1 / -1;padding:32px 0;text-align:center}.library-caption{display:block;margin-top:4px;overflow:hidden;font-size:12px;color:var(--ink-muted);white-space:nowrap;text-overflow:ellipsis}.library-card.is-added .library-pick{cursor:default}.library-card.is-added img{opacity:.45}.library-badge.muted{background:var(--brand-noir)}.library-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid var(--border-subtle)}.library-dialog-actions .fine-print{margin:0 auto 0 0}.items-pick{align-self:flex-start}.stage-items{position:absolute;left:28px;bottom:28px;display:flex;gap:6px;padding:6px;border-radius:var(--radius-md);background:#ffffffeb;box-shadow:var(--shadow-lg);pointer-events:none}.stage-items img{width:46px;height:46px;border-radius:6px;object-fit:cover;display:block}@media(max-width:900px){.stage-items{left:16px;bottom:16px}.stage-items img{width:36px;height:36px}}@media(max-width:480px){.library-dialog{padding:16px}.library-dialog-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}.library-tools select,.library-tools .button{flex:1 1 100%;max-width:none}}.go-price{margin-left:4px;padding:2px 9px;border-radius:var(--radius-full);background:#ffffff2e;font-size:12px;font-weight:600}.project-card-wrap{position:relative;display:flex;flex-direction:column}.project-card-wrap>.project-card{flex:1}.project-card-wrap.busy{opacity:.6;pointer-events:none}.project-archive{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#1817159e;color:#fff;opacity:0;transition:opacity .15s ease,background .15s ease}.project-archive .icon{width:17px;height:17px}.project-card-wrap:hover .project-archive,.project-archive:focus-visible{opacity:1}.project-archive:hover{background:var(--status-error)}@media(hover:none){.project-archive{opacity:1}}.project-archive-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 12px 12px;margin-top:-8px;border:1px solid var(--border-subtle);border-top:0;border-radius:0 0 var(--radius-lg) var(--radius-lg);background:var(--surface);font-size:13px;color:var(--ink-secondary)}.project-archive-actions>span{flex:1 1 100%;font-weight:600;color:var(--status-error)}.project-archive-actions .button{height:36px;padding:0 12px;font-size:13px}.project-archive-actions .button .icon{width:15px;height:15px}.button.danger{background:var(--status-error);border:1px solid var(--status-error);color:#fff}.button.danger:hover:not(:disabled){filter:brightness(.92)}.button.danger-text{color:var(--status-error)}.archive-toggle .count{margin-left:2px;font-weight:700;color:var(--ink-muted)}.archive-note{max-width:1200px;margin:-10px auto 18px;font-size:14px;color:var(--ink-muted)}.item-places{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.item-place{display:flex;align-items:center;gap:10px;padding:6px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface)}.item-place-photo{position:relative;flex-shrink:0;width:64px;height:52px;border-radius:var(--radius-sm);overflow:hidden}.item-place-photo img{width:100%;height:100%;object-fit:cover;display:block}.item-place-photo b{position:absolute;left:4px;top:4px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--brand-noir);color:#fff;font-size:12px}.item-place-field{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.item-place-field>span{font-size:12px;font-weight:600;color:var(--ink-muted)}.item-place-field input{width:100%;height:36px;padding:0 10px;font-size:14px}.item-place-remove{flex-shrink:0;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--ink-muted)}.item-place-remove:hover{background:var(--surface-subtle);color:var(--status-error)}.item-place-remove .icon{width:16px;height:16px}.region-frame{--region-remove: #e5484d;--region-replace: #3e63dd;--region-add: #30a46c}.region-layer{position:absolute;inset:0;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none}.region-box{--region: var(--region-remove);position:absolute;border:3px solid var(--region);border-radius:4px;background:color-mix(in srgb,var(--region) 14%,transparent);box-shadow:0 0 0 1px #ffffffb3;cursor:move}.region-box[data-action=replace]{--region: var(--region-replace)}.region-box[data-action=add]{--region: var(--region-add)}.region-box.selected{box-shadow:0 0 0 2px #fff,0 0 0 5px color-mix(in srgb,var(--region) 45%,transparent)}.region-box.draft{border-style:dashed;border-color:#fff;background:#ffffff2e;box-shadow:0 0 0 1px #18171580}.region-tag{position:absolute;left:-3px;top:-3px;display:grid;place-items:center;min-width:24px;height:24px;padding:0 4px;border-radius:4px 0 6px;background:var(--region);color:#fff;font-size:13px;font-weight:700;pointer-events:none}.region-handle{position:absolute;right:-9px;bottom:-9px;width:18px;height:18px;border:3px solid var(--region);border-radius:50%;background:#fff;cursor:nwse-resize}@media(pointer:coarse){.region-handle{right:-14px;bottom:-14px;width:28px;height:28px}}.region-hint{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:8px;max-width:calc(100% - 32px);padding:10px 16px;border-radius:var(--radius-full);background:#181715b8;color:#fff;font-size:14px;font-weight:600;text-align:center;pointer-events:none}.region-switch{position:absolute;left:28px;top:28px;display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-radius:var(--radius-md);background:#fff;color:var(--ink-primary);font-size:14px;font-weight:600;box-shadow:var(--shadow-lg);z-index:2}.region-switch .icon{width:16px;height:16px}.region-empty{margin:0;font-size:14px;line-height:1.5;color:var(--ink-secondary)}.region-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.region-row{display:flex;align-items:flex-start;gap:10px;padding:10px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface)}.region-row.selected{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.region-number{--region: #e5484d;flex-shrink:0;display:grid;place-items:center;width:26px;height:26px;border-radius:6px;background:var(--region);color:#fff;font-size:13px;font-weight:700}.region-number[data-action=replace]{--region: #3e63dd}.region-number[data-action=add]{--region: #30a46c}.region-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.region-body input{width:100%;height:36px;padding:0 10px;font-size:14px}.region-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px;border-radius:var(--radius-sm);background:var(--surface-subtle);border:1px solid var(--border-subtle)}.region-actions button{height:30px;border-radius:6px;font-size:13px;font-weight:700;color:var(--ink-secondary)}.region-actions button.active{color:#fff;background:#e5484d}.region-actions button.active[data-action=replace]{background:#3e63dd}.region-actions button.active[data-action=add]{background:#30a46c}.region-item{display:flex;align-items:center;gap:8px}.region-item .button{height:36px;padding:0 12px;font-size:13px}.region-item .button .icon{width:15px;height:15px}.region-item-photo{position:relative;flex-shrink:0;width:52px;height:42px;border-radius:var(--radius-sm);overflow:hidden}.region-item-photo img{width:100%;height:100%;object-fit:cover;display:block}.region-item-photo button{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#181715bf;color:#fff}.region-item-photo button .icon{width:12px;height:12px}.region-outlines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.region-shape{--region: var(--region-remove);fill:color-mix(in srgb,var(--region) 18%,transparent);stroke:var(--region);stroke-width:3px;stroke-linejoin:round;vector-effect:non-scaling-stroke;pointer-events:auto;cursor:move}.region-shape[data-action=replace]{--region: var(--region-replace)}.region-shape[data-action=add]{--region: var(--region-add)}.region-shape.selected{stroke-width:4px;filter:drop-shadow(0 0 2px #fff)}.region-shape.draft{fill:#ffffff29;stroke:#fff;stroke-dasharray:6 4;pointer-events:none}.region-box.outline{border-color:transparent;background:none;box-shadow:none;pointer-events:none}.region-box.outline.selected{border:1px dashed color-mix(in srgb,var(--region) 70%,transparent)}.region-box.outline .region-tag{border-radius:6px}.region-box.outline .region-handle{pointer-events:auto}.region-tools{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:3px;padding:3px;border-radius:var(--radius-sm);background:var(--surface-subtle);border:1px solid var(--border-subtle)}.region-tools button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:34px;border-radius:6px;font-size:13px;font-weight:700;color:var(--ink-secondary)}.region-tools button .icon{width:15px;height:15px}.region-tools button.active{background:var(--brand-noir);color:#fff}.region-layer.click-mode{cursor:pointer}.region-layer.selecting{cursor:progress}.region-hint[role=status]{top:12px;transform:translate(-50%)}.region-hint .spinner{width:14px;height:14px;min-width:14px;border-color:#ffffff4d;border-top-color:#fff}.region-hint .icon{width:15px;height:15px}.region-refine{display:grid;grid-template-columns:1fr 1fr;gap:6px}.region-refine button{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:30px;border-radius:6px;border:1px solid var(--border-subtle);font-size:13px;font-weight:600;color:var(--ink-secondary)}.region-refine button .icon{width:13px;height:13px}.region-refine button.active{background:var(--brand-noir);border-color:var(--brand-noir);color:#fff}.region-refine button:disabled{opacity:.4;cursor:default}.step-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.step-head .text-button{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.step-head .text-button .icon{width:13px;height:13px}.lang-switch{display:inline-flex;flex-shrink:0}.lang-switch>div{display:inline-flex;gap:2px;padding:2px;border:1px solid var(--border-subtle);border-radius:999px;background:var(--surface)}.lang-switch button{padding:4px 9px;border:0;border-radius:999px;background:transparent;color:var(--ink-muted);font-family:var(--font-heading);font-size:11px;font-weight:700;letter-spacing:.04em;line-height:1.2;cursor:pointer;transition:background .15s ease,color .15s ease}.lang-switch button:hover{color:var(--ink-primary)}.lang-switch button.active{background:var(--ink-primary);color:#fff}.lang-switch-light>div{border-color:#ffffff40;background:#16141280;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.lang-switch-light button{color:#ffffffbf}.lang-switch-light button:hover{color:#fff}.lang-switch-light button.active{background:#fff;color:var(--ink-primary)}.auth-form-side{position:relative}.auth-lang{position:absolute;top:20px;right:20px}.mode-tabs-divider{flex:none;align-self:center;width:1px;height:26px;margin:0 4px;background:var(--border-default)}button.library-section{width:100%;padding:4px 2px;border:0;background:none;text-align:left;cursor:pointer;border-radius:var(--radius-xs)}button.library-section:hover{color:var(--ink-primary);background:var(--surface-subtle)}button.library-section .icon{width:14px;height:14px;color:var(--ink-muted)}.library-room{display:flex;align-items:center;gap:8px;margin:-4px 0 10px;font-size:12px;font-weight:600;color:var(--ink-secondary)}.library-room select{flex:1;min-width:0;height:34px;padding:0 8px;font-size:13px}.status-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.status-filter .count{margin-left:4px;color:var(--ink-muted);font-weight:600}.project-cover{position:relative}.status-badge{position:absolute;top:10px;left:10px;padding:3px 9px;border-radius:var(--radius-full);font-size:11px;font-weight:700;letter-spacing:.02em;background:#ffffffeb;color:var(--ink-secondary);box-shadow:var(--shadow-xs)}.status-badge[data-status=active]{background:var(--status-success-bg);color:var(--status-success)}.status-badge[data-status=closed]{background:var(--brand-noir);color:#fff}.listing-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.listing-nav .segmented{margin:0}.listing-nav .segmented .count{margin-left:4px;opacity:.7}.status-picker{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.status-picker>span{margin-right:2px;font-size:13px;font-weight:600;color:var(--ink-muted)}.status-picker .chip[data-status=active].selected{border-color:var(--status-success);background:var(--status-success-bg);color:var(--status-success)}.status-picker .chip[data-status=closed].selected{border-color:var(--brand-noir);background:var(--brand-noir);color:#fff}.write-own-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-subtle)}.write-own-box strong{display:block;font-size:14px}.write-own-box small{display:block;margin-top:2px;font-size:12px;color:var(--ink-muted)}.write-own-box .button{flex:none}.controls-divider{display:flex;align-items:center;gap:10px;margin:4px 0;font-size:12px;font-weight:600;color:var(--ink-muted)}.controls-divider:before,.controls-divider:after{content:"";flex:1;height:1px;background:var(--border-subtle)}.photo-manager{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface)}.photo-manager .sheet-head{flex-wrap:wrap;gap:10px}.photo-manager .fine-print{margin:0}.photo-manager-actions{display:flex;flex-wrap:wrap;gap:8px}.photo-manager-actions label.button{cursor:pointer}.photo-manager-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;margin:0;padding:0;list-style:none}.manager-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface);cursor:grab;transition:box-shadow .15s ease,border-color .15s ease,opacity .15s ease}.manager-card:hover{border-color:var(--border-default);box-shadow:var(--shadow-sm)}.manager-card.dragging{opacity:.45}.manager-card.is-cover{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-ring)}.manager-image{position:relative;aspect-ratio:4 / 3;background:var(--surface-subtle)}.manager-image img{width:100%;height:100%;object-fit:cover;display:block}.manager-number{position:absolute;bottom:8px;left:8px;min-width:24px;height:24px;padding:0 6px;border-radius:var(--radius-full);background:#181715bf;color:#fff;font-size:12px;font-weight:700;line-height:24px;text-align:center}.manager-image .library-tag{top:8px;left:8px;bottom:auto}.manager-cover{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:var(--radius-full);background:#ffffffeb;color:var(--ink-muted);cursor:pointer;box-shadow:var(--shadow-xs)}.manager-cover .icon{width:18px;height:18px}.manager-cover:hover{color:var(--accent)}.manager-cover.active{background:var(--accent);color:#fff}.manager-cover.active .icon svg{fill:currentColor}.manager-body{display:flex;flex-direction:column;gap:8px;padding:10px}.manager-body select{width:100%;height:36px;padding:0 8px;font-size:13px}.manager-tools{display:flex;align-items:center;gap:4px}.manager-tools .button{margin-left:auto}.photo-manager-empty{display:grid;place-items:center;gap:8px;padding:40px 16px;color:var(--ink-muted);text-align:center}.photo-manager-empty .icon{width:40px;height:40px;color:var(--ink-faint)}.photo-editor{width:min(1180px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto}.editor-layout{display:flex;gap:20px;align-items:flex-start}.editor-stage{flex:1;min-width:0;display:grid;place-items:center;min-height:300px;padding:16px;border-radius:var(--radius-md);background:var(--tour-bg)}.editor-frame{position:relative;overflow:hidden;touch-action:none;-webkit-user-select:none;user-select:none}.editor-frame.hidden{visibility:hidden;position:absolute}.editor-frame canvas{display:block;width:100%;height:100%}.crop-box{position:absolute;box-shadow:0 0 0 9999px #0000008c;outline:2px solid #fff;cursor:move}.crop-grid{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(to right,rgba(255,255,255,.45) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.45) 1px,transparent 1px);background-size:33.333% 33.333%;background-position:-1px -1px}.crop-handle{position:absolute;width:18px;height:18px;border:3px solid #fff;background:transparent}.crop-handle[data-handle=nw]{top:-4px;left:-4px;border-right:0;border-bottom:0;cursor:nwse-resize}.crop-handle[data-handle=ne]{top:-4px;right:-4px;border-left:0;border-bottom:0;cursor:nesw-resize}.crop-handle[data-handle=sw]{bottom:-4px;left:-4px;border-right:0;border-top:0;cursor:nesw-resize}.crop-handle[data-handle=se]{bottom:-4px;right:-4px;border-left:0;border-top:0;cursor:nwse-resize}.editor-tools{flex:none;width:300px;display:flex;flex-direction:column;gap:18px}.editor-group h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:14px}.editor-group h3 .icon{width:16px;height:16px;color:var(--accent)}.editor-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.editor-buttons .button.selected{border-color:var(--accent);background:var(--accent-light)}.editor-slider{display:flex;flex-direction:column;gap:4px;margin-bottom:8px;font-size:13px;font-weight:600;color:var(--ink-secondary)}.editor-slider>span{display:flex;justify-content:space-between}.editor-slider output{font-variant-numeric:tabular-nums;color:var(--ink-muted);font-weight:600}.editor-slider input[type=range]{width:100%;accent-color:var(--accent);padding:0;height:auto;border:0;box-shadow:none}.editor-tools .link-button{align-self:flex-start}.editor-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin-top:16px}.editor-actions .fine-print{margin:0 auto 0 0;max-width:460px}.editor-actions .button{margin-top:0}.icon.mirrored{transform:scaleX(-1)}@media(max-width:900px){.editor-layout{flex-direction:column;align-items:stretch}.editor-tools{width:auto}.listing-nav{align-items:flex-start}.mode-tabs-divider{display:none}.write-own-box{flex-direction:column;align-items:stretch}}.workspace[data-tab=home],.workspace[data-tab=listing]{grid-template-columns:minmax(0,1fr)}app-project-home{display:contents}.project-home{min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:20px;padding:8px max(4px,calc((100% - 1180px)/2)) 24px}.home-upload{display:flex;align-items:center;gap:20px;padding:22px 26px;border:2px dashed var(--accent);border-radius:var(--radius-xl);background:var(--accent-light);cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.home-upload:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}.home-upload-icon{flex:none;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--surface);color:var(--accent)}.home-upload-icon .icon{width:32px;height:32px}.home-upload-copy{flex:1;display:flex;flex-direction:column;gap:4px}.home-upload-copy strong{font-family:var(--font-heading);font-size:21px;color:var(--ink-primary)}.home-upload-copy small{font-size:14px;color:var(--ink-secondary)}.home-upload .button{pointer-events:none}.home-cards{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:repeat(3,auto);gap:16px}.home-card{display:grid;grid-template-columns:180px minmax(0,1fr);overflow:hidden;padding:0;border:1px solid var(--border-subtle);border-radius:var(--radius-xl);background:var(--surface);text-align:left;color:var(--ink-primary);cursor:pointer;box-shadow:var(--shadow-xs);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.home-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);border-color:var(--accent)}.home-card:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.home-card-main{grid-row:1 / span 3;grid-template-columns:1fr;grid-template-rows:minmax(220px,1fr) auto}.home-card-media{position:relative;display:grid;place-items:center;min-height:150px;overflow:hidden;background:var(--surface-subtle);color:var(--ink-faint)}.home-card-media>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.home-card-media>.icon{width:56px;height:56px}.home-card-media .status-badge{top:14px;left:14px;font-size:12px;padding:5px 12px}.before-after .after{clip-path:inset(0 0 0 50%)}.ba-line{position:absolute;top:0;bottom:0;left:50%;width:3px;margin-left:-1.5px;background:#fff;box-shadow:0 0 8px #00000059}.home-card-play{position:relative;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#ffffffeb;color:var(--ink-primary);box-shadow:var(--shadow-md)}.home-card-play .icon{width:24px;height:24px}.home-card-body{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:18px 20px}.home-card-main .home-card-body{padding:22px 24px 24px;gap:12px}.home-card-title{display:flex;align-items:center;gap:10px;font-family:var(--font-heading);font-size:20px;font-weight:700}.home-card-main .home-card-title{font-size:26px}.home-card-title .icon{width:22px;height:22px;color:var(--accent)}.home-card-text{font-size:15px;line-height:1.45;color:var(--ink-secondary)}.home-card-foot{display:flex;align-items:center;gap:10px}.home-card-foot small{font-size:13px;font-weight:600;color:var(--status-success)}.ai-chip{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:var(--radius-full);background:var(--accent-light);color:var(--accent);font-size:12px;font-weight:700}.ai-chip .icon{width:13px;height:13px}.home-steps{display:flex;flex-wrap:wrap;gap:8px}.home-step{display:inline-flex;align-items:center;gap:7px;padding:6px 12px 6px 6px;border-radius:var(--radius-full);background:var(--surface-subtle);font-size:14px;font-weight:600;color:var(--ink-secondary)}.home-step-dot{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--surface);border:1px solid var(--border-default);font-size:12px;font-weight:700}.home-step-dot .icon{width:14px;height:14px}.home-step.done{background:var(--status-success-bg);color:var(--status-success)}.home-step.done .home-step-dot{background:var(--status-success);border-color:var(--status-success);color:#fff}.home-card-go{align-self:flex-start;margin-top:4px;pointer-events:none}.home-card-go .icon{width:18px;height:18px}.home-showing{padding:18px 20px;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface)}.home-showing-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:12px}.home-showing-head h2{display:flex;align-items:center;gap:8px;font-size:16px}.home-showing-head h2 .icon{width:18px;height:18px;color:var(--accent)}.home-showing-counts{flex:1;font-size:14px;color:var(--ink-muted)}.home-showing-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.home-showing-strip>img,.home-showing-media{flex:none;width:96px;height:72px;border-radius:var(--radius-sm);object-fit:cover}.home-showing-media{display:grid;place-items:center;background:var(--brand-noir);color:#fff}.home-showing-media .icon{width:22px;height:22px}app-listing-panel{display:contents}.listing-wizard{min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs)}.wizard-steps{display:flex;align-items:center;gap:10px;padding:16px max(20px,calc((100% - 960px)/2));border-bottom:1px solid var(--border-subtle);background:var(--surface-subtle)}.wizard-step{display:flex;align-items:center;gap:10px;padding:6px 10px 6px 6px;border:0;border-radius:var(--radius-full);background:none;font-size:16px;font-weight:600;color:var(--ink-muted);cursor:pointer;white-space:nowrap}.wizard-step:hover{background:var(--surface);color:var(--ink-primary)}.wizard-dot{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:2px solid var(--border-default);background:var(--surface);font-size:15px;font-weight:700}.wizard-dot .icon{width:18px;height:18px}.wizard-step.done{color:var(--status-success)}.wizard-step.done .wizard-dot{background:var(--status-success);border-color:var(--status-success);color:#fff}.wizard-step.active{color:var(--ink-primary)}.wizard-step.active .wizard-dot{background:var(--brand-noir);border-color:var(--brand-noir);color:#fff;box-shadow:0 0 0 4px var(--accent-ring)}.wizard-line{flex:1;min-width:12px;height:2px;border-radius:2px;background:var(--border-default)}.wizard-line.done{background:var(--status-success)}.wizard-body{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:18px;padding:24px max(20px,calc((100% - 960px)/2)) 32px}.wizard-body .listing-sheet{max-width:none}.wizard-intro{display:flex;align-items:center;gap:16px}.wizard-intro-icon{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--accent-light);color:var(--accent)}.wizard-intro-icon .icon{width:28px;height:28px}.wizard-intro h3{font-size:24px;margin:0 0 4px}.wizard-intro p{margin:0;font-size:16px;color:var(--ink-secondary)}.wizard-nav{display:flex;align-items:center;gap:12px;padding:14px max(20px,calc((100% - 960px)/2));border-top:1px solid var(--border-subtle);background:var(--surface)}.wizard-nav .button{margin:0}.wizard-nav .button.primary{margin-left:auto;min-width:220px;justify-content:center}.wizard-nav .button .icon{width:18px;height:18px}.wizard-count{font-size:14px;font-weight:600;color:var(--ink-muted)}.choice-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px}.choice-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:22px;border:2px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface);text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.choice-card:hover{border-color:var(--accent);transform:translateY(-1px);box-shadow:var(--shadow-md)}.choice-card.selected{border-color:var(--accent);background:var(--accent-light)}.choice-card strong{font-family:var(--font-heading);font-size:20px;color:var(--ink-primary)}.choice-card small{font-size:14px;color:var(--ink-secondary)}.choice-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:6px;border-radius:50%;background:var(--surface-subtle);color:var(--ink-primary)}.choice-icon.ai{background:var(--accent);color:#fff}.choice-icon .icon{width:24px;height:24px}.ai-writer{display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface-subtle)}.ai-writer .step{margin:0}.ai-writer .step-title{margin-bottom:8px;font-size:15px}.ai-writer .chips+.chips{margin-top:8px}.ai-writer .go{width:100%}.ai-writer .action-note{margin:0;text-align:center}.ai-photos{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.ai-photos-strip{display:flex;gap:6px}.ai-photos-strip img{width:52px;height:40px;border-radius:6px;object-fit:cover}.ai-photos small{font-size:13px;color:var(--ink-muted)}.text-list{display:flex;flex-direction:column;gap:8px}.text-list h4{display:flex;align-items:center;gap:8px;margin:6px 0 2px;font-size:16px}.text-row{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface)}.text-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;padding:0;border:0;background:none;text-align:left;cursor:pointer}.text-row-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.text-row-main b{color:var(--status-success)}.text-row .button{margin:0}.row-confirm{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--status-error)}.text-editor .sheet-head{gap:12px;justify-content:flex-start}.text-editor .sheet-head h3{margin:0;font-size:17px}.next-callout{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;padding:14px 16px;border:1px solid var(--status-success-border);border-radius:var(--radius-md);background:var(--status-success-bg);color:var(--status-success);font-size:15px}.next-callout>.icon{width:22px;height:22px}.next-callout>span{flex:1;min-width:200px;color:var(--ink-primary)}.next-callout .button{margin:0}.share-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:12px 16px;border-radius:var(--radius-md);background:var(--surface-subtle);font-size:15px;font-weight:600}.share-summary>span{display:inline-flex;align-items:center;gap:6px}.share-summary .icon{width:18px;height:18px;color:var(--accent)}.share-summary .link-button{margin-left:auto}.wizard-body .share-box{padding:20px;border:2px solid var(--accent);border-radius:var(--radius-lg)}.wizard-body .share-box>.button.primary{min-height:52px;padding:0 28px;font-size:17px}.status-cards h4{margin:4px 0 10px;font-size:16px}.status-card-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.status-card{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border:2px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface);font-size:16px;font-weight:700;color:var(--ink-secondary);cursor:pointer}.status-card .icon{width:18px;height:18px}.status-card:hover{border-color:var(--border-default)}.status-card.selected{border-color:var(--brand-noir);background:var(--brand-noir);color:#fff}.status-card[data-status=active].selected{border-color:var(--status-success);background:var(--status-success)}.listing-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 12px;border:1px solid var(--accent);border-radius:var(--radius-full);background:var(--surface);color:var(--accent);font-size:13px;font-weight:700;cursor:pointer}.listing-toggle .icon{width:15px;height:15px}.listing-toggle:hover:not(:disabled){background:var(--accent-light)}.listing-toggle.on{border-color:var(--status-success);background:var(--status-success-bg);color:var(--status-success)}.listing-toggle.wide{width:100%}.listing-toggle.big{min-height:46px;font-size:15px;padding:0 18px}.manager-card.is-hidden .manager-image img{opacity:.45;filter:grayscale(.6)}.manager-hidden{position:absolute;inset:auto 8px 8px auto;display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:var(--radius-full);background:#181715cc;color:#fff;font-size:11px;font-weight:700}.manager-hidden .icon{width:13px;height:13px}.manager-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--status-error)}.manager-confirm .button{margin:0}.manager-confirm small{flex-basis:100%;font-size:12px;font-weight:500;color:var(--ink-secondary)}.photo-manager{padding:0;border:0;background:none}.photo-manager-empty .button{margin-top:6px}.library-listed{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--status-success);color:#fff}.library-listed .icon{width:13px;height:13px}.result-listed{position:absolute;top:6px;left:6px;display:inline-flex;align-items:center;gap:3px;padding:2px 7px;border-radius:var(--radius-full);background:var(--status-success);color:#fff;font-size:11px;font-weight:700}.result-listed .icon{width:12px;height:12px}.tour-card{height:auto;min-height:84px;overflow:visible}.result-actions{position:absolute;left:6px;right:6px;bottom:6px;display:flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:#fff}.result-actions .listing-toggle{min-height:26px;padding:0 8px;font-size:11px}.result-actions .icon-only,.result-actions button:not(.listing-toggle){display:inline-grid;place-items:center;min-width:26px;height:26px;margin-left:auto;padding:0 6px;border:0;border-radius:var(--radius-full);background:#ffffffeb;color:var(--ink-primary);font-size:11px;font-weight:700;cursor:pointer}.result-actions button.danger{background:var(--status-error);color:#fff}.result-actions>span{padding:2px 6px;border-radius:var(--radius-full);background:#181715bf}.result-actions .icon{width:13px;height:13px}.stage-download .listing-toggle{min-height:38px}.player-manage{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border-subtle)}.player-manage .button{margin:0}.player-manage>span:first-child{font-weight:600;color:var(--status-error)}.player-error{flex-basis:100%;font-size:13px;color:var(--status-error)}.home>*{max-width:1200px;margin-left:auto;margin-right:auto}.home-head{align-items:flex-end}.home-head h1{font-size:32px;letter-spacing:-.01em}.home-sub{margin:4px 0 0;font-size:15px;color:var(--ink-muted)}.project-tools{margin-bottom:14px}.status-filter{display:flex;flex-wrap:wrap;gap:4px;width:fit-content;max-width:100%;margin:0 0 22px;padding:4px;border-radius:var(--radius-full);background:var(--surface-subtle);border:1px solid var(--border-subtle)}.home>.status-filter{margin-left:max(0px,calc((100% - 1200px)/2))}.status-tab{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 16px;border:0;border-radius:var(--radius-full);background:none;font-size:14px;font-weight:600;color:var(--ink-secondary);cursor:pointer}.status-tab:hover{color:var(--ink-primary)}.status-tab.selected{background:var(--surface);color:var(--ink-primary);box-shadow:var(--shadow-sm)}.status-tab .count{min-width:22px;padding:1px 7px;border-radius:var(--radius-full);background:var(--surface-subtle);font-size:12px;color:var(--ink-muted);text-align:center}.status-tab.selected .count{background:var(--accent-light);color:var(--accent)}.project-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:20px}.project-card{width:100%;height:100%;padding:0}.project-cover{position:relative;display:block;aspect-ratio:4 / 3;overflow:hidden}.project-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.project-card:hover .project-cover img{transform:scale(1.03)}.project-cover-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:var(--ink-faint)}.project-cover-empty .icon{width:40px;height:40px}.project-cover-empty small{font-size:13px;font-weight:600}.project-cover .status-badge{top:12px;left:12px}.project-counts{position:absolute;right:10px;bottom:10px;display:flex;gap:4px}.project-counts>span{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:var(--radius-full);background:#181715b8;color:#fff;font-size:12px;font-weight:700}.project-counts .icon{width:13px;height:13px}.project-copy{gap:6px;padding:14px 16px 16px}.project-copy strong{font-size:18px;line-height:1.25}.project-facts{font-size:14px;color:var(--ink-secondary)}.project-progress{display:flex;align-items:center;gap:10px;margin-top:4px}.project-progress-bar{flex:1;display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.project-progress-bar i{height:6px;border-radius:3px;background:var(--border-subtle)}.project-progress-bar i.on{background:var(--accent)}.project-progress[data-done="4"] .project-progress-bar i.on{background:var(--status-success)}.project-progress small{flex:none;font-size:12px;font-weight:700;color:var(--ink-muted)}.project-progress[data-done="4"] small{color:var(--status-success)}@media(max-width:1000px){.home-cards{grid-template-columns:1fr;grid-template-rows:none}.home-card-main{grid-row:auto}.wizard-label{display:none}.wizard-step.active .wizard-label{display:inline}}@media(max-width:640px){.home-card{grid-template-columns:1fr}.home-card-media{min-height:160px}.home-upload{flex-direction:column;text-align:center}.choice-cards,.status-card-row{grid-template-columns:1fr}.wizard-nav{flex-wrap:wrap}.wizard-nav .button.primary{min-width:0;flex:1}.wizard-count{display:none}.wizard-intro h3{font-size:20px}}.license-alert{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;margin-top:20px;padding:16px 18px;border-radius:var(--radius-md);background:var(--status-warning-bg);border:1px solid var(--status-warning-border);border-left:5px solid var(--status-warning)}.license-alert-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:50%;background:var(--status-warning);color:#fff}.license-alert-icon .icon{width:22px;height:22px}.license-alert-text{flex:1;min-width:200px;display:flex;flex-direction:column;gap:2px}.license-alert-text strong{font-size:16px;color:var(--ink-primary)}.license-alert-text span{font-size:14px;color:var(--ink-secondary)}.license-alert-button{flex-shrink:0}@media(max-width:560px){.license-alert-button{width:100%;justify-content:center}}.region-tools-label{margin:0 0 6px;font-size:13px;font-weight:600;color:var(--ink-secondary)}.region-empty-big{display:flex;align-items:center;gap:12px;margin-top:10px;padding:14px;border:2px dashed var(--border-strong);border-radius:var(--radius-md);background:var(--surface-subtle);font-size:15px;font-weight:600;color:var(--ink-primary)}.region-empty-big .icon{width:26px;height:26px;flex-shrink:0;color:var(--brand-noir)}.region-question{margin:0;font-size:14px;font-weight:700;color:var(--ink-primary)}.region-choices{display:flex;flex-direction:column;gap:6px}.region-choice{--choice: #e5484d;display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;text-align:left;border:1.5px solid var(--border-subtle);border-radius:var(--radius-sm);background:var(--surface)}.region-choice[data-action=replace]{--choice: #3e63dd}.region-choice[data-action=add]{--choice: #30a46c}.region-choice:hover{border-color:var(--choice)}.region-choice.active{border-color:var(--choice);background:color-mix(in srgb,var(--choice) 9%,var(--surface))}.region-choice-icon{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border-radius:8px;background:color-mix(in srgb,var(--choice) 14%,transparent);color:var(--choice)}.region-choice.active .region-choice-icon{background:var(--choice);color:#fff}.region-choice-icon .icon{width:17px;height:17px}.region-choice-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}.region-choice-text strong{font-size:14px;color:var(--ink-primary)}.region-choice-text small{font-size:12px;color:var(--ink-muted)}.region-choice-check{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--choice);color:#fff}.region-choice-check .icon{width:13px;height:13px}.region-fix-toggle{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--ink-secondary);text-decoration:underline;text-underline-offset:3px}.region-fix-toggle .icon{width:14px;height:14px}.region-fix-done{grid-column:1 / -1}.mode-hop{display:flex;align-items:center;gap:12px;width:100%;margin-top:4px;padding:12px 14px;text-align:left;border:1.5px dashed var(--border-strong);border-radius:var(--radius-md);background:var(--surface-subtle)}.mode-hop:hover{border-style:solid;background:var(--surface)}.mode-hop>.icon{width:20px;height:20px;flex-shrink:0;color:var(--ink-secondary)}.mode-hop span{flex:1;display:flex;flex-direction:column;gap:2px}.mode-hop strong{font-size:14px;color:var(--ink-primary)}.mode-hop small{font-size:12px;color:var(--ink-muted)}.edit-prompt{font-size:15px;min-height:96px}.region-refine button{height:auto;min-height:32px;padding:4px 8px;text-align:center;line-height:1.2}.player-dialog{overflow-y:auto;overscroll-behavior:contain}.video-player{--player-room: 330px;width:min(100%,(100vh - var(--player-room)) * 16 / 9);width:min(100%,(100svh - var(--player-room)) * 16 / 9)}.video-player.portrait{width:min(100%,(100vh - var(--player-room)) * 9 / 16);width:min(100%,(100svh - var(--player-room)) * 9 / 16);min-width:min(200px,100%)}@media(max-width:760px){.video-player{--player-room: 300px}}.describe-step{padding:14px;border-radius:var(--radius-md);background:var(--surface-subtle);border:1.5px solid var(--border-strong)}.describe-tip{display:flex;align-items:flex-start;gap:6px;margin:0 0 8px;font-size:13px;color:var(--ink-secondary)}.describe-tip .icon{width:15px;height:15px;flex-shrink:0;margin-top:2px;color:var(--brand-noir)}.describe-input{font-size:15px;min-height:100px;background:var(--surface)}.media-listing{display:flex;flex-direction:column;gap:12px;margin-top:28px;padding-top:22px;border-top:1px solid var(--border-subtle)}.media-listing-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.media-listing-head h3{display:flex;align-items:center;gap:8px;margin:0;font-size:18px}.media-listing-head .count{padding:2px 8px;border-radius:999px;background:var(--surface-subtle);font-size:12px;font-weight:600;color:var(--ink-secondary)}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;margin-bottom:10px}.media-card{display:flex;flex-direction:column;gap:8px;padding:8px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface)}.media-card.hidden-item .media-thumb{opacity:.55}.media-thumb{position:relative;aspect-ratio:4 / 3;border-radius:var(--radius-sm);overflow:hidden;background:#111}.media-thumb video,.media-thumb img{width:100%;height:100%;object-fit:cover;display:block}.media-kind{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;background:#181715bf;color:#fff;font-size:12px;font-weight:700}.media-kind .icon{width:12px;height:12px}.media-off{position:absolute;top:8px;left:8px;padding:3px 8px;border-radius:999px;background:var(--surface);font-size:12px;font-weight:700;color:var(--ink-secondary)}.media-name{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-empty{grid-column:1 / -1;display:flex;align-items:center;gap:12px;padding:16px;text-align:left;border:2px dashed var(--border-strong);border-radius:var(--radius-md);background:var(--surface-subtle);font-size:14px;font-weight:600;color:var(--ink-secondary)}.media-empty:hover{background:var(--surface)}.media-empty .icon{width:22px;height:22px;flex-shrink:0}.share-summary{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px;border:1.5px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);font-size:15px;font-weight:600}.share-summary-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.share-summary-title{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:700;color:var(--ink-primary)}.share-summary-title .icon{width:20px;height:20px;color:var(--accent)}.share-summary .link-button{margin-left:0}.share-summary-items{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.share-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:12px 8px;border-radius:var(--radius-sm);background:var(--status-success-bg);color:var(--status-success);font-size:13px;font-weight:600;text-align:center}.share-item .icon{width:22px;height:22px;color:inherit}.share-item strong{font-size:22px;line-height:1;color:var(--ink-primary)}.share-item.empty{background:var(--surface-subtle);color:var(--ink-muted)}.share-item.empty strong{color:var(--ink-muted)}.share-summary-hint{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:0;font-size:13px;color:var(--status-warning)}.share-summary-hint .icon{width:16px;height:16px}@media(max-width:560px){.share-summary-items{grid-template-columns:repeat(2,1fr)}}.photo-manager-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.photo-manager-empty-hint{font-size:13px;color:var(--ink-muted);text-align:center}.status-card{flex-direction:column}.status-card small{font-size:12px;font-weight:500;opacity:.75}.pub-status-banner{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;padding:14px 16px;font-size:17px;font-weight:800;text-align:center}.pub-status-banner .icon{width:20px;height:20px}.pub-status-banner span{font-size:14px;font-weight:500}.pub-status-banner.closed{background:#181715;color:#fff}.pub-status-banner.draft{background:#fff4d6;color:#6b4e00}.pub-closed{gap:14px}.pub-closed-stamp{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:999px;background:#181715;color:#fff;font-size:20px;font-weight:800}.pub-closed-stamp .icon{width:22px;height:22px}.workspace[data-tab=social]{grid-template-columns:232px minmax(0,1fr)}app-social-panel{display:block;min-width:0;min-height:0;overflow-y:auto;padding-right:4px}@media(max-width:1280px){.workspace[data-tab=social]{grid-template-columns:200px minmax(0,1fr)}}@media(max-width:900px){app-social-panel{overflow:visible;padding-right:0}}.social-panel{display:flex;flex-direction:column;gap:16px;padding:4px 0 32px}.social-panel h3,.template-editor h3{margin:0 0 8px;font-family:var(--font-heading);font-size:14px;font-weight:700;color:var(--ink-primary)}.social-panel .hint,.template-editor .hint{margin:0 0 8px;font-size:12.5px;color:var(--ink-muted)}.social-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px}.social-head h2{margin:0;font-family:var(--font-heading);font-size:22px}.social-head p{margin:4px 0 0;color:var(--ink-secondary);font-size:14px;max-width:560px}.social-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 28px;padding:12px 16px;border:1px solid var(--border-subtle);border-radius:14px;background:var(--surface-subtle)}.toolbar-group{display:flex;flex-direction:column;gap:8px;min-width:0}.toolbar-group.grow{flex:1 1 360px}.social-toolbar .segmented{display:inline-flex;align-self:flex-start;max-width:100%;margin:0;background:var(--surface)}.social-toolbar .segmented button{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 16px;font-size:14px;font-weight:600;white-space:nowrap}.social-formats{overflow-x:auto}.format-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.15}.format-text small{font-size:11px;font-weight:500;opacity:.75}.format-shape{flex:none;display:inline-block;height:18px;max-width:30px;border:2px solid currentColor;border-radius:3px;opacity:.8}.step-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0;font-family:var(--font-heading);font-size:14px;font-weight:700;color:var(--ink-primary)}.social-panel h3.step-title{margin:4px 0 6px}.step-no{flex:none;display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--brand-noir);color:#fff;font-family:var(--font-body);font-size:12px;font-weight:700}.step-optional{font-family:var(--font-body);font-size:11.5px;font-weight:600;color:var(--ink-muted);padding:1px 8px;border-radius:999px;background:var(--surface-subtle)}.gallery-sub{margin:8px 0 6px;font-size:12.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted)}.gallery-sub-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 6px}.gallery-sub-row .gallery-sub{margin:0}.gallery-empty{margin:0 0 10px;padding:10px 12px;border:1px dashed var(--border-default);border-radius:8px;font-size:12.5px;color:var(--ink-muted)}.social-stage>.step-title{align-self:center}@media(max-width:900px){.social-stage>.step-title{display:none}}.video-full-thumb{position:relative;display:grid;place-items:center}.video-full-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.video-full-play{position:relative;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#00000073;color:#fff}.video-full-thumb .video-full-play .icon{width:18px;height:18px}.social-side h3.step-title{margin-top:14px}.social-missing{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:10px 14px;border-radius:10px;background:var(--status-warning-bg);border:1px solid var(--status-warning-border);color:var(--status-warning);font-size:13.5px}.social-missing .icon{width:18px;height:18px}.social-layout{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr) minmax(220px,280px);gap:20px;align-items:start}.social-gallery,.social-side{display:flex;flex-direction:column;gap:6px;max-height:calc(100vh - 220px);overflow:auto;padding-right:4px}.social-gallery-actions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.social-gallery-actions label.disabled{opacity:.5;pointer-events:none}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.template-card{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0}.template-thumb{display:block;width:100%;padding:0;overflow:hidden;border-radius:8px;border:2px solid var(--border-subtle);background:var(--surface-muted);cursor:pointer;transition:border-color .15s,transform .15s}.template-thumb:hover{border-color:var(--border-strong);transform:translateY(-1px)}.template-card.active .template-thumb{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.template-thumb svg,.social-preview svg,.editor-svg svg{display:block;width:100%;height:100%}.template-empty{font-size:11px;font-weight:600;color:var(--status-warning);padding-right:26px;margin-top:-3px}.social-empty-note{margin:0;max-width:420px;text-align:center;font-size:12.5px;color:var(--status-warning);background:var(--status-warning-bg);border-radius:8px;padding:8px 12px}.template-format{font-size:11px;color:var(--ink-tertiary, var(--ink-secondary));padding-right:26px;margin-top:-3px}.template-name{font-size:12.5px;font-weight:600;color:var(--ink-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:26px}.template-card .icon-button.tiny{position:absolute;right:0;bottom:-4px}.gallery-elsewhere{margin:4px 0 12px;font-size:12.5px;color:var(--ink-muted)}.gallery-elsewhere .link-button{font-size:12.5px;margin-left:6px}.template-colors{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 14px}.template-colors .segmented{margin:0}.template-colors .segmented{flex-wrap:wrap}.template-colors .segmented button{flex:none;min-width:0;padding:0 14px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.template-colors .swatches{display:inline-flex}.template-colors .swatches i{width:12px;height:12px;border-radius:50%;border:1px solid var(--border-default)}.template-colors .swatches i+i{margin-left:-4px}.color-pick{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink-secondary)}.color-pick input[type=color]{width:30px;height:26px;padding:0;border:1px solid var(--border-default);border-radius:6px;background:none;cursor:pointer}.template-colors-note{flex-basis:100%;font-size:12px;color:var(--ink-muted)}.gallery-group{margin:6px 0;font-size:12px;font-weight:600;color:var(--ink-secondary)}.gallery-other{margin:4px 0 10px;border:1px dashed var(--border-default);border-radius:10px;padding:0 10px}.gallery-other>summary{cursor:pointer;padding:9px 0;font-size:12.5px;font-weight:600;color:var(--ink-secondary)}.gallery-other[open]{padding-bottom:10px}.template-house{font-size:11px;color:var(--ink-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:26px;margin-top:-3px}.template-scope{align-self:flex-start;padding:0;margin-right:26px;font-size:11px;font-weight:600;color:var(--accent-hover);text-align:left}.template-scope:hover{text-decoration:underline}.template-scope:disabled{opacity:.5}.house-hint{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 12px;padding:10px 14px;border:1px solid var(--status-warning);border-radius:12px;background:color-mix(in srgb,var(--status-warning) 9%,var(--surface));font-size:13.5px;color:var(--ink-primary)}.house-hint .icon{flex:none;width:18px;height:18px;color:var(--status-warning)}.house-hint span{flex:1 1 220px}.house-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 12px;font-size:13px;color:var(--ink-secondary)}.house-line .icon{width:16px;height:16px}.house-line .link-button,.house-hint .link-button{font-size:13px}.house-dialog{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto}.dialog-lead{margin:0 0 12px;font-size:13.5px;color:var(--ink-secondary)}.dialog-section{margin-top:18px;padding-top:14px;border-top:1px solid var(--border-subtle)}.dialog-section h3{margin:0 0 2px;font-size:15px}.dialog-section h3 small{font-family:var(--font-body);font-size:12px;font-weight:500;color:var(--ink-muted)}.dialog-hint{margin:0 0 10px;font-size:12.5px;color:var(--ink-muted)}.house-facts{display:flex;flex-direction:column;gap:10px}.house-facts .segmented{align-self:flex-start;margin:0}.house-dialog .house-facts input,.house-dialog .house-facts select{font-size:15px;padding:10px 12px}.house-dialog .input-pair select{padding:10px 6px}@media(max-width:480px){.house-facts .form-grid.two{grid-template-columns:minmax(0,1fr)}}.nav-house .nav-edit{margin-left:auto;font-size:11.5px;font-weight:600;color:var(--accent-hover)}.nav-house.empty{border-style:dashed}app-project-nav.collapsed .nav-house .nav-edit{display:none}.icon-button.tiny{width:28px;height:28px;min-width:28px;padding:0}.icon-button.tiny .icon{width:15px;height:15px}.icon-button.danger,.icon-button.tiny.danger{color:var(--status-error);background:var(--status-error-bg)}.social-stage{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0}.social-preview-wrap{position:relative;width:100%;overflow:hidden;border-radius:10px}.social-preview{width:100%;overflow:hidden;border-radius:10px;box-shadow:0 10px 30px #18171529;background:var(--surface-muted)}.social-preview svg{width:100%;height:auto}.social-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}.social-size{margin:0;font-size:12.5px;color:var(--ink-muted);text-align:center}.slot-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.slot-head .link-button{margin-top:14px;white-space:nowrap}.slot-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}.slot{position:relative;aspect-ratio:1;padding:0;overflow:hidden;border-radius:8px;border:2px solid var(--border-default);background:var(--surface-subtle);color:var(--ink-faint)}.slot img{width:100%;height:100%;object-fit:cover}.slot span{position:absolute;left:4px;top:4px;min-width:18px;height:18px;border-radius:9px;background:#181715bf;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}.slot.active{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.slot-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;margin-top:8px}.slot-picker button{position:relative;aspect-ratio:4 / 3;padding:0;overflow:hidden;border-radius:8px;border:3px solid transparent}.slot-picker button.chosen{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.slot-picker button span{position:absolute;left:6px;top:6px;padding:0 7px;height:20px;border-radius:10px;background:#181715bf;color:#fff;font-size:12px;font-weight:700;line-height:20px}.slot-picker img{width:100%;height:100%;object-fit:cover}.caption-preview{margin:0 0 8px;max-height:160px;overflow:auto;padding:10px;border-radius:8px;background:var(--surface-subtle);font-size:12.5px;white-space:pre-wrap;color:var(--ink-secondary)}.social-side h3{margin-top:12px}.social-posts{border-top:1px solid var(--border-subtle);padding-top:16px}.post-strip{display:flex;gap:12px;overflow-x:auto;padding-bottom:6px}.post-item{flex:0 0 150px;margin:0}.post-item img{display:block;width:100%;height:auto;border-radius:8px;border:1px solid var(--border-subtle);object-fit:cover;background:var(--surface-muted)}.post-item figcaption{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:4px;font-size:11.5px;color:var(--ink-muted)}.post-actions{display:inline-flex;gap:2px}.home-card-media.social-card-media{position:relative}.social-card-band{position:absolute;left:-8%;right:-8%;top:42%;padding:6px 0;transform:rotate(-8deg);background:var(--accent);color:var(--brand-noir);font-family:var(--font-heading);font-weight:800;font-size:20px;letter-spacing:.08em;text-align:center;box-shadow:0 4px 12px #0003}.segmented button.active{background:var(--brand-noir);color:#fff}.template-editor{display:flex;flex-direction:column;gap:12px}.editor-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px;border-radius:12px;background:var(--surface-subtle);border:1px solid var(--border-subtle)}.editor-name{flex:0 1 280px;min-width:140px;height:36px;margin:0}.editor-bar-spacer{flex:1}.editor-guide{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:10px 14px;border-radius:12px;background:var(--accent-light);list-style:none;font-size:13px;color:var(--ink-primary)}.editor-guide li{display:flex;align-items:center;gap:8px}.size-row{display:flex;align-items:center;gap:8px;margin:8px 0;font-size:13px;font-weight:600;color:var(--ink-secondary)}.size-row span{margin-right:auto}.editor-done{align-self:flex-start;margin-top:10px}.icon-button.flip .icon{transform:scaleX(-1)}.editor-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,340px);gap:20px;align-items:start}.editor-canvas-wrap{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}.editor-stage{position:relative;width:100%;border-radius:6px;box-shadow:0 10px 30px #1817152e;touch-action:none;-webkit-user-select:none;user-select:none;outline:none;background:var(--surface-muted)}.editor-stage:focus-visible{box-shadow:0 0 0 3px var(--accent-ring),0 10px 30px #1817152e}.editor-svg{position:absolute;inset:0;overflow:hidden;border-radius:6px;pointer-events:none}.editor-box{position:absolute;cursor:move;border:1px dashed transparent}.editor-box:hover{border-color:#b58d5bb3}.editor-box.selected{border:2px solid var(--accent);background:#b58d5b0f}.handle{position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;border:2px solid var(--accent)}.handle.nw{left:-8px;top:-8px;cursor:nwse-resize}.handle.se{right:-8px;bottom:-8px;cursor:nwse-resize}.handle.ne{right:-8px;top:-8px;cursor:nesw-resize}.handle.sw{left:-8px;bottom:-8px;cursor:nesw-resize}.editor-side{display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 200px);overflow:auto;padding-right:4px}.editor-section{padding:12px;border-radius:12px;border:1px solid var(--border-subtle);background:var(--surface)}.editor-section h4{margin:14px 0 6px;font-size:12.5px;color:var(--ink-secondary)}.editor-section label{font-size:12.5px;margin:8px 0 4px}.editor-section input:not([type=checkbox]):not([type=color]):not([type=range]),.editor-section select,.editor-section textarea{width:100%;min-height:34px;font-size:13.5px}.editor-section .check-row{margin:8px 0 0}.editor-section .segmented{margin-top:8px;display:flex}.editor-section .segmented button{flex:1;min-width:0;height:32px;padding:0 8px;font-size:13px}.add-grid{display:flex;flex-wrap:wrap;gap:6px}.add-grid .chip{min-height:32px;padding:4px 10px;font-size:12.5px}.layer-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;max-height:240px;overflow:auto}.layer-list li{display:flex;align-items:center;gap:2px;border-radius:8px;padding:2px}.layer-list li.selected{background:var(--accent-light)}.layer-list li.muted{opacity:.55}.layer-name{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:4px 6px;text-align:left;font-size:13px;font-weight:600;color:var(--ink-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.layer-name small{font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-muted)}.props-head{display:flex;align-items:center;gap:4px}.props-head h3{flex:1;margin:0}.prop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.prop-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.color-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;font-size:12.5px;color:var(--ink-secondary)}.color-row>span{min-width:72px}.color-row input[type=color]{width:30px;height:28px;padding:1px;border-radius:6px;cursor:pointer}.color-row input.narrow{width:64px;min-height:28px}.swatch{width:24px;height:24px;padding:0;border-radius:50%;border:2px solid var(--border-default)}.swatch.active{border-color:var(--ink-primary);box-shadow:0 0 0 2px var(--accent-ring)}.drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:160px;margin-top:8px;border:2px dashed var(--border-default);border-radius:12px;cursor:pointer;color:var(--ink-muted);overflow:hidden}.drop-zone img{max-width:100%;max-height:260px;object-fit:contain}@media(max-width:1200px){.social-layout{grid-template-columns:minmax(200px,260px) minmax(0,1fr)}.social-side{grid-column:1 / -1;max-height:none;overflow:visible}}@media(max-width:900px){.social-layout,.editor-body{grid-template-columns:minmax(0,1fr)}.social-gallery,.editor-side{max-height:none}.social-stage{order:-1}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.social-mode{flex:0 0 auto}.social-mode button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.social-mode button .icon{width:18px;height:18px}.video-pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.video-option{display:flex;flex-direction:column;gap:4px;padding:4px;border:2px solid var(--border-subtle);border-radius:8px;background:var(--surface-muted);font-size:12px;color:var(--ink-secondary);text-align:left}.video-option img{width:100%;aspect-ratio:16 / 10;object-fit:cover;border-radius:5px}.video-option.active{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.video-option span{display:flex;flex-direction:column;gap:1px;line-height:1.25}.video-option strong{overflow:hidden;font-size:12px;color:var(--ink-primary);text-overflow:ellipsis;white-space:nowrap}.video-option em{font-style:normal;font-size:11px;color:var(--ink-muted)}.slide-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;max-height:240px;overflow:auto}.slide-picker button{position:relative;aspect-ratio:4 / 3;padding:0;overflow:hidden;border-radius:6px;border:2px solid transparent;opacity:.55}.slide-picker button.chosen{border-color:var(--accent);opacity:1}.slide-picker img{width:100%;height:100%;object-fit:cover}.slide-picker span{position:absolute;top:4px;left:4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--brand-noir);color:#fff;font-size:11.5px;font-weight:700;line-height:20px}.inline-field{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink-secondary)}.inline-field select{min-height:32px;width:auto}app-card-player{display:block}.card-player{position:relative;width:100%;overflow:hidden;border-radius:10px;background:#111;box-shadow:0 8px 24px #1817152e}.card-layer{position:absolute;inset:0}.card-layer svg{display:block;width:100%;height:100%}.card-layer[class*=anim-]{animation-fill-mode:both;animation-timing-function:cubic-bezier(.22,1,.36,1)}.card-layer.anim-none,.card-layer.anim-fade{animation-name:card-fade}.card-layer.anim-slide-up{animation-name:card-slide-up}.card-layer.anim-slide-left{animation-name:card-slide-left}.card-layer.anim-zoom{animation-name:card-zoom}.card-layer.kenburns{animation-name:card-kenburns;animation-timing-function:linear;animation-fill-mode:both;transform-origin:50% 50%}@keyframes card-fade{0%{opacity:0}to{opacity:1}}@keyframes card-slide-up{0%{opacity:0;transform:translateY(6%)}to{opacity:1;transform:none}}@keyframes card-slide-left{0%{opacity:0;transform:translate(8%)}to{opacity:1;transform:none}}@keyframes card-zoom{0%{opacity:0;transform:scale(1.15)}to{opacity:1;transform:none}}@keyframes card-kenburns{0%{transform:scale(1)}to{transform:scale(1.08)}}.card-replay{position:absolute;right:8px;bottom:8px;z-index:2;background:#ffffffe6;border-radius:50%}.video-make{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px}.video-make .hint{margin:0}.edit-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.edit-item{display:flex;flex-direction:column;gap:6px;margin:0;min-width:0}.edit-item.wide{grid-column:span 2}.edit-item video,.edit-state{width:100%;aspect-ratio:9 / 16;border-radius:8px;background:#111;object-fit:contain}.edit-item.wide video,.edit-item.wide .edit-state{aspect-ratio:16 / 9}.edit-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px;background:var(--surface-muted);color:var(--ink-secondary);font-size:13px;text-align:center}.edit-state.failed{color:var(--status-error);background:var(--status-error-bg)}.edit-item figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;font-size:12.5px;color:var(--ink-secondary)}.edit-item figcaption .muted{color:var(--ink-muted)}.edit-item .post-actions{margin-left:auto;display:inline-flex;gap:4px}.editor-player{display:block;width:100%;max-width:min(100%,calc((100vh - 240px)*.5625));max-width:min(100%,calc((100svh - 240px)*.5625));margin:0 auto}.editor-player.wide{max-width:100%}.timeline{align-self:stretch;margin-top:12px;padding:12px;border:1px solid var(--border-subtle);border-radius:10px;background:var(--surface)}.timeline-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.timeline-head h3{margin:0}.timeline-ruler{position:relative;height:16px;margin-left:34%;font-size:10.5px;color:var(--ink-muted)}.timeline-ruler span{position:absolute;transform:translate(-50%)}.timeline-ruler span:first-child{transform:none}.timeline-ruler span:last-child{transform:translate(-100%)}.timeline-rows{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:3px;touch-action:none}.timeline-rows li{display:grid;grid-template-columns:34% minmax(0,1fr);align-items:center;gap:0;min-height:24px;border-radius:6px}.timeline-rows li.selected{background:var(--accent-ring)}.timeline-name{padding:0 8px 0 4px;font-size:12px;color:var(--ink-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-lane{position:relative;height:18px;border-radius:4px;background:var(--surface-muted)}.timeline-bar{position:absolute;top:2px;bottom:2px;min-width:6px;padding:0;border:0;border-radius:4px;background:var(--accent);cursor:grab}.timeline-bar:active{cursor:grabbing}.timeline-bar.static{background:var(--border-default);cursor:default}@media(prefers-reduced-motion:reduce){.card-layer[class*=anim-],.card-layer.kenburns{animation-duration:.01s!important;animation-delay:0s!important}}@media(max-width:900px){.video-builder{grid-template-columns:minmax(0,1fr)}.edit-item.wide{grid-column:auto}}.brand-colors-toggle{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:10px 16px;border-top:1px solid var(--border-subtle)}.brand-colors-toggle .brand-toggle{white-space:normal}.brand-note{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--ink-secondary)}.brand-dots{display:inline-flex;gap:3px}.brand-dots i{width:14px;height:14px;border-radius:50%;border:1px solid rgba(0,0,0,.12)}.office-tabs{display:flex;align-self:stretch;margin:4px 0 8px}.office-tabs button{flex:1;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;font-size:14px}.office-tabs button .icon{width:16px;height:16px}.office-dialog textarea{width:100%;resize:vertical}.office-dialog .chip-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.office-dialog .chip{min-height:32px;font-size:13px}.profile-question{margin-top:14px}.question-label{font-size:14px;font-weight:600;color:var(--ink-primary)}.profile-analyze{display:flex;gap:14px;align-items:flex-start;margin-top:16px;padding:14px;border-radius:12px;background:var(--accent-light);border:1px solid var(--border-subtle)}.analyze-preview{flex:0 0 64px;width:64px;height:64px;display:grid;place-items:center;border-radius:10px;background:var(--surface);border:1px solid var(--border-subtle);overflow:hidden;color:var(--accent-hover)}.analyze-preview img{max-width:100%;max-height:100%;object-fit:contain}.analyze-body{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.analyze-body small{color:var(--ink-secondary);font-size:12.5px}.analyze-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px}.analyze-actions .button{display:inline-flex;align-items:center;gap:6px}.analyze-body .analyze-free{color:var(--ink-muted);font-size:11.5px}.analysis-note{display:flex;align-items:center;gap:6px;margin:8px 0 0;font-size:13px;color:var(--accent-hover)}.analysis-note .icon{width:16px;height:16px}.ai-summary{margin-top:12px}.chip.keyword{gap:2px;padding-right:4px;cursor:default}.chip-remove{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;color:var(--ink-muted)}.chip-remove:hover{background:var(--surface-subtle);color:var(--ink-primary)}.chip-remove .icon{width:12px;height:12px;color:inherit}.wizard-steps{display:flex;gap:6px;list-style:none;padding:0;margin:6px 0 10px;counter-reset:none}.wizard-steps li{flex:1;display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:9px;font-size:12.5px;font-weight:600;color:var(--ink-muted);background:var(--surface-subtle);min-width:0}.wizard-steps li span{flex:0 0 20px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--surface);font-size:11px}.wizard-steps li.current{color:var(--ink-primary);background:var(--accent-light)}.wizard-steps li.current span{background:var(--brand-noir);color:#fff}.wizard-steps li.done span{background:var(--accent);color:#fff}.wizard-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:18px}.wizard-actions .button.primary{margin-left:auto}@media(max-width:520px){.wizard-steps li{font-size:0;justify-content:center}.profile-analyze{flex-direction:column}}.brand-style-hint{font-size:12px;color:var(--ink-muted)}.appbar{grid-template-columns:minmax(0,1fr) auto}.appbar-end{grid-column:2}.phone-tabs{display:none}.project-body{flex:1;min-height:0;display:flex}.project-body>.workspace{flex:1;min-width:0}app-project-nav{flex:none;display:flex;width:264px;min-height:0;padding:16px 0 16px 16px}app-project-nav.collapsed{width:92px}.project-nav{flex:1;min-height:0;display:flex;flex-direction:column;gap:10px;overflow-y:auto;padding:2px}.nav-fold{display:inline-flex;align-items:center;gap:6px;align-self:stretch;justify-content:center;min-height:36px;padding:6px 10px;border:1px dashed var(--border-strong);border-radius:var(--radius-lg);background:var(--surface);font-size:13px;font-weight:600;color:var(--ink-secondary)}.nav-fold:hover{border-style:solid;border-color:var(--accent);color:var(--ink-primary)}.nav-fold .icon{flex:none;width:18px;height:18px}.nav-card{display:flex;flex-direction:column;gap:10px;padding:12px 14px;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--surface);color:var(--ink-primary);text-align:left;box-shadow:var(--shadow-xs);cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.nav-card:hover{border-color:var(--accent);box-shadow:var(--shadow-md);transform:translateY(-1px)}.nav-card:focus-visible{outline:3px solid var(--accent-ring);outline-offset:2px}.nav-card.active{border-color:var(--brand-noir);box-shadow:0 0 0 1px var(--brand-noir),var(--shadow-sm)}.nav-card-head{display:flex;align-items:center;gap:8px;min-width:0;font-family:var(--font-heading);font-size:15px}.nav-card-head .icon{flex:none;width:20px;height:20px;color:var(--accent)}.nav-card-head strong{flex:1;min-width:0;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-home .status-badge{position:static;flex:none;box-shadow:none;background:var(--surface-subtle)}.nav-home .status-badge[data-status=active]{background:var(--status-success-bg)}.nav-home .status-badge[data-status=closed]{background:var(--brand-noir)}.nav-count{flex:none;display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:var(--radius-full);background:var(--surface-subtle);font-family:var(--font-body);font-size:12px;font-weight:700;color:var(--ink-secondary)}.nav-card-body{display:flex;flex-direction:column;gap:6px;min-width:0}.nav-line{font-size:13px;line-height:1.35;color:var(--ink-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-line.strong{color:var(--ink-primary);font-weight:600}.nav-line.muted{color:var(--ink-muted);white-space:normal}.nav-steps{display:flex;gap:4px;margin-top:2px}.nav-steps i{flex:1;height:4px;border-radius:2px;background:var(--border-default)}.nav-steps i.done{background:var(--status-success)}.nav-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.nav-thumbs img{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:var(--radius-sm);background:var(--surface-subtle)}.nav-media{display:flex;align-items:center;gap:10px;min-width:0}.nav-media>img,.nav-media-empty{flex:none;display:grid;place-items:center;width:72px;height:54px;object-fit:cover;border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--ink-faint)}.nav-media-empty .icon{width:22px;height:22px}.nav-media-text{display:flex;flex-direction:column;gap:2px;min-width:0}app-project-nav.collapsed .nav-fold{flex-direction:column;gap:2px;padding:8px 4px;font-size:11px;line-height:1.2;text-align:center}app-project-nav.collapsed .nav-card{align-items:center;padding:10px 4px}app-project-nav.collapsed .nav-card-head{flex-direction:column;gap:4px}app-project-nav.collapsed .nav-card-head strong{flex:none;font-family:var(--font-body);font-size:11px;font-weight:600;line-height:1.2;white-space:normal;text-align:center;color:var(--ink-secondary)}app-project-nav.collapsed .nav-home .status-badge{display:none}app-project-nav.collapsed .nav-card-head .icon{width:24px;height:24px}@media(min-width:901px)and (max-width:1280px){app-project-nav{width:92px;padding:12px 0 12px 12px}.nav-fold,.nav-card-body,.nav-home .status-badge{display:none}.nav-card{align-items:center;padding:10px 4px}.nav-card-head{flex-direction:column;gap:4px}.nav-card-head strong{flex:none;font-family:var(--font-body);font-size:11px;font-weight:600;line-height:1.2;white-space:normal;text-align:center;color:var(--ink-secondary)}}@media(min-width:901px)and (max-height:820px){.nav-card{padding:10px 12px;gap:8px}.nav-thumbs img{aspect-ratio:16 / 10}}@media(max-width:900px){.phone-tabs{display:flex}.project-body{display:block}app-project-nav{display:none}}.home-cards.single{grid-template-columns:minmax(0,1fr);grid-template-rows:none}.home-cards.single .home-card-main{grid-row:auto;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:none;min-height:300px}@media(max-width:1000px){.home-cards.single .home-card-main{grid-template-columns:1fr;grid-template-rows:220px auto}}.design-chain .results-strip{align-items:center}.chain-arrow{flex:none;display:grid;place-items:center;color:var(--ink-faint)}.chain-arrow .icon{width:16px;height:16px}.chain-step{position:absolute;top:6px;left:6px;display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:var(--radius-full);background:#181715c7;color:#fff;font-size:11px;font-weight:700}.chain-original .chain-step{background:#fffffff0;color:var(--ink-primary)}.stage-download .stage-remove{width:46px;padding:0;justify-content:center}.stage-confirm{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 8px 0 14px;border-radius:var(--radius-md);background:#181715e6;color:#fff;font-size:14px;box-shadow:var(--shadow-lg)}.stage-confirm button{height:32px;padding:0 12px;border-radius:var(--radius-sm);background:#ffffff29;color:#fff;font-weight:600}.stage-confirm button.danger{background:var(--status-error)}.chat-bar{flex-shrink:0;display:flex;flex-direction:column;gap:6px;padding:10px 16px 12px;border-top:1px solid var(--border-subtle)}.chat-history-toggle{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 6px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;color:var(--ink-secondary)}.chat-history-toggle:hover{background:var(--surface-subtle);color:var(--ink-primary)}.chat-history-toggle .icon{width:15px;height:15px}.chat-history{display:flex;flex-direction:column;gap:6px;max-height:132px;margin:0;padding:0;overflow-y:auto;list-style:none}.chat-bubble{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border-radius:var(--radius-md);background:var(--surface-subtle);color:var(--ink-primary);text-align:left;font-size:13px}.chat-bubble:hover{background:var(--accent-light)}.chat-bubble.active{background:var(--accent-light);box-shadow:inset 0 0 0 1px var(--accent)}.chat-bubble b{flex:none;display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:var(--radius-full);background:var(--surface);font-size:11px}.chat-bubble span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-bubble small{flex:none;font-size:11px;font-weight:600;color:var(--ink-muted)}.chat-bubble small[data-status=completed]{color:var(--status-success)}.chat-bubble small[data-status=failed]{color:var(--status-error)}.chat-input{display:flex;align-items:flex-end;gap:8px}.chat-input textarea{flex:1;min-width:0;min-height:46px;max-height:120px;padding:12px 14px;resize:none;field-sizing:content;border-radius:var(--radius-md);font:inherit;font-size:15px;line-height:1.35}.button.chat-send{flex:none;width:46px;height:46px;min-height:0;padding:0;justify-content:center}.chat-send .icon{width:20px;height:20px}.chat-note{margin:0;font-size:12px;color:var(--ink-muted)}.chat-note.warn{color:var(--status-warning)}@media(min-width:901px)and (max-height:820px){.chat-bar{padding:8px 14px 10px}.chat-note{display:none}}@media(max-width:600px){.appbar{gap:8px}.appbar-end{gap:4px}.appbar-end .icon-text-button{width:36px;height:36px;padding:0;justify-content:center}.appbar-end .credits-button{width:auto;padding:0 6px}.appbar-end .credit-badge{margin-left:2px;padding:1px 4px}.appbar-end .lang-switch button{padding:4px 6px}.appbar:has(.project-title) .brand,.appbar:has(.project-title) [data-guide=help],.appbar-end .user-chip{display:none}.appbar-start{gap:6px}.appbar-start .back-button{width:36px;height:36px;padding:0;justify-content:center}.project-title{min-width:0}.stage-download{left:10px;right:10px;bottom:10px;flex-wrap:wrap;justify-content:flex-end;gap:6px}.stage-download .brand-toggle,.stage-download .stage-action{height:40px;padding:0 12px;font-size:13px}.stage-download .stage-download-link,.stage-download .stage-remove{width:40px;padding:0;justify-content:center}.stage-download-link span{display:none}}app-social-video{display:flex;flex-direction:column;gap:16px;min-width:0}.video-parts{display:flex;max-width:100%;margin-top:0}.video-parts button{flex:1 0 auto;min-width:0;padding:0 16px;white-space:nowrap}.social-side .segmented{display:flex;align-self:stretch;margin-top:4px}.social-side .segmented button{flex:1 1 0;min-width:0;height:38px;padding:0 8px;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-groups{display:flex;flex-direction:column;gap:4px}.slot-section{display:flex;flex-direction:column;gap:6px}.slot-sticky{position:sticky;top:-1px;z-index:2;display:flex;flex-direction:column;gap:6px;padding-bottom:8px;background:var(--surface);box-shadow:0 6px 8px -8px #18171559}.slot-sticky.picking .hint{display:none}.slot-sticky.picking .slot-list{grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:6px}.slot-sticky.picking .slot{border-radius:6px}.slot-sticky.picking .slot-current{margin-top:0;padding:6px 8px}.slot-sticky.picking .slot-current img{width:52px}.slot-sticky.picking .slot-current p{font-size:12.5px;line-height:1.35}.slot-current{display:flex;align-items:center;gap:10px;margin-top:8px;padding:8px;border-radius:10px;background:var(--surface-subtle)}.slot-current img{width:72px;aspect-ratio:4 / 3;object-fit:cover;border-radius:6px;flex:none;border:2px solid var(--accent)}.slot-current p{margin:0;font-size:13px;color:var(--ink-secondary);flex:1}.slot-current strong{display:block;color:var(--ink)}.photo-groups .slide-picker,.photo-groups .slot-picker{max-height:none;overflow:visible;margin-top:0}.photo-group-label{margin:6px 0 2px;padding:2px 0;background:var(--surface);font-size:12.5px;font-weight:700;color:var(--ink-secondary)}.photo-group-label span{margin-left:4px;font-weight:500;color:var(--ink-muted)}.video-preview{position:relative;background:#111}.video-preview app-frame-preview,.video-preview app-card-player{display:block;width:100%;height:100%}.video-preview .frame-preview,.video-preview .card-player{border-radius:0;box-shadow:none}.video-full-preview{width:100%;height:100%;background:#111}.video-full-preview video,.video-full-preview img{display:block;width:100%;height:100%;object-fit:cover}.video-full-thumb,.video-none-thumb{display:grid;place-items:center;color:var(--ink-muted)}.video-full-thumb{background:#2b2925;color:#fff}.video-full-thumb .icon,.video-none-thumb .icon{width:26px;height:26px}.social-size.warn{color:var(--status-warning)}.preview-full{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;background:#0c0b0ae0}.preview-full-box{position:relative;overflow:hidden;border-radius:10px;background:#111;box-shadow:0 20px 60px #00000080}.preview-full-box>*,.preview-full-box app-frame-preview,.preview-full-box app-card-player{display:block;width:100%;height:100%}.preview-full-box .frame-preview,.preview-full-box .card-player{border-radius:0;box-shadow:none}.preview-full-svg svg{display:block;width:100%;height:100%}.preview-full-label{margin:0;color:#ffffffd9;font-size:13.5px;font-weight:600}.preview-full-close{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ffffff24;color:#fff}.preview-full-close:hover{background:#ffffff3d}.preview-full-close .icon{width:22px;height:22px}app-frame-preview{display:block}.frame-preview{position:relative;width:100%;overflow:hidden;border-radius:10px;background:#111;box-shadow:0 8px 24px #1817152e}.frame-layer{position:absolute;inset:0}.frame-mark{position:absolute;padding:0;border:2px dashed rgba(255,255,255,.85);background:#18171559;cursor:pointer}.frame-mark span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);min-width:26px;height:26px;padding:0 6px;border-radius:13px;background:#181715cc;color:#fff;font-size:13px;font-weight:700;line-height:26px}.frame-mark.active{border:4px solid var(--accent);background:transparent;box-shadow:0 0 0 9999px #18171573;z-index:1}.frame-mark.active span{background:var(--accent)}.frame-layer svg{display:block;width:100%;height:100%}.frame-above{pointer-events:none}.frame-video{position:absolute;overflow:hidden;background:#2b2925}.frame-video video,.frame-video img{display:block;width:100%;height:100%;object-fit:cover}.frame-video.whole,.video-full-preview.whole{position:relative;overflow:hidden}.frame-video.whole{position:absolute}.frame-video.whole video,.video-full-preview.whole video{position:relative;object-fit:contain}.frame-video-blur{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(14px) brightness(.92);transform:scale(1.1)}.frame-video.whole>img:not(.frame-video-blur),.video-full-preview.whole>img:not(.frame-video-blur){position:relative;object-fit:contain}.hint.qr-bad{color:var(--status-danger, #b42318)}.hint a{overflow-wrap:anywhere}app-designer-panel{flex:none;display:flex;width:372px;min-height:0;padding:16px 16px 16px 0}.designer{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);overflow:hidden}.designer-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;border-bottom:1px solid var(--border-subtle)}.designer-avatar{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:var(--radius-full);background:var(--brand-noir);color:var(--accent)}.designer-avatar .icon{width:18px;height:18px}.designer-title{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}.designer-title strong{font-family:var(--font-heading);font-size:15px}.designer-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-muted)}.designer-status[data-status=running],.designer-status[data-status=waiting_jobs]{color:var(--accent-hover)}.designer-status[data-status=awaiting_user]{color:var(--status-warning)}.designer-status[data-status=failed]{color:var(--status-error)}.designer-status .spinner{width:11px;height:11px;border-width:2px}.designer-log{flex:1;min-height:0;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:var(--canvas)}.designer-intro{display:flex;flex-direction:column;gap:10px;font-size:14px;color:var(--ink-secondary);line-height:1.5}.designer-intro p{margin:0}.designer-hint{font-size:12.5px;color:var(--ink-muted)}.designer-suggestions{display:flex;flex-wrap:wrap;gap:6px}.designer-chip{padding:7px 11px;border:1px solid var(--border-default);border-radius:var(--radius-lg);background:var(--surface);font-size:12.5px;line-height:1.35;text-align:left;color:var(--ink-primary);cursor:pointer}.designer-chip:hover:not(:disabled){border-color:var(--accent);background:var(--accent-light)}.designer-msg{max-width:92%;padding:9px 12px;border-radius:var(--radius-md);font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.designer-msg p{margin:0}.designer-msg.user{align-self:flex-end;background:var(--brand-noir);color:#fff;border-bottom-right-radius:var(--radius-xs)}.designer-msg.ai{align-self:flex-start;background:var(--surface);border:1px solid var(--border-subtle);border-bottom-left-radius:var(--radius-xs)}.designer-msg.question{border-color:var(--accent);display:flex;flex-direction:column;gap:8px}.designer-msg.drafting{opacity:.85}.designer-thumbs{display:flex;gap:4px;margin-bottom:6px;flex-wrap:wrap}.designer-thumbs img{width:52px;height:40px;object-fit:cover;border-radius:var(--radius-xs)}.designer-step{display:flex;align-items:center;gap:8px;padding:2px 4px;font-size:12.5px;color:var(--ink-secondary)}.designer-step .icon{width:14px;height:14px;flex:none}.designer-step .spinner{width:12px;height:12px;border-width:2px;flex:none}.designer-step[data-status=done] .icon,.designer-step[data-status=completed] .icon{color:var(--status-success)}.designer-step[data-status=error],.designer-step[data-status=failed],.designer-step[data-status=needs_review]{color:var(--status-error)}.designer-step span{flex:1;min-width:0}.designer-step small{color:var(--ink-muted);white-space:nowrap}.designer-step.job{width:100%;padding:8px 10px;border:1px dashed var(--accent);border-radius:var(--radius-sm);background:var(--surface);text-align:left;font:inherit;font-size:12.5px;color:var(--ink-primary);cursor:pointer}.designer-step.job:hover{background:var(--accent-light)}.designer-step.job>span{display:flex;flex-direction:column;gap:1px}.designer-step.job em{display:inline-flex;align-items:center;gap:2px;font-style:normal;font-size:11.5px;font-weight:600;color:var(--accent-hover);white-space:nowrap}.designer-step.job em .icon{width:12px;height:12px;color:inherit}.designer-card{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--accent);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-xs)}.designer-card[data-status=rejected],.designer-card[data-status=expired]{border-color:var(--border-subtle);opacity:.7}.designer-card-title{display:flex;gap:8px;align-items:flex-start;margin:0;font-weight:600;font-size:14px;line-height:1.4}.designer-card-title .icon{width:16px;height:16px;flex:none;margin-top:2px;color:var(--accent)}.designer-card ol{margin:0;padding-left:0;list-style:none;font-size:13px;display:flex;flex-direction:column;gap:6px}.designer-plan-steps li{display:flex;align-items:center;gap:8px;padding:6px;border-radius:var(--radius-sm);background:var(--canvas)}.designer-plan-steps li.off{opacity:.45}.designer-plan-steps li.off .designer-plan-text>span{text-decoration:line-through}.designer-plan-thumbs{display:flex;flex:none}.designer-plan-thumbs img{width:44px;height:34px;object-fit:cover;border-radius:var(--radius-xs);border:2px solid var(--surface)}.designer-plan-thumbs img+img{margin-left:-14px}.designer-plan-text{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}.designer-plan-text small{color:var(--ink-muted);font-size:11.5px}.designer-plan-steps li b{float:none!important;margin-left:0!important}.designer-plan-toggle{flex:none;display:grid;place-items:center;width:24px;height:24px;padding:0;border:1px solid var(--border-default);border-radius:50%;background:var(--surface);color:var(--ink-muted);cursor:pointer}.designer-plan-toggle:hover{border-color:var(--status-error);color:var(--status-error)}.designer-plan-steps li.off .designer-plan-toggle:hover{border-color:var(--accent);color:var(--accent-hover)}.designer-plan-toggle .icon{width:12px;height:12px}.designer-card li b,.designer-total b{float:right;font-weight:600;color:var(--ink-secondary);white-space:nowrap;margin-left:8px}.designer-total{margin:0;padding-top:8px;border-top:1px solid var(--border-subtle);font-size:13.5px;font-weight:600}.designer-total b{color:var(--ink-primary)}.designer-actions{display:flex;gap:6px;flex-wrap:wrap}.designer-actions .button{flex:1;justify-content:center;padding-left:10px;padding-right:10px}.designer-actions .button.primary{flex:1 1 100%}.designer-actions .button.active{border-color:var(--accent);background:var(--accent-light)}.designer-actions .button.ghost{border-color:transparent;background:none;color:var(--ink-muted)}.designer-note{display:flex;gap:6px;align-items:flex-start;margin:0;font-size:12.5px;color:var(--ink-muted)}.designer-note.warn{color:var(--status-error)}.designer-note .icon{width:14px;height:14px;flex:none;margin-top:1px}.designer-result{display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 12px;align-items:center;padding:8px;border:1.5px solid var(--accent);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-xs);text-align:left;cursor:pointer;font-size:13.5px;font-weight:600;color:var(--ink-primary);transition:box-shadow .15s,transform .15s}.designer-result:hover{box-shadow:var(--shadow-sm);transform:translateY(-1px)}.designer-result img,.designer-result-icon{grid-row:span 2;width:96px;height:72px;object-fit:cover;border-radius:var(--radius-sm);background:var(--surface-muted);display:grid;place-items:center}.designer-result-text{display:flex;flex-direction:column;gap:2px;min-width:0}.designer-result-text small{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--status-success)}.designer-result-open{justify-self:start;display:inline-flex;align-items:center;gap:4px;padding:5px 10px;border-radius:var(--radius-full);background:var(--brand-noir);color:#fff;font-size:12px;font-weight:600}.designer-result-open .icon{width:13px;height:13px}.designer-typing{display:flex;gap:4px;padding:10px 12px;align-self:flex-start}.designer-typing span{width:6px;height:6px;border-radius:50%;background:var(--ink-faint);animation:designer-dot 1.2s infinite ease-in-out}.designer-typing span:nth-child(2){animation-delay:.15s}.designer-typing span:nth-child(3){animation-delay:.3s}@keyframes designer-dot{0%,80%,to{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.designer-compose{display:flex;flex-direction:column;gap:8px;padding:10px 12px 12px;border-top:1px solid var(--border-subtle);background:var(--surface)}.designer-attached{display:flex;gap:6px;flex-wrap:wrap}.designer-attach{position:relative;padding:0;border:0;background:none;cursor:pointer}.designer-attach img{width:56px;height:42px;object-fit:cover;border-radius:var(--radius-sm);display:block}.designer-attach .icon{position:absolute;top:-5px;right:-5px;width:16px;height:16px;padding:2px;border-radius:50%;background:var(--brand-noir);color:#fff}.designer-picker-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--ink-muted)}.designer-picker-head .link-button{font-size:12px}.designer-picker-done{display:inline-flex;align-items:center;gap:4px;min-height:32px;padding:0 12px;border:1px solid var(--border-default);border-radius:var(--radius-full);background:var(--surface);font:inherit;font-size:12.5px;font-weight:600;color:var(--ink-primary);cursor:pointer}.designer-picker-done .icon{width:14px;height:14px}@media(pointer:coarse){.designer-picker-done{min-height:40px}}@media(max-width:900px){.designer-picker{max-height:min(200px,26vh);max-height:min(200px,26svh)}.designer-picker-head{flex-wrap:wrap}}.designer-picker{flex:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:max-content;gap:6px;max-height:min(236px,34vh);overflow-y:auto;padding:2px}.designer-picker button{position:relative;padding:0;border:2px solid transparent;border-radius:var(--radius-sm);background:none;cursor:pointer;overflow:hidden}.designer-picker button:hover{border-color:var(--border-strong, var(--ink-faint))}.designer-picker button.on{border-color:var(--accent)}.designer-picker button{aspect-ratio:4 / 3}.designer-picker img{display:block;width:100%;height:100%;object-fit:cover}.designer-picker b{position:absolute;top:4px;left:4px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:var(--radius-full);background:var(--accent);color:var(--brand-noir);font-size:11.5px}.designer-picker small{position:absolute;left:0;right:0;bottom:0;padding:10px 5px 3px;background:linear-gradient(transparent,#000000a6);color:#fff;font-size:10.5px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.designer-compose{position:relative}.designer-peek{position:absolute;z-index:3;left:12px;right:12px;bottom:calc(100% + 8px);margin:0;padding:6px;border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-lg);pointer-events:none}.designer-peek img{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:var(--radius-sm);background:var(--surface-muted)}.designer-peek figcaption{padding:5px 2px 0;font-size:12px;color:var(--ink-secondary)}.designer-revise{display:flex;flex-direction:column;gap:6px;padding:8px 10px;border:1px solid var(--accent);border-radius:var(--radius-sm);background:var(--accent-light)}.designer-revise p{display:flex;align-items:center;gap:6px;margin:0;font-size:12.5px;font-weight:600}.designer-revise p span{flex:1}.designer-revise .icon{width:14px;height:14px;flex:none}.designer-revise .icon-button{width:24px;height:24px}.designer-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.designer-form label{display:flex;flex-direction:column;justify-content:flex-end;gap:3px;font-size:12px;color:var(--ink-secondary);white-space:normal}.designer-form input,.designer-form select{width:100%;min-width:0;padding:7px 8px;border:1px solid var(--border-default);border-radius:var(--radius-sm);background:var(--surface);font:inherit;font-size:13.5px;color:var(--ink-primary)}.designer-form input:focus,.designer-form select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.designer-form .button{grid-column:1 / -1;justify-content:center}.workspace.designer-flash .stage,.workspace.designer-flash .social-preview,.workspace.designer-flash .video-stage{animation:designer-flash 1.8s ease-out}@keyframes designer-flash{0%{box-shadow:0 0 0 0 var(--accent)}25%{box-shadow:0 0 0 4px var(--accent)}to{box-shadow:0 0 0 0 transparent}}.designer-input{display:flex;flex-direction:column;gap:6px;border:1px solid var(--border-default);border-radius:var(--radius-md);padding:8px;background:var(--surface)}.designer-input:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-ring)}.designer-input textarea{width:100%;min-height:44px;max-height:160px;resize:vertical;border:0;outline:none;background:transparent;font:inherit;font-size:14px;line-height:1.45;color:var(--ink-primary)}.designer-input-bar{display:flex;align-items:center;gap:4px}.designer-input-bar .icon-text-button{font-size:12px;padding:4px 6px}.designer-input-bar .spacer{flex:1}.designer-send{width:38px;height:34px;padding:0;justify-content:center}.designer-toggle.active{color:var(--accent-hover)}.library-card[draggable=true]{cursor:grab}@media(max-width:1280px){app-designer-panel{position:fixed;z-index:40;top:64px;right:0;bottom:0;width:min(380px,100vw);padding:10px}.designer{box-shadow:var(--shadow-lg)}}@media(max-width:900px){app-designer-panel{top:0;left:0;width:auto;padding:0;z-index:60}.designer{border-radius:0;border:0}}app-chat-studio{flex:1;min-height:0;display:flex}.chat-studio{flex:1;min-width:0;min-height:0;display:grid;grid-template-columns:minmax(360px,460px) minmax(0,1fr);gap:16px;padding:16px}.chat-studio-bar,.chat-studio-sheet-close{display:none}.chat-studio-preview{min-width:0;min-height:0;display:flex}.chat-studio>app-designer-panel{grid-column:1;grid-row:1}.chat-studio-preview{grid-column:2;grid-row:1}app-preview-pane{flex:1;min-width:0;min-height:0;display:flex}app-designer-panel.designer-main{position:static;width:auto;padding:0;min-width:0}.designer-main .designer{box-shadow:var(--shadow-sm);border-radius:var(--radius-lg);border:1px solid var(--border-subtle)}.designer-main .designer-log{padding:18px;gap:10px}.designer-main .designer-msg{font-size:15px;max-width:94%}.designer-main .designer-intro{font-size:15px}.designer-main .designer-chip{font-size:13.5px;padding:9px 13px}.designer-main .designer-input textarea{font-size:15px;min-height:52px}.designer-main .designer-send{width:44px;height:40px}.designer-upload-first{align-self:flex-start}.designer-next{display:flex;flex-wrap:wrap;gap:6px;padding-top:2px}.designer-picker-links{display:inline-flex;align-items:center;gap:10px}.designer-picker-links .link-button{display:inline-flex;align-items:center;gap:4px}.designer-picker-links .icon{width:13px;height:13px}.preview-pane{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:10px;padding:14px;background:var(--surface);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.preview-stage{position:relative;flex:1;min-height:240px;display:grid;place-items:center;padding:8px;border-radius:var(--radius-md);background:var(--canvas);overflow:hidden;container-type:size}.preview-picture{display:block;max-width:100cqw;max-height:calc(100cqh - 16px);width:auto;height:auto;object-fit:contain;border-radius:var(--radius-md);box-shadow:var(--shadow-md);background:var(--surface-muted)}video.preview-picture{width:auto;height:auto;max-width:calc(100cqw - 16px);max-height:calc(100cqh - 16px);background:transparent}.preview-compare{position:relative;max-width:100%;max-height:100%;border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-md)}.preview-compare>img{display:block;max-width:calc(100cqw - 16px);max-height:calc(100cqh - 16px);width:auto;height:auto;object-fit:contain}.preview-busy-wrap{position:relative;display:grid;place-items:center;max-width:100%;max-height:100%}.preview-busy{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:var(--radius-md);background:#1817158c;color:#fff;text-align:center;padding:16px}.preview-busy strong{font-size:17px}.preview-busy small{font-size:13px;opacity:.85}.preview-busy .spinner{width:28px;height:28px;border-width:3px}.preview-busy.error{background:#78141499}.preview-busy .icon{width:26px;height:26px}.preview-blank{width:min(560px,80cqw);aspect-ratio:4 / 3;border-radius:var(--radius-md);background:var(--surface-muted)}.preview-design{height:min(calc(100cqh - 16px),900px);max-width:calc(100cqw - 16px);border-radius:var(--radius-sm);overflow:hidden;box-shadow:var(--shadow-md);background:var(--surface-muted)}.preview-design svg{display:block;width:100%;height:100%}.preview-glow{position:absolute;inset:0;border-radius:var(--radius-md);pointer-events:none;animation:designer-flash 1.8s ease-out forwards}.preview-empty{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:380px;text-align:center;color:var(--ink-secondary)}.preview-empty strong{font-family:var(--font-heading);font-size:19px;color:var(--ink-primary)}.preview-empty p{margin:0 0 6px;font-size:14px;line-height:1.5}.preview-empty-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--accent-light);color:var(--accent-hover)}.preview-empty-icon .icon{width:28px;height:28px}.preview-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:44px}.preview-caption{flex:1;min-width:0;font-size:14px;font-weight:600;color:var(--ink-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-actions .button{min-height:44px}.preview-shelf{display:flex;flex-direction:column;gap:8px}.preview-tabs{display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none}.preview-tabs>button[role=tab]{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 14px;border:1px solid transparent;border-radius:var(--radius-full);background:none;font:inherit;font-size:14px;font-weight:600;color:var(--ink-secondary);cursor:pointer}.preview-tabs>button[role=tab] span{font-size:12px;font-weight:600;color:var(--ink-muted)}.preview-tabs>button[role=tab]:hover{background:var(--canvas)}.preview-tabs>button[role=tab].active{background:var(--brand-noir);color:#fff}.preview-tabs>button[role=tab].active span{color:#ffffffb3}.preview-tabs .spacer{flex:1}.preview-upload{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border:1px dashed var(--border-default);border-radius:var(--radius-full);background:none;font:inherit;font-size:13.5px;font-weight:600;color:var(--ink-secondary);cursor:pointer}.preview-upload:hover{border-color:var(--accent);color:var(--accent-hover)}.preview-upload .icon{width:16px;height:16px}.preview-strip{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px}.preview-card{position:relative;flex:none;width:128px;aspect-ratio:4 / 3;padding:0;border:2px solid transparent;border-radius:var(--radius-sm);background:var(--surface-muted);overflow:hidden;cursor:pointer}.preview-card:hover{border-color:var(--border-default)}.preview-card.on{border-color:var(--accent)}.preview-card img{display:block;width:100%;height:100%;object-fit:cover}.preview-card small{position:absolute;left:0;right:0;bottom:0;padding:12px 6px 4px;background:linear-gradient(transparent,#000000a6);color:#fff;font-size:11.5px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-card-blank{display:grid;place-items:center;width:100%;height:100%;color:var(--ink-muted)}.preview-card-state{position:absolute;inset:0;display:grid;place-items:center;background:#18171573;color:#fff}.preview-card-state .icon{width:20px;height:20px}.preview-strip{padding-top:8px;padding-right:8px}.preview-card.stacked{overflow:visible;margin-right:6px;box-shadow:3px -3px 0 -1px var(--surface-muted),3px -3px 0 0 var(--border-default),6px -6px 0 -1px var(--surface-muted),6px -6px 0 0 var(--border-default)}.preview-card.stacked img,.preview-card.stacked .preview-card-blank{border-radius:calc(var(--radius-sm) - 2px)}.preview-card.stacked small{border-radius:0 0 calc(var(--radius-sm) - 2px) calc(var(--radius-sm) - 2px)}.preview-card-count{position:absolute;top:5px;right:5px;padding:2px 7px;border-radius:999px;background:#181715b8;color:#fff;font-size:11px;font-weight:600}.preview-versions{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:8px 10px;border-radius:var(--radius-sm);background:var(--surface-muted)}.preview-versions-title{flex:none;margin-right:4px;font-size:12px;font-weight:600;color:var(--ink-secondary)}.preview-versions-arrow{flex:none;font-size:14px;color:var(--ink-muted)}.preview-version{position:relative;flex:none;width:58px;aspect-ratio:4 / 3;padding:0;border:2px solid transparent;border-radius:6px;background:var(--surface-subtle);overflow:hidden;cursor:pointer}.preview-version:hover{border-color:var(--border-default)}.preview-version.on{border-color:var(--accent)}.preview-version img{display:block;width:100%;height:100%;object-fit:cover}.preview-version small{position:absolute;left:3px;bottom:3px;padding:0 5px;border-radius:999px;background:#181715b8;color:#fff;font-size:10.5px;font-weight:600;line-height:16px}.preview-strip-empty{margin:0;padding:10px 2px;font-size:13px;color:var(--ink-muted)}.app-menu{position:relative}.app-menu-button{display:inline-flex;align-items:center;gap:4px;padding:2px 8px 2px 2px;border:1px solid var(--border-subtle);border-radius:var(--radius-full);background:var(--surface);color:var(--ink-secondary);cursor:pointer}.app-menu-button:hover,.app-menu-button[aria-expanded=true]{border-color:var(--accent)}.app-menu-button .avatar{width:32px;height:32px;min-width:32px}.app-menu-button .icon{width:18px;height:18px}.app-menu-backdrop{position:fixed;inset:0;z-index:70}.app-menu-list{position:absolute;z-index:71;top:calc(100% + 8px);right:0;min-width:230px;display:flex;flex-direction:column;padding:6px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-lg)}.app-menu-who{display:flex;flex-direction:column;gap:2px;margin:0 0 4px;padding:8px 10px 10px;border-bottom:1px solid var(--border-subtle);font-size:14px}.app-menu-who small{font-size:12px;color:var(--ink-muted);overflow-wrap:anywhere}.app-menu-list button{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 10px;border:0;border-radius:var(--radius-sm);background:none;font:inherit;font-size:14px;color:var(--ink-primary);text-align:left;cursor:pointer}.app-menu-list button:hover{background:var(--canvas)}.app-menu-list .icon{width:17px;height:17px;color:var(--ink-muted)}.take-over{border:1px solid var(--border-default);border-radius:var(--radius-full)}.take-over:hover{border-color:var(--accent)}.take-over span{display:inline}@media(max-width:1100px){.chat-studio{grid-template-columns:minmax(320px,400px) minmax(0,1fr);gap:12px;padding:12px}}@media(max-width:900px){.chat-studio{display:flex;flex-direction:column;gap:8px;padding:8px}.chat-studio>app-designer-panel{flex:1;order:2}.chat-studio-bar{order:1;display:flex;align-items:center;gap:10px;width:100%;padding:6px 12px 6px 6px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface);font:inherit;text-align:left;color:var(--ink-primary);cursor:pointer}.chat-studio-bar img,.chat-studio-bar-icon{flex:none;width:56px;height:42px;object-fit:cover;border-radius:var(--radius-sm);background:var(--surface-muted);display:grid;place-items:center}.chat-studio-bar>span{flex:1;min-width:0;display:flex;flex-direction:column;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-studio-bar small{font-size:11.5px;font-weight:600;color:var(--ink-muted);text-transform:uppercase;letter-spacing:.04em}.chat-studio-preview{display:none;order:3}.chat-studio.sheet-open .chat-studio-preview{position:fixed;z-index:65;inset:0;display:flex;flex-direction:column;gap:8px;padding:8px;background:var(--canvas)}.chat-studio-sheet-close{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border:0;border-radius:var(--radius-md);background:var(--surface);font:inherit;font-size:15px;font-weight:600;color:var(--ink-primary)}.preview-pane{padding:10px}.preview-card{width:104px}.designer-main .designer{border-radius:var(--radius-md)}.take-over span{display:none}}@media(max-width:900px){.app.in-project:has(app-chat-studio){height:100dvh;min-height:0;overflow:hidden;padding-bottom:0}}.designer-attach-ref{display:inline-flex;align-items:center;gap:6px;padding:3px 8px 3px 3px;border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:var(--surface)}.designer-attach-ref img,.designer-attach-blank{width:56px;height:42px;object-fit:cover;border-radius:var(--radius-xs);display:block;background:var(--surface-muted)}.designer-attach-ref small{max-width:120px;font-size:12.5px;font-weight:600;color:var(--ink-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.designer-attach-kind{position:absolute;left:7px;bottom:7px;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#0009;color:#fff}.designer-attach .designer-attach-kind .icon{position:static;width:12px;height:12px;padding:0;background:none}.designer-refs{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:6px}.designer-ref-tag{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:var(--radius-full);background:#ffffff2e;font-size:12.5px;font-weight:600}.designer-ref-tag .icon{width:13px;height:13px}.preview-add{min-width:150px;justify-content:center}.button.preview-add.added,.button.primary.preview-add.added,.button.primary.preview-add.added:not(:disabled):hover{background:var(--accent-light);border-color:var(--accent);color:var(--accent-hover)}.designer-quick{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.designer-quick-head{display:inline-flex;align-items:center;gap:6px;margin-right:2px;font-size:13px;font-weight:600;color:var(--ink-secondary)}.designer-quick-head img,.designer-quick-icon{width:30px;height:30px;flex:none;border-radius:var(--radius-xs);object-fit:cover;background:var(--surface-muted)}.designer-quick-icon{display:grid;place-items:center;color:var(--accent-hover)}.designer-quick-icon .icon{width:16px;height:16px}.designer-quick .designer-chip{border-color:var(--accent);color:var(--ink-primary)}.credit-plan{display:grid;gap:2px;margin:0 0 10px;padding:10px 12px;border-radius:10px;background:var(--accent-light)}.credit-plan span{font-weight:600}.credit-plan small{color:var(--ink-muted)}.designer-limit{display:flex;align-items:center;gap:8px;margin:0;padding:14px 12px;border-radius:12px;background:var(--surface-muted, var(--accent-light));color:var(--ink-muted);font-size:14px}.tiles.four{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-main.cleanup-stage{justify-content:flex-start;padding:14px 16px 10px}.cleanup-player{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;gap:8px}.cleanup-frame{position:relative;flex:1 1 auto;min-height:0;max-width:100%;max-height:calc(100cqh - 150px);border-radius:var(--radius-md);overflow:hidden;background:#000;box-shadow:var(--shadow-md)}.cleanup-frame video{display:block;width:100%;height:100%;object-fit:contain;cursor:pointer}.cleanup-overlay{position:absolute;inset:0;pointer-events:none}.cleanup-box{position:absolute;box-sizing:border-box;border:2px solid var(--area);border-radius:3px;pointer-events:auto;cursor:move;touch-action:none;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:color-mix(in srgb,var(--area) 10%,transparent)}.cleanup-box.action-pixelate{-webkit-backdrop-filter:blur(5px) contrast(1.4);backdrop-filter:blur(5px) contrast(1.4)}.cleanup-box.action-fill{-webkit-backdrop-filter:blur(22px) saturate(.9);backdrop-filter:blur(22px) saturate(.9)}.cleanup-box.selected{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--area)}.cleanup-box:focus-visible{outline:2px solid #fff;outline-offset:2px}.cleanup-box img{width:90%;height:90%;margin:5%;object-fit:contain;pointer-events:none}.cleanup-box-label{position:absolute;left:-2px;bottom:100%;max-width:220px;padding:1px 6px;border-radius:3px 3px 0 0;background:var(--area);color:#fff;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cleanup-box-handle{position:absolute;right:-6px;bottom:-6px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:var(--area);cursor:nwse-resize}.cleanup-cut-veil{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;background:#1817159e;color:#fff;font-weight:700}.cleanup-cut-veil.analyzing{background:#18171573}.cleanup-cut-veil .icon{width:20px;height:20px}.cleanup-transport{display:flex;align-items:center;gap:4px;width:100%}.cleanup-time{margin-left:6px;font-variant-numeric:tabular-nums;font-size:13px;color:var(--ink-secondary)}.pause-glyph{display:inline-block;width:10px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor}.cleanup-timeline{position:relative;width:100%;display:flex;flex-direction:column;gap:3px;padding:2px 0 4px;-webkit-user-select:none;user-select:none}.cleanup-ruler{height:14px;border-radius:4px;background:repeating-linear-gradient(90deg,var(--border-default) 0 1px,transparent 1px 10%),var(--surface);cursor:pointer;touch-action:none}.cleanup-lane{position:relative;height:14px;border-radius:4px;background:var(--surface-muted);cursor:pointer;touch-action:none}.cleanup-lane.selected{box-shadow:inset 0 0 0 1px var(--area)}.cleanup-span{position:absolute;top:3px;bottom:3px;border-radius:3px;background:var(--area);opacity:.75}.cleanup-key{position:absolute;top:50%;width:7px;height:7px;margin:-3.5px 0 0 -3.5px;border-radius:50%;background:#fff;border:1.5px solid var(--area)}.cleanup-key.hide{border-radius:1px;background:var(--area)}.cleanup-playhead,.cleanup-outro-mark{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;pointer-events:none}.cleanup-playhead{background:var(--brand-noir)}.cleanup-outro-mark{border-left:2px dashed var(--accent);width:0;pointer-events:auto}.cleanup-cut{position:absolute;top:0;bottom:0;right:0;background:repeating-linear-gradient(135deg,#b9382f2e 0 6px,#b9382f14 6px 12px);border-left:2px solid var(--status-error);pointer-events:none}.cleanup-cut-handle{position:absolute;top:-3px;left:-8px;width:14px;height:18px;border-radius:4px;background:var(--status-error);cursor:ew-resize;pointer-events:auto;touch-action:none}.cleanup-drop{cursor:pointer}.cleanup-drop .button{margin-top:6px}.cleanup-drop small{font-size:12px;color:var(--ink-muted)}.result-card.cleanup-add{display:block;cursor:pointer;border:1.5px dashed var(--border-strong);background:var(--surface)}.result-card.cleanup-add .result-placeholder{color:var(--accent)}.result-card.edited .result-name .icon{width:11px;height:11px;vertical-align:-1px}.cleanup-summary{display:flex;gap:8px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--accent-light);font-size:13px;line-height:1.45;color:var(--ink-secondary)}.cleanup-summary .icon{flex:0 0 auto;width:16px;height:16px;color:var(--accent)}.cleanup-track{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--border-subtle);border-left:4px solid var(--area);border-radius:var(--radius-sm);background:var(--surface)}.cleanup-track.selected{border-color:var(--area)}.cleanup-track-head{display:flex;align-items:center;gap:8px}.cleanup-track-head input{flex:1;min-width:0;padding:6px 8px;font-size:13px;font-weight:600}.cleanup-track select{padding:6px 8px;font-size:13px}.cleanup-dot{width:10px;height:10px;border-radius:50%;background:var(--area);flex:0 0 auto}.cleanup-track-actions{display:flex;flex-wrap:wrap;gap:6px}.cleanup-check{display:flex;align-items:flex-start;gap:8px;font-size:14px;cursor:pointer}.cleanup-check input{margin-top:3px}.cleanup-check small{display:block;font-size:12px;color:var(--ink-muted)}.text-button.danger-text{display:inline-flex;align-items:center;gap:4px;color:var(--status-error)}.text-button.danger-text .icon{width:13px;height:13px}.appbar{height:calc(var(--appbar-h) + var(--safe-t));padding-top:var(--safe-t);padding-left:max(20px,var(--safe-l));padding-right:max(20px,var(--safe-r))}.toasts{top:calc(72px + var(--safe-t))}.drop-overlay,.guide{padding-top:var(--safe-t);padding-bottom:var(--safe-b)}.player-backdrop{padding:max(24px,var(--safe-t)) max(24px,var(--safe-r)) max(24px,var(--safe-b)) max(24px,var(--safe-l))}.preview-full{padding:calc(16px + var(--safe-t)) calc(16px + var(--safe-r)) calc(16px + var(--safe-b)) calc(16px + var(--safe-l))}.preview-full-close{top:calc(12px + var(--safe-t));right:calc(12px + var(--safe-r))}.tour-topbar{padding-top:calc(16px + var(--safe-t));padding-left:calc(18px + var(--safe-l));padding-right:calc(18px + var(--safe-r))}.tour-hint{bottom:calc(18px + var(--safe-b))}.tour-ai-label{top:calc(74px + var(--safe-t))}@media(max-width:900px){.appbar{padding-left:max(12px,var(--safe-l));padding-right:max(12px,var(--safe-r))}.toasts{top:calc(72px + var(--safe-t))}.player-backdrop{padding:max(12px,var(--safe-t)) max(12px,var(--safe-r)) max(12px,var(--safe-b)) max(12px,var(--safe-l))}.workspace,.home{padding-left:max(12px,var(--safe-l));padding-right:max(12px,var(--safe-r))}.chat-studio{padding-bottom:calc(8px + var(--safe-b));padding-left:max(8px,var(--safe-l));padding-right:max(8px,var(--safe-r))}.chat-studio.sheet-open .chat-studio-preview{padding:calc(8px + var(--safe-t)) max(8px,var(--safe-r)) calc(8px + var(--safe-b)) max(8px,var(--safe-l));overscroll-behavior:contain}app-designer-panel:not(.designer-main){padding-top:var(--safe-t);padding-bottom:var(--safe-b);background:var(--surface)}}@media(max-width:900px),(pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),textarea,select{font-size:16px!important}}@media(pointer:coarse){.icon-button{width:var(--tap);height:var(--tap);min-width:var(--tap)}.icon-button.tiny{width:36px;height:36px;min-width:36px}.toast button{min-width:var(--tap);min-height:var(--tap)}.stage-confirm button,.chat-history-toggle,.region-refine button{min-height:40px}.designer-send,.designer-main .designer-send{width:var(--tap);height:var(--tap)}.button.compact,.listing-toggle{min-height:40px}.item-place-remove{min-width:40px;min-height:40px}.chip-remove,.swatch,.designer-plan-toggle,.icon-button.tiny{position:relative}.chip-remove:after,.swatch:after,.designer-plan-toggle:after,.icon-button.tiny:after,.library-remove:after,.handle:after,.crop-handle:after,.cleanup-box-handle:after,.cleanup-cut-handle:after{content:"";position:absolute;inset:-12px}.library-remove{width:34px;height:34px}.handle{width:20px;height:20px}.handle.nw{left:-11px;top:-11px}.handle.se{right:-11px;bottom:-11px}.handle.ne{right:-11px;top:-11px}.handle.sw{left:-11px;bottom:-11px}.crop-handle{width:26px;height:26px}.cleanup-box-handle{right:-10px;bottom:-10px;width:20px;height:20px}.cleanup-cut-handle{left:-11px;width:20px;height:26px;top:-6px}.cleanup-ruler,.cleanup-lane{height:26px}.cleanup-key{width:12px;height:12px;margin:-6px 0 0 -6px}.timeline-rows li{min-height:36px}.guide-actions .link-button,.guide-close{min-height:40px;min-width:40px}.back-button{min-width:40px;min-height:40px;justify-content:center}a,[role=button],.project-card,.home-card,.choice-card,.nav-card,.template-thumb,.preview-card,.library-card{-webkit-tap-highlight-color:transparent}}@media(hover:none){.button:not(:disabled):hover,.home-upload:hover,.home-card:hover,.choice-card:hover,.template-thumb:hover,.nav-card:hover,.designer-result:hover,.project-card:hover{transform:none}.project-card:hover .project-cover img{transform:none}.button:not(:disabled):active,.project-card:active,.home-card:active,.choice-card:active,.nav-card:active,.template-thumb:active,.preview-card:active,.designer-result:active{transform:scale(.98)}.icon-button:active,.mode-tabs button:active{background:var(--surface-muted)}}.project-dialog{overscroll-behavior:contain}@media(max-width:767px){dialog.project-dialog{width:100%;max-width:100%;max-height:calc(100dvh - 12px - var(--safe-t));margin:auto 0 0;padding:20px max(16px,var(--safe-r)) calc(16px + var(--safe-b)) max(16px,var(--safe-l));border-radius:var(--radius-xl) var(--radius-xl) 0 0;overflow-y:auto}dialog.project-dialog[open]{animation:sheet-up .22s cubic-bezier(.16,1,.3,1)}.library-dialog-actions{position:sticky;bottom:calc(-16px - var(--safe-b));z-index:2;margin-bottom:calc(-16px - var(--safe-b));padding-bottom:calc(12px + var(--safe-b));background:var(--surface)}}@keyframes sheet-up{0%{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}html:has(dialog[open]),html:has(.player-backdrop),html:has(.preview-full),html:has(.tour-viewer),html:has(.chat-studio.sheet-open),html:has(.app-menu-backdrop){overflow:hidden}.designer-log,.chat-history,.layer-list,.slide-picker,.credit-history,.player-dialog,.app-menu-list{overscroll-behavior:contain}@media(pointer:coarse){.timeline-rows{touch-action:pan-y}.timeline-rows li>*{touch-action:none}}.tab-short{display:none}@media(max-width:900px){.phone-tabs{overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}.phone-tabs::-webkit-scrollbar{display:none}.phone-tabs button{flex:1 0 56px;min-width:56px;scroll-snap-align:start;font-size:11.5px;line-height:1.15}.phone-tabs button span{max-width:100%;white-space:normal;text-align:center}.phone-tabs .mode-tabs-divider{flex:none}}@media(max-width:560px){.phone-tabs .tab-long{display:none}.phone-tabs .tab-short{display:inline}}.app-menu-list .menu-phone-only{display:none}@media(max-width:480px){.button{white-space:normal;text-align:center}.wizard-nav .button.primary{min-width:0}.video-parts button{flex:1 1 auto;white-space:normal}.appbar-end{gap:4px}.appbar-end>.lang-switch,.appbar-end>.appbar-extra{display:none}.app-menu-list .menu-phone-only{display:flex}}.app-menu-list .menu-lang{align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:0 10px;font-size:14px;color:var(--ink-secondary)}.camera-only{display:none}@media(pointer:coarse){.camera-only{display:flex}}
