:root{--color-bg:#fbfbfa;--color-surface:#ffffff;--color-surface-2:#f6f6f4;--color-surface-3:#efefec;--color-border:#e7e7e3;--color-border-strong:#d6d6d1;--color-text:#1b1b18;--color-text-secondary:#57534e;--color-text-muted:#8c877e;--color-primary:#4f46e5;--color-primary-hover:#4338ca;--color-primary-fg:#ffffff;--color-accent-soft:#eef2ff;--color-accent-border:#c7d2fe;--color-danger:#dc2626;--color-danger-soft:#fef2f2;--color-warning:#b45309;--color-warning-soft:#fffbeb;--color-warning-border:#fde68a;--color-engineer:#0d9488;--color-bubble-user:#eef2ff;--color-bubble-assistant:#f4f4f2;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-full:999px;--shadow-sm:0 1px 2px rgba(17,17,20,0.06),0 1px 3px rgba(17,17,20,0.04);--shadow-md:0 4px 12px rgba(17,17,20,0.08),0 2px 4px rgba(17,17,20,0.04);--shadow-lg:0 12px 32px rgba(17,17,20,0.14);--font-sans:var(--font-inter),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;--font-mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;--header-height:56px;--ring:0 0 0 3px color-mix(in srgb,var(--color-primary) 35%,transparent)}@media (prefers-color-scheme:dark){:root:not([data-theme]){--color-bg:#0b0b0d;--color-surface:#151518;--color-surface-2:#1c1c20;--color-surface-3:#26262b;--color-border:#2a2a30;--color-border-strong:#3a3a42;--color-text:#ededed;--color-text-secondary:#b1aca5;--color-text-muted:#7d776e;--color-primary:#6366f1;--color-primary-hover:#818cf8;--color-primary-fg:#ffffff;--color-accent-soft:#1d1b3a;--color-accent-border:#312e62;--color-danger:#f87171;--color-danger-soft:#2a1517;--color-warning:#fbbf24;--color-warning-soft:#241c08;--color-warning-border:#4a3a12;--color-engineer:#2dd4bf;--color-bubble-user:#25244a;--color-bubble-assistant:#1f1f24;--shadow-sm:0 1px 2px rgba(0,0,0,0.5);--shadow-md:0 4px 14px rgba(0,0,0,0.5);--shadow-lg:0 14px 40px rgba(0,0,0,0.6)}}[data-theme=dark]{--color-bg:#0b0b0d;--color-surface:#151518;--color-surface-2:#1c1c20;--color-surface-3:#26262b;--color-border:#2a2a30;--color-border-strong:#3a3a42;--color-text:#ededed;--color-text-secondary:#b1aca5;--color-text-muted:#7d776e;--color-primary:#6366f1;--color-primary-hover:#818cf8;--color-primary-fg:#ffffff;--color-accent-soft:#1d1b3a;--color-accent-border:#312e62;--color-danger:#f87171;--color-danger-soft:#2a1517;--color-warning:#fbbf24;--color-warning-soft:#241c08;--color-warning-border:#4a3a12;--color-engineer:#2dd4bf;--color-bubble-user:#25244a;--color-bubble-assistant:#1f1f24;--shadow-sm:0 1px 2px rgba(0,0,0,0.5);--shadow-md:0 4px 14px rgba(0,0,0,0.5);--shadow-lg:0 14px 40px rgba(0,0,0,0.6)}*,:after,:before{box-sizing:border-box}*{margin:0}html{-webkit-text-size-adjust:100%}body{min-height:100dvh;background:var(--color-bg);color:var(--color-text);font-family:var(--font-sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}h1,h2,h3,h4,h5,h6{line-height:1.2;font-weight:650;letter-spacing:-.01em}a{color:var(--color-primary);text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer}button,input,textarea{font-family:inherit}:focus-visible{outline:none;box-shadow:var(--ring);border-radius:var(--radius-sm)}::selection{background:color-mix(in srgb,var(--color-primary) 25%,transparent)}*{scrollbar-width:thin;scrollbar-color:var(--color-border-strong) transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--color-border-strong);border-radius:var(--radius-full);border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:var(--color-text-muted);background-clip:padding-box}.app-shell{display:flex;flex-direction:column;min-height:100dvh}.app-header{position:-webkit-sticky;position:sticky;top:0;z-index:50;height:var(--header-height);flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 clamp(1rem,4vw,2rem);border-bottom:1px solid var(--color-border);background:color-mix(in srgb,var(--color-surface) 80%,transparent);-webkit-backdrop-filter:saturate(180%) blur(12px);backdrop-filter:saturate(180%) blur(12px)}.app-brand{display:inline-flex;align-items:center;gap:.55rem;font-weight:700;font-size:1.0625rem;letter-spacing:-.02em;color:var(--color-text)}.app-brand:hover{text-decoration:none}.app-brand-mark{width:1.5rem;height:1.5rem;border-radius:var(--radius-sm);background:linear-gradient(135deg,var(--color-primary),color-mix(in srgb,var(--color-primary) 55%,#a855f7));box-shadow:var(--shadow-sm)}.app-header-actions{display:flex;align-items:center;gap:.5rem}.app-main{flex:1 1;min-height:0;display:flex;flex-direction:column}.btn-ghost{padding:.45rem .85rem;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:var(--color-text-secondary);font-size:.9rem;font-weight:550}.btn-ghost:hover{background:var(--color-surface-2);color:var(--color-text);text-decoration:none}.btn-primary{padding:.45rem .95rem;border:1px solid transparent;border-radius:var(--radius-md);background:var(--color-primary);color:var(--color-primary-fg);font-size:.9rem;font-weight:600;box-shadow:var(--shadow-sm);transition:background .12s ease,transform .12s ease}.btn-primary:hover{background:var(--color-primary-hover)}.btn-primary:active{transform:translateY(1px)}.theme-toggle{gap:2px;padding:2px;border:1px solid var(--color-border);border-radius:var(--radius-full);background:var(--color-surface-2)}.theme-toggle,.theme-toggle-option{display:inline-flex;align-items:center}.theme-toggle-option{justify-content:center;width:1.85rem;height:1.85rem;padding:0;border:1px solid transparent;border-radius:var(--radius-full);background:transparent;color:var(--color-text-muted);transition:background .12s ease,color .12s ease}.theme-toggle-option:hover{color:var(--color-text)}.theme-toggle-option[aria-pressed=true]{background:var(--color-surface);color:var(--color-text);box-shadow:var(--shadow-sm)}.theme-toggle-option svg{width:1rem;height:1rem}.auth-center{flex:1 1;display:flex;align-items:center;justify-content:center;padding:2rem 1rem}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}.__className_f367f3{font-family:Inter,Inter Fallback;font-style:normal}.__variable_f367f3{--font-inter:"Inter","Inter Fallback"}