:root{--bg: #060d14;--bg-soft: rgba(10, 18, 28, .88);--panel: rgba(10, 17, 26, .9);--line: rgba(143, 173, 198, .14);--line-strong: rgba(158, 201, 232, .24);--text: #e8f0f8;--muted: #92a6ba;--accent: #84bfdc;--accent-strong: #d8e8f4;--success: #99f3c0;--shadow: 0 28px 70px rgba(0, 0, 0, .34);--radius-xl: 32px;--radius-lg: 24px;--radius-md: 18px;--radius-sm: 14px}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{font-family:Manrope,sans-serif;background:radial-gradient(circle at top left,rgba(66,119,156,.12),transparent 34%),radial-gradient(circle at right center,rgba(86,149,186,.08),transparent 26%),linear-gradient(160deg,#03070d,#09111a 52%,#050a11);color:var(--text)}button,input,textarea{font:inherit}button:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.auth-layout,.dashboard-layout,.billing-layout{position:relative;min-height:100dvh;z-index:1}.auth-layout:before,.dashboard-layout:before,.billing-layout:before,.auth-layout:after,.dashboard-layout:after,.billing-layout:after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:-1;filter:blur(16px);opacity:.14;animation:pagePulse 11.5s ease-in-out infinite}.auth-layout:before,.dashboard-layout:before,.billing-layout:before{width:15rem;height:15rem;top:12%;left:18%;background:radial-gradient(circle,rgba(141,215,255,.28),rgba(141,215,255,.08) 46%,transparent 74%)}.auth-layout:after,.dashboard-layout:after,.billing-layout:after{width:12rem;height:12rem;right:12%;bottom:15%;background:radial-gradient(circle,rgba(121,207,255,.22),rgba(121,207,255,.06) 42%,transparent 72%);animation-delay:-5.2s}.loading-screen{min-height:100vh;display:grid;place-items:center;padding:1.5rem}.loading-card{padding:2rem 2.2rem;width:min(560px,100%)}.auth-layout{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(380px,.84fr);gap:1rem;padding:1rem;height:100dvh;overflow:hidden;isolation:isolate;align-items:stretch;box-sizing:border-box}.auth-brand-column{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:1rem;align-content:start;min-height:calc(100dvh - 2rem)}.billing-layout{padding:1rem;background:radial-gradient(circle at 8% 10%,rgba(61,104,136,.16),transparent 28%),radial-gradient(circle at 92% 16%,rgba(88,143,176,.08),transparent 24%),linear-gradient(180deg,#0d141c,#101720 56%,#0b1219);overflow:hidden}.billing-shell{position:relative;min-height:calc(100dvh - 2rem);border-radius:36px;padding:1.1rem 1.2rem 1.2rem;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:.85rem;overflow:hidden;background:linear-gradient(180deg,#0f1721fa,#0a111afc),radial-gradient(circle at top left,rgba(93,138,170,.1),transparent 32%),radial-gradient(circle at bottom right,rgba(74,110,138,.06),transparent 28%)}.billing-shell:before{content:"";position:absolute;inset:-18% 38% auto -10%;height:16rem;background:radial-gradient(circle,rgba(99,194,255,.18),transparent 72%);pointer-events:none}.billing-stage,.billing-main-column,.billing-header,.billing-header-row,.billing-plan-head,.billing-summary-stats{display:grid}.billing-stage{grid-template-columns:minmax(0,1fr);gap:1.15rem;align-items:start}.billing-main-column{min-width:0;width:min(1220px,100%);margin:0 auto;align-content:start;gap:1.05rem}.billing-main-column-full{width:min(1220px,100%)}.billing-header{gap:.9rem;padding:0;justify-items:stretch;background:transparent;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.billing-header-row{grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:1rem;align-items:stretch}.billing-back-button{display:inline-flex;align-items:center;justify-content:flex-start;justify-self:start;align-self:start;width:fit-content;gap:.45rem;border-color:#80c2ff2e;background:linear-gradient(180deg,#2c3642eb,#1a222cf5),#181f28f0;color:#dfefffeb;box-shadow:inset 0 1px #ffffff08,0 12px 24px #050a1224}.billing-back-button:hover,.billing-back-button:focus-visible{background:linear-gradient(180deg,#364150f5,#1e2732fc),#171f28f5;border-color:#8dd7ff3d}.billing-copy h1,.billing-copy p,.billing-plan-head h3,.billing-plan-head p,.billing-summary-note p,.billing-summary-note strong{margin:0}.billing-copy h1{font-size:clamp(1.6rem,2.6vw,2.4rem);letter-spacing:-.04em;max-width:16ch}.billing-copy p:not(.eyebrow){margin-top:.55rem;max-width:58ch;color:#c2d5e7c7;line-height:1.6}.billing-status-card{display:grid;gap:.72rem;padding:.95rem 1rem;border-radius:24px;border:1px solid rgba(132,199,255,.18);background:linear-gradient(180deg,#2b3643b8,#17202cdb),radial-gradient(circle at top right,rgba(141,215,255,.12),transparent 44%);box-shadow:inset 0 1px #ffffff0a,0 16px 30px #03091029}.billing-status-item{display:grid;gap:.22rem;padding:.05rem 0}.billing-status-item:not(:last-child){padding-bottom:.75rem;border-bottom:1px solid rgba(132,199,255,.14)}.billing-status-item span{color:#a5c8e8bd;font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}.billing-status-item strong{font-size:1.12rem;letter-spacing:-.03em;color:#eef7ff}.billing-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;min-height:0;overflow:visible;align-content:start;margin-top:2.2rem;padding:.55rem .55rem .7rem}.billing-plan-card,.billing-summary{border-radius:28px;border:1px solid var(--line);background:linear-gradient(180deg,#1a242ec2,#0c131cdb),radial-gradient(circle at top right,rgba(132,172,198,.06),transparent 44%)}.billing-plan-card{display:grid;align-content:start;gap:.9rem;padding:1.1rem;min-height:100%;position:relative;overflow:hidden;transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease;box-shadow:inset 0 1px #ffffff08,0 16px 30px #03091024}.billing-plan-card:before{content:"";position:absolute;inset:-38% auto auto -24%;width:13rem;height:15rem;border-radius:50%;background:radial-gradient(circle,rgba(202,239,255,.24),rgba(141,215,255,.08) 36%,transparent 72%);opacity:.08;transform:translate3d(-12%,-8%,0);transition:opacity .26s ease,transform .52s ease,filter .26s ease;pointer-events:none;filter:blur(2px)}.billing-plan-card:after{content:"";position:absolute;inset:auto -10% -18% auto;width:10rem;height:10rem;border-radius:50%;background:radial-gradient(circle,rgba(141,215,255,.18),rgba(73,184,181,.05) 42%,transparent 72%);pointer-events:none;opacity:.42;transition:opacity .26s ease,transform .42s ease}.billing-plan-card>*{position:relative;z-index:1}.billing-plan-card .billing-plan-head:after{content:"";position:absolute;inset:-.55rem -.45rem auto;height:4.3rem;border-radius:18px;background:linear-gradient(90deg,#8dd7ff14,#49b8b514,#8dd7ff14);opacity:0;transform:translate(-12%);filter:blur(10px);transition:opacity .26s ease,transform .52s ease;pointer-events:none;z-index:-1}.billing-plan-card strong{font-size:1.5rem;letter-spacing:-.04em}.billing-plan-card span,.billing-plan-card p{color:var(--muted)}.billing-plan-card.selected,.billing-plan-card.current{border-color:var(--line-strong);background:linear-gradient(180deg,#263442eb,#0e1620f5),radial-gradient(circle at top right,rgba(132,172,198,.14),transparent 48%);box-shadow:0 22px 48px #050e1847,inset 0 0 0 1px #caefff0f;transform:translateY(-4px) scale(1.03)}.billing-plan-card.selected:before,.billing-plan-card.current:before{opacity:1;transform:translateZ(0);animation:billingGlow 3.8s ease-in-out infinite;filter:blur(0)}.billing-plan-card.selected:after,.billing-plan-card.current:after{opacity:.85;transform:translate3d(-4%,-2%,0) scale(1.08)}.billing-plan-card.selected .billing-plan-head:after,.billing-plan-card.current .billing-plan-head:after,.billing-plan-card:hover .billing-plan-head:after{opacity:1;transform:translate(0)}.billing-plan-card:hover{transform:translateY(-2px)}.billing-plan-list{margin:0;padding-left:1.1rem;display:grid;gap:.5rem;color:var(--muted);min-height:5.5rem}.billing-select-button{width:100%;margin-top:auto}.billing-select-button.active{background:linear-gradient(135deg,#dcf7ff,#b4ebff 46%,#e3fbff);color:#05111c}.billing-checkout-error{margin-top:.9rem;padding:.9rem 1rem;border-radius:16px;border:1px solid rgba(255,146,146,.18);background:#ff929214;color:#ffd6d6}.billing-summary{padding:1.1rem;display:grid;align-content:start;gap:.42rem;box-shadow:0 28px 70px #00000057,0 0 0 1px #ffffff08,inset 0 1px #ffffff0a;position:relative;min-height:0;max-height:calc(100dvh - 4.2rem);overflow:auto;align-self:start;background:linear-gradient(180deg,#1b232dfa,#141c26fc),radial-gradient(circle at top right,rgba(99,176,255,.12),transparent 42%),radial-gradient(circle at 76% 100%,rgba(76,132,255,.08),transparent 34%)}.billing-summary.glass-card{background:linear-gradient(180deg,#1b232dfa,#141c26fc),radial-gradient(circle at top right,rgba(99,176,255,.12),transparent 42%),radial-gradient(circle at 76% 100%,rgba(76,132,255,.08),transparent 34%);border-color:#84c7ff29;box-shadow:0 28px 70px #00000057,0 0 0 1px #ffffff08,inset 0 1px #ffffff0a}.billing-summary:before{content:"";position:absolute;inset:-18% auto auto -12%;width:12rem;height:12rem;border-radius:50%;background:radial-gradient(circle,rgba(141,215,255,.12),rgba(88,170,255,.04) 38%,transparent 72%);pointer-events:none;opacity:.85;filter:blur(2px)}.billing-summary:after{content:"";position:absolute;inset:auto -12% -18% auto;width:13rem;height:13rem;border-radius:50%;background:radial-gradient(circle,rgba(92,190,255,.14),rgba(44,96,245,.06) 36%,transparent 72%);pointer-events:none;opacity:.76;filter:blur(8px)}.billing-summary h2{margin:-.52rem 0 0;font-size:1.45rem;letter-spacing:-.04em;color:#eef7ff;text-shadow:0 0 18px rgba(96,194,255,.12);position:relative;z-index:1}.billing-summary-lead{margin:-.26rem 0 0;color:#cbe1f8cc;line-height:1.6;position:relative;z-index:1}.billing-summary-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin-top:.22rem}.billing-summary-stats article,.billing-summary-note{padding:.9rem .95rem;border-radius:18px;border:1px solid rgba(132,199,255,.2);background:linear-gradient(180deg,#2b3643a8,#1a232ed6),#18202ad1;box-shadow:inset 0 1px #d2edff0d,0 12px 24px #040a122e;position:relative;z-index:1}.billing-summary-stats span{display:block;color:#a5c8e8bd;font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}.billing-summary-stats strong{display:block;margin-top:.18rem;font-size:1rem;color:#eef7ff}.billing-summary-note{display:grid;gap:.35rem}.billing-summary-note.premium{padding:1rem 1.05rem;background:linear-gradient(180deg,#324050c7,#18222ddb),radial-gradient(circle at top right,rgba(170,231,255,.1),transparent 42%),#18222dd6;border-color:#90d5ff47}.billing-summary-note p{color:#cce2f6c7;line-height:1.55}.billing-summary-note strong,.billing-highlight-card strong{color:#eef7ff}.billing-summary-stack{display:grid;gap:.7rem}.billing-highlight-card{padding:.95rem 1rem;border-radius:20px;border:1px solid rgba(132,199,255,.2);background:linear-gradient(180deg,#2d3a49ad,#18212cd6),radial-gradient(circle at top right,rgba(141,215,255,.12),transparent 44%),radial-gradient(circle at bottom left,rgba(63,112,255,.08),transparent 36%),#18212cd1;box-shadow:inset 0 1px #ffffff0b,0 14px 28px #0308102e}.billing-highlight-card span,.billing-highlight-card p{color:#c5ddf5c2}.billing-highlight-card span{display:block;margin-bottom:.35rem;font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}.billing-highlight-card strong,.billing-highlight-card p{display:block;margin:0}.billing-highlight-card strong{margin-bottom:.3rem;font-size:1rem;letter-spacing:-.02em}.billing-highlight-card p{line-height:1.55}.billing-pay-button{width:100%}@keyframes billingGlow{0%,to{opacity:.72;transform:translateZ(0) scale(1)}50%{opacity:1;transform:translate3d(15%,22%,0) scale(1.08)}}.dashboard-layout{display:grid;grid-template-columns:360px 1fr;gap:.8rem;padding:.8rem;height:100dvh;overflow:hidden}.ambient{position:fixed;width:38rem;height:38rem;border-radius:50%;filter:blur(18px);opacity:.3;pointer-events:none;animation:drift 16s ease-in-out infinite}.auth-grid,.auth-dot-field{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.auth-grid{background-image:linear-gradient(rgba(141,215,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(141,215,255,.05) 1px,transparent 1px);background-size:76px 76px;-webkit-mask-image:radial-gradient(circle at center,black 35%,transparent 82%);mask-image:radial-gradient(circle at center,black 35%,transparent 82%);opacity:.24;z-index:-2}.auth-dot-field{z-index:-1;overflow:hidden}.auth-dot{position:absolute;display:block;width:42px;height:42px;border-radius:50%;background:radial-gradient(circle,rgba(226,246,255,.98) 0%,rgba(141,215,255,.54) 34%,rgba(141,215,255,.14) 58%,transparent 76%);opacity:.28;box-shadow:0 0 56px #8dd7ff57,0 0 112px #8dd7ff33;animation:dotPulse 6.4s ease-in-out infinite}.ambient-left{top:-9rem;left:-10rem;background:radial-gradient(circle,rgba(76,138,178,.16),transparent 62%)}.ambient-right{right:-12rem;bottom:-12rem;background:radial-gradient(circle,rgba(119,161,189,.14),transparent 60%);animation-delay:-7s}.glass-card{background:linear-gradient(180deg,#121c26eb,#0a111af5);border:1px solid var(--line);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.brand-panel,.auth-panel,.sidebar,.workspace-header,.onboarding,.prompt-dock{border-radius:var(--radius-xl)}.brand-panel{width:min(100%,52rem);padding:1.9rem;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:1.3rem;position:relative;overflow:hidden;min-height:0;height:auto}.brand-panel-top{position:absolute;top:1.8rem;right:1.1rem;z-index:1}.eyebrow{margin:0 0 .8rem;text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;color:var(--accent)}.brand-copy{display:grid;gap:.72rem;min-width:0;margin-top:.62rem;width:min(100%,35rem);align-self:flex-start}.brand-panel-bottom{width:100%;display:grid;gap:.68rem;margin-top:-.12rem}.auth-copy{display:grid;gap:.6rem;min-width:0}.brand-caption,.auth-status-chip{width:fit-content;display:inline-flex;align-items:center;gap:.45rem;padding:.28rem .32rem;border-radius:999px;color:#caefffd6;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase}.brand-badge-dot{width:.36rem;height:.36rem;border-radius:50%;background:var(--accent);box-shadow:0 0 14px #8dd7ffd9}.product-mark{margin:0 0 .24rem;font-family:Space Grotesk,sans-serif;font-size:clamp(1.74rem,2.65vw,2.22rem);font-weight:500;line-height:.98;letter-spacing:-.025em;color:#effcff;background:linear-gradient(128deg,#fff,#f7fdff 14%,#eefbff 32%,#dff6ff 52%,#cfefff 74%,#f7fdff);background-size:180% 180%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 0 1px rgba(255,255,255,.8),0 0 14px rgba(210,242,255,.36),0 0 30px rgba(141,215,255,.28),0 0 58px rgba(121,207,255,.2);filter:saturate(1.08) contrast(1.04);animation:brandFlow 9s ease-in-out infinite}.brand-panel h1,.onboarding h1{margin:0;font-family:Space Grotesk,sans-serif;font-size:clamp(2.1rem,3.5vw,3.7rem);line-height:1.02;letter-spacing:-.04em;max-width:15ch;text-wrap:balance;word-break:normal}.brand-copy .lead{margin-top:.05rem}.lead,.auth-copy p,.onboarding>p{color:var(--muted);max-width:60ch;line-height:1.56;margin:0;text-wrap:pretty;word-break:normal}.no-wrap{display:inline-block;white-space:nowrap}.brand-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;width:100%;max-width:35rem;margin-top:0}.brand-metrics article{display:grid;gap:.4rem;padding:.8rem .88rem;border-radius:var(--radius-md);border:1px solid rgba(173,217,255,.12);background:#ffffff08}.brand-metrics strong{font-family:Space Grotesk,sans-serif;font-size:.98rem;letter-spacing:-.03em}.brand-metrics span{color:var(--muted);font-size:.8rem}.brand-showcase-panel{width:min(100%,52rem);min-width:0;padding:1rem;display:grid;align-items:center;justify-items:center;overflow:hidden;border-radius:30px;min-height:18.7rem}.auth-car-shell{width:43.8rem;max-width:100%;margin:0 auto;align-self:center;justify-self:center;position:relative;padding:.72rem;border-radius:24px;background:linear-gradient(160deg,#3682d20f,#030812e0),radial-gradient(circle at 18% 30%,rgba(70,190,240,.18),transparent 56%);border:1px solid rgba(130,215,255,.28);box-shadow:inset 0 1px #ffffff29,0 20px 40px #03091261;backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2);overflow:hidden;display:grid;align-items:center}.auth-car-shell:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 40%),radial-gradient(circle at 85% 65%,rgba(120,236,214,.14),transparent 48%);pointer-events:none}.auth-car-shell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(rgba(130,220,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(130,220,255,.16) 1px,transparent 1px),linear-gradient(rgba(130,220,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(130,220,255,.08) 1px,transparent 1px);background-size:24px 24px,24px 24px,6px 6px,6px 6px;opacity:.22;mix-blend-mode:screen;pointer-events:none}.auth-car-image-host{position:relative;z-index:1;width:100%;max-width:100%;aspect-ratio:auto;height:clamp(13.2rem,21vw,14.8rem);min-height:clamp(13.2rem,21vw,14.8rem);max-height:none;margin:0 auto;transform:translateZ(0);overflow:hidden;background:transparent;border:0;border-radius:0}.auth-car-image-host:before{content:none}.auth-car-image-host:after{content:none}.auth-car-image-host.is-paused *,.auth-car-image-host.is-paused *:before,.auth-car-image-host.is-paused *:after{animation-play-state:paused!important}.auth-car-stage{position:absolute;top:0;right:0;bottom:0;left:0;transform:scale(.76);transform-origin:50% 50%}.auth-car-aura{position:absolute;width:13.5rem;height:9rem;border-radius:999px;filter:blur(14px);pointer-events:none;opacity:.4;z-index:0;animation:carAuraFloat 12s ease-in-out infinite}.auth-car-aura-left{left:-1.4rem;bottom:-1.8rem;background:radial-gradient(circle,rgba(86,185,255,.24),transparent 68%)}.auth-car-aura-right{right:-2rem;top:-1.8rem;background:radial-gradient(circle,rgba(124,236,214,.2),transparent 68%);animation-delay:-2.6s}.auth-car-preview-image{width:100%;height:100%;object-fit:contain;object-position:center;display:block;transform:none;filter:drop-shadow(0 0 18px rgba(92,220,255,.32)) brightness(1.03) saturate(1.08)}.auth-car-surface-layer{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;object-position:center;opacity:0;transform:scale(1);transform-origin:50% 50%;transition:opacity 3.2s ease,transform 3.2s ease,filter 3.2s ease;pointer-events:none}.auth-car-surface-core,.auth-car-surface-outline{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;object-position:center;transform-origin:50% 50%}.auth-car-surface-core{opacity:0;transition:opacity 3.2s ease,transform 3.2s ease,filter 3.2s ease;filter:drop-shadow(0 0 10px rgba(121,207,255,.7)) drop-shadow(0 0 22px rgba(183,235,255,.45)) brightness(1.03) saturate(1.14)}.auth-car-surface-outline{opacity:0;transform:none;filter:blur(.9px) drop-shadow(0 0 14px rgba(121,207,255,.78)) drop-shadow(0 0 30px rgba(210,242,255,.55)) brightness(1.08) saturate(1.2);transition:opacity 3.2s ease,transform 3.2s ease,filter 3.2s ease}.auth-car-surface-fill{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 50% 50%,#b7ebff00,#79cfff57 52%,#d2f2ffd1);opacity:0;transition:opacity 3.2s ease;-webkit-mask-image:var(--surface-url);mask-image:var(--surface-url);-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;filter:blur(.3px)}.auth-car-surface-layer.is-active{opacity:.85;transform:scale(1);filter:drop-shadow(0 0 20px rgba(121,207,255,.9)) drop-shadow(0 0 40px rgba(210,242,255,.65)) drop-shadow(0 0 68px rgba(183,235,255,.4))}@keyframes surfaceReveal{0%{opacity:0;filter:blur(2px) drop-shadow(0 0 8px rgba(121,207,255,.4)) drop-shadow(0 0 16px rgba(210,242,255,.28))}to{opacity:.82;filter:blur(1.1px) drop-shadow(0 0 18px rgba(121,207,255,.9)) drop-shadow(0 0 36px rgba(210,242,255,.6))}}.auth-car-surface-layer.is-active.is-fading{opacity:0;filter:none;animation:none}.auth-car-surface-layer.is-active .auth-car-surface-core{opacity:0;filter:drop-shadow(0 0 18px rgba(121,207,255,.92)) drop-shadow(0 0 34px rgba(210,242,255,.68)) brightness(1.04) saturate(1.24)}.auth-car-surface-layer.is-active .auth-car-surface-outline{opacity:.82;filter:blur(1.1px) drop-shadow(0 0 20px rgba(121,207,255,.96)) drop-shadow(0 0 40px rgba(210,242,255,.72)) brightness(1.12) saturate(1.3);animation:surfaceGlowAfter 2.8s ease-in-out infinite;animation-delay:2.6s}.auth-car-surface-layer.is-active .auth-car-surface-fill{opacity:0}.auth-car-surface-layer.is-fading .auth-car-surface-outline,.auth-car-surface-layer.is-fading .auth-car-surface-core,.auth-car-surface-layer.is-fading .auth-car-surface-fill{opacity:0;filter:none;animation:none}@keyframes premiumSurfacePulse{0%,to{opacity:.52}50%{opacity:.68}}@keyframes surfaceGlowAfter{0%{opacity:.82}50%{opacity:.94}to{opacity:.82}}@keyframes surfacePing{0%{opacity:.66;filter:drop-shadow(0 0 16px rgba(121,207,255,.9)) drop-shadow(0 0 32px rgba(210,242,255,.6))}70%{opacity:.9;filter:drop-shadow(0 0 30px rgba(183,235,255,.95)) drop-shadow(0 0 64px rgba(121,207,255,.9)) drop-shadow(0 0 96px rgba(210,242,255,.72))}to{opacity:.66;filter:drop-shadow(0 0 16px rgba(121,207,255,.9)) drop-shadow(0 0 32px rgba(210,242,255,.6))}}.auth-car-info-chip{position:absolute;top:.6rem;left:.6rem;z-index:5;display:grid;gap:.18rem;width:fit-content;max-width:min(100%,30rem);padding:0;justify-self:start;align-self:start;margin-left:0}.auth-car-info-chip .chip-subvalue{font-family:Space Grotesk,sans-serif;font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:#aaebffb3;opacity:.8}.auth-car-info-chip .chip-label{font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;color:#b0ecffd6}.auth-car-info-chip .chip-value{font-family:Space Grotesk,sans-serif;font-size:1.08rem;line-height:1.16;color:#effbff;text-shadow:0 0 16px rgba(150,232,255,.72),0 0 32px rgba(72,200,255,.4);max-width:100%;white-space:normal;overflow:visible;text-overflow:ellipsis}.feature-grid,.capability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.feature-card,.capability-grid article,.manager-card,.prompt-chip,.upload-pill{background:#ffffff06;border:1px solid var(--line);border-radius:var(--radius-md)}.feature-card,.capability-grid article{padding:.68rem .76rem;transition:transform .18s ease,border-color .18s ease,background .18s ease}.auth-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0;max-width:100%;width:100%;align-self:flex-start;gap:.48rem}.feature-card:hover,.capability-grid article:hover,.prompt-chip:hover{transform:translateY(-2px);border-color:var(--line-strong);background:#7faac614}.feature-card span{color:var(--accent);font-size:.8rem}.feature-card h2,.auth-copy h2,.section-heading h3,.workspace-header h2,.capability-grid h3{margin:.35rem 0 .5rem}.auth-copy h2{margin:0;max-width:34ch;text-wrap:balance;word-break:normal}.auth-copy .eyebrow{margin:0}.feature-card h2{font-size:.88rem;text-wrap:balance;word-break:normal}.feature-card p{margin:0;line-height:1.34;font-size:.78rem;word-break:normal}.feature-card p,.capability-grid p,.manager-login,.settings-row,.upload-pill span{color:var(--muted)}.auth-panel{padding:1.22rem;display:flex;flex-direction:column;justify-content:flex-start;gap:.9rem;position:relative;overflow:hidden;min-height:calc(100dvh - 2rem)}.auth-support-card{display:grid;gap:.82rem;padding:1rem 1rem 1.04rem;min-height:12.4rem;align-content:start;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,#ffffff0b,#ffffff05),radial-gradient(circle at top right,rgba(141,215,255,.08),transparent 42%),radial-gradient(circle at bottom left,rgba(120,236,214,.06),transparent 48%);box-shadow:inset 0 1px #ffffff08,0 16px 28px #040a1229;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.signin-panel .auth-support-card{margin-top:auto}.auth-support-title{margin:0;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}.auth-support-list{display:grid;gap:.55rem}.auth-support-list p{margin:0;padding-left:.9rem;position:relative;color:var(--muted);line-height:1.5;font-size:.82rem}.auth-support-list p:before{content:"";position:absolute;left:0;top:.46rem;width:.34rem;height:.34rem;border-radius:50%;background:var(--accent);box-shadow:0 0 12px #8dd7ff6b}.auth-support-strip{display:grid;gap:.32rem;padding:.88rem .92rem .94rem;margin-top:auto;border-top:1px solid var(--line);border-radius:14px;background:linear-gradient(180deg,#ffffff09,#ffffff04),radial-gradient(circle at right center,rgba(141,215,255,.06),transparent 52%),radial-gradient(circle at left center,rgba(120,236,214,.05),transparent 44%);box-shadow:inset 0 1px #ffffff08,0 10px 20px #040a1226}.auth-support-strip-label{font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:#a8e2ffc7}.auth-support-strip strong{margin:0;font-family:Space Grotesk,sans-serif;font-size:.82rem;line-height:1.34;letter-spacing:-.02em;color:#f0f9fffa;text-align:left;text-shadow:0 0 10px rgba(141,215,255,.12),0 0 18px rgba(120,236,214,.06)}.auth-panel:before,.brand-panel:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:linear-gradient(180deg,rgba(255,255,255,.045),transparent 30%);pointer-events:none}.auth-panel-top{display:flex;align-items:center;justify-content:space-between;gap:.85rem}.auth-status-chip{margin-top:0;flex-shrink:0}.tabs{display:inline-flex;gap:.4rem;background:transparent;border:0;border-radius:999px;padding:0;width:fit-content}.tab-button,.text-button,.settings-row,.icon-button,.prompt-chip,.upload-button{border:0;background:transparent;color:var(--text);cursor:pointer}.tab-button{margin-top:0;border-radius:16px;padding:.62rem .92rem;color:#dbecfad1;border:1px solid rgba(173,217,255,.12);background:linear-gradient(180deg,#3644549e,#1b2631d1),#151f2ac7;box-shadow:inset 0 1px #ffffff08,0 12px 24px #040a121f;overflow:hidden;transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}.tab-button.active{background:linear-gradient(180deg,#8dd7ff2e,#8dd7ff0f),#151f2ad1;border-color:#add9ff47;color:var(--text)}.tab-button:hover,.tab-button:focus-visible{background:linear-gradient(180deg,#ffffff38,#d2f2ff1f),#c8ecff0f;border-color:#caefff52;box-shadow:inset 0 1px #ffffff29,0 12px 28px #79cfff1f,0 0 26px #d2f2ff29}.auth-form{display:grid;gap:.68rem;margin-top:.08rem}.auth-form label,.prompt-input{display:grid;gap:.35rem}.auth-form span{color:var(--muted);font-size:.8rem;letter-spacing:.01em}.auth-form input,.search-box input,.prompt-input textarea{width:100%;border:1px solid var(--line);border-radius:var(--radius-sm);background:#ffffff09;color:var(--text);padding:.78rem .88rem;outline:none;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.auth-form input:focus,.search-box input:focus,.prompt-input textarea:focus{border-color:var(--accent);background:#ffffff0f;box-shadow:0 0 0 4px #8dd7ff14}.password-field{position:relative}.password-field input{padding-right:3rem}.phone-prefix-field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;border:1px solid var(--line);border-radius:var(--radius-sm);background:#ffffff09;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.phone-prefix-field:focus-within{border-color:var(--accent);background:#ffffff0f;box-shadow:0 0 0 4px #8dd7ff14}.auth-form .phone-prefix-field>span{padding-left:.88rem;padding-right:.5rem;color:var(--text);font-size:.9rem;font-weight:850}.auth-form .phone-prefix-field input{border:0;border-radius:0;background:transparent;padding-left:0;box-shadow:none}.auth-form .phone-prefix-field input:focus{border-color:transparent;background:transparent;box-shadow:none}.password-toggle{position:absolute;top:50%;right:.7rem;transform:translateY(-50%);border:0;width:2rem;height:2rem;padding:0;border-radius:50%;background:transparent;color:var(--muted);display:grid;place-items:center}.password-toggle:hover{color:var(--text);background:#ffffff0a}.password-eye-icon{width:1rem;height:1rem}.primary-button{border:0;border-radius:999px;padding:.82rem 1.08rem;background:linear-gradient(135deg,#d4e0ea,#9fb6c8 45%,#e2ebf2);color:#08131d;font-weight:800;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease;box-shadow:0 16px 34px #0003}.secondary-button{border:1px solid var(--line);border-radius:999px;padding:.82rem 1.08rem;background:linear-gradient(180deg,#ffffff0a,#ffffff05),#0a121cb8;color:var(--text);font-weight:700;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;box-shadow:0 12px 26px #040a1224}.primary-button:hover,.secondary-button:hover,.send-button:hover{background:linear-gradient(180deg,#f4f7f9eb,#cedae4bd),linear-gradient(180deg,#b5c7d48f,#8297a647);box-shadow:inset 0 1px #ffffff47,0 18px 36px #0000003d;transform:translateY(-2px)}.secondary-button:hover{border-color:#8dd7ff42;color:#082035}.auth-footer{display:flex;gap:.6rem;color:var(--muted);font-size:.86rem;padding-top:.18rem;align-items:center;flex-wrap:wrap}.form-error{margin:0;color:#ffc5c5;font-size:.92rem;line-height:1.45}.form-success{margin:0;color:#b6ffd0;font-size:.92rem;line-height:1.45}.inline-button,.text-button{color:var(--accent-strong)}.inline-button{padding:0;background:transparent;border:0;color:var(--accent);font-weight:700;transition:color .16s ease,opacity .16s ease}.inline-button:hover{color:var(--accent-strong)}.text-button,.settings-row,.icon-button{border:0;background:transparent;color:var(--text);cursor:pointer}.text-button:hover,.text-button:focus-visible,.settings-row:hover,.settings-row:focus-visible,.icon-button:hover,.icon-button:focus-visible{background:linear-gradient(180deg,#ffffff14,#bdd2e40a),#a1bace0a;border-color:#c1d7e838;box-shadow:inset 0 1px #ffffff14,0 12px 26px #0000002e;color:var(--text)}.sidebar{padding:.9rem;display:grid;grid-template-rows:auto 1fr auto;gap:.75rem;height:calc(100dvh - 2rem);min-height:0;overflow:auto;background:linear-gradient(180deg,#0e161ff5,#090f17fa),radial-gradient(circle at top right,rgba(132,172,198,.08),transparent 42%);border-color:#8fadc62e}.sidebar-top,.section-heading,.workspace-header,.header-left,.upload-pill,.manager-card,.auth-footer{display:flex;align-items:center;justify-content:space-between}.close-sidebar{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);position:relative}.close-sidebar span{position:absolute;top:50%;left:50%;width:16px;height:1.5px;background:var(--text)}.close-sidebar span:first-child{transform:translate(-50%,-50%) rotate(45deg)}.close-sidebar span:last-child{transform:translate(-50%,-50%) rotate(-45deg)}.sidebar-section{display:grid;gap:.65rem;align-content:start;padding:.7rem;border-radius:var(--radius-md);border:1px solid var(--line);background:#ffffff05}.compact-links{width:100%;align-self:end;padding:.2rem;gap:.22rem;position:relative;z-index:2}.clients-section{min-height:0;display:grid;grid-template-rows:auto auto 1fr auto;overflow:hidden}.sidebar-hint{margin:0;color:var(--muted);font-size:.86rem}.search-box input{padding-block:.7rem}.manager-list{display:grid;gap:.75rem;min-height:0;overflow:auto;align-content:start}.manager-card{width:calc(100% - .9rem);justify-self:center;padding:.58rem .62rem;gap:.62rem;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.manager-card:hover{border-color:var(--line-strong);background:linear-gradient(180deg,#7296b014,#7296b008),#ffffff05;box-shadow:0 12px 28px #040a1229}.manager-card.selected{border-color:var(--line-strong);background:linear-gradient(180deg,#78a0bc1f,#78a0bc0d),#ffffff06}.manager-name{margin:0 0 .12rem;font-weight:700;font-size:.94rem}.manager-initials{width:2.25rem;height:2.25rem;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:#84bfdc1f;color:var(--accent-strong);font-size:.8rem;font-weight:700;flex-shrink:0}.manager-login{font-size:.84rem}.settings-row{width:100%;text-align:left;padding:.72rem .8rem;border-radius:var(--radius-md)}.settings-row.active,.settings-row:hover{border-color:#add9ff47;color:var(--text)}.account-trigger{width:100%;display:grid;gap:.48rem;padding:.78rem .82rem;text-align:left;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#151f2af5,#0c131cfa),radial-gradient(circle at top right,rgba(132,172,198,.08),transparent 44%);box-shadow:inset 0 1px #ffffff08,0 16px 34px #040a1233;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}.account-trigger-head{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.account-trigger-label{color:#b4cae0b8;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase}.account-trigger-arrow{width:1.7rem;height:1.7rem;border-radius:999px;display:grid;place-items:center;color:#e3f3ffeb;border:1px solid rgba(173,217,255,.14);background:#8dd7ff14}.account-login-row{display:inline-flex;align-items:center;justify-content:flex-start;font-weight:800;padding:0;min-height:auto;font-size:.98rem;width:100%;min-width:0;line-height:1.1;color:#eff8ff}.account-trigger:hover,.account-trigger:focus-visible{border-color:#c1d7e83d;background:linear-gradient(180deg,#1d2a37fa,#0f1822fc),#a1bace0a;transform:translateY(-1px);box-shadow:inset 0 1px #ffffff14,0 18px 40px #040a123d}.account-trigger:hover .account-trigger-arrow,.account-trigger:focus-visible .account-trigger-arrow{border-color:#c1d7e838;background:linear-gradient(180deg,#2c3c4cf5,#121d28f5),#a1bace0d}.workspace-header{padding:.52rem .66rem;flex-shrink:0;background:linear-gradient(180deg,#0f1721f5,#090f17fa),radial-gradient(circle at top right,rgba(122,162,188,.08),transparent 42%)}.workspace-header h2{font-size:.82rem;margin:0}.header-copy{display:grid;align-content:center;gap:.14rem;padding-left:.3rem}.header-copy .eyebrow{margin:0}.dashboard-notice{margin:0;padding:.72rem .88rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-radius:var(--radius-md);animation:floatUp .26s ease;flex-shrink:0}.status-chip{padding:.42rem .68rem;border-radius:999px;background:#99f3c01f;border:1px solid rgba(153,243,192,.22);color:var(--success);font-size:.8rem}.header-metrics{display:flex;align-items:center;gap:.38rem;flex-wrap:wrap;justify-content:flex-end}.metric-pill{display:grid;gap:.06rem;padding:.34rem .54rem;border-radius:12px;border:1px solid var(--line);background:#ffffff08}.metric-pill span{color:var(--muted);font-size:.68rem;line-height:1}.metric-pill strong{font-size:.8rem;line-height:1.1}.metric-pill.warning{border-color:#ffd16652;background:#ffd16614}.metric-pill.danger{border-color:#ff929257;background:#ff92921a}.balance-warning{padding:.36rem .56rem;border-radius:999px;font-size:.74rem;font-weight:700;line-height:1;border:1px solid transparent}.balance-warning.warning{color:#ffd76c;background:#ffd1661f;border-color:#ffd16647}.balance-warning.danger{color:#ffd7d7;background:#ff929224;border-color:#ff92924d}.floating-notice{position:fixed;top:1rem;right:1rem;z-index:24;width:min(400px,calc(100vw - 2rem));display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:.8rem;padding:1rem 1rem 1.05rem;border-radius:22px;border:1px solid rgba(141,215,255,.14);background:linear-gradient(180deg,#121c276b,#09101a57),radial-gradient(circle at top right,rgba(141,215,255,.1),transparent 42%);box-shadow:0 18px 54px #0000003d,0 0 0 1px #ffffff05,inset 0 1px #ffffff0a;backdrop-filter:blur(20px) saturate(130%);-webkit-backdrop-filter:blur(20px) saturate(130%);overflow:hidden;animation:noticeIn .22s ease}.floating-notice.error{border-color:#ff929233}.floating-notice.info{border-color:#8dd7ff2e}.floating-notice.success{border-color:#54e39a33}.floating-notice.warning{border-color:#ffd16638}.floating-notice-mark{width:2rem;height:2rem;display:grid;place-items:center;border-radius:999px;background:linear-gradient(180deg,#ff92922e,#ff929214);color:#ffd2d2;box-shadow:inset 0 0 0 1px #ff929224,0 0 24px #ff929214}.floating-notice.info .floating-notice-mark{background:linear-gradient(180deg,#8dd7ff2e,#8dd7ff14);color:#d9f2ff;box-shadow:inset 0 0 0 1px #8dd7ff24,0 0 24px #8dd7ff14}.floating-notice.success .floating-notice-mark{background:linear-gradient(180deg,#54e39a2e,#54e39a14);color:#c8ffd9;box-shadow:inset 0 0 0 1px #54e39a24,0 0 24px #54e39a14}.floating-notice.warning .floating-notice-mark{background:linear-gradient(180deg,#ffd1662e,#ffd16614);color:#ffe8ad;box-shadow:inset 0 0 0 1px #ffd16624,0 0 24px #ffd16614}.floating-notice-icon{width:1rem;height:1rem}.floating-notice-copy{min-width:0}.floating-notice-label{display:inline-flex;align-items:center;margin-bottom:.22rem;color:#ffcfcf;font-size:.7rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.floating-notice.info .floating-notice-label{color:#cfefff}.floating-notice.success .floating-notice-label{color:#c8ffd9}.floating-notice.warning .floating-notice-label{color:#ffe8ad}.floating-notice-copy strong{display:block;margin-bottom:.24rem;font-size:.98rem;letter-spacing:-.02em}.floating-notice-copy p{margin:0;color:#d0deea;font-size:.88rem;line-height:1.5}.floating-notice-close{position:relative;width:1.9rem;height:1.9rem;border:0;border-radius:999px;background:transparent;color:#ecf5ffa8}.floating-notice-close span{position:absolute;top:50%;left:50%;width:.72rem;height:1.5px;border-radius:999px;background:currentColor}.floating-notice-close span:first-child{transform:translate(-50%,-50%) rotate(45deg)}.floating-notice-close span:last-child{transform:translate(-50%,-50%) rotate(-45deg)}.floating-notice-close:hover{background:#ffffff0d;color:var(--text)}.floating-notice-bar{position:absolute;left:0;bottom:0;width:100%;height:3px;transform-origin:left center;background:linear-gradient(90deg,#8dd7ff38,#8dd7ffad);animation:noticeBarDrain var(--notice-duration, 3s) linear forwards}.floating-notice.error .floating-notice-bar{background:linear-gradient(90deg,#ff92923d,#ff9292b8)}.floating-notice.success .floating-notice-bar{background:linear-gradient(90deg,#54e39a3d,#54e39ab8)}.floating-notice.warning .floating-notice-bar{background:linear-gradient(90deg,#ffd1663d,#ffd166b8)}@keyframes noticeBarDrain{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.menu-button{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);display:inline-flex;flex-direction:column;justify-content:center;gap:4px;padding:0 12px}.menu-button span{display:block;height:1.5px;background:var(--text)}.tool-stage,.tool-bottom-bar{border-radius:var(--radius-xl)}.tool-stage{display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:.68rem;padding:.82rem;min-height:0;background:linear-gradient(180deg,#ffffff0d,#ffffff05),radial-gradient(circle at top right,rgba(141,215,255,.08),transparent 42%)}.tool-stage.has-workflow-warning{grid-template-rows:auto auto auto minmax(0,1fr)}.tool-bottom-bar{display:grid;gap:.36rem;padding:.42rem .54rem;background:linear-gradient(180deg,#ffffff0b,#ffffff05),radial-gradient(circle at top right,rgba(141,215,255,.08),transparent 42%)}.tool-bottom-bar.is-photo-step{gap:.28rem;padding:.3rem .42rem}.tool-bottom-bar.is-segmentation-step{gap:.42rem;padding:.46rem .58rem}.tool-bottom-shell{display:grid;grid-template-columns:minmax(0,1fr) 164px;gap:.6rem;align-items:stretch}.tool-stage-head,.tool-stage-steps,.tool-upload-strip,.tool-palette-row,.tool-action-row{display:flex}.tool-stage-head{align-items:start;justify-content:space-between;gap:.72rem;flex-wrap:wrap}.tool-stage-title{display:grid;gap:.28rem;min-width:0;width:100%}.tool-stage-heading-row{display:flex;align-items:center;gap:.48rem;flex-wrap:wrap}.tool-workflow-menu{margin-right:.08rem}.tool-stage-client-row{display:flex;align-items:center;justify-content:space-between;gap:.72rem;flex-wrap:wrap}.tool-workflow-header-meta{display:flex;align-items:center;justify-content:flex-end;gap:.5rem .72rem;flex-wrap:wrap}.tool-state-chip{display:inline-flex;align-items:center;min-height:1.9rem;padding:.32rem .68rem;border-radius:999px;border:1px solid var(--line);color:var(--muted);background:#ffffff08;font-size:.74rem}.tool-stage-heading-row .eyebrow{margin:0}.tool-state-chip.processing{color:#dff6ff;border-color:#8dd7ff47;background:#8dd7ff1a}.tool-workflow-stats,.tool-workflow-steps{display:flex;align-items:center;gap:.38rem;flex-wrap:wrap}.tool-stage-client-row .tool-workflow-stats{justify-content:flex-end}.tool-workflow-warning{display:flex;justify-content:flex-end}.tool-workflow-step{position:relative;display:inline-flex;align-items:center;gap:.42rem;min-height:1.3rem;padding:0;color:#9fb4ccc7}.tool-workflow-step strong{font-size:.76rem;line-height:1}.tool-workflow-step:not(:last-child){padding-right:1.2rem}.tool-workflow-step:not(:last-child):after{content:"";position:absolute;top:50%;left:calc(100% - .7rem);width:.82rem;height:1px;transform:translateY(-50%);background:linear-gradient(90deg,#8dd7ff3d,#8dd7ff14)}.tool-workflow-step-dot{width:.5rem;height:.5rem;border-radius:999px;background:#82a1bf42;box-shadow:inset 0 0 0 1px #ffffff0f}.tool-workflow-step.complete{color:#d2f5e1fa}.tool-workflow-step.complete .tool-workflow-step-dot{background:#76e0c8e6;box-shadow:0 0 0 3px #4ec9aa1f,0 0 18px #4ec9aa47}.tool-workflow-step.complete:not(:last-child):after{background:linear-gradient(90deg,#4ec9aa7a,#4ec9aa24)}.tool-workflow-step.current{color:var(--text)}.tool-workflow-step.current .tool-workflow-step-dot{background:#8dd7fff5;box-shadow:0 0 0 3px #8dd7ff1f,0 0 18px #8dd7ff57;animation:workflowStepPulse 1.8s ease-in-out infinite}.tool-workflow-step.failed{color:#ffcdcdf5}.tool-workflow-step.failed .tool-workflow-step-dot{background:#ff7a7af5;box-shadow:0 0 0 3px #ff7a7a24,0 0 18px #ff7a7a47}.tool-workflow-step.failed:not(:last-child):after{background:linear-gradient(90deg,#ff7a7a75,#ff7a7a24)}@keyframes workflowStepPulse{0%,to{box-shadow:0 0 0 3px #8dd7ff1a,0 0 14px #8dd7ff3d;transform:scale(1)}50%{box-shadow:0 0 0 5px #8dd7ff29,0 0 22px #8dd7ff57;transform:scale(1.04)}}.tool-stage-head h3,.tool-result-card h4,.tool-panel-section h4{margin:0}.tool-stage-steps{gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.tool-stage-steps span{display:inline-flex;align-items:center;gap:.35rem;padding:.42rem .6rem;border-radius:999px;border:1px solid var(--line);color:var(--muted);background:#ffffff08}.tool-stage-steps span.active{color:var(--text);border-color:var(--line-strong);background:#8dd7ff1a}.tool-stage-steps em{font-style:normal;font-size:.78rem}.tool-space-tabs{display:flex;align-items:center;gap:.32rem;padding:.24rem;border:1px solid var(--line);border-radius:16px;background:#ffffff08;flex-wrap:wrap}.tool-space-tab{display:inline-flex;align-items:center;gap:.42rem;min-height:2.15rem;padding:.46rem .7rem;border:0;border-radius:12px;background:transparent;color:var(--muted);cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease}.tool-process-strip{display:flex;min-width:0}.tool-process-rail{align-items:stretch;justify-content:center;padding:.38rem .28rem .38rem .92rem;border-left:1px solid rgba(141,215,255,.14)}.tool-process-track{display:flex;align-items:flex-start;gap:1.28rem;flex-direction:column;min-width:0}.tool-process-step{display:inline-flex;align-items:center;gap:.62rem;position:relative;color:var(--muted);min-height:1.34rem}.tool-process-step strong{font-size:.92rem;font-weight:700;letter-spacing:.01em;line-height:1.1}.tool-process-dot{width:.7rem;height:.7rem;position:relative;border-radius:999px;flex:0 0 auto;background:#82a1bf3d;box-shadow:inset 0 0 0 1px #ffffff0f,0 0 0 1px #ffffff0a,0 0 18px #0814232e}.tool-process-step.upcoming{color:#9fb4ccb8}.tool-process-step.complete{color:#d9f1fff0}.tool-process-step.complete .tool-process-dot{background:#76e0c8e6;box-shadow:0 0 0 3px #4ec9aa24,0 0 18px #4ec9aa57}.tool-process-step.complete .tool-process-dot:before{content:"✓";position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:#f4ffff;font-size:.52rem;font-weight:700}.tool-process-step.current{color:var(--text);text-shadow:0 0 18px rgba(141,215,255,.2)}.tool-process-step.current .tool-process-dot{background:#8dd7fff5;box-shadow:0 0 0 4px #8dd7ff1f,0 0 24px #8dd7ff73}.tool-process-step.current .tool-process-dot:after{content:"";position:absolute;top:-.28rem;right:-.28rem;bottom:-.28rem;left:-.28rem;border-radius:999px;border:1px solid rgba(141,215,255,.5);opacity:0;animation:toolStepPulse 1.7s ease-out infinite}.tool-process-step:not(:last-child):after{content:"";position:absolute;top:calc(100% + .36rem);left:.34rem;width:2px;height:.96rem;background:linear-gradient(180deg,#8dd7ff9e,#8dd7ff29);box-shadow:0 0 10px #8dd7ff2e;pointer-events:none}@keyframes toolStepPulse{0%{transform:scale(.86);opacity:.62}to{transform:scale(1.18);opacity:0}}.tool-space-tab.active,.tool-space-tab:hover{background:linear-gradient(180deg,#8dd7ff29,#8dd7ff0f),#ffffff08;color:var(--text);box-shadow:inset 0 0 0 1px #8dd7ff1a}.tool-stage-body{min-height:0;display:flex;flex-direction:column}.tool-stage-body.is-photo-view{flex:1}.tool-photo-layout{display:grid;grid-template-columns:minmax(0,1fr) 248px;gap:1.15rem;min-height:100%;padding-bottom:.9rem}.tool-photo-stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem;min-height:0;padding-bottom:.35rem;padding-top:.35rem;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.tool-photo-stage.dragover{border-radius:28px;background:linear-gradient(180deg,#8dd7ff12,#8dd7ff05),#ffffff05;box-shadow:inset 0 0 0 1px #8dd7ff2e}.tool-photo-card,.client-history-board,.tool-result-board{border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,#ffffff0a,#ffffff05),radial-gradient(circle at top right,rgba(141,215,255,.08),transparent 44%)}.tool-photo-card{display:grid;min-height:0;padding:.55rem;overflow:hidden}.tool-photo-card.empty{padding:0;overflow:hidden}.tool-photo-slot,.tool-photo-media{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1 / 1;min-height:0;height:100%;border-radius:20px}.tool-photo-slot{overflow:hidden;padding:1.35rem;border:1px dashed rgba(141,215,255,.28);background:linear-gradient(180deg,#ffffff0a,#ffffff05),radial-gradient(circle at top right,rgba(141,215,255,.14),transparent 46%);color:var(--text);text-align:center}.tool-photo-slot-content{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;grid-template-rows:auto auto auto;align-content:center;justify-items:center;gap:.72rem;padding:1.35rem}.tool-photo-slot-content .inline-icon{width:1.1rem;height:1.1rem}.tool-photo-slot-content strong,.tool-photo-slot-content span{margin:0;width:100%;text-align:center}.tool-photo-slot-content strong{min-height:2.4rem;display:grid;place-items:center;max-width:14ch;line-height:1.2}.tool-photo-slot-content>span:last-child{min-height:2.8rem;display:grid;align-items:start;max-width:18ch;line-height:1.45}.tool-photo-slot strong,.tool-photo-slot span,.segmentation-placeholder strong,.segmentation-placeholder p,.tool-result-card p,.tool-upload-copy strong,.tool-upload-copy span,.tool-muted{margin:0}.tool-photo-slot span,.tool-muted,.tool-upload-copy span,.selected-segment-chip span{color:var(--muted)}.tool-canvas{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:.8rem;min-height:0;flex:1}.tool-canvas.single-stage{grid-template-columns:minmax(0,1fr)}.tool-photo-sidebar{display:grid;align-content:start;gap:1.05rem;padding:1.9rem 1.05rem 1.4rem;border-radius:28px}.tool-photo-sidebar-copy{display:grid;gap:.58rem}.tool-photo-sidebar-copy h4,.tool-photo-sidebar-copy p{margin:0}.tool-photo-sidebar-copy p:last-child{color:var(--muted);line-height:1.6}.tool-photo-sidebar-meta{display:grid;gap:.72rem}.tool-photo-meta-card{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.68rem;align-items:center;min-height:4rem;padding:.92rem .94rem;border-radius:18px;border:1px solid rgba(141,215,255,.12);background:#ffffff08}.tool-photo-meta-card strong,.tool-photo-meta-card span{display:block;margin:0}.tool-photo-meta-card span:last-child{color:var(--muted);margin-top:.2rem;line-height:1.45}.tool-photo-meta-index{position:relative;width:2rem;height:2rem;padding:0;border-radius:999px;border:1px solid rgba(141,215,255,.16);color:var(--text);background:#ffffff08;font-size:.76rem;font-weight:700;line-height:1;text-align:center}.tool-photo-meta-index-value{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;line-height:1;transform:translateY(.28em)}.tool-photo-meta-card.complete .tool-photo-meta-index{background:#76e0c829;border-color:#76e0c857}.tool-photo-meta-card.current .tool-photo-meta-index{background:#8dd7ff29;border-color:#8dd7ff52}.tool-photo-actions-row{display:grid;gap:.7rem;margin-top:1.35rem;padding-top:.35rem}.tool-photo-actions-row .tool-primary-button,.tool-photo-actions-row .tool-secondary-button{display:inline-grid;grid-template-columns:1rem auto;align-items:center;justify-content:center;column-gap:.45rem;text-align:center}.tool-button-icon{display:grid;place-items:center;width:1rem;height:1rem;flex:0 0 1rem}.tool-button-icon .inline-icon{width:1rem;height:1rem}.tool-photo-media{padding:.78rem;background:#08121e7a;border:1px solid rgba(141,215,255,.1);overflow:hidden}.tool-photo-card img{display:block;width:100%;height:100%;max-width:100%;max-height:none;object-fit:contain;border-radius:12px}.tool-photo-badge{position:absolute;top:.45rem;left:.45rem;display:inline-flex;align-items:center;min-height:1.55rem;padding:.16rem .46rem;border-radius:999px;border:1px solid rgba(141,215,255,.2);background:#060f17c7;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#dff6ff;font-size:.7rem;font-weight:700;letter-spacing:.02em}.tool-photo-remove{position:absolute;top:.45rem;right:.45rem;display:inline-flex;align-items:center;justify-content:center;width:1.9rem;height:1.9rem;border-radius:999px;border:1px solid rgba(141,215,255,.18);background:#060f17c7;color:var(--text)}.tool-photo-remove:hover,.tool-photo-remove:focus-visible{border-color:#caefff57;background:linear-gradient(180deg,#ffffff1f,#8dd7ff14),#8dd7ff1f;color:#f3fbff;box-shadow:0 0 0 1px #caefff1f,0 0 18px #8dd7ff2e}.client-history-board,.tool-result-board{flex:1;min-height:0;padding:.78rem;overflow:auto}.workspace-history-list{gap:.8rem}.client-history-side{display:grid;justify-items:end;gap:.55rem}.workspace-history-preview{padding:0;border:0;background:transparent}.history-preview-thumb{width:100%;max-width:220px;aspect-ratio:16 / 10;object-fit:cover;border-radius:16px;border:1px solid var(--line)}.history-preview-actions{display:flex;align-items:center;gap:.5rem}.tool-result-card-wide{position:relative;width:100%;max-width:none;min-height:100%;padding:0;overflow:hidden}.segmentation-stage{position:relative;min-height:340px;border-radius:24px;overflow:hidden;border:1px solid var(--line);background:#ffffff08;display:grid;justify-items:center;align-items:center}.segmentation-image{width:100%;height:100%;min-height:0;max-width:100%;max-height:100%;object-fit:contain;object-position:center;display:block}.segmentation-canvas-shell{position:relative;width:100%;height:100%;min-height:0;display:grid;place-items:center;padding:0}.segmentation-canvas-layer{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:auto;height:auto;max-width:calc(100% - 1.5rem);max-height:calc(100% - 1.5rem)}.segmentation-canvas-overlay{cursor:crosshair}.segmentation-hover-hint{position:absolute;left:1rem;right:1rem;bottom:1rem;z-index:2;padding:.68rem .82rem;border-radius:14px;border:1px solid rgba(141,215,255,.14);background:#06101abd;color:#e4f1f9eb;font-size:.82rem;line-height:1.35;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.tool-slim-rail{display:grid;grid-template-rows:1fr;gap:0;padding:1.9rem 1.05rem 1.4rem;min-height:0;overflow:hidden;border-radius:28px;border:1px solid var(--line);background:linear-gradient(180deg,#ffffff0e,#ffffff06),radial-gradient(circle at top right,rgba(141,215,255,.12),transparent 44%),radial-gradient(circle at bottom left,rgba(73,184,181,.08),transparent 40%);box-shadow:inset 0 1px #ffffff0a,0 18px 36px #03091024}.tool-slim-panel{display:grid;align-content:start;gap:.72rem;min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:.18rem}.tool-slim-copy{display:grid;gap:.58rem;margin-bottom:.1rem;min-width:0}.tool-slim-copy-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.tool-slim-copy-head .eyebrow{color:var(--accent);text-shadow:0 0 14px rgba(121,207,255,.14),0 0 26px rgba(141,215,255,.1)}.tool-rail-reset-icon{width:2rem;height:2rem;border-radius:999px;border:1px solid rgba(141,215,255,.14);background:linear-gradient(180deg,#ffffff0a,#ffffff05),#0b17238f;color:#e1f0f8eb;flex:0 0 auto}.tool-rail-reset-icon .inline-icon{transform:scaleX(-1)}.tool-rail-reset-icon:hover,.tool-rail-reset-icon:focus-visible{color:var(--text);border-color:#add9ff42;background:linear-gradient(180deg,#8dd7ff1f,#8dd7ff0a),#0e1c2ab8}.tool-slim-copy h4,.tool-slim-copy p{margin:0}.tool-slim-copy p:last-child{color:var(--muted);line-height:1.6}.tool-slim-copy .eyebrow{margin-bottom:.12rem;color:var(--accent)}.tool-slim-copy+.tool-primary-button{margin-top:.55rem}.tool-action-row-vertical{display:grid;grid-template-columns:1fr;gap:.56rem}.tool-rail-controls{display:flex;flex-wrap:wrap;gap:.52rem;margin-top:.08rem}.tool-selection-hint{margin:-.02rem 0 0;color:var(--muted);font-size:.8rem;line-height:1.5}.tool-rail-control{display:inline-flex;align-items:center;justify-content:center;min-height:2.15rem;padding:.44rem .84rem;border-radius:999px;border:1px solid rgba(141,215,255,.14);background:linear-gradient(180deg,#ffffff0a,#ffffff05),#0b17238f;color:#e1f0f8eb;transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}.tool-rail-control:hover,.tool-rail-control:focus-visible{color:var(--text);border-color:#add9ff42;background:linear-gradient(180deg,#8dd7ff1f,#8dd7ff0a),#0e1c2ab8;box-shadow:inset 0 1px #ffffff0d,0 12px 24px #79cfff14;transform:translateY(-1px)}.tool-rail-control-reset{border-color:#78ecd624;color:#d3f2ebe6}.tool-rail-control-reset:hover,.tool-rail-control-reset:focus-visible{border-color:#78ecd647;background:linear-gradient(180deg,#78ecd61f,#78ecd60a),#0a1a1fb8;box-shadow:inset 0 1px #ffffff0d,0 12px 24px #78ecd614}.tool-action-summary{display:grid;gap:.42rem;margin-top:.08rem;padding:.68rem .76rem;border-radius:16px;border:1px solid rgba(141,215,255,.12);background:linear-gradient(180deg,#ffffff08,#ffffff05),radial-gradient(circle at right top,rgba(141,215,255,.08),transparent 50%)}.tool-action-summary-label{color:var(--muted);font-size:.76rem;letter-spacing:.06em;text-transform:uppercase}.tool-action-summary-row{display:flex;flex-wrap:wrap;gap:.45rem}.tool-action-summary-chip{display:inline-flex;align-items:center;gap:.42rem;min-height:2rem;padding:.34rem .62rem;border-radius:999px;border:1px solid rgba(141,215,255,.16);background:#ffffff09;color:var(--text)}.tool-action-summary-chip strong{font-size:.78rem;line-height:1}.tool-action-summary-swatch{width:.82rem;height:.82rem;border-radius:50%;background:var(--swatch);border:1px solid rgba(255,255,255,.26);box-shadow:0 0 0 3px #8dd7ff14}.tool-palette-compact{gap:.58rem}.tool-selection-summary-rail{padding-top:.55rem}.segmentation-overlay{position:absolute;top:0;right:0;bottom:0;left:0}.segment-node{position:absolute;border:1px solid rgba(141,215,255,.5);border-radius:16px;background:#8dd7ff1f;color:#dff6ff;box-shadow:inset 0 0 0 1px #8dd7ff14}.segment-node span{position:absolute;top:-1.7rem;left:0;padding:.2rem .5rem;border-radius:999px;background:#060f17db;border:1px solid rgba(141,215,255,.2);white-space:nowrap;font-size:.76rem}.segment-node.active{background:#8dd7ff3d;border-color:#caefffd1;box-shadow:inset 0 0 0 1px #ffffff0a,0 0 0 2px #8dd7ff14}.segmentation-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;align-content:center;gap:.45rem;padding:1.5rem;text-align:center;background:linear-gradient(180deg,#07111c47,#07111c9e)}.tool-result-panel,.tool-result-card,.tool-panel-section,.selected-segments-list,.selected-segment-chip,.tool-palette,.tool-notes{display:grid}.tool-result-panel{align-content:stretch}.tool-result-card,.tool-panel-section{gap:.42rem;padding:.48rem .56rem;border-radius:18px;border:1px solid var(--line);background:linear-gradient(180deg,#ffffff0a,#ffffff05),radial-gradient(circle at top right,rgba(141,215,255,.1),transparent 42%)}.tool-panel-section-compact{min-height:0}.tool-context-panel{min-height:0;border-radius:18px}.tool-context-panel.is-photo-panel{padding:.24rem .34rem}.tool-context-panel.is-photo-panel .tool-context-layout{display:flex;align-items:center;justify-content:space-between;gap:.44rem}.tool-context-panel.is-photo-panel .tool-muted{font-size:.78rem;line-height:1.2}.tool-context-panel.is-photo-panel .tool-inline-actions{flex-wrap:nowrap}.tool-context-panel.is-segmentation-panel{padding:.66rem .76rem}.tool-context-stack{display:grid;gap:.52rem}.tool-context-layout{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.52rem;align-items:center}.tool-context-layout-segmentation{grid-template-columns:minmax(0,1.12fr) minmax(210px,.88fr);align-items:start;gap:.78rem}.tool-selection-summary{display:grid;gap:.34rem;align-content:start;min-width:0}.tool-inline-actions,.tool-inline-meta{display:flex;align-items:center;gap:.36rem;flex-wrap:wrap}.tool-inline-meta{align-items:start}.tool-secondary-button,.tool-primary-button,.tool-action-button{min-height:2.3rem}.tool-bottom-bar.is-photo-step .tool-bottom-shell{grid-template-columns:minmax(0,1fr) 122px;gap:.36rem;align-items:center}.tool-bottom-bar.is-photo-step .tool-panel-section{padding:.28rem .38rem}.tool-bottom-bar.is-photo-step .tool-context-layout{grid-template-columns:minmax(0,1fr) auto;gap:.34rem}.tool-bottom-bar.is-photo-step .tool-inline-actions{gap:.28rem}.tool-bottom-bar.is-photo-step .tool-primary-button,.tool-bottom-bar.is-photo-step .tool-secondary-button{min-height:1.88rem;padding-top:.3rem;padding-bottom:.3rem;width:auto}.tool-bottom-bar.is-photo-step .tool-process-rail{padding:.16rem .08rem .16rem .56rem}.tool-bottom-bar.is-photo-step .tool-process-track{gap:.96rem}.tool-bottom-bar.is-photo-step .tool-process-step{min-height:1.18rem}.tool-bottom-bar.is-photo-step .tool-process-step strong{font-size:.76rem}.tool-bottom-bar.is-segmentation-step .tool-panel-section{padding:.62rem .72rem}.tool-bottom-bar.is-segmentation-step .tool-action-row,.tool-bottom-bar.is-segmentation-step .tool-inline-actions{gap:.5rem}.tool-bottom-bar.is-segmentation-step .tool-bottom-shell{grid-template-columns:minmax(0,1fr) 176px}.tool-bottom-bar.is-segmentation-step .tool-inline-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.tool-bottom-bar.is-segmentation-step .tool-action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.selected-segments-inline{display:flex;flex-wrap:wrap;gap:.32rem}.selected-segment-chip{padding:.28rem .44rem;border-radius:11px}.selected-segment-chip strong{font-size:.7rem;line-height:1.2}.selected-segment-chip-muted{place-items:center;min-width:2.4rem}.tool-result-card img{width:100%;height:100%;min-height:clamp(28rem,62vh,76vh);aspect-ratio:auto;object-fit:cover;border-radius:18px;border:1px solid var(--line);display:block}.tool-result-overlay{position:absolute;left:1rem;right:1rem;bottom:1rem;display:grid;gap:.28rem;padding:.85rem .95rem;border-radius:18px;border:1px solid rgba(141,215,255,.14);background:#06101aad;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.tool-result-overlay-head,.tool-result-copy{display:grid}.tool-result-overlay-head{grid-template-columns:minmax(0,1fr) auto;gap:.9rem;align-items:start}.tool-result-copy{gap:.28rem}.tool-result-overlay h4,.tool-result-overlay p{margin:0}.tool-result-overlay p:last-child{color:#ddeaf5d1;line-height:1.5}.tool-result-actions{display:flex;flex-wrap:wrap;gap:.55rem;align-items:flex-start}.tool-result-icon-button{width:2.65rem;min-width:2.65rem;height:2.65rem;padding:0;display:inline-grid;place-items:center;border-radius:999px}.tool-result-icon-button .inline-icon{width:1rem;height:1rem}.tool-upload-strip{gap:.6rem;flex-wrap:wrap}.tool-upload-card,.tool-upload-add{display:flex;align-items:center;gap:.6rem;min-width:0;padding:.5rem;border-radius:16px;border:1px solid var(--line);background:#ffffff08}.tool-upload-card img{width:72px;height:54px;object-fit:cover;border-radius:12px}.tool-upload-copy{display:grid;min-width:0}.tool-upload-remove{width:2rem;height:2rem;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--text)}.tool-upload-add{justify-content:center;min-width:180px;color:var(--text)}.tool-section-head{display:flex;justify-content:space-between;gap:.8rem;align-items:start}.selected-segments-list{gap:.55rem}.selected-segment-chip{gap:.22rem;padding:.62rem .68rem;border-radius:16px;border:1px solid var(--line);background:#ffffff08}.tool-action-row{gap:.55rem;flex-wrap:wrap}.tool-action-button,.tool-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem}.tool-action-button{flex:1;min-width:0;padding:.68rem .74rem;border-radius:16px;border:1px solid var(--line);background:#ffffff08;color:var(--text)}.tool-action-button.active{border-color:var(--line-strong);background:#8dd7ff1a}.tool-palette{gap:.5rem}.tool-palette-expanded{gap:.7rem;padding-top:.2rem}.tool-palette span,.tool-notes span{color:var(--muted);font-size:.84rem}.tool-palette-row{gap:.55rem;flex-wrap:wrap}.tool-color-swatch{position:relative;width:2rem;height:2rem;border-radius:999px;border:2px solid rgba(255,255,255,.14);background:var(--swatch);box-shadow:inset 0 0 0 1px #ffffff14;cursor:pointer}.tool-color-swatch span{display:none}.tool-color-swatch.active{transform:scale(1.08);border-color:#ecf5ff;box-shadow:0 0 0 4px #8dd7ff29}.tool-color-field{display:grid;gap:.42rem}.tool-color-field-control{display:flex;align-items:center;gap:.6rem;min-height:2.8rem;padding:.46rem .56rem;border-radius:16px;border:1px solid var(--line);background:#ffffff08}.tool-color-input{width:2.3rem;height:2.3rem;padding:0;border:0;border-radius:999px;background:transparent}.tool-color-field-control code{color:var(--text);font-size:.8rem}.tool-finish-panel{display:grid;gap:.46rem}.tool-finish-row{display:flex;flex-wrap:wrap;gap:.42rem}.tool-finish-chip{display:inline-flex;align-items:center;justify-content:center;min-height:2rem;padding:.34rem .68rem;border-radius:999px;border:1px solid var(--line);background:#ffffff08;color:var(--muted)}.tool-finish-chip.active{color:var(--text);border-color:#8dd7ff47;background:#8dd7ff1a}.paint-assist-modal,.palette-modal{display:grid;gap:.95rem}.palette-modal-panel{padding:.2rem 0 0}.palette-modal-actions{display:flex;justify-content:flex-end;padding-top:.25rem}.palette-modal-actions .primary-button{min-width:7.4rem}.paint-assist-actions{display:grid;grid-template-columns:1fr 1fr;gap:.72rem}.tool-notes{gap:.45rem}.tool-notes textarea{width:100%;min-height:110px;resize:vertical;border:1px solid var(--line);border-radius:18px;background:#ffffff08;color:var(--text);padding:.9rem .95rem;outline:none}.tool-notes textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px #8dd7ff14}.tool-submit-section{margin-top:auto}.tool-submit-section-rail{padding-top:.7rem}.tool-submit-button{width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding-left:.78rem;padding-right:.78rem;overflow:hidden}.tool-submit-button span:last-child{min-width:0;text-align:center;white-space:normal;overflow-wrap:anywhere}.prompt-chip{padding:.52rem .74rem;color:var(--text);font-size:.82rem;transition:transform .18s ease,border-color .18s ease}.chat-messages{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;display:flex;flex-direction:column;gap:.6rem;padding-right:.2rem}.chat-empty-state{align-self:center;width:min(460px,100%);border:1px dashed var(--line-strong);border-radius:var(--radius-md);padding:1rem;background:#ffffff05;text-align:center;margin:auto 0}.chat-empty-state h3{margin:0 0 .3rem;font-size:1rem}.chat-empty-state p{margin:0;color:var(--muted);font-size:.86rem}.chat-message{display:flex;align-items:flex-end;gap:.7rem}.chat-message.user{justify-content:flex-end}.chat-avatar{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:#ffffff0b;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;flex-shrink:0}.chat-card{max-width:min(760px,78%);padding:.78rem .92rem;border-radius:18px;border:1px solid var(--line);background:#ffffff0a;box-shadow:0 12px 30px #0000001f;min-width:0}.chat-card p{margin:0;font-size:.9rem;line-height:1.55;word-break:break-word;overflow-wrap:anywhere;max-height:240px;overflow:auto}.chat-message.user .chat-card{background:#8dd7ff21;border-color:var(--line-strong)}.chat-message.typing .chat-card p{color:var(--muted);font-style:italic}.workspace-tabs{display:inline-flex;align-self:flex-start;gap:.38rem;padding:.28rem;border:1px solid var(--line);border-radius:999px;background:#ffffff08;flex-shrink:0}.workspace-tab{border:0;background:transparent;color:var(--muted);border-radius:999px;padding:.48rem .82rem;cursor:pointer;transition:background .16s ease,color .16s ease}.workspace-tab.active,.workspace-tab:hover{background:#8dd7ff26;color:var(--text)}.workspace-pane{flex:1;min-height:0;overflow:hidden}.chat-layout,.workspace-panel{height:100%;min-height:0}.chat-layout{display:flex;flex-direction:column;gap:.6rem}.mini-onboarding{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;flex-shrink:0}.mini-onboarding-card{padding:.75rem .82rem;border-radius:16px}.mini-onboarding-card h3{margin:0 0 .16rem;font-size:.84rem}.mini-onboarding-card p{margin:0;color:var(--muted);font-size:.78rem;line-height:1.45}.chat-shell{flex:1;min-height:0;display:flex;flex-direction:column;gap:.8rem;padding:.95rem;border-radius:26px;background:radial-gradient(circle at top right,rgba(141,215,255,.11),transparent 40%),linear-gradient(180deg,#ffffff0b,#ffffff05)}.chat-shell-head,.panel-head,.chat-suggestions{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.chat-status,.panel-meta,.chat-meta{color:var(--muted);font-size:.8rem}.chat-client-pill{display:inline-flex;align-items:center;gap:.45rem;padding:.38rem .56rem;border-radius:999px;border:1px solid var(--line);background:#ffffff08;min-width:0}.chat-client-pill span{font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-suggestions{justify-content:flex-start;flex-wrap:wrap;flex-shrink:0}.workspace-panel{display:flex;flex-direction:column;gap:.9rem;padding:1rem;overflow:auto;border-radius:24px}.compare-view{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.8rem;align-items:center}.compare-side{height:100%;min-height:360px;border:1px solid var(--line);border-radius:20px;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--muted);font-size:.95rem;background:#ffffff09}.compare-side.after{background:linear-gradient(135deg,#8dd7ff17,#79cfff38)}.compare-slider-wrap{display:flex;align-items:center;justify-content:center}.compare-range{width:140px}.history-list{display:grid;gap:.55rem}.history-row{border:1px solid var(--line);border-radius:16px;padding:.75rem .85rem;display:grid;grid-template-columns:1fr auto;gap:.8rem;align-items:center;background:#ffffff06}.history-row p{margin:0;color:var(--muted);font-size:.88rem;line-height:1.45}.panel-empty-state{margin:auto 0;border:1px dashed var(--line-strong);border-radius:18px;padding:1rem;text-align:center}.panel-empty-state h3{margin:0 0 .25rem}.panel-empty-state p{margin:0;color:var(--muted)}.prompt-dock{display:grid;grid-template-columns:auto 1fr auto;gap:.55rem;padding:.55rem;align-items:center;flex-shrink:0;border-radius:22px}.upload-button{padding:.52rem .78rem;border-radius:999px;background:#8dd7ff1c}.prompt-input textarea{min-height:48px;max-height:132px;resize:none;padding:.78rem .92rem;overflow:auto}.prompt-file-label{color:var(--muted);font-size:.76rem;padding-inline:.2rem}.composer-icon-button{width:42px;min-width:42px;height:42px;padding:0;display:inline-flex;align-items:center;justify-content:center;align-self:center}.send-button{align-self:center;min-width:42px}.inline-icon{display:block;flex:0 0 auto;width:16px;height:16px;overflow:visible}.tool-photo-remove,.tool-photo-actions-row .tool-primary-button,.tool-photo-actions-row .tool-secondary-button{line-height:0}.tool-photo-actions-row .tool-primary-button span,.tool-photo-actions-row .tool-secondary-button span{line-height:1.1}.icon-action-button{width:28px;min-width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;border:1px solid transparent;background:#ffffff09;transition:border-color .16s ease,background .16s ease,color .16s ease}.icon-action-button:hover{border-color:var(--line);background:#8dd7ff14}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9;background:#030a10b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:grid;place-items:center;padding:1rem}.modal-card{position:relative;width:min(560px,100%);border-radius:var(--radius-lg);padding:1.4rem}.modal-card-wide{width:min(1480px,99vw);max-height:94vh;overflow:auto}.modal-card-client{width:min(760px,94vw);max-height:94vh;overflow:auto}.modal-card-settings{width:min(1260px,96vw);max-height:94vh;overflow:auto}.modal-head h3{margin:.2rem 0 0}.modal-close-button{position:absolute;top:.95rem;right:.95rem;display:inline-grid;place-items:center;width:2.2rem;height:2.2rem;border:1px solid rgba(141,215,255,.12);border-radius:999px;background:#ffffff0a;color:#e2efffdb;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease}.modal-close-button:hover{border-color:#8dd7ff3d;background:#8dd7ff1a;color:#f5fbff;transform:translateY(-1px)}.modal-card-close-outside{overflow:visible}.modal-close-button.outside{top:0;right:0;transform:translate(42%,-42%);background:linear-gradient(180deg,#ffffff1f,#ffffff0a),#08121feb;box-shadow:0 14px 28px #030a103d,0 0 18px #8dd7ff1f}.modal-close-button.outside:hover{transform:translate(42%,-46%)}.client-modal-intro{margin-top:.55rem;max-width:44ch;line-height:1.55}.modal-form{display:grid;gap:.9rem;margin-top:.8rem}.modal-form label{display:grid;gap:.45rem}.verification-modal{width:min(560px,100%);padding:1.2rem;display:grid;gap:.95rem;background:linear-gradient(180deg,#141f2df5,#0c141efa),radial-gradient(circle at top right,rgba(121,207,255,.1),transparent 38%),radial-gradient(circle at bottom left,rgba(120,236,214,.08),transparent 42%);border:1px solid rgba(141,215,255,.12);box-shadow:inset 0 1px #ffffff0d,0 22px 48px #030a1047}.verification-head{display:grid;gap:.35rem}.verification-head h2,.verification-head p{margin:0}.verification-head p{color:var(--muted);line-height:1.55}.verification-head strong{color:var(--text)}.verification-status-row,.verification-footer,.verification-actions{display:flex;align-items:center}.verification-status-row,.verification-footer{justify-content:space-between;gap:.75rem}.verification-status-chip{display:inline-flex;align-items:center;gap:.4rem;min-height:1.7rem;padding:.24rem .62rem;border-radius:999px;border:1px solid rgba(141,215,255,.16);background:#79cfff14;color:#e2f5ffeb;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase}.verification-timer,.verification-footer span{color:var(--muted);font-size:.84rem}.verification-form{gap:.82rem}.verification-actions{justify-content:flex-end;gap:.7rem}.workspace-onboarding-modal{display:grid;gap:1rem}.workspace-onboarding-head{gap:.45rem}.workspace-onboarding-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.72rem}.workspace-onboarding-card{display:grid;gap:.42rem;padding:.95rem 1rem;border-radius:22px;border:1px solid rgba(141,215,255,.14);background:linear-gradient(180deg,#ffffff09,#ffffff05),radial-gradient(circle at top right,rgba(141,215,255,.08),transparent 46%)}.workspace-onboarding-card strong,.workspace-onboarding-card p{margin:0}.workspace-onboarding-card p{color:var(--muted);line-height:1.55}.workspace-onboarding-step{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:999px;border:1px solid rgba(141,215,255,.18);background:#8dd7ff14;color:#eaf6ff;font-size:.76rem;font-weight:700;line-height:1}.workspace-onboarding-check{display:inline-flex;align-items:center;gap:.58rem;color:var(--muted);font-size:.9rem}.workspace-onboarding-check input{width:1rem;height:1rem;accent-color:#7dcfff}.workspace-onboarding-actions{display:flex;justify-content:flex-end}.workspace-onboarding-close{width:auto;min-width:0;padding-inline:1.1rem}.auth-forgot-link{justify-self:start;font-size:.84rem}.forgot-layout{min-height:100dvh;display:grid;place-items:center;padding:1.2rem;position:relative;overflow:hidden}.forgot-layout:before,.forgot-layout:after{content:"";position:absolute;inset:auto;width:78vw;height:78vw;max-width:980px;max-height:980px;border-radius:42%;pointer-events:none;filter:blur(26px);opacity:.3;z-index:0}.forgot-layout:before{top:-28%;left:-18%;background:radial-gradient(circle at 50% 50%,rgba(121,207,255,.14) 0%,rgba(121,207,255,.04) 34%,transparent 64%),radial-gradient(circle at 58% 42%,rgba(35,128,180,.18) 0%,transparent 56%);animation:forgotWaveA 16s ease-in-out infinite}.forgot-layout:after{right:-22%;bottom:-34%;background:radial-gradient(circle at 50% 50%,rgba(83,174,255,.12) 0%,rgba(83,174,255,.035) 32%,transparent 62%),radial-gradient(circle at 42% 60%,rgba(17,89,144,.2) 0%,transparent 58%);animation:forgotWaveB 18s ease-in-out infinite}.forgot-panel{width:min(560px,100%);padding:1.45rem 1.5rem;display:grid;gap:1rem;border-radius:34px;position:relative;z-index:1}.forgot-panel.glass-card{background:linear-gradient(180deg,#ffffff06,#ffffff03),radial-gradient(circle at top right,rgba(141,215,255,.08),transparent 32%);border:1px solid rgba(173,217,255,.14);box-shadow:0 24px 70px #0000003d,inset 0 1px #ffffff0a;-webkit-backdrop-filter:blur(26px);backdrop-filter:blur(26px)}.forgot-head,.reset-timer-row,.manager-actions,.client-history-actions,.client-history-toolbar,.history-pagination,.upload-preview-card,.chat-result-actions,.chat-photo-strip,.upload-preview-list{display:flex}.forgot-head{flex-direction:column;gap:.5rem}.forgot-head h1,.forgot-head p{margin:0}.forgot-head p{max-width:42ch;line-height:1.58}.forgot-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.forgot-steps span{border:1px solid rgba(173,217,255,.14);border-radius:999px;padding:.58rem .72rem;text-align:center;color:var(--muted);background:linear-gradient(180deg,#ffffff09,#ffffff03),#ffffff05;font-size:.82rem}.forgot-steps span.active{color:var(--text);border-color:var(--line-strong);background:#8dd7ff1a}@keyframes forgotWaveA{0%,to{transform:translateZ(0) rotate(0) scale(1)}50%{transform:translate3d(6%,4%,0) rotate(10deg) scale(1.06)}}@keyframes forgotWaveB{0%,to{transform:translateZ(0) rotate(0) scale(1)}50%{transform:translate3d(-5%,-4%,0) rotate(-9deg) scale(1.08)}}.reset-timer-row{align-items:center;justify-content:space-between;gap:.7rem;color:var(--muted);font-size:.84rem}.sidebar-brand-mark{margin:.18rem 0 0;font-family:Space Grotesk,sans-serif;font-size:1.26rem;font-weight:500;letter-spacing:-.03em;background:linear-gradient(128deg,#fff,#f7fdff 14%,#eefbff 32%,#dff6ff 52%,#cfefff 74%,#f7fdff);background-size:180% 180%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 0 1px rgba(255,255,255,.8),0 0 12px rgba(210,242,255,.34),0 0 26px rgba(141,215,255,.24),0 0 48px rgba(121,207,255,.16);animation:brandFlow 9s ease-in-out infinite}.manager-copy{display:grid;gap:.12rem}.manager-subline{color:var(--muted);font-size:.74rem}.manager-actions{align-items:center;gap:.28rem}.danger-icon-button{color:#ffc3c3}.status-chip.processing{background:#99f3c01f;border-color:#99f3c042;color:#d8ffe8}.workspace-onboarding{display:grid;gap:.75rem}.mini-onboarding{grid-template-columns:repeat(3,minmax(0,1fr))}.onboarding-suggestions{justify-content:flex-start;padding-inline:.15rem}.chat-status.processing{color:#cbffe2}.chat-card.status,.chat-card.result,.chat-card.error{width:min(100%,58rem)}.chat-status-card,.chat-result,.chat-error-card,.client-history-panel,.history-preview-card,.history-preview-copy,.client-history-list,.client-history-row,.client-history-main,.client-history-expand,.upload-preview-copy{display:grid}.chat-status-card,.chat-result,.chat-error-card,.client-history-panel,.history-preview-card,.client-history-expand,.upload-preview-copy{gap:.7rem}.inline-spinner{width:1rem;height:1rem;border-radius:50%;border:2px solid rgba(141,215,255,.28);border-top-color:var(--accent);animation:spin .9s linear infinite}.progress-bar-track{width:min(360px,100%);height:.45rem;border-radius:999px;background:#ffffff14;overflow:hidden}.progress-bar-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6fcfff,#caefff)}.chat-photo-strip,.chat-result-actions,.client-history-toolbar,.upload-preview-list{flex-wrap:wrap;gap:.55rem}.chat-photo-strip img{width:92px;height:72px;object-fit:cover;border-radius:var(--radius-sm);border:1px solid var(--line)}.chat-result-actions .settings-row,.client-history-toolbar .settings-row{display:inline-flex;align-items:center;gap:.45rem;width:auto;text-decoration:none}.chat-error-card{border-left:2px solid rgba(255,146,146,.5);padding-left:.7rem}.upload-preview-list{margin-top:.55rem}.upload-preview-card{align-items:center;gap:.55rem;min-width:min(260px,100%);padding:.45rem;border-radius:var(--radius-sm);border:1px solid var(--line);background:#ffffff08}.upload-preview-card img{width:58px;height:46px;object-fit:cover;border-radius:10px}.upload-preview-copy strong,.upload-preview-copy span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-preview-copy span,.prompt-file-label{color:var(--muted);font-size:.78rem}.upload-remove-button{width:32px;min-width:32px;height:32px;border-radius:50%;border:1px solid var(--line)}.client-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:.85rem;max-width:100%;margin-inline:auto;padding:.1rem 0 0;align-content:start;row-gap:.85rem}.client-form-shell{padding:.95rem 1rem;border-radius:18px;border:1px solid rgba(123,191,225,.14);background:linear-gradient(180deg,#4fb4d814,#ffffff05),#ffffff06}.client-form-field{padding:.12rem}.client-form-field input{min-height:3.2rem}.client-form-footnote{grid-column:1 / -1;margin-top:-.15rem;color:#9fb8c8d6;font-size:.83rem;line-height:1.5}.client-form-error{grid-column:1 / -1}.client-modal-actions{grid-template-columns:minmax(0,1fr);width:100%}.client-modal-actions>.settings-row,.client-modal-actions>.primary-button{width:100%;min-width:0;justify-content:center;align-items:center;min-height:3.15rem;display:inline-flex}.client-modal-actions>.settings-row{border:1px solid rgba(173,217,255,.18);border-radius:999px;background:#ffffff0a;color:var(--text);box-shadow:inset 0 1px #ffffff08}.client-modal-actions>.settings-row:hover,.client-modal-actions>.settings-row:focus-visible{background:#8dd7ff14;border-color:#add9ff47}.manager-modal-tabs{display:flex;gap:.55rem;margin:.95rem 0 .8rem;padding:.3rem;border:1px solid rgba(123,191,225,.12);border-radius:18px;background:linear-gradient(180deg,#ffffff0a,#ffffff05),#ffffff05}.client-history-list{gap:.7rem}.client-history-row{gap:.65rem;padding:.82rem .9rem;border-radius:var(--radius-md);border:1px solid var(--line);background:#ffffff08}.client-history-main{gap:.22rem}.client-history-main p,.client-history-main strong,.history-preview-copy p,.history-preview-copy strong{margin:0}.client-history-main p,.history-preview-copy p{color:var(--muted);font-size:.84rem}.client-history-actions,.history-pagination{justify-content:space-between}.history-preview-media{border-radius:var(--radius-md);overflow:hidden}.history-preview-empty{display:grid;place-items:center;min-height:180px;color:var(--muted);border:1px dashed var(--line)}.history-status-badge{justify-self:start;padding:.18rem .48rem;border-radius:999px;text-transform:uppercase;font-size:.7rem;letter-spacing:.08em}.history-status-badge.success{background:#99f3c01f;color:#b6ffd0}.history-status-badge.failed{background:#ff92921f;color:#ffd3d3}.compact-empty{min-height:180px}.client-delete-panel{max-width:34rem}.client-delete-copy{display:grid;gap:.38rem;padding:1rem 1.05rem;border-radius:20px;border:1px solid rgba(255,146,146,.14);background:linear-gradient(180deg,#ff929214,#ffffff05),#ffffff05}.danger-submit{background:linear-gradient(135deg,#ffd0d0,#ffabab,#ffdada)}@keyframes spin{to{transform:rotate(360deg)}}.modal-form label span{color:var(--muted);font-size:.92rem}.modal-form input{width:100%;border:1px solid var(--line);border-radius:var(--radius-sm);background:#ffffff09;color:var(--text);padding:.95rem 1rem;outline:none;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.modal-form input:focus{border-color:var(--accent);background:#ffffff0f;box-shadow:0 0 0 4px #8dd7ff14}.modal-note{margin:0;color:var(--muted)}.modal-actions{display:grid;grid-template-columns:1fr auto;gap:.8rem;align-items:center}.settings-modal{display:grid;grid-template-columns:minmax(248px,300px) minmax(0,1fr);gap:.95rem;align-items:start}.settings-tabs{display:grid;gap:.55rem}.settings-tabs-head{padding:.92rem .95rem .96rem;border-radius:22px;border:1px solid var(--line);background:linear-gradient(180deg,#ffffff09,#ffffff04),radial-gradient(circle at top right,rgba(141,215,255,.12),transparent 42%)}.settings-tabs-head .eyebrow{margin-bottom:.55rem}.settings-tabs-head h3,.settings-tabs-head p{margin:0}.settings-tabs-head h3{font-size:1.08rem;letter-spacing:-.03em}.settings-tabs-head p{margin-top:.45rem;color:var(--muted);line-height:1.5;font-size:.86rem}.settings-tab{display:grid;gap:.2rem;border:1px solid rgba(159,196,225,.12);background:#ffffff06;border-radius:18px;color:var(--muted);cursor:pointer;text-align:left;padding:.8rem .9rem;transition:border-color .18s ease,background .18s ease,color .18s ease}.settings-tab span,.settings-tab small{display:block}.settings-tab span{font-weight:700;color:var(--text)}.settings-tab small{color:var(--muted);font-size:.78rem}.settings-tab.active,.settings-tab:hover{border-color:var(--line-strong);background:linear-gradient(180deg,#fff3,#d2f2ff1a),#c8ecff0d;box-shadow:inset 0 1px #ffffff24,0 10px 24px #79cfff1a,0 0 22px #d2f2ff1f;color:var(--text)}.settings-content{min-height:400px}.settings-panel{display:grid;gap:.82rem}.settings-panel h3{margin:.1rem 0 .55rem}.settings-hero-card,.settings-info-card{padding:.92rem .96rem;border-radius:22px;border:1px solid var(--line);background:linear-gradient(180deg,#ffffff0b,#ffffff05),radial-gradient(circle at top right,rgba(141,215,255,.1),transparent 44%)}.settings-hero-card p,.settings-info-card p,.settings-info-card strong{margin:0}.settings-hero-card p:not(.eyebrow),.settings-info-card p{color:var(--muted);line-height:1.55}.settings-info-card{display:grid;gap:.35rem}.settings-inline-grid,.settings-stat-grid{display:grid;gap:.8rem}.settings-inline-grid,.settings-stat-grid,.settings-stat-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-stat-card{display:grid;gap:.28rem;padding:.95rem 1rem;border-radius:18px;border:1px solid var(--line);background:#ffffff07}.settings-stat-card span{color:var(--muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}.settings-stat-card strong{font-size:1rem;letter-spacing:-.025em}.plan-card{margin:.8rem 0;padding:1rem;border-radius:20px;border:1px solid var(--line);background:linear-gradient(180deg,#ffffff0a,#ffffff05),radial-gradient(circle at top right,rgba(141,215,255,.08),transparent 48%)}.plan-card p{margin:0 0 .25rem;color:var(--muted)}.plan-card strong{font-size:1.24rem;letter-spacing:-.03em}.plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;margin:.8rem 0}.plan-card{margin:0;display:grid;gap:.35rem;align-content:start}.plan-card-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.plan-card h4{margin:0}.plan-card span{color:var(--muted);font-size:.88rem}.plan-card.active{border-color:var(--line-strong);background:linear-gradient(180deg,#8dd7ff24,#8dd7ff0f),radial-gradient(circle at top right,rgba(141,215,255,.16),transparent 48%);box-shadow:inset 0 0 0 1px #8dd7ff0f}.plan-badge{color:#082035!important;background:#c9f0ff;border-radius:999px;padding:.2rem .5rem;font-size:.72rem!important;font-weight:700}.danger-row{margin-top:1rem;border-color:#ff929240;color:#ffd5d5}.security-form{margin-top:.15rem;display:grid;gap:.7rem;padding:1rem 1.05rem;border-radius:22px;border:1px solid var(--line);background:#ffffff08}.security-flow-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.95rem 1rem;border-radius:18px;border:1px solid rgba(173,217,255,.18);background:linear-gradient(180deg,#8dd7ff1f,#8dd7ff0a),#ffffff08}.security-flow-card strong,.security-flow-card p{margin:0}.security-flow-card p{color:var(--muted);line-height:1.5}.security-flow-step{display:inline-flex;margin-bottom:.35rem;color:var(--accent);font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}.security-code-button{flex-shrink:0}.security-code-meta,.form-note{margin:0}.security-code-meta{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.72rem .85rem;border-radius:14px;border:1px solid var(--line);background:#ffffff08}.security-code-meta span,.form-note{color:var(--muted)}.security-code-meta strong{font-size:.94rem}.form-note{font-size:.86rem}.security-form label{display:grid;gap:.4rem}.security-form span{color:var(--muted);font-size:.92rem}.security-form input{width:100%;border:1px solid var(--line);border-radius:var(--radius-sm);background:#ffffff09;color:var(--text);padding:.8rem .9rem;outline:none}.security-form input:focus{border-color:var(--accent);box-shadow:0 0 0 4px #8dd7ff14}.security-submit{justify-self:start;margin-top:.2rem}@keyframes noticeIn{0%{opacity:0;transform:translate3d(0,-10px,0) scale(.98)}to{opacity:1;transform:translateZ(0) scale(1)}}.sidebar-backdrop{display:none}.sidebar-collapsed{grid-template-columns:1fr}.sidebar-collapsed .sidebar{display:none}.tablet-sidebar{grid-template-columns:92px 1fr}.compact-sidebar{padding:.7rem .55rem}.compact-sidebar .sidebar-top{justify-content:center}.compact-sidebar .sidebar-top .eyebrow,.compact-sidebar .sidebar-top h2,.compact-sidebar .section-heading h3,.compact-sidebar .manager-copy,.compact-sidebar .sidebar-hint,.compact-sidebar .account-meta{display:none}.compact-sidebar .clients-section{grid-template-rows:auto 1fr auto}.compact-sidebar .manager-list{gap:.55rem}.compact-sidebar .manager-card{padding:.55rem;justify-content:center}.compact-sidebar .manager-actions{display:none}.compact-sidebar .compact-links{width:100%;justify-self:stretch}.compact-sidebar .account-login-row{width:100%;justify-content:center;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes drift{0%,to{transform:translateZ(0) scale(1)}50%{transform:translate3d(24px,-14px,0) scale(1.06)}}@keyframes hudDrift{0%{transform:translateZ(0)}to{transform:translate3d(26px,0,0)}}@keyframes hudPulse{0%,to{opacity:.24;transform:scale(1)}50%{opacity:.52;transform:scale(1.04)}}@keyframes carAuraFloat{0%,to{transform:translateZ(0) scale(1);opacity:.42}50%{transform:translate3d(12px,-10px,0) scale(1.08);opacity:.62}}@media (prefers-reduced-motion: reduce){.auth-car-glow,.auth-car-hud-grid,.auth-car-hud-ring,.auth-car-aura{animation:none!important}.auth-car-surface-layer,.auth-car-surface-outline{transition:none!important}.auth-car-surface-layer.is-active .auth-car-surface-outline{animation:none!important}}@keyframes pagePulse{0%,to{opacity:.1;transform:translateZ(0) scale(.92)}50%{opacity:.24;transform:translate3d(12px,-10px,0) scale(1.08)}}@keyframes authPulse{0%,to{transform:scale(1);opacity:.45}50%{transform:scale(1.04);opacity:.82}}@keyframes dotPulse{0%,to{transform:scale(.72);opacity:.16}45%{transform:scale(2.7);opacity:.62}70%{transform:scale(1.2);opacity:.28}}@keyframes brandFlow{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}@keyframes floatUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 1080px){.auth-layout,.auth-brand-column,.feature-grid,.dashboard-layout,.prompt-dock{grid-template-columns:1fr}.auth-layout{height:auto;min-height:100dvh;padding:.85rem}.brand-panel{gap:1.25rem}.brand-showcase-panel{padding:.95rem;min-height:17.9rem}.auth-feature-grid,.brand-metrics{grid-template-columns:1fr 1fr}.brand-panel-top{top:1.12rem;right:1rem}.brand-panel h1,.chat-shell-head h3{max-width:none}.dashboard-layout{padding:.75rem}.billing-stage,.billing-plan-grid,.billing-header-row{grid-template-columns:1fr}.billing-shell{min-height:calc(100dvh - 2rem);height:auto;grid-template-rows:auto}.billing-summary{max-height:none}.dashboard-layout:not(.tablet-sidebar) .sidebar{position:fixed;inset:0 auto 0 0;width:min(94vw,380px);z-index:6;min-height:100vh;height:100vh;border-radius:0 28px 28px 0;transform:translate(0);transition:transform .22s ease}.dashboard-layout.sidebar-collapsed:not(.tablet-sidebar) .sidebar{display:grid;transform:translate(-108%)}.tablet-sidebar .sidebar{position:sticky;inset:auto;width:100%;min-height:calc(100dvh - 1.5rem);height:calc(100dvh - 1.5rem);border-radius:28px}.dashboard-notice{margin:0 .5rem}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:5;border:0;background:#060c1473;opacity:0;pointer-events:none;transition:opacity .22s ease}.sidebar-backdrop.visible{opacity:1;pointer-events:auto}}@media (max-width: 960px){.auth-layout{grid-template-columns:1fr;height:auto;min-height:100dvh;overflow:visible}.brand-panel,.auth-panel,.forgot-panel,.billing-shell,.tool-stage,.tool-bottom-bar,.modal-card,.modal-card-wide{border-radius:28px}.brand-panel,.auth-panel{padding:1.15rem}.auth-brand-column{grid-template-rows:auto auto;min-height:0}.auth-panel{min-height:0}.brand-showcase-panel{min-height:16.6rem}.auth-car-shell{width:40.5rem;padding:.68rem}.auth-car-image-host{height:clamp(12.4rem,33vw,13.8rem);min-height:clamp(12.4rem,33vw,13.8rem)}.brand-panel-top{position:static;margin-bottom:.2rem}.brand-copy,.brand-metrics,.auth-feature-grid,.brand-showcase-panel{max-width:none}.auth-signal-grid{grid-template-columns:1fr}.billing-shell{min-height:auto;height:auto;overflow:visible}.billing-stage{grid-template-columns:1fr;gap:1rem}.billing-copy h1{max-width:18ch}.dashboard-layout{gap:.65rem}.workspace-header{padding:.72rem}.header-left{min-width:0}.header-copy{min-width:0;padding-left:.32rem}.workspace-header h2{font-size:.82rem;line-height:1.3}.header-metrics{justify-content:flex-start}.tool-bottom-shell,.tool-context-layout,.tool-context-layout-segmentation,.tool-canvas{grid-template-columns:1fr}.tool-photo-layout{grid-template-columns:minmax(0,1fr) 220px}.tool-photo-stage{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-photo-sidebar{padding:.76rem}.tool-slim-rail{padding:1.2rem .9rem 1rem}.tool-result-panel{order:2}.client-form-grid,.billing-summary-stats,.settings-inline-grid,.settings-stat-grid,.settings-stat-grid-compact,.plan-grid{grid-template-columns:1fr}.modal-card-wide{width:min(1100px,calc(100vw - 1.2rem));max-height:min(92vh,100dvh - 1.2rem)}.settings-modal{grid-template-columns:1fr}.settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-tab{text-align:center}}@media (max-width: 720px){.workspace-onboarding-grid{grid-template-columns:1fr}.auth-layout{gap:.85rem}.brand-panel-top{top:1.05rem;right:.95rem}.auth-panel-top,.auth-footer{flex-direction:column;align-items:stretch}.auth-panel{gap:.82rem}.tabs{width:100%}.tab-button{flex:1;text-align:center}.auth-status-chip{width:100%;justify-content:center}.auth-feature-grid,.brand-metrics{grid-template-columns:1fr}.dashboard-layout{height:100dvh;padding:.55rem}.billing-layout{padding:.55rem}.billing-shell{min-height:calc(100dvh - 1.1rem);height:auto;padding:.9rem}.billing-stage{gap:.85rem}.billing-plan-grid{gap:.85rem;padding:0}.billing-status-card{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-status-item:not(:last-child){padding-bottom:0;border-bottom:0}.billing-summary,.billing-plan-card{border-radius:24px}.tool-bottom-shell,.tool-context-layout,.tool-context-layout-segmentation{grid-template-columns:1fr}.tool-process-rail{border-left:0;border-top:1px solid rgba(141,215,255,.14);padding:.58rem 0 0}.tool-process-track{flex-direction:row;align-items:center;justify-content:space-between;gap:.46rem}.tool-process-step:not(:last-child):after{content:"";top:50%;left:calc(100% + .16rem);width:.38rem;height:1px;transform:translateY(-50%);background:linear-gradient(90deg,#8dd7ff9e,#8dd7ff1f);box-shadow:0 0 8px #8dd7ff29}.tool-canvas{grid-template-columns:1fr}.tool-result-panel{order:-1}.workspace-header h2{font-size:.78rem;display:none}.header-copy{padding-left:.2rem}.workspace-header{align-items:flex-start;gap:.8rem}.header-left,.workspace-header,.prompt-dock{flex-direction:column;align-items:stretch}.header-metrics{flex-wrap:wrap}.balance-warning{order:3}.status-chip{width:fit-content;padding:.34rem .56rem;font-size:.72rem}.dashboard-notice{margin:0;padding:.7rem .8rem}.modal-actions,.settings-modal{grid-template-columns:1fr}.settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-tabs-head{grid-column:1 / -1}.settings-tab{text-align:center}.settings-inline-grid,.settings-stat-grid,.settings-stat-grid-compact,.billing-summary-stats,.plan-grid{grid-template-columns:1fr}.security-flow-card{flex-direction:column;align-items:stretch}.tool-stage-head,.tool-section-head{flex-direction:column}.tool-stage-steps,.tool-process-track,.tool-upload-strip,.tool-inline-actions,.tool-inline-meta,.tool-action-row,.tool-action-button,.tool-primary-button,.tool-secondary-button,.tool-upload-add{width:100%}.tool-context-panel.is-photo-panel .tool-context-layout,.tool-context-panel.is-photo-panel .tool-inline-actions{flex-direction:row;align-items:center}.tool-context-panel.is-photo-panel .tool-primary-button,.tool-context-panel.is-photo-panel .tool-secondary-button{width:auto}.segmentation-stage,.segmentation-image{min-height:300px}.prompt-dock{padding:.4rem;gap:.45rem}.chat-bubble,.space-content,.compare-range,.space-tabs{width:100%;max-width:100%}.compare-view,.mini-onboarding{grid-template-columns:1fr}.history-row{flex-direction:column;align-items:flex-start}.metric-pill{padding:.3rem .5rem}.metric-pill span{font-size:.64rem}.metric-pill strong{font-size:.76rem}.client-form-grid,.floating-notice,.forgot-steps{left:.75rem;right:.75rem}.floating-notice{top:.75rem}.chat-stage.max{min-height:280px}}@media (min-width: 921px){.workflow-topbar-shell{grid-template-columns:minmax(220px,1fr) auto minmax(420px,1fr)}}@media (max-width: 920px){.workflow-topbar-shell{grid-template-columns:1fr}}.dashboard-layout.mobile-workspace .workflow-drop-zone{min-height:180px}@media (max-width: 720px){.workflow-topbar-shell{display:none}.workflow-drop-zone{min-height:180px}}.workflow-left-rail{gap:10px}.workflow-context-panel{padding:0;overflow:hidden}.workflow-context-section{display:grid;gap:10px;padding:14px}.workflow-context-section+.workflow-context-section{border-top:1px solid rgba(255,255,255,.065)}.workflow-asset-list-compact{gap:8px}.workflow-asset-list-compact .workflow-asset-card{min-height:50px;padding:10px 12px;border-radius:12px}.sidebar{padding:10px;gap:10px}.sidebar-section{padding:12px;border-radius:18px}.sidebar .eyebrow{font-size:10px}.sidebar-brand-mark{font-size:1rem}.search-box input{min-height:42px;padding-inline:12px;font-size:13px}.manager-card{padding:10px;gap:8px;border-radius:13px}.manager-name{font-size:.92rem;line-height:1.25}.manager-login,.manager-subline{font-size:.78rem;line-height:1.3}.manager-actions{gap:5px}.manager-actions .icon-action-button,.manager-history-link{width:32px;min-width:32px;height:32px;min-height:32px;padding:0;display:inline-grid;place-items:center}.manager-history-link{grid-column:auto;justify-self:auto;border-radius:9px}.account-trigger{padding:10px;border-radius:15px}.account-login-row{font-size:.9rem}@media (max-width: 720px){.dashboard-layout,.dashboard-layout.mobile-workspace{height:auto;min-height:100dvh;grid-template-columns:1fr;overflow:auto;padding:8px}.dashboard-layout.sidebar-collapsed{grid-template-columns:1fr}.workflow-topbar-shell{display:none}.workflow-left-rail{position:static;width:100%;max-height:none;overflow:visible}.workflow-drop-zone{min-height:220px}}.dashboard-layout{background:radial-gradient(circle at 8% 10%,rgba(141,215,255,.08),transparent 26%),radial-gradient(circle at 92% 92%,rgba(119,161,189,.07),transparent 30%),linear-gradient(160deg,#03070d,#09111a 56%,#050a11)}.dashboard-layout:before{animation:dashboardAmbientDrift 18s ease-in-out infinite}.dashboard-layout:after{animation:dashboardAmbientDrift 22s ease-in-out infinite reverse}@keyframes dashboardAmbientDrift{0%,to{opacity:.1;transform:translateZ(0) scale(.95)}50%{opacity:.18;transform:translate3d(18px,-12px,0) scale(1.04)}}.manager-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.manager-history-link{grid-column:1 / -1;justify-self:start;min-height:32px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border-radius:9px;border:1px solid rgba(255,255,255,.07);background:#ffffff08;color:#e8f0f8db;font-size:12px}.manager-history-link:hover,.manager-history-link:focus-visible{border-color:#84bfdc3d;background:#84bfdc14}.workflow-client-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.workflow-client-row h3{min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-open-history{flex:0 0 auto;min-height:34px;padding-inline:10px}.workflow-drop-zone{min-height:min(360px,42vh)}.workflow-asset-card strong{overflow-wrap:anywhere}.workflow-status-dock,.workflow-bottom-dock{display:none}.workflow-left-rail{scrollbar-gutter:stable}.workflow-rail-panel{display:grid;gap:10px}.workflow-rail-panel .workflow-panel-head{margin-bottom:0}@media (max-width: 920px){.dashboard-layout{padding:8px}.workflow-left-rail{order:2;height:auto;max-height:none}.workflow-topbar-group-right{flex-wrap:wrap}.workflow-client-add,.metric-pill,.tool-state-chip{flex:0 0 auto}}@media (max-width: 640px){.workflow-topbar-shell{gap:8px;padding:8px}.workflow-topbar-group-left,.workflow-topbar-group-right{width:100%}.workflow-topbar-brand{justify-self:start}.workflow-current-mode{flex:1 1 auto}.workflow-client-picker{flex:1 1 calc(100% - 48px)}.workflow-client-add{flex-basis:40px}.workflow-drop-zone{min-height:220px}.manager-card{width:100%}}@media (max-width: 560px){.auth-layout,.billing-layout,.dashboard-layout,.forgot-layout{padding:.6rem}.brand-panel,.brand-showcase-panel,.auth-panel,.forgot-panel,.billing-shell,.tool-stage,.tool-bottom-bar,.modal-card,.modal-card-wide{border-radius:24px}.brand-panel,.auth-panel,.forgot-panel,.billing-shell{padding:.95rem}.brand-showcase-panel{padding:.95rem;min-height:15rem}.product-mark{font-size:1.56rem}.brand-panel h1,.auth-copy h2,.billing-copy h1,.forgot-head h1{max-width:none;font-size:clamp(1.4rem,8vw,1.9rem);line-height:1.04}.lead,.auth-copy p,.billing-copy p:not(.eyebrow),.forgot-head p{font-size:.9rem;line-height:1.5}.tabs{gap:.32rem}.tab-button,.primary-button,.settings-row{min-height:2.9rem}.auth-form input,.modal-form input{padding:.84rem .9rem}.auth-car-image-host{height:clamp(11.1rem,39vw,12.3rem);min-height:clamp(11.1rem,39vw,12.3rem);max-height:none}.auth-car-info-chip{max-width:100%;margin-left:0;padding:.3rem .48rem}.auth-car-info-chip .chip-value{font-size:.74rem}.floating-notice{top:.65rem;right:.65rem;left:.65rem;width:auto;padding:.92rem .92rem 1rem}.workspace-header{padding:.65rem}.header-copy{padding-left:.12rem}.header-metrics{gap:.38rem}.tool-workflow-stats,.tool-workflow-steps,.tool-workflow-header-meta{width:100%}.tool-workflow-header-meta,.tool-workflow-warning{justify-content:flex-start}.metric-pill,.balance-warning,.status-chip{width:100%;justify-items:start}.dashboard-notice{flex-direction:column;align-items:flex-start;gap:.55rem}.upload-dropzone{min-height:200px;padding:1rem}.tool-stage-head,.tool-section-head,.tool-upload-strip,.tool-action-row,.tool-inline-actions,.tool-inline-meta,.tool-palette-row,.client-history-toolbar,.client-history-actions,.history-pagination{flex-direction:column;align-items:stretch}.tool-stage-steps{justify-content:flex-start}.tool-stage-steps span,.tool-action-button,.tool-primary-button,.tool-upload-add,.billing-pay-button,.billing-select-button{width:100%}.tool-context-panel.is-photo-panel .tool-context-layout,.tool-context-panel.is-photo-panel .tool-inline-actions{flex-direction:row;align-items:center}.tool-context-panel.is-photo-panel .tool-primary-button,.tool-context-panel.is-photo-panel .tool-secondary-button{width:auto}.segmentation-stage,.segmentation-image{min-height:240px}.tool-upload-card,.upload-preview-card{min-width:0}.manager-card{padding:.68rem;gap:.6rem}.manager-actions{gap:.22rem}.client-modal-actions,.modal-actions,.forgot-steps{grid-template-columns:1fr}.auth-signal-card{padding:.72rem .76rem}.auth-support-card{min-height:11.3rem;padding:.92rem}}@media (max-width: 420px){.auth-layout,.billing-layout,.dashboard-layout,.forgot-layout{padding:.45rem}.brand-panel,.brand-showcase-panel,.auth-panel,.forgot-panel,.billing-shell,.tool-stage,.modal-card,.modal-card-wide{border-radius:20px;padding:.82rem}.tool-bottom-bar{border-radius:20px;padding:.34rem .42rem}.brand-caption,.auth-status-chip,.status-chip,.balance-warning{font-size:.68rem}.workspace-header h2{font-size:.76rem}.tool-photo-stage{grid-template-columns:repeat(2,minmax(0,168px));gap:.4rem}.tool-photo-card{width:168px}.tool-photo-media{height:168px}.metric-pill span{font-size:.62rem}.metric-pill strong{font-size:.74rem}.tool-stage-head h3,.billing-summary h2{font-size:1.1rem}.auth-car-image-host{height:clamp(10.2rem,44vw,11.2rem);min-height:clamp(10.2rem,44vw,11.2rem);max-height:none}.auth-car-info-chip{padding:.26rem .42rem;border-radius:10px}.auth-car-info-chip .chip-label{font-size:.56rem}.auth-car-info-chip .chip-value{font-size:.68rem}.forgot-panel{gap:.85rem}}.tool-bottom-bar.is-photo-step .tool-bottom-shell.is-photo-shell{grid-template-columns:minmax(0,1fr) 120px;gap:.34rem;align-items:center}.tool-bottom-bar.is-photo-step .tool-context-panel.is-photo-panel{padding:.22rem .34rem}.tool-bottom-bar.is-photo-step .tool-context-panel.is-photo-panel .tool-context-layout{display:flex;align-items:center;justify-content:space-between;gap:.34rem}.tool-bottom-bar.is-photo-step .tool-context-panel.is-photo-panel .tool-inline-actions{gap:.24rem;flex-wrap:nowrap}.tool-bottom-bar.is-photo-step .tool-context-panel.is-photo-panel .tool-primary-button,.tool-bottom-bar.is-photo-step .tool-context-panel.is-photo-panel .tool-secondary-button{min-height:1.88rem;width:auto}.tool-bottom-bar.is-photo-step .tool-process-rail.is-photo-rail{padding:.14rem .08rem .14rem .52rem}.tool-bottom-bar.is-photo-step .tool-process-track{gap:.9rem}.tool-bottom-bar.is-photo-step .tool-process-step{min-height:1.1rem}.tool-bottom-bar.is-photo-step .tool-process-step strong{font-size:.78rem}.tool-bottom-bar.is-segmentation-step .tool-bottom-shell.is-segmentation-shell{grid-template-columns:minmax(0,1fr) 172px}.tool-bottom-bar.is-segmentation-step .tool-context-panel.is-segmentation-panel{padding:.66rem .76rem}.tool-bottom-bar.is-segmentation-step .tool-context-layout-segmentation{grid-template-columns:minmax(0,1fr);gap:.74rem}.tool-bottom-bar.is-segmentation-step .tool-inline-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem}.tool-bottom-bar.is-segmentation-step .tool-action-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.tool-bottom-bar.is-segmentation-step .tool-selection-summary{padding-top:.22rem;border-top:1px solid rgba(141,215,255,.14);padding-left:0;border-left:0}@media (max-width: 720px){.paint-assist-actions,.tool-canvas{grid-template-columns:1fr}.tool-photo-stage{grid-template-columns:1fr;gap:.48rem}.tool-photo-actions-row{grid-template-columns:1fr}.tool-photo-sidebar{padding:.72rem}.tool-photo-meta-card{min-height:3.7rem}.tool-slim-rail{grid-template-rows:auto auto}.tool-bottom-bar.is-photo-step .tool-bottom-shell.is-photo-shell,.tool-bottom-bar.is-segmentation-step .tool-bottom-shell.is-segmentation-shell,.tool-bottom-bar.is-segmentation-step .tool-context-layout-segmentation{grid-template-columns:1fr}.tool-bottom-bar.is-photo-step .tool-process-rail.is-photo-rail{border-left:0;border-top:1px solid rgba(141,215,255,.14);padding:.48rem 0 0}.tool-bottom-bar.is-photo-step .tool-process-track,.tool-bottom-bar.is-segmentation-step .tool-process-track{flex-direction:row;align-items:center;justify-content:space-between;gap:.46rem}.tool-bottom-bar.is-photo-step .tool-process-step:not(:last-child):after,.tool-bottom-bar.is-segmentation-step .tool-process-step:not(:last-child):after{top:50%;left:calc(100% + .16rem);width:.38rem;height:1px;transform:translateY(-50%)}}.workflow-stage{gap:.78rem;zoom:.92}.workflow-stage-body{min-height:0}.workflow-drop-zone{width:100%;min-height:16.5rem;padding:2.2rem 1.6rem;display:grid;justify-items:center;align-content:center;gap:.7rem;border-radius:28px;border:1px dashed rgba(136,167,188,.24);background:radial-gradient(circle at top left,rgba(109,141,163,.07),transparent 34%),linear-gradient(180deg,#0b121bf5,#080e16db);color:var(--text);cursor:pointer;transition:.18s ease}.workflow-drop-zone:hover,.workflow-drop-zone.dragover{transform:translateY(-2px);border-color:#9dbed657;background:radial-gradient(circle at top left,rgba(126,160,184,.1),transparent 34%),linear-gradient(180deg,#0d151ffa,#090f18e6)}.workflow-drop-zone strong{font-size:.98rem}.workflow-drop-zone span:last-child{color:var(--muted);font-size:.88rem}.workflow-drop-icon{width:3.4rem;height:3.4rem;display:grid;place-items:center;border-radius:16px;background:#84acc617;color:var(--accent)}.workflow-drop-icon .inline-icon{width:1.6rem;height:1.6rem}.workflow-upload-actions{display:flex;align-items:center;justify-content:flex-end;gap:.6rem}.workflow-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:.92rem;min-height:37.5rem}.workflow-canvas-pane,.workflow-side-panel{min-height:0}.workflow-canvas-pane{display:flex;flex-direction:column;gap:.65rem}.workflow-canvas-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.workflow-toolbar-spacer{flex:1}.workflow-tool-btn{min-height:2.45rem;padding:.52rem .82rem;border-radius:11px;border:1px solid rgba(132,172,198,.14);background:linear-gradient(180deg,#121c26f5,#0c131cf0),#0c131ceb;color:var(--text-dim);box-shadow:inset 0 1px #ffffff0a,0 8px 20px #0309122e;cursor:pointer;transition:.18s ease}.workflow-tool-btn:hover,.workflow-tool-btn:focus-visible{background:linear-gradient(180deg,#18232efa,#0f1822f5),#121c26f5;color:var(--text);border-color:#9dbed63d}.workflow-tool-btn.active{color:var(--accent-strong);border-color:#9dbed64d;box-shadow:inset 0 0 0 1px #9dbed624,0 10px 24px #00000038}.workflow-tool-btn-danger:hover,.workflow-tool-btn-danger:focus-visible{color:#fff;border-color:#ff929261;background:#ff92921f}.workflow-canvas-frame{flex:1;min-height:0;border-radius:20px;border:1px solid rgba(127,166,188,.14);background:linear-gradient(180deg,#0b121beb,#080e16d6),#ffffff05;overflow:hidden;box-shadow:var(--shadow-lg)}.workflow-segmentation-stage,.workflow-history-board{height:100%;min-height:31rem}.workflow-canvas-hint{text-align:center;color:var(--muted);font-size:.76rem}.workflow-side-panel{display:flex;flex-direction:column;gap:.78rem;max-height:100%;overflow-y:auto;padding-right:.1rem}.workflow-panel-section{padding:.88rem;border-radius:18px;border:1px solid rgba(127,166,188,.14);background:linear-gradient(180deg,#0c131ceb,#090f17d1),#ffffff05;box-shadow:var(--shadow-md)}.workflow-panel-section h3{margin:0 0 .65rem;font-size:.88rem}.workflow-panel-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.workflow-panel-note{margin:0;color:var(--muted);line-height:1.45;font-size:.78rem}.workflow-panel-note.subtle{font-size:.72rem}.workflow-segments-list{display:grid;gap:.28rem;max-height:15rem;overflow-y:auto;padding-right:.1rem;min-width:0}.workflow-segment-item{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.42rem;min-height:32px;padding:.38rem .48rem;border-radius:9px;border:1px solid transparent;background:#ffffff05;color:var(--text);cursor:pointer;transition:.18s ease;min-width:0}.workflow-segment-item:hover,.workflow-segment-item:focus-visible{background:#ffffff0a}.workflow-segment-item.selected{border-color:#9dbed64d;background:#84acc61a}.workflow-segment-dot{width:.46rem;height:.46rem;border-radius:999px;background:var(--segment-color)}.workflow-segment-label{text-align:left;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;line-height:1.15}.workflow-segment-area{color:var(--muted);font-size:.62rem;flex-shrink:0}.workflow-panel-empty{color:var(--muted);font-size:.78rem;line-height:1.5}.workflow-primary-action,.workflow-submit-button{width:100%}.workflow-primary-action,.workflow-submit-button,.workflow-icon-button,.workflow-link-button{transition:.18s ease}.workflow-primary-action,.workflow-submit-button,.workflow-icon-button{min-height:2.28rem;border-radius:10px}.workflow-mode-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.32rem;margin-top:.68rem}.workflow-mode-btn{min-height:2.05rem;padding:.46rem .56rem;border-radius:10px;border:1px solid rgba(127,166,188,.14);background:#ffffff06;color:var(--muted);cursor:pointer;transition:.18s ease;font-size:.76rem}.workflow-mode-btn:hover,.workflow-mode-btn:focus-visible{color:var(--text);background:#ffffff0d}.workflow-mode-btn.active{background:linear-gradient(135deg,#c4d3def5,#96abbcf5);color:#08131d;border-color:transparent}.workflow-link-button{margin-top:.58rem;padding:.42rem .56rem;border:1px solid rgba(132,172,198,.12);border-radius:11px;background:#ffffff05;color:var(--accent-strong);text-align:center;cursor:pointer}.workflow-link-button:hover,.workflow-link-button:focus-visible{border-color:#9dbed63d;background:#84acc614}.workflow-settings-summary,.workflow-selected-block{margin-top:.66rem;display:grid;gap:.42rem}.workflow-settings-label{color:#e8f0f8eb;font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.workflow-settings-row{display:flex;flex-wrap:wrap;gap:.55rem}.workflow-settings-chip{display:inline-flex;align-items:center;gap:.45rem;min-height:1.68rem;padding:.24rem .5rem;border-radius:999px;background:#ffffff09;border:1px solid rgba(127,166,188,.14)}.workflow-selected-summary{display:flex;align-items:center;justify-content:space-between;gap:.6rem;cursor:pointer;list-style:none}.workflow-selected-summary::-webkit-details-marker{display:none}.workflow-selected-summary-icon{color:var(--muted);transition:transform .18s ease}.workflow-selected-block[open] .workflow-selected-summary-icon{transform:rotate(180deg)}.workflow-result-shell{width:100%;height:100%}.workflow-result-shell img{width:100%;height:100%;min-height:28rem;object-fit:cover;display:block}.workflow-result-actions{display:grid;gap:.55rem;margin-top:.8rem}.workflow-icon-button{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.55rem}.workflow-reset-button{width:34px;min-width:34px;height:34px;min-height:34px;display:inline-grid;place-items:center;padding:0;border-radius:10px;border:1px solid rgba(143,173,198,.16);color:#c2d5e7c7;background:linear-gradient(180deg,#ffffff0e,#ffffff05),#080e16b8;box-shadow:inset 0 1px #ffffff09,0 10px 22px #0000002e;transition:color .18s ease,border-color .18s ease,background .18s ease,transform .18s ease}.workflow-reset-button:hover,.workflow-reset-button:focus-visible{color:#e8f0f8;border-color:#8dd7ff57;background:linear-gradient(180deg,#8dd7ff1f,#ffffff06),#0a121cd6;transform:translateY(-1px)}@media (max-width: 1120px){.workflow-stage{zoom:1}.workflow-editor-layout{grid-template-columns:1fr}.workflow-side-panel{order:-1;max-height:none;overflow:visible}}@media (max-width: 720px){.workflow-stage{zoom:1}.workflow-upload-actions{flex-direction:column;align-items:stretch}.workflow-canvas-toolbar{gap:.5rem}.workflow-drop-zone{min-height:13.8rem;padding:1.6rem 1rem}}.workflow-topbar-shell{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.75rem;padding:0 1rem;border-radius:12px}.workflow-topbar-group{display:flex;align-items:center;gap:.65rem;min-width:0}.workflow-topbar-group-right{justify-self:end}.workflow-topbar-back{min-height:2rem;padding:.34rem .74rem;border-radius:7px;border:1px solid rgba(255,255,255,.07);background:#ffffff0a;color:var(--text);font-size:.82rem}.workflow-topbar-brand{justify-self:center;display:inline-flex;align-items:center;gap:.36rem;font-size:.9rem}.workflow-topbar-brand strong{font-family:Space Grotesk,sans-serif;font-weight:500;letter-spacing:-.03em;white-space:nowrap;background:linear-gradient(128deg,#fff,#f7fdff 14%,#eefbff 32%,#dff6ff 52%,#cfefff 74%,#f7fdff);background-size:180% 180%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 0 1px rgba(255,255,255,.8),0 0 12px rgba(210,242,255,.28),0 0 24px rgba(141,215,255,.2);animation:brandFlow 9s ease-in-out infinite}.workflow-breadcrumbs{display:inline-flex;align-items:center;gap:.5rem;min-width:0;text-transform:uppercase;letter-spacing:.08em;font-size:.68rem;color:var(--muted)}.workflow-breadcrumbs strong{color:var(--text);font-size:.7rem}.workflow-breadcrumb-sep{width:10px;height:1px;background:#ffffff29}.workflow-left-rail{min-height:0;overflow:auto;border-radius:14px}.workflow-left-rail{display:grid;align-content:start;gap:0}.workflow-rail-panel{padding:.82rem;border-radius:0;border-left:0;border-right:0;border-top:0}.workflow-rail-panel:first-child{border-top-left-radius:14px;border-top-right-radius:14px}.workflow-rail-panel:last-child{border-bottom:0;border-bottom-left-radius:14px;border-bottom-right-radius:14px}.workflow-rail-panel h3,.workflow-history-rail-head h3{margin:0 0 .6rem;font-size:.84rem;letter-spacing:-.03em}.workflow-history-focus-meta strong,.workflow-asset-meta strong{margin:0;line-height:1.35}.workflow-history-focus-meta p,.workflow-history-empty,.workflow-asset-meta span{margin:0;color:var(--muted)}.workflow-bottom-dock{border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.52rem .7rem;overflow:hidden}.workflow-bottom-tabs,.workflow-bottom-actions{display:flex;align-items:center;gap:.42rem;min-width:0}.workflow-bottom-tabs{overflow-x:auto}.workflow-dock-tab{min-height:2rem;padding:.32rem .58rem;display:inline-flex;align-items:center;gap:.35rem;border-radius:7px;border:1px solid rgba(255,255,255,.06);background:#ffffff08;color:var(--muted);white-space:nowrap;font-size:.8rem}.workflow-dock-tab.active{color:var(--text);border-color:#9ec9e83d;background:#84bfdc14}.workflow-asset-list,.workflow-step-stack{display:grid;gap:.48rem}.workflow-asset-card,.workflow-step-card{display:flex;align-items:center;justify-content:space-between;gap:.55rem;padding:.56rem .64rem;border-radius:8px;border:1px solid rgba(255,255,255,.06);background:#ffffff06}.workflow-step-card strong,.workflow-asset-meta strong,.workflow-panel-note,.workflow-panel-empty,.workflow-segment-label,.workflow-link-button,.workflow-mode-btn,.workflow-settings-chip,.workflow-canvas-hint{font-size:.8rem}.workflow-step-card{justify-content:flex-start}.workflow-step-card-dot{width:.44rem;height:.44rem;border-radius:999px;background:#ffffff24}.workflow-step-card.current .workflow-step-card-dot{background:var(--accent)}.workflow-step-card.complete .workflow-step-card-dot{background:var(--success)}.workflow-step-card.failed .workflow-step-card-dot{background:#ff8b8b}.workflow-asset-card.has-file{align-items:flex-start}.workflow-asset-meta{display:grid;gap:.12rem}.workflow-asset-remove{width:32px;min-width:32px;height:32px;min-height:32px;display:inline-grid;place-items:center;padding:0;border-radius:10px;border:1px solid rgba(143,173,198,.16);color:#c2d5e7b8;background:linear-gradient(180deg,#ffffff0e,#ffffff05),#080e16b8;box-shadow:inset 0 1px #ffffff09,0 8px 18px #00000029;transition:color .18s ease,border-color .18s ease,background .18s ease,transform .18s ease}.workflow-asset-remove:hover,.workflow-asset-remove:focus-visible{color:#ffe6e6;border-color:#ff929257;background:linear-gradient(180deg,#ff929221,#ffffff06),#180b10d1;transform:translateY(-1px)}.workflow-panel-head{margin-bottom:.6rem}.workflow-result-actions{margin-top:.55rem}.workflow-open-history{margin-top:.5rem;display:inline-flex;align-items:center;justify-content:center;gap:.35rem}.workflow-canvas-hint{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workflow-drop-zone{min-height:12rem}.workflow-segmentation-stage,.workflow-result-shell{min-height:100%}.segmentation-stage,.workflow-result-shell{padding:.8rem}.workflow-result-shell{display:grid;place-items:center}.workflow-result-shell img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}.history-page{min-height:100dvh;padding:.75rem;display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:.75rem;zoom:.92}.history-page-topbar{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;padding:.7rem .8rem;border-radius:12px;background:#10161fb8;border:1px solid rgba(255,255,255,.07);-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%)}.history-page-brand{justify-self:center;display:inline-flex;align-items:center;gap:.42rem;font-size:.92rem}.history-page-client{justify-self:end;color:var(--muted)}.history-page-hero{padding:.7rem .2rem .1rem}.history-page-hero h1{margin:0;font-size:clamp(1.9rem,4.8vw,3.7rem);line-height:.96;letter-spacing:-.05em;max-width:11ch}.history-page-empty{padding:.9rem;border-radius:16px}@media (max-width: 1080px){.workflow-topbar-shell{grid-template-columns:1fr;justify-items:stretch;padding:.9rem 1rem}.workflow-topbar-group-right,.workflow-topbar-brand{justify-self:start}.workflow-left-rail{max-height:none}.history-page-topbar{grid-template-columns:1fr;justify-items:start}.history-page-brand,.history-page-client{justify-self:start}}@media (max-width: 720px){.workflow-topbar-group,.workflow-bottom-dock,.workflow-bottom-actions{flex-wrap:wrap}.workflow-bottom-dock{padding:.75rem}.workflow-dock-tab{flex:1 1 calc(50% - .4rem);justify-content:center}.workflow-bottom-tabs{width:100%;flex-wrap:wrap}}.workflow-topbar-shell{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:0 20px;border-radius:14px}.workflow-topbar-group{gap:10px}.workflow-topbar-group-right{justify-content:flex-end;gap:8px}.workflow-topbar-back{min-height:38px;padding:0 14px;border-radius:8px;font-size:14px;font-weight:500;transition:background .2s ease,border-color .2s ease,color .2s ease}.workflow-topbar-back:hover,.workflow-link-button:hover,.workflow-dock-tab:hover,.workflow-tool-btn:hover,.workflow-action-button:hover{border-color:#84bfdc38;background:#84bfdc17;color:var(--text)}.workflow-topbar-brand{font-size:15px}.workflow-breadcrumbs{font-size:11px}.workflow-topbar-steps{display:flex;align-items:center;gap:8px;min-width:0}.workflow-header-step{min-height:34px;padding:0 10px;display:inline-flex;align-items:center;gap:8px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:#ffffff09;color:var(--muted);font-size:12px;white-space:nowrap}.workflow-header-step strong{font-size:12px;font-weight:600}.workflow-header-step-dot{width:7px;height:7px;border-radius:999px;background:#ffffff29}.workflow-header-step.current,.workflow-header-step.complete{color:var(--text)}.workflow-header-step.current .workflow-header-step-dot{background:var(--accent)}.workflow-header-step.complete .workflow-header-step-dot{background:var(--success)}.workflow-header-step.failed .workflow-header-step-dot{background:#ff8b8b}.workflow-left-rail{height:100%;width:100%;min-width:0;min-height:0;overflow:auto;border-radius:16px;overscroll-behavior:contain;scrollbar-gutter:stable;display:flex;flex-direction:column}.workflow-rail-panel{padding:15px;width:100%;min-width:0;overflow:hidden;flex:0 0 auto}.workflow-left-rail .workflow-rail-panel:last-child{min-height:0;flex:1 1 auto;overflow:visible}.workflow-rail-panel-intro h3,.workflow-rail-panel h3{font-size:15px;margin-bottom:8px}.workflow-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.workflow-panel-note,.workflow-panel-empty,.workflow-asset-meta span,.workflow-link-button,.workflow-mode-btn,.workflow-settings-chip,.workflow-canvas-hint,.workflow-segment-label,.workflow-segment-area{font-size:12px}.workflow-link-button,.workflow-tool-btn,.workflow-action-button{min-height:38px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#ffffff09;color:var(--text);transition:background .2s ease,border-color .2s ease,color .2s ease;min-width:0}.workflow-action-button{width:100%;font-weight:500}.workflow-action-button:disabled{opacity:.48}.workflow-action-button-primary{background:linear-gradient(180deg,#8bc2dff0,#6591b6f0);border-color:#8cc2dfb3;color:#07111c}.workflow-action-button-primary:hover{background:linear-gradient(180deg,#9bcee9fa,#729ec2fa);color:#07111c}.workflow-mode-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.workflow-mode-btn{min-height:38px;border-radius:10px}.workflow-result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.workflow-drop-zone{min-height:150px;border-radius:16px}.segmentation-stage,.workflow-result-shell{display:grid;place-items:center;overflow:hidden}.segmentation-canvas-shell{width:100%;height:100%;max-width:100%;max-height:100%;display:grid;place-items:center}.segmentation-canvas-layer{width:auto;height:auto;max-width:100%;max-height:100%}.segmentation-placeholder{max-width:420px;margin:0 auto;text-align:center}.workflow-bottom-dock{padding:8px 10px;border-radius:16px;gap:8px;flex-wrap:wrap}.workflow-bottom-tabs{flex:1 1 0;flex-wrap:wrap;gap:8px}.workflow-dock-tab{min-height:36px;padding:0 12px;border-radius:10px;font-size:12px;font-weight:500}.workflow-bottom-actions{flex:1 1 360px;justify-content:flex-end;flex-wrap:wrap;gap:8px}.workflow-canvas-hint{flex:1 1 180px;min-width:0}.workflow-tool-btn{min-height:36px;padding:0 12px;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#ffffff09;color:var(--text)}.workflow-tool-btn-danger{color:#ffb7b7}.workflow-modes-modal{display:grid;gap:16px}.workflow-mode-card-grid{display:grid;gap:10px}.workflow-mode-card{padding:16px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:#ffffff08;display:grid;gap:6px;text-align:left}.workflow-mode-card.active{border-color:#84bfdc66;background:#84bfdc14}.workflow-mode-card-index{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}@media (max-width: 1280px){.workflow-topbar-shell{grid-template-columns:1fr;justify-items:stretch;height:auto;padding:12px 16px}.workflow-topbar-group-right{justify-content:flex-start;flex-wrap:wrap}}@media (max-width: 1080px){.workflow-left-rail{max-height:360px}}@media (max-width: 720px){.workflow-topbar-shell{padding:12px}.workflow-topbar-steps{overflow-x:auto;padding-bottom:2px}.workflow-bottom-actions,.workflow-bottom-tabs{width:100%}.workflow-dock-tab,.workflow-tool-btn,.workflow-action-button{flex:1 1 calc(50% - 8px)}}.dashboard-layout{grid-template-columns:360px 1fr;gap:12px;padding:12px}.sidebar{border-radius:24px}.sidebar-top{padding-bottom:6px}.sidebar-brand-mark{font-size:1.05rem;letter-spacing:-.04em}.sidebar-section{padding:14px}.manager-card{padding:12px;border-radius:14px}@media (max-width: 1080px){.dashboard-layout{padding:10px}}.workflow-topbar-shell{grid-template-columns:minmax(0,1.25fr) auto minmax(0,.95fr);min-height:60px}.workflow-topbar-group-left{overflow:hidden}.workflow-bottom-dock{min-height:var(--workflow-dock-height);max-height:var(--workflow-dock-height);align-items:center;flex-wrap:nowrap;padding:10px 12px}.workflow-bottom-tabs,.workflow-bottom-actions{flex-wrap:nowrap}.workflow-bottom-tabs{flex:0 1 auto}.workflow-bottom-actions{flex:1 1 auto;min-width:0}.workflow-dock-tab,.workflow-tool-btn{height:40px;min-height:40px;flex:0 0 auto}.workflow-canvas-hint{max-width:min(36vw,420px)}.workflow-mode-toggle{grid-template-columns:1fr}.workflow-mode-btn{justify-content:flex-start;text-align:left}.workflow-mode-btn.active{border-color:#d8e8f475;background:#e8f0f81a;color:var(--text)}.workflow-mode-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-mode-card{min-height:124px}.workflow-mode-card strong,.workflow-mode-card span{min-width:0}.workflow-processing-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:6;display:grid;place-items:center;padding:24px;border-radius:inherit;background:radial-gradient(circle at center,rgba(232,240,248,.08),transparent 42%),#060a108a;-webkit-backdrop-filter:blur(7px) saturate(120%);backdrop-filter:blur(7px) saturate(120%)}.workflow-processing-card{width:min(320px,100%);display:grid;justify-items:center;gap:12px;padding:22px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:#0e121ac2;box-shadow:0 26px 70px #00000061;text-align:center}.workflow-processing-card strong{font-size:18px;letter-spacing:0}.workflow-processing-card span:last-child{max-width:28ch;color:var(--muted);font-size:12px;line-height:1.45}.workflow-processing-ring{width:92px;height:92px;border-radius:999px;background:conic-gradient(var(--text) var(--progress),rgba(255,255,255,.1) 0);-webkit-mask:radial-gradient(circle,transparent 55%,#000 56%);mask:radial-gradient(circle,transparent 55%,#000 56%);animation:workflowProcessingPulse 1.8s ease-in-out infinite}@keyframes workflowProcessingPulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.82;transform:scale(.98)}}@media (max-width: 1280px){.workflow-topbar-shell{grid-template-columns:1fr}.workflow-topbar-steps{width:100%}}@media (max-width: 720px){.workflow-bottom-dock{min-height:0;max-height:none;flex-wrap:wrap}.workflow-bottom-tabs,.workflow-bottom-actions{flex-wrap:wrap}.workflow-canvas-hint{max-width:100%}.workflow-mode-card-grid{grid-template-columns:1fr}}.workflow-topbar-shell{grid-template-columns:minmax(0,1fr) auto minmax(360px,.95fr);overflow:hidden}.workflow-current-mode{min-height:36px;min-width:0;display:inline-flex;align-items:center;padding:0 12px;border-radius:8px;color:#e8f0f8c7;font-size:12px;font-weight:600;background:#ffffff08;border:1px solid rgba(255,255,255,.07)}.workflow-current-mode span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-client-picker{height:38px;min-width:190px;max-width:260px;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:0 10px;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#ffffff09}.workflow-client-picker span{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.workflow-client-picker select{min-width:0;width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:13px;font-weight:700}.workflow-client-add{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#ffffff09;color:var(--text);font-size:22px;line-height:1}.workflow-client-add:hover,.workflow-client-add:focus-visible{border-color:#84bfdc3d;background:#84bfdc14}@media (max-width: 1280px){.workflow-topbar-shell{grid-template-columns:minmax(180px,1fr) auto minmax(340px,1fr)}.workflow-topbar-group-right{justify-content:flex-end;flex-wrap:nowrap}}@media (max-width: 820px){.workflow-client-picker{min-width:min(100%,240px)}}.dashboard-layout{background:radial-gradient(circle at 8% 12%,rgba(141,215,255,.13),transparent 28%),radial-gradient(circle at 88% 92%,rgba(119,161,189,.12),transparent 30%),linear-gradient(160deg,#03070d,#09111a 54%,#050a11)}.workflow-topbar-shell{min-height:64px;padding:10px 14px;grid-template-columns:minmax(210px,1fr) auto minmax(390px,1fr);overflow:hidden}.workflow-topbar-group-right{gap:8px;min-width:0;flex-wrap:nowrap;justify-content:flex-end}.workflow-topbar-back,.workflow-current-mode,.workflow-client-picker,.workflow-client-add,.workflow-link-button,.workflow-tool-btn,.workflow-action-button,.workflow-primary-action,.workflow-dock-tab{border-radius:10px}.workflow-topbar-back,.workflow-current-mode,.workflow-client-picker,.workflow-client-add{height:40px;min-height:40px}.workflow-client-picker{flex:0 1 220px;min-width:150px;max-width:220px;border-color:#8fadc62e;background:linear-gradient(180deg,#131d28eb,#0a111af0),#8dd7ff08;box-shadow:inset 0 1px #ffffff09}.workflow-client-picker select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color-scheme:dark;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.workflow-client-picker select option{background:#101923;color:#e8f0f8}.workflow-client-add{flex:0 0 40px;font-weight:500;color:#e8f0f8}.workflow-topbar-group-right .metric-pill{flex:0 0 auto;min-width:74px;padding:6px 9px}.workflow-topbar-group-right .tool-state-chip{flex:0 0 auto;min-height:40px;padding:0 10px;white-space:nowrap}.workflow-drop-zone{min-height:clamp(220px,36vh,420px)}.workflow-segmentation-stage{height:100%;max-height:100%}.segmentation-canvas-shell{width:100%;height:100%;max-height:calc(100dvh - 220px);overflow:hidden}.segmentation-canvas-layer{max-width:100%;max-height:100%;object-fit:contain}.workflow-bottom-dock.workflow-status-dock{min-height:72px;max-height:72px;display:grid;grid-template-columns:minmax(0,1fr) auto}.workflow-status-steps{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden}.workflow-bottom-actions{justify-content:flex-end}.workflow-link-button,.workflow-tool-btn,.workflow-action-button,.workflow-primary-action{padding-inline:14px}.workflow-primary-action{justify-content:center}.workflow-action-button-primary{min-height:48px;color:#07111c}.workflow-mode-settings{gap:10px;padding:8px 0 0}.workflow-settings-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.workflow-icon-button{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#ffffff09;color:var(--text)}.workflow-palette-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.workflow-palette-row .tool-color-swatch{width:100%;height:40px;display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:8px;padding:8px 9px;border-radius:11px;background:linear-gradient(180deg,#ffffff0e,#ffffff05),#080f178f;text-align:left}.workflow-palette-row .tool-color-swatch:before{content:"";width:20px;height:20px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:var(--swatch);box-shadow:inset 0 1px #fff3}.workflow-palette-row .tool-color-swatch span{min-width:0;display:block;overflow:hidden;color:#e8f0f8eb;font-size:11.5px;font-weight:800;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.workflow-palette-row .tool-color-swatch.active{transform:none;border-color:#8dd7ff9e;background:linear-gradient(180deg,#8dd7ff24,#ffffff07),#0b151fd1;box-shadow:0 0 0 1px #8dd7ff14}.workflow-range-control{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:10px;border-radius:10px;border:1px solid rgba(255,255,255,.07);background:#ffffff06}.workflow-range-control span,.workflow-range-control strong{font-size:12px}.workflow-range-control strong{color:var(--text)}.workflow-range-control input{grid-column:1 / -1;width:100%;accent-color:var(--accent)}.workflow-option-group{display:grid;gap:7px}.workflow-option-title{color:#e8f0f8d6;font-size:12px;font-weight:850;line-height:1.3}.workflow-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.reangle-option-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.workflow-option-tile{min-width:0;min-height:40px;display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;padding:7px 8px;border-radius:11px;border:1px solid rgba(143,173,198,.2);background:radial-gradient(circle at 16% 0%,rgba(141,215,255,.12),transparent 42%),linear-gradient(180deg,#22303ef0,#0a111af5),#8dd7ff0b;color:#e8f0f8f5;text-align:left;cursor:pointer;box-shadow:inset 0 1px #ffffff0e,0 8px 18px #0000001f;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}.workflow-option-icon{width:24px;height:24px;flex:0 0 24px;display:inline-grid;place-items:center;border-radius:10px;border:1px solid rgba(202,239,255,.16);background:linear-gradient(180deg,#caefff29,#8dd7ff0e),#040a109e;color:#dff6ff;font-size:10px;font-weight:900;letter-spacing:.02em;box-shadow:inset 0 1px #ffffff14}.workflow-svg-icon{width:16px;height:16px;display:block}.workflow-option-tile strong{min-width:0;overflow-wrap:anywhere;font-size:11.5px;font-weight:850;line-height:1.2}.workflow-option-tile:hover,.workflow-option-tile:focus-visible,.workflow-option-tile.active{border-color:#8dd7ff94;background:radial-gradient(circle at 16% 0%,rgba(210,242,255,.32),transparent 44%),linear-gradient(180deg,#8dd7ff4d,#2a4a5e75),#8dd7ff1f;color:#f7fcff;box-shadow:inset 0 1px #ffffff14,0 10px 22px #00000029,0 0 0 1px #8dd7ff14}.workflow-option-tile:hover,.workflow-option-tile:focus-visible{transform:translateY(-1px)}.workflow-option-tile.active .workflow-option-icon{border-color:#e8f0f84d;background:linear-gradient(180deg,#f4fafff0,#aadaf4d6),#8dd7ff33;color:#07111c}.tint-option-grid{grid-template-columns:1fr}.finish-option-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.finish-option-tile{min-height:54px}.tint-preview{width:28px;height:28px;flex:0 0 28px;border-radius:10px;border:1px solid rgba(232,240,248,.18);background:linear-gradient(135deg,rgba(255,255,255,.28),transparent 34%),rgba(0,0,0,var(--tint-alpha));box-shadow:inset 0 1px #ffffff1f,0 6px 14px #00000029}.workflow-select-control,.workflow-color-control,.workflow-check-control{min-width:0;display:grid;gap:6px;padding:10px;border-radius:10px;border:1px solid rgba(255,255,255,.07);background:#ffffff06}.workflow-select-control{position:relative}.workflow-select-control:after{content:"";position:absolute;right:13px;bottom:18px;width:7px;height:7px;border-right:1.5px solid rgba(232,240,248,.82);border-bottom:1.5px solid rgba(232,240,248,.82);transform:rotate(45deg);pointer-events:none}.workflow-select-control span,.workflow-color-control span,.workflow-check-control span,.workflow-settings-note{color:var(--muted);font-size:12px;line-height:1.4}.workflow-select-control select{min-width:0;width:100%;min-height:38px;padding:0 34px 0 12px;border:1px solid rgba(143,173,198,.14);border-radius:10px;outline:0;background:linear-gradient(180deg,#17222eeb,#0a111af5),#8dd7ff08;color:var(--text);font-size:13px;font-weight:700;color-scheme:dark;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;box-shadow:inset 0 1px #ffffff09;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.workflow-select-control select:hover{border-color:#caefff3d;background:linear-gradient(180deg,#1d2b39f5,#0c141efa),#8dd7ff0e}.workflow-select-control select:focus-visible{border-color:#8dd7ff8f;box-shadow:inset 0 1px #ffffff0d,0 0 0 3px #8dd7ff1a}.workflow-select-control select option{background:#101923;color:#e8f0f8}.workflow-color-control{grid-template-columns:minmax(0,1fr) auto auto;align-items:center}.workflow-color-control span{color:var(--muted)}.workflow-color-control input{width:34px;height:28px;padding:0;border:0;background:transparent}.workflow-color-control strong{color:var(--text);font-size:12px}.workflow-check-control{grid-template-columns:auto minmax(0,1fr);align-items:center}.workflow-check-control input{accent-color:var(--accent)}.workflow-stitch-grid,.workflow-extra-parts{display:grid;gap:8px}.workflow-stitch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-stitch-chip,.workflow-extra-toggle{min-width:0;width:100%;border:1px solid rgba(143,173,198,.14);background:linear-gradient(180deg,#ffffff0e,#ffffff05),#080f178a;color:var(--text);cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.workflow-stitch-chip{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-height:38px;padding:8px 10px;border-radius:10px;text-align:left}.workflow-stitch-chip span{width:18px;height:18px;border-radius:999px;border:1px solid rgba(255,255,255,.24);background:var(--stitch-color);box-shadow:inset 0 1px #ffffff3d}.workflow-stitch-chip strong,.workflow-extra-toggle strong{min-width:0;overflow:hidden;color:#edf6ff;font-size:12px;font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.workflow-stitch-chip:hover,.workflow-stitch-chip:focus-visible,.workflow-stitch-chip.active,.workflow-extra-toggle:hover,.workflow-extra-toggle:focus-visible,.workflow-extra-toggle.active{border-color:#8dd7ff70;background:linear-gradient(180deg,#8dd7ff1f,#ffffff07),#0b151fc7}.workflow-extra-toggle{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:42px;padding:8px 10px;border-radius:10px;text-align:left}.workflow-extra-track{position:relative;width:42px;height:22px;border-radius:999px;background:#8fadc629;border:1px solid rgba(255,255,255,.09)}.workflow-extra-thumb{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:999px;background:#e8f0f8c2;box-shadow:0 4px 10px #0000003d;transition:transform .16s ease,background .16s ease}.workflow-extra-toggle.active .workflow-extra-track{background:#8dd7ff47;border-color:#8dd7ff61}.workflow-extra-toggle.active .workflow-extra-thumb{transform:translate(20px);background:#8dd7ff}.workflow-extra-toggle em{color:var(--muted);font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}.workflow-settings-note{margin:0}.workflow-processing-ring{animation:workflowProcessingSpin 1s linear infinite}@keyframes workflowProcessingSpin{to{transform:rotate(360deg)}}.manager-actions{gap:6px}.manager-actions .icon-action-button{width:36px;height:36px}.history-page{background:radial-gradient(circle at 10% 8%,rgba(141,215,255,.12),transparent 30%),linear-gradient(160deg,#03070d,#09111a 54%,#050a11)}.history-page-hero{display:grid;gap:8px;padding:18px 4px 4px}.history-page-hero h1{max-width:18ch;font-size:clamp(34px,5vw,64px);letter-spacing:0}@media (max-width: 720px){.workflow-bottom-dock.workflow-status-dock{max-height:none;grid-template-columns:1fr}.workflow-status-steps{width:100%;overflow-x:auto}.workflow-client-picker{min-width:100%;max-width:100%}}@media (min-width: 921px){.workflow-topbar-shell{grid-template-columns:minmax(180px,1fr) auto minmax(340px,1fr)}.workflow-topbar-group-left,.workflow-topbar-group-right{position:relative;z-index:2}.workflow-topbar-group-right{justify-content:flex-end;flex-wrap:nowrap;min-width:0}.workflow-client-picker{flex:0 1 220px;min-width:150px;max-width:220px}}@media (max-width: 920px){.workflow-topbar-shell{grid-template-columns:minmax(150px,1fr) auto minmax(300px,1fr)}.workflow-topbar-group-right{justify-content:flex-end;flex-wrap:nowrap}}.dashboard-layout.mobile-workspace .workflow-topbar-shell{display:none}@media (max-width: 720px){.workflow-topbar-shell{display:none}}.workflow-result-shell{width:100%;height:100%;min-height:0;display:grid;padding:18px;overflow:hidden}.before-after-canvas-shell{position:relative;width:100%;height:100%;min-height:clamp(360px,62vh,760px);overflow:hidden;border-radius:22px;border:1px solid rgba(143,173,198,.16);background:radial-gradient(circle at center,rgba(141,215,255,.08),transparent 46%),linear-gradient(180deg,#060b12fa,#03070cf5);cursor:ew-resize;-webkit-user-select:none;user-select:none;touch-action:none;box-shadow:inset 0 1px #ffffff0a,0 24px 60px #00000047}.before-after-canvas-shell:focus-visible{outline:2px solid rgba(141,215,255,.72);outline-offset:3px}.before-after-canvas-shell.dragging{border-color:#caefff52;box-shadow:inset 0 1px #ffffff0f,0 28px 72px #00000057,0 0 42px #8dd7ff1f}.before-after-canvas{display:block;width:100%;height:100%}.before-after-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:grid;place-items:center;align-content:center;gap:6px;padding:24px;color:var(--text);text-align:center;background:#050a1085;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.before-after-placeholder strong{font-size:1rem;letter-spacing:-.02em}.before-after-placeholder span{color:var(--muted);font-size:13px}.before-after-label{position:absolute;top:16px;z-index:3;min-height:34px;display:inline-flex;align-items:center;padding:0 12px;border-radius:999px;border:1px solid rgba(232,240,248,.12);background:#070c129e;color:#e8f0f8eb;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 10px 24px #0000002e;pointer-events:none}.before-after-label.before{left:16px}.before-after-label.after{right:16px}.before-after-handle{position:absolute;top:0;bottom:0;z-index:4;width:2px;transform:translate(-50%);background:#e8f0f8eb;box-shadow:0 0 0 1px #ffffff1f,0 0 24px #8dd7ff3d;pointer-events:none}.before-after-handle span{position:absolute;top:50%;left:50%;width:42px;height:42px;display:grid;place-items:center;border-radius:999px;transform:translate(-50%,-50%);background:linear-gradient(180deg,#f5fafff5,#c4d8e6f5);box-shadow:0 14px 34px #00000057,0 0 0 1px #ffffff3d;transition:transform .16s ease,box-shadow .16s ease}.before-after-handle span:before,.before-after-handle span:after{content:"";position:absolute;top:50%;width:7px;height:7px;border-top:2px solid #07111c;border-left:2px solid #07111c}.before-after-handle span:before{left:13px;transform:translateY(-50%) rotate(-45deg)}.before-after-handle span:after{right:13px;transform:translateY(-50%) rotate(135deg)}.before-after-canvas-shell.dragging .before-after-handle span{transform:translate(-50%,-50%) scale(1.04);box-shadow:0 18px 42px #0000006b,0 0 0 1px #ffffff47,0 0 32px #8dd7ff38}@media (max-width: 720px){.workflow-result-shell{padding:12px}.before-after-canvas-shell{min-height:320px;border-radius:18px}.before-after-label{top:12px;min-height:30px;padding:0 10px;font-size:11px}.before-after-label.before{left:12px}.before-after-label.after{right:12px}.before-after-handle span{width:38px;height:38px}.before-after-handle span:before{left:12px}.before-after-handle span:after{right:12px}}@media (max-width: 420px){.workflow-result-shell{padding:10px}.before-after-canvas-shell{min-height:280px;border-radius:16px}.before-after-label{font-size:10px}.before-after-handle span{width:34px;height:34px}.before-after-handle span:before,.before-after-handle span:after{width:6px;height:6px}.before-after-handle span:before{left:11px}.before-after-handle span:after{right:11px}}.history-preview-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:clamp(14px,4vw,40px)}.history-preview-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:radial-gradient(circle at 50% 18%,rgba(141,215,255,.14),transparent 34%),#02060ac2;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.history-preview-dialog{position:relative;z-index:1;width:min(1040px,100%);max-height:min(860px,calc(100dvh - 28px));display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;padding:16px;overflow:hidden;border-radius:22px}.history-preview-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-preview-dialog-head strong{color:var(--text);font-size:16px}.history-preview-dialog-media{min-height:0;display:grid;place-items:center;overflow:hidden;border-radius:16px;border:1px solid rgba(143,173,198,.14);background:radial-gradient(circle at center,rgba(141,215,255,.08),transparent 44%),#04090fd1}.history-preview-dialog-media img{width:100%;height:100%;max-height:calc(100dvh - 190px);object-fit:contain;display:block}@media (max-width: 720px){.history-preview-dialog{max-height:calc(100dvh - 16px);padding:12px;border-radius:18px}.history-preview-dialog-media img{max-height:calc(100dvh - 180px)}}.segmentation-stage.workflow-segmentation-stage,.segmentation-canvas-shell,.before-after-canvas-shell{min-height:0;height:100%}.workspace{min-width:0;min-height:0;height:calc(100dvh - 24px);display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden}.workspace-body,.tool-workbench,.ultra-simple-workbench,.workflow-shell{min-width:0;min-height:0;height:100%}.workspace-body{display:flex;flex-direction:column;padding:0;overflow:hidden}.tool-workbench,.ultra-simple-workbench{display:grid;grid-template-columns:minmax(0,1fr)}.workflow-shell{display:grid;grid-template-rows:64px minmax(0,1fr);gap:12px}.workflow-editor-shell{min-width:0;min-height:0;display:grid;grid-template-columns:minmax(320px,360px) minmax(0,1fr);gap:12px;align-items:stretch}.dashboard-layout.sidebar-collapsed .workflow-editor-shell:not(.mode-start){grid-template-columns:minmax(380px,430px) minmax(0,1fr)}.workflow-editor-shell.mode-start{grid-template-columns:minmax(0,1fr)}.workflow-center-column{min-width:0;min-height:0;height:100%;display:grid;grid-template-rows:minmax(0,1fr);gap:0;overflow:hidden}.workflow-stage-panel{min-width:0;min-height:0;height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;border-radius:18px;border:1px solid rgba(143,173,198,.16);background:radial-gradient(circle at 50% 0%,rgba(141,215,255,.065),transparent 42%),linear-gradient(180deg,#091019eb,#050a11f0);box-shadow:inset 0 1px #ffffff09,0 22px 52px #0000003d}.workflow-stage-screen,.workflow-upload-shell,.workflow-segmentation-stage,.workflow-result-shell{min-width:0;min-height:0;height:100%}.workflow-mode-start{width:min(1120px,100%);height:100%;margin:0 auto;display:grid;grid-template-rows:auto auto;gap:clamp(18px,3vh,34px);padding:clamp(24px,3vh,36px) clamp(16px,1.9vw,24px);align-content:center}.workflow-mode-start:after{content:none}.workflow-mode-start-head{grid-row:1;display:grid;grid-template-columns:auto minmax(260px,1fr);align-items:end;gap:clamp(14px,2vw,28px)}.workflow-mode-start-head h1{margin:0;color:var(--text);font-size:clamp(32px,3.5vw,50px);line-height:1;letter-spacing:0;white-space:nowrap}.workflow-mode-start-head p:not(.eyebrow){margin:0;max-width:58ch;color:#c2d5e7b8;font-size:14px;line-height:1.45}.workflow-mode-start-grid{grid-row:2;min-height:0;height:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(138px,160px);gap:11px;align-items:stretch;align-content:start}.workflow-mode-start-card{min-width:0;min-height:0;display:grid;align-content:space-between;gap:12px;padding:clamp(15px,1.6vw,20px);text-align:left;border-radius:14px;border:1px solid rgba(143,173,198,.14);background:linear-gradient(180deg,#ffffff0d,#ffffff05),#0c121b9e;color:var(--text);box-shadow:0 18px 38px #0000002e;transition:transform .2s ease,border-color .2s ease,background .2s ease}.workflow-mode-start-card:hover,.workflow-mode-start-card:focus-visible,.workflow-mode-start-card.active{transform:translateY(-2px);border-color:#d8e8f461;background:linear-gradient(180deg,#84bfdc1f,#ffffff06),#0c121bb8}.workflow-mode-start-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}.workflow-mode-start-icon{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:13px;border:1px solid rgba(202,239,255,.16);background:linear-gradient(180deg,#caefff24,#8dd7ff0b),#040a1094;color:#dff6ff;box-shadow:inset 0 1px #ffffff14}.workflow-mode-start-icon .workflow-svg-icon{width:22px;height:22px}.workflow-mode-start-index{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.workflow-mode-start-card:hover .workflow-mode-start-icon,.workflow-mode-start-card:focus-visible .workflow-mode-start-icon,.workflow-mode-start-card.active .workflow-mode-start-icon{border-color:#e8f0f847;background:linear-gradient(180deg,#f4faffe6,#aadaf4c7),#8dd7ff33;color:#07111c}.workflow-mode-start-card strong{font-size:clamp(17px,1.55vw,21px);line-height:1.12;letter-spacing:0}.workflow-mode-start-card small{color:#c2d5e7ad;font-size:12.5px;line-height:1.4}.workflow-upload-shell{display:grid;padding:clamp(12px,2vw,22px);overflow:hidden}.workflow-upload-grid{width:100%;height:100%;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:clamp(12px,1.6vw,18px);align-items:stretch}.workflow-upload-card,.workflow-upload-drop-card{position:relative;width:100%;height:100%;min-height:0;max-height:none;display:block;padding:0;overflow:hidden;border-radius:22px;border:1px solid rgba(143,173,198,.16);background:radial-gradient(circle at 50% 20%,rgba(141,215,255,.08),transparent 44%),linear-gradient(180deg,#0c141eeb,#050a11eb);color:var(--text);box-shadow:inset 0 1px #ffffff09,0 20px 48px #00000038}.workflow-upload-card:hover,.workflow-upload-card:focus-visible,.workflow-upload-card.dragover,.workflow-upload-drop-card:hover,.workflow-upload-drop-card:focus-visible,.workflow-upload-drop-card.dragover{border-color:#caefff47;background:radial-gradient(circle at 50% 20%,rgba(141,215,255,.12),transparent 44%),linear-gradient(180deg,#0f1a26f0,#060c14f0)}.workflow-upload-media,.workflow-upload-empty{width:100%;height:100%;min-height:inherit}.workflow-upload-media img{width:100%;height:100%;object-fit:contain;background:#03080d9e}.workflow-upload-empty{display:grid;place-items:center;align-content:center;gap:10px;padding:clamp(18px,3vw,34px);text-align:center}.workflow-upload-empty-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#79cfff14;color:var(--accent)}.workflow-upload-empty strong{max-width:18ch;margin:0;color:var(--text);font-size:clamp(18px,2vw,24px);line-height:1.12;letter-spacing:0}.workflow-upload-empty span:last-child{max-width:28ch;color:#c2d5e7bd;font-size:14px;line-height:1.45}.workflow-upload-badge,.workflow-upload-change{position:absolute;z-index:2}.workflow-upload-badge{top:14px;left:14px;height:32px;display:inline-flex;align-items:center;padding:0 11px;border-radius:999px;border:1px solid rgba(132,172,198,.22);background:#070d15e0;color:#e8f0f8eb;font-size:12px;font-weight:800}.workflow-upload-change{right:14px;bottom:14px;width:40px;height:40px;display:grid;place-items:center;border-radius:14px;border:1px solid rgba(232,240,248,.12);background:#070c12ad;color:var(--accent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.workflow-stage-status{width:min(100%,420px);min-height:42px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:6px;margin:8px auto 0;padding:5px;border-radius:14px;border:1px solid rgba(143,173,198,.14);background:#070c1380;box-shadow:inset 0 1px #ffffff08}.workflow-stage-status .workflow-status-step{min-width:0;height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 8px;border-radius:10px;border:1px solid transparent;background:transparent;color:#c2d5e7ad;white-space:nowrap}.workflow-stage-status .workflow-status-step strong{min-width:0;overflow:hidden;font-size:12px;font-weight:800;line-height:1;text-overflow:ellipsis}.workflow-stage-status .workflow-status-step.current,.workflow-stage-status .workflow-status-step.complete{border-color:#8dd7ff24;background:#8dd7ff12;color:#e8f0f8f0}.workflow-stage-status .workflow-status-step.failed{border-color:#ff8b8b29;background:#ff8b8b12;color:#ffc9c9}.workflow-stage-status .workflow-header-step-dot{width:7px;height:7px;flex:0 0 7px;border-radius:999px;background:#8fadc66b;box-shadow:0 0 0 1px #8fadc624}.workflow-stage-status .workflow-status-step.current .workflow-header-step-dot{background:#8dd7ff;box-shadow:0 0 0 1px #8dd7ff52,0 0 14px #8dd7ff75}.workflow-stage-status .workflow-status-step.complete .workflow-header-step-dot{background:#54e39a;box-shadow:0 0 0 1px #54e39a57,0 0 14px #54e39a75}.workflow-stage-status .workflow-status-step.failed .workflow-header-step-dot{background:#ff6f6f;box-shadow:0 0 0 1px #ff6f6f57,0 0 14px #ff6f6f75}.history-page-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px;align-content:start}.history-page-card{min-width:0;display:grid;grid-template-rows:auto auto auto;gap:12px;padding:12px;border-radius:18px}.history-page-card-media{position:relative;aspect-ratio:16 / 10;border-radius:14px;overflow:hidden;background:#ffffff08}.history-page-card-media img{width:100%;height:100%;object-fit:cover;display:block}.history-reference-thumb{position:absolute;right:10px;bottom:10px;width:clamp(54px,18%,82px);aspect-ratio:1;overflow:hidden;border-radius:12px;border:1px solid rgba(232,240,248,.22);background:#070c12c7;box-shadow:0 12px 28px #00000057}.history-reference-thumb:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;box-shadow:inset 0 0 0 1px #ffffff14,inset 0 -26px 30px #0000006b;pointer-events:none}.history-reference-thumb img{width:100%;height:100%;object-fit:cover}.history-reference-thumb span{position:absolute;right:6px;bottom:5px;z-index:2;color:#f5faffeb;font-size:9px;font-weight:900;letter-spacing:.12em;line-height:1;pointer-events:none}.history-reference-thumb-large{width:clamp(68px,12vw,112px);right:16px;bottom:16px}.history-page-card-copy,.history-page-card-meta{min-width:0;display:grid;gap:4px}.history-page-card-meta{grid-template-columns:auto auto;justify-content:space-between;align-items:center}.history-page-card-index{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.14em}.history-page-card-mode{min-width:0;overflow:hidden;color:#e8f0f8f5;font-size:17px;font-weight:850;line-height:1.15;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.history-page-card-copy p{min-height:20px;margin:0;overflow:hidden;color:#c2d5e7b8;font-size:13px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.history-page-card-actions{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.history-page-card-actions>*{min-width:0}.history-action-button{width:100%;height:42px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 10px;overflow:hidden;border-radius:12px;border:1px solid rgba(143,173,198,.14);background:linear-gradient(180deg,#16202bd1,#0b121bdb),#ffffff06;color:#e8f0f8e6;font-size:13px;font-weight:750;line-height:1;text-align:center;white-space:nowrap;box-shadow:inset 0 1px #ffffff09}.history-action-button .inline-icon{width:16px;height:16px;flex:0 0 16px}.history-action-button span{min-width:0;overflow:hidden;text-overflow:ellipsis}.history-action-button.primary{border-color:#8dd7ff47;background:linear-gradient(180deg,#8dd7ff47,#4d7ea052),#8dd7ff1a;color:#f4fbff}.history-action-button:hover,.history-action-button:focus-visible{border-color:#caefff57;background:linear-gradient(180deg,#23303ee0,#0d1620e6),#8dd7ff0d}.history-preview-dialog .history-page-card-actions{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width: 1280px){.workflow-editor-shell{grid-template-columns:minmax(300px,330px) minmax(0,1fr)}}@media (max-width: 920px){.workspace,.workspace-body,.tool-workbench,.ultra-simple-workbench,.workflow-shell,.workflow-editor-shell,.workflow-center-column,.workflow-stage-panel{height:auto;overflow:visible}.workflow-shell{grid-template-rows:minmax(0,1fr)}.workflow-editor-shell{grid-template-columns:1fr}.workflow-mode-start{height:auto;min-height:clamp(520px,calc(100dvh - 96px),720px);grid-template-rows:auto auto;gap:14px;padding-block:clamp(42px,7vh,72px) clamp(22px,4vh,44px);align-content:center}.workflow-mode-start:after{display:none}.workflow-mode-start-head{grid-row:auto;grid-template-columns:1fr;align-items:start;gap:8px}.workflow-mode-start-head h1{white-space:normal}.workflow-mode-start-grid{grid-row:auto;height:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto}.workflow-mode-start-card{min-height:124px}.workflow-upload-shell{overflow:visible}.workflow-upload-grid{grid-template-columns:1fr;grid-auto-rows:auto}.workflow-upload-card,.workflow-upload-drop-card{min-height:clamp(220px,42vh,380px)}}@media (max-width: 620px){.workflow-mode-start-grid,.history-page-grid{grid-template-columns:1fr}.history-page-card-actions{grid-template-columns:repeat(3,minmax(42px,1fr))}.history-action-button{height:40px;min-height:40px;padding:0 8px;font-size:12px}.history-action-button .inline-icon{width:15px;height:15px;flex-basis:15px}.workflow-upload-shell{padding:10px}.workflow-upload-card,.workflow-upload-drop-card{min-height:230px;border-radius:18px}.workflow-upload-empty strong{font-size:18px}.workflow-stage-status{width:calc(100% - 20px);margin-top:6px}.workflow-stage-status .workflow-status-step{padding:0 6px}.workflow-mode-settings{max-height:none;overflow:visible}.reangle-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.billing-layout{min-height:100dvh;padding:clamp(12px,1.6vw,22px);overflow:auto}.billing-shell{width:min(1440px,100%);min-height:calc(100dvh - clamp(24px,3.2vw,44px));margin:0 auto;display:grid;align-content:stretch;padding:clamp(16px,2vw,28px);border-radius:clamp(22px,2.4vw,34px)}.billing-stage,.billing-main-column,.billing-main-column-full{width:100%;min-width:0}.billing-main-column{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:clamp(18px,2vw,28px);align-content:stretch}.billing-header{gap:clamp(14px,1.6vw,22px)}.billing-header-row{grid-template-columns:minmax(0,1fr) minmax(240px,340px);align-items:stretch}.billing-copy h1{max-width:18ch;font-size:clamp(34px,4.2vw,62px);line-height:.96;letter-spacing:0}.billing-copy p:not(.eyebrow){max-width:62ch}.billing-status-card{align-content:center;min-height:100%;border-radius:20px}.billing-plan-grid{min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.6vw,22px);align-items:stretch;align-content:stretch;margin:0;padding:0}.billing-plan-card{min-width:0;min-height:0;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:14px;padding:clamp(16px,1.6vw,22px);border-radius:22px}.billing-plan-head{min-width:0;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}.billing-plan-head h3,.billing-plan-head p{min-width:0;overflow-wrap:anywhere}.billing-plan-list{min-height:0;align-content:start;padding-left:1rem}.billing-select-button,.billing-back-button{min-width:0;min-height:44px;white-space:normal}.sidebar{min-width:0;padding:14px;gap:12px}.sidebar-top{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:4px 4px 8px}.sidebar-top>div,.sidebar-brand-mark,.sidebar .eyebrow{min-width:0}.sidebar-brand-mark{margin:0;overflow:hidden;font-size:clamp(18px,1.45vw,24px);line-height:1.08;text-overflow:ellipsis;white-space:nowrap}.sidebar-section{min-width:0;padding:14px;border-radius:18px}.clients-section{min-height:0}.section-heading{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.section-heading h3{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manager-list{min-width:0;display:grid;gap:10px}.manager-card{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border-radius:16px}.manager-copy,.manager-name,.manager-login,.manager-subline{min-width:0}.manager-name{overflow:hidden;line-height:1.22;text-overflow:ellipsis;white-space:nowrap}.manager-login,.manager-subline{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manager-actions{display:grid;grid-auto-flow:column;gap:6px}.manager-actions .icon-action-button,.manager-history-link{width:34px;min-width:34px;height:34px;min-height:34px;padding:0;display:inline-grid;place-items:center}.account-trigger{min-width:0}.account-login-row{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-page{min-height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr);gap:clamp(12px,1.4vw,18px);padding:clamp(14px,2vw,28px);zoom:1;overflow:auto}.history-page-topbar{width:min(1320px,100%);margin:0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px;border-radius:18px}.history-page-brand{justify-self:center;min-width:0;display:inline-flex;align-items:center;gap:8px}.history-page-brand h1{margin:0;color:var(--text);font-size:clamp(18px,1.8vw,24px);font-weight:800;line-height:1.1;letter-spacing:0;white-space:nowrap}.history-page-client{justify-self:end;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-page-hero{width:min(1320px,100%);margin:0 auto;display:grid;grid-template-columns:minmax(0,.9fr) minmax(280px,.55fr);gap:clamp(18px,2vw,30px);align-items:end;padding:0 2px}.history-page-hero h1{max-width:16ch;font-size:clamp(36px,4.8vw,72px);line-height:.95;letter-spacing:0}.history-page-hero:after{content:"Результаты без промптов: просмотр, скачивание и отправка клиенту.";justify-self:end;max-width:34ch;color:#c2d5e7b8;font-size:14px;line-height:1.55}.history-page-grid,.history-page-empty{width:min(1320px,100%);margin:0 auto}.history-page-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:clamp(16px,1.8vw,24px)}.history-page-card{gap:14px;padding:14px;border-radius:20px}.history-page-card-media{border-radius:16px}.history-page-card-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.history-action-button{min-width:0}@media (min-width: 1500px){.billing-shell,.history-page-topbar,.history-page-hero,.history-page-grid,.history-page-empty{width:min(1520px,100%)}.billing-plan-grid{gap:24px}}@media (max-width: 1180px){.billing-header-row,.history-page-hero{grid-template-columns:1fr}.billing-status-card{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-status-item:not(:last-child){padding-bottom:0;padding-right:14px;border-bottom:0;border-right:1px solid rgba(132,199,255,.14)}.history-page-hero:after{justify-self:start}}@media (max-width: 980px){.billing-plan-grid{grid-template-columns:1fr}.billing-plan-card{grid-template-rows:auto}}@media (max-width: 720px){.billing-layout,.history-page{padding:10px}.billing-shell{min-height:auto;padding:12px;border-radius:22px}.billing-copy h1,.history-page-hero h1{font-size:clamp(32px,10vw,46px)}.billing-header-row,.billing-status-card{grid-template-columns:1fr}.billing-status-item:not(:last-child){padding-right:0;padding-bottom:12px;border-right:0;border-bottom:1px solid rgba(132,199,255,.14)}.billing-back-button,.billing-select-button{width:100%;justify-content:center}.sidebar{padding:10px}.sidebar-top{align-items:center}.manager-card{grid-template-columns:minmax(0,1fr)}.manager-actions{grid-auto-flow:column;justify-content:start}.history-page{gap:14px}.history-page-topbar{grid-template-columns:auto minmax(0,1fr);border-radius:16px}.history-page-brand{justify-self:start}.history-page-brand h1{font-size:18px}.history-page-client{grid-column:1 / -1;justify-self:start;max-width:100%}.history-page-hero{gap:8px}.history-page-hero:after{font-size:13px}.history-page-grid{grid-template-columns:1fr;gap:14px}.history-page-card-actions{grid-template-columns:1fr}.history-action-button{justify-content:center;gap:8px}}@media (max-width: 420px){.billing-plan-card,.history-page-card,.sidebar-section{border-radius:18px}.history-page-topbar .workflow-topbar-back span{display:inline}.history-action-button,.billing-select-button,.billing-back-button{min-height:44px;font-size:13px}}.dashboard-layout{grid-template-columns:324px minmax(0,1fr)}.dashboard-layout.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}@media (min-width: 721px){.workflow-topbar-shell{display:grid;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);align-items:center;overflow:hidden}.workflow-topbar-group-left,.workflow-topbar-group-right{min-width:0;width:auto;position:static;z-index:auto}.workflow-topbar-group-left{grid-column:1;justify-self:stretch;justify-content:flex-start;overflow:hidden}.workflow-topbar-brand{grid-column:2;justify-self:center;position:static;left:auto;top:auto;transform:none;z-index:auto;pointer-events:auto}.workflow-topbar-group-right{grid-column:3;justify-self:stretch;justify-content:flex-end;flex-wrap:nowrap;overflow:hidden}.workflow-client-picker{flex:1 1 210px;min-width:0;max-width:210px}.workflow-client-picker select{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-client-add,.workflow-topbar-group-right .metric-pill,.workflow-topbar-group-right .tool-state-chip{flex:0 0 auto;white-space:nowrap}.workflow-current-mode{min-width:0;max-width:180px}}@media (max-width: 1080px) and (min-width: 721px){.dashboard-layout:not(.tablet-sidebar) .sidebar{width:min(90vw,342px)}}@media (max-width: 720px){.dashboard-layout,.dashboard-layout.mobile-workspace,.dashboard-layout.sidebar-collapsed{grid-template-columns:1fr}}.auth-layout{--auth-layout-gap: clamp(.9rem, 1.4vw, 1.35rem);--auth-desktop-panel-height: min(860px, calc(100dvh - (var(--auth-layout-gap) * 2)));width:min(100%,1440px);margin:0 auto;gap:var(--auth-layout-gap);padding:var(--auth-layout-gap);grid-template-columns:repeat(2,minmax(0,1fr));height:auto;min-height:100dvh;overflow:visible;align-items:center}.auth-brand-column{gap:var(--auth-layout-gap);height:var(--auth-desktop-panel-height);min-height:0;grid-template-rows:minmax(0,1.24fr) minmax(11rem,.66fr);align-self:center;justify-self:stretch}.auth-brand-column>.brand-panel,.auth-brand-column>.brand-showcase-panel,.auth-layout>.auth-panel{width:100%}.auth-brand-column>.brand-panel{height:100%;justify-content:space-between}.auth-brand-column>.brand-panel .brand-panel-bottom{margin-top:0}.auth-brand-column>.brand-showcase-panel{min-height:clamp(11rem,22dvh,16rem);display:grid;align-items:stretch;justify-items:stretch;padding:clamp(.75rem,1.2vw,1rem);overflow:hidden}.auth-brand-column .auth-car-shell{width:100%;height:100%;min-height:0;padding:clamp(.5rem,1vw,.8rem)}.auth-brand-column .auth-car-image-host{height:100%;min-height:clamp(10rem,20dvh,14rem)}.auth-brand-column .auth-car-stage{transform:scale(var(--auth-car-scale, .82))}.auth-panel{height:var(--auth-desktop-panel-height);min-height:0;max-height:var(--auth-desktop-panel-height);overflow:auto;align-self:center;justify-self:stretch}.auth-panel:not(.signin-panel) .auth-form{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-panel:not(.signin-panel) .auth-form .primary-button{grid-column:1 / -1}.auth-layout>.signin-panel{gap:clamp(.75rem,1.2dvh,.95rem)}.auth-layout>.auth-panel .auth-support-card{flex:0 1 auto;margin-top:0;min-height:0}.auth-layout>.signin-panel .auth-support-card{margin-top:auto}@media (max-width: 1080px){.auth-layout{--auth-layout-gap: .85rem;width:100%;grid-template-columns:1fr;align-items:stretch;overflow:visible}.auth-brand-column,.auth-panel{height:auto;min-height:0;max-height:none;overflow:visible}.auth-brand-column{grid-template-rows:auto minmax(17rem,auto)}.auth-brand-column>.brand-showcase-panel{min-height:clamp(16rem,40vw,22rem)}.auth-brand-column .auth-car-image-host{min-height:clamp(14.5rem,36vw,20rem)}.auth-brand-column .auth-car-stage{--auth-car-scale: .86}}@media (max-width: 560px){.auth-layout{--auth-layout-gap: .6rem}.auth-brand-column>.brand-showcase-panel{min-height:clamp(13.5rem,56vw,18rem)}.auth-brand-column .auth-car-image-host{min-height:clamp(12.25rem,52vw,16.5rem)}.auth-brand-column .auth-car-stage{--auth-car-scale: .78}.auth-panel:not(.signin-panel) .auth-form{grid-template-columns:1fr}.auth-panel:not(.signin-panel) .auth-form .primary-button{grid-column:auto}}@media (max-width: 420px){.auth-layout{--auth-layout-gap: .45rem}.auth-brand-column>.brand-showcase-panel{min-height:clamp(12rem,60vw,15.5rem)}.auth-brand-column .auth-car-image-host{min-height:clamp(11rem,56vw,14.5rem)}.auth-brand-column .auth-car-stage{--auth-car-scale: .72}}
