:root{--lightningcss-light:initial;--lightningcss-dark: ;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--c-bg:#f7f7f9;--c-surface:#fff;--c-ink:#17181c;--c-muted:#6b7280;--c-line:#e8e9ee;--c-accent:#c9376b;--c-accent-2:#e8628f;--c-accent-ink:#fff;--c-accent-soft:#fbe8ef;--c-ok:#1f8a4c;--c-ok-soft:#e3f5ea;--c-warn:#8a5a00;--c-warn-soft:#fdf1dc;--c-danger:#b3261e;--c-danger-soft:#fbe3e1;--c-focus:#4f46e5;--c-video:#000;--c-cream:#fff6f0;--c-cream-bg:#fff8f3;--c-gold:#c99a4e;--c-gold-soft:#fbf1df;--font-display:"Onest", "Montserrat", "Inter", sans-serif;--font-text:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;--g-hero:linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-2) 100%);--r-1:12px;--r-2:16px;--r-3:20px;--r-4:24px;--e-1:0 1px 2px #17181c0a, 0 6px 20px #17181c0f;--e-2:0 10px 30px #17181c24;--e-hero:0 12px 28px #c9376b52;--c-tap:48px;--dur:.18s;--safe-t:env(safe-area-inset-top,0px);--safe-b:env(safe-area-inset-bottom,0px);--bg:var(--c-cream-bg);--bg-soft:#f6ece5;--card:var(--c-surface);--card-2:#fffcfa;--ink:var(--c-ink);--ink-2:#3f4148;--muted:var(--c-muted);--line:#efe4de;--line-soft:#f6efea;--accent:var(--c-accent);--accent-2:var(--c-accent-2);--accent-ink:var(--c-accent-ink);--accent-soft:var(--c-accent-soft);--gold:var(--c-gold);--gold-soft:var(--c-gold-soft);--accent-text:#b02e5e;--muted-2:#5b6170;--ok:var(--c-ok);--ok-soft:var(--c-ok-soft);--warn:var(--c-warn);--warn-soft:var(--c-warn-soft);--err:var(--c-danger);--err-soft:var(--c-danger-soft);--pastel-teal:var(--c-ok-soft);--pastel-teal-ink:#1f6b3f;--pastel-orange:var(--c-gold-soft);--pastel-orange-ink:#7a5a1e;--pastel-pink:var(--c-accent-soft);--pastel-pink-ink:#a12a56;--pastel-dark:var(--c-accent);--pastel-dark-ink:#fff;--radius:var(--r-4);--radius-sm:var(--r-2);--shadow:var(--e-1);--shadow-lg:var(--e-2);--tap:var(--c-tap);font-family:var(--font-text);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body{overscroll-behavior-y:none}body{background:var(--bg);color:var(--ink);min-height:100vh;margin:0;font-size:15px;line-height:1.5}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}a:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}@media (hover:hover){.btn:hover:not(:disabled){filter:brightness(.96)}.nav button:hover{opacity:.7}.nav button.active:hover{opacity:1}.sheet-item:hover{background:var(--bg-soft)}.tile.tappable:hover{border-color:var(--muted)}.seg button:hover:not(.active){color:var(--ink)}}input,textarea,select{font:inherit;color:var(--ink)}h1,h2,h3{line-height:1.25}.app-shell{display:block}@media (min-width:900px){.app-shell{align-items:flex-start;display:flex}}.shell{flex:1;min-width:0;max-width:1080px;margin:0 auto;padding:0 14px 96px}@media (min-width:900px){.shell{margin:0;padding-bottom:40px;padding-left:28px;padding-right:28px}}.sidebar{display:none}@media (min-width:900px){.sidebar{border-right:1px solid var(--line);flex-direction:column;flex:none;width:240px;height:100vh;padding:20px 12px;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar .logo{margin-bottom:20px;padding:0 8px}}.sidebar-nav{flex-direction:column;flex:1;gap:1px;display:flex}.sidebar-nav button{border-radius:var(--radius-sm);min-height:40px;color:var(--ink-2);text-align:left;background:0 0;border:none;align-items:center;gap:11px;padding:9px 11px;font-size:14px;font-weight:600;display:flex}.sidebar-nav button svg{width:18px;height:18px;color:var(--muted);flex:none}.sidebar-nav button span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sidebar-nav button.active{background:var(--accent-soft);color:var(--accent-text)}.sidebar-nav button.active svg{color:var(--accent)}.sidebar-nav .dot{margin:0 0 0 auto;position:static}@media (hover:hover){.sidebar-nav button:hover:not(.active){background:var(--bg-soft);color:var(--ink)}}.sidebar-divider{background:var(--line);flex:none;height:1px;margin:9px 3px}.sidebar-logout{text-align:left;border-radius:var(--radius-sm);min-height:40px;color:var(--muted);background:0 0;border:none;flex:none;margin-top:6px;padding:9px 11px;font-size:13px;font-weight:600}@media (hover:hover){.sidebar-logout:hover{background:var(--bg-soft);color:var(--ink)}}@media (min-width:900px){.app-shell .topbar .logo,.app-shell .topbar-actions,.app-shell .nav{display:none}}.topbar{z-index:20;padding:calc(env(safe-area-inset-top,0px) + 14px) 0 12px;background:var(--bg);align-items:center;gap:12px;display:flex;position:sticky;top:0}.logo{font-family:var(--font-display);letter-spacing:-.02em;align-items:center;gap:9px;font-weight:800;line-height:1.05;display:flex}.logo-mark{background:var(--accent);width:34px;height:34px;box-shadow:var(--shadow);border-radius:11px;flex:none;place-items:center;display:grid}.logo-mark svg{width:19px;height:19px}.logo-text{flex-direction:column;display:flex}.logo-text b{font-size:15px}.logo-text span{color:var(--muted);font-size:11px;font-weight:500}.topbar-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.nav{z-index:30;padding:10px 10px calc(env(safe-area-inset-bottom,0px) + 10px);background:var(--card);border-radius:32px 32px 0 0;gap:2px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 30px #282a290d}.nav button{min-width:0;min-height:var(--tap);border-radius:var(--radius-sm);color:var(--ink);opacity:.4;background:0 0;border:none;flex-direction:column;flex:1;align-items:center;gap:4px;padding:5px 2px;font-size:10px;font-weight:600;transition:opacity .18s,transform .18s;display:flex;position:relative}.nav button svg{width:21px;height:21px}.nav button:active{transform:scale(.93)}.nav button.active{opacity:1}.nav-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.dot{background:var(--err);color:#fff;border-radius:8px;min-width:16px;height:16px;margin-left:4px;padding:0 4px;font-size:10px;font-weight:700;line-height:16px;position:absolute;top:3px;left:50%}@media (min-width:900px){.nav{background:0 0;border:none;gap:3px;margin-left:auto;padding:0;position:static}.nav button{flex-direction:row;flex:none;gap:7px;min-height:0;padding:8px 13px;font-size:13px}.nav button svg{width:16px;height:16px}.dot{margin:0;position:static}}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:12px;padding:16px;animation:.32s cubic-bezier(.2,.8,.3,1) both rise}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){*{transition-duration:1ms!important;animation-duration:1ms!important}}.card h2{font-family:var(--font-display);letter-spacing:-.015em;align-items:center;gap:8px;margin:0 0 4px;font-size:18px;font-weight:800;display:flex}.card h2 svg{width:18px;height:18px;color:var(--muted)}.hint{color:var(--muted);margin:0 0 14px;font-size:13px}.day-nav{touch-action:pan-y;justify-content:center;align-items:center;gap:8px;display:flex}.day-nav h2{text-align:center;flex:none;justify-content:center;min-width:118px;margin:0}.day-nav-btn{background:var(--bg-soft);width:32px;height:32px;color:var(--ink-2);border:none;border-radius:50%;flex:none;place-items:center;transition:opacity .16s,transform .16s;display:grid}.day-nav-btn svg{width:15px;height:15px}.day-nav-btn.back svg{transform:scaleX(-1)}.day-nav-btn:active:not(:disabled){transform:scale(.88)}.day-nav-btn:disabled{opacity:.3;cursor:default}@media (hover:hover){.day-nav-btn:hover:not(:disabled){background:var(--line)}}.tiles{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}@media (min-width:620px){.tiles{grid-template-columns:repeat(4,1fr)}}.tiles.fit{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.tile{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--card-2);flex-direction:column;justify-content:center;gap:3px;min-height:82px;padding:13px 14px;display:flex}.tile-value{font-family:var(--font-display);letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:24px;font-weight:800}.tile-label{color:var(--muted);font-size:12px;font-weight:500}.tile.hero{background:var(--g-hero);color:var(--accent-ink);box-shadow:var(--e-hero);border-color:#0000;grid-column:span 2}.tile.hero .tile-value{font-size:30px}.tile.hero .tile-label{color:var(--accent-ink);opacity:.78}.tile.warn{border-color:var(--warn);background:var(--warn-soft)}.tile.warn .tile-value{color:var(--warn)}.tile.warn .tile-label{color:var(--muted-2)}.tile.tappable{cursor:pointer;text-align:left;transition:transform .18s}.tile.tappable:active{transform:scale(.98)}.tile.stat{border:none;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:10px;min-height:108px;padding:14px}.tile.stat.teal{background:var(--pastel-teal)}.tile.stat.orange{background:var(--pastel-orange)}.tile.stat.pink{background:var(--pastel-pink)}.tile.stat.dark{background:var(--pastel-dark)}.tile.stat.dark .tile-value,.tile.stat.dark .tile-label{color:var(--pastel-dark-ink)}.tile.stat .tile-value{font-size:20px}.tile.stat .tile-label{color:var(--muted-2);font-size:12px}.tile.stat .tile-text{flex-direction:column-reverse;gap:1px;display:flex}.tile.stat .icon-circle{background:#ffffff8c;width:46px;height:46px}.tile.stat.dark .icon-circle{background:#ffffff24}.tile.stat .icon-circle svg{width:22px;height:22px}.tile.stat.tappable{box-shadow:var(--shadow)}.tile.stat.tappable:active{transform:scale(.97)}.bars{align-items:flex-end;gap:4px;height:96px;display:flex}.bars>div{text-align:center;flex:1;min-width:0}.bar{background:var(--accent);border-radius:4px 4px 2px 2px;min-height:3px}.bar-day{color:var(--muted);margin-top:4px;font-size:10px}.field{margin-bottom:13px;display:block}.field>span{color:var(--muted);margin-bottom:5px;font-size:13px;font-weight:500;display:block}.field input,.field textarea,.field select{width:100%;min-height:var(--tap);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card-2);padding:10px 13px;font-size:16px;transition:border-color .18s,box-shadow .18s}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.field textarea{resize:vertical;min-height:96px;line-height:1.5}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.row .field{flex:1;min-width:150px;margin-bottom:0}.btn{min-height:var(--tap);background:var(--accent);color:var(--accent-ink);box-shadow:var(--shadow);border:none;border-radius:999px;padding:10px 20px;font-weight:600;transition:transform .16s,opacity .16s}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.45;cursor:default;box-shadow:none;transform:none}.btn.ghost{background:var(--accent-soft);color:var(--accent-text);box-shadow:none}.btn.quiet{background:var(--bg-soft);color:var(--ink-2);box-shadow:none}.btn.small{min-height:34px;padding:6px 14px;font-size:13px}.btn.danger{background:var(--err-soft);color:var(--err);box-shadow:none}.btn.wide{width:100%}.btn.outline{box-shadow:none;border:1px solid var(--line);color:var(--ink);background:0 0}.btn{justify-content:center;align-items:center;gap:7px;display:inline-flex}.btn-icon{display:inline-flex}.btn-icon svg{width:15px;height:15px}.icon-circle{border-radius:50%;flex:none;place-items:center;width:40px;height:40px;display:grid}.icon-circle svg{width:19px;height:19px}.icon-circle.teal{background:var(--pastel-teal);color:var(--pastel-teal-ink)}.icon-circle.orange{background:var(--pastel-orange);color:var(--pastel-orange-ink)}.icon-circle.pink{background:var(--pastel-pink);color:var(--pastel-pink-ink)}.icon-circle.dark{background:var(--pastel-dark);color:var(--pastel-dark-ink)}.icon-circle.sm{width:34px;height:34px}.icon-circle.sm svg{width:16px;height:16px}.list{flex-direction:column;display:flex}.list-row{border-top:1px solid var(--line-soft);align-items:center;gap:12px;padding:12px 2px;display:flex}.list-row:first-child{border-top:none}.list-main{flex:1;min-width:0}.list-title{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:600;overflow:hidden}.list-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:13px;overflow:hidden}.list-chips{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.list-chips:empty{display:none}.list-actions{flex:none;gap:6px;display:flex}@media (max-width:560px){.list-row{flex-direction:column;align-items:stretch}.list-actions{justify-content:flex-end}}.person{align-items:center;gap:11px;min-width:0;display:flex}.avatar{object-fit:cover;background:var(--bg-soft);border-radius:50%;flex:none;place-items:center;display:grid}.avatar-letter{letter-spacing:-.02em;font-weight:700;font-size:inherit}.person-text{min-width:0}.person-name{align-items:center;gap:6px;min-width:0;font-size:15px;font-weight:600;display:flex}.person-name>:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.person-note{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:13px;overflow:hidden}.channel{flex:none;display:inline-flex}.channel svg{width:14px;height:14px}.channel-ig{color:#c13584}.channel-fb{color:#0084ff}.channel-web{color:#8a6d3b;font-size:11px;font-weight:600;line-height:14px}.media-row{align-items:flex-start;gap:12px;display:flex}@media (max-width:560px){.media-row{flex-direction:column}}.media-preview-player{flex:none;width:100%;max-width:260px}@media (max-width:560px){.media-preview-player{max-width:none}}.thumb{object-fit:cover;border:1px solid var(--line);background:var(--bg-soft);cursor:zoom-in;border-radius:8px;flex:none;width:46px;height:46px}.lightbox{z-index:50;cursor:zoom-out;background:#0f1114db;place-items:center;padding:24px;animation:.15s both fade;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.lightbox img{max-width:100%;max-height:100%;box-shadow:var(--shadow-lg);border-radius:10px}.lightbox-close{top:calc(env(safe-area-inset-top,0px) + 16px);color:#fff;background:#ffffff29;border:none;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:absolute;right:16px}.lightbox-close svg{width:18px;height:18px}@keyframes fade{0%{opacity:0}}.sheet-overlay{z-index:55;background:#0f111466;align-items:flex-end;animation:.15s both fade;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}@media (min-width:900px){.sheet-overlay{justify-content:center;align-items:center}}.sheet{background:var(--card);width:100%;padding:8px 10px calc(env(safe-area-inset-bottom,0px) + 12px);box-shadow:var(--shadow-lg);border-radius:18px 18px 0 0;animation:.2s cubic-bezier(.2,.8,.3,1) both sheet-up}@media (min-width:900px){.sheet{border-radius:16px;width:320px;padding:10px;animation:none}}@keyframes sheet-up{0%{transform:translateY(100%)}}.sheet-handle{background:var(--line);border-radius:2px;width:36px;height:4px;margin:6px auto 10px}@media (min-width:900px){.sheet-handle{display:none}}.sheet-item{width:100%;min-height:var(--tap);border-radius:var(--radius-sm);color:var(--ink);text-align:left;background:0 0;border:none;align-items:center;gap:12px;padding:10px 14px;font-size:15px;font-weight:600;display:flex}.sheet-item svg{width:19px;height:19px;color:var(--muted);flex:none}.sheet-item.active{background:var(--accent-soft);color:var(--accent-text)}.sheet-item.active svg{color:var(--accent)}.toast-host{left:0;right:0;bottom:calc(var(--tap) + env(safe-area-inset-bottom,0px) + 18px);z-index:60;pointer-events:none;flex-direction:column;align-items:center;gap:8px;padding:0 16px;display:flex;position:fixed}@media (min-width:900px){.toast-host{bottom:24px}}.toast{background:var(--ink);color:var(--bg);box-shadow:var(--shadow-lg);text-align:center;border-radius:999px;max-width:100%;padding:11px 18px;font-size:14px;font-weight:600;animation:.22s cubic-bezier(.2,.8,.3,1) both toast-in}.toast.toast-error{background:var(--err);color:#fff}.toast.toast-action{pointer-events:auto;align-items:center;gap:10px;padding-right:8px;display:inline-flex}.toast-undo{color:inherit;font:inherit;white-space:nowrap;background:#ffffff29;border:none;border-radius:999px;min-height:36px;padding:0 14px;font-weight:700}.toast-undo:focus-visible{outline-color:#fff}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)scale(.96)}}.list-amount{font-family:var(--font-display);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:16px;font-weight:800}.chip-err{background:var(--err-soft);color:var(--err)}.chip-icon{display:inline-flex}.chip-icon svg{width:14px;height:14px}.chip-ok{background:var(--ok-soft);color:var(--ok)}.chip-warn{background:var(--warn-soft);color:var(--warn)}.seg{background:var(--bg-soft);border-radius:12px;gap:4px;padding:4px;display:flex;overflow-x:auto}.seg button{white-space:nowrap;min-height:36px;color:var(--muted);background:0 0;border:none;border-radius:9px;flex:1;padding:6px 12px;font-size:13px;font-weight:600;transition:background .18s,color .18s}.seg button.active{background:var(--card);color:var(--ink);box-shadow:var(--shadow)}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:0 10px 8px;font-size:11px;font-weight:600}td{border-top:1px solid var(--line-soft);vertical-align:middle;padding:11px 10px}tbody tr:first-child td{border-top:none}@media (max-width:719px){table,thead,tbody,tr,td{width:100%;display:block}thead{display:none}tr{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card-2);margin-bottom:9px;padding:5px 3px}td{border:none;flex-wrap:wrap;align-items:center;gap:10px;padding:6px 11px;display:flex}td:before{content:attr(data-label);text-transform:uppercase;letter-spacing:.05em;min-width:92px;color:var(--muted);flex:none;font-size:11px;font-weight:600}}.chip{background:var(--bg-soft);color:var(--ink-2);border-radius:999px;align-items:center;gap:6px;margin:3px 4px 3px 0;padding:3px 10px;font-size:12px;font-weight:600;display:inline-flex}.chip button{color:inherit;background:0 0;border:none;padding:0;font-size:15px;line-height:1}.state{border-radius:999px;padding:3px 9px;font-size:12px;font-weight:600;display:inline-block}.state.DONE{background:var(--ok-soft);color:var(--ok)}.state.ACTIVE{background:var(--accent-soft);color:var(--accent)}.state.WAITING{background:var(--warn-soft);color:var(--warn)}.state.FAILED{background:var(--err-soft);color:var(--err)}.funnel-meta{color:var(--muted);font-size:13px}.funnel-item{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0;display:flex}.funnel-item:first-of-type{border-top:none}.funnel-name{font-weight:600}.spacer{flex:1}.toggle{align-items:center;gap:8px;font-size:14px;display:flex}.msg{border-radius:var(--radius-sm);margin-bottom:12px;padding:11px 14px;font-size:14px}.msg.err{background:var(--err-soft);color:var(--err)}.msg.ok{background:var(--ok-soft);color:var(--ok)}.empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:10px;padding:30px 16px;display:flex}.empty-mark{margin-bottom:8px;font-size:30px}.empty-text{font-size:14px}.skeleton{border-radius:var(--radius-sm);background:linear-gradient(90deg, var(--bg-soft) 25%, var(--line-soft) 37%, var(--bg-soft) 63%);background-size:400% 100%;height:82px;animation:1.3s linear infinite shimmer}@keyframes shimmer{0%{background-position:100% 0}to{background-position:0 0}}.step{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card-2);margin-bottom:10px;padding:14px}.step-head{flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:10px;display:flex}.step-num{background:var(--accent-soft);width:26px;height:26px;color:var(--accent);border-radius:9px;flex:none;place-items:center;font-size:13px;font-weight:700;display:grid}.login{place-items:center;min-height:100vh;padding:24px;display:grid}.login .card{text-align:center;width:100%;max-width:360px}.login .logo{justify-content:center;margin-bottom:16px}.login-art{justify-content:center;margin-bottom:6px;display:flex}.hero-art{opacity:.92;position:absolute;top:10px;right:12px}.tile.hero{position:relative;overflow:hidden}.check-note{word-break:break-word;flex:100%;font-size:13px;line-height:1.45}.check-note.ok{color:var(--ok)}.check-note.err{color:var(--err)}.sheet-overlay:has(.dialog){justify-content:center;align-items:center;padding:20px}.dialog{background:var(--card);width:100%;max-width:400px;box-shadow:var(--shadow-lg);border-radius:18px;padding:20px 20px 16px;animation:.2s cubic-bezier(.2,.8,.3,1) both toast-in}.dialog-title{letter-spacing:-.01em;margin:0 0 8px;font-size:17px;font-weight:700}.dialog-message{color:var(--muted);margin:0 0 18px;font-size:14px;line-height:1.45}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.dialog-actions .btn{min-width:110px}.card.soft{background:var(--bg);box-shadow:none;animation:none}.card.soft h3{margin:0 0 4px;font-size:15px}.card.soft textarea{box-sizing:border-box;width:100%;font:inherit;border:1px solid var(--line);background:var(--card);color:inherit;resize:vertical;border-radius:10px;padding:10px 12px}.dialog-input{box-sizing:border-box;width:100%;min-height:var(--tap,44px);border:1px solid var(--line);background:var(--card);color:inherit;font:inherit;border-radius:12px;margin:4px 0 14px;padding:10px 12px;font-size:16px}.radio-group{flex-direction:column;gap:8px;margin:6px 0 4px;display:flex}.radio-group .toggle{margin:0}.bento{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}@media (min-width:720px){.bento{grid-template-columns:repeat(5,1fr)}}.bento .tile.hero{grid-column:span 2;gap:6px;min-height:140px}.bento .tile.hero .tile-value{font-size:40px;line-height:1}.tile-deltas{opacity:.92;flex-wrap:wrap;gap:4px 14px;margin-top:4px;font-size:12px;display:flex}.delta b{font-family:var(--font-display);font-weight:800}.delta.up b:before{content:"↑ "}.delta.down b:before{content:"↓ "}.tile.stat.urgent{box-shadow:inset 0 0 0 2px var(--accent)}@media (max-width:719px){.bento>.tile.stat:last-child{grid-column:span 2}}.spark-row{border-radius:var(--radius-sm);background:var(--card-2);border:1px solid var(--line);margin-top:12px;padding:10px 12px 6px}.sparkline{display:block}.spark-caption{color:var(--muted);justify-content:space-between;margin-top:4px;font-size:12px;display:flex}.spark-caption b{color:var(--ink);font-family:var(--font-display);font-weight:800}.queue{flex-direction:column;gap:10px;display:flex}.queue-card{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card-2);flex-direction:column;gap:8px;padding:14px;display:flex}.queue-card.warn{background:var(--warn-soft);border-color:#0000}.queue-card.warn .queue-sub{color:var(--muted-2)}.queue-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.queue-who{font-weight:700}.queue-time{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:12px}.queue-title{font-size:15px;font-weight:600;line-height:1.35}.queue-sub{color:var(--muted);font-size:13px;line-height:1.4}.queue-question{white-space:pre-wrap;word-break:break-word;font-size:15px;line-height:1.45}.queue-actions{flex-wrap:wrap;gap:8px;margin-top:2px;display:flex}.reply-box{flex-direction:column;gap:8px;display:flex}.reply-input{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);width:100%;min-height:84px;font:inherit;resize:vertical;padding:10px 13px;font-size:16px;line-height:1.5}.reply-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.receipt-swipe{border-radius:var(--radius-sm);touch-action:pan-y;position:relative;overflow:hidden}.receipt-swipe-bg{border-radius:var(--radius-sm);background:var(--bg-soft);color:var(--muted);justify-content:space-between;align-items:center;padding:0 18px;font-size:14px;font-weight:700;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.receipt-swipe.approve .receipt-swipe-bg{background:var(--ok-soft);color:var(--ok)}.receipt-swipe.reject .receipt-swipe-bg{background:var(--err-soft);color:var(--err)}.receipt-swipe-hint{opacity:0;transition:opacity var(--dur)}.receipt-swipe.approve .receipt-swipe-hint.left,.receipt-swipe.reject .receipt-swipe-hint.right{opacity:1}.receipt-card{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);-webkit-user-select:none;user-select:none;flex-direction:column;gap:10px;padding:12px;transition:transform .22s cubic-bezier(.2,.8,.3,1);display:flex;position:relative}.receipt-card.dragging{cursor:grabbing}.receipt-photo{border-radius:var(--r-1);background:var(--bg-soft);cursor:zoom-in;border:none;width:100%;padding:0;display:block;overflow:hidden}.receipt-photo img{object-fit:contain;background:var(--bg-soft);width:100%;max-height:360px;display:block}.receipt-photo.empty{min-height:80px;color:var(--muted);cursor:default;place-items:center;font-size:13px;display:grid}.receipt-body{flex-direction:column;gap:6px;display:flex}.receipt-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.receipt-handle{font-weight:700}.receipt-time{color:var(--muted);white-space:nowrap;flex:none;font-size:12px}.receipt-handle{overflow-wrap:anywhere;min-width:0}.receipt-amount{font-family:var(--font-display);letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:28px;font-weight:800;line-height:1.1}.receipt-amount.unknown{font-family:var(--font-text);color:var(--warn);letter-spacing:0;font-size:15px;font-weight:600}.receipt-reason{color:var(--muted);font-size:13px;line-height:1.4}.receipt-actions{gap:8px;margin-top:4px;display:flex}.receipt-actions .btn{flex:1}.chip-accent{background:var(--accent-soft);color:var(--accent-text)}.receipt-card.compact .receipt-photo img{max-height:240px}@media (min-width:480px){.receipt-card.compact{flex-direction:row;align-items:flex-start}.receipt-card.compact .receipt-photo{flex:none;width:120px}.receipt-card.compact .receipt-photo img{max-height:160px}.receipt-card.compact .receipt-body{flex:1;min-width:0}.receipt-card.compact .receipt-amount{font-size:22px}}.news-strip{scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:10px;padding:2px 2px 6px;display:flex;overflow-x:auto}.news-strip::-webkit-scrollbar{display:none}.news-card{scroll-snap-align:start;border-radius:var(--radius-sm);background:var(--gold-soft);flex-direction:column;flex:0 0 240px;gap:6px;padding:14px;display:flex}.news-title{font-size:14px;line-height:1.35}.news-sub{color:var(--muted-2);font-size:12px}.news-card .btn{align-self:flex-start;margin-top:4px}.system-line{flex-wrap:wrap;gap:6px;padding:4px 6px 0;display:flex}.status-dot{font:inherit;color:var(--muted);background:0 0;border:none;border-radius:999px;align-items:center;gap:6px;min-height:32px;padding:6px 8px;font-size:12px;display:inline-flex}.status-dot:before{content:"";background:var(--ok);border-radius:50%;flex:none;width:8px;height:8px}.status-dot.bad{color:var(--err);background:var(--err-soft);font-weight:600}.status-dot.bad:before{background:var(--err)}button.status-dot{cursor:pointer}.sheet-title{font-family:var(--font-display);padding:4px 14px 10px;font-size:17px;font-weight:800}.choice-list{flex-direction:column;gap:4px;display:flex}.choice{min-height:var(--tap);border-radius:var(--radius-sm);text-align:left;color:var(--ink);background:0 0;border:none;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:10px 14px;display:flex}.choice-label{font-size:15px;font-weight:600}.choice-hint{color:var(--muted);font-size:12px}.choice.danger .choice-label{color:var(--err)}@media (hover:hover){.choice:hover{background:var(--bg-soft)}}.choice:active{background:var(--accent-soft)}@media (max-width:719px){.sheet-overlay:has(.dialog){align-items:flex-end;padding:0}.dialog{max-width:none;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 16px);border-radius:18px 18px 0 0;animation:.2s cubic-bezier(.2,.8,.3,1) both sheet-up}.dialog-actions .btn{min-height:var(--tap);flex:1}}.tasks-seg{margin-bottom:12px}.seg-count{background:var(--accent);color:#fff;border-radius:999px;margin-left:6px;padding:0 6px;font-size:11px;line-height:16px;display:inline-block}.pair{grid-template-columns:1fr;gap:10px;display:grid}@media (min-width:720px){.pair{grid-template-columns:1fr 1fr}}.pair .field{margin-bottom:0}.pair-block{margin-bottom:14px}.pair-label{flex-direction:column;gap:2px;margin-bottom:6px;font-size:14px;font-weight:600;display:flex}.pair-hint{color:var(--muted);font-size:12px;font-weight:400}.preview{border-radius:var(--radius-sm);background:var(--accent-soft);margin-top:12px;padding:12px 14px;font-size:14px;line-height:1.5}.preview-title{text-transform:uppercase;letter-spacing:.06em;color:var(--accent-text);margin-bottom:6px;font-size:11px;font-weight:700}.preview-text{white-space:pre-wrap;word-break:break-word}.preview-pre{font:inherit;white-space:pre-wrap;word-break:break-word;margin:0}.save-bar{bottom:calc(var(--tap) + env(safe-area-inset-bottom,0px) + 26px);z-index:10;background:linear-gradient(to top, var(--bg) 60%, transparent);padding:16px 0 6px;position:sticky}@media (min-width:900px){.save-bar{bottom:12px}}a.btn{text-decoration:none}.lesson-row{border-top:1px solid var(--line-soft);align-items:center;gap:12px;padding:10px 2px;display:flex}.lesson-cover-thumb{aspect-ratio:16/9;border-radius:var(--r-1);background:var(--g-hero);width:96px;color:var(--c-cream);flex:none;place-items:center;display:grid;position:relative;overflow:hidden}.lesson-cover-thumb img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;bottom:0;left:0;right:0}.lesson-cover-thumb .lesson-num{font-family:var(--font-display);text-shadow:0 1px 6px #00000073;font-size:18px;font-weight:800;position:relative}.lesson-main{flex:1;min-width:0}.lesson-title-btn{width:100%;font:inherit;color:var(--ink);text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:text;background:0 0;border:none;border-radius:6px;padding:2px 0;font-size:15px;font-weight:600;display:block;overflow:hidden}@media (hover:hover){.lesson-title-btn:hover{background:var(--bg-soft)}}.lesson-rename{border:1px solid var(--accent);width:100%;font:inherit;box-shadow:0 0 0 3px var(--accent-soft);border-radius:6px;outline:none;padding:4px 8px;font-size:15px;font-weight:600}.lesson-status{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin-top:3px;font-size:13px;display:flex}.lesson-status .chip{cursor:pointer}.lesson-status .chip-err{color:var(--err)}.lesson-actions{flex:none;gap:6px;display:flex}@media (max-width:560px){.lesson-row{flex-wrap:wrap}.lesson-actions{justify-content:flex-end;width:100%}}.sheet:has(.lesson-editor){max-height:92vh;padding-left:16px;padding-right:16px;overflow-y:auto}@media (min-width:900px){.sheet:has(.lesson-editor){width:min(600px,100%)}}.lesson-editor h3{margin:4px 0 10px;font-size:17px}.review-layout{grid-template-columns:1fr;gap:16px;display:grid}@media (min-width:900px){.review-layout{grid-template-columns:minmax(280px,5fr) 7fr;align-items:start}}.review-photos{flex-direction:column;gap:10px;display:flex}.review-photo{border-radius:var(--r-1);background:var(--bg-soft);border:1px solid var(--line);touch-action:pan-x pan-y pinch-zoom;max-height:70vh;position:relative;overflow:auto}.review-photo img{transform-origin:0 0;width:100%;height:auto;transition:transform var(--dur);cursor:zoom-in;display:block}.review-photo.zoomed img{cursor:zoom-out;width:220%;max-width:none}.review-photo-zoom{color:#fff;min-height:36px;font:inherit;background:#17181cb3;border:none;border-radius:999px;padding:0 12px;font-size:13px;font-weight:600;position:absolute;top:8px;right:8px}.review-photo-wrap{position:relative}.recipe-edit{flex-direction:column;gap:12px;display:flex}.recipe-component{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card-2);padding:10px}.recipe-component-head{align-items:center;gap:4px;display:flex}.recipe-component-name{width:100%;min-width:0;font:inherit;background:0 0;border:none;border-radius:6px;flex:1;padding:4px 6px;font-size:15px;font-weight:700}.recipe-component-name:focus{background:var(--accent-soft);outline:none}.recipe-row{grid-template-columns:40px minmax(0,1fr) 64px 64px 34px;align-items:center;gap:6px;margin-top:6px;display:grid}@media (max-width:480px){.recipe-row{grid-template-columns:34px minmax(0,1fr) 58px 52px 28px;gap:4px}.recipe-row input{padding:8px 6px}}.recipe-row input{border:1px solid var(--line);width:100%;min-width:0;font:inherit;background:var(--card);border-radius:8px;padding:8px;font-size:15px}.recipe-row input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.recipe-row .recipe-amount{text-align:right;font-variant-numeric:tabular-nums;font-family:var(--font-display);font-weight:800}.recipe-row .recipe-emoji{text-align:center;padding-left:4px;padding-right:4px}.recipe-row .recipe-note{color:var(--muted);grid-column:2/5;padding:6px 8px;font-size:13px}.recipe-row-remove{color:var(--muted);background:0 0;border:none;border-radius:8px;min-height:34px;font-size:18px;line-height:1}.recipe-row-remove:hover{background:var(--err-soft);color:var(--err)}.review-list-cover{aspect-ratio:16/9;object-fit:cover;background:var(--bg-soft);border-radius:8px;flex:none;width:72px}.review-list-cover.num{background:var(--g-hero);color:var(--c-cream);font-family:var(--font-display);place-items:center;font-size:16px;font-weight:800;display:grid}.review-done{text-align:center;padding:20px 0}.draft-note{color:var(--accent-text);background:var(--accent-soft);border-radius:999px;align-self:flex-start;padding:6px 10px;font-size:12px}.checklist{flex-direction:column;gap:8px;margin:0 0 14px;padding:0;list-style:none;display:flex}.check-item{border-radius:var(--radius-sm);background:var(--card-2);border:1px solid var(--line);align-items:flex-start;gap:10px;padding:10px 12px;font-size:14px;line-height:1.4;display:flex}.check-item:before{content:"○";color:var(--muted);flex:none;font-weight:700}.check-item.ok:before{content:"✓";color:var(--ok)}.check-item.bad{background:var(--err-soft);border-color:#0000}.check-item.bad:before{content:"✗";color:var(--err)}.check-item b{display:block}.check-item small{color:var(--muted)}.metrics-block{margin-bottom:20px}.metrics-title{font-family:var(--font-display);letter-spacing:-.01em;margin:0 0 10px;font-size:16px;font-weight:800}.bar-rows{flex-direction:column;gap:6px;margin-bottom:12px;display:flex}.bar-rows-title{color:var(--muted);font-size:12px;font-weight:500}.bar-row{grid-template-columns:minmax(72px,110px) 1fr auto;align-items:center;gap:8px;min-height:24px;display:grid}.bar-row-label{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.bar-row-svg{width:100%;height:10px;display:block}.bar-row-value{font-family:var(--font-display);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px;font-weight:800}.funnel-steps{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.funnel-step-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px;display:flex}.funnel-step-title{font-size:14px}.funnel-step-count{font-family:var(--font-display);font-variant-numeric:tabular-nums;font-size:16px;font-weight:800}.funnel-step-svg{width:100%;height:8px;display:block}.funnel-step-conv{color:var(--muted);margin-top:3px;font-size:12px}.student-head{align-items:center;gap:12px;margin-bottom:12px;display:flex}.student-title{font-family:var(--font-display);letter-spacing:-.02em;font-size:20px;font-weight:800}.student-sub{color:var(--muted);font-size:13px}.student-actions{flex-wrap:wrap;gap:8px;margin:12px 0 4px;display:flex}.student-actions .btn{min-height:var(--tap)}.student-course{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card-2);margin-bottom:10px;padding:12px}.student-course-head{align-items:center;gap:12px;display:flex}.student-course-title{font-size:15px;font-weight:600}.sring{flex:none}.sring-track{stroke:var(--line)}.sring-value{stroke:var(--accent);transition:stroke-dashoffset var(--dur)}.sring-done .sring-value{stroke:var(--ok)}.sring-text{font-family:var(--font-display);fill:var(--ink);font-size:11px;font-weight:800}.lesson-rows{flex-direction:column;margin:10px 0 0;padding:0;list-style:none;display:flex}.lesson-row{border-top:1px solid var(--line-soft);align-items:center;gap:10px;min-height:40px;padding:4px 0;font-size:14px;display:flex}.lesson-row:first-child{border-top:none}.lesson-mark{background:var(--bg-soft);width:22px;height:22px;color:var(--muted);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:12px;display:inline-flex}.lesson-mark.done{background:var(--ok-soft);color:var(--ok)}.lesson-mark.part{background:var(--accent-soft);color:var(--accent)}.lesson-row-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.lesson-row-note{color:var(--muted);white-space:nowrap;font-size:12px}.lesson-row.not-ready{opacity:.55}.link-box{border-radius:var(--radius-sm);background:var(--accent-soft);word-break:break-all;margin-top:10px;padding:10px 12px;font-size:13px}.link-box code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.list-title button.linklike{font:inherit;color:inherit;cursor:pointer;text-align:left;background:0 0;border:none;min-height:0;padding:0}.list-title button.linklike:hover{color:var(--accent)}.queue-who.linklike,.news-title .linklike{font:inherit;font-weight:inherit;color:inherit;cursor:pointer;text-decoration:underline;-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line);text-underline-offset:3px;background:0 0;border:none;padding:0}:root{--ease:cubic-bezier(.2, .8, .3, 1);--illo-cream:#fbeee4;--illo-pink:var(--c-accent-soft);--illo-berry:var(--c-accent);--illo-gold:var(--c-gold)}.illo{color:#a45a76;max-width:100%;height:auto;display:block}.empty-state{text-align:center;animation:rise .32s var(--ease) both;flex-direction:column;align-items:center;gap:6px;padding:26px 16px 22px;display:flex}.empty-state .illo{margin-bottom:6px}.empty-state-title{font-family:var(--font-display);letter-spacing:-.015em;color:var(--ink);font-size:17px;font-weight:800}.empty-state-hint{color:var(--muted);max-width:34ch;font-size:14px;line-height:1.4}.empty-state .btn{margin-top:8px}.empty-state.inline{text-align:left;flex-direction:row;gap:12px;padding:8px 0}.tile.hero .illo{color:#ffffffe6;opacity:.9;position:absolute;top:10px;right:10px}.tile.hero .illo [fill="var(--illo-cream)"],.tile.hero .illo [fill="var(--illo-pink)"]{fill:#ffffff47}.tile.hero .illo [fill="var(--illo-berry)"]{fill:#fff}.student-cert{vertical-align:middle;align-items:center;gap:6px;margin-left:6px;display:inline-flex}.student-cert .illo{color:var(--gold)}.skeleton-hero{grid-column:span 2}.skeleton-tile{border-radius:var(--radius-sm)}.skeleton-text{height:14px}.collapse{transition:height .22s var(--ease), opacity .18s var(--ease), transform .22s var(--ease);overflow:hidden}.collapse.open{height:auto}.collapse.leaving{opacity:0;pointer-events:none;transform:translate(48px)}.collapse.closed{height:0}.queue>.collapse.leaving,.queue>.collapse.closed{margin-bottom:-10px}.icon-btn{place-items:center;width:38px;height:38px;padding:0;display:inline-grid}.icon-btn svg{width:20px;height:20px}.search-bar{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);width:100%;color:var(--muted);font:inherit;cursor:pointer;transition:border-color var(--dur), color var(--dur);align-items:center;gap:8px;margin:8px 0 6px;padding:8px 10px;font-size:13px;display:flex}.search-bar:hover{border-color:var(--accent);color:var(--ink)}.search-bar:focus-visible{border-color:var(--accent);color:var(--ink)}.search-bar svg{width:16px;height:16px}.search-bar span{text-align:left;flex:1}.search-bar kbd,.cmdk kbd{font:11px/1 var(--font-text);background:var(--bg-soft);color:var(--muted-2);border-radius:6px;padding:3px 5px}.cmdk-backdrop{z-index:60;padding:calc(var(--safe-t) + 12vh) 12px 12px;animation:fade .16s var(--ease) both;background:#17181c52;justify-content:center;align-items:flex-start;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.cmdk{background:var(--card);border-radius:var(--radius);width:min(560px,100%);max-height:min(70vh,560px);box-shadow:var(--shadow-lg);animation:cmdk-in .2s var(--ease) both;flex-direction:column;display:flex;overflow:hidden}@keyframes cmdk-in{0%{opacity:0;transform:translateY(-8px)scale(.985)}to{opacity:1;transform:none}}.cmdk-input-row{border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:10px;padding:10px 12px;display:flex}.cmdk-input-row>svg{flex:none;width:20px;height:20px}.cmdk-input{min-width:0;font:inherit;color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:8px 0;font-size:16px}.cmdk-list{padding:6px;overflow-y:auto}.cmdk-hint,.cmdk-empty{color:var(--muted);text-align:center;padding:18px 12px;font-size:14px}.cmdk-empty{flex-direction:column;align-items:center;gap:8px;display:flex}.cmdk-group-title{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:8px 10px 4px;font-size:11px;font-weight:600}.cmdk-item{min-height:var(--tap);border-radius:var(--radius-sm);cursor:pointer;transition:background var(--dur);flex-direction:column;justify-content:center;gap:2px;padding:10px 12px;display:flex}.cmdk-item.active{background:var(--accent-soft)}.cmdk-item-title{color:var(--ink);font-size:15px;font-weight:600}.cmdk-item-sub{color:var(--muted);font-size:12px}@media (max-width:719px){.cmdk-backdrop{padding-top:calc(var(--safe-t) + 8px);align-items:stretch}.cmdk{max-height:calc(100dvh - var(--safe-t) - 20px)}}@media (prefers-reduced-motion:reduce){.skeleton{background:var(--bg-soft);animation:none}.collapse,.cmdk-item,.search-bar{transition:none}.collapse.leaving{opacity:0;transform:none}.empty-state,.cmdk,.cmdk-backdrop{animation:none}}.sheet{position:relative}.tg-sheet-close{background:var(--bg-soft);width:36px;height:36px;min-height:0;color:var(--muted);cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:8px;right:8px}.tg-sheet-close:hover{color:var(--ink)}.tg-sheet-close svg{width:16px;height:16px}.trash{border-top:1px dashed var(--line);margin-top:18px;padding-top:10px}.trash summary{cursor:pointer;color:var(--muted);min-height:var(--tap);align-items:center;gap:8px;font-size:14px;list-style:none;display:flex}.trash summary::-webkit-details-marker{display:none}.trash summary:before{content:"▸";transition:transform var(--dur);font-size:12px}.trash[open] summary:before{transform:rotate(90deg)}.trash-row{border-top:1px solid var(--line-soft);align-items:center;gap:10px;padding:8px 0;font-size:14px;display:flex}.trash-row:first-of-type{border-top:none}.trash-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.trash-sub{color:var(--muted);font-size:12px;display:block}.trash-left{color:var(--muted);white-space:nowrap;font-size:12px}.assistant-form{align-items:stretch;gap:8px;display:flex}.assistant-input{min-width:0;min-height:var(--tap);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--card);font:inherit;color:var(--ink);flex:1;padding:10px 14px;font-size:16px}.assistant-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.assistant-chips{flex-wrap:wrap;gap:2px;margin-top:10px;display:flex}.assistant-chip{cursor:pointer;border:none;min-height:30px;font-weight:500}.assistant-chip:disabled{opacity:.5;cursor:default}.assistant-answer{border-radius:var(--radius-sm);background:var(--bg-soft);gap:8px;margin-top:14px;padding:12px 14px;display:grid}.assistant-q{color:var(--muted);font-size:13px}.assistant-a{white-space:pre-wrap;font-size:15px;line-height:1.5}.assistant-note{color:var(--muted);font-size:12px}.assistant-sources>summary,.assistant-source>summary{cursor:pointer;color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;min-height:32px;font-size:13px;display:flex}.assistant-sources>summary:before,.assistant-source>summary:before{content:"▸";transition:transform var(--dur);font-size:11px}.assistant-sources[open]>summary:before,.assistant-source[open]>summary:before{transform:rotate(90deg)}.assistant-sources ul{gap:4px;margin:4px 0 0;padding:0 0 0 8px;list-style:none;display:grid}.assistant-source>summary b{color:var(--ink);font-weight:600}.assistant-args{color:var(--muted);font-size:12px}.assistant-summary{color:var(--ink-2);flex-basis:100%;font-size:12px}.assistant-table-wrap{margin:4px 0 6px;overflow-x:auto}.assistant-table{border-collapse:collapse;width:100%;font-size:12px}.assistant-table th,.assistant-table td{text-align:left;border-bottom:1px solid var(--line-soft);white-space:nowrap;vertical-align:top;padding:4px 8px}.assistant-table th{color:var(--muted);font-weight:600}.assistant-nested-title{color:var(--muted);margin-top:6px;font-size:12px;font-weight:600}.assistant-empty{color:var(--muted);font-size:12px}.assistant-draft{border-radius:var(--radius-sm);background:var(--card);border:1px dashed var(--accent);gap:8px;margin-top:4px;padding:12px 14px;display:grid}.assistant-draft-title{color:var(--accent);text-transform:uppercase;letter-spacing:.04em;font-size:12px;font-weight:600}.assistant-draft-text{white-space:pre-wrap;font-size:15px;line-height:1.5}@media (max-width:480px){.assistant-form{flex-direction:column}}@media (prefers-reduced-motion:reduce){.assistant-sources>summary:before,.assistant-source>summary:before{transition:none}}@media (pointer:coarse){.btn.small{min-height:44px;padding-top:9px;padding-bottom:9px}.seg button{min-height:44px}.icon-btn{width:44px;height:44px}.assistant-chip,.lesson-status .chip{min-height:40px;padding-top:6px;padding-bottom:6px}.queue-who .linklike,.queue-title .linklike,.news-title .linklike,.list-title button.linklike{align-items:center;min-height:44px;display:inline-flex}.lesson-title-btn,.toggle{min-height:44px}.toggle input[type=radio],.toggle input[type=checkbox]{width:20px;height:20px}.status-dot{min-height:40px}}
