*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#0b1020;color:#e5e7eb;overflow-x:hidden}a{color:#93c5fd}canvas,iframe,img,svg,video{display:block;max-width:100%}b,em,h1,h2,h3,h4,h5,h6,label,li,p,small,span,strong{min-width:0;overflow-wrap:normal;word-break:normal}main{width:100%;margin:0;padding:0}.top-bar{position:-webkit-sticky;position:sticky;top:0;z-index:30;background:rgba(11,16,32,.9);border-bottom:1px solid #253257;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.top-bar-inner{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding-top:0;padding-bottom:0}.brand-link{color:#fff}.brand-link,.wallet-pill{text-decoration:none;font-weight:700}.wallet-pill{display:inline-block;color:#fef9c3;border:1px solid #f59e0b;background:rgba(245,158,11,.16);border-radius:999px;padding:8px 12px}.card{background:#121a31;border:1px solid #253257;border-radius:14px;padding:20px;min-width:0}label{display:block;margin-bottom:8px;font-weight:600}input,select,textarea{width:100%;padding:10px;border-radius:8px;border:1px solid #32406c;background:#0f172a;color:#e5e7eb;margin-bottom:12px}button{font:inherit;line-height:1.15;letter-spacing:.01em;border-radius:12px;border:1px solid transparent;padding:0 16px;min-height:44px;min-width:0;max-width:100%;box-sizing:border-box;font-weight:650;cursor:pointer;margin-right:0}button:disabled{opacity:.6;cursor:not-allowed}.btn,.btn-danger,.btn-ghost,.btn-ghost-link,.btn-primary,.btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:0 16px;border-radius:12px;border:1px solid transparent;font-size:14px;line-height:1.15;font-weight:650;text-decoration:none;text-align:center;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}.btn-primary{background:linear-gradient(135deg,#2563eb,#6d28d9);color:#fff;border-color:rgba(147,197,253,.35);box-shadow:0 8px 20px rgba(37,99,235,.3)}.btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 24px rgba(37,99,235,.38)}.btn-primary:active:not(:disabled){transform:translateY(0);box-shadow:0 4px 10px rgba(37,99,235,.25)}.btn-secondary{border-color:#365088;color:#dbeafe;background:linear-gradient(160deg,rgba(17,28,53,.95),rgba(14,24,44,.9))}.btn-secondary:hover:not(:disabled){border-color:#5f85d6;background:linear-gradient(160deg,rgba(33,49,85,.98),rgba(21,35,63,.95))}.btn-ghost{border-color:#324874;color:#dbeafe;background:rgba(11,19,39,.45)}.btn-ghost:hover:not(:disabled){border-color:#5274b4;background:rgba(26,44,78,.45)}.btn-danger{border-color:hsla(0,91%,71%,.42);color:#fee2e2;background:linear-gradient(150deg,rgba(153,27,27,.92),rgba(127,29,29,.85))}.btn-danger:hover:not(:disabled){border-color:hsla(0,94%,82%,.6);background:linear-gradient(150deg,rgba(185,28,28,.95),rgba(127,29,29,.9))}.btn-danger:disabled,.btn-ghost-link:disabled,.btn-ghost:disabled,.btn-primary:disabled,.btn-secondary:disabled{box-shadow:none;transform:none}.safe-flex-row{min-width:0}.safe-button,.safe-flex-row>*{min-width:0;max-width:100%}.safe-button{box-sizing:border-box;white-space:normal;overflow-wrap:break-word;word-break:normal;text-align:center;align-items:center;justify-content:center}.safe-card-content{min-width:0;overflow:visible}.safe-card-content>*{min-width:0}.safe-label{min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word;word-break:normal}.studio-page :where(.card,.step-panel,.workspace-empty-state,.files-row,.generation-history-card,.generation-overview-card,.project-card-item,.gallery-card,.sidebar-nav-item,.topbar-pill,.coin-badge,.status-chip,.newest-badge){min-width:0}.studio-page :where(.card,.step-panel,.files-row,.generation-history-card,.generation-overview-card,.project-card-item,.gallery-card)>*{min-width:0;max-width:100%}.studio-page :where(.workspace-topbar,.workspace-topbar-right,.hero-project-card,.hero-project-content,.hero-actions,.hero-secondary-actions,.hero-meta-pills,.section-headline-row,.wizard-stepper-header,.step-panel-header,.tabs-row,.gallery-actions-row,.studio-viewer-top-row,.viewer-frame-rail,.metrics-inline,.generation-chip-row,.files-row-title-wrap,.topbar-actions,.sidebar-nav,.sidebar-project-name,.summary-meta-grid){min-width:0}.studio-page :where(.hero-secondary-actions,.hero-meta-pills,.gallery-actions-row,.viewer-frame-rail,.metrics-inline,.generation-chip-row,.files-row-title-wrap,.workspace-topbar-right,.topbar-actions){flex-wrap:wrap}.studio-page :where(.btn,.btn-primary,.btn-secondary,.btn-ghost,.btn-danger,.btn-ghost-link,button,[role=button]){min-width:0;max-width:100%;white-space:normal;overflow-wrap:break-word;word-break:normal;text-align:center}.studio-page :where(input,textarea,select,table,pre){min-width:0;max-width:100%}.studio-page :where(.muted,.hero-subtitle,.hero-status,.generation-history-meta,.compact-empty,.workspace-title){overflow-wrap:normal;word-break:normal;white-space:normal}pre{white-space:pre-wrap;word-break:break-word;background:#0b1324;padding:12px;border-radius:8px;border:1px solid #1f2a44}.jobs-table-wrap{overflow-x:auto}.status-badge{display:inline-block;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:700}.status-ok{background:rgba(34,197,94,.2);color:#86efac}.status-error{background:rgba(239,68,68,.2);color:#fca5a5}.status-progress{background:rgba(250,204,21,.2);color:#fde68a}.error-text{color:#fca5a5}.photo-status-block{margin-top:8px}.photo-status-text{color:#cbd5e1;margin:0}.result-preview{margin-top:8px;max-width:100%;border-radius:10px;border:1px solid #32406c}.studio-page{position:relative}.studio-header{display:flex;justify-content:space-between;gap:16px;margin-bottom:16px}.studio-header h1{margin:0;font-size:32px}.subtitle{margin:8px 0 0;color:#9fb0d6}.profile-block{min-width:280px;text-align:right}.profile-block p{margin:0 0 8px}.inline-edit{margin-top:8px;display:flex;gap:8px}.inline-edit input{margin:0}.error-banner{border:1px solid rgba(239,68,68,.5);background:rgba(127,29,29,.35);color:#fecaca;padding:10px 12px;border-radius:10px;margin-bottom:16px}.toast{position:fixed;top:16px;left:50%;transform:translateX(-50%);background:#1d4ed8;color:#fff;border-radius:999px;padding:8px 14px;z-index:20}.studio-grid{display:grid;grid-template-columns:420px 1fr;grid-gap:16px;gap:16px;align-items:flex-start}.create-card h2,.jobs-card h2,.viewer-card h2{margin-top:0;margin-bottom:14px}.jobs-column{display:grid;grid-template-rows:auto auto;grid-gap:16px;gap:16px}.jobs-header-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.jobs-search{max-width:320px;margin-bottom:0}.tabs-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.tab-btn{margin-right:0;border:1px solid #334155;background:transparent;color:#cbd5e1}.tab-btn.active{background:#2563eb;border-color:#2563eb;color:#fff}.jobs-list{display:flex;flex-direction:column;gap:10px}.job-item{border:1px solid #2c3a63;background:#0f172a;border-radius:12px;padding:10px;cursor:pointer}.job-item:hover{border-color:#3b82f6}.job-item.selected{border-color:#60a5fa;box-shadow:inset 0 0 0 1px rgba(96,165,250,.45)}.job-main-line{display:flex;align-items:center;gap:8px;margin-bottom:6px}.job-id-btn{background:transparent;color:#bfdbfe;border:0;padding:0;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.job-time{color:#94a3b8;font-size:13px;margin-left:auto}.job-error-text{margin:0;color:#fca5a5;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.job-actions{margin-top:8px}.viewer-error,.viewer-progress,.viewer-success{border:1px solid #2c3a63;border-radius:12px;padding:14px;background:#0e172d}.viewer-error h3,.viewer-progress h3{margin:0 0 6px}.pulse-dot{width:10px;height:10px;border-radius:999px;background:#facc15;animation:pulse 1.2s ease-in-out infinite;margin-bottom:10px}.result-text{border:1px solid #2c3a63;border-radius:10px;background:#0b1324;padding:12px}.btn-link{color:#93c5fd}.empty-state{color:#9fb0d6;margin:8px 0}.job-skeleton{height:74px;border-radius:12px;background:linear-gradient(90deg,#17213c 25%,#223058 37%,#17213c 63%);background-size:400% 100%;animation:shimmer 1.4s ease infinite}@keyframes pulse{0%,to{opacity:.4;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}.studio-container{max-width:1440px;margin:0 auto;padding:24px}.studio-left,.studio-right{min-width:0}.jobs-column{align-items:stretch}.create-card,.jobs-card,.viewer-card{width:100%}.jobs-scroll{max-height:340px;overflow:auto;padding-right:6px}.wallet-balance-card h1{margin:4px 0 0;font-size:42px}.wallet-caption{margin:0;color:#9fb0d6}.wallet-ledger-card,.wallet-topup-card{margin-top:16px}.wallet-packages{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.wallet-package-item{border:1px solid #2c3a63;border-radius:12px;padding:14px;background:#0f172a}.wallet-package-item h3,.wallet-package-item p{margin:0 0 8px}.wallet-ledger-table-wrap{overflow-x:auto}.wallet-ledger-table{width:100%;border-collapse:collapse}.wallet-ledger-table td,.wallet-ledger-table th{text-align:left;border-bottom:1px solid #253257;padding:10px 8px}.ledger-debit{color:#fca5a5}.ledger-credit{color:#86efac}.viewer-card{position:-webkit-sticky;position:sticky;top:16px}@media (max-width:1199px){.studio-grid{grid-template-columns:1fr}.studio-header{flex-direction:column}.profile-block{text-align:left;min-width:auto}.jobs-header-row{flex-direction:column;align-items:stretch}.jobs-search{max-width:none}.viewer-card{position:static}}@media (max-width:767px){.studio-container{padding:16px 12px}.card{padding:16px}.jobs-scroll{max-height:none;padding-right:0}.inline-edit{flex-direction:column}button{width:100%;margin-right:0}.job-main-line{flex-wrap:wrap}.job-time{margin-left:0;width:100%}}.card,.job-item,.studio-right{min-width:0}.viewer-card pre,.viewer-pre,pre{max-width:100%;overflow-x:auto;white-space:pre-wrap;word-break:break-word}code{overflow-wrap:anywhere;word-break:break-word}.wizard-layout{display:grid;grid-template-columns:260px 1fr 320px;grid-gap:16px;gap:16px;align-items:flex-start}.preview-panel,.wizard-steps{position:-webkit-sticky;position:sticky;top:84px}.project-link,.step-link{width:100%;margin:0 0 8px;text-align:left;border:1px solid #334155;background:#0f172a;color:#e5e7eb}.step-link.active{border-color:#3b82f6;background:rgba(59,130,246,.2)}.muted{color:#9fb0d6}@media (max-width:1100px){.wizard-layout{grid-template-columns:1fr}.preview-panel,.wizard-steps{position:static}}.image-pack-grid{margin-top:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:12px;gap:12px}.image-pack-card{display:flex;flex-direction:column;gap:6px;align-items:center;padding:8px}.image-pack-card span{font-size:12px;color:#9fb0d6}.lightbox{position:fixed;inset:0;background:rgba(2,6,23,.85);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.lightbox-image{max-width:90vw;max-height:90vh;border-radius:12px}.admin-coins-layout{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.admin-coins-row{display:flex;gap:8px;align-items:center}.admin-coins-row-wrap{display:flex;flex-wrap:wrap;gap:8px}.ops-table-wrap{max-height:520px;overflow:auto}.success-text{color:#22c55e}@media (max-width:960px){.admin-coins-layout{grid-template-columns:1fr}}.upload-dropzone{border:1px dashed #3b82f6;border-radius:10px;padding:12px;background:rgba(59,130,246,.08)}.upload-btn{display:inline-block;margin-bottom:8px}.downloads-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.downloads-row{display:flex;justify-content:space-between;border:1px solid #2c3a63;border-radius:8px;padding:8px}.downloads-card{border:1px solid #2c3a63;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:8px}.downloads-list-head,.downloads-list-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;grid-gap:8px;gap:8px;align-items:center}.downloads-list-head{color:#9fb0d6;font-size:12px}.downloads-list-row{min-height:36px;border:1px solid #2c3a63;border-radius:8px;padding:6px 8px}.downloads-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.downloads-type-badge{white-space:nowrap;background:rgba(59,130,246,.16);border:1px solid #3b82f6;border-radius:999px;padding:2px 8px;font-size:12px}.downloads-date{white-space:nowrap;color:#c0cde8;font-size:11px}.downloads-action-wrap{display:flex;align-items:center;gap:6px;justify-content:flex-end;white-space:nowrap}.downloads-action-btn{min-width:96px;white-space:nowrap}.downloads-new-badge{font-size:10px;font-weight:700;color:#0b1324;background:#22c55e;border-radius:999px;padding:2px 6px}.dashboard-v2-layout{display:grid;grid-template-columns:280px minmax(0,1.75fr) minmax(368px,400px);grid-gap:28px;gap:28px;align-items:flex-start}.dashboard-v2-layout.sidebar-collapsed{grid-template-columns:92px minmax(0,1fr) minmax(320px,360px)}.dashboard-v2-layout.right-panel-hidden{grid-template-columns:minmax(88px,280px) minmax(0,1fr)}.dashboard-v2-layout.sidebar-collapsed.right-panel-hidden{grid-template-columns:92px minmax(0,1fr)}.dashboard-v2-layout>*{min-width:0;max-width:100%}.dashboard-sidebar{position:-webkit-sticky;position:sticky;top:84px;display:flex;flex-direction:column;gap:20px;background:linear-gradient(185deg,#121d37,#101a31);transition:width .2s ease,padding .2s ease,gap .2s ease}.dashboard-sidebar.is-collapsed{padding:16px 12px;align-items:center;gap:14px}.sidebar-brand-block{padding:4px 2px 12px;border-bottom:1px solid #283760}.sidebar-logo{margin:0;font-size:24px;font-weight:800;letter-spacing:.02em}.dashboard-sidebar.is-collapsed .sidebar-logo{font-size:28px}.sidebar-subtitle{margin:8px 0 0}.sidebar-nav{display:flex;flex-direction:column;gap:10px}.sidebar-nav-item{width:100%;min-width:0;text-align:left;background:rgba(17,26,47,.9);border:1px solid #2b3b63;color:#dbe7ff;justify-content:flex-start;padding:0 14px;min-height:46px;border-radius:14px;transition:.2s ease;display:flex;align-items:center;gap:10px}.sidebar-nav-icon{width:18px;text-align:center;flex-shrink:0}.dashboard-sidebar.is-collapsed .sidebar-brand-block,.dashboard-sidebar.is-collapsed .sidebar-project-name{width:100%;text-align:center}.dashboard-sidebar.is-collapsed .sidebar-nav{width:100%}.dashboard-sidebar.is-collapsed .sidebar-nav-item{justify-content:center;padding:0;min-height:42px}.sidebar-collapse-btn{width:100%;min-height:40px;font-size:12px}.dashboard-sidebar.is-collapsed .sidebar-collapse-btn{min-height:36px;padding:0 8px;font-size:11px}.sidebar-nav-item:hover{border-color:#4a6cb3;background:rgba(37,61,109,.28)}.sidebar-nav-item.active{border-color:#6fa6ff;background:linear-gradient(120deg,rgba(59,130,246,.35),rgba(59,130,246,.12));color:#fff}.sidebar-project-name p{margin:0}.sidebar-project-list .project-link{margin-bottom:8px;border-radius:10px}.dashboard-main-column{min-width:0;display:flex;flex-direction:column;gap:18px}.workspace-topbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 24px}.workspace-title{margin:0;min-width:0;font-size:24px;font-weight:700;overflow-wrap:break-word}.workspace-topbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.studio-settings-list{margin:12px 0 0;padding-left:18px;display:grid;grid-gap:6px;gap:6px}.coin-badge{border:1px solid #f59e0b;background:rgba(245,158,11,.2);border-radius:999px;padding:8px 12px;font-weight:700}.topbar-pill{border-radius:999px;border:1px solid #334b78;padding:7px 11px;background:rgba(14,25,49,.72);font-size:11px;max-width:100%;white-space:nowrap}.hero-project-card{display:flex;justify-content:space-between;align-items:stretch;flex-wrap:wrap;gap:28px;padding:30px 32px;background:radial-gradient(180% 180% at 0 0,#243b6e 0,#152340 42%,#0f1a31 100%);border-color:#3f5e9e;min-width:0}.hero-project-content{min-width:320px;flex:999 1 640px}.hero-project-content h1{margin:8px 0;font-size:42px;line-height:1.1;overflow-wrap:break-word}.hero-eyebrow{margin:0;color:#bad3ff;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.hero-subtitle{margin:0;font-size:18px;color:#d6e3ff}.hero-status{margin:12px 0 0;color:#9fb5e7}.hero-actions{display:flex;flex-direction:column;gap:12px;min-width:280px;width:min(100%,360px);flex:1 1 360px;margin-left:auto;align-self:stretch}.hero-primary-cta{width:100%;min-width:200px;min-height:50px;padding:0 18px;font-size:16px;font-weight:700;line-height:1.2}.hero-secondary-actions{display:grid;grid-template-columns:1fr;grid-gap:8px;gap:8px;width:100%}.files-row,.generation-history-card,.generation-overview-card,.generation-overview-grid>*,.hero-secondary-actions>*,.results-overview-grid>*{min-width:0}.compact-empty,.generation-history-meta,.generation-history-title-stack p,.hero-project-content h1,.hero-status,.hero-subtitle,.metrics-pair-label,.section-counter,.summary-meta-grid p,.workspace-title{overflow-wrap:normal;word-break:normal}.metrics-pair-label,.section-counter{white-space:normal}.files-export-cta{width:100%;min-height:48px;margin-top:12px}.wizard-stepper-card{padding:24px;background:linear-gradient(180deg,rgba(20,31,57,.95),rgba(14,22,41,.95));border-color:#334f87}.wizard-stepper-header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}.wizard-stepper-card h3{margin:0;font-size:24px}.wizard-progress-track{width:100%;height:10px;background:linear-gradient(180deg,#1a2644,#141f38);border-radius:999px;margin-bottom:18px;padding:2px}.wizard-progress-value{height:100%;display:block;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#7c3aed)}.wizard-stepper{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:12px;gap:12px;align-items:stretch}.wizard-step{margin:0;min-height:64px;background:linear-gradient(180deg,rgba(16,25,47,.92),rgba(13,20,38,.92));border:1px solid #354d81;color:#dbe7ff;display:flex;gap:8px;padding:10px;border-radius:12px;transition:border-color .18s ease,background .18s ease,opacity .18s ease}.wizard-step,.wizard-step-icon{align-items:center;justify-content:center}.wizard-step-icon{width:20px;height:20px;display:inline-flex}.wizard-step-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.95}.wizard-step.current{border-color:#7bb0ff;background:linear-gradient(165deg,rgba(59,130,246,.26),rgba(29,78,216,.2));box-shadow:inset 0 0 0 1px rgba(147,197,253,.45),0 10px 20px rgba(30,64,175,.2)}.wizard-step.done{border-color:rgba(74,222,128,.65);background:linear-gradient(180deg,rgba(20,83,45,.45),rgba(15,52,33,.45))}.wizard-step.locked{opacity:.78;border-color:#314263;background:linear-gradient(180deg,rgba(13,21,39,.82),rgba(11,17,32,.82))}.wizard-step-badge{width:24px;height:24px;border-radius:999px;border:1px solid #5b75ab;background:rgba(15,23,42,.66);display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}.wizard-step.done .wizard-step-badge{border-color:rgba(134,239,172,.65);background:rgba(22,101,52,.62);color:#bbf7d0}.wizard-step.done .wizard-step-icon{color:#86efac}.wizard-step.current .wizard-step-badge{border-color:#93c5fd;background:rgba(37,99,235,.45);color:#eff6ff}.wizard-step.current .wizard-step-icon{color:#bfdbfe}.wizard-step.locked .wizard-step-badge,.wizard-step.locked .wizard-step-icon{opacity:.72}.hero-meta-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.step-workspace-card{padding:22px}.step-workspace-header{margin-bottom:14px}.step-workspace-header h2{margin:0 0 8px}.step-grid-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-gap:14px;gap:14px}.step-grid-layout-stable{grid-template-columns:1fr;align-items:start}.studio-step4-layout{grid-template-columns:minmax(0,1fr)!important;align-items:start}@media (min-width:2200px){.studio-step4-layout{grid-template-columns:minmax(380px,.95fr) minmax(0,1.25fr)}}.step-panel{border:1px solid #2d3f68;border-radius:14px;background:rgba(11,20,38,.72);padding:14px;display:grid;grid-gap:10px;gap:10px;align-content:start;min-width:0}.step-panel-roomy{padding:16px;gap:12px}.step-panel-roomy .step-panel-header{margin-bottom:2px}.step-panel-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}.step-panel-header h3{margin:0}.step-panel-header .btn-primary{flex:0 0 auto}.step-panel .tabs-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:8px;gap:8px;align-items:center}.step-panel input,.step-panel select,.step-panel table,.step-panel textarea{min-width:0}.step-result-wrap{border-top:1px solid #2e3d61;padding-top:10px}.visual-mode-tabs .btn-secondary.is-active{border-color:#7bb0ff;box-shadow:inset 0 0 0 1px rgba(147,197,253,.45)}.inline-warning-card{border-color:#4868a7;background:rgba(25,49,93,.32)}.photo-consent-card{position:relative;border:1px solid rgba(124,156,214,.42);border-radius:18px;padding:16px 18px;background:linear-gradient(180deg,rgba(20,33,62,.9),rgba(13,24,44,.84)),rgba(12,22,39,.84);box-shadow:0 16px 34px rgba(5,10,22,.22);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease}.photo-consent-card:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.05)}.photo-consent-card:hover{border-color:rgba(145,183,247,.62);box-shadow:0 18px 38px rgba(6,12,26,.26)}.photo-consent-card.is-checked{border-color:rgba(112,195,255,.9);background:linear-gradient(180deg,rgba(24,45,77,.96),rgba(14,28,52,.92)),rgba(12,22,39,.92);box-shadow:0 20px 40px rgba(20,76,165,.2),0 0 0 1px rgba(112,195,255,.18)}.photo-consent-toggle{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:14px;gap:14px;align-items:start;cursor:pointer}.photo-consent-input{-moz-appearance:none;appearance:none;-webkit-appearance:none;position:relative;margin:2px 0 0;width:24px;height:24px;border-radius:8px;border:1.5px solid rgba(159,190,243,.76);background:rgba(9,16,31,.9);box-shadow:inset 0 1px 2px hsla(0,0%,100%,.06),0 6px 14px rgba(15,23,42,.24);flex:0 0 24px;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.photo-consent-input:after{content:"";position:absolute;top:50%;left:50%;width:6px;height:11px;border-right:2px solid transparent;border-bottom:2px solid transparent;opacity:0;transform:translate(-50%,-58%) rotate(45deg) scale(.85);transform-origin:center;transition:border-color .16s ease,opacity .16s ease,transform .16s ease}.photo-consent-input:hover{border-color:rgba(182,209,255,.94)}.photo-consent-input:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(96,165,250,.26),inset 0 1px 2px hsla(0,0%,100%,.06),0 6px 14px rgba(15,23,42,.24)}.photo-consent-input:checked{border-color:rgba(110,206,255,.98);background:linear-gradient(180deg,#3b82f6,#2563eb);box-shadow:0 10px 24px rgba(37,99,235,.34)}.photo-consent-input:checked:after{border-color:#eff6ff;opacity:1;transform:translate(-50%,-58%) rotate(45deg) scale(1)}.photo-consent-copy{display:grid;grid-gap:6px;gap:6px}.photo-consent-title{color:#eff6ff;font-size:16px;line-height:1.35;font-weight:700;letter-spacing:-.01em}.photo-consent-description{margin:0;color:rgba(214,224,255,.82);font-size:14px;line-height:1.55}.photo-consent-card.is-checked .photo-consent-title{color:#fff}.photo-consent-card.is-checked .photo-consent-description{color:rgba(232,240,255,.92)}.sidebar-preview,.sidebar-summary-actions{margin-top:12px}.sidebar-files-card{padding:16px}.sidebar-files-card>.card{border:0;padding:0;background:transparent}.card h3,.continue-card h3,.project-summary-card h3{margin-top:0}.continue-card{padding:24px;display:grid;grid-gap:12px;gap:12px}.continue-card>*{min-width:0}.continue-card h3{margin-bottom:8px;font-size:24px}.workspace-step-card{padding:24px}.workspace-step-header{margin-bottom:12px}.workspace-step-header h2{margin:0;font-size:28px}.workspace-form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;margin-bottom:14px}.upload-dropzone{border:1px dashed #4b7de0;border-radius:14px;padding:18px;background:linear-gradient(180deg,rgba(59,130,246,.12),rgba(59,130,246,.04));display:grid;grid-gap:12px;gap:12px}.upload-dropzone-intro{border:1px dashed rgba(147,197,253,.35);border-radius:12px;padding:18px 14px;background:rgba(10,18,34,.36);display:grid;place-items:center;grid-gap:10px;gap:10px;min-height:132px}.upload-dropzone-intro-block{width:min(100%,360px);margin-inline:auto;display:grid;justify-items:center;align-content:center;grid-gap:16px;gap:16px;text-align:center}.upload-dropzone-lead{margin:0;max-width:360px;font-size:15px;line-height:1.45}.upload-btn{margin:0 auto;align-self:center;justify-self:center}.upload-btn-hero{display:inline-flex;align-items:center;justify-content:center;min-width:220px;min-height:52px;padding:0 24px;line-height:1.1;text-align:center;box-shadow:0 14px 28px rgba(37,99,235,.28)}.workspace-empty-state{margin-top:10px;border:1px solid #2f3f69;border-radius:12px;padding:14px;background:rgba(10,17,33,.55);min-width:0;overflow:hidden}.workspace-empty-state p{margin:0}.workspace-photo-preview{margin-top:10px;display:grid;grid-gap:10px;gap:10px}.workspace-photo-grid{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(5,minmax(0,1fr))}.workspace-photo-item{border:1px solid #2f3f69;border-radius:12px;overflow:hidden;background:rgba(10,17,33,.66);display:grid;grid-template-rows:1fr auto}.workspace-photo-thumb-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:transparent;padding:0;cursor:zoom-in}.workspace-photo-thumb{width:100%;height:190px;object-fit:cover;display:block}.workspace-photo-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px}.workspace-photo-delete{width:auto}@media (max-width:1200px){.workspace-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:860px){.workspace-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-photo-thumb{height:180px}}@media (max-width:560px){.workspace-photo-grid{grid-template-columns:1fr}.workspace-photo-thumb{height:170px}}.gallery-grid,.projects-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));grid-gap:14px;gap:14px}.gallery-card,.project-card-item{border:1px solid #29355c;border-radius:14px;padding:14px;background:#0e172d;position:relative;min-width:0;overflow:hidden}.section-headline-row{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:10px;min-width:0}.section-headline-row>div{min-width:0;max-width:100%;flex:1 1 280px}.section-counter{display:inline-flex;align-items:center;justify-content:flex-end;min-width:0;max-width:100%;flex:0 1 auto;text-align:right}.newest-badge,.status-badge,.status-chip{display:inline-flex;align-items:center;justify-content:center;min-height:28px;min-width:-moz-fit-content;min-width:fit-content;max-width:100%;padding:0 10px;border-radius:999px;font-size:12px;line-height:1.15;font-weight:700;white-space:nowrap;overflow-wrap:normal;word-break:normal;text-align:center;vertical-align:middle}.newest-badge{background:rgba(34,197,94,.2);border:1px solid rgba(34,197,94,.45);color:#bbf7d0}.gallery-image{width:100%;margin:0 0 10px;object-fit:cover;aspect-ratio:4/3}.gallery-placeholder{width:100%;aspect-ratio:4/3;border-radius:10px;border:1px solid #30406f;background:linear-gradient(120deg,#18233f,#111b32);margin-bottom:10px}.gallery-card-empty{border-style:dashed}.project-card-item.active{border-color:#60a5fa}.project-card-item .status-chip{display:inline-flex;margin:4px 0 0}.project-card-item .hero-secondary-actions{margin-top:10px}.project-thumb{width:100%;aspect-ratio:16/9;border-radius:8px;background:linear-gradient(135deg,#1f2c4f,#2a3e73);margin-bottom:8px}.status-chip{border:1px solid transparent}.status-chip.ok{background:rgba(34,197,94,.2);color:#86efac}.status-chip.pending{background:rgba(59,130,246,.2);color:#bfdbfe}.status-chip.error{background:rgba(239,68,68,.2);color:#fca5a5}.gallery-actions-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:8px}.gallery-open-hint{padding:4px 8px;font-size:12px}.dashboard-right-column{position:-webkit-sticky;position:sticky;top:84px;display:grid;grid-gap:14px;gap:14px;min-width:0;max-width:100%;align-content:start}.project-summary-card{padding:16px;border-color:rgba(62,84,132,.45);background:rgba(13,24,47,.62)}.summary-meta-grid{display:grid;grid-template-columns:1fr;min-width:0}.files-list{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;min-width:0}.files-row{border:1px solid rgba(47,63,105,.82);border-radius:14px;padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,auto);grid-gap:12px;gap:12px;align-items:center;background:rgba(13,24,47,.42)}.files-row-main{min-width:0;display:grid;grid-gap:4px;gap:4px}.files-row-name{min-width:0;word-break:normal;white-space:normal}.files-row-meta,.files-row-name{margin:0;overflow-wrap:break-word}.files-row-meta{font-size:12px}.files-row-meta,.files-row-name,.generation-error-note,.overview-copy,.overview-title-clamp,.token-like-wrap{overflow-wrap:anywhere;word-break:break-word}.files-row-cta{width:auto;min-width:124px;justify-self:end;max-width:100%}.compact-empty{font-size:13px}.danger-zone-card{border-color:rgba(239,68,68,.35);background:rgba(60,18,23,.24)}@media (max-width:1180px){.dashboard-v2-layout,.dashboard-v2-layout.right-panel-hidden,.dashboard-v2-layout.sidebar-collapsed,.dashboard-v2-layout.sidebar-collapsed.right-panel-hidden{grid-template-columns:1fr}.dashboard-right-column,.dashboard-sidebar{position:static}.wizard-stepper{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:10px;gap:10px}.step-grid-layout,.workspace-form-grid{grid-template-columns:1fr}.step-grid-layout-stable,.studio-step4-layout{grid-template-columns:minmax(0,1fr)!important}}@media (max-width:768px){.hero-project-card,.workspace-topbar,.workspace-topbar-right{flex-direction:column;align-items:stretch}.wizard-stepper{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.wizard-step{min-height:56px}.upload-dropzone-intro{place-items:stretch;min-height:auto}.upload-dropzone-intro-block{width:100%;justify-items:stretch;text-align:left}.upload-btn{justify-self:start;margin:0}.files-row,.step-panel .tabs-row{grid-template-columns:1fr}.files-row-cta{width:100%}.hero-project-content h1{font-size:32px}.hero-actions{min-width:auto}}.topbar-actions{display:flex;align-items:center;gap:10px}.btn{text-decoration:none}.btn-ghost-link{color:#dbeafe;border-color:#3a5184;background:rgba(16,27,50,.68);border-radius:12px}.btn-ghost-link:hover:not(:disabled){border-color:#6a8fd8;background:rgba(34,56,97,.62)}.studio-viewer-card{padding:24px}.studio-viewer-top-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.studio-viewer-meta,.studio-viewer-summary{min-width:0;overflow-wrap:anywhere}.studio-viewer-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));grid-gap:12px;gap:12px;width:100%}.studio-viewer-actions>*{width:100%}.studio-viewer-actions>*,.viewer-frame-chip,.viewer-frame-rail{min-width:0;max-width:100%}.viewer-active-frame-wrap{margin-top:14px;border-radius:14px;padding:14px;border:1px solid #2b3c66;background:radial-gradient(120% 120% at 50% 0,#1a2a4d 0,#11192f 100%)}.viewer-active-frame{width:100%;max-height:68vh;object-fit:contain}.viewer-frame-rail{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.viewer-frame-chip{border:1px solid #3a4f80;background:#101a32;color:#dbeafe;border-radius:999px;padding:8px 12px}.viewer-frame-chip.active{border-color:#60a5fa;background:rgba(59,130,246,.2)}.landing-page{background:radial-gradient(circle at 80% 0,rgba(59,130,246,.22),transparent 42%),#070b16;color:#f8fafc;padding:56px 0 120px}.landing-section{width:min(1220px,calc(100% - 48px));margin:0 auto;padding:62px 0}.landing-grid{display:grid;grid-gap:30px;gap:30px}.hero-grid{grid-template-columns:1.03fr .97fr;align-items:center}.eyebrow{color:#93c5fd;text-transform:uppercase;letter-spacing:.08em;font-size:12px}.hero-section h1{font-size:clamp(36px,5vw,66px);line-height:1.03;margin:14px 0}.lead{color:#c5d4f7;max-width:700px;font-size:19px;line-height:1.5}.cta-row{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}.cta-row .btn{padding:13px 17px;border-radius:12px;font-weight:700}.hero-visual-wrap{position:relative;min-height:460px}.hero-glow{position:absolute;inset:6% 10%;border-radius:24px;filter:blur(54px);background:radial-gradient(circle,rgba(59,130,246,.55),rgba(99,102,241,.18))}.hero-mockup{position:relative;border:1px solid #2d3d67;border-radius:22px;background:rgba(15,23,42,.88);padding:20px;animation:float 6s ease-in-out infinite;box-shadow:0 30px 80px rgba(7,12,27,.55)}.mockup-header span{display:inline-block;width:9px;height:9px;border-radius:50%;background:#334155;margin-right:6px}.mockup-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 12px}.mockup-title{color:#dbeafe;font-weight:700;font-size:18px}.mockup-market{font-size:12px;border:1px solid #4f7bd5;background:rgba(59,130,246,.2);border-radius:999px;padding:5px 10px}.mockup-main-preview{height:190px;border-radius:14px;background-size:cover;background-position:50%;margin-bottom:14px;border:1px solid #355088}.hero-mockup ul{margin:0 0 14px;padding-left:18px;color:#dbeafe;display:grid;grid-gap:6px;gap:6px}.mockup-metric{border:1px solid #355088;background:rgba(37,99,235,.13);color:#bfdbfe;border-radius:10px;padding:10px 12px;margin-bottom:14px;font-weight:600}.mockup-cards{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:9px;gap:9px}.mockup-card{height:92px;border-radius:12px;background:linear-gradient(160deg,#1d4ed8,#1e293b);display:flex;align-items:flex-end;padding:10px;font-size:12px;font-weight:700;color:#dbeafe}.card-b{background:linear-gradient(160deg,#7c3aed,#1e293b)}.card-c{background:linear-gradient(160deg,#0ea5e9,#1e293b)}.proof-strip{border:1px solid #355088;background:linear-gradient(135deg,rgba(15,23,42,.92),rgba(30,58,138,.28));border-radius:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;padding:20px}.proof-strip h3{margin:0;font-size:clamp(24px,3vw,34px)}.proof-strip p{margin:6px 0 0;color:#c7d7f9}.section-head h2{margin:8px 0 0;font-size:clamp(30px,4vw,46px)}.case-tabs{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.case-tab{padding:9px 14px;border-radius:999px;border:1px solid #334155;background:transparent;color:#dbeafe}.case-tab.active{border-color:#60a5fa;background:rgba(59,130,246,.2)}.before-after-card{margin-top:18px;border:1px solid #2d3d67;border-radius:18px;background:rgba(15,23,42,.65);padding:20px}.case-meta{display:flex;justify-content:space-between;gap:14px;margin-bottom:14px}.case-meta div{border:1px solid #32476f;border-radius:12px;padding:10px 12px;background:rgba(15,23,42,.58)}.case-meta p{margin:0 0 4px;font-weight:700}.case-meta span{color:#b9c9ea;font-size:14px}.comparison-frame{position:relative;height:490px;border-radius:14px;overflow:hidden;cursor:ew-resize;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.comparison-frame.is-dragging{cursor:ew-resize}.comparison-frame:focus-visible{outline:2px solid #93c5fd;outline-offset:3px}.base-image{width:100%;height:100%;object-fit:cover;display:block;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none;pointer-events:none}.after-layer{inset:0 auto 0 0;overflow:hidden;border-right:2px solid #dbeafe}.after-layer,.slider-line{position:absolute;pointer-events:none}.slider-line{top:0;bottom:0;width:2px;background:#dbeafe;transform:translateX(-1px);box-shadow:0 0 0 1px rgba(15,23,42,.35),0 0 18px rgba(147,197,253,.55)}.slider-handle{position:absolute;top:50%;left:50%;width:42px;height:42px;border-radius:999px;border:2px solid #dbeafe;background:rgba(15,23,42,.88);transform:translate(-50%,-50%);box-shadow:0 8px 24px rgba(15,23,42,.45)}.slider-handle:after,.slider-handle:before{content:"";position:absolute;top:50%;width:8px;height:8px;border-top:2px solid #dbeafe;border-right:2px solid #dbeafe}.slider-handle:before{left:11px;transform:translateY(-50%) rotate(-135deg)}.slider-handle:after{right:11px;transform:translateY(-50%) rotate(45deg)}.comparison-labels{position:absolute;inset:12px 12px auto;display:flex;justify-content:space-between;font-weight:800;font-size:12px;letter-spacing:.04em}.card-grid{display:grid;grid-gap:18px;gap:18px;margin-top:24px}.three-cols{grid-template-columns:repeat(3,minmax(0,1fr))}.two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}.five-cols{grid-template-columns:repeat(5,minmax(0,1fr))}.landing-card{background:rgba(15,23,42,.82);border:1px solid #2f3f69;border-radius:18px;padding:24px}.workflow-card{min-height:260px}.step-icon{font-size:30px;margin-bottom:14px;display:inline-flex}.workflow-card h3{margin:0 0 12px;font-size:24px;line-height:1.3}.workflow-card p{margin:0;color:#c6d5f5;line-height:1.6;font-size:16px}.mini-preview{height:124px;border-radius:12px;background-size:cover;background-position:50%;margin-bottom:14px;border:1px solid #355088}.result-card h3{margin:0 0 10px}.result-card p{margin:0;color:#c6d5f5}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px;margin-top:22px}.gallery-card{border:1px solid #2f3f69;border-radius:18px;background:rgba(15,23,42,.79);padding:12px}.gallery-card p{margin:12px 0 6px;font-weight:700}.gallery-card span{color:#bcd0f8;font-size:14px}.gallery-image{height:210px;border-radius:12px;background-size:cover;background-position:50%;border:1px solid #355088}.final-cta,.pricing-card{border:1px solid #34508a;background:linear-gradient(145deg,rgba(15,23,42,.95),rgba(30,58,138,.35));border-radius:20px;padding:24px;display:grid;grid-gap:16px;gap:16px}.faq-list{margin-top:18px;display:grid;grid-gap:10px;gap:10px}.faq-item{border:1px solid #2f3f69;border-radius:12px;background:rgba(15,23,42,.7);padding:12px 14px}.faq-item summary{cursor:pointer;font-weight:700}.faq-item p{color:#c5d4f7}.reveal{opacity:0;transform:translateY(20px);transition:all .7s ease}.reveal.is-visible{opacity:1;transform:translateY(0)}.hover-lift{transition:transform .25s ease,border-color .25s ease}.hover-lift:hover{transform:translateY(-4px);border-color:#60a5fa}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@media (max-width:1024px){.five-cols,.gallery-grid,.hero-grid,.proof-strip,.three-cols{grid-template-columns:1fr 1fr}.hero-visual-wrap{min-height:420px}}@media (max-width:760px){.landing-section{width:min(1200px,calc(100% - 28px));padding:36px 0}.five-cols,.gallery-grid,.hero-grid,.proof-strip,.three-cols,.two-cols{grid-template-columns:1fr}.comparison-frame{height:320px}.case-meta{flex-direction:column}.hero-visual-wrap{min-height:auto}}.success-banner{border:1px solid rgba(16,185,129,.5);background:rgba(6,95,70,.35);color:#a7f3d0;padding:10px 12px;border-radius:10px;margin-bottom:16px}.auth-layout{max-width:680px;padding-top:40px;padding-bottom:40px}.auth-card{padding:28px;display:grid;grid-gap:14px;gap:14px}.auth-subtitle{margin-top:-4px;margin-bottom:4px}.auth-message{margin-bottom:0}.auth-email-hint{margin-top:-4px;margin-bottom:2px}.auth-field-stack{display:grid;grid-gap:14px;gap:14px}.marketing-checkbox-row{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #2d3d67;border-radius:12px;background:rgba(15,23,42,.55);color:#c6d5f5;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.marketing-checkbox{width:20px;height:20px;margin:0;accent-color:#3b82f6;flex:0 0 auto}.auth-main-btn,.auth-telegram-btn{width:100%;min-height:44px}.auth-divider{position:relative;text-align:center;color:#93a8d8;margin:4px 0}.auth-divider:before{content:"";position:absolute;left:0;right:0;top:50%;border-top:1px solid #2d3d67}.auth-divider span{position:relative;padding:0 10px;background:#111827}.auth-telegram-btn{border:1px solid #2a4f98;color:#dbeafe;background:linear-gradient(145deg,rgba(29,78,216,.22),rgba(59,130,246,.08))}.auth-legal{margin-top:6px;line-height:1.5}.section-headline-stack{align-items:flex-start}.section-headline-stack>div{display:grid;grid-gap:6px;gap:6px}.compact-row h4,.section-headline-stack p{margin:0}.eyebrow-label{margin:0;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#8fb3ff}.generation-overview-grid,.results-overview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));grid-gap:16px;gap:16px;margin:18px 0 20px}.generation-overview-grid-relaxed,.results-overview-grid-relaxed{align-items:stretch}.generation-overview-card{border:1px solid rgba(47,63,105,.92);border-radius:18px;padding:18px;background:rgba(13,24,47,.58);display:grid;grid-gap:10px;gap:10px}.generation-overview-card>*{min-width:0}.generation-overview-card h4{line-height:1.35;overflow-wrap:break-word}.generation-overview-card .muted{overflow-wrap:break-word}.overview-copy,.overview-title-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.generation-overview-card.highlighted{border-color:rgba(96,165,250,.42);background:linear-gradient(180deg,rgba(18,31,59,.82),rgba(13,24,47,.72));box-shadow:inset 0 0 0 1px rgba(96,165,250,.08)}.primary-overview-card{gap:12px}.overview-card-quiet{background:rgba(13,24,47,.42)}.generation-history-title-row p,.generation-overview-card h4{margin:0}.metrics{align-content:flex-start}.metrics-pair{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.metrics-pair span{min-width:0}.metrics-pair strong{min-width:0;overflow-wrap:break-word;font-size:28px}.files-row-title-wrap,.generation-chip-row,.metrics-inline{display:flex;gap:8px;flex-wrap:wrap;align-items:center;min-width:0}.generation-card-actions,.overview-actions-stack{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:10px;gap:10px;align-items:stretch}.overview-actions-stack-primary{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px;width:100%}.overview-actions-stack-primary>*{width:100%;min-width:0;max-width:100%}.generation-style-note{margin:0;color:#dbe7ff;font-size:13px;line-height:1.4}.files-row-meta,.files-row-name,.gallery-placeholder,.generation-history-content,.generation-history-title-stack p,.generation-overview-card h4,.generation-overview-card p,.generation-style-note strong,.section-headline-row h3,.section-headline-row p{color:#f5f8ff}.compact-empty,.files-row-meta,.gallery-open-hint,.generation-history-meta,.generation-overview-card .muted{color:#b7c6e6}.generation-actions-bar{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));grid-gap:10px;gap:10px;width:100%;margin-bottom:18px}.generation-actions-bar>*{width:100%;min-width:0;max-width:100%}.files-export-actions{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.files-export-actions>*{min-height:48px;display:inline-flex;align-items:center;justify-content:center}.generation-actions-secondary{margin-top:-2px}.generation-history-list{display:grid;grid-gap:12px;gap:12px}.generation-history-card{border:1px solid rgba(47,63,105,.78);border-radius:18px;background:rgba(14,23,45,.76);padding:14px;display:grid;grid-template-columns:minmax(144px,184px) minmax(0,1fr);grid-gap:16px;gap:16px;text-align:left;transition:border-color .2s ease,transform .2s ease,background .2s ease}.generation-history-card:hover{border-color:rgba(96,165,250,.4);background:rgba(16,28,53,.88);transform:translateY(-1px)}.generation-history-media{min-width:0}.generation-history-content{display:grid;grid-gap:8px;gap:8px;min-width:0}.generation-history-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.generation-history-title-stack{display:grid;grid-gap:4px;gap:4px;min-width:0}.generation-history-meta{margin:0;font-size:12px}.gallery-actions-row-muted{justify-content:flex-start;gap:10px;margin-top:2px}.gallery-open-hint{color:#9db5e8}.generation-error-note{margin:0;color:#fca5a5;font-size:12px}.inline-action{width:100%;min-width:220px;min-height:48px;padding-inline:18px;line-height:1.2}.inline-action-compact{min-width:0;padding-inline:16px}.recent-artifacts-strip{display:grid;grid-gap:10px;gap:10px;margin:10px 0 16px}.compact-row,.featured-files-list{margin-bottom:0}.files-row.featured{border-color:rgba(96,165,250,.36);background:rgba(17,30,58,.6)}.files-row-title-wrap{min-width:0;align-items:center}.inline-badge{position:static}.metrics-inline-compact .status-chip{padding-inline:8px}@media (max-width:1100px){.files-export-actions,.generation-history-card,.generation-overview-grid,.results-overview-grid{grid-template-columns:1fr}}@media (min-width:1600px){.dashboard-v2-layout{grid-template-columns:292px minmax(0,1.9fr) minmax(384px,424px)}.hero-project-content{flex-basis:720px}}@media (max-width:1280px){.hero-project-card,.studio-viewer-top-row,.workspace-topbar{align-items:flex-start}.hero-project-card{flex-wrap:wrap}.hero-actions,.hero-project-content{width:100%;min-width:0;flex-basis:100%}.generation-history-title-row{flex-wrap:wrap}}@media (max-width:900px){.files-row,.overview-actions-stack-primary{grid-template-columns:1fr}.files-row-cta,.inline-action{width:100%;min-width:0;justify-self:stretch}}.legal-page__container{padding-top:32px;padding-bottom:24px}.legal-page__hero{margin-bottom:16px}.legal-page__eyebrow{margin:0 0 10px;color:#93c5fd;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.legal-page__hero h1,.legal-page__section h2{margin-top:0}.legal-page__lead{margin:12px 0 0;color:#c7d2fe;line-height:1.65;max-width:860px}.legal-page__sections{display:grid;grid-gap:16px;gap:16px}.legal-page__section{padding:24px}.legal-page__content{display:grid;grid-gap:12px;gap:12px;color:#dbe4ff;line-height:1.7}.legal-page__content p{margin:0}@media (max-width:768px){.legal-page__container{padding-top:20px}.legal-page__hero,.legal-page__section{padding:18px}}.first-run-editor,.first-run-hero-card,.first-run-now-card,.first-run-process-card{width:100%}.first-run-hero-card{display:grid;grid-gap:16px;gap:16px}.first-run-subtitle{margin:0;max-width:720px;color:#cbd5e1;font-size:1rem;line-height:1.6}.first-run-primary-actions{display:flex;flex-wrap:wrap;gap:12px}.first-run-process-card{display:grid;grid-gap:16px;gap:16px}.first-run-steps{margin:0;padding-left:22px;display:grid;grid-gap:14px;gap:14px}.first-run-steps li{padding-left:4px}.first-run-steps p{margin:6px 0 0}.first-run-now-card{display:grid;grid-gap:16px;gap:16px}.step-continue-actions{margin-top:20px;align-items:center}.first-run-inline-note{margin:0;max-width:420px}