:root[data-theme=hq]{--bg:#1a1d23;--card:#1e2128;--raised:#252830;--terminal:#14161b;--border:#2d323b;--border-strong:#3a3f4b;--text:#ffffff;--text-soft:#e5e7eb;--text-value:#d1d5db;--text-2:#9ca3af;--text-3:#6b7280;--text-4:#4b5563;--accent:#818cf8;--accent-hover:#a5aefa;--success:#34d399;--warn:#f59e0b;--danger:#f87171;--violet:#a78bfa;--radius-sm:7px;--radius:9px;--radius-lg:12px;--radius-xl:14px;--header-h:54px;--header-pad:20px;--dot-grid:24px;--mobile-header-h:44px;--mobile-tabbar-h:52px;--shadow-rgb:0,0,0;--shadow-overlay:0 12px 40px rgba(var(--shadow-rgb),0.4);--font-ui:-apple-system,"SF Pro Text",system-ui,"Segoe UI",sans-serif;--font-display:"Inter Tight",var(--font-ui);--font-mono:"JetBrains Mono",ui-monospace,monospace}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-ui);font-size:13px}body,html{max-width:100%;overflow-x:clip}a{color:var(--accent);text-decoration:none}a:hover{color:var(--accent-hover)}.mono{font-family:var(--font-mono);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@keyframes atlas-blink{0%,to{opacity:1}50%{opacity:.25}}@keyframes atlas-pulse{0%,to{transform:scale(1);opacity:.9}50%{transform:scale(.72);opacity:.5}}@keyframes atlas-dot-in{0%{opacity:0;transform:scale(0)}60%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes atlas-orbit{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes atlas-rise{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@keyframes atlas-depart{0%{transform:translateY(0)}to{transform:translateY(-56px)}}@keyframes atlas-fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media (min-width:481px) and (max-width:900px){.app-header{gap:10px!important}.app-header-nav{gap:2px!important}.app-header-link{padding:6px 8px!important}.project-columns>:first-child{flex-basis:456px!important}.project-columns>:last-child{flex-basis:380px!important}}@media (max-width:480px){body{padding-bottom:var(--mobile-tabbar-h)}.app-header{height:var(--mobile-header-h)!important;padding:0 14px!important;gap:8px!important;position:relative;z-index:40;background:var(--bg)}.app-header-brand{gap:8px!important;font-size:12px}.app-header-nav{position:fixed;z-index:40;left:0;right:0;bottom:0;height:var(--mobile-tabbar-h);gap:0!important;align-items:stretch;background:var(--card);border-top:1px solid var(--border)}.app-header-link{flex:1 1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:4px 2px!important;border-radius:0!important;background:transparent!important;color:var(--text-3)!important;font-size:9px;line-height:1.1}.app-header-link:before{content:"○";color:currentColor;font-size:9px}.app-header-link[aria-current=page]{color:var(--accent-hover)!important}.app-header-link[aria-current=page]:before{content:"●"}.app-header-logout{display:none}.login-page{position:fixed!important;inset:0;width:auto!important;height:auto!important;padding:14px;overflow-y:auto!important}.login-stack{width:100%;gap:18px!important}.login-card{width:100%!important;max-width:360px;padding:24px!important}.map-canvas{width:100%!important;height:calc(100dvh - var(--mobile-header-h) - var(--mobile-tabbar-h))!important;min-height:420px}.map-controls{top:8px!important;right:8px!important;left:8px;gap:6px!important;justify-content:flex-end}.map-controls>[role=status]{display:none!important}.map-controls-hint{display:none}.map-control-button,.map-mode-toggle button{min-height:32px}.map-control-button{padding:5px 10px!important}.map-mini-map{bottom:12px!important;width:112px!important;height:70px!important}.map-token-legend{left:10px!important;bottom:92px!important}.map-token-hint{display:none}.node-panel{left:0;border-top:1px solid var(--border-strong);border-radius:18px 18px 0 0}.node-panel,.session-panel{width:100%!important;padding:16px!important;border-left:0!important}.session-panel{inset:var(--mobile-header-h) 0 var(--mobile-tabbar-h)!important;border-radius:0!important;border-right:0!important}.transcript-header{align-items:flex-start!important;flex-wrap:wrap;gap:8px 10px!important;padding:11px 14px!important}.transcript-breadcrumb{width:100%}.transcript-header>[aria-hidden=true]{display:none}.transcript-project{max-width:100%}.transcript-metadata{width:100%;white-space:normal!important}.transcript-layout{flex-direction:column!important}.transcript-sidebar{order:-1;width:100%!important;padding:16px 14px!important;border-bottom:1px solid var(--border)}.transcript-feed{width:100%;padding:18px 14px!important;border-right:0!important}.transcript-turn{gap:10px!important}.transcript-turn-gutter{width:62px!important}.transcript-finished{margin-left:76px!important}.panel-close-button,.panel-copy-button{min-width:32px;min-height:32px;display:inline-grid;place-items:center}.sessions-page{width:100%;max-width:100%;padding-bottom:14px!important}.sessions-empty-page{padding:14px!important}.sessions-toolbar{gap:8px!important;padding:10px 14px 0!important}.date-switcher{max-width:100%}.date-switcher-control,.view-mode-chip{min-height:32px;display:inline-flex;align-items:center;justify-content:center}.date-switcher-control{min-width:32px;padding-top:0!important;padding-bottom:0!important}.view-mode-chip{padding:4px 10px!important}.sessions-summary{order:3;width:100%;margin-left:0!important;font-size:10px!important}.session-filters{gap:6px!important;padding:8px 14px 0!important}.session-filter-chip{min-height:32px;padding:4px 9px!important;font-size:9.5px!important}.session-toggle{min-height:32px;padding:4px!important}.day-picker{left:14px!important;top:48px!important;max-width:calc(100vw - 28px)}.day-picker-grid{grid-template-columns:repeat(7,32px)!important}.day-picker-heading{grid-template-columns:32px 1fr 32px!important}.day-picker-cell,.day-picker-weekday{width:32px!important}.day-picker-cell{height:32px!important}.day-picker-arrow{min-width:32px;min-height:32px;display:grid;place-items:center}.timeline-scroll{width:auto;max-width:calc(100vw - 28px);margin:18px 14px 0!important;padding-top:0!important;overscroll-behavior-inline:contain}.timeline-canvas{width:960px!important;--lane-label-width:0px}.timeline-axis{margin-left:0!important}.timeline-lane{width:960px!important;flex-direction:column}.timeline-lane-label{position:-webkit-sticky;position:sticky;z-index:4;left:0;width:calc(100vw - 28px)!important;min-height:42px;padding:6px 8px 6px 0!important;background:var(--bg)}.timeline-lane-title{max-width:min(280px,calc(100vw - 82px))!important}.timeline-track{width:960px!important}.calendar-track,.timeline-track{flex:0 0 auto!important}.lane-action{min-height:28px;padding:3px 8px!important}.timeline-hint{width:calc(100vw - 28px);padding-left:0!important;white-space:normal!important;line-height:1.4}.session-tile-hitbox:before{content:"";position:absolute;left:50%;top:-4px;width:max(32px,100%);height:34px;transform:translateX(-50%)}.day-bars{width:100%;padding:0 14px}.day-bars>div:first-child{margin-left:0!important;margin-right:0!important}.day-bars-axis,.day-bars-chart{width:100%!important;margin-left:0!important}.day-bars-axis>a,.day-bars-chart>a{width:auto!important;min-width:0;flex:1 1}.day-bars-chart>a>span{width:60%!important}.offline-badge-position{right:10px!important;bottom:calc(var(--mobile-tabbar-h) + 10px)!important;max-width:calc(100vw - 20px)}.token-dashboard{min-width:0!important;width:100%}.token-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px!important;gap:8px!important;padding:12px 14px 0!important}.token-metric-card{min-width:0!important;padding:12px!important}.token-metric-card .mono{overflow-wrap:anywhere;font-size:20px!important}.token-chart-wrap{padding:22px 14px 0!important}.token-chart-heading{align-items:flex-start!important;flex-direction:column;gap:8px!important}.token-chart-legend{justify-content:flex-start!important;gap:8px 12px!important}.token-chart-axis,.token-chart-bars{gap:4px!important}.token-chart-axis>a,.token-chart-bars>a{min-width:0!important}.token-dashboard>div:nth-of-type(2){gap:18px!important;padding:24px 14px 0!important}.project-token-row,.token-table-header{grid-template-columns:minmax(0,1fr) 58px 78px!important;gap:8px!important;padding-left:10px!important;padding-right:10px!important}.session-token-row,.session-token-table .token-table-header{grid-template-columns:72px minmax(0,1fr) 72px!important;gap:8px!important;padding-left:10px!important;padding-right:10px!important}.session-token-table .token-table-column-3,.token-session-title{display:none!important}.project-token-row>:first-child,.session-token-row>:nth-child(2){min-width:0;overflow-wrap:anywhere}.story-filters{flex-wrap:wrap;gap:6px!important;padding:12px 14px 0!important}.story-contour-filter,.story-contour-filter select,.story-filter-chip{min-height:32px}.story-filter-chip{padding:4px 9px!important;font-size:9.5px!important}.story-search{width:100%;min-width:0!important;min-height:32px;margin-left:0!important}.story-content{padding:22px 14px 0!important}.story-card>div:last-child{padding:11px 12px!important}.project-page{min-width:0!important;width:100%}.project-header{align-items:flex-start!important;flex-wrap:wrap;gap:9px 12px!important;padding:12px 14px!important}.project-header>a:first-child{width:100%;min-height:28px;display:inline-flex;align-items:center}.project-identity{max-width:100%;overflow-wrap:anywhere}.project-statuses{flex-wrap:wrap}.project-source{order:4;width:100%}.project-sessions-link{order:5;min-height:32px;margin-left:0!important;display:inline-flex;align-items:center}.project-content{min-height:0!important;padding:16px 14px 20px!important}.project-epics>*{width:100%!important}.project-columns{flex-direction:column;gap:22px!important}.project-columns>*,.project-topic-heading>:first-child{min-width:0;width:100%}.project-topic-heading{flex-direction:column;gap:5px!important}.project-topic-heading>:last-child{white-space:normal!important}.activity-row{gap:8px!important}.activity-row-time{width:32px!important;font-size:9px!important}.activity-row-kind{width:68px!important;font-size:9.5px!important}.activity-row-chip{display:none!important}}