@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");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 Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");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 Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,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}:root{--bg: #f5f6fa;--surface: #ffffff;--surface-2: #f8fafc;--surface-3: #f1f5f9;--border: #e5e7eb;--border-strong: #d1d5db;--text: #0f172a;--text-2: #475569;--text-3: #94a3b8;--primary: #4f46e5;--primary-2: #4338ca;--primary-soft: #eef2ff;--primary-text: #3730a3;--success: #16a34a;--success-soft: #dcfce7;--warning: #d97706;--warning-soft: #fef3c7;--danger: #dc2626;--danger-soft: #fee2e2;--info: #0284c7;--info-soft: #e0f2fe;--violet: #7c3aed;--violet-soft: #ede9fe;--sidebar: #0f172a;--sidebar-2: #1e293b;--sidebar-text: #cbd5e1;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);--shadow: 0 1px 3px rgba(15, 23, 42, .06), 0 4px 14px rgba(15, 23, 42, .05);--shadow-lg: 0 20px 50px rgba(15, 23, 42, .18);--radius: 12px;--radius-sm: 8px;--font: "Inter Variable", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;--mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;color-scheme:light}:root[data-theme=dark]{--bg: #0b1020;--surface: #111827;--surface-2: #0f172a;--surface-3: #1e293b;--border: #1f2937;--border-strong: #334155;--text: #e5e7eb;--text-2: #9ca3af;--text-3: #64748b;--primary: #818cf8;--primary-2: #6366f1;--primary-soft: rgba(99, 102, 241, .14);--primary-text: #c7d2fe;--success: #4ade80;--success-soft: rgba(34, 197, 94, .14);--warning: #fbbf24;--warning-soft: rgba(245, 158, 11, .14);--danger: #f87171;--danger-soft: rgba(239, 68, 68, .14);--info: #38bdf8;--info-soft: rgba(14, 165, 233, .14);--violet: #a78bfa;--violet-soft: rgba(139, 92, 246, .16);--sidebar: #070b16;--sidebar-2: #111827;--shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);--shadow-lg: 0 20px 50px rgba(0, 0, 0, .5);color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,h4{margin:0;line-height:1.3;letter-spacing:-.01em}h1{font-size:22px;font-weight:700}h2{font-size:17px;font-weight:650}h3{font-size:15px;font-weight:600}code{font-family:var(--mono);font-size:.9em;background:var(--surface-3);padding:1px 5px;border-radius:5px}pre{font-family:var(--mono)}::selection{background:#6366f140}button,input,select,textarea{font:inherit;color:inherit}.shell{display:flex;min-height:100vh}.sidebar{width:250px;flex-shrink:0;background:var(--sidebar);color:var(--sidebar-text);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:30}.brand{display:flex;align-items:center;gap:10px;padding:20px 18px 18px}.brand-mark{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;background:linear-gradient(135deg,#6366f1,#4338ca);color:#fff;box-shadow:0 4px 14px #4f46e573}.brand-mark img{width:100%;height:100%;object-fit:cover;border-radius:10px}.brand-name{color:#fff;font-weight:700;font-size:15px;line-height:1.15}.brand-sub{font-size:11.5px;color:#94a3b8}.nav{padding:8px 10px;display:flex;flex-direction:column;gap:2px;flex:1;overflow-y:auto}.nav-label{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;padding:14px 10px 6px;font-weight:600}.nav a{display:flex;align-items:center;gap:11px;padding:9px 11px;border-radius:8px;color:var(--sidebar-text);font-weight:500;font-size:13.5px;transition:background .12s,color .12s}.nav a:hover{background:var(--sidebar-2);color:#fff;text-decoration:none}.nav a.active{background:#6366f12e;color:#fff;box-shadow:inset 3px 0 #818cf8}.nav a svg{width:18px;height:18px;opacity:.85}.nav .count{margin-left:auto;background:#4f46e5;color:#fff;font-size:11px;font-weight:600;padding:1px 7px;border-radius:99px}.sidebar-foot{padding:12px;border-top:1px solid rgba(148,163,184,.12)}.user-chip{display:flex;align-items:center;gap:10px;padding:8px;border-radius:10px}.user-chip .meta{min-width:0;flex:1}.user-chip .name{color:#fff;font-weight:600;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-chip .sub{font-size:11.5px;color:#94a3b8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon-btn{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;border:0;background:transparent;color:inherit;cursor:pointer;transition:background .12s}.icon-btn:hover{background:#94a3b829}.icon-btn svg{width:18px;height:18px}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:60px;display:flex;align-items:center;gap:12px;padding:0 28px;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:20}.topbar .menu-btn{display:none}.topbar-title{font-weight:600;font-size:15px}.topbar .spacer{flex:1}.content{padding:26px 28px 48px;max-width:1400px;width:100%;margin:0 auto}.content.wide{max-width:none}.content.flush{padding:0;max-width:none}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}.page-head p{margin:4px 0 0;color:var(--text-2)}.page-head .actions{display:flex;gap:8px;flex-wrap:wrap}.backdrop-nav{display:none}@media (max-width: 960px){.sidebar{position:fixed;left:0;top:0;transform:translate(-100%);transition:transform .2s}.sidebar.open{transform:none;box-shadow:var(--shadow-lg)}.backdrop-nav.open{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;z-index:25}.topbar{padding:0 14px}.topbar .menu-btn{display:inline-grid}.content{padding:18px 16px 40px}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--border)}.card-head h2,.card-head h3{display:flex;align-items:center;gap:8px}.card-head .sub{color:var(--text-2);font-size:12.5px;margin-top:2px}.card-body{padding:18px}.card-foot{padding:12px 18px;border-top:1px solid var(--border);display:flex;gap:8px;justify-content:flex-end}.grid{display:grid;gap:16px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.split{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}@media (max-width: 1180px){.split{grid-template-columns:1fr}.g4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 720px){.g2,.g3,.g4{grid-template-columns:1fr}}.row{display:flex;align-items:center;gap:10px}.row.wrap{flex-wrap:wrap}.row.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:14px}.stack.sm{gap:8px}.muted{color:var(--text-2)}.faint{color:var(--text-3)}.small{font-size:12.5px}.tiny{font-size:11.5px}.bold{font-weight:600}.mono{font-family:var(--mono)}.nowrap{white-space:nowrap}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pre{white-space:pre-wrap;word-break:break-word}.mt{margin-top:14px}.mb{margin-bottom:14px}.divider{height:1px;background:var(--border);margin:16px 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border-radius:8px;border:1px solid var(--border-strong);background:var(--surface);color:var(--text);font-weight:550;font-size:13.5px;cursor:pointer;white-space:nowrap;transition:all .12s}.btn:hover:not(:disabled){background:var(--surface-3);text-decoration:none}.btn:disabled{opacity:.55;cursor:not-allowed}.btn svg{width:16px;height:16px;flex-shrink:0}.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 1px 2px #4f46e54d}:root[data-theme=dark] .btn-primary{background:#6366f1;border-color:#6366f1}.btn-primary:hover:not(:disabled){background:var(--primary-2);border-color:var(--primary-2)}.btn-success{background:var(--success);border-color:var(--success);color:#fff}.btn-success:hover:not(:disabled){filter:brightness(.95);background:var(--success)}.btn-danger{background:var(--surface);border-color:var(--danger-soft);color:var(--danger)}.btn-danger:hover:not(:disabled){background:var(--danger-soft)}.btn-ghost{border-color:transparent;background:transparent}.btn-ghost:hover:not(:disabled){background:var(--surface-3)}.btn-soft{background:var(--primary-soft);border-color:transparent;color:var(--primary-text)}.btn-soft:hover:not(:disabled){filter:brightness(.97);background:var(--primary-soft)}.btn-sm{height:30px;padding:0 10px;font-size:12.5px;border-radius:7px}.btn-lg{height:44px;padding:0 20px;font-size:15px;border-radius:10px}.btn-block{width:100%}.field{display:flex;flex-direction:column;gap:6px}.field>label,.label{font-size:12.5px;font-weight:600;color:var(--text)}.field .hint{font-size:12px;color:var(--text-3)}.field .req{color:var(--danger);margin-left:2px}.input,.select,.textarea{width:100%;border:1px solid var(--border-strong);background:var(--surface);border-radius:8px;padding:8px 11px;font-size:13.5px;outline:none;transition:border .12s,box-shadow .12s}.input,.select{height:38px}.textarea{min-height:96px;resize:vertical;line-height:1.5}.input:focus,.select:focus,.textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #6366f129}.input::placeholder,.textarea::placeholder{color:var(--text-3)}.input-icon{position:relative}.input-icon svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--text-3);pointer-events:none}.input-icon .input{padding-left:34px}.check{display:flex;align-items:flex-start;gap:9px;cursor:pointer;font-size:13.5px}.check input{margin-top:3px;width:16px;height:16px;accent-color:var(--primary)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .full{grid-column:1 / -1}@media (max-width: 640px){.form-grid{grid-template-columns:1fr}}.switch{position:relative;width:38px;height:22px;flex-shrink:0;display:inline-block}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:99px;background:var(--border-strong);transition:.15s;cursor:pointer}.switch span:before{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.15s;box-shadow:var(--shadow-sm)}.switch input:checked+span{background:var(--primary)}.switch input:checked+span:before{transform:translate(16px)}.badge{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border-radius:99px;font-size:11.5px;font-weight:600;white-space:nowrap;background:var(--surface-3);color:var(--text-2)}.badge svg{width:12px;height:12px}.badge .dot{width:6px;height:6px;border-radius:50%;background:currentColor}.b-primary{background:var(--primary-soft);color:var(--primary-text)}.b-success{background:var(--success-soft);color:var(--success)}.b-warning{background:var(--warning-soft);color:var(--warning)}.b-danger{background:var(--danger-soft);color:var(--danger)}.b-info{background:var(--info-soft);color:var(--info)}.b-violet{background:var(--violet-soft);color:var(--violet)}.b-outline{background:transparent;border:1px solid var(--border-strong)}.table-wrap{overflow-x:auto}table.table{width:100%;border-collapse:collapse}.table th{text-align:left;font-size:11.5px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-3);padding:10px 16px;background:var(--surface-2);border-bottom:1px solid var(--border);white-space:nowrap}.table td{padding:12px 16px;border-bottom:1px solid var(--border);vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tbody tr.click{cursor:pointer}.table tbody tr.click:hover td{background:var(--surface-2)}.table .title-cell{font-weight:550;max-width:420px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:14px 16px;border-bottom:1px solid var(--border)}.toolbar .input-icon{flex:1;min-width:200px;max-width:360px}.toolbar .select{width:auto;min-width:140px}.seg{display:inline-flex;background:var(--surface-3);border-radius:9px;padding:3px;gap:2px;flex-wrap:wrap}.seg button{border:0;background:transparent;padding:5px 12px;border-radius:7px;font-size:12.5px;font-weight:550;color:var(--text-2);cursor:pointer}.seg button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow-sm)}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border);margin-bottom:20px;overflow-x:auto}.tabs button{border:0;background:none;padding:10px 14px;font-weight:550;color:var(--text-2);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px;display:flex;align-items:center;gap:7px;white-space:nowrap}.tabs button svg{width:16px;height:16px}.tabs button.on{color:var(--primary);border-bottom-color:var(--primary)}.stat{padding:18px;display:flex;gap:14px;align-items:flex-start}.stat-icon{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;flex-shrink:0}.stat-icon svg{width:20px;height:20px}.stat-value{font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.1}.stat-label{color:var(--text-2);font-size:12.5px;font-weight:500}.stat-sub{font-size:11.5px;color:var(--text-3);margin-top:3px}.bar-row{display:grid;grid-template-columns:140px 1fr 44px;gap:10px;align-items:center;font-size:13px;padding:5px 0}.bar{height:8px;background:var(--surface-3);border-radius:99px;overflow:hidden;display:flex}.bar>span{height:100%}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:100;display:grid;place-items:center;padding:20px;animation:fade .12s}.modal{background:var(--surface);border-radius:14px;box-shadow:var(--shadow-lg);width:100%;max-width:560px;max-height:calc(100vh - 40px);display:flex;flex-direction:column;animation:pop .15s}.modal.lg{max-width:820px}.modal.xl{max-width:1100px}.modal-head{padding:18px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-head p{margin:2px 0 0;color:var(--text-2);font-size:13px}.modal-body{padding:20px;overflow-y:auto}.modal-foot{padding:14px 20px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:8px}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:translateY(8px) scale(.98)}}.toasts{position:fixed;bottom:20px;right:20px;display:flex;flex-direction:column;gap:8px;z-index:200;max-width:calc(100vw - 40px)}.toast{display:flex;gap:10px;align-items:flex-start;background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--primary);padding:12px 14px;border-radius:10px;box-shadow:var(--shadow-lg);min-width:280px;max-width:420px;animation:pop .15s;font-size:13.5px}.toast.success{border-left-color:var(--success)}.toast.error{border-left-color:var(--danger)}.toast svg{width:18px;height:18px;flex-shrink:0;margin-top:1px}.empty{text-align:center;padding:48px 20px;color:var(--text-2)}.empty .ic{width:52px;height:52px;border-radius:14px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;margin:0 auto 14px}.empty h3{color:var(--text);margin-bottom:4px}.empty p{margin:0 auto 16px;max-width:420px}.spinner{width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite;display:inline-block}.spinner.lg{width:28px;height:28px;border-width:3px;color:var(--primary)}@keyframes spin{to{transform:rotate(360deg)}}.center-page{min-height:60vh;display:grid;place-items:center}.skeleton{background:linear-gradient(90deg,var(--surface-3),var(--surface-2),var(--surface-3));background-size:200% 100%;animation:shimmer 1.2s infinite;border-radius:8px}@keyframes shimmer{to{background-position:-200% 0}}.alert{display:flex;gap:10px;padding:12px 14px;border-radius:10px;font-size:13.5px;align-items:flex-start}.alert svg{width:18px;height:18px;flex-shrink:0;margin-top:1px}.alert.info{background:var(--info-soft);color:var(--info)}.alert.warn{background:var(--warning-soft);color:var(--warning)}.alert.danger{background:var(--danger-soft);color:var(--danger)}.alert.success{background:var(--success-soft);color:var(--success)}.alert .alert-text{color:var(--text)}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.auth-hero{background:radial-gradient(1200px 600px at -10% -10%,#6366f1 0%,transparent 55%),radial-gradient(900px 600px at 110% 110%,#0ea5e9 0%,transparent 50%),#0f172a;color:#e2e8f0;padding:48px 56px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-hero h1{font-size:36px;line-height:1.15;color:#fff;letter-spacing:-.02em;max-width:520px}.auth-hero p{color:#cbd5e1;font-size:15.5px;max-width:480px}.auth-feature{display:flex;gap:14px;align-items:flex-start;margin-top:18px}.auth-feature .ic{width:38px;height:38px;border-radius:10px;background:#ffffff1a;display:grid;place-items:center;flex-shrink:0}.auth-feature .ic svg{width:19px;height:19px;color:#c7d2fe}.auth-feature b{color:#fff;display:block;font-size:14.5px}.auth-feature span{color:#94a3b8;font-size:13.5px}.auth-form-wrap{display:grid;place-items:center;padding:40px 24px;background:var(--surface)}.auth-form{width:100%;max-width:380px}.auth-form h2{font-size:24px;margin-bottom:6px}@media (max-width: 900px){.auth-page{grid-template-columns:1fr}.auth-hero{display:none}}.chat-layout{display:grid;grid-template-columns:290px minmax(0,1fr);height:calc(100vh - 60px)}.chat-list{border-right:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;min-height:0}.chat-list-head{padding:14px;border-bottom:1px solid var(--border)}.chat-list-items{overflow-y:auto;flex:1;padding:8px}.chat-item{display:block;width:100%;text-align:left;border:0;background:none;padding:10px 11px;border-radius:9px;cursor:pointer;margin-bottom:2px}.chat-item:hover{background:var(--surface-3)}.chat-item.on{background:var(--primary-soft)}.chat-item .t{font-weight:550;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-item .s{font-size:11.5px;color:var(--text-3);display:flex;gap:6px;align-items:center;margin-top:3px}.chat-main{display:flex;flex-direction:column;min-height:0;background:var(--bg)}.chat-head{padding:12px 22px;border-bottom:1px solid var(--border);background:var(--surface);display:flex;align-items:center;gap:12px}.chat-scroll{flex:1;overflow-y:auto;padding:24px 22px}.chat-inner{max-width:860px;margin:0 auto;display:flex;flex-direction:column;gap:18px}.msg{display:flex;gap:12px;align-items:flex-start}.msg .av{width:34px;height:34px;border-radius:10px;flex-shrink:0;display:grid;place-items:center;font-weight:700;font-size:13px}.msg .av svg{width:18px;height:18px}.msg .bubble{padding:12px 15px;border-radius:14px;max-width:min(720px,85%);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);word-break:break-word}.msg.me{flex-direction:row-reverse}.msg.me .bubble{background:var(--primary);color:#fff;border-color:var(--primary);border-top-right-radius:4px}.msg.bot .bubble{border-top-left-radius:4px}.msg .who{font-size:11.5px;color:var(--text-3);margin-bottom:4px}.msg.me .who{text-align:right}.msg-system{align-self:center;background:var(--success-soft);color:var(--success);padding:8px 14px;border-radius:99px;font-size:13px;font-weight:500}.msg-system p{margin:0}.typing{display:inline-flex;gap:4px;padding:4px 0}.typing i{width:7px;height:7px;border-radius:50%;background:var(--text-3);animation:blink 1.2s infinite}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}@keyframes blink{0%,80%,to{opacity:.25}40%{opacity:1}}.composer{padding:14px 22px 18px;background:var(--surface);border-top:1px solid var(--border)}.composer-box{max-width:860px;margin:0 auto;border:1px solid var(--border-strong);border-radius:14px;background:var(--surface);transition:border .12s,box-shadow .12s}.composer-box:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #6366f124}.composer textarea{width:100%;border:0;outline:none;resize:none;padding:12px 14px 4px;background:transparent;min-height:48px;max-height:200px;line-height:1.5}.composer-actions{display:flex;align-items:center;gap:6px;padding:6px 8px 8px}.composer-hint{max-width:860px;margin:8px auto 0;font-size:11.5px;color:var(--text-3);text-align:center}.suggest-card{border:1px solid var(--border);border-radius:12px;background:var(--surface);margin-left:46px;max-width:720px;overflow:hidden;box-shadow:var(--shadow)}.suggest-card .sc-head{padding:12px 16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--border);background:var(--surface-2)}.suggest-card .sc-body{padding:14px 16px;font-size:13.5px}.suggest-card .sc-foot{padding:10px 16px;display:flex;gap:8px;justify-content:flex-end;border-top:1px solid var(--border)}.welcome{text-align:center;padding:40px 10px 10px}.welcome .ic{width:60px;height:60px;border-radius:18px;margin:0 auto 16px;background:linear-gradient(135deg,#6366f1,#4338ca);color:#fff;display:grid;place-items:center;box-shadow:0 10px 30px #4f46e559}.welcome .ic svg{width:28px;height:28px}.prompts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px;text-align:left}.prompt-chip{border:1px solid var(--border);background:var(--surface);padding:12px 14px;border-radius:12px;cursor:pointer;font-size:13px;display:flex;gap:10px;align-items:flex-start;transition:all .12s}.prompt-chip:hover{border-color:var(--primary);background:var(--primary-soft)}.prompt-chip svg{width:17px;height:17px;color:var(--primary);flex-shrink:0;margin-top:1px}.attach-chip{display:inline-flex;align-items:center;gap:6px;background:var(--surface-3);border-radius:8px;padding:4px 8px;font-size:12px;max-width:220px}.attach-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attach-chip button{border:0;background:none;cursor:pointer;padding:0;color:var(--text-3);display:grid}.attach-thumb{width:120px;height:84px;object-fit:cover;border-radius:8px;border:1px solid var(--border);cursor:zoom-in;background:var(--surface-3)}.msg.me .attach-chip{background:#ffffff2e;color:#fff}@media (max-width: 960px){.chat-layout{grid-template-columns:1fr}.chat-list{display:none}.chat-list.show{display:flex;position:fixed;top:60px;right:0;bottom:0;left:0;z-index:15}.prompts{grid-template-columns:1fr}.suggest-card{margin-left:0}}.md>:first-child{margin-top:0}.md>:last-child{margin-bottom:0}.md p{margin:0 0 8px}.md ul,.md ol{margin:4px 0 10px;padding-left:22px}.md li{margin:3px 0}.md h1,.md h2,.md h3,.md h4{margin:14px 0 6px;font-size:15px}.md table{border-collapse:collapse;margin:8px 0;font-size:13px}.md th,.md td{border:1px solid var(--border);padding:6px 10px;text-align:left}.md pre{background:var(--surface-3);padding:10px 12px;border-radius:8px;overflow-x:auto;font-size:12.5px}.md blockquote{margin:8px 0;padding:4px 12px;border-left:3px solid var(--border-strong);color:var(--text-2)}.msg.me .md code{background:#fff3}.tracker{display:flex;align-items:flex-start;padding:20px 18px 16px;overflow-x:auto}.tracker .step{flex:1;min-width:92px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative}.tracker .step:before{content:"";position:absolute;top:15px;left:calc(-50% + 18px);right:calc(50% + 18px);height:2px;background:var(--border-strong)}.tracker .step:first-child:before{display:none}.tracker .step.done:before,.tracker .step.current:before{background:var(--primary)}.tracker .dot{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--surface-3);color:var(--text-3);border:2px solid var(--border-strong);position:relative;z-index:1}.tracker .dot svg{width:15px;height:15px}.tracker .step.done .dot{background:var(--primary);border-color:var(--primary);color:#fff}.tracker .step.current .dot{background:var(--surface);border-color:var(--primary);color:var(--primary);box-shadow:0 0 0 5px var(--primary-soft)}.tracker .lbl{margin-top:8px;font-size:12px;font-weight:600;color:var(--text-2)}.tracker .step.current .lbl{color:var(--primary)}.tracker .when{font-size:11px;color:var(--text-3)}.timeline{position:relative;padding-left:26px}.timeline:before{content:"";position:absolute;left:10px;top:6px;bottom:6px;width:2px;background:var(--border)}.tl-item{position:relative;padding-bottom:18px}.tl-item:last-child{padding-bottom:0}.tl-dot{position:absolute;left:-26px;top:2px;width:22px;height:22px;border-radius:50%;background:var(--surface);border:2px solid var(--border-strong);display:grid;place-items:center}.tl-dot svg{width:11px;height:11px}.tl-head{font-size:13px}.tl-head b{font-weight:600}.tl-time{font-size:11.5px;color:var(--text-3)}.tl-body{margin-top:6px;background:var(--surface-2);border:1px solid var(--border);padding:10px 12px;border-radius:10px;font-size:13.5px}.tl-item.internal .tl-body{background:var(--warning-soft);border-color:transparent}.tl-item.agent .tl-body{background:var(--primary-soft);border-color:transparent}.kv{display:grid;grid-template-columns:130px minmax(0,1fr);gap:9px 12px;font-size:13.5px}.kv dt{color:var(--text-2)}.kv dd{margin:0;font-weight:500;word-break:break-word}.section-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-3);margin:0 0 8px}.block{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:12px 14px}.ai-panel{border:1px solid rgba(124,58,237,.25);background:linear-gradient(180deg,var(--violet-soft),transparent 140px),var(--surface)}.ai-panel .card-head{border-bottom-color:#7c3aed2e}.loc{display:flex;gap:10px;padding:8px 10px;border-radius:8px;background:var(--surface-2);border:1px solid var(--border);font-size:12.5px}.loc+.loc{margin-top:6px}.loc .mono{color:var(--primary-text);font-weight:600;word-break:break-all}ul.clean{margin:0;padding-left:18px}ul.clean li{margin:4px 0}.product-card{padding:18px;display:flex;flex-direction:column;gap:12px;position:relative;overflow:hidden}.product-card:after{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--accent, var(--primary))}.product-logo{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:#fff;font-weight:700;font-size:18px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:600;font-size:13px;flex-shrink:0}.avatar.sm{width:28px;height:28px;font-size:11.5px}.preview-frame{width:100%;height:560px;border:1px solid var(--border);border-radius:10px;background:#f1f5f9}.code-editor{font-family:var(--mono);font-size:12.5px;min-height:380px;line-height:1.5;-moz-tab-size:2;tab-size:2}.var-chip{font-family:var(--mono);font-size:11.5px;padding:2px 7px;border-radius:6px;background:var(--surface-3);border:1px solid var(--border);cursor:pointer}.var-chip:hover{border-color:var(--primary);color:var(--primary)}.list-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--border)}.list-row:last-child{border-bottom:0}.list-row.click{cursor:pointer}.list-row.click:hover{background:var(--surface-2)}.scroll-y{overflow-y:auto}.mobile-only{display:none!important}@media (max-width: 960px){.mobile-only{display:inline-flex!important}}.side-grid{grid-template-columns:var(--side, 300px) minmax(0,1fr);align-items:start}@media (max-width: 960px){.side-grid{grid-template-columns:1fr}}
