:root{--bg-page:#f4f7fb;--bg-card:#fff;--bg-sidebar:linear-gradient(180deg,#071a3d,#020817);--bg-header:#fff;--bg-input:#fff;--bg-table-head:#f8fafc;--bg-table-row:#fff;--bg-search:#fff;--bg-tab:#fff;--bg-ghost:#fff;--bg-chip:#f1f5f9;--text-primary:#0f172a;--text-secondary:#64748b;--text-muted:#94a3b8;--text-heading:#0f172a;--text-nav:#cbd5e1;--text-tab:#334155;--text-th:#475569;--border:#e2e8f0;--border-card:#e2e8f0;--border-input:#e2e8f0;--border-tab:#e2e8f0;--border-ghost:#dbe5ff;--shadow-card:0 6px 18px #0f172a0a;--accent:#2563eb;--accent-light:#dbeafe;--accent-text:#1d4ed8}html[data-theme=dark]{--bg-page:#0d1117;--bg-card:#161b22;--bg-sidebar:linear-gradient(180deg,#0d1117,#010409);--bg-header:#161b22;--bg-input:#21262d;--bg-table-head:#1c2128;--bg-table-row:#161b22;--bg-search:#21262d;--bg-tab:#21262d;--bg-ghost:#21262d;--bg-chip:#21262d;--text-primary:#e6edf3;--text-secondary:#8b949e;--text-muted:#6e7681;--text-heading:#f0f6fc;--text-nav:#8b949e;--text-tab:#c9d1d9;--text-th:#8b949e;--border:#30363d;--border-card:#30363d;--border-input:#30363d;--border-tab:#30363d;--border-ghost:#30363d;--shadow-card:0 6px 18px #0000004d;--accent:#2f81f7;--accent-light:#1c2d4f;--accent-text:#79c0ff}*{box-sizing:border-box}body{background:var(--bg-page);color:var(--text-primary);margin:0;font-family:Inter,ui-sans-serif,system-ui,Segoe UI,Arial;transition:background .25s,color .25s}html[data-theme=dark] body{color:#e6edf3!important;background:#0d1117!important}.app{min-height:100vh;display:flex}html[data-theme=dark] .app{background:#0d1117!important}aside{background:var(--bg-sidebar);width:250px;color:var(--text-nav);flex-direction:column;height:100vh;padding:18px 14px;transition:background .25s;display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;margin-bottom:22px;display:flex}.logo,.avatar{background:var(--accent);color:#fff;border-radius:999px;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.brand b{color:#e5edff;font-size:13px}nav{flex-direction:column;gap:7px;display:flex}nav button{color:var(--text-nav);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:10px;padding:11px 12px;display:flex}nav button.active,nav button:hover{background:var(--accent);color:#fff}.profile{align-items:center;gap:10px;margin-top:auto;display:flex}.profile small{color:var(--text-muted);display:block}main{background:var(--bg-page);flex:1;padding:0 22px 28px;transition:background .25s;overflow-y:auto}html[data-theme=dark] main{background:#0d1117!important}header{background:var(--bg-header);border-bottom:1px solid var(--border);justify-content:flex-end;align-items:center;gap:18px;height:62px;padding:0 4px;transition:background .25s,border-color .25s;display:flex}html[data-theme=dark] header{background:#161b22!important;border-bottom-color:#30363d!important}html[data-theme=dark] header span,html[data-theme=dark] header div,html[data-theme=dark] header input{color:#e6edf3!important}html[data-theme=dark] header input::placeholder{color:#6e7681!important}.theme-toggle{background:var(--bg-ghost);border:1px solid var(--border);color:var(--text-primary);cursor:pointer;white-space:nowrap;border-radius:20px;align-items:center;gap:6px;padding:5px 12px;font-size:13px;font-weight:600;transition:background .2s,color .2s;display:flex}.theme-toggle:hover{background:var(--accent);color:#fff;border-color:var(--accent)}html[data-theme=dark] .theme-toggle{color:#e6edf3!important;background:#21262d!important;border-color:#30363d!important}header button{color:var(--text-primary);border:1px solid var(--border);background:0 0;padding:6px 12px;font-size:13px;font-weight:500}html[data-theme=dark] header button{color:#e6edf3!important;background:var(--bg-card)!important;border-color:#30363d!important}header input{color:var(--text-primary);background:0 0;border:none;outline:none}.search{background:var(--bg-search);border:1px solid var(--border);border-radius:9px;align-items:center;gap:8px;height:38px;padding:0 10px;display:flex}.search input{color:var(--text-primary);background:0 0;border:0;outline:0;min-width:260px}.search input::placeholder{color:var(--text-muted)}.wide{margin-left:auto}.small{width:30px;height:30px}.title{justify-content:space-between;align-items:center;margin:10px 0 18px;display:flex}.title h1{color:var(--text-heading);margin:0;font-size:24px}.title p{color:var(--text-secondary);margin:5px 0}button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;align-items:center;gap:7px;padding:10px 14px;font-weight:700;display:inline-flex}.ghost,.outline,.icon{background:var(--bg-ghost);color:var(--accent);border:1px solid var(--border-ghost)}html[data-theme=dark] .ghost,html[data-theme=dark] .outline,html[data-theme=dark] .icon{color:var(--accent)!important;background:#21262d!important;border-color:#30363d!important}.grid4,.grid5{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.grid2{grid-template-columns:1.5fr 1fr;gap:14px;margin-top:14px;display:grid}.grid3{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.card{background:var(--bg-card);border:1px solid var(--border-card);box-shadow:var(--shadow-card);border-radius:12px;padding:18px;transition:background .25s,border-color .25s}.card h3{color:var(--text-heading);margin:0 0 14px}html[data-theme=dark] .card{background:#161b22!important;border-color:#30363d!important}html[data-theme=dark] .card h3,html[data-theme=dark] .card h2,html[data-theme=dark] .card h4,html[data-theme=dark] .card p,html[data-theme=dark] .card label{color:#e6edf3!important}html[data-theme=dark] .card span{color:inherit}.stat p{color:var(--text-secondary);margin:0;font-weight:700}.stat h2{color:var(--text-heading);margin:10px 0 4px;font-size:28px}.stat span{color:#10b981;font-weight:800}.stat small{color:var(--text-muted);display:block}html[data-theme=dark] .stat h2{color:#f0f6fc!important}html[data-theme=dark] .stat p{color:#8b949e!important}.tabs{gap:8px;margin-bottom:15px;display:flex}.tabs button{background:var(--bg-tab);color:var(--text-tab);border:1px solid var(--border-tab);padding:8px 12px}.tabs button.active{background:var(--accent);color:#fff;border-color:var(--accent)}html[data-theme=dark] .tabs button{color:#8b949e!important;background:#21262d!important;border-color:#30363d!important}html[data-theme=dark] .tabs button.active{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}.toolbar{align-items:center;gap:10px;margin-bottom:12px;display:flex}.toolbar select,label input,label select,textarea{border:1px solid var(--border-input);background:var(--bg-input);color:var(--text-primary);border-radius:8px;outline:0;padding:10px}textarea{width:100%;min-height:110px}.table{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th,td{border-bottom:1px solid var(--border);text-align:left;white-space:nowrap;padding:13px 14px}th{color:var(--text-th);background:var(--bg-table-head);font-size:12px}td{color:var(--text-primary);background:var(--bg-table-row)}html[data-theme=dark] .table{background:#161b22!important;border-color:#30363d!important}html[data-theme=dark] th{color:#8b949e!important;background:#1c2128!important;border-bottom-color:#30363d!important}html[data-theme=dark] td{color:#e6edf3!important;background:#161b22!important;border-bottom-color:#21262d!important}html[data-theme=dark] tr:hover td{background:#1c2128!important}.name{align-items:center;gap:8px;font-weight:700;display:flex}.mini{background:#fde68a;border-radius:999px;place-items:center;width:26px;height:26px;display:inline-grid}.badge{background:var(--accent-light);color:var(--accent-text);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800}.hot{color:#dc2626;background:#fee2e2}.warm{color:#ea580c;background:#ffedd5}.active,.ai-replied,.lead-detected{color:#16a34a;background:#dcfce7}.paused,.pending-reply{color:#d97706;background:#fef3c7}.manual-replied{color:#7c3aed;background:#ede9fe}.blue{color:var(--accent)}html[data-theme=dark] .name{color:#e6edf3!important}html[data-theme=dark] .mini{color:#fde68a!important;background:#3f2e00!important}html[data-theme=dark] .badge{background:var(--accent-light)!important;color:var(--accent-text)!important}html[data-theme=dark] .hot{color:#f87171!important;background:#3f1010!important}html[data-theme=dark] .warm{color:#fb923c!important;background:#3f2010!important}html[data-theme=dark] .active,html[data-theme=dark] .ai-replied,html[data-theme=dark] .lead-detected{color:#4ade80!important;background:#0d2e1a!important}html[data-theme=dark] .paused,html[data-theme=dark] .pending-reply{color:#fbbf24!important;background:#2e2000!important}html[data-theme=dark] .manual-replied{color:#a78bfa!important;background:#1e1040!important}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{color:#e6edf3!important;background:#21262d!important;border-color:#30363d!important}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#6e7681!important}html[data-theme=dark] select option{color:#e6edf3!important;background:#21262d!important}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4,html[data-theme=dark] h5,html[data-theme=dark] h6{color:#f0f6fc!important}html[data-theme=dark] p{color:#c9d1d9!important}html[data-theme=dark] label{color:#8b949e!important}html[data-theme=dark] main div,html[data-theme=dark] main span,html[data-theme=dark] main p,html[data-theme=dark] main li,html[data-theme=dark] main label,html[data-theme=dark] main h1,html[data-theme=dark] main h2,html[data-theme=dark] main h3,html[data-theme=dark] main h4,html[data-theme=dark] main h5,html[data-theme=dark] main td,html[data-theme=dark] main th{color:#e6edf3!important}html[data-theme=dark] main small{color:#8b949e!important}html[data-theme=dark] main .hot{color:#f87171!important}html[data-theme=dark] main .warm{color:#fb923c!important}html[data-theme=dark] main .active,html[data-theme=dark] main .ai-replied,html[data-theme=dark] main .lead-detected{color:#4ade80!important}html[data-theme=dark] main .paused,html[data-theme=dark] main .pending-reply{color:#fbbf24!important}html[data-theme=dark] main .manual-replied{color:#a78bfa!important}html[data-theme=dark] main .badge{color:var(--accent-text)!important}html[data-theme=dark] main button[style*="background:#"],html[data-theme=dark] main button[style*="background: #"],html[data-theme=dark] main button[style*=background\:rgb],html[data-theme=dark] main button[style*="background: rgb"]{color:#fff!important}html[data-theme=dark] main a{color:#58a6ff!important}html[data-theme=dark] main a[style*="background:#"],html[data-theme=dark] main a[style*="background: #"],html[data-theme=dark] main a[style*=background\:rgb],html[data-theme=dark] main a[style*="background: rgb"]{color:#fff!important}html[data-theme=dark] main svg{color:inherit}html[data-theme=dark] main>div{background:var(--bg-page)}html[data-theme=dark] .card,html[data-theme=dark] [class*=panel],html[data-theme=dark] [class*=modal]{background:#161b22!important;border-color:#30363d!important}html[data-theme=dark] main div[style*="background:#fff"],html[data-theme=dark] main div[style*="background: #fff"],html[data-theme=dark] main div[style*="background:#ffffff"],html[data-theme=dark] main div[style*="background: #ffffff"],html[data-theme=dark] main div[style*=background\:white],html[data-theme=dark] main div[style*="background: white"],html[data-theme=dark] main div[style*="background:#f8fafc"],html[data-theme=dark] main div[style*="background: #f8fafc"],html[data-theme=dark] main div[style*="background:#fafafa"],html[data-theme=dark] main div[style*="background: #fafafa"],html[data-theme=dark] main div[style*="background:#f1f5f9"],html[data-theme=dark] main div[style*="background: #f1f5f9"],html[data-theme=dark] main div[style*="background:#f4f7fb"],html[data-theme=dark] main div[style*="background: #f4f7fb"]{color:#e6edf3!important;background:#161b22!important;border-color:#30363d!important}html[data-theme=dark] main div[style*="background:#fff"] *,html[data-theme=dark] main div[style*="background: #fff"] *,html[data-theme=dark] main div[style*="background:#ffffff"] *,html[data-theme=dark] main div[style*="background: #ffffff"] *,html[data-theme=dark] main div[style*=background\:white] *,html[data-theme=dark] main div[style*="background: white"] *,html[data-theme=dark] main div[style*="background:#f8fafc"] *,html[data-theme=dark] main div[style*="background: #f8fafc"] *,html[data-theme=dark] main div[style*="background:#fafafa"] *,html[data-theme=dark] main div[style*="background: #fafafa"] *,html[data-theme=dark] main div[style*="background:#f1f5f9"] *,html[data-theme=dark] main div[style*="background: #f1f5f9"] *,html[data-theme=dark] main div[style*="background:#f4f7fb"] *,html[data-theme=dark] main div[style*="background: #f4f7fb"] *{color:#e6edf3!important}html[data-theme=dark] main div[style*="background:#eff6ff"],html[data-theme=dark] main div[style*="background: #eff6ff"],html[data-theme=dark] main div[style*="background:#f0f9ff"],html[data-theme=dark] main div[style*="background: #f0f9ff"],html[data-theme=dark] main div[style*="background:#dbeafe"],html[data-theme=dark] main div[style*="background: #dbeafe"]{color:#93c5fd!important;background:#1c2d4f!important;border-color:#2f4a7a!important}html[data-theme=dark] main div[style*="background:#eff6ff"] *,html[data-theme=dark] main div[style*="background: #eff6ff"] *,html[data-theme=dark] main div[style*="background:#f0f9ff"] *,html[data-theme=dark] main div[style*="background: #f0f9ff"] *,html[data-theme=dark] main div[style*="background:#dbeafe"] *,html[data-theme=dark] main div[style*="background: #dbeafe"] *{color:#93c5fd!important}html[data-theme=dark] main div[style*="background:#f0fdf4"],html[data-theme=dark] main div[style*="background: #f0fdf4"],html[data-theme=dark] main div[style*="background:#dcfce7"],html[data-theme=dark] main div[style*="background: #dcfce7"]{color:#4ade80!important;background:#0d2e1a!important;border-color:#1a4d2e!important}html[data-theme=dark] main div[style*="background:#f0fdf4"] *,html[data-theme=dark] main div[style*="background: #f0fdf4"] *,html[data-theme=dark] main div[style*="background:#dcfce7"] *,html[data-theme=dark] main div[style*="background: #dcfce7"] *{color:#4ade80!important}html[data-theme=dark] main div[style*="background:#fffbeb"],html[data-theme=dark] main div[style*="background: #fffbeb"],html[data-theme=dark] main div[style*="background:#fef3c7"],html[data-theme=dark] main div[style*="background: #fef3c7"]{color:#fde68a!important;background:#2e2000!important;border-color:#4a3500!important}html[data-theme=dark] main div[style*="background:#fffbeb"] *,html[data-theme=dark] main div[style*="background: #fffbeb"] *,html[data-theme=dark] main div[style*="background:#fef3c7"] *,html[data-theme=dark] main div[style*="background: #fef3c7"] *{color:#fde68a!important}html[data-theme=dark] main div[style*="background:#fef2f2"],html[data-theme=dark] main div[style*="background: #fef2f2"],html[data-theme=dark] main div[style*="background:#fee2e2"],html[data-theme=dark] main div[style*="background: #fee2e2"]{color:#f87171!important;background:#3f1010!important;border-color:#6b1a1a!important}html[data-theme=dark] main div[style*="background:#fef2f2"] *,html[data-theme=dark] main div[style*="background: #fef2f2"] *,html[data-theme=dark] main div[style*="background:#fee2e2"] *,html[data-theme=dark] main div[style*="background: #fee2e2"] *{color:#f87171!important}html[data-theme=dark] main div[style*="background:#f3f0ff"],html[data-theme=dark] main div[style*="background: #f3f0ff"],html[data-theme=dark] main div[style*="background:#f5f3ff"],html[data-theme=dark] main div[style*="background: #f5f3ff"],html[data-theme=dark] main div[style*="background:#ede9fe"],html[data-theme=dark] main div[style*="background: #ede9fe"]{color:#c4b5fd!important;background:#1e1040!important;border-color:#3b2080!important}html[data-theme=dark] main div[style*="background:#f3f0ff"] *,html[data-theme=dark] main div[style*="background: #f3f0ff"] *,html[data-theme=dark] main div[style*="background:#f5f3ff"] *,html[data-theme=dark] main div[style*="background: #f5f3ff"] *,html[data-theme=dark] main div[style*="background:#ede9fe"] *,html[data-theme=dark] main div[style*="background: #ede9fe"] *{color:#c4b5fd!important}html[data-theme=dark] main div[style*="background:#0f172a"],html[data-theme=dark] main div[style*="background: #0f172a"],html[data-theme=dark] main div[style*="background:#1e293b"],html[data-theme=dark] main div[style*="background: #1e293b"]{background:#0d1117!important}html[data-theme=dark] .recharts-cartesian-axis-tick text{fill:#8b949e}html[data-theme=dark] .recharts-tooltip-wrapper{filter:brightness(.9)}.pie{grid-template-columns:1fr 1fr;align-items:center;display:grid}.pie p{color:var(--text-secondary)}.pie i{border-radius:999px;width:10px;height:10px;display:inline-block}.debug-input{gap:10px;margin-bottom:14px;display:flex}.debug-input input{border:1px solid var(--border-input);background:var(--bg-input);color:var(--text-primary);border-radius:8px;flex:1;padding:12px}.stage{border-bottom:1px solid var(--border);grid-template-columns:1fr 110px 70px;padding:10px 0;display:grid}.stage b{color:#16a34a}.kv{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.kv span{color:var(--text-secondary)}.reply{background:var(--accent-light);border:1px solid var(--border-ghost);color:var(--text-primary);border-radius:10px;margin-top:12px;padding:14px;line-height:1.5}.customer{grid-template-columns:340px 1fr;gap:14px;display:grid}.profileBig{text-align:center}.big{width:82px;height:82px;margin:auto;font-size:30px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips span{background:var(--accent-light);color:var(--accent-text);border:1px solid var(--border-ghost);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}.settings{grid-template-columns:1fr 1fr;gap:14px;display:grid}.settings label{color:var(--text-secondary);gap:7px;margin-bottom:14px;font-weight:700;display:grid}.ig{color:#db2777;background:#fce7f3;border-radius:6px;place-items:center;width:22px;height:22px;font-size:11px;font-weight:900;display:inline-grid}html[data-theme=dark] .ig{color:#f472b6!important;background:#3d1020!important}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}html[data-theme=dark] ::-webkit-scrollbar-track{background:#161b22}html[data-theme=dark] ::-webkit-scrollbar-thumb{background:#30363d}@media (width<=1000px){aside{width:86px}.brand b,.profile span,nav button{font-size:0}.grid4,.grid5,.grid3,.grid2,.customer,.settings,.pie{grid-template-columns:1fr}main{padding:0 12px}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spin{animation:1s linear infinite spin}@media (width<=768px){aside{width:60px;padding:12px 8px;overflow:hidden}aside .brand b,aside .profile span,aside nav button span,aside .nav-label,aside .section-label{display:none!important}aside nav button{justify-content:center;padding:10px}aside .profile{flex-direction:column;gap:4px}main{padding:0 10px 20px}.search{display:none}.grid4,.grid5,.grid3,.grid2,.customer,.settings{grid-template-columns:1fr!important}.table{overflow-x:auto}table{min-width:600px}.title{flex-direction:column;align-items:flex-start;gap:8px}.tabs{flex-wrap:wrap;gap:6px}.toolbar{flex-wrap:wrap}header{gap:10px;padding:0 8px}}@media (width<=480px){aside{z-index:1000;width:220px;height:100vh;transition:left .3s;position:fixed;top:0;left:-100%}aside.mobile-open{left:0}aside .brand b,aside .profile span,aside nav button span,aside .nav-label,aside .section-label{font-size:13px!important;display:block!important}aside nav button{justify-content:flex-start;padding:11px 12px}main{width:100%;padding:0 8px 20px}.app{flex-direction:column}header{gap:8px;height:54px;padding:0 12px}header .theme-toggle span{display:none}.title h1{font-size:18px}.grid4,.grid5{grid-template-columns:1fr 1fr!important}.grid3,.grid2,.customer,.settings{grid-template-columns:1fr!important}.card{padding:12px}.conv-list{width:100%!important}.smita-widget{bottom:10px!important;right:10px!important}.smita-widget img{width:52px!important;height:52px!important}table{min-width:500px;font-size:12px}th,td{padding:8px 10px}.bulk-action-bar{flex-wrap:wrap;gap:6px}.mobile-menu-overlay{z-index:999;background:#00000080;display:none;position:fixed;inset:0}.mobile-menu-overlay.active{display:block}}@media (width<=768px){.hamburger-btn{justify-content:center;align-items:center;background:0 0!important;border:none!important;padding:6px 8px!important;display:flex!important}.sidebar-close-btn{justify-content:center;align-items:center;font-size:18px;background:0 0!important;border:none!important;display:flex!important}aside{z-index:1000;width:220px;height:100vh;transition:left .3s;position:fixed;top:0;left:-100%}aside.mobile-open{left:0}aside .brand b,aside .profile span,aside nav button span,aside .nav-label,aside .section-label{font-size:13px!important;display:block!important}aside nav button{justify-content:flex-start;padding:11px 12px}main{width:100%;padding:0 10px 20px}.app{flex-direction:column}.mobile-menu-overlay{z-index:998;background:#00000080;position:fixed;inset:0;display:block!important}}.app,main,header,.title,.toolbar,.tabs,.card,.table,main>*{min-width:0}button,input,select,textarea{max-width:100%}button{min-height:36px}.table{-webkit-overflow-scrolling:touch;max-width:100%}@media (width>=1440px){main{padding-left:clamp(24px,2vw,42px);padding-right:clamp(24px,2vw,42px)}.card{padding:clamp(18px,1.35vw,26px)}}@media (width<=1100px){header{gap:10px}.search input{min-width:min(220px,24vw)}.title>*{min-width:0}}@media (width<=768px){html,body,#root,.app,main{max-width:100%;overflow-x:hidden}header{flex-wrap:wrap;justify-content:flex-start;height:auto;min-height:56px;padding:8px 10px}header>*{min-width:0}.app-topbar .topbar-search{display:none}.app-topbar>*{flex:none}.topbar-search-results{width:min(380px,100vw - 20px)!important}.title{margin:12px 0 14px}.title h1{overflow-wrap:anywhere}.toolbar>*{max-width:100%}.tabs{-webkit-overflow-scrolling:touch;flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.tabs button{flex:none;min-height:40px}.card{overflow-wrap:anywhere}.table{border-radius:10px}main [style*="display: flex"],main [style*=display\:flex]{flex-wrap:wrap}main [style*=grid-template-columns],main [style*=gridTemplateColumns]{grid-template-columns:minmax(0,1fr)!important}main [style*="width: 3"],main [style*=width\:3],main [style*="width: 4"],main [style*=width\:4],main [style*="width: 5"],main [style*=width\:5]{max-width:100%!important}}@media (width<=480px){main{padding:0 10px 76px}header{z-index:50;position:sticky;top:0}.app-topbar{gap:6px}.app-topbar>*{max-width:calc(100vw - 20px)}button{min-height:42px}.card{border-radius:10px}.toolbar{align-items:stretch}.toolbar>button,.toolbar>select,.toolbar>input{width:100%}.debug-input,.kv{grid-template-columns:1fr}.stage{grid-template-columns:minmax(0,1fr);gap:5px}}@media (hover:none) and (pointer:coarse){nav button,.tabs button,.theme-toggle,button{min-height:44px}.table{scrollbar-width:auto}}
