/* /workspace-base.css */
/* Existing /style.css; normal cascade except semantic visibility. */
:root{color-scheme:light;--bg:#f8faff;--panel:#fff;--raised:#f1f5fc;--ink:#111f35;--muted:#4b5b70;--line:#dde6f2;--accent:#245bdc;--accent-soft:#eaf1ff;--positive:#087159;--warning:#96600c;--positive-soft:#e8f7f0;--negative:#c43c52;--negative-soft:#fff0f1;--shadow:0 4px 22px #23345206;--sidebar:250px;--edge:max(0px,calc((100vw - 1536px)/2))}
:root[data-theme=dark]{color-scheme:dark;--bg:#101a29;--panel:#1b2a40;--raised:#273a55;--ink:#f5f8ff;--muted:#c4d1e2;--line:#40536e;--accent:#a1c2ff;--accent-soft:#2b4264;--positive:#79d9ad;--warning:#f1c56b;--positive-soft:#1f4036;--negative:#ff9ca9;--negative-soft:#482b37;--shadow:0 4px 22px #00000012}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--ink);font-family:"Microsoft YaHei","Microsoft YaHei UI","PingFang SC","Hiragino Sans GB","Noto Sans CJK SC",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:16px;font-weight:600;line-height:1.65;-webkit-font-smoothing:auto}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}a{color:var(--accent)}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.025em}button,a,input,summary{touch-action:manipulation}button{transition:background .16s,color .16s,border-color .16s}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.ui-icon{display:inline-block;vertical-align:middle;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.meta,.foot{color:var(--muted);font-size:13px;line-height:1.7}.eyebrow{font-size:13px;font-weight:750;letter-spacing:.12em;color:var(--muted)}.primary,.outline,.small-btn,.follow-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:10px 15px;font-size:14px;font-weight:650;line-height:1.3}.primary{background:#356cf0;color:white;border:1px solid #356cf0;box-shadow:0 3px 8px #356cf017}.primary:hover{background:#255cdf}.outline,.small-btn{background:var(--panel);border:1px solid var(--line);color:var(--ink)}.outline:hover,.small-btn:hover{background:var(--raised);border-color:var(--muted)}.full{width:100%}.text-link{border:0;background:none;color:var(--accent);padding:0}.small-btn{padding:7px 10px;font-size:13px;white-space:nowrap}.small-btn .ui-icon{width:15px;height:15px}
header{height:72px;display:flex;align-items:center;position:sticky;top:0;z-index:16;background:var(--panel);border-bottom:1px solid var(--line);padding-left:var(--edge);padding-right:var(--edge)}.brand{width:var(--sidebar);padding:0 26px;flex-shrink:0;display:flex;gap:10px;align-items:center;font-size:15px;font-weight:800;letter-spacing:.03em;white-space:nowrap}.brand-mark{width:33px;height:37px;color:#356cf0;display:grid;place-items:center}.header-context{font-size:14px;color:var(--muted);padding-left:28px}.header-end{margin-left:auto;display:flex;align-items:center;gap:16px;padding-right:28px}.theme-toggle{display:flex;align-items:center;gap:3px;background:var(--raised);padding:4px;border-radius:9px}.theme-toggle button{display:flex;align-items:center;gap:5px;font-size:13px;padding:6px 9px;border:0;background:none;border-radius:6px;color:var(--muted)}.theme-toggle .selected{background:var(--panel);color:var(--accent);box-shadow:0 1px 4px #1c2a4010;font-weight:700}.theme-toggle .ui-icon{width:15px;height:15px}.notification-nav{display:grid;place-items:center;width:36px;height:36px;background:var(--raised);border:0;border-radius:50%;color:var(--muted)}.notification-nav:hover{background:var(--accent-soft);color:var(--accent)}.account{display:flex;align-items:center;gap:12px;font-size:13px;border:0;background:none;padding:0;color:var(--muted)}.account span{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:750;background:var(--accent-soft);color:var(--accent)}
.balanced-sidebar{position:fixed;left:var(--edge);top:72px;bottom:0;width:var(--sidebar);padding:24px 17px 20px;background:var(--panel);border-right:1px solid var(--line);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;z-index:10;display:flex;flex-direction:column}nav{display:flex;flex-direction:column;gap:8px;padding-bottom:24px}.nav-tab{display:flex;align-items:center;gap:14px;border:0;background:none;color:var(--muted);padding:13px 17px;border-radius:10px;text-align:left;font-size:17px;font-weight:600}.nav-tab .ui-icon{width:23px;height:23px;stroke-width:1.8}.nav-tab:hover{background:var(--raised);color:var(--ink)}.nav-tab.active{background:#356cf0;color:white;box-shadow:0 4px 12px #356cf020}.follow{border-top:1px solid var(--line);padding-top:22px}.follow-heading{display:flex;justify-content:space-between;font-size:13px;letter-spacing:.07em;font-weight:750;color:var(--muted);padding:0 9px;margin-bottom:13px}.follow-heading>span:last-child{background:var(--raised);color:var(--ink);padding:0 6px;border-radius:4px}.watchlist-rows{display:flex;flex-direction:column;gap:5px}.watch-source{display:flex;align-items:center;gap:3px;border:1px solid transparent;border-radius:10px;padding:4px 6px}.watch-source:hover{background:var(--raised)}.watch-source.priority-on{background:var(--accent-soft);border-color:var(--accent);border-left-width:3px;padding-left:4px}.watch-name{display:flex;align-items:center;gap:9px;min-width:0;flex:1;border:0;background:none;padding:5px 0;text-align:left}.source-text{display:block;min-width:0;font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-text small{display:block;font-size:13px;font-weight:600;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.source-avatar,.directory-avatar,.message-avatar,.comment-avatar{position:relative;display:grid;place-items:center;flex-shrink:0;overflow:hidden;border-radius:50%;background:#e5ecfa;color:#486caa;font-size:13px;font-weight:750;width:34px;height:34px;border:1px solid #5678bd15}.source-avatar img,.directory-avatar img,.message-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.government{background:#e5ecf8;color:#476694}.crypto{background:#e8eefc;color:#5268ac}.finance{background:#e5f1eb;color:#337456}.creators{background:#f3eafa;color:#8663a1}.message-avatar{width:45px;height:45px;font-size:15px}.directory-avatar{width:40px;height:40px;font-size:13px}.alert-bell{position:relative;width:33px;height:33px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center;background:var(--panel);color:var(--muted);flex-shrink:0}.alert-bell:hover{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.alert-bell.active{background:#356cf0;border-color:#356cf0;color:white;box-shadow:0 3px 8px #356cf028}.priority-check{position:absolute;right:-4px;bottom:-4px;width:14px;height:14px;background:var(--positive);color:white;border:2px solid var(--panel);border-radius:50%;display:grid;place-items:center}.priority-check .ui-icon{width:9px;height:9px;stroke-width:3}.manage-sources,.desk-discover{display:flex;align-items:center;gap:9px;border:0;background:none;color:var(--accent);text-align:left;font-size:13px;font-weight:650;padding:12px 9px}.alert-settings-link{border-top:1px solid var(--line);margin-top:10px;color:var(--muted);padding-top:18px}.watchlist-legend{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);padding:4px 9px 16px}.watchlist-legend .ui-icon{width:12px;height:12px}.sidebar-upgrade{margin-top:auto;padding:18px 10px 0;border-top:1px solid var(--line)}.sidebar-upgrade p{font-size:13px;margin:7px 0 10px;color:var(--ink)}.sidebar-upgrade button{border:0;background:none;color:var(--accent);padding:0;font-weight:650;font-size:13px}.empty-watch{font-size:13px;line-height:1.7;color:var(--muted);padding:10px}
.shell{margin-left:calc(var(--sidebar) + var(--edge));margin-right:var(--edge);padding:28px;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:26px;max-width:1286px;align-items:start}main{min-width:0;display:flex;flex-direction:column;height:calc(100dvh - 128px);min-height:640px}.heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;flex-shrink:0}.heading .eyebrow{font-size:13px;letter-spacing:.1em}.heading h1{font-size:29px;line-height:1.3;font-weight:750;margin:3px 0 5px}.heading-copy{color:var(--muted);font-size:14px}.alert-cta{padding:9px 12px;white-space:nowrap}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-shrink:0}.stream-tabs{display:flex;gap:5px;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:4px;box-shadow:var(--shadow)}.stream-tabs button{position:relative;background:none;border:0;border-radius:7px;padding:8px 12px;font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap}.stream-tabs button:hover{background:var(--raised);color:var(--ink)}.stream-tabs .selected{background:var(--accent-soft);color:var(--accent);font-weight:750}.stream-search,.discover-search{display:flex;align-items:center;gap:11px;background:var(--panel);border:1px solid var(--line);padding:10px 15px;border-radius:10px;flex-shrink:0;color:var(--muted)}.stream-search input,.discover-search input{width:100%;border:0;background:none;outline:0;color:var(--ink);font-size:14px;min-width:0;padding:2px 0}.stream-search:focus-within,.discover-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}input::placeholder{color:var(--muted)}.feed-count{font-size:13px;white-space:nowrap}.connection-detail{margin:12px 2px 15px;flex-shrink:0}.connection-detail summary{display:flex;align-items:center;gap:7px;width:max-content;color:var(--muted);font-size:13px;cursor:pointer;list-style:none}.connection-detail summary::-webkit-details-marker{display:none}.connection-detail summary .ui-icon{width:12px;height:12px}.connection-dot{width:6px;height:6px;border-radius:50%;background:var(--muted)}.connection-dot.active{background:var(--positive);box-shadow:0 0 0 3px var(--positive-soft)}.status{font-size:13px;color:var(--muted);margin:9px 0;line-height:1.7}.new-updates{flex-shrink:0;color:var(--accent);background:var(--accent-soft);border:1px solid var(--line);border-radius:9px;padding:10px;margin-bottom:12px;font-size:13px;font-weight:650}.stream{flex:1;min-height:250px;overflow:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;overflow-anchor:none;padding-right:5px;padding-bottom:10px}.message{display:block;border:1px solid var(--line);border-radius:13px;padding:21px 22px;background:var(--panel);box-shadow:var(--shadow);margin-bottom:16px;overflow:hidden;position:relative}.message-origin{display:flex;align-items:center;gap:11px;margin-bottom:15px}.message-meta{min-width:0;flex:1}.source-line{display:flex;align-items:center;gap:7px}.name{font-size:16px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}.priority-marker{display:inline-flex;color:var(--accent);flex-shrink:0}.priority-marker .ui-icon{width:14px;height:14px}.source-caption{font-size:13px;color:var(--muted);line-height:1.6;margin-top:3px}.time{font-size:13px;color:var(--muted)}.demo-label{font-size:13px;color:var(--muted);background:var(--raised);border-radius:5px;padding:3px 7px;white-space:nowrap;max-width:135px;overflow:hidden;text-overflow:ellipsis}.message-content{min-width:0}.message-title{display:block;width:100%;padding:0;border:0;text-align:left;background:none;color:var(--ink);font-size:18px;font-weight:600;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap}.message-title:hover{color:var(--accent)}.message-signal{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:var(--raised);border-radius:8px;padding:10px 12px;margin:17px 0 0}.ai-caption{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:650;color:var(--muted)}.ai-caption .ui-icon{width:13px;height:13px}.signal{font-size:13px;border-radius:5px;padding:3px 7px;color:var(--muted);background:var(--panel);font-weight:700}.signal.positive{color:var(--positive);background:var(--positive-soft)}.signal.negative,.signal.risk{color:var(--negative);background:var(--negative-soft)}.signal.mixed,.signal.spec{color:var(--accent);background:var(--accent-soft)}.signal-confidence{font-size:13px;color:var(--muted);margin-left:auto}.message-bottom{display:flex;align-items:center;gap:22px;border-top:1px solid var(--line);padding-top:13px;margin-top:16px}.analysis-link,.comments-toggle{display:inline-flex;align-items:center;gap:6px;border:0;background:none;font-size:13px;color:var(--muted);padding:0;text-align:left;font-weight:600}.analysis-link:hover,.comments-toggle:hover{color:var(--accent)}.analysis-link .ui-icon,.comments-toggle .ui-icon{width:16px;height:16px}.post-original{margin-left:auto;color:var(--muted);display:grid;place-items:center}.post-original:hover{color:var(--accent)}.post-original .ui-icon{width:16px;height:16px}.comments-arrow{font-size:13px}.comments-content{border-top:1px solid var(--line);margin-top:18px;padding-top:12px}.comments-meta,.comments-error,.comments-spinner{font-size:13px;color:var(--muted);line-height:1.8;margin:4px 0 10px}.comment-row{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.comment-row>div{flex:1;min-width:0}.comment-avatar{width:29px;height:29px;font-size:13px}.comment-author{display:flex;align-items:center;justify-content:space-between;gap:10px}.comment-author a{color:var(--ink);font-size:13px;font-weight:650;text-decoration:none}.comment-row p{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.comment-likes{font-size:13px;color:var(--muted);white-space:nowrap}.stream-empty{padding:65px 24px;text-align:center;border:1px dashed var(--line);border-radius:13px;background:var(--panel);color:var(--muted)}.stream-empty h2{font-size:20px;margin:16px 0 9px;color:var(--ink)}.stream-empty p{font-size:13px;margin-bottom:22px}.empty-symbol{display:inline-grid;place-items:center;background:var(--accent-soft);color:var(--accent);width:48px;height:48px;border-radius:12px}.empty-symbol .ui-icon{width:25px;height:25px}.foot{font-size:13px;margin-top:10px;flex-shrink:0}.preview-live{align-self:flex-start;margin-bottom:10px;font-size:13px;padding:7px 10px}.is-new{animation:arrive .42s ease-out,arrival-glow 2.8s ease-out}.is-ai-updated{animation:arrival-glow 2.8s ease-out}@keyframes arrive{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}@keyframes arrival-glow{0%,30%{border-color:var(--accent);background:var(--accent-soft)}100%{border-color:var(--line);background:var(--panel)}}
.social-rail{display:flex;flex-direction:column;gap:20px;padding-top:2px}.rail-card{border:1px solid var(--line);background:var(--panel);border-radius:13px;box-shadow:var(--shadow);padding:21px}.rail-heading{display:flex;align-items:center;gap:8px;margin-bottom:14px}.rail-heading h2{font-size:17px;font-weight:750;line-height:1.4}.rail-icon{color:var(--accent)}.rail-icon .ui-icon{width:19px;height:19px}.rail-card>.meta{font-size:13px;margin:-5px 0 13px}.rail-source{display:flex;align-items:center;gap:10px;padding:11px 0}.rail-source>div{flex:1;min-width:0}.rail-source strong{display:block;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rail-source small{display:block;font-size:13px;color:var(--muted);margin-top:2px}.rail-source .directory-avatar{width:34px;height:34px;font-size:13px}.rail-source small.alerts-on{color:var(--accent)}.alerts-on .ui-icon{width:10px;height:10px;stroke-width:2.5}.rail-follow{display:grid;place-items:center;flex-shrink:0;background:var(--raised);color:var(--ink);width:27px;height:27px;border:0;border-radius:50%}.rail-follow:hover{background:var(--accent-soft);color:var(--accent)}.rail-follow .ui-icon{width:14px;height:14px}.rail-link{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:0;background:none;color:var(--accent);padding:13px 0 0;margin-top:9px;border-top:1px solid var(--line);font-size:13px;font-weight:650}.rail-link .ui-icon{width:14px;height:14px}.rail-empty{font-size:13px;color:var(--muted);line-height:1.8}.rail-membership{padding:24px 21px;background:var(--accent-soft);border-color:var(--line)}.rail-membership .eyebrow{color:var(--accent);font-size:13px}.rail-membership h2{font-size:23px;line-height:1.4;margin:12px 0}.rail-membership p{font-size:13px;color:var(--muted);line-height:1.8}.coming-soon{display:inline-block;color:var(--muted);font-size:13px;margin:16px 0}.rail-membership .primary{font-size:13px;justify-content:space-between}.rail-membership .ui-icon{width:15px;height:15px}.rail-foot{font-size:13px;color:var(--muted);line-height:1.9;padding:0 8px}
.discover-page,.plans,.token-search{margin-left:calc(var(--sidebar) + var(--edge));margin-right:var(--edge);padding:32px 30px 45px;max-width:1286px}.discover-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.discover-heading h1,.plans>h1,.token-search>h1{font-size:30px;margin:4px 0 9px;font-weight:750}.catalog-total{font-size:13px;color:var(--muted);white-space:nowrap}.discover-search{max-width:600px}.discover-search input{font-size:15px}.category-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.category-tabs button{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:8px 12px;font-size:13px;color:var(--muted)}.category-tabs .selected{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.directory-caption{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:13px;margin:16px 0}.source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.source-card{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:23px;box-shadow:var(--shadow)}.source-kind{font-size:13px;color:var(--muted)}.source-card-body{margin:20px 0 15px}.source-category{font-size:13px;color:var(--accent);font-weight:650}.source-card h2{font-size:20px;margin:5px 0}.profile-link{font-size:13px;text-decoration:none}.source-card p{font-size:13px;line-height:1.8;margin-top:12px;color:var(--muted)}.source-health{font-size:13px;color:var(--muted);line-height:1.8}.source-health small{display:block;font-size:13px}.health-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--muted);margin-right:5px}.health-dot.connected{background:var(--positive)}.source-actions{display:flex;align-items:center;justify-content:space-between;padding-top:15px;margin-top:17px;border-top:1px solid var(--line)}.follow-button{border:1px solid var(--line);background:var(--raised);font-size:13px;padding:8px 12px}.follow-button .ui-icon{width:14px;height:14px}.follow-button.following{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.directory-note{font-size:13px;color:var(--muted);line-height:1.8;margin:24px 0}.directory-empty{grid-column:1/-1;background:var(--panel);border:1px dashed var(--line);border-radius:12px;text-align:center;padding:50px;color:var(--muted)}.directory-empty h2{font-size:20px;color:var(--ink);margin-bottom:10px}.preference-notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:40;border-radius:10px;background:var(--ink);color:var(--panel);font-size:13px;box-shadow:0 8px 28px #0002;padding:12px 20px;max-width:90vw;text-align:center}
.modal-shade{position:fixed;inset:0;z-index:30;background:#13203980;display:grid;place-items:center;padding:24px;backdrop-filter:blur(5px)}.modal,dialog{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:16px;box-shadow:0 22px 85px #0a162633;width:100%;max-width:700px;max-height:88dvh;overflow:auto;padding:30px}.modal h2{font-size:24px;line-height:1.45;font-weight:750;margin-top:20px;overflow-wrap:anywhere}.modal p{font-size:14px;line-height:1.8}.close{border:0;background:var(--raised);color:var(--muted);font-size:25px;line-height:1;padding:5px 9px;border-radius:8px}.close:hover{color:var(--ink)}dialog::backdrop{background:#13203980;backdrop-filter:blur(5px)}.quote{font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px 18px;margin:18px 0;background:var(--raised);color:var(--ink);border-left:3px solid var(--accent);border-radius:0 8px 8px 0}.official-link{font-size:13px;display:inline-block;text-decoration:none;margin:10px 0}.official-link:hover{text-decoration:underline}.details{padding-top:21px;margin-top:18px;border-top:1px solid var(--line)}.details>strong{font-size:16px}.details>.meta{margin:8px 0 15px}.analysis-box{background:var(--accent-soft);border:1px solid var(--line);border-radius:10px;padding:18px;margin:18px 0}.analysis-box>strong{font-size:14px;color:var(--accent)}.analysis-box p{font-size:14px;line-height:1.8;margin:10px 0}.analysis-box details{border-top:1px solid var(--line);padding-top:12px;margin-top:15px}.analysis-box summary{font-size:13px;color:var(--muted);cursor:pointer}.analysis-box .foot{font-size:13px}.ai-token-query{margin:5px 7px 0 0;padding:7px 10px;font-size:13px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.fields strong{display:block;font-size:14px}.actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px}.actions .meta{font-size:13px}.priority-overlay .modal{max-width:550px;border-top:4px solid #356cf0;animation:popup-in .22s ease-out}.priority-source{display:flex;align-items:center;gap:12px;margin:24px 0 20px}.priority-source h2{margin:0;font-size:21px}.priority-source .meta{font-size:13px}.alert-pulse{margin-left:auto;display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:var(--accent-soft);color:var(--accent)}.priority-statement{font-size:21px;font-weight:600;line-height:1.65;margin:16px 0}.priority-summary{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.8;color:var(--muted);padding:15px;background:var(--raised);border-radius:9px;margin:18px 0}.priority-summary .ui-icon{margin-top:3px;color:var(--accent);width:15px;height:15px}.priority-open{width:100%;margin-top:5px}.priority-overlay .actions{margin-top:18px}@keyframes popup-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}.notification-dialog{max-width:570px}.notification-dialog h2{font-size:25px;margin:5px 0}.notification-dialog>.meta{margin:10px 0 22px}.notification-option{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-top:1px solid var(--line)}.notification-option strong{font-size:15px;font-weight:700}.notification-option p{font-size:13px;line-height:1.75;color:var(--muted);margin:6px 0 0}.setting-switch{width:42px;height:25px;border:1px solid var(--line);border-radius:20px;padding:3px;background:var(--raised);flex-shrink:0}.setting-switch span{display:block;background:var(--muted);width:17px;height:17px;border-radius:50%;transition:transform .15s}.setting-switch.enabled{background:#356cf0;border-color:#356cf0}.setting-switch.enabled span{background:white;transform:translateX(17px)}.push-status{font-size:13px;line-height:1.7;color:var(--muted);background:var(--raised);padding:14px;border:1px solid var(--line);border-radius:9px}.notification-buttons{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}.notification-help,.notification-fine{font-size:13px;line-height:1.8;color:var(--muted);margin:18px 0}.notification-preview .outline{white-space:nowrap;font-size:13px}
.billing{display:inline-flex;border:1px solid var(--line);border-radius:9px;padding:4px;background:var(--panel);margin:22px 0 32px;gap:3px}.billing button{border:0;background:none;border-radius:6px;color:var(--muted);font-size:13px;padding:8px 18px}.billing .selected{background:var(--accent-soft);color:var(--accent);font-weight:700}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.plan-card{position:relative;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);padding:27px}.plan-card h2{font-size:26px;margin-top:10px}.featured{border:2px solid #356cf0}.recommend{position:absolute;top:-12px;left:24px;background:#356cf0;color:white;border-radius:5px;padding:4px 8px;font-size:13px;font-weight:650}.price{font-size:28px;font-weight:750;margin:16px 0}.price span{font-size:13px;font-weight:400;color:var(--muted)}.plan-card ul{list-style:none;padding:0;margin:24px 0 30px;flex:1}.plan-card li{font-size:13px;line-height:1.8;margin:10px 0;color:var(--muted)}.plan-card li:before{content:'✓';color:var(--accent);margin-right:9px}.membership{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:12px;margin-top:27px}.membership h2{font-size:20px}.membership-field{font-size:13px}.membership-field span{display:block;color:var(--muted)}.membership-field strong{font-weight:650}.token-search form{margin:27px 0}.token-search label{display:block;font-size:14px;color:var(--muted);margin-bottom:11px}.search-row{display:flex;gap:12px}.search-row input{flex:1;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:9px;font-size:16px;color:var(--ink);padding:12px 15px}#token-state{margin:22px 0}.live-token{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:25px;margin-bottom:20px}.pair-quote{font-size:16px;color:var(--muted)}.live-badge,.badge{font-size:13px;color:var(--accent);font-weight:750}.live-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:25px 0}.live-fields span{display:block;font-size:13px;color:var(--muted)}.live-fields strong{font-size:17px;font-weight:650;color:var(--ink)}.contract-block{background:var(--raised);border:1px solid var(--line);border-radius:8px;padding:15px}.contract-block code{display:block;overflow-wrap:anywhere;font-size:13px;line-height:1.8;margin:5px 0 12px;color:var(--ink)}.venue-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}.venue-row a{text-decoration:none}.match-note,.exact-match{font-size:13px;color:var(--accent)}
/* Clearer, heavier type with Microsoft YaHei preferred on supported devices. */
.meta,.foot,.header-context,.heading-copy,.source-text small,.source-caption,.time,.status,.connection-detail summary,.demo-label,.ai-caption,.signal-confidence,.comments-meta,.comments-error,.comments-spinner,.source-card p,.source-health,.directory-caption,.directory-note,.notification-help,.notification-fine{font-weight:600}
.brand{font-size:16px}.nav-tab{font-size:18px;font-weight:700}.source-text{font-size:16px;font-weight:700}.source-text small{font-size:13px}
.stream-tabs{flex-wrap:wrap}.stream-tabs button{font-size:15px;font-weight:700}.toolbar{flex-wrap:wrap}.small-btn{font-size:14px}
.name{font-size:18px;font-weight:700}.message-title{font-size:19px;font-weight:600;line-height:1.75}.message-bottom{flex-wrap:wrap;gap:10px 18px}.analysis-link,.comments-toggle{font-size:14px;font-weight:600}
.comment-row p{font-size:17px;font-weight:600}.comment-author a{font-size:15px}.modal p,.quote,.analysis-box p{font-size:16px;font-weight:600;line-height:1.75}
.rail-source strong{font-size:15px}.rail-source small{font-size:13px;font-weight:600}.rail-card>.meta,.rail-empty,.rail-membership p,.rail-foot{font-size:14px;font-weight:600}
.source-card p,.plan-card li{font-size:15px;font-weight:600}.source-health,.source-health small,.profile-link{font-weight:600}.source-health{font-size:14px}
/* Atlas Pulse AI identity: an orbit, an A and a highlighted signal. */
.brand{gap:11px;padding-left:20px;padding-right:16px;min-width:0}.brand-mark{width:44px;height:44px;display:block;flex-shrink:0;color:inherit}.brand-mark svg{display:block;width:100%;height:100%}.brand-wordmark{font-size:20px;font-weight:700;letter-spacing:-.035em;line-height:1.2;color:var(--ink);white-space:nowrap}.brand-wordmark>span{color:var(--accent)}
@media(min-width:1537px){.shell,.discover-page,.plans,.token-search{padding-left:32px;padding-right:32px}}
@media(max-width:1240px){:root{--sidebar:232px}.shell{grid-template-columns:minmax(0,1fr);max-width:1000px}.social-rail{display:none}.header-context{font-size:13px}.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.message{padding:22px 24px}.source-text{font-size:16px}.balanced-sidebar{padding-left:12px;padding-right:12px}.brand{padding:0 20px}}
@media(max-width:900px){.header-context{display:none}.shell{padding:23px}.stream-tabs button{padding:8px 9px;font-size:13px}.header-end{gap:12px}.heading h1{font-size:26px}.plan-grid{grid-template-columns:1fr}.membership{align-items:flex-start;flex-direction:column}.message-bottom{gap:15px}.source-caption .source-handle{display:none}}

.modal-source{display:flex;align-items:center;gap:10px;margin:12px 0}.modal-source .source-avatar{width:30px;height:30px;font-size:13px}.modal-source p{margin:0;font-size:13px}

.mobile-label{display:none}
/* Mobile: readable type and one document scroll; preserve the desktop layout. */
@media(max-width:760px){
 body{font-size:17px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 header{height:56px;padding:0}.brand{width:auto;padding:0 12px;font-size:13px;gap:7px}.brand-mark{width:26px}.brand-mark svg{width:25px;height:25px}
 .header-end{padding-right:10px;gap:5px}.theme-toggle{padding:2px;gap:0}.theme-toggle button{padding:8px;min-width:40px;min-height:40px}.theme-toggle button>span:last-child{display:none}.theme-toggle .ui-icon{width:20px;height:20px}.notification-nav{width:44px;height:44px}.account{display:none}
 .balanced-sidebar{position:static;width:auto;padding:8px 12px 12px;border:0;border-bottom:1px solid var(--line);overflow:visible;display:block}
 nav{flex-direction:row;gap:4px;padding-bottom:10px}.nav-tab{flex:1;min-width:0;font-weight:700;justify-content:center;flex-direction:column;gap:2px;min-height:52px;padding:5px 3px;font-size:14px;line-height:1.25;border-radius:8px;white-space:nowrap}.nav-tab .ui-icon{width:21px;height:21px}
 .follow{padding-top:10px}.follow-heading{margin-bottom:8px;font-size:13px;letter-spacing:.05em;padding:0 2px}.watchlist-rows{flex-direction:row;overflow-x:auto;gap:8px;scrollbar-width:none}
 .watch-source{flex-shrink:0;padding:3px 7px;border-color:var(--line);gap:8px;max-width:260px}.watch-source.priority-on{padding-left:5px}.watch-name{gap:8px;min-height:48px}.source-text{font-size:16px;font-weight:700;max-width:155px}.source-text small{font-size:13px;line-height:1.5}.source-avatar{width:36px;height:36px;font-size:13px}
 .alert-bell{width:44px;height:44px}.alert-bell .ui-icon{width:21px;height:21px}.priority-check{width:16px;height:16px}.priority-check .ui-icon{width:10px;height:10px}
 .balanced-sidebar>.manage-sources,.alert-settings-link,.watchlist-legend,.sidebar-upgrade{display:none}
 .shell,.discover-page,.plans,.token-search{margin:0;max-width:none;padding:16px 12px 24px}.shell{display:block}main{height:auto;min-height:0}
 .heading{margin-bottom:12px}.heading h1{font-size:27px;margin:0}.heading-copy,.heading .eyebrow{display:none}.alert-cta{min-height:44px;padding:9px 12px;font-size:14px}
 .toolbar{gap:8px;margin-bottom:12px;flex-wrap:nowrap}.stream-tabs{gap:0;padding:3px;flex:1;flex-wrap:nowrap;justify-content:space-between;min-width:0}.stream-tabs button{min-height:40px;padding:8px;font-size:15px;font-weight:700}.stream-tabs .desktop-label{display:none}.stream-tabs .mobile-label{display:inline}
 #pause{width:44px;height:44px;flex-shrink:0;padding:0}#pause .pause-label{display:none}#pause .ui-icon{width:20px;height:20px}
 .stream-search{padding:10px 12px;min-height:48px}.stream-search input,.discover-search input{font-size:16px}.feed-count{display:none}
 .connection-detail{margin:6px 0 10px}.connection-detail summary{font-size:13px;min-height:32px}.status{font-size:13px}.new-updates{font-size:15px;min-height:44px;position:fixed;top:66px;left:12px;right:12px;z-index:12;box-shadow:var(--shadow)}
 .stream{height:auto;min-height:0;overflow:visible;padding-right:0;flex:none;scroll-margin-top:72px}.message{padding:16px;border-radius:12px;margin-bottom:12px}
 .message-origin{display:grid;grid-template-columns:44px minmax(0,1fr);gap:2px 10px;align-items:start;margin-bottom:13px}.message-avatar{width:44px;height:44px;font-size:15px;grid-row:1 / span 2}.message-meta{grid-column:2}.source-line .name{font-size:18px;font-weight:700}.time,.source-caption{font-size:13px}.source-caption .source-handle{display:inline}
 .demo-label{grid-column:2;justify-self:start;font-size:13px;max-width:100%;padding:2px 6px}.message-title{font-size:19px;line-height:1.75;font-weight:600}
 .message-signal{padding:10px;margin-top:14px;gap:7px}.signal-confidence{font-size:13px;margin-left:0}.ai-caption,.signal{font-size:13px}
 .message-bottom{gap:4px 12px;flex-wrap:wrap;margin-top:12px;padding-top:6px}.analysis-link,.comments-toggle{font-size:14px;gap:6px;min-height:44px}.analysis-link .ui-icon,.comments-toggle .ui-icon{width:18px;height:18px}.post-original{min-width:44px;min-height:44px}.post-original .ui-icon{width:20px;height:20px}
 .comment-row p{font-size:17px;line-height:1.75}.comment-author a{font-size:14px}.comment-likes,.comments-meta,.comments-error,.comments-spinner{font-size:13px}.comment-author{flex-wrap:wrap;gap:4px}
 .meta{font-size:14px}.foot{font-size:13px;line-height:1.65}.primary,.outline,.small-btn,.follow-button{font-size:15px;min-height:44px}
 .discover-heading{display:block}.discover-heading h1,.plans>h1,.token-search>h1{font-size:28px}.catalog-total{display:block;margin-top:10px;font-size:14px}.directory-caption{flex-direction:column;gap:4px;font-size:13px}.category-tabs{gap:6px}.category-tabs button{font-size:14px;min-height:44px;padding:8px 12px}
 .source-grid{gap:12px}.source-card{padding:18px}.source-card h2{font-size:20px}.source-kind,.source-category{font-size:13px}.source-card p{font-size:15px}.source-health{font-size:14px}.source-health small,.profile-link{font-size:13px}.directory-avatar{width:40px;height:40px;font-size:14px}.source-card-body{margin-top:16px}.directory-note{font-size:14px}
 .plan-grid{grid-template-columns:1fr;gap:28px}.plan-card li{font-size:16px}.membership{align-items:flex-start;flex-direction:column}.search-row{flex-direction:column}.live-fields{grid-template-columns:1fr 1fr}.venue-row{align-items:flex-start;flex-direction:column}
 .modal-shade{padding:12px}.modal,dialog{padding:20px;max-height:90dvh;border-radius:13px}.modal p,.notification-option p,.push-status,.quote,.analysis-box p{font-size:16px;line-height:1.7}.modal .meta{font-size:14px}.notification-dialog{max-width:calc(100vw - 24px)}.notification-preview{align-items:flex-start;flex-direction:column}.notification-option{gap:13px}.notification-option strong{font-size:17px}.notification-help,.notification-fine,.analysis-box .foot{font-size:13px}.close{min-width:44px;min-height:44px}
 .priority-source h2{font-size:20px}.priority-statement{font-size:20px}.priority-source .meta{font-size:13px}.modal-source .source-avatar{width:40px;height:40px}.actions{flex-wrap:wrap}.fields{grid-template-columns:1fr}.stream-empty{padding:30px 16px}.stream-empty p{font-size:15px}.preference-notice{font-size:14px;padding:12px 16px}.preview-live{font-size:14px;min-height:44px}
}
@media(max-width:430px){.source-grid{grid-template-columns:1fr}.message-bottom{gap:4px 8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none;transition:none;scroll-behavior:auto}}

@media(max-width:760px){.brand{padding:0 10px;gap:8px;flex-shrink:1}.brand-mark{width:40px;height:40px}.brand-mark svg{width:100%;height:100%}.brand-wordmark{font-size:18px;letter-spacing:-.04em}}
@media(max-width:360px){.brand{gap:6px;padding-left:8px;padding-right:6px}.brand-mark{width:36px;height:36px}.brand-wordmark{font-size:16px}}

/* Faceted browsing keeps the expanded directory compact on phones. */
.directory-facets{display:flex;gap:16px;margin:16px 0}.directory-facets label{display:flex;align-items:center;gap:9px;font-size:14px;color:var(--muted);min-width:0}.directory-facets select{font:inherit;font-weight:600;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:10px;min-height:44px;max-width:100%}.directory-more{text-align:center;margin:24px 0}.category-tabs button small{font-size:13px;margin-left:6px;opacity:.8}.directory-facets select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media(max-width:760px){.directory-facets{gap:10px}.directory-facets label{flex:1;display:block;font-size:13px}.directory-facets select{display:block;width:100%;margin-top:5px;font-size:14px}.directory-caption{align-items:flex-start;gap:10px;flex-wrap:wrap}}

.feed-more{align-self:center;flex-shrink:0;margin:8px 0;font-size:14px;min-height:44px}

/* Compact platform facets reuse the same readable controls on desktop and phones. */
.directory-facets{flex-wrap:wrap}.directory-facets label{flex:1 1 180px;min-width:0}
.feed-facets{display:flex;gap:12px;align-items:center;margin:10px 0 14px;color:var(--muted);font-size:14px;font-weight:650}.feed-facets select{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:10px 12px;color:var(--ink);font:inherit;min-height:44px;max-width:100%}
@media(max-width:760px){.directory-facets label{flex-basis:140px}.feed-facets{margin:8px 0 12px}.feed-facets select{flex:1;min-width:0}.source-kind{max-width:65%;text-align:right}.source-card h2{overflow-wrap:anywhere}}

/* Denser cards, one document scroll, and a single row of feed controls. */
.shell{padding-top:18px;padding-bottom:24px}
main{height:auto;min-height:0}
.heading{margin-bottom:12px}
.heading .eyebrow,.heading-copy{display:none}
.heading h1{margin:0;font-size:28px}
.toolbar{margin-bottom:10px}
.feed-controls{display:flex;align-items:stretch;gap:10px;min-width:0;flex-shrink:0}
.feed-controls .stream-search{flex:1;min-width:0;padding:8px 12px}
.feed-controls .feed-facets{margin:0;gap:0;flex-shrink:0}
.feed-controls .feed-facets>label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.feed-controls .feed-facets select{min-height:44px;padding:8px 12px;max-width:190px}
.connection-detail{margin:8px 0 10px}
.stream{height:auto;min-height:0;overflow:visible;flex:none;padding:0;scroll-margin-top:88px}
.message{padding:14px 18px;border-radius:11px;margin-bottom:10px;box-shadow:none}
.message-origin{gap:10px;margin-bottom:8px}
.message-avatar{width:38px;height:38px}
.source-line .name{font-size:17px}
.source-caption{line-height:1.45}
.message-title{font-size:19px;font-weight:600;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.message-bottom{gap:6px 14px;padding-top:8px;margin-top:10px;align-items:center}
.message-bottom .message-signal{background:none;padding:0;margin:0;border-radius:0;gap:6px}
.message-signal .signal{background:var(--raised)}
.message-signal .signal.positive{background:var(--positive-soft)}
.message-signal .signal.negative{background:var(--negative-soft)}
.message-signal .signal.mixed{background:var(--accent-soft)}
.message-signal .signal-confidence{margin-left:0;font-size:13px}
.message-bottom .analysis-link,.message-bottom .comments-toggle{min-height:32px;font-size:14px}
.message-bottom .post-original{min-width:32px;min-height:32px}
.new-updates{position:sticky;top:82px;z-index:12;margin-bottom:10px;padding:8px 12px;box-shadow:var(--shadow)}
.foot{margin-top:12px}
@media(min-width:1241px){.social-rail{position:sticky;top:90px}}
@media(max-width:760px){
 .shell{padding-top:12px}
 .heading h1{font-size:27px}
 .feed-controls{gap:8px;flex-wrap:wrap}
 .feed-controls .stream-search{flex-basis:100%;min-height:44px}
 .feed-controls .feed-facets{width:100%}
 .feed-controls .feed-facets>label{position:static;width:auto;height:auto;clip-path:none;overflow:visible;margin-right:10px}
 .feed-controls .feed-facets select{max-width:none}
 .message{padding:13px 14px;margin-bottom:10px}
 .message-origin{grid-template-columns:38px minmax(0,1fr);gap:2px 9px;margin-bottom:8px}
 .message-avatar{width:38px;height:38px}
 .message-title{font-size:19px;line-height:1.6}
 .message-bottom{gap:2px 12px;margin-top:8px;padding-top:4px}
 .message-bottom .analysis-link,.message-bottom .comments-toggle,.message-bottom .post-original{min-height:44px}
 .message-bottom .post-original{min-width:44px}
 .new-updates{position:fixed;top:66px;left:12px;right:12px;min-height:44px}
}

/* Preserve the reading boundary when appending a cached history page. */
html.is-appending-history{overflow-anchor:none;scroll-behavior:auto}
.feed-more{overflow-anchor:none;min-width:min(260px,100%);max-width:100%;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.feed-more[aria-busy="true"]{opacity:1;color:var(--accent);cursor:progress}
.feed-more[aria-busy="true"]::before{content:"";width:16px;height:16px;flex:none;border:2px solid var(--line);border-top-color:currentColor;border-radius:50%;animation:history-spin .7s linear infinite}
.message.is-history-added{animation:history-appear .3s ease-out both}
@keyframes history-spin{to{transform:rotate(360deg)}}
@keyframes history-appear{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.message.is-history-added,.feed-more[aria-busy="true"]::before{animation:none}}

/* Existing /refined.css; normal cascade except semantic visibility. */
/* Unified blue/white product system; night mode uses the existing theme variables. */
.brand{text-decoration:none;color:var(--ink)}.balanced-sidebar{background:var(--panel)}.nav-tab{border-radius:9px;min-height:46px;font-size:15px}.nav-tab.active{background:#2864f6;color:#fff;box-shadow:0 4px 12px #2864f62a}.brand-wordmark{font-size:19px;letter-spacing:-.04em}.brand-mark,.brand-mark svg{width:35px;height:35px}.watch-source{border-radius:10px}.watch-source.priority-on{border-color:#a9c5ff;background:var(--accent-soft)}.alert-bell.active{background:#2864f6;color:#fff;box-shadow:0 4px 12px #2864f633}.source-avatar,.directory-avatar,.message-avatar{border:1px solid var(--line)}.shell,.directory,.token-search,.plans{padding-top:24px}.heading h1{font-size:32px;letter-spacing:-.045em}.heading-copy{font-size:15px}.message{border-radius:12px;border:1px solid var(--line);box-shadow:var(--shadow);padding:17px 20px}.message-title{font-size:19px;font-weight:750;line-height:1.55}.message-origin{margin-bottom:10px}.source-caption,.message-meta .time{font-size:12px}.inline-insight{background:var(--accent-soft);border-radius:8px;padding:12px 14px;margin-top:13px}.inline-insight>span{display:flex;align-items:center;gap:6px;color:var(--accent);font-size:10px;font-weight:800;letter-spacing:.07em}.inline-insight p{font-size:14px;margin-top:6px;font-weight:550;line-height:1.6}.insight-assets{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.insight-assets button{border:1px solid var(--line);background:var(--panel);color:var(--accent);padding:5px 9px;border-radius:6px;font-size:11px}.insight-banner{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(120deg,var(--accent-soft),var(--panel));border:1px solid var(--line);border-radius:12px;padding:24px;margin:0 0 13px}.insight-banner h2{font-size:24px;margin-top:6px}.insight-banner p{font-size:14px;color:var(--muted);margin-top:7px;max-width:530px}.insight-symbol{color:var(--accent);padding:15px;border-radius:16px;background:var(--panel)}.insight-metrics{display:grid;grid-template-columns:repeat(3,1fr);background:var(--panel);border:1px solid var(--line);border-radius:10px;margin-bottom:13px}.insight-metrics>div{padding:16px 19px}.insight-metrics>div+div{border-left:1px solid var(--line)}.insight-metrics span{display:block;font-size:9px;letter-spacing:.07em;color:var(--muted);font-weight:750}.insight-metrics strong{display:block;font-size:25px}.insight-metrics small{color:var(--muted);font-size:10px}.insight-filters{display:flex;gap:13px;align-items:end;margin-bottom:18px}.insight-filters label{font-size:11px;color:var(--muted);flex-shrink:0}.insight-filters select{display:block;font:inherit;font-size:13px;padding:9px 12px;margin-top:5px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink)}.insight-filters p{font-size:11px;color:var(--muted);margin-left:auto;max-width:240px}.alert-dashboard{display:grid;grid-template-columns:1.5fr 1fr;gap:14px;margin-bottom:15px}.alert-focus,.delivery-summary{padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}.alert-focus{background:linear-gradient(120deg,var(--accent-soft),var(--panel))}.alert-focus h2{font-size:23px;margin-top:5px}.alert-focus p{font-size:13px;color:var(--muted);margin-top:8px}.alert-dashboard-actions{display:flex;gap:9px;margin-top:16px;flex-wrap:wrap}.alert-dashboard-actions button{font-size:12px}.delivery-summary{display:flex;flex-direction:column;gap:11px;font-size:12px}.delivery-summary strong{font-size:15px}.delivery-summary i{width:7px;height:7px;border-radius:50%;display:inline-block;background:var(--muted);margin-right:5px}.delivery-summary i.delivery-on{background:#13a479}.planned-channel{color:var(--muted);border-top:1px solid var(--line);padding-top:8px}.alert-filter-bar{display:flex;gap:8px;flex-wrap:wrap}.alert-filter-bar button{background:var(--panel);color:var(--muted);border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:12px}.alert-filter-bar button.selected{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.alert-filter-bar b{padding:2px 5px;background:var(--raised);border-radius:5px;margin-left:4px}.view-note{font-size:11px;color:var(--muted);margin:10px 0 20px}body[data-view=signals] .stream-tabs,body[data-view=alerts] .stream-tabs{display:none}body[data-view=signals] .toolbar,body[data-view=alerts] .toolbar{justify-content:flex-end}#source-overview{display:flex;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:12px;margin:20px 0;padding:17px 20px;gap:25px}.source-stat{flex:1}.source-stat>span{display:block;font-size:9px;color:var(--muted);letter-spacing:.08em}.source-stat strong{display:block;font-size:24px;line-height:1.5}.source-stat small{display:block;font-size:10px;color:var(--muted)}.directory-views{display:flex;gap:6px}.directory-views button{width:36px;height:36px;background:var(--panel);border:1px solid var(--line);border-radius:7px}.directory-views button.selected{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.source-card{border-radius:12px;box-shadow:var(--shadow);transition:border-color .16s,transform .16s}.source-card:hover{border-color:#a3c2ff;transform:translateY(-2px)}.source-card h2{font-size:18px}.source-grid.source-list,#source-grid.source-list{display:flex;flex-direction:column}.source-list .source-card{display:grid;grid-template-columns:160px 1fr 190px 160px;align-items:center;gap:20px}.source-list .source-card-body p{max-width:520px}.source-list .source-card-body{padding:0}.source-list .source-health{margin:0;border:0}.source-list .source-actions{margin:0;padding:0;border:0}.live-token{border-radius:15px;box-shadow:var(--shadow)}.live-token h2{font-size:28px}.live-fields>div{background:var(--raised);border:0;border-radius:8px;padding:14px}.live-fields strong{font-size:20px}.contract-block{position:relative;background:var(--raised);padding:17px;border-radius:10px}.contract-block code{overflow-wrap:anywhere;font-size:13px;display:block;margin:5px 0}.contract-copy{padding:5px 10px;background:var(--panel);border:1px solid var(--line);border-radius:6px;color:var(--accent);font-size:11px;margin-bottom:9px}.token-research-note{margin-top:19px;border-top:1px solid var(--line);padding-top:19px}.token-research-note>p{font-size:13px;color:var(--muted);margin:8px 0 15px}.token-research-note h3{font-size:16px;margin-bottom:9px}.token-research-note>button{display:block;width:100%;text-align:left;border:1px solid var(--line);padding:12px;background:var(--raised);color:var(--ink);border-radius:8px;margin-top:7px;font-size:13px}.plan-card{border-radius:13px;box-shadow:var(--shadow);padding:25px}.plan-card.featured{border-color:var(--accent)}.plan-card h2{font-size:25px}.plans h1{font-size:34px}.notification-dialog{border-radius:16px}.modal{border-radius:17px}.priority-overlay .modal{border-top:4px solid #2864f6}
@media(max-width:1100px){.source-list .source-card{grid-template-columns:120px 1fr 140px}.source-list .source-health{display:none}.source-list .source-kind{font-size:10px}}
@media(max-width:760px){.brand-wordmark{font-size:17px}.nav-tab{font-size:13px;min-height:42px}.balanced-sidebar nav{overflow-x:auto;flex-wrap:nowrap}.heading h1{font-size:29px}.message{padding:14px}.message-title{font-size:19px}.inline-insight p{font-size:15px}.inline-insight>span{font-size:11px}.insight-assets button{min-height:36px;font-size:12px}.insight-banner{padding:19px}.insight-banner h2{font-size:23px}.insight-symbol{display:none}.insight-banner p{font-size:15px}.insight-metrics>div{padding:12px}.insight-metrics span{font-size:8px}.insight-metrics strong{font-size:23px}.insight-filters{flex-wrap:wrap}.insight-filters label{flex:1}.insight-filters select{width:100%;font-size:14px}.insight-filters p{max-width:none;margin-left:0;font-size:12px}.alert-dashboard{grid-template-columns:1fr}.alert-focus p{font-size:15px}.delivery-summary{font-size:14px}.alert-filter-bar button{font-size:12px;min-height:44px}.view-note{font-size:12px}#source-overview{padding:14px;gap:13px;flex-wrap:wrap}.source-stat{flex-basis:35%}.source-stat span{font-size:10px}.source-stat small{font-size:11px}.directory-views{margin-left:auto}.source-list .source-card{grid-template-columns:1fr}.source-list .source-card>.row{justify-content:flex-start}.source-list .source-health{display:block}.source-list .source-actions{display:flex}.source-list .source-card-body p{font-size:14px}.live-fields strong{font-size:20px}.token-research-note p{font-size:14px}.token-research-note>button{font-size:14px;min-height:44px}.plans h1{font-size:29px}.plan-card{padding:22px}}
@media(prefers-reduced-motion:reduce){.source-card{transition:none}.source-card:hover{transform:none}}

:root{--accent:#2B6CFF}.brand-wordmark em{font-style:normal;font-size:11px;letter-spacing:0;background:var(--accent-soft);color:var(--accent);padding:3px 5px;border-radius:5px;vertical-align:middle}.brand-wordmark{letter-spacing:-.045em}:root[data-theme=dark]{--accent:#8AB2FF}@media(max-width:760px){.brand-wordmark{font-size:15px}.brand-wordmark em{font-size:9px}.brand-mark,.brand-mark svg{width:31px;height:31px}.brand{gap:7px}}
/* Atlas Pulse AI · Intelligence release */


body{font-weight:500}header{border-bottom:1px solid var(--line);box-shadow:none}.brand-wordmark{font-size:20px;letter-spacing:-.04em}.brand-wordmark em{font-size:16px;background:none;padding:0;color:#278de4}.header-context{font-size:12px;color:var(--muted)}.balanced-sidebar{background:var(--panel);border-right:1px solid var(--line)}.nav-tab{border-radius:8px;font-size:15px;min-height:44px;gap:13px}.nav-tab.active{background:var(--accent-soft);color:var(--accent);box-shadow:none;border-left:3px solid var(--accent)}.watch-source{border:0;background:transparent;border-radius:9px;padding:9px 7px}.watch-source.priority-on{background:var(--accent-soft)}.watch-name .source-text{font-size:13px}.watch-name .source-text small{font-size:11px}.alert-bell.active{background:var(--accent);color:#fff;box-shadow:0 3px 9px #0b3d9120}.alert-bell{border-radius:9px}.source-avatar,.message-avatar,.directory-avatar{border-radius:50%;overflow:hidden}.shell{gap:22px}.heading{margin-bottom:18px}.heading h1{font-size:29px;line-height:1.25;letter-spacing:-.04em}.heading-copy{font-size:14px;margin-top:9px}.eyebrow{color:var(--accent);letter-spacing:.11em}.toolbar{padding:0;margin-bottom:12px}.stream-tabs{border:0;border-radius:0;padding:0;background:none;gap:5px}.stream-tabs button{font-size:13px;padding:9px 13px;border-radius:8px;min-height:38px}.stream-tabs .selected{background:var(--accent);color:#fff}.feed-controls{margin-bottom:7px}.stream-search{border-radius:9px;min-height:43px;background:var(--panel)}.stream-search input{font-size:14px}.connection-detail{font-size:12px;margin:9px 0 12px}.stream{display:flex;flex-direction:column;gap:11px;border:0;background:transparent}.message{border:1px solid var(--line);border-radius:12px;padding:17px 19px;background:var(--panel);box-shadow:var(--shadow);margin:0}.message-origin{gap:11px}.message-avatar{width:42px;height:42px}.name{font-size:15px;font-weight:700}.source-caption,.time{font-size:11px}.demo-label{font-size:10px;max-width:150px}.message-content{padding-left:0}.message-title{font-size:17px;line-height:1.55;font-weight:700;margin-top:12px}.message-excerpt{font-size:13px;line-height:1.7;color:var(--muted);margin:6px 0 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.message-bottom{margin-top:12px;padding-top:10px;border-top:1px solid var(--line);gap:10px}.analysis-link,.comments-toggle{font-size:12px}.inline-insight{margin-top:12px;padding:12px 14px;background:var(--accent-soft);border:1px solid #3ba0ff22;border-radius:9px}.inline-insight>span{font-size:10px;display:flex;align-items:center;gap:6px}.inline-insight p{font-size:13px;line-height:1.7}.direction-pill{margin-left:auto;text-transform:capitalize;font-size:11px;border-radius:5px;padding:2px 7px;background:var(--panel);color:var(--muted)}.direction-pill.positive{background:var(--positive-soft);color:var(--positive)}.direction-pill.negative{background:var(--negative-soft);color:var(--negative)}.insight-assets button{font-size:11px;min-height:28px}.rail-card{border-radius:12px;box-shadow:var(--shadow);padding:18px}.rail-card h2{font-size:15px}.rail-membership{background:linear-gradient(130deg,var(--accent-soft),var(--panel))}.rail-source strong{font-size:13px}.rail-source small{font-size:11px}.insight-banner{background:linear-gradient(110deg,var(--accent-soft),var(--panel));border:1px solid var(--line);border-radius:12px;padding:20px}.insight-banner h2{font-size:24px}.insight-metrics strong{font-size:29px}.insight-metrics span{font-size:10px}.alert-dashboard{border-radius:12px}.modal{max-width:780px;padding:27px;box-shadow:0 25px 90px #0e1b2d30}.modal h2{font-size:24px;line-height:1.5}.modal-source{display:flex;align-items:center;gap:12px}.analysis-box{background:var(--accent-soft);border:1px solid #3ba0ff30;padding:20px}.analysis-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 20px}.analysis-metrics>div{background:var(--panel);padding:13px;border:1px solid var(--line);border-radius:9px}.analysis-metrics span{display:block;font-size:11px;color:var(--muted)}.analysis-metrics strong{display:block;font-size:17px;text-transform:capitalize}.priority-overlay .modal{max-width:610px}.priority-summary{font-size:15px;background:var(--accent-soft);color:var(--ink)}.discover-page{max-width:1400px}.discover-heading h1{font-size:30px}.directory-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:22px;align-items:start}.source-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.source-card{padding:17px;box-shadow:var(--shadow)}.source-card h2{font-size:17px}.source-card-body p{font-size:12px;line-height:1.75}.source-kind{font-size:10px}.source-category{font-size:10px}.source-health{font-size:11px}.source-health small{font-size:10px}.source-topics{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.source-topics span{background:var(--accent-soft);color:var(--accent);border-radius:4px;padding:2px 6px;font-size:10px}.source-actions{flex-wrap:wrap;gap:7px}.source-signals{width:100%;background:none;color:var(--accent);border:0;text-align:left;padding:4px 0;font-size:12px}.follow-button{font-size:12px;min-height:36px}.directory-distribution{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:18px;margin-bottom:15px}.directory-distribution h3{font-size:15px;margin-bottom:18px}.directory-distribution>div{display:grid;grid-template-columns:1fr auto;gap:5px;font-size:12px;margin-bottom:13px}.directory-distribution i{height:3px;background:var(--accent-soft);grid-column:1/-1;border-radius:4px;position:relative}.directory-distribution i:after{content:'';position:absolute;width:var(--share);height:100%;background:#3ba0ff;border-radius:4px}.directory-rail>.meta{font-size:11px}.source-list .source-card{grid-template-columns:90px 1fr 140px}.source-list .source-topics{display:none}.source-list .source-actions{grid-column:3}.source-list .source-health{grid-column:2}.token-search{max-width:1160px}.token-search h1{font-size:30px}.live-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.live-fields>div{border:1px solid var(--line)}.live-fields span{font-size:12px}.live-fields strong{font-size:21px}.plan-card{background:var(--panel)}.source-card:hover{transform:none}
@media(max-width:1300px){.directory-layout{grid-template-columns:minmax(0,1fr) 210px}.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-context{display:none}}
@media(max-width:1000px){.directory-layout{grid-template-columns:1fr}.directory-rail{display:grid;grid-template-columns:1fr 1fr;gap:12px}.directory-rail>.meta{grid-column:1/-1}}
@media(max-width:760px){body{font-size:16px}.brand-wordmark{font-size:17px}.brand-wordmark em{font-size:15px}.heading h1,.discover-heading h1,.token-search h1{font-size:26px}.heading-copy{font-size:14px}.balanced-sidebar nav .nav-tab{font-size:14px;min-height:44px;flex-shrink:0}.watch-name .source-text{font-size:14px}.watch-name .source-text small{font-size:12px}.watch-source{padding:9px}.message{padding:15px;border-radius:11px}.name{font-size:16px}.message-title{font-size:18px;line-height:1.65}.message-excerpt{font-size:15px;line-height:1.7}.source-caption,.time{font-size:12px}.inline-insight p{font-size:15px}.analysis-link,.comments-toggle{font-size:13px;min-height:36px}.stream-tabs button{font-size:13px;min-height:42px;padding:8px 11px}.stream-search input{font-size:16px}.source-grid{grid-template-columns:1fr}.source-card h2{font-size:19px}.source-card-body p{font-size:14px}.source-health{font-size:13px}.source-health small{font-size:12px}.source-kind,.source-category,.source-topics span{font-size:12px}.source-signals,.follow-button{font-size:14px;min-height:44px}.directory-rail{grid-template-columns:1fr}.directory-distribution{display:none}.analysis-metrics{grid-template-columns:1fr 1fr}.analysis-metrics>div:last-child{grid-column:1/-1}.modal{padding:20px}.modal h2{font-size:21px}.live-fields{grid-template-columns:1fr 1fr}.source-list .source-card{display:flex;flex-direction:column;align-items:stretch}.source-list .source-topics{display:flex}.demo-label{max-width:95px}.header-end .account{font-size:11px}}
.global-search{display:flex;align-items:center;gap:10px;width:340px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--muted);padding:9px 12px;font-size:12px}.global-search kbd{font:inherit;font-size:10px;margin-left:auto;background:var(--panel);padding:1px 4px;border:1px solid var(--line);border-radius:4px}.global-search svg{width:16px}.rail-insight{display:block;width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--line);padding:12px 0}.rail-insight strong{display:block;font-size:13px}.rail-insight span{font-size:12px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted);margin:5px 0}.rail-insight small{font-size:10px;text-transform:capitalize;color:var(--accent)}@media(max-width:1100px){.global-search{width:250px}}@media(max-width:900px){.global-search{display:none}}

.brand{align-items:center}.brand-wordmark{display:inline-flex;align-items:baseline;gap:5px;line-height:1.2}.brand-wordmark em{font:inherit;line-height:inherit;vertical-align:baseline;padding:0;background:none;letter-spacing:inherit}
/* Directory statistics must occupy a full row, not the main card column. */
.directory-layout>#source-overview{grid-column:1/-1;min-width:0;margin:0 0 4px}.directory-layout>#source-grid{grid-column:1;min-width:0;width:100%}.directory-layout>#directory-rail{grid-column:2;min-width:0}.source-card{min-width:0}.source-card .profile-link{overflow-wrap:anywhere}.brand{flex-shrink:0}.brand-wordmark{white-space:nowrap}.global-search{min-width:0;flex-shrink:1}
@media(max-width:1000px){.directory-layout>#directory-rail{grid-column:1}.directory-layout>#source-grid{grid-column:1}.directory-layout>#source-overview{grid-column:1}}
@media(max-width:760px){.brand-wordmark{font-size:16px}.brand-wordmark em{font-size:inherit}}

/* Bilingual source news */
.english-translation{border-left:3px solid var(--accent,#376df3);padding:10px 14px;margin:12px 0;background:var(--surface-soft,rgba(70,110,210,.06));border-radius:0 10px 10px 0;overflow-wrap:anywhere}
.english-translation small{display:block;color:var(--muted,#7a8ba3);font-size:11px;font-weight:800;letter-spacing:.07em;margin-bottom:6px}
.english-translation strong{display:block;font-size:16px;line-height:1.5;color:inherit}
.english-translation p{font-size:15px;line-height:1.65;margin:7px 0;white-space:pre-wrap;color:inherit}
.translation-status{font-size:13px;margin:8px 0}
@media(max-width:760px){.english-translation strong{font-size:17px}.english-translation p{font-size:16px}}

/* Existing /login.css; normal cascade except semantic visibility. */
.atlas-login{box-sizing:border-box;width:min(460px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:38px 34px 28px;border:1px solid var(--line,#dfe5ed);border-radius:24px;background:var(--panel,#fff);color:var(--ink,#172033);box-shadow:0 30px 100px #07122440}.atlas-login::backdrop{background:#101b3480;backdrop-filter:blur(5px)}.atlas-login .login-close{position:absolute;right:15px;top:12px;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted,#677489);font-size:28px;cursor:pointer}.login-brand{font-size:31px;font-weight:800;letter-spacing:-3px;color:var(--accent,#3268ec);text-align:center}.login-brand span{font-size:30px;color:#36bea0}.atlas-login h2{text-align:center;font-size:25px;line-height:1.3;font-weight:700;letter-spacing:-.6px;margin:14px 0 9px}.atlas-login .login-subtitle{color:var(--muted,#677489);font-size:15px;line-height:1.5;text-align:center;margin:0 0 27px}.social-login{display:grid;gap:12px}.atlas-login .social-signin{display:flex;justify-content:center;align-items:center;gap:13px;min-height:52px;box-sizing:border-box;border:1px solid var(--line,#d6dce5);border-radius:999px;background:var(--panel,#fff);color:var(--ink,#172033);text-decoration:none;font-size:16px;font-weight:600;transition:background .15s,border-color .15s,box-shadow .15s}.social-signin .social-brand{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px}.social-brand svg{width:24px;height:24px;display:block}.atlas-login .social-signin[href]:hover{background:var(--raised,#f4f7fb);border-color:var(--accent,#3268ec);box-shadow:0 0 0 3px #3268ec0d}.social-signin:focus-visible,.login-close:focus-visible{outline:3px solid var(--accent,#3268ec);outline-offset:3px}.atlas-login .social-signin[aria-disabled=true]{color:var(--muted,#677489);background:var(--raised,#f6f8fb);cursor:not-allowed}.atlas-login .login-setup{font-size:12px;color:var(--muted,#677489);text-align:center;margin:13px 0 0}.login-divider{display:flex;align-items:center;gap:14px;margin:22px 0 18px;color:var(--muted,#677489);font-size:13px}.login-divider:before,.login-divider:after{content:"";height:1px;background:var(--line,#dfe5ed);flex:1}.login-other summary{cursor:pointer;text-align:center;font-size:14px;color:var(--muted,#677489);padding:4px}.login-other label{display:block;font-size:14px;margin-top:17px}.login-other input{display:block;box-sizing:border-box;width:100%;padding:13px 14px;font-size:16px;margin:8px 0 12px;border:1px solid var(--line,#d6dce5);border-radius:12px;background:var(--bg,#f5f7fb);color:var(--ink,#172033)}.atlas-login .login-submit{width:100%;border-radius:999px;padding:13px;font-size:15px}.atlas-login .login-status{font-size:14px;text-align:center;color:var(--ink,#172033);line-height:1.5}.atlas-login .login-status:empty{display:none}.atlas-login .login-note{font-size:13px;text-align:center;line-height:1.5;color:var(--muted,#677489);margin:21px 0 0}@media(max-width:480px){.atlas-login{padding:32px 23px 24px;border-radius:21px}.atlas-login h2{font-size:23px}.atlas-login .social-signin{min-height:54px}}

.account-entry{display:flex;align-items:center;gap:8px;margin-left:8px;flex-shrink:0}.account-entry>button{white-space:nowrap;min-height:40px}.account-entry>button[hidden]{display:none}.atlas-login .login-other[hidden],.atlas-login .login-divider[hidden]{display:none}.login-mode-switch{display:block;width:100%;padding:10px 0 0;margin-top:5px;border:0;background:transparent;color:var(--accent,#3268ec);font-size:14px;font-weight:600;cursor:pointer}.login-mode-switch:hover{text-decoration:underline}@media(max-width:480px){.account-entry{gap:6px;margin-left:0}.account-entry>button{font-size:13px;padding:8px 10px}}
.account-entry{position:relative}.account-entry .account-trigger{display:flex;align-items:center;gap:10px;max-width:310px;padding:6px 10px 6px 6px;border:1px solid var(--line,#dfe5ed);border-radius:999px;background:var(--panel,#fff);color:var(--ink,#172033);cursor:pointer}.account-avatar{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#eaf1ff;color:#245bd5;font-size:13px;font-weight:800}.account-name{max-width:140px;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:650}.account-plan{padding:4px 7px;background:var(--raised,#f4f7fb);color:var(--accent,#3268ec);font-size:10px;font-weight:800;text-transform:uppercase;border-radius:6px;letter-spacing:.6px}.account-chevron{color:var(--muted,#677489);transition:transform .15s}.account-trigger[aria-expanded=true] .account-chevron{transform:rotate(180deg)}.account-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:1000;width:278px;max-width:calc(100vw - 32px);padding:8px;background:var(--panel,#fff);color:var(--ink,#172033);border:1px solid var(--line,#dfe5ed);border-radius:18px;box-shadow:0 16px 50px #06163826;animation:account-open .15s ease-out}.account-menu[hidden]{display:none}.account-menu-heading{padding:12px 12px 15px}.account-menu-heading strong{display:block;font-size:15px;overflow-wrap:anywhere}.account-menu-heading small{display:block;font-size:12px;color:var(--muted,#677489);margin-top:5px}.account-menu button{display:flex;align-items:center;gap:12px;width:100%;min-height:46px;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:inherit;text-align:left;font-size:14px;font-weight:600;cursor:pointer}.account-menu button:hover,.account-menu button:focus-visible{background:var(--raised,#f4f7fb);outline:2px solid transparent}.account-menu button:focus-visible{outline-color:var(--accent,#3268ec)}.account-menu svg{width:19px;height:19px;flex-shrink:0;color:var(--muted,#677489)}.account-menu-divider{height:1px;background:var(--line,#dfe5ed);margin:7px 6px}.account-menu .account-signout,.account-menu .account-signout svg{color:#dc5366}.account-dialog-description{text-align:center;color:var(--muted,#677489);line-height:1.6;font-size:15px}.account-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:24px 0}.account-stats:empty{display:none}.account-stats div{padding:16px 5px;text-align:center;background:var(--raised,#f4f7fb);border-radius:12px}.account-stats strong{display:block;font-size:20px}.account-stats small{display:block;color:var(--muted,#677489);font-size:11px;margin-top:7px}.account-dialog-actions{display:flex;gap:10px;margin-top:23px}.account-dialog-actions button{flex:1;min-height:46px;border-radius:999px;font-size:14px;cursor:pointer}@keyframes account-open{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.account-entry .account-trigger{gap:6px;max-width:210px;padding:5px 8px 5px 5px}.account-name{max-width:90px;font-size:13px}.account-avatar{width:32px;height:32px;flex-basis:32px}.account-menu button{min-height:50px;font-size:15px}.account-plan{font-size:9px}.account-menu{right:0}.account-stats small{font-size:12px}}@media(prefers-reduced-motion:reduce){.account-menu{animation:none}.account-chevron{transition:none}}

.account-avatar.account-provider{background:var(--raised,#f4f7fb);color:var(--ink,#172033)}.account-provider svg{width:21px;height:21px;display:block}
/* Mobile layout: bounded columns, readable navigation, wrapping header. */
@media(max-width:760px){
 html{width:100%;max-width:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{width:100%;max-width:100%;margin:0;min-width:0}*,*::before,*::after{box-sizing:border-box}
 header{height:auto;min-height:64px;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;width:100%;max-width:100%;position:relative}
 header .brand{padding:0;flex:1 1 auto;min-width:0;gap:8px}header .brand-wordmark{font-size:17px;white-space:nowrap;letter-spacing:-.035em}header .brand-wordmark em{font-size:inherit}header .brand-mark,header .brand-mark svg{width:32px;height:32px;flex-shrink:0}
 header .global-search,header .header-context,header .account{display:none}header .header-end{padding:0;gap:6px;margin-left:auto;flex:0 0 auto}.theme-toggle button{min-width:34px;min-height:36px;padding:7px}.notification-nav{width:36px;height:36px;min-width:36px}.theme-toggle button>span:last-child{display:none}
 header .account-entry{flex:1 0 100%;justify-content:flex-end;margin:0;padding-top:7px;border-top:1px solid var(--line);min-width:0}header .account-entry>button{min-height:40px;font-size:14px;padding:8px 15px}header .account-entry .account-trigger{max-width:100%;padding:5px 10px 5px 5px}.account-name{max-width:190px}.account-menu{max-width:calc(100vw - 24px);right:0}
 .balanced-sidebar{position:static;display:block;width:100%;max-width:100%;margin:0;padding:10px 12px 12px;border-right:0;min-width:0}
 .balanced-sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;padding:0 0 12px}.balanced-sidebar .nav-tab{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;border:0;border-left:0;min-height:44px;padding:8px 4px;font-size:13px;line-height:1.3;white-space:normal;text-align:center;min-width:0}.balanced-sidebar .nav-tab>span{flex:0 0 auto}.balanced-sidebar .nav-tab .ui-icon{width:18px;height:18px}.balanced-sidebar .nav-tab.active{border-left:0;box-shadow:none}
 .follow,.watchlist-rows{min-width:0;max-width:100%;width:100%}.watchlist-rows{display:flex;overflow-x:auto;overscroll-behavior-x:contain}.watch-source{flex:0 0 240px;max-width:85vw;min-width:0}.watch-name{flex:1;min-width:0}.watch-name .source-text{min-width:0;max-width:155px;font-size:14px}.watch-name .source-text small{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.alert-bell{flex-shrink:0}.follow-heading{font-size:12px}
 .shell,.discover-page,.plans,.token-search{width:100%;max-width:100%;margin-left:0;margin-right:0;padding:18px 12px 26px;min-width:0}.shell{display:block}.shell main,#workspace,#stream,.feed-controls,.toolbar{min-width:0;max-width:100%}.heading{gap:10px;align-items:center}.heading>div{min-width:0}.heading h1{font-size:26px;line-height:1.2}.heading .alert-cta{flex-shrink:0;padding:9px;font-size:13px}
 .toolbar{display:flex;gap:6px}.stream-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:1;gap:2px;min-width:0}.stream-tabs button{min-width:0;padding:9px 3px;font-size:13px;white-space:nowrap}.stream-tabs .desktop-label{display:none}.stream-tabs .mobile-label{display:inline}#pause{width:40px;min-width:40px;height:40px;padding:0}
 .feed-controls{display:flex;flex-direction:column;width:100%}.stream-search{width:100%;min-width:0}.stream-search input{width:100%;min-width:0;font-size:16px}.feed-controls .feed-facets{width:100%;min-width:0}.feed-controls select{min-width:0;max-width:100%}
 .message{width:100%;min-width:0;padding:15px}.message-origin{min-width:0;flex-wrap:wrap}.source-caption{min-width:0;overflow-wrap:anywhere;font-size:12px}.source-caption .name,.message .name{font-size:15px;overflow-wrap:anywhere}.message-title{font-size:17px;overflow-wrap:anywhere}.message-bottom{flex-wrap:wrap;gap:8px}.message-content{min-width:0}.source-grid{grid-template-columns:1fr}.directory-layout{grid-template-columns:minmax(0,1fr)}.directory-rail{display:none}.analysis-metrics{grid-template-columns:1fr}.notification-dialog{width:calc(100% - 24px);max-width:calc(100% - 24px)}.notification-buttons{display:flex;flex-wrap:wrap;gap:8px}
}
@media(max-width:360px){header .brand-wordmark{font-size:15px}header .brand-mark,header .brand-mark svg{width:28px;height:28px}.theme-toggle button{min-width:30px;padding:5px}.balanced-sidebar .nav-tab{font-size:12px;gap:5px}}

.analysis-quick-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 18px}.analysis-quick-actions button{min-height:44px;display:flex;align-items:center;gap:7px}.feed-back-top{position:fixed;right:18px;bottom:22px;z-index:10;background:var(--accent);color:var(--panel);border:1px solid var(--line);border-radius:999px;padding:12px 18px;font-size:14px;box-shadow:0 4px 20px #06163825;cursor:pointer}.feed-back-top[hidden]{display:none}.modal-shade .modal{overscroll-behavior:contain}.analysis-modal-open{overflow:hidden}#ai-result{scroll-margin-top:80px}@media(max-width:760px){.modal-shade{position:fixed;inset:0;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:12px;z-index:1001}.modal-shade[hidden]{display:none!important}.modal-shade .modal{width:100%;max-height:calc(100dvh - 24px);overflow-y:auto;padding:16px}.modal-shade .modal>.row{position:sticky;top:-16px;z-index:3;background:var(--panel);padding:10px 0;border-bottom:1px solid var(--line)}.analysis-quick-actions{position:sticky;top:49px;z-index:2;background:var(--panel);padding:8px 0;margin:0 0 12px;border-bottom:1px solid var(--line)}.analysis-quick-actions button{font-size:14px}.modal-shade .actions{position:sticky;bottom:-16px;padding:12px 0;background:var(--panel);border-top:1px solid var(--line)}.modal-shade h2{font-size:21px;line-height:1.45}.feed-back-top{bottom:18px;right:12px}}

.language-select{font:inherit;font-size:13px;font-weight:600;min-height:36px;max-width:100px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);padding:6px;cursor:pointer}@media(max-width:760px){header .brand{flex-basis:100%}header .header-end{margin-left:0;width:100%;justify-content:flex-end}.language-select{margin-right:auto;min-height:40px;font-size:14px}}
.language-select{max-width:185px;width:auto}@media(max-width:760px){.language-select{max-width:190px}.balanced-sidebar .nav-tab{overflow-wrap:anywhere;hyphens:auto}.stream-tabs button{white-space:normal;overflow-wrap:anywhere;line-height:1.3}.account-menu button span{white-space:normal}.analysis-quick-actions button{white-space:normal}.account-dialog-actions button{white-space:normal}}

/* Existing /readability.css; normal cascade except semantic visibility. */
/* Atlas Pulse AI · readable controls, balanced cards and a shared brand. */
:root{--app-header-height:80px;--translation-bg:#f7faff;--translation-border:#dce7f7}
:root[data-theme=dark]{--translation-bg:#172c43;--translation-border:#35516f}
.avatar-profile-trigger{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;cursor:pointer}
.avatar-profile-trigger:hover{box-shadow:inset 0 0 0 2px var(--accent)}
.avatar-profile-trigger:focus-visible{outline:none;box-shadow:inset 0 0 0 3px var(--accent)}
.avatar-profile-trigger::after{content:'';position:absolute;inset:1px;border:2px solid transparent;border-radius:inherit;pointer-events:none;z-index:2}
.avatar-profile-trigger:hover::after,.avatar-profile-trigger:focus-visible::after{border-color:var(--accent)}
.watch-label{min-width:0;flex:1;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.source-profile-dialog{position:fixed;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:30px;border:1px solid var(--line);border-radius:22px;color:var(--ink);background:var(--panel);overflow:auto;overscroll-behavior:contain}
.source-profile-close{position:absolute;right:16px;top:16px;width:40px;height:40px;padding:0;display:grid;place-items:center}
.source-profile-ident{display:flex;align-items:center;gap:16px;padding-right:30px;margin:6px 0 26px}
.source-profile-ident>.directory-avatar{width:76px;height:76px;font-size:24px}
.source-profile-ident>div{min-width:0}
.source-profile-kind{display:block;font-size:13px;color:var(--muted);line-height:1.5;margin-bottom:4px}
.source-profile-ident h2{font-size:26px;line-height:1.3;margin:0 0 5px;letter-spacing:-.03em;overflow-wrap:anywhere}
.source-profile-handle{font-size:15px;color:var(--muted);overflow-wrap:anywhere}
.source-profile-section{margin:22px 0}
.source-profile-section h3{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:700;line-height:1.5;margin:0 0 9px}
.source-profile-section p{font-size:16px;line-height:1.8;font-weight:400;margin:0;color:var(--ink);overflow-wrap:anywhere}
.source-profile-recommendation{padding:18px 20px;background:var(--accent-soft);border:1px solid var(--translation-border);border-radius:13px}
.source-profile-recommendation h3{color:var(--accent)}
.source-profile-topics{display:flex;gap:8px;flex-wrap:wrap}
.source-profile-topics>span{padding:6px 10px;border:1px solid var(--line);border-radius:7px;background:var(--raised);color:var(--ink);font-size:13px;font-weight:500;line-height:1.4}
.source-profile-collection{display:flex;flex-wrap:wrap;gap:6px 16px;padding:15px 0;border-top:1px solid var(--line);font-size:13px;color:var(--muted);line-height:1.6}
.source-profile-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:8px}
.source-profile-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 13px;font-size:14px;white-space:normal}
.source-profile-actions .profile-priority-on{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}
.source-profile-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px;font-size:14px;line-height:1.5}
@media(max-width:760px){.source-profile-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:22px}.source-profile-ident{gap:12px;margin:10px 0 22px}.source-profile-ident>.directory-avatar{width:62px;height:62px}.source-profile-ident h2{font-size:23px}.source-profile-recommendation{padding:16px}.source-profile-actions>button{flex:1 1 140px;min-height:48px}.source-profile-section p{font-size:16px}}
body>header{height:var(--app-header-height);display:grid;grid-template-columns:auto minmax(200px,1fr) auto auto;column-gap:20px;align-items:center;padding-inline:max(20px,var(--edge));}
body>header .brand{width:auto;min-width:224px;padding:0;gap:12px;flex-shrink:0}
body>header .brand-mark,body>header .brand-mark img{display:block;width:40px;height:40px;flex-shrink:0}
body>header .brand-wordmark{font-size:22px;font-weight:750;letter-spacing:-.04em;line-height:1.15;gap:5px}
body>header .brand-wordmark em{color:var(--ink);font:inherit}
body>header .global-search{width:100%;max-width:410px;min-width:0;min-height:46px;margin:0;padding:10px 14px;gap:10px;font-size:15px;font-weight:500;text-align:left;background:var(--raised);color:var(--muted);border-radius:11px}
.global-search>span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body>header .global-search kbd{font-size:13px;font-weight:600;line-height:1.3;padding:4px 6px;flex-shrink:0}
body>header .header-end{gap:12px;margin:0;padding:0;min-width:0;justify-content:flex-end}
body>header .language-select{font-size:15px;font-weight:600;min-height:44px;width:190px;max-width:210px;padding:9px 30px 9px 12px;border-radius:10px;line-height:1.4;flex-shrink:0}
body>header .theme-toggle{padding:4px;border-radius:11px;flex-shrink:0}
body>header .theme-toggle button{font-size:14px;font-weight:600;min-height:36px;padding:7px 10px;gap:6px}
body>header .theme-toggle .ui-icon{width:18px;height:18px}
body>header .notification-nav{width:44px;height:44px;flex-shrink:0}
body>header .account{gap:8px;font-size:15px;font-weight:650;white-space:nowrap;padding:8px 11px;min-height:44px;background:var(--accent-soft);color:var(--accent);border:1px solid var(--line);border-radius:10px}
body>header .account .access-label{display:inline;width:auto;height:auto;background:none;color:inherit;font-size:inherit;font-weight:inherit;border-radius:0}
.access-dot{width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#297a66}
body>header .account-entry{margin:0;gap:8px;min-width:0}
body>header .account-entry>button{font-size:15px;min-height:44px;padding:9px 14px}
.account-entry .account-name{font-size:15px;max-width:120px}
.account-entry .account-plan{font-size:12px;letter-spacing:0;text-transform:none}
.account-menu-heading small{font-size:14px;line-height:1.5}
.account-stats small{font-size:13px}
.login-brand img{display:block;width:52px;height:52px;margin:auto}
.balanced-sidebar{top:var(--app-header-height)}
.watch-name .source-text{font-size:14px}
.watch-name .source-text small{font-size:12px}
.heading-copy{font-size:16px;line-height:1.65}
.message .name{font-size:16px}
.message .source-caption,.message .time{font-size:13px;line-height:1.5}
.message-title{font-size:19px;line-height:1.6}
.message-excerpt{font-size:15px;line-height:1.7}
.message .demo-label{font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.analysis-link,.comments-toggle{font-size:14px;min-height:36px}
.inline-insight>span{font-size:12px}
.inline-insight p{font-size:15px}
.stream-search input{font-size:16px}
.connection-detail{font-size:14px}
.rail-card h2{font-size:17px}
.rail-card>.meta,.rail-source strong,.rail-source small{font-size:14px;line-height:1.55}
/* The label belongs inside the card, so it cannot cover the preceding copy. */
.plans>h1{margin:10px 0 12px;line-height:1.25}
.plans>.meta{font-size:16px;line-height:1.7;max-width:72ch;margin:0 0 30px;color:var(--muted)}
.plans .plan-grid{gap:22px;align-items:stretch}
.plans .plan-card{min-width:0;padding:26px;border-radius:16px;overflow-wrap:anywhere}
.plans .recommend{position:static;align-self:flex-start;display:inline-flex;align-items:center;font-size:13px;line-height:1.4;padding:6px 10px;margin:0 0 14px;border-radius:7px;background:var(--accent-soft);color:var(--accent);letter-spacing:.04em}
.plans .plan-card h2{font-size:25px;line-height:1.3;margin:0 0 12px;letter-spacing:-.03em}
.plans .plan-card>.eyebrow{display:flex;align-items:center;min-height:30px;font-size:13px;line-height:1.5;margin-bottom:14px}
.plans .price{font-size:36px;line-height:1.3;margin:2px 0 14px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.plans .price span{font-size:15px;font-weight:500}
.plans .plan-card ul{margin:8px 0 24px}
.plans .plan-card li{font-size:16px;font-weight:500;line-height:1.7;margin:12px 0;padding-left:22px;position:relative}
.plans .plan-card li:before{position:absolute;left:0;margin:0}
.plans .plan-card>.meta,.plans .membership .meta{font-size:15px;font-weight:500;line-height:1.75}
.plans .plan-card>.meta{margin:0 0 20px}
.plans .plan-card>.full{margin-top:auto;min-height:46px;font-size:15px;line-height:1.5;white-space:normal;text-align:center}
.plans .membership{align-items:center;padding:24px;gap:24px}
.plans .membership h2{font-size:21px;line-height:1.4;margin-bottom:8px}
.plans .membership>div{min-width:0}
.plans .membership>button{flex-shrink:0;min-height:44px;font-size:15px;white-space:normal}
/* Translation is an editorial companion to the source, not a second headline dump. */
.english-translation{margin:16px 0 4px;padding:0;background:var(--translation-bg);border:1px solid var(--translation-border);border-radius:13px;overflow:hidden;overflow-wrap:anywhere;text-align:left}
.translation-heading{display:flex;align-items:center;gap:9px;padding:13px 16px 10px;flex-wrap:wrap}
.translation-language{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:30px;height:25px;border:1px solid var(--translation-border);border-radius:6px;background:var(--panel);color:var(--accent);font-size:12px;font-weight:750;letter-spacing:.03em}
.translation-label{font-size:14px;font-weight:700;color:var(--ink);line-height:1.5}
.translation-method{margin-left:auto;color:var(--muted);font-size:12px;font-weight:500;line-height:1.5}
.translation-copy{padding:0 16px 14px}
.english-translation .translation-copy strong{display:block;font-size:17px;font-weight:650;line-height:1.6;letter-spacing:-.015em;color:var(--ink)}
.english-translation .translation-copy p{margin:8px 0 0;font-size:16px;font-weight:400;line-height:1.75;white-space:pre-wrap;color:var(--ink)}
.translation-note{padding:10px 16px;border-top:1px solid var(--translation-border);font-size:13px;font-weight:500;line-height:1.5;color:var(--muted)}
.translation-full .translation-copy p{font-size:17px;line-height:1.8}
.translation-status{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 0;font-size:14px;font-weight:500;color:var(--muted)}
.translation-wait-copy{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px;row-gap:2px;line-height:1.6}
.translation-wait-copy strong{font-size:14px;font-weight:650;color:var(--ink)}
.translation-wait-copy>span{font-size:14px;font-weight:400;color:var(--muted)}
.translation-status[data-state=translating] .translation-language{color:var(--accent);background:var(--accent-soft)}
@media(max-width:1500px) and (min-width:761px){body>header{column-gap:14px}body>header .header-end{gap:8px}body>header .language-select{width:180px}.account-entry .account-plan{display:none}}
@media(max-width:1350px) and (min-width:761px){body>header{grid-template-columns:auto minmax(0,1fr) auto}body>header .global-search{display:none}body>header .brand{min-width:218px}body>header .theme-toggle button>span:last-child{display:none}body>header .theme-toggle button{min-width:38px;justify-content:center}}
@media(max-width:1100px) and (min-width:761px){body>header .account{display:none}body>header .brand-wordmark{font-size:20px}.plans .plan-grid{grid-template-columns:1fr}.plans .plan-card{padding:24px}.plans .membership{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){
 body>header{display:flex;height:auto;min-height:0;padding:12px;gap:12px;flex-wrap:wrap;position:relative}
 body>header .brand{min-width:0;flex:1 0 100%;padding:0;gap:10px}
 body>header .brand-wordmark{font-size:21px}
 body>header .brand-mark,body>header .brand-mark img{width:36px;height:36px}
 body>header .header-end{width:100%;gap:9px;padding:0;justify-content:flex-end;flex-wrap:wrap}
 body>header .language-select{font-size:16px;min-height:44px;flex:1 1 150px;width:auto;max-width:none;margin-right:auto}
 body>header .theme-toggle button{min-width:40px;min-height:36px;padding:7px}
 body>header .notification-nav{width:44px;height:44px}
 body>header .account{display:none}
 body>header .account-entry{width:100%;flex:1 0 100%;padding-top:10px;border-top:1px solid var(--line);justify-content:flex-end}
 body>header .account-entry>button{font-size:15px;min-height:44px;padding:9px 16px}
 .account-entry .account-name{max-width:180px}
 .balanced-sidebar{top:auto}
 .plans>.meta{font-size:16px;margin-bottom:24px}
 .plans .plan-grid{grid-template-columns:minmax(0,1fr);gap:18px}
 .plans .plan-card{padding:22px}
 .plans .plan-card h2{font-size:24px}
 .plans .membership{align-items:stretch;flex-direction:column;padding:22px;gap:18px}
 .plans .membership>button{align-self:flex-start}
 .message-title{font-size:19px}
 .message .source-caption,.message .time{font-size:13px}
 .translation-heading{padding:12px 14px 10px;gap:8px}
 .translation-label{font-size:14px}
 .translation-method{font-size:12px}
 .translation-copy{padding:0 14px 14px}
 .english-translation .translation-copy strong{font-size:17px}
 .english-translation .translation-copy p{font-size:16px;line-height:1.75}
 .translation-note{padding:10px 14px;font-size:13px}
}
@media(max-width:360px){body>header .brand-wordmark{font-size:20px}.translation-method{margin-left:39px}}

/* Directory typography: real text sizes at 100% zoom, without raster scaling. */
body{font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,"Microsoft YaHei UI","Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif;-webkit-font-smoothing:auto;text-size-adjust:100%;-webkit-text-size-adjust:100%}
.source-card,.source-profile-dialog{--muted:#46566c}
:root[data-theme=dark] .source-card,:root[data-theme=dark] .source-profile-dialog{--muted:#c0cede}
.source-card{letter-spacing:normal;text-shadow:none}
.source-card>.row{align-items:flex-start;gap:12px;flex-wrap:wrap}
.source-card .source-kind{font-size:14px;font-weight:600;line-height:1.5;max-width:calc(100% - 58px);overflow-wrap:anywhere}
.source-card .directory-avatar{width:44px;height:44px;flex:0 0 44px}
.source-card-body{margin:14px 0 12px}
.source-card .source-category{font-size:14px;font-weight:700;line-height:1.5;letter-spacing:normal}
.source-card h2{font-size:20px;font-weight:700;line-height:1.4;letter-spacing:normal;margin:7px 0;overflow-wrap:anywhere}
.source-card .profile-link{font-size:15px;font-weight:600;line-height:1.6}
.source-card .source-card-body p{font-size:16px;font-weight:600;line-height:1.65;margin:10px 0 0;color:var(--muted)}
.source-card .source-health{font-size:14px;font-weight:600;line-height:1.6}
.source-card .source-health small{font-size:14px;font-weight:600;line-height:1.6;margin-top:3px;overflow-wrap:anywhere}
.source-card .source-topics{gap:6px;margin-top:12px}
.source-card .source-topics span{font-size:14px;font-weight:600;line-height:1.45;padding:4px 8px;max-width:100%;overflow-wrap:anywhere}
.source-card .source-actions{margin-top:14px;padding-top:12px}
.source-card .source-signals,.source-card .follow-button{font-size:15px;font-weight:700;line-height:1.5;min-height:42px;white-space:normal}
.source-card .alert-bell{min-width:42px;min-height:42px}
.category-tabs button{font-size:15px;font-weight:600;line-height:1.5;min-height:44px}
.category-tabs button small{font-size:14px;font-weight:600;opacity:1}
.directory-facets label,.directory-caption,.directory-note{font-size:15px;font-weight:600;line-height:1.6}
.directory-facets select{font-size:16px}
.source-profile-section h3{font-size:16px;font-weight:700}
.source-profile-section p{font-weight:600}
.source-profile-kind,.source-profile-topics>span,.source-profile-collection{font-size:14px;font-weight:600}
.source-profile-handle,.source-profile-links,.source-profile-actions button{font-size:15px;font-weight:600}
@media(max-width:760px){.source-card h2{font-size:20px}.source-list .source-card .source-card-body p{font-size:16px}.source-card .source-actions{gap:10px}.source-card .source-signals,.source-card .follow-button,.source-card .alert-bell{min-height:44px}.source-card .alert-bell{min-width:44px}}

/* Shared card footer: variable copy grows above a consistently aligned action area. */
#source-grid>.source-card{display:flex;flex-direction:column;align-items:stretch;align-self:stretch}
#source-grid .source-card .source-topics{margin-bottom:14px}
#source-grid .source-card .source-actions{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:36px 44px;align-items:center;column-gap:12px;row-gap:10px;margin: auto 0 0;padding:12px 0 0;border-top:1px solid var(--line);flex-shrink:0}
#source-grid .source-card .source-signals{grid-column:1/-1;grid-row:1;align-self:center;justify-self:start;width:auto;min-height:36px;padding:4px 0;font-size:15px;font-weight:600;line-height:1.5}
#source-grid .source-card .follow-button{grid-column:1;grid-row:2;justify-self:start;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:148px;max-width:100%;height:44px;min-height:44px;box-sizing:border-box;padding:0 12px;border:1px solid var(--accent);border-radius:999px;background:var(--panel);color:var(--accent);font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;letter-spacing:normal;white-space:nowrap;box-shadow:none}
#source-grid .source-card .follow-button .ui-icon{width:17px;height:17px;flex:0 0 17px}
#source-grid .source-card .follow-button:hover{background:var(--accent-soft)}
#source-grid .source-card .follow-button.following{background:var(--accent);border-color:var(--accent);color:var(--panel)}
#source-grid .source-card .follow-button.following:hover{filter:brightness(.95)}
#source-grid .source-card .follow-button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#source-grid .source-card .alert-bell{grid-column:2;grid-row:2;justify-self:end;align-self:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;padding:0}
:root[data-theme=dark] #source-grid .source-card .alert-bell.active{color:var(--panel)}

/* Consistent header controls and a readable contract research panel. */
body>header .global-search{font-family:inherit;font-size:15px;font-weight:500;min-height:46px;border:1px solid var(--line);background:var(--panel);border-radius:12px}
body>header .global-search kbd{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:3px 7px;font-family:inherit;font-size:12px;font-weight:500;color:var(--muted);background:var(--raised);border:1px solid var(--line);border-radius:6px;white-space:nowrap;letter-spacing:normal;box-shadow:none}
body>header .language-select{appearance:none;-webkit-appearance:none;font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;min-height:46px;border:1px solid var(--line);border-radius:12px;background-color:var(--panel);color:var(--ink);padding:10px 38px 10px 15px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2365778b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}
body>header .theme-toggle{box-sizing:border-box;min-height:46px;padding:4px;gap:3px;background:var(--raised);border:1px solid var(--line);border-radius:12px}
body>header .theme-toggle button{font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;min-height:36px;padding:7px 10px;gap:7px;border:1px solid transparent;border-radius:8px;justify-content:center}
body>header .theme-toggle button.selected{border-color:var(--line);background:var(--panel);color:var(--ink);box-shadow:0 1px 2px #0e1b2d08}
body>header .language-select:focus-visible,body>header .theme-toggle button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.live-token{--muted:#46566c}
:root[data-theme=dark] .live-token{--muted:#c0cede}
.live-token .live-fields span{font-size:14px;font-weight:600;line-height:1.5;margin-bottom:6px}
.live-token .live-fields strong{font-weight:650;font-variant-numeric:tabular-nums;line-height:1.5;overflow-wrap:anywhere}
.live-token .contract-block{padding:0;background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.contract-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:20px}
.contract-row+.contract-row{border-top:1px solid var(--line)}
.contract-content{min-width:0}
.contract-label{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:15px;font-weight:650;line-height:1.5;color:var(--ink)}
.contract-chain{display:inline-flex;align-items:center;padding:3px 9px;border-radius:6px;border:1px solid var(--line);background:var(--raised);font-size:13px;font-weight:600;line-height:1.4;color:var(--muted)}
.live-token .contract-block code{display:block;margin:10px 0 0;font-family:"Cascadia Code","SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:15px;font-weight:500;line-height:1.7;letter-spacing:normal;font-variant-ligatures:none;color:var(--ink);overflow-wrap:anywhere;white-space:normal;user-select:all}
.live-token .contract-copy{align-self:center;display:inline-flex;align-items:center;justify-content:center;min-width:86px;min-height:44px;box-sizing:border-box;margin:0;padding:10px 14px;border:1px solid var(--line);border-radius:9px;background:var(--raised);color:var(--ink);font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;white-space:normal}
.live-token .contract-copy:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
.live-token .contract-copy:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.live-token .venue-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0 0;padding:0 0 22px;border-bottom:1px solid var(--line)}
.venue-summary{min-width:0}
.venue-label{display:block;font-size:14px;font-weight:600;line-height:1.5;color:var(--muted);margin-bottom:4px}
.venue-summary>strong{display:block;font-size:18px;font-weight:650;line-height:1.5;color:var(--ink);overflow-wrap:anywhere}
.venue-summary>p{font-size:15px;font-weight:500;line-height:1.7;color:var(--muted);margin:6px 0 0;max-width:56ch}
.live-token .venue-link{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;box-sizing:border-box;padding:11px 17px;border:1px solid var(--accent);border-radius:10px;color:var(--accent);background:var(--panel);font-size:15px;font-weight:600;line-height:1.5;white-space:normal;text-align:center}
.live-token .venue-link:hover{background:var(--accent-soft)}
.live-token .token-research-note{margin-top:22px;padding:20px 22px;border:1px solid var(--line);border-radius:14px;background:var(--raised)}
.live-token .token-research-note>.eyebrow{font-size:13px;font-weight:700;line-height:1.5;letter-spacing:.06em}
.live-token .token-research-note p{font-size:15px;font-weight:500;line-height:1.8;color:var(--muted);margin:9px 0 18px;max-width:80ch}
.live-token .token-research-note h3{font-size:17px;font-weight:650;line-height:1.5;margin:0 0 8px;color:var(--ink)}
.live-token .token-research-note p:last-child{margin-bottom:0}
.live-token .token-research-note>button{font-size:15px;font-weight:600;line-height:1.6;min-height:46px;background:var(--panel);border-radius:10px}
@media(max-width:1000px){.live-token .venue-row{align-items:stretch;flex-direction:column;gap:16px}.live-token .venue-link{align-self:flex-start;max-width:100%;flex-shrink:1}}
@media(max-width:760px){body>header .language-select{font-size:16px;min-height:46px}body>header .theme-toggle{min-height:46px}body>header .theme-toggle button{font-size:15px;min-height:36px}.contract-row{gap:12px;padding:17px}.live-token .contract-copy{min-width:72px;padding:10px}.live-token .contract-block code{font-size:15px}.live-token .token-research-note{padding:18px}.live-token .venue-link{width:100%;min-height:48px}}
@media(max-width:380px){.contract-row{grid-template-columns:minmax(0,1fr);gap:12px}.live-token .contract-copy{justify-self:start;min-width:86px}}

/* Existing /public.css; normal cascade except semantic visibility. */
.public-main{max-width:1000px}.public-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.public-sources article,.public-item{min-width:0;padding:24px;border:1px solid var(--line);background:var(--panel);border-radius:15px}.public-item{margin:18px 0}.public-main h1{font-size:clamp(29px,4vw,42px)}.public-main h2{font-size:23px;line-height:1.5}.public-main h3{font-size:19px;line-height:1.5}.public-meta{color:var(--muted);font-size:15px;line-height:1.75}.public-meta a,.public-read{color:var(--blue);text-decoration:underline;text-underline-offset:4px}.public-read{display:inline-block;margin-top:12px;font-size:15px;font-weight:600}.public-sources p{font-size:16px;line-height:1.7}.public-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.public-actions a{text-decoration:none}.public-chips{display:flex;flex-wrap:wrap;gap:8px}.public-chips span{padding:5px 10px;border:1px solid var(--line);background:var(--panel);border-radius:7px;font-size:14px}.public-analysis{padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--soft)}.public-excerpt{white-space:pre-wrap}.public-pages{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.public-pages a{padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--blue)}.public-pages a[aria-current]{font-weight:700;border-color:var(--blue)}.public-search label{display:block;margin-bottom:8px;font-size:15px;font-weight:600}.public-search>div{display:flex;gap:10px}.public-search input{flex:1;min-width:0;padding:12px;font-size:16px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:10px}.public-main a:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.source-public-profile{color:inherit;text-decoration:none}.source-public-profile:hover{text-decoration:underline;text-underline-offset:4px}.statement-page{font-size:15px;font-weight:600;color:var(--accent);padding:6px 0;line-height:1.5;white-space:nowrap}.source-profile-links a{font-size:15px}.seo-nav nav{gap:16px}@media(max-width:650px){.public-sources{grid-template-columns:1fr}.public-item,.public-sources article,.public-analysis{padding:20px}.public-actions>a{width:100%;text-align:center;justify-content:center}.public-search>div{flex-wrap:wrap}.public-search input{flex-basis:100%}.public-main h1{font-size:29px}}

/* Existing /typography.css; normal cascade except semantic visibility. */
/* One type system, loaded after the legacy component styles. */
@font-face{font-family:"Atlas Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/inter-ui-20261017.woff2') format('woff2')}
:root{--font-ui:"Atlas Inter","Segoe UI","Microsoft YaHei UI","Microsoft YaHei","PingFang SC","Hiragino Sans GB","Noto Sans CJK SC",system-ui,sans-serif;--type-body:16px;--type-ui:15px;--type-meta:14px;--type-heading:30px;--muted:#4b5b70}
:root[data-theme=dark]{--muted:#c4d1e2}
body{font-family:var(--font-ui);font-optical-sizing:auto;font-size:var(--type-body);font-weight:500;line-height:1.65;letter-spacing:normal;-webkit-font-smoothing:auto;text-shadow:none}
button,input,select,textarea{font-family:var(--font-ui);font-optical-sizing:auto;letter-spacing:normal}
h1,h2,h3,h4,strong,b{font-family:inherit}
.meta,.foot,.view-note,.directory-note,.notification-help,.notification-fine{font-size:var(--type-ui);font-weight:500;line-height:1.75}
.eyebrow,.heading .eyebrow,.plans .plan-card>.eyebrow,.plans .plan-card>.recommend{font-size:var(--type-meta);font-weight:650;letter-spacing:.035em;line-height:1.5}
.heading h1,.discover-heading h1,.token-search h1{font-size:var(--type-heading);line-height:1.3;font-weight:650;letter-spacing:-.025em}
.plans>h1{font-size:34px;font-weight:650;letter-spacing:-.025em}
.heading-copy,.discover-heading .meta,.token-search>.meta{font-size:var(--type-body);font-weight:500;line-height:1.75}
.catalog-total{font-size:var(--type-ui);font-weight:550;line-height:1.5}
/* Navigation and account badges remain readable at their actual display size. */
.balanced-sidebar .nav-tab{font-size:16px;font-weight:600;line-height:1.5}
.follow-heading{font-size:14px;font-weight:650;letter-spacing:.025em;line-height:1.5}
.watch-name .source-text{font-size:15px;font-weight:600;line-height:1.5}
.watch-name .source-text small{font-size:13px;font-weight:500;line-height:1.5}
.balanced-sidebar .manage-sources,.balanced-sidebar .alert-settings-link,.balanced-sidebar .desk-discover{font-size:15px;font-weight:600;line-height:1.5;min-height:44px;text-decoration:none}
.balanced-sidebar .watchlist-legend{font-size:14px;font-weight:500;line-height:1.65;align-items:flex-start}
.watchlist-legend .ui-icon{width:16px;height:16px;flex-shrink:0;margin-top:3px}
.sidebar-upgrade p,.sidebar-upgrade button{font-size:15px;font-weight:500;line-height:1.6}
body>header .account{font-size:15px;font-weight:600}
.account-entry .account-name{font-size:15px;font-weight:600;max-width:150px}
.account-entry .account-plan{font-size:14px;font-weight:600;line-height:1.5;padding:4px 8px;letter-spacing:normal;text-transform:none;white-space:nowrap}
.account-entry .account-trigger{max-width:350px}
/* Statements and model context use an explicit body/meta hierarchy. */
.message .name{font-size:17px;font-weight:650;line-height:1.5}
.message .source-caption,.message .time{font-size:14px;font-weight:500;line-height:1.6}
.message .demo-label{font-size:14px;font-weight:550;line-height:1.5;padding:4px 8px;max-width:190px;white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}
.message-title{font-size:20px;font-weight:650;line-height:1.55;letter-spacing:-.012em}
.message-excerpt{font-size:16px;font-weight:450;line-height:1.75}
.message-signal .signal,.signal-confidence{font-size:14px;font-weight:550;line-height:1.5}
.message-signal .signal{padding:4px 8px}
.analysis-link,.comments-toggle,.message-bottom .analysis-link,.message-bottom .comments-toggle{font-size:15px;font-weight:600;line-height:1.5;min-height:40px}
.inline-insight>span{font-size:14px;font-weight:650;letter-spacing:.025em;line-height:1.5;flex-wrap:wrap;row-gap:8px}
.inline-insight .direction-pill{font-size:14px;font-weight:600;letter-spacing:normal;line-height:1.5;padding:3px 8px}
.inline-insight p{font-size:16px;font-weight:500;line-height:1.75}
.insight-assets button{font-size:14px;font-weight:600;line-height:1.5;min-height:36px;padding:7px 10px}
.connection-detail summary{font-size:14px;font-weight:550;line-height:1.6;min-height:36px;max-width:100%;white-space:normal}
.connection-detail{font-size:14px}
.translation-language{font-size:13px;font-weight:650;letter-spacing:normal}
.translation-label{font-size:15px;font-weight:600}
.translation-method,.translation-note{font-size:14px;font-weight:500;line-height:1.6}
.english-translation .translation-copy strong{font-size:18px;font-weight:600;line-height:1.65;letter-spacing:-.01em}
.english-translation .translation-copy p{font-size:16px;font-weight:450;line-height:1.8}
.translation-wait-copy strong,.translation-wait-copy>span{font-size:15px}
/* Alert and signal overviews share the same readable controls. */
.alert-focus h2{font-size:24px;font-weight:650;letter-spacing:-.015em;line-height:1.4;margin:10px 0}
.alert-focus p,.delivery-summary,.planned-channel{font-size:15px;font-weight:500;line-height:1.75}
.delivery-summary>strong{font-size:17px;font-weight:650;line-height:1.5}
.alert-dashboard-actions button,.alert-filter-bar button{font-size:15px;font-weight:600;line-height:1.5;min-height:44px;padding:10px 14px}
.alert-filter-bar{gap:10px}
.alert-filter-bar b{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;padding:3px 6px;margin-left:7px}
.insight-banner h2{font-size:26px;font-weight:650;line-height:1.35}
.insight-banner p{font-size:16px;font-weight:500;line-height:1.75}
.insight-metrics span{font-size:14px;font-weight:600;letter-spacing:.025em;line-height:1.5}
.insight-metrics small{font-size:14px;font-weight:500;line-height:1.6}
.insight-metrics strong{font-size:28px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.4;margin-top:6px}
.insight-filters{flex-wrap:wrap;gap:16px}
.insight-filters label{font-size:15px;font-weight:600;line-height:1.5;min-width:0}
.insight-filters select{font-size:16px;min-height:44px;max-width:100%}
.insight-filters p{font-size:14px;font-weight:500;line-height:1.7;max-width:34ch}
/* Side summaries no longer depend on 10–12px text. */
.rail-card h2{font-size:18px;font-weight:650;line-height:1.4}
.rail-source strong,.rail-source small{font-size:15px;line-height:1.6}
.rail-source strong{font-weight:600}
.rail-source small{font-weight:500}
.rail-card>.meta,.rail-empty,.rail-membership p,.rail-foot{font-size:15px;font-weight:500;line-height:1.75}
.rail-link{font-size:15px;font-weight:600;line-height:1.5;min-height:44px;box-sizing:border-box;text-align:left}
.rail-insight strong{font-size:15px;font-weight:600;line-height:1.5}
.rail-insight span{font-size:15px;font-weight:500;line-height:1.7;-webkit-line-clamp:3;margin:8px 0}
.rail-insight small{font-size:14px;font-weight:550;line-height:1.6}
/* Directory statistics and filters are information, not microcopy. */
#source-overview{align-items:stretch;gap:22px;padding:20px;flex-wrap:wrap}
.source-stat{min-width:125px}
.source-stat>span,.source-stat span{font-size:14px;font-weight:600;letter-spacing:.025em;line-height:1.5}
.source-stat strong{font-size:28px;font-weight:650;line-height:1.4;font-variant-numeric:tabular-nums;margin:5px 0}
.source-stat small{font-size:14px;font-weight:500;line-height:1.6}
.directory-views{align-self:center}
.directory-views button{width:42px;height:42px}
.directory-facets{gap:20px;align-items:flex-end}
.directory-facets label{display:flex;flex-direction:column;align-items:stretch;gap:7px;font-size:15px;font-weight:600;line-height:1.5}
.directory-facets select{font-size:16px;min-height:46px;margin-top:0;border-radius:10px}
.directory-caption{font-size:15px;font-weight:500;gap:12px;flex-wrap:wrap;line-height:1.65}
.category-tabs button{font-size:15px;font-weight:550;line-height:1.5;padding:9px 12px;min-height:44px}
.category-tabs button small{font-size:14px;font-weight:550;opacity:1}
.directory-distribution h3{font-size:17px;font-weight:650;line-height:1.5}
.directory-distribution>div{font-size:14px;font-weight:500;line-height:1.6;gap:7px}
.directory-distribution b{font-weight:600;font-variant-numeric:tabular-nums}
.directory-rail>.meta{font-size:14px;line-height:1.75}
.token-search label{font-size:16px;font-weight:600;line-height:1.5}
.token-search>.foot,#token-state{font-size:15px;font-weight:500;line-height:1.75}
.token-search form button{font-size:16px;font-weight:600;min-height:48px}
.plans .plan-card h2{font-weight:650;letter-spacing:-.015em}
.plans .plan-card li,.plans .plan-card>.meta,.plans .membership .meta{font-size:16px;font-weight:500;line-height:1.75}
.plans .plan-card>.full,.plans .membership>button{font-size:16px;font-weight:600;min-height:46px;text-decoration:none}
.plans .price{font-weight:650;font-variant-numeric:tabular-nums}
.plans .price span{font-size:16px;font-weight:500}
@media(max-width:1350px) and (min-width:761px){.account-entry .account-plan{display:none}.account-entry .account-name{max-width:120px}}
@media(max-width:760px){:root{--type-heading:28px}.message .demo-label{max-width:100%;justify-self:start}.message-title{font-size:19px}.message .source-caption,.message .time{font-size:14px}.source-stat{min-width:0;flex:1 1 40%}#source-overview{gap:18px;padding:18px}.insight-metrics{grid-template-columns:1fr}.insight-metrics>div+div{border-left:0;border-top:1px solid var(--line)}.insight-filters label{flex:1 1 160px}.insight-filters p{flex:1 0 100%;max-width:none}.account-entry .account-name{max-width:150px}.message-bottom .analysis-link,.message-bottom .comments-toggle{min-height:44px}.plans>h1{font-size:29px}.directory-facets{gap:14px}.translation-method{margin-left:0}}

/* Compact sound control shares the stream toolbar without crowding mobile tabs. */
.stream-playback{display:flex;gap:8px;align-items:center;flex-shrink:0}
.sound-toggle{width:44px;min-width:44px;height:44px;padding:10px;display:grid;place-items:center}
.sound-toggle .ui-icon{width:21px;height:21px}
.sound-toggle[data-state="ready"]{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}
.sound-toggle[data-state="off"]{color:var(--muted)}
.sound-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.sound-settings{display:flex;align-items:center;gap:16px;padding:0 0 18px}
.sound-settings p{flex:1;margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.sound-settings button{flex-shrink:0;min-height:44px;font-size:15px;font-weight:600}
@media(max-width:760px){.stream-playback{gap:6px}.stream-tabs{grid-template-columns:repeat(4,max-content);justify-content:space-between;overflow-x:auto}.sound-settings{align-items:flex-start;flex-wrap:wrap}}

/* /market.css */
/* Compact information rows use the existing brand variables and a document scroll. */
body{overflow-y:auto;overscroll-behavior-y:auto}
.balanced-sidebar{position:static;grid-column:1;grid-row:2;top:auto;bottom:auto;height:auto;max-height:none;overflow:visible;align-self:start}
body{display:grid;grid-template-columns:calc(var(--sidebar) + var(--edge)) minmax(0,1fr)}
body>header{grid-column:1/-1;grid-row:1;position:sticky;top:0;z-index:30}
.shell,.discover-page,.plans,.token-search{grid-column:2;grid-row:2;margin-left:0}
.shell main{height:auto;min-height:0;overflow:visible}
.stream{overflow:visible;max-height:none;overscroll-behavior:auto}
.social-rail{position:static;top:auto;max-height:none;overflow:visible}
.market-rail{display:flex;flex-direction:column;gap:16px;min-width:0}
.rail-card{box-shadow:none}
.market-card{padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:12px;min-width:0}
.market-card h2{font-size:16px;line-height:1.4;margin:0}
.market-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.market-heading small,.market-note{font-size:12px;color:var(--muted);line-height:1.6}
.market-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:12px}
.market-tabs button{font:inherit;font-size:13px;padding:7px 10px;background:var(--raised);border:1px solid var(--line);border-radius:7px;color:var(--ink);min-height:36px}
.market-tabs button[aria-selected=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}
.market-price-row{display:flex;align-items:center;gap:9px;margin-bottom:8px;min-height:42px}
.market-price-row strong{display:block;font-size:19px;font-variant-numeric:tabular-nums}
.market-price-row small{font-size:12px;color:var(--muted)}
.market-chart{position:relative;aspect-ratio:1/1.15;min-height:280px;background:var(--raised);border:1px solid var(--line);border-radius:8px;overflow:hidden}
.market-chart iframe{width:100%;height:100%;position:absolute;inset:0;border:0;pointer-events:auto}
.market-chart.is-interactive iframe{pointer-events:auto}
.market-chart-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;flex-wrap:wrap}
.market-chart-actions button,.market-chart-actions a{font:inherit;font-size:12px;min-height:36px;color:var(--accent);background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:6px 9px;text-decoration:none}
.market-quote-error{font-size:13px;color:var(--muted);line-height:1.6;padding:10px 0}
.market-logo{position:relative;display:inline-grid;place-items:center;width:25px;height:25px;flex-shrink:0;border-radius:50%;background:var(--accent-soft);border:1px solid var(--line);font-size:10px;overflow:hidden}
.market-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:var(--panel)}
.market-quotes{display:flex;flex-direction:column;margin-top:12px}
.market-quote{display:flex;gap:8px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}
.market-quote>strong{margin-left:auto;font-variant-numeric:tabular-nums}
.market-quote small{color:var(--muted);font-size:11px;display:block}
.message-row{border:1px solid var(--line);border-bottom:0;background:var(--panel);position:relative;min-width:0;scroll-margin-top:90px}
.message-row:first-child{border-radius:10px 10px 0 0}
.message-row:last-child{border-bottom:1px solid var(--line);border-radius:0 0 10px 10px}
.message-row:only-child{border-radius:10px}
.message-row:hover,.message-row:focus-within{background:var(--raised)}
.row-main{display:grid;grid-template-columns:30px 120px minmax(100px,1fr) auto 30px 30px;gap:10px;align-items:center;padding:11px 13px;min-height:62px;min-width:0}
.row-main .row-avatar{width:28px;height:28px;font-size:10px}
.row-source{min-width:0}
.row-source .source-line{gap:4px}
.row-source .name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-time{display:block;color:var(--muted);font-size:11px;line-height:1.5;white-space:nowrap}
.row-headline{display:block;font:inherit;font-size:14px;font-weight:550;line-height:1.55;border:0;background:none;color:var(--ink);padding:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;min-width:0;width:100%}
.row-headline:hover{color:var(--accent)}
.row-tokens{display:flex;align-items:center;gap:4px;max-width:160px;min-width:0;flex-wrap:wrap}
.row-token{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:650;color:var(--accent);border:1px solid var(--line);border-radius:5px;padding:3px 5px;text-decoration:none;white-space:nowrap;min-height:28px}
.row-token .market-logo{width:17px;height:17px;font-size:8px}
.row-preview,.row-analysis{display:grid;place-items:center;min-width:30px;min-height:32px;border:0;background:none;color:var(--muted);cursor:pointer}
.row-details{padding:0 13px 0 53px}
.row-details>summary{font-size:11px;color:var(--muted);cursor:pointer;width:max-content;padding:0 0 8px}
.row-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:10px 0}
.row-tools .ai-label{font-size:11px}
.row-details .message-excerpt{font-size:14px;white-space:pre-wrap;line-height:1.7;margin:10px 0}
.row-details .message-translation{margin-bottom:10px}
.row-details .inline-insight{margin-bottom:12px}
.row-main .post-original{grid-column:6;margin:0}
.statement-peek{position:fixed;z-index:55;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:auto;border:1px solid var(--line);border-radius:12px;background:var(--panel);box-shadow:0 16px 48px #102a5630;padding:18px;color:var(--ink)}
.statement-peek[hidden]{display:none}
.peek-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.peek-header button{font-size:22px;border:0;background:none;color:var(--muted);min-width:32px;min-height:32px}
.statement-peek h2{font-size:17px;line-height:1.55;margin:10px 0}
.peek-copy{white-space:pre-wrap;font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.peek-meta{font-size:12px;line-height:1.6;color:var(--muted)}
.peek-actions{display:flex;gap:12px;align-items:center;margin-top:14px;flex-wrap:wrap}
.peek-actions a,.peek-actions button{font:inherit;font-size:13px;min-height:36px;color:var(--accent);border:1px solid var(--line);border-radius:6px;padding:7px 10px;background:var(--panel);text-decoration:none}
.peek-frame{width:100%;height:320px;border:1px solid var(--line);border-radius:8px;margin-top:12px}
.x-health-notice{border:1px solid var(--line);border-left:3px solid #bd7b18;border-radius:8px;background:var(--panel);padding:12px 14px;font-size:13px;line-height:1.6;margin-bottom:12px}
.x-health-notice strong{display:block;color:var(--ink)}
.x-health-notice p{margin:4px 0;color:var(--muted)}
.community-overview{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:12px}
.community-overview h2{font-size:19px;margin:0 0 6px}
.community-overview p{font-size:13px;line-height:1.7;color:var(--muted);margin:5px 0}
.community-source{display:flex;gap:8px;align-items:center;margin:10px 0;font-size:13px}
.community-source a{color:var(--accent);text-decoration:none;font-weight:650}
.community-source small{display:block;color:var(--muted);font-size:11px}
.community-nav{white-space:nowrap}
.row-airdrop-note{font-size:12px;color:var(--muted);padding:0 0 10px}
@media(min-width:1241px){.shell{grid-template-columns:minmax(0,1fr) 310px}}
@media(max-width:1240px){.market-rail{display:flex}.shell{grid-template-columns:minmax(0,1fr) 280px;max-width:none}.row-main{grid-template-columns:28px 92px minmax(80px,1fr) auto 28px 28px;gap:7px}.row-tokens{max-width:100px}}
@media(max-width:1050px){.shell{grid-template-columns:minmax(0,1fr)}.market-rail{display:grid;grid-template-columns:1fr 1fr}.market-chart{aspect-ratio:1.2/1}.row-main{grid-template-columns:28px 110px minmax(100px,1fr) auto 28px 28px}}

@media(prefers-reduced-motion:no-preference){.message-row{transition:background .15s ease}.statement-peek{animation:peek-in .12s ease-out}.market-tabs button{transition:background .15s ease}@keyframes peek-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}

@media(min-width:761px){.balanced-sidebar{margin-left:var(--edge)}}
.legacy-rail[hidden]{display:none}



@media(min-width:761px){
 .row-main{grid-template-columns:30px 120px minmax(80px,1fr) auto 30px 30px 28px}
 .row-details>summary{position:absolute;right:12px;top:14px;width:28px;height:32px;padding:0;font-size:0;display:grid;place-items:center;list-style:none}
 .row-details>summary::-webkit-details-marker{display:none}
 .row-details>summary::after{content:'⌄';font-size:17px}
 .row-details[open]>summary::after{content:'⌃'}
 .row-details>summary:hover{color:var(--accent)}
}





.peek-tokens{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}

.row-tokens{flex-wrap:nowrap}.row-token{min-width:0}.row-token>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.row-more-tokens{flex-shrink:0}

/* Market watch: restrained financial typography, one chart surface. */
.mobile-rail,.drawer-heading{display:none}.drawer-backdrop[hidden]{display:none}
.market-card{padding:18px;border-radius:14px;box-shadow:0 4px 24px #16376b06}
.market-heading{margin-bottom:18px}.market-heading h2{font-size:18px;letter-spacing:-.3px}.market-provider{font-size:12px;color:var(--muted);text-decoration:none}
.market-tabs{gap:0;border-bottom:1px solid var(--line);margin-bottom:18px}.market-tabs button{flex:1;border:0;border-radius:0;background:transparent;padding:10px 5px;color:var(--muted)}
.market-tabs button[aria-selected=true]{background:transparent;border-bottom:2px solid var(--accent);color:var(--ink);font-weight:700}
.market-instrument{display:flex;align-items:center;gap:9px}.market-instrument .market-logo{width:34px;height:34px}.market-instrument b{display:block;font-size:15px}.market-instrument small{display:block;font-size:10px;color:var(--muted);max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.market-chain{margin-left:auto;font-size:10px;color:var(--muted);padding:4px 7px;background:var(--raised);border-radius:4px}
.market-price-row{justify-content:space-between;margin:16px 0}.market-price-row strong{font-size:32px;font-weight:650;letter-spacing:-1.4px;line-height:1.2}.market-price-row small{display:block;font-size:10px;margin-top:5px}
.market-change{text-align:right;font-size:14px;font-weight:650}.market-change small{color:var(--muted);font-weight:400}.is-positive{color:var(--positive)}.is-negative{color:var(--negative)}
.market-statistics{display:grid;grid-template-columns:1fr 1fr;padding:11px 0;border-top:1px solid var(--line);gap:12px}.market-statistics span{font-size:10px;color:var(--muted)}.market-statistics strong{display:block;font-size:13px;font-weight:550;color:var(--ink);margin-top:5px;font-variant-numeric:tabular-nums}
.market-retrieved{font-size:10px;color:var(--muted);margin:4px 0 12px;line-height:1.5}.market-footnote{font-size:10px;color:var(--muted);line-height:1.5;margin:10px 0 0}
.market-chart{border:0;border-radius:6px;aspect-ratio:1/1.02;min-height:275px;background:var(--panel)}
.market-chart-actions button,.market-chart-actions a{border:0;background:var(--raised);font-size:11px;min-height:34px;border-radius:5px}.market-chart-actions a{background:transparent}
.market-quotes{margin-top:20px}.market-quote{padding:13px 0}.market-quote:last-child{border-bottom:0}.market-quote>strong{font-size:13px}
.community-directory>summary{font-weight:600;font-size:13px;cursor:pointer}.community-directory[open]>summary{margin-bottom:14px}
.x-health-notice{padding:0;border:0;background:transparent;margin:0 0 12px;border-radius:0}.x-health-notice>summary{font-size:12px;color:var(--warning);cursor:pointer;padding:6px 0}.x-health-notice>div{padding:8px 12px;border-left:2px solid #bd7b18;background:var(--panel)}
@media(max-width:760px){
 body{display:block;padding-left:44px}.mobile-rail{display:flex;position:fixed;inset:0 auto 0 0;width:44px;z-index:45;background:var(--panel);border-right:1px solid var(--line);flex-direction:column;align-items:center;gap:12px;padding:8px 0}
 .mobile-rail button{display:grid;place-items:center;flex-shrink:0;width:42px;min-height:44px;border:0;background:transparent;color:var(--muted);font-size:19px;border-radius:6px}.mobile-rail button:first-child{color:var(--accent);margin-bottom:8px}.mobile-rail button:hover{background:var(--raised);color:var(--accent)}.mobile-rail svg{width:19px;height:19px}
 body>header{display:flex;flex-wrap:nowrap;position:sticky;top:0;left:auto;margin:0;width:100%;height:52px;min-height:52px;padding:0 12px;gap:8px;border-bottom:1px solid var(--line);z-index:30}
 body>header .brand{flex:1;min-width:0;gap:7px}.brand .brand-mark,.brand .brand-mark img{width:24px;height:24px}.brand .brand-wordmark{font-size:15px;white-space:nowrap}.brand .brand-wordmark em{font-size:inherit}
 body>header #global-search{display:grid;place-items:center;min-width:36px;width:36px;height:36px;min-height:36px;padding:0;margin:0;border:0;background:transparent}#global-search>span:not([data-icon]),#global-search kbd{display:none}
 .balanced-sidebar{display:none;position:fixed;inset:0 auto 0 44px;width:min(310px,calc(100vw - 56px));height:100dvh;max-height:100dvh;overflow-y:auto;margin:0;padding:18px 16px;background:var(--panel);z-index:60;border-right:1px solid var(--line);box-shadow:12px 0 40px #102a5626}
 .balanced-sidebar.is-open{display:block}.drawer-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;font-size:16px}.drawer-heading button{min-width:40px;min-height:40px;font-size:26px;color:var(--muted);border:0;background:transparent}
 .drawer-backdrop{position:fixed;inset:0;background:#10213b66;border:0;border-radius:0;z-index:50;width:100vw;height:100dvh}.navigation-open{overflow:hidden}
 #drawer-controls .header-end{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;width:auto;margin:0 0 12px;padding:0}#drawer-controls .account-entry{display:flex;gap:8px;margin-bottom:20px}#drawer-controls .language-select{max-width:100%;width:100%}
 .balanced-sidebar nav{display:flex;flex-direction:column;gap:4px;margin:0 0 20px}.balanced-sidebar nav .nav-tab{display:flex;width:100%;justify-content:flex-start;min-height:44px}.balanced-sidebar nav #community-nav{display:flex}
 .balanced-sidebar .watchlist-rows{display:flex;flex-direction:column;flex-wrap:nowrap;overflow:visible}.balanced-sidebar .follow{padding-top:12px}.balanced-sidebar .follow-card{width:100%}
 .shell,.discover-page,.plans,.token-search{margin:0;width:100%;max-width:none;padding:14px 10px 30px;min-width:0}.shell{display:block}.shell main{padding:0;width:100%;min-width:0}.shell .heading{margin:0 0 12px;gap:5px;align-items:center}.shell .heading h1{font-size:19px;line-height:1.25;letter-spacing:-.6px;margin:0}.heading .eyebrow,.heading-copy,.heading .alert-cta{display:none}
 .toolbar{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 10px;align-items:center}.stream-tabs{display:flex;flex-wrap:nowrap;width:100%;overflow-x:auto;gap:1px;padding:0;min-width:0;scrollbar-width:none}.stream-tabs button{flex:1;white-space:nowrap;padding:8px 4px;min-height:36px;font-size:11px}.stream-playback{position:absolute;right:12px;top:61px;gap:3px}.stream-playback button{min-width:30px;width:30px;min-height:30px;height:30px;padding:4px}#pause .pause-label{display:none}.shell .heading{padding-right:66px}
 .feed-controls{display:flex;flex-wrap:nowrap;gap:6px;margin:0 0 6px}.stream-search{min-width:0;flex:1;height:38px;padding:0 8px;gap:5px}.stream-search input{font-size:12px;min-width:0;width:100%}.stream-search .feed-count{display:none}.feed-facets{width:76px;min-width:0}.feed-facets select{width:100%;padding:6px;font-size:11px;min-height:38px;height:38px}.feed-facets label{display:none}
 .connection-detail{margin:0 0 2px;font-size:10px}.connection-detail summary{min-height:24px;font-size:10px}.x-health-notice{margin:0 0 7px}.x-health-notice>summary{font-size:10px;padding:2px 0}.x-health-notice>div{font-size:12px}.connection-detail[open] p{font-size:11px}
 .row-main{grid-template-columns:24px minmax(0,1fr) 30px;gap:3px 7px;padding:9px 9px 4px;min-height:0}.row-main .row-avatar{width:24px;height:24px}.row-source{grid-column:2;grid-row:1;display:flex;align-items:center;gap:7px;min-width:0}.row-source .source-line{min-width:0}.row-source .name{font-size:11px;max-width:120px}.row-time{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.row-preview{grid-column:3;grid-row:1;min-width:30px;min-height:30px;padding:0}.row-main .post-original{display:none}
 .row-headline{grid-column:1/-1;grid-row:2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;font-size:13px;line-height:1.45;min-height:0}.row-tokens{grid-column:1/3;grid-row:3;max-width:none;gap:4px}.row-token{font-size:9px;min-height:24px;padding:1px 4px}.row-token .market-logo{width:14px;height:14px}.row-details{padding:0 9px}.row-details>summary{position:absolute;right:8px;bottom:4px;top:auto;min-height:26px;width:30px;font-size:0;list-style:none;padding:0;display:grid;place-items:center}.row-details>summary::after{content:'⌄';font-size:16px}.row-details[open]>summary{position:static;font-size:11px;width:auto;display:block}.row-details[open]>summary::after{content:''}.row-details[open]{padding-top:5px}
 .market-rail{display:flex;flex-direction:column;margin-top:22px;scroll-margin-top:64px}.market-chart{aspect-ratio:1.1/1;min-height:260px}.market-card{padding:16px}.market-price-row strong{font-size:32px}.community-overview{padding:12px}.community-overview p{font-size:11px}
}
@media(prefers-reduced-motion:no-preference){.balanced-sidebar.is-open{animation:drawer-in .18s ease-out}.market-chart-actions button{transition:background .15s ease}.mobile-rail button{transition:background .15s ease}@keyframes drawer-in{from{transform:translateX(-12px);opacity:0}to{transform:translateX(0);opacity:1}}}

@media(max-width:760px){body>header .brand{flex:1;gap:7px;min-width:0}body>header .brand-mark,body>header .brand-mark img{width:24px;height:24px}body>header .brand-wordmark{font-size:15px}body>header .brand-wordmark em{font-size:inherit}.balanced-sidebar .nav-tab{justify-content:flex-start;text-align:left;padding:9px 10px}.balanced-sidebar .watchlist-rows>*{flex:none;min-height:0}.stream-tabs{display:flex;gap:1px;flex:1}.stream-tabs button{padding:8px 4px;font-size:11px;white-space:nowrap}.feed-controls{flex-direction:row}.connection-detail{margin:0 0 2px}.connection-detail summary{font-size:10px;min-height:24px}.shell .heading h1{font-size:19px}.shell .heading{margin-bottom:12px}.shell main .stream{gap:0}}

@media(max-width:760px){.shell main .feed-controls .stream-search{flex:1 1 0%;width:auto;min-width:0}.shell main .feed-controls .feed-facets{flex:0 0 82px;width:82px;min-width:0}.shell main .feed-controls .feed-facets select{width:100%;min-width:0}.row-main>.row-avatar{grid-column:1;grid-row:1;position:static}.row-main>.post-original{display:none;grid-column:auto;grid-row:auto}.row-source{gap:5px}.row-source .name{max-width:111px}.row-time{font-size:9px}.row-main{grid-template-columns:24px minmax(0,1fr) 30px}.stream-search input{font-size:11px}}

@media(max-width:760px){.row-main .avatar-profile-trigger{position:static;display:grid;place-items:center;inset:auto;width:24px;height:24px;min-width:0;min-height:0;padding:0;border:0}.row-main .avatar-initials{position:static;display:grid;place-items:center;width:24px;height:24px;font-size:9px}.row-main .row-avatar img{width:24px;height:24px}.row-main .row-avatar .avatar-profile-trigger .avatar-initials{transform:none}}

.market-chart{width:100%;min-width:0}

@media(max-width:760px){.row-main>.row-headline{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.45}}

/* /sidebar.css */
/* A stable left workspace: channels first, controls on demand, account anchored below. */
body{--rail-width:56px;--sidebar-panel:clamp(280px,20vw,400px);--market-panel:clamp(340px,24vw,550px);display:block;padding-left:calc(var(--rail-width) + var(--sidebar-panel));min-height:100dvh}
body.sidebar-collapsed{padding-left:var(--rail-width)}
.mobile-rail{display:flex;position:fixed;inset:0 auto 0 0;width:var(--rail-width);z-index:45;background:var(--panel);border-right:1px solid var(--line);flex-direction:column;align-items:center;gap:12px;padding:18px 0}
.rail-brand{display:grid;place-items:center;width:44px;height:38px;margin-bottom:10px}.rail-brand img{display:block;width:28px;height:28px}
.mobile-rail button{display:grid;place-items:center;flex-shrink:0;width:42px;min-height:44px;padding:0;border:0;background:transparent;color:var(--muted);border-radius:8px}.mobile-rail button:hover,.mobile-rail button:focus-visible{background:var(--accent-soft);color:var(--accent)}.mobile-rail svg{width:20px;height:20px}.mobile-rail #rail-preferences{margin-top:auto}
#navigation-drawer{display:none;position:fixed;inset:0 auto 0 var(--rail-width);width:var(--sidebar-panel);height:100dvh;max-height:100dvh;margin:0;padding:22px;background:var(--panel);z-index:46;border-right:1px solid var(--line);overflow:hidden;align-self:auto}
#navigation-drawer.is-open{display:flex;flex-direction:column}
.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 14px;min-height:24px}.sidebar-caption{font-size:10px;font-weight:650;letter-spacing:.1em;color:var(--muted)}.drawer-heading #drawer-close{display:grid;place-items:center;width:28px;height:28px;min-width:28px;min-height:28px;padding:0;font-size:22px;border:0;background:none;color:var(--muted)}
#navigation-drawer .sidebar-header{display:flex;position:static;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:22px;width:100%;height:auto;min-height:0;max-height:none;margin:0 0 24px;padding:0;border:0;background:none;box-shadow:none}
#navigation-drawer .brand{display:flex;align-items:center;width:100%;min-width:0;gap:10px;margin:0;padding:0;text-decoration:none}#navigation-drawer .brand-mark,#navigation-drawer .brand-mark img{width:33px;height:33px}#navigation-drawer .brand-wordmark{font-size:22px;line-height:1.2;letter-spacing:-.6px}#navigation-drawer .brand-wordmark em{font:inherit}
#navigation-drawer #global-search{display:flex;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-width:0;height:44px;min-height:44px;padding:10px 12px;margin:0;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--muted);font-size:13px}#navigation-drawer #global-search>span{display:inline}#navigation-drawer #global-search>span[data-icon]{display:inline-flex}#navigation-drawer #global-search kbd{display:inline-flex;margin-left:auto;padding:2px 4px;border:0;background:var(--raised);font:inherit;font-size:10px;white-space:nowrap}#navigation-drawer #global-search svg{width:16px;height:16px}
.sidebar-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;padding:0 2px 16px;overscroll-behavior:contain}
.sidebar-group-label{margin:0 0 10px;padding:0 10px;font-size:11px;font-weight:650;line-height:1.5;letter-spacing:.065em;text-transform:uppercase;color:var(--muted)}
.sidebar-nav-section{margin-bottom:24px}#navigation-drawer nav{display:flex;flex-direction:column;gap:5px;width:100%;margin:0;padding:0;overflow:visible}#navigation-drawer nav .nav-tab{display:flex;align-items:center;justify-content:flex-start;gap:13px;width:100%;min-width:0;min-height:45px;padding:11px 12px;border:0;border-radius:8px;font-size:15px;font-weight:550;line-height:1.4;text-align:left;white-space:nowrap;color:var(--muted);background:transparent;box-shadow:none}#navigation-drawer nav .nav-tab:hover{background:var(--raised);color:var(--ink)}#navigation-drawer nav .nav-tab.active{background:var(--accent-soft);color:var(--accent);font-weight:650;border:0;box-shadow:none}#navigation-drawer nav .ui-icon{width:19px;height:19px}
.sidebar-section{margin:0;padding:0;border:0;border-top:1px solid var(--line)}.sidebar-section>summary{display:flex;align-items:center;gap:10px;padding:16px 10px;font-size:13px;font-weight:550;line-height:1.5;color:var(--muted);cursor:pointer;list-style:none}.sidebar-section>summary::-webkit-details-marker{display:none}.sidebar-section>summary::after{content:'+';font-size:18px;font-weight:400;margin-left:auto}.sidebar-section[open]>summary::after{content:'−'}.sidebar-section>summary>.ui-icon{width:16px;height:16px}.sidebar-count{font-size:11px;margin-left:auto;background:var(--raised);border-radius:4px;padding:1px 6px}.sidebar-count+*{margin-left:0}.sidebar-filter-state{font-size:10px;padding:2px 5px;color:var(--accent);background:var(--accent-soft);border-radius:4px}.sidebar-filter-body{padding:2px 8px 16px}
#navigation-drawer .toolbar{display:flex;flex-direction:column;align-items:stretch;gap:14px;position:static;margin:0 0 14px}#navigation-drawer .stream-tabs{display:flex;flex-direction:column;gap:4px;width:100%;margin:0;padding:0;border:0;background:transparent;overflow:visible}#navigation-drawer .stream-tabs button{font-size:13px;text-align:left;min-height:36px;padding:8px 10px;white-space:normal;border-radius:5px}#navigation-drawer .stream-tabs .desktop-label{display:inline}#navigation-drawer .stream-tabs .mobile-label{display:none}#navigation-drawer .stream-playback{display:flex;position:static;justify-content:flex-start;gap:8px;inset:auto}#navigation-drawer .stream-playback button{height:36px;min-height:36px;width:auto;min-width:36px;padding:7px 10px;font-size:12px}#navigation-drawer #pause .pause-label{display:inline}
#navigation-drawer .feed-controls{display:flex;flex-direction:column;align-items:stretch;gap:9px;margin:0;width:100%}#navigation-drawer .stream-search{display:flex;align-items:center;gap:6px;flex:none;width:100%;min-width:0;height:40px;min-height:40px;padding:0 10px;border-radius:6px}#navigation-drawer .stream-search input{font-size:12px;min-width:0;flex:1;width:100%}#navigation-drawer .feed-count{display:none}#navigation-drawer .feed-facets{width:100%;min-width:0;flex:none}#navigation-drawer .feed-facets label{display:block;margin-bottom:5px;font-size:11px;color:var(--muted)}#navigation-drawer .feed-facets select{font-size:13px;width:100%;height:38px;min-height:38px;padding:7px 9px}
#navigation-drawer .follow{border:0;padding:0 6px 8px;margin:0}#navigation-drawer .follow-heading{display:none}#navigation-drawer .watchlist-rows{display:flex;flex-direction:column;gap:4px;overflow:visible;flex-wrap:nowrap}#navigation-drawer .source-text{font-size:13px}#navigation-drawer .source-text small{font-size:11px}#navigation-drawer .watch-source{padding:7px 5px}#navigation-drawer .manage-sources{font-size:13px;min-height:38px;margin:0 6px 12px}#navigation-drawer #x-health-notice{margin:12px 8px 0}#navigation-drawer #x-health-summary{font-size:11px;line-height:1.6}#navigation-drawer #x-health-copy{font-size:12px;line-height:1.65;padding:8px;overflow-wrap:anywhere}
.sidebar-footer{flex:none;padding-top:14px;border-top:1px solid var(--line)}.sidebar-settings-button{display:flex;align-items:center;gap:11px;width:100%;min-height:40px;padding:8px 10px;margin:0 0 10px;font:inherit;font-size:13px;font-weight:550;border:0;border-radius:7px;background:transparent;color:var(--muted)}.sidebar-settings-button:hover{background:var(--raised);color:var(--ink)}.sidebar-settings-button .ui-icon{width:17px;height:17px}
#drawer-account .account-entry{position:relative;display:flex;align-items:center;gap:8px;margin:0;width:100%}#drawer-account .account-entry>button{font-size:13px;min-height:40px;padding:9px 12px}#drawer-account .account-trigger{width:100%;justify-content:flex-start;min-width:0;border-radius:9px;border:1px solid var(--line);padding:9px}#drawer-account .account-name{min-width:0;max-width:none;flex:1;font-size:13px}#drawer-account .account-plan{font-size:10px}#drawer-account .account-menu{top:auto;bottom:calc(100% + 8px);left:0;right:0;width:100%;max-width:100%;min-width:0;border-radius:12px}#drawer-account .account-menu button{font-size:13px;min-height:40px}
.workspace-preferences{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--ink);overflow:auto;box-shadow:0 20px 80px #10213b30}.workspace-preferences::backdrop{background:#10213b70}.workspace-preferences .header-end{display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:flex-start;gap:18px;width:100%;margin:0;padding:0}.workspace-preferences .language-select{flex:1 0 100%;width:100%;max-width:none;font:inherit;font-size:15px;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--ink);background:var(--panel)}.workspace-preferences .theme-toggle button{font-size:14px;min-height:38px;padding:8px 12px}.workspace-preferences #account,.workspace-preferences #notifications-header{display:none}.preference-links{display:flex;flex-direction:column;align-items:stretch;gap:9px;border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.preference-links button,.preference-links a{font:inherit;font-size:14px;justify-content:flex-start;min-height:42px;padding:10px 12px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:8px;text-decoration:none;text-align:left}
#workspace.shell{display:grid;grid-template-columns:minmax(0,1fr) var(--market-panel);gap:26px;grid-column:auto;grid-row:auto;margin:0;padding:20px 26px 32px;max-width:none;width:100%;min-width:0}#workspace main{width:100%;min-width:0;padding:0;height:auto;overflow:visible}#workspace main>.heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#workspace main>.heading button{display:none}#workspace main>.connection-detail{margin:0 0 12px;font-size:12px}#workspace main>.connection-detail summary{font-size:12px;min-height:28px}#workspace main>.stream{gap:0}.message-row{scroll-margin-top:12px}.market-rail{scroll-margin-top:12px}
.discover-page,.plans,.token-search{grid-column:auto;grid-row:auto;margin:0;width:100%;max-width:none;padding:28px}
@media(max-width:1280px){body{--rail-width:48px;--sidebar-panel:min(340px,calc(100vw - 60px));padding-left:var(--rail-width)}#navigation-drawer{z-index:60;box-shadow:12px 0 40px #102a5626}.drawer-backdrop{position:fixed;inset:0;width:100vw;height:100dvh;background:#10213b66;border:0;border-radius:0;z-index:50}.navigation-open{overflow:hidden}#workspace.shell{padding:16px 18px 28px;gap:20px}.mobile-rail{padding:12px 0;gap:10px}}
@media(max-width:1050px){#workspace.shell{display:block}.market-rail{display:flex;flex-direction:column;margin-top:24px}.discover-page,.plans,.token-search{padding:20px 14px}}
@media(max-width:760px){body{--rail-width:44px}#workspace.shell{padding:10px 10px 24px}#navigation-drawer{padding:18px}.sidebar-caption{font-size:9px}.sidebar-nav-section{margin-bottom:18px}#navigation-drawer .sidebar-header{gap:16px;margin-bottom:20px}#navigation-drawer nav .nav-tab{min-height:42px;font-size:14px}#workspace main>.connection-detail summary{font-size:10px;min-height:26px}#workspace main>.connection-detail{margin-bottom:5px}.mobile-rail{gap:7px}.sidebar-group-label{font-size:10px}}
@media(prefers-reduced-motion:no-preference){.mobile-rail button,.sidebar-settings-button{transition:background .16s ease,color .16s ease}.workspace-preferences[open]{animation:preference-in .14s ease-out}@keyframes preference-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}

/* /channels.css */
/* Channel views prioritize their actual records and keep secondary controls compact. */
.channel-context{font-size:15px;font-weight:650;line-height:1.4;margin:0 0 8px;color:var(--ink)}
.reset-feed-filters{margin-top:12px}
#insight-overview .insight-banner{padding:14px 16px;margin-bottom:10px;min-height:0;border-radius:9px}
#insight-overview .insight-banner .eyebrow,#insight-overview .insight-symbol{display:none}
#insight-overview .insight-banner h2{font-size:18px;line-height:1.3;margin:0 0 4px}
#insight-overview .insight-banner p{font-size:12px;line-height:1.5;margin:0}
#insight-overview .insight-metrics{margin-bottom:12px}
#insight-overview .insight-metrics>div{padding:10px 14px;min-height:0}
#insight-overview .insight-metrics span{font-size:10px;line-height:1.4}
#insight-overview .insight-metrics strong{font-size:22px;line-height:1.2;margin-top:5px}
#insight-overview .insight-metrics small{font-size:10px;line-height:1.4}
#insight-overview .insight-filters{gap:12px;margin-bottom:12px}
#insight-overview .insight-filters label{font-size:12px}
#insight-overview .insight-filters select{font-size:12px;min-height:36px;padding:7px 9px;margin-top:4px}
#insight-overview .insight-filters p{font-size:11px;line-height:1.5}
.row-analysis-brief{display:block;width:calc(100% - 26px);text-align:left;font:inherit;font-size:12px;line-height:1.5;color:var(--accent);background:transparent;border:0;padding:0 0 9px;margin:0 13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.row-analysis-brief:hover{text-decoration:underline}
#insight-overview .alert-dashboard{gap:12px;margin-bottom:12px}
#insight-overview .alert-focus{padding:14px 16px}
#insight-overview .alert-focus .eyebrow{display:none}
#insight-overview .alert-focus h2{font-size:18px;line-height:1.4;margin:0 0 7px}
#insight-overview .alert-focus p{font-size:12px;line-height:1.6;margin:0 0 10px}
#insight-overview .alert-dashboard-actions button{font-size:12px;min-height:34px;padding:7px 10px}
#insight-overview .delivery-summary{display:block;padding:14px 16px;min-height:0;height:auto}
#insight-overview .delivery-summary>summary{font-size:12px;font-weight:650;cursor:pointer}
#insight-overview .delivery-summary>span{display:flex;font-size:12px;margin-top:10px;line-height:1.5}
#insight-overview .alert-filter-bar{gap:5px;flex-wrap:wrap;margin-bottom:7px}
#insight-overview .alert-filter-bar button{font-size:11px;padding:7px 9px;min-height:34px}
#insight-overview .view-note{font-size:11px;line-height:1.5;margin:7px 0 12px}
.directory-controls{margin:0 0 14px}.directory-controls>summary{font-size:12px;font-weight:600;cursor:pointer;color:var(--accent);padding:7px 0}.directory-controls[open]>summary{margin-bottom:8px}
@media(max-width:760px){
 #insight-overview .insight-banner{padding:10px 12px;margin-bottom:8px}#insight-overview .insight-banner h2{font-size:17px}#insight-overview .insight-banner p{font-size:11px}
 #insight-overview .insight-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-bottom:8px}#insight-overview .insight-metrics>div{padding:8px 7px}#insight-overview .insight-metrics span{font-size:9px;overflow-wrap:anywhere}#insight-overview .insight-metrics strong{font-size:19px}#insight-overview .insight-metrics small{display:none}
 #insight-overview .insight-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;margin-bottom:8px}#insight-overview .insight-filters label{min-width:0;font-size:11px}#insight-overview .insight-filters select{width:100%;min-width:0;font-size:11px;margin-top:3px;padding:5px;min-height:33px}#insight-overview .insight-filters p{grid-column:1/-1;margin:2px 0;font-size:10px}
 .row-analysis-brief{font-size:11px;padding-bottom:8px;width:calc(100% - 18px);margin:0 9px}
 #insight-overview .alert-dashboard{display:flex;flex-direction:column;gap:7px;margin-bottom:8px}#insight-overview .alert-focus{padding:10px 12px}#insight-overview .alert-focus h2{font-size:16px;margin-bottom:5px}#insight-overview .alert-focus p{font-size:11px;line-height:1.5;margin-bottom:8px}#insight-overview .alert-dashboard-actions{gap:6px;flex-wrap:wrap}#insight-overview .alert-dashboard-actions button{font-size:11px;min-height:32px;padding:6px 8px}#insight-overview .delivery-summary{padding:9px 12px}#insight-overview .delivery-summary>span{font-size:11px;margin-top:7px}#insight-overview .alert-filter-bar button{font-size:10px;padding:6px;min-height:32px}#insight-overview .alert-filter-bar button b{margin-left:3px}#insight-overview .view-note{font-size:10px;margin:5px 0 8px}
 .discover-heading{gap:8px;align-items:flex-start;flex-direction:column;margin-bottom:10px}.discover-heading .eyebrow{display:none}.discover-heading h1{font-size:21px;line-height:1.3;margin-bottom:4px}.discover-heading .meta{font-size:11px;line-height:1.5;margin:0}.discover-heading .catalog-total{font-size:10px;min-height:0;padding:0;background:none}
 .discover-search{margin:0 0 6px;min-height:38px;height:38px;padding:0 10px}.discover-search input{font-size:12px}.directory-controls{margin:0 0 6px}.directory-controls>summary{font-size:11px;padding:5px 0}.directory-facets{gap:7px}.directory-facets label{font-size:11px}.directory-facets select{font-size:12px;min-height:35px}.category-tabs button{font-size:11px;min-height:32px;padding:6px 8px}.directory-caption{font-size:10px;gap:5px;flex-wrap:wrap;margin:7px 0}.directory-caption>span:last-child{font-size:10px}
 #source-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:8px 6px;margin-bottom:10px}#source-overview .source-stat{min-width:0;padding:4px;border:0}#source-overview .source-stat>span{font-size:8px;line-height:1.3}#source-overview .source-stat>strong{font-size:18px;line-height:1.4}#source-overview .source-stat>small{display:none}#source-overview .directory-views{grid-column:1/-1;display:flex;justify-content:flex-end;margin:4px 0 0;padding:0}#source-overview .directory-views button{width:28px;height:28px;min-height:28px;padding:4px}
 .token-search>.eyebrow{display:none}.token-search h1{font-size:21px;line-height:1.3}.token-search>.meta{font-size:12px;line-height:1.5}.token-search #token-form label{font-size:12px}.token-search .search-row{gap:7px}.token-search .search-row input{min-width:0;font-size:12px}.token-search .search-row button{font-size:11px;padding:8px 9px;min-width:0}
 .community-overview{padding:11px 12px}.community-overview h2{font-size:17px}.community-overview p{font-size:11px;line-height:1.5}
}

@media(max-width:760px){.source-grid{gap:10px}.source-card{padding:12px;min-height:0;gap:8px}.source-card>.row{margin:0;min-height:30px}.source-card .directory-avatar{width:30px;height:30px}.source-card .directory-avatar img{width:30px;height:30px}.source-card .source-kind{font-size:10px}.source-card .source-card-body{margin:0;min-height:0}.source-card .source-category{font-size:10px;margin:0 0 3px}.source-card h2{font-size:16px;line-height:1.4;margin:2px 0}.source-card .profile-link{font-size:11px;line-height:1.5}.source-card .source-card-body p{font-size:11px;line-height:1.5;margin:5px 0}.source-card .source-card-body p:empty{display:none}.source-card .source-health{font-size:11px;line-height:1.5;padding:0;margin:0}.source-card .source-health small{font-size:10px}.source-card .source-topics{margin:0;gap:4px}.source-card .source-topics span{font-size:9px;padding:3px 5px}.source-card .source-actions{display:grid;grid-template-columns:minmax(0,1fr) auto 32px;align-items:center;gap:7px;padding-top:8px;margin-top:0}.source-card .source-actions .source-signals{font-size:11px;min-height:32px;padding:0;text-align:left}.source-card .source-actions .follow-button{font-size:11px;min-height:32px;padding:5px 8px;width:auto;margin:0}.source-card .source-actions .alert-bell{width:32px;height:32px;min-width:32px;min-height:32px;padding:6px}.source-card .source-actions .ui-icon{width:15px;height:15px}}

@media(max-width:760px){.token-search .live-token{padding:14px;min-width:0}.token-search .live-token>.row{gap:9px;align-items:flex-start;flex-wrap:wrap}.token-search .live-token h2{font-size:21px;line-height:1.3;margin:0 0 4px}.token-search .live-badge{font-size:9px;line-height:1.4;white-space:nowrap;padding:4px 6px}.token-search .live-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.token-search .live-fields>div{padding:10px;min-width:0}.token-search .live-fields>div>span{font-size:11px;line-height:1.5}.token-search .live-fields strong{font-size:15px;line-height:1.5;word-break:normal;overflow-wrap:normal}.token-search .contract-row{padding:10px;gap:7px}.token-search .contract-label{font-size:10px}.token-search .contract-copy{font-size:10px;padding:5px 7px;min-width:36px}.token-search .venue-row{gap:9px}.token-search .venue-summary strong{font-size:15px}.token-search .venue-link{font-size:11px;white-space:normal}}

/* /watchlist.css */
/* Compact watched instruments; detailed provider chart loads only on explicit open. */
.watch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:3px 0 12px}.watch-count{font-size:13px;color:var(--muted)}.watch-add{font:inherit;font-size:13px;color:var(--accent);background:var(--accent-soft);border:0;border-radius:5px;padding:7px 9px;min-height:32px;cursor:pointer}
.watch-row{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:2px 4px;border-bottom:1px solid var(--line);padding:8px 0;min-width:0}.watch-row:last-child{border-bottom:0}.watch-open{display:grid;grid-template-columns:28px minmax(72px,1fr) minmax(64px,96px) minmax(80px,auto);align-items:center;gap:8px;min-width:0;width:100%;border:0;border-radius:6px;background:transparent;padding:7px 0;color:var(--ink);font:inherit;text-align:left;cursor:pointer}.watch-open:hover{background:var(--raised)}.watch-open .market-logo{width:28px;height:28px;font-size:9px}.watch-identity{min-width:0}.watch-identity>strong{font-size:15px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.watch-identity>small{font-size:11px;color:var(--muted);display:block;white-space:normal;line-height:1.4;margin-top:4px}.watch-price{min-width:0;text-align:right;font-variant-numeric:tabular-nums}.watch-price strong{font-size:15px;display:block;white-space:nowrap}.watch-price small{font-size:12px;display:block;margin-top:4px}.watch-remove{display:grid;place-items:center;min-width:28px;min-height:42px;border:0;background:transparent;color:var(--accent);cursor:pointer;border-radius:5px;padding:0}.watch-remove svg{width:14px;height:14px;fill:var(--accent-soft)}.watch-remove:hover{background:var(--raised)}.watch-spark{display:block;width:100%;height:36px;overflow:visible}.watch-spark path{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.watch-spark-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;width:70px;height:32px;font-size:10px;color:var(--muted)}.watch-spark-empty>span{font-size:16px;line-height:8px;letter-spacing:3px}.watch-row-status{grid-column:1/-1;font-size:12px;color:var(--muted);line-height:1.5;margin:1px 0 4px;overflow-wrap:anywhere}.watch-feedback:empty{display:none}.watch-feedback{font-size:13px;color:var(--muted);line-height:1.5;margin:9px 0 0}.watch-history-note{font-size:12px;color:var(--muted);line-height:1.5;margin:11px 0 0}.watch-empty{padding:20px 0;font-size:13px}.watch-empty p{font-size:12px;color:var(--muted)}
.watch-manager-dialog,.market-detail-dialog{padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--ink);width:min(620px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 20px 80px #10213b40}.watch-manager-dialog::backdrop,.market-detail-dialog::backdrop{background:#10213b70}.watch-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.watch-dialog-heading small{font-size:11px;color:var(--muted)}.watch-dialog-heading h2{font-size:20px;line-height:1.4;margin:3px 0 0}.watch-close{font:inherit;display:grid;place-items:center;min-width:36px;min-height:36px;background:var(--raised);border:0;color:var(--muted);font-size:24px;border-radius:7px;cursor:pointer}#watch-search-form label{display:block;font-size:12px;margin-bottom:8px}.watch-search-row{display:flex;gap:8px}.watch-search-row input{min-width:0;flex:1;font:inherit;font-size:13px;border:1px solid var(--line);border-radius:7px;padding:10px;background:var(--panel);color:var(--ink)}.watch-search-row button{font-size:12px;min-height:40px;padding:8px 14px}#watch-search-state{font-size:12px;color:var(--muted);line-height:1.6;margin:14px 0}.watch-search-result{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;border-top:1px solid var(--line);padding:13px 0}.watch-search-result>div{min-width:0}.watch-search-result strong{font-size:14px}.watch-search-result span{font-size:12px;color:var(--muted);margin-left:8px}.watch-search-result small{font-size:11px;display:block;color:var(--muted);margin-top:5px}.watch-search-result code{font-size:10px;display:block;overflow-wrap:anywhere;margin-top:6px;color:var(--muted)}.watch-follow{font:inherit;font-size:12px;min-height:36px;min-width:76px;background:var(--accent-soft);color:var(--accent);border:1px solid var(--line);border-radius:6px;padding:7px 10px;cursor:pointer}.watch-follow.is-followed{background:var(--raised);color:var(--muted)}.watch-manager-note{font-size:11px;color:var(--muted);line-height:1.5;margin-top:18px}.market-detail-dialog .market-chart{width:100%;height:460px;min-height:0;aspect-ratio:auto}.market-detail-dialog .market-price-row strong{font-size:29px}.market-detail-dialog .market-chart-actions{margin-top:11px}.market-detail-dialog .market-instrument small{max-width:300px}
@media(max-width:760px){.watch-manager-dialog{padding:16px}.watch-dialog-heading{margin-bottom:14px}.watch-dialog-heading h2{font-size:18px}.market-detail-dialog .market-chart{height:340px}.watch-search-result{gap:8px}.watch-follow{min-width:68px;font-size:11px}}
@media(max-width:400px){.watch-open{grid-template-columns:24px minmax(32px,1fr) minmax(58px,auto);gap:5px 7px}.watch-open .market-logo{grid-column:1;grid-row:1}.watch-identity{grid-column:2;grid-row:1}.watch-price{grid-column:3;grid-row:1}.watch-spark,.watch-spark-empty{grid-column:2/4;grid-row:2;width:100%;height:25px}.watch-spark{max-width:150px;justify-self:end}.watch-search-row{gap:6px}.watch-search-row input{font-size:12px}.watch-search-row button{padding:7px 9px}}
@media(prefers-reduced-motion:no-preference){.watch-open,.watch-remove{transition:background .15s ease}}

/* Browsable library; the page remains the scrolling surface. */
.watch-view-tabs{display:flex;border-bottom:1px solid var(--line);margin:10px 0 12px;gap:20px}.watch-view-tabs button{font:inherit;font-size:14px;min-height:36px;background:none;color:var(--muted);border:0;border-bottom:2px solid transparent;padding:6px 0;cursor:pointer}.watch-view-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent);font-weight:700}.watch-view-tabs span{font-size:10px;padding:2px 5px;background:var(--raised);border-radius:4px;margin-left:3px}.watch-library-filters{display:grid;grid-template-columns:minmax(0,1fr) 138px;gap:7px;margin-bottom:10px}.watch-library-filters[hidden]{display:none}.watch-library-filters input,.watch-library-filters select{width:100%;min-width:0;font:inherit;font-size:13px;color:var(--ink);border:1px solid var(--line);border-radius:5px;padding:8px;background:var(--panel);min-height:34px}.watch-remove{color:var(--muted)}.watch-remove svg{fill:none}.watch-remove.is-followed{color:var(--accent)}.watch-remove.is-followed svg{fill:var(--accent-soft)}.watch-more{display:block;width:100%;font:inherit;font-size:12px;min-height:36px;background:var(--raised);color:var(--accent);border:1px solid var(--line);border-radius:6px;cursor:pointer;margin-top:12px}.watch-more[hidden]{display:none}.watch-search-result{grid-template-columns:28px minmax(0,1fr) auto}.watch-search-result>.market-logo{width:28px;height:28px}.watch-open .market-logo{background:transparent}.market-logo img{object-fit:contain}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:400px){.watch-library-filters{grid-template-columns:minmax(0,1fr) 104px}.watch-library-filters input,.watch-library-filters select{font-size:10px}}

.watch-preview-label{margin:4px 0 5px;font-size:12px;color:var(--muted)}

.crypto-filter-badge{font-size:10px;line-height:1.5;color:var(--accent);background:var(--accent-soft);border-radius:4px;padding:2px 5px;white-space:nowrap;margin-left:6px}.connection-detail summary{flex-wrap:wrap}

.market-card>.watch-pagination{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:14px;width:100%;padding:13px 0 0;margin:10px 0 0;border-top:1px solid var(--line)}.market-card>.watch-pagination[hidden]{display:none}.market-card>.watch-pagination button{display:grid;place-items:center;flex:0 0 34px;width:34px;min-width:34px;height:34px;min-height:34px;margin:0;padding:0;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);font:inherit;font-size:23px;line-height:1;cursor:pointer}.market-card>.watch-pagination button:hover:not(:disabled){border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.market-card>.watch-pagination button:disabled{opacity:.35;cursor:default}.watch-page-label{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);min-width:0;white-space:nowrap}.watch-page-label input{width:48px;min-width:0;height:34px;padding:4px;border:1px solid var(--line);border-radius:7px;background:var(--raised);color:var(--ink);font:inherit;font-weight:600;text-align:center;-moz-appearance:textfield}.watch-page-label input::-webkit-inner-spin-button{appearance:none}.watch-page-label input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.watch-directory-info{margin:12px 0 0;color:var(--muted);font-size:12px;line-height:1.65}.watch-directory-info summary{cursor:pointer}.watch-directory-info ul{padding-left:15px}.watch-directory-info li{margin:6px 0;overflow-wrap:anywhere}.watch-directory-info p{margin:7px 0}

.chart-status{font-size:15px;line-height:1.75;color:var(--muted);margin:14px 0 20px}.chart-candidate{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;padding:15px;margin:9px 0;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--ink);font:inherit;text-align:left}.chart-candidate:hover{background:var(--raised);border-color:var(--accent)}.chart-candidate strong{font-size:15px}.chart-candidate span{font-size:13px;color:var(--muted)}.chart-candidate code{font-size:12px;overflow-wrap:anywhere;white-space:normal;line-height:1.6;color:var(--muted)}

/* The dialog, not the third-party frame, owns scrolling by default. */
.market-detail-dialog{width:min(980px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;scrollbar-gutter:stable;scrollbar-width:auto;scrollbar-color:var(--muted) var(--raised);overscroll-behavior:contain;scroll-behavior:smooth}
.market-detail-dialog>.watch-dialog-heading{position:sticky;top:0;z-index:3;margin:0;padding:16px 24px;background:var(--panel);border-bottom:1px solid var(--line)}
.market-detail-dialog .watch-dialog-heading>div{min-width:0}.market-detail-dialog .watch-dialog-heading h2{overflow-wrap:anywhere}
.market-detail-dialog .watch-close{color:var(--ink);flex-shrink:0;min-width:40px;min-height:40px}
#market-chart-content{padding:20px 24px 24px;min-width:0}
.market-detail-dialog>#market-intent-note{margin:0;padding:0 24px 24px;font-size:12px}
.market-detail-dialog .market-instrument small{max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:13px}
.market-detail-dialog .market-chain,.market-detail-dialog .market-price-row small,.market-detail-dialog .market-retrieved,.market-detail-dialog .market-footnote{font-size:12px;line-height:1.65}
.market-detail-dialog .market-price-row strong{font-size:36px;letter-spacing:-1px}
.market-detail-dialog .market-detail-nav{display:flex;flex-direction:row;gap:8px;border-top:1px solid var(--line);padding:14px 0;flex-wrap:wrap}
.market-detail-dialog .market-detail-nav button{width:auto;flex:0 0 auto;font:inherit;font-size:13px;font-weight:600;border:1px solid var(--line);border-radius:6px;background:var(--raised);color:var(--ink);min-height:36px;padding:7px 13px;cursor:pointer}
.market-detail-nav button:hover{color:var(--accent);border-color:var(--accent)}
.market-detail-dialog section{scroll-margin-top:90px}
.market-detail-dialog .market-chart-actions{margin:0 0 8px}
.market-detail-dialog .market-chart-actions button,.market-detail-dialog .market-chart-actions a{font-size:13px;min-height:38px;padding:9px 12px}
.market-detail-dialog .market-chart-actions button[aria-pressed=true]{background:var(--accent);color:var(--panel)}
.market-detail-dialog .market-chart{border:1px solid var(--line);border-radius:8px;margin-top:12px;touch-action:pan-y}
.market-detail-dialog .market-chart.is-interactive{touch-action:auto}
.market-detail-dialog h3{font-size:17px;letter-spacing:-.2px;margin:24px 0 14px}
.market-detail-dialog .market-statistics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.market-detail-dialog .market-statistics span{font-size:12px;line-height:1.5}.market-detail-dialog .market-statistics strong{font-size:18px;font-weight:650;overflow-wrap:anywhere}
.market-table-wrap{overflow-x:auto}.market-periods{width:100%;border-collapse:collapse;min-width:340px;font-size:13px;font-variant-numeric:tabular-nums;text-align:right}
.market-periods caption{font-size:12px;text-align:left;color:var(--muted);padding:14px 0}
.market-periods th,.market-periods td{padding:12px 8px;border-bottom:1px solid var(--line);white-space:nowrap}.market-periods thead th{color:var(--muted);font-size:12px;font-weight:500}.market-periods th:first-child{text-align:left}
.market-contracts dl{margin:0}.market-contracts dl>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.65}
.market-contracts dt{color:var(--muted)}.market-contracts dd{margin:0;overflow-wrap:anywhere;user-select:text;font-variant-numeric:tabular-nums}
.market-contracts dl>div:nth-child(4) dd,.market-contracts dl>div:nth-child(6) dd,.market-contracts dl>div:nth-child(7) dd{font-family:ui-monospace,Consolas,monospace;font-size:12px}
.market-fixture-warning{padding:11px 14px;background:var(--raised);border-left:3px solid var(--warning);font-size:13px;color:var(--ink);line-height:1.6;margin:0 0 18px}
.market-chart-unavailable{min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed var(--line);border-radius:8px;background:var(--raised);padding:24px;text-align:center}.market-chart-unavailable strong{font-size:17px}.market-chart-unavailable p{max-width:430px;color:var(--muted);font-size:13px;line-height:1.8}
@media(max-width:760px){.market-detail-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:10px}.market-detail-dialog>.watch-dialog-heading{padding:12px 14px}#market-chart-content{padding:16px 14px 24px}.market-detail-dialog>#market-intent-note{padding:0 14px 20px}.market-detail-dialog .market-statistics{grid-template-columns:repeat(2,minmax(0,1fr))}.market-detail-dialog .market-price-row strong{font-size:30px}.market-contracts dl>div{grid-template-columns:100px minmax(0,1fr);gap:8px}.market-detail-dialog .market-chart{height:380px}.market-detail-dialog .market-chart-actions{align-items:stretch}.market-detail-dialog .market-chart-actions>*{flex:1;text-align:center}}
@media(prefers-reduced-motion:reduce){.market-detail-dialog{scroll-behavior:auto}}

/* Compact quote header leaves chart controls above the fold. Chart input is always enabled. */
#market-price{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 20px}#market-price .market-instrument{grid-column:1;grid-row:1;margin:0;min-width:0}#market-price .market-price-row{grid-column:2;grid-row:1;margin:0;gap:18px;text-align:right}#market-price .market-price-row strong{font-size:29px}#market-price .market-retrieved{grid-column:1/-1;margin:4px 0 0;font-size:11px;line-height:1.55}.market-detail-dialog .market-detail-nav{padding:10px 0;margin-top:10px}.market-detail-dialog .market-chart-actions{margin:0 0 4px}.market-detail-dialog #chart-scroll-help{margin:5px 0;font-size:12px}.market-detail-dialog #chart-loading-note{margin:6px 0;font-size:12px;line-height:1.5}.market-detail-dialog #chart-loading-note[hidden]{display:none}.market-detail-dialog .market-chart iframe{pointer-events:auto;touch-action:auto}.market-detail-dialog .market-chart{touch-action:auto}
@media(max-width:760px){#market-price{gap:4px 10px}#market-price .market-price-row{gap:8px}#market-price .market-price-row strong{font-size:24px}#market-price .market-instrument .market-logo{width:30px;height:30px}#market-price .market-instrument b{font-size:15px}#market-price .market-price-row small,#market-price .market-instrument small{font-size:11px}}

/* Real observations: retain visible stroke width in narrow market rows. */
.watch-spark path{stroke-width:1.8;vector-effect:non-scaling-stroke}
.watch-spark.is-neutral{color:var(--muted)}

.row-token-spark .is-neutral{color:var(--muted)}

/* Exact-pool historical OHLC, never browser-sampled price interpolation. */
.watch-candles{display:block;width:72px;height:36px;min-width:0}.market-mini-candles{display:block;width:100%;height:100%;overflow:visible}
.market-mini-candles path{fill:none;stroke:currentColor;stroke-width:.8;stroke-linecap:butt;vector-effect:non-scaling-stroke}.market-mini-candles rect{fill:currentColor;stroke:none}
.market-mini-candles .candle-up{color:var(--positive)}.market-mini-candles .candle-down{color:var(--negative)}.market-mini-candles .candle-flat{color:var(--muted)}
#terminal-market-host .watch-open{grid-template-columns:24px minmax(32px,1fr) 72px minmax(68px,auto)}
.row-token-spark .market-mini-candles path{stroke-width:.6;stroke:currentColor}.row-token-spark .market-mini-candles{height:20px;width:44px}
@media(max-width:760px){.row-token-spark .market-mini-candles{width:34px}.watch-candles{width:100%;max-width:120px;height:32px}}
@media(max-width:400px){.watch-candles{grid-column:2/4;grid-row:2;justify-self:end}}

.watch-candles{width:100%;max-width:72px}
body.terminal-product #terminal-market-host .watch-open{grid-template-columns:24px minmax(32px,1fr) 72px minmax(68px,auto)}

.watch-candles{position:relative}.history-alt-badge{position:absolute;top:-8px;right:0;font-size:9px;line-height:12px;color:var(--accent,#1672b9);background:var(--panel,#fff)}.row-token-spark.has-alternate{width:65px;flex-basis:65px;position:relative}.history-alt-inline{position:absolute;right:0;top:-6px;font-size:9px;line-height:12px;color:var(--accent,#1672b9);background:var(--panel,#fff)}

/* /message-rows.css */
/* Source text first; tokens are the only actions on a collapsed message row. */
.message-row{container-type:inline-size;border-color:var(--line)}
.message-row .row-main{display:grid;grid-template-columns:22px minmax(0,1fr) auto;grid-template-rows:auto 22px;gap:6px 8px;align-items:center;padding:11px 15px;min-height:70px}
.message-row .row-main>.row-headline{grid-column:1/-1;grid-row:1;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:1.5;font-weight:600;letter-spacing:0;text-align:left;width:100%;min-width:0;padding:0;color:var(--ink)}
.message-row .row-headline:hover{color:var(--accent)}
.message-row .row-main>.row-avatar{grid-column:1;grid-row:2;width:22px;height:22px;position:static;font-size:9px}
.message-row .row-avatar .avatar-profile-trigger,.message-row .row-avatar .avatar-initials,.message-row .row-avatar img{width:22px;height:22px;min-width:0;min-height:0;position:static;padding:0;font-size:9px;transform:none}
.message-row .row-source{grid-column:2;grid-row:2;display:flex;align-items:center;gap:9px;min-width:0;overflow:hidden}
.message-row .source-line{min-width:0;flex:0 1 auto;gap:4px;max-width:180px}
.message-row .row-source .name{font-size:12px;font-weight:550;color:var(--muted);max-width:none;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.message-row .priority-marker{width:11px;height:11px}.message-row .priority-marker svg{width:11px;height:11px}
.message-row .row-time{font-size:11px;font-weight:500;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto;color:var(--muted)}
.message-row .row-tokens{grid-column:3;grid-row:2;max-width:200px;gap:5px;flex-wrap:nowrap;min-width:0}
.message-row .row-token{font-size:11px;min-height:24px;padding:2px 5px;gap:4px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--accent)}
.message-row .row-token:hover,.message-row .row-token:focus-visible{background:var(--accent-soft);border-color:var(--accent)}
.message-row .row-token .market-logo{width:15px;height:15px;font-size:7px;border:0;background:transparent}
.message-row .row-details{padding:0 15px 0}
.message-row .row-details[open]{padding-bottom:12px}
.message-row .row-details .message-excerpt{font-size:15px;line-height:1.8;color:var(--ink)}
.message-row .row-tools{font-size:13px;gap:14px}.message-row .row-tools a{font-size:13px;font-weight:550}
@container(max-width:700px){.message-row .row-main>.row-headline{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;font-size:15px;line-height:1.5}.message-row .source-line{max-width:130px}.message-row .row-tokens{max-width:160px}.message-row .row-source{gap:7px}}
@container(max-width:420px){.message-row .row-main{grid-template-columns:20px minmax(0,1fr) auto;gap:5px 6px;padding:8px 8px;min-height:66px}.message-row .row-main>.row-headline{font-size:14px}.message-row .row-source .source-line{display:flex;max-width:90px}.message-row .row-source .name{font-size:11px}.message-row .row-time{font-size:11px}.message-row .row-tokens{max-width:110px;gap:3px}.message-row .row-token{font-size:10px;padding:1px 3px;gap:3px}.message-row .row-token .market-logo{width:13px;height:13px}.message-row .row-details{padding:0 10px}.message-row .row-main>.row-avatar,.message-row .row-avatar .avatar-profile-trigger,.message-row .row-avatar .avatar-initials,.message-row .row-avatar img{width:20px;height:20px}}
@media(pointer:coarse){.message-row .row-token{min-height:30px}.message-row .row-main{grid-template-rows:auto minmax(28px,auto)}}

/* /terminal-fonts.css */
@font-face {
  font-family: 'Atlas Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/terminal-fonts/geist-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Atlas Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/terminal-fonts/geist-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Atlas Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/terminal-fonts/geist-2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Atlas Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/terminal-fonts/geist-3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Atlas Geist';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/terminal-fonts/geist-4.woff2) format('woff2');
  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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Atlas Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/terminal-fonts/manrope-0.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Atlas Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/terminal-fonts/manrope-1.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Atlas Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/terminal-fonts/manrope-2.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Atlas Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/terminal-fonts/manrope-3.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Atlas Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/terminal-fonts/manrope-4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atlas Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/terminal-fonts/manrope-5.woff2) format('woff2');
  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;
}

/* Outfit display and brand lettering. SIL OFL 1.1; self-hosted. */
/* latin-ext */
@font-face {
  font-family: 'Atlas Outfit';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/terminal-fonts/outfit-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atlas Outfit';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/terminal-fonts/outfit-1.woff2) format('woff2');
  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;
}

/* /terminal-tokens.css */
/* Shared Atlas terminal tokens. App, integrations, embeds and desktop panels. */
:root,:root[data-theme=dark]{--bg:#030f19;--panel:#071823;--raised:#0c2030;--ink:#edf4fb;--muted:#a1b8cf;--line:#172d3c;--accent:#65c4ff;--accent-soft:#0c2d4a;--positive:#83d5b8;--positive-soft:#0d302b;--warning:#dbb66c;--negative:#f08a9b;--negative-soft:#391c29;--shadow:none;color-scheme:dark}
:root[data-theme=light]{--bg:#f5f7fb;--panel:#fff;--raised:#edf2f8;--ink:#162536;--muted:#50657a;--line:#d8e2ed;--accent:#145ca3;--accent-soft:#e4effa;--positive:#176a51;--positive-soft:#e5f3ec;--warning:#8b600e;--negative:#b22b45;--negative-soft:#fbe8ed;color-scheme:light}
:root{--font-display:"Atlas Outfit","Atlas Manrope","Noto Sans SC","Microsoft YaHei",sans-serif;--font-sans:"Atlas Manrope","Atlas Geist","Segoe UI","Noto Sans SC","Microsoft YaHei",sans-serif;--font-mono:ui-monospace,"Cascadia Code",Consolas,monospace;--radius-control:8px;--radius-surface:9px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px}

/* /terminal-product.css */
/* Approved terminal design applied to the existing application contracts. */
html{scroll-padding-top:90px}
body.terminal-product{--rail-width:0px;--sidebar-panel:208px;--market-panel:clamp(300px,22.5vw,366px);padding:72px 0 0 208px;background:var(--bg);font-family:var(--font-sans);font-size:14px;font-weight:400;line-height:1.55;-webkit-font-smoothing:antialiased}
body.terminal-product.sidebar-collapsed{padding-left:208px}
button,input,select,textarea{font:inherit}button{font-weight:450}h1,h2,h3{font-weight:480;letter-spacing:-.02em}
.primary,.outline,.small-btn,.follow-button{border-radius:5px;font-size:13px;font-weight:450;min-height:36px;padding:8px 12px;box-shadow:none}
.primary{background:#0d4e7e;border:1px solid #2678ab;color:#e2f3ff}.primary:hover{background:#17608f}
.ui-icon{stroke-width:1.5}
.terminal-topbar{position:fixed;inset:0 0 auto;height:72px;width:100%;z-index:44;display:flex;gap:24px;align-items:center;padding:0 22px;background:var(--bg);border-bottom:1px solid var(--line)}
.terminal-brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;white-space:nowrap;min-width:244px}
.terminal-brand img{display:block;width:44px;height:44px}.terminal-brand span{font-size:22px;font-weight:550;letter-spacing:-.035em}.terminal-brand b{font-weight:400;color:var(--muted)}
.terminal-search{display:flex;align-items:center;gap:10px;width:min(440px,36vw);height:40px;background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:0 12px;color:var(--muted)}
.terminal-search input{background:none;border:0;outline:none;min-width:0;flex:1;color:var(--ink);font-size:14px}.terminal-search input::placeholder{color:var(--muted)}
.terminal-search kbd{font-size:11px;white-space:nowrap;font-family:ui-monospace,Consolas,monospace;border:1px solid var(--line);border-radius:3px;padding:2px 5px}
.terminal-context{font-size:11px;letter-spacing:.1em;color:var(--muted);margin-left:auto}
#terminal-environment{font-size:11px;color:var(--warning);max-width:160px}
#terminal-account{white-space:nowrap;background:var(--panel)}#terminal-nav{display:none}
.mobile-rail{display:none}
#navigation-drawer,#navigation-drawer.is-open{display:flex;position:fixed;top:72px;bottom:0;left:0;width:208px;height:calc(100dvh - 72px);padding:18px 12px;background:var(--bg);border-right:1px solid var(--line);z-index:43}
.drawer-heading,#navigation-drawer .sidebar-header{display:none}
.sidebar-body{padding:0 0 12px;overflow-y:auto}
.sidebar-nav-section{margin-bottom:20px}.sidebar-group-label{font-size:10px;font-weight:450;color:var(--muted);padding-left:10px;letter-spacing:.1em}
#navigation-drawer nav .nav-tab{font-size:14px;font-weight:400;min-height:42px;padding:9px 10px;border-radius:5px;gap:10px;color:var(--muted);text-decoration:none;white-space:normal}
#navigation-drawer nav .nav-tab.active{font-weight:450;background:var(--accent-soft);color:var(--ink);box-shadow:inset 2px 0 #249ee8}
#navigation-drawer nav .nav-tab:hover{background:var(--panel)}
#navigation-drawer nav .ui-icon{width:18px;height:18px}
.sidebar-section>summary{font-size:12px;padding:12px 9px}
.sidebar-footer{border-top:1px solid var(--line);padding-top:12px;background:none}
#workspace.shell{display:grid;grid-template-columns:minmax(0,1fr) var(--market-panel);gap:22px;padding:20px 20px 40px;max-width:2000px;margin:0 auto;min-width:0}
#workspace>main{min-width:0;margin:0;padding:0;max-width:none}
#workspace main>.heading{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal;margin:0 0 18px;padding:0;display:flex;align-items:start;gap:16px}.heading .eyebrow{display:none}
.heading h1{font-size:28px;font-weight:450;line-height:1.22;letter-spacing:-.03em}.heading-copy{display:block;font-size:14px;line-height:22px;margin-top:6px;color:var(--muted)}
#workspace main>.heading button{display:inline-flex}.heading .alert-cta{margin-left:auto;font-size:12px}
.toolbar{padding:0;margin:10px 0;display:flex;align-items:center;gap:12px}
.stream-tabs{display:flex;flex-wrap:wrap;gap:7px;padding:0;border:0;background:none}
.stream-tabs button{min-height:32px;border:1px solid var(--line);border-radius:5px;font-size:12px;padding:5px 11px;background:none;color:var(--muted);font-weight:400}
.stream-tabs button.selected{background:#126094;color:#e8f6ff;border-color:#2779a8}
.stream-playback{margin-left:auto;display:flex;gap:7px}
.feed-controls{display:flex;gap:10px;margin:10px 0}
.stream-search{background:var(--panel);border:1px solid var(--line);border-radius:5px;height:38px;min-height:38px}
.stream-search input{font-size:13px;color:var(--ink);background:none}
.feed-facets select{background:var(--panel);color:var(--ink);border-color:var(--line);font-size:12px;height:38px;border-radius:5px}
.feed-count{font-size:11px;white-space:nowrap}
.connection-detail{margin:13px 0 16px;font-size:12px}.connection-detail summary{font-size:12px;color:var(--muted)}.connection-detail .status{font-size:12px}
#stream.stream{max-width:none;overflow:visible;display:block;padding:0;border:0}
#stream .message-row{display:block;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:15px 0;box-shadow:none}
#stream .message-row.terminal-selected{background:var(--panel);box-shadow:inset 2px 0 #239edc;padding-left:12px;padding-right:10px;border-radius:5px}
#stream .row-main{display:grid;grid-template-columns:46px minmax(0,1fr);gap:5px 13px;min-width:0;align-items:start;min-height:0;grid-template-rows:repeat(5,auto);padding:0}
#stream .row-avatar{grid-column:1;grid-row:1 / span 5;width:44px;height:44px;margin-top:2px}
#stream .row-source{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:none;min-width:0;overflow:visible}
#stream .source-line{min-width:0;display:flex;gap:6px;align-items:center}
#stream .name{font-size:13px;line-height:20px;font-weight:500;color:var(--ink);overflow:visible;white-space:normal}
.terminal-source-link{color:var(--ink);text-decoration:none}.terminal-source-link:hover{text-decoration:underline;color:var(--accent);text-underline-offset:3px}
#stream .row-time{font-size:12px;line-height:19px;color:var(--muted);white-space:normal;flex-shrink:0}
#stream .row-headline{grid-column:2;grid-row:2;font-size:17px;font-weight:480;line-height:24px;letter-spacing:-.012em;white-space:normal;text-overflow:clip;overflow:visible;text-align:left;color:var(--ink);padding:0;border:0;background:none;max-width:none}
#stream .row-headline:hover{color:var(--accent)}
.terminal-row-summary{grid-column:2;grid-row:3;font-size:14px;font-weight:400;line-height:21px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}
#stream .row-tokens{grid-column:2;grid-row:4;justify-content:start;gap:6px;max-width:100%;padding:2px 0;min-width:0}
#stream .row-token{background:var(--raised);border:1px solid var(--line);border-radius:4px;min-height:24px;padding:2px 6px;font-size:11px;max-width:110px;color:var(--ink)}
#stream .row-token img{width:15px;height:15px}
.terminal-row-actions{grid-column:2;grid-row:5;display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:3px}
.terminal-row-actions button{border:0;background:none;padding:5px 0;min-height:30px;font-size:13px;font-weight:450;color:var(--accent)}
.terminal-row-actions .terminal-row-evidence{color:var(--muted)}
.terminal-row-actions button:hover{text-decoration:underline;text-underline-offset:4px}
#stream .row-details{margin-left:59px;background:var(--panel);font-size:14px}
#stream .message-excerpt{font-size:14px;line-height:23px;font-weight:400}
#stream .row-tools{font-size:12px;gap:12px;flex-wrap:wrap}
.terminal-inspector{min-width:0;position:sticky;top:86px;background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:18px;align-self:start}
.terminal-case-head{padding-bottom:16px;border-bottom:1px solid var(--line)}
.terminal-section-label{display:block;color:var(--accent);font-size:11px;letter-spacing:.06em;line-height:18px}
.terminal-case-head h2{font-size:20px;line-height:27px;font-weight:450;margin:8px 0 13px;outline:none}
.terminal-case-source{font-size:13px;font-weight:500;color:var(--ink)}.terminal-case-source time{display:block;font-size:12px;line-height:19px;font-weight:400;color:var(--muted);margin-top:3px}
.terminal-case-head>a{display:inline-block;font-size:12px;margin-top:9px;text-decoration:none}
.terminal-inspector section+section,.terminal-source-record{padding-top:16px;margin-top:16px;border-top:1px solid var(--line)}
.terminal-inspector .terminal-case-analysis{border-top:0;margin-top:0;padding-top:17px}
.terminal-analysis-heading{display:flex;align-items:center;gap:8px}
.terminal-inspector h3{font-size:14px;line-height:21px;font-weight:500;letter-spacing:0;margin:0 0 7px}
.terminal-analysis-heading h3{margin:0}
.terminal-inspector p{font-size:14px;line-height:22px;font-weight:400;color:var(--muted);margin:8px 0 0;overflow-wrap:anywhere}
.terminal-inspector .terminal-conclusion{color:var(--ink);margin-top:10px}
.terminal-inspector small{display:block;font-size:11px;line-height:18px;color:var(--muted);margin-top:7px}
.terminal-model-labels{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12px;color:var(--accent);margin-top:12px}
.terminal-model-labels>span:first-child{text-transform:capitalize;color:var(--positive)}
.terminal-inspector blockquote{font-size:14px;line-height:23px;color:var(--ink);margin:10px 0;padding-left:12px;border-left:1px solid var(--muted);overflow-wrap:anywhere}
.terminal-source-record summary{font-size:13px;color:var(--accent);cursor:pointer}
.terminal-source-record .terminal-original-text{white-space:pre-wrap}
#terminal-run-ai{margin-top:13px}#terminal-full-details{margin-top:20px;font-size:12px}
.terminal-empty{padding:20px 0}.terminal-empty h2{font-size:21px;font-weight:450;margin-top:10px}
body[data-view=signals] #workspace.shell,body[data-view=alerts] #workspace.shell{grid-template-columns:minmax(0,1fr)}
body[data-view=signals] .terminal-inspector,body[data-view=alerts] .terminal-inspector{display:none}
#discover,#token-search,#plans{margin:0 auto;max-width:1450px;padding:28px 32px 60px;background:var(--bg);min-width:0}
#discover h1,#token-search h1,#plans h1{font-size:30px;font-weight:450}
#token-search>.market-rail{display:block;position:static;width:100%;margin:28px 0;max-width:none}
#token-search>.market-rail .market-card{background:var(--panel);border:1px solid var(--line);border-radius:6px;color:var(--ink);box-shadow:none}
.market-card,.source-card,.source-row,.insight-banner,.insight-metrics,.alert-dashboard,.token-card{box-shadow:none;border-color:var(--line);border-radius:6px;background:var(--panel)}
.source-card p,.token-card p,.insight-banner p{font-weight:400}.source-grid{gap:16px}
#token-search .token-watchlist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 22px}
#token-search .watch-token{border-color:var(--line)}
#workspace .foot{font-size:12px;margin-top:22px}
#drawer-controls .header-end{padding:0;flex-wrap:wrap;gap:12px}.workspace-preferences{background:var(--panel);color:var(--ink)}
dialog,.modal{background:var(--panel);color:var(--ink);border-color:var(--line);border-radius:8px}
input,select,textarea{color:var(--ink)}
.account-entry{font-weight:400}.sidebar-footer .account-name{font-weight:500}
@media(min-width:1700px){body.terminal-product{padding-left:224px}body.terminal-product.sidebar-collapsed{padding-left:224px}#navigation-drawer,#navigation-drawer.is-open{width:224px}#workspace.shell{gap:26px;padding:22px 26px 50px}}
@media(max-width:1300px){.terminal-context{display:none}.terminal-brand{min-width:220px}.terminal-topbar{gap:16px}.terminal-search{width:min(440px,42vw)}#terminal-environment{margin-left:auto}.terminal-row-summary{font-size:14px}#stream .row-source{flex-wrap:wrap;gap:2px 10px}#stream .row-time{font-size:11px}#workspace.shell{padding:18px;gap:16px}.terminal-inspector{padding:15px}.terminal-inspector p{font-size:14px}}
@media(max-width:1100px){body.terminal-product,body.terminal-product.sidebar-collapsed{padding-left:0}#navigation-drawer{display:none}#navigation-drawer.is-open{display:flex;left:0;width:min(300px,85vw)}.drawer-heading{display:flex}#workspace.shell{grid-template-columns:minmax(0,1fr);max-width:1000px}.terminal-inspector{position:static;margin-top:10px;scroll-margin-top:88px}.terminal-topbar{padding:0 16px}#terminal-nav{display:block}#terminal-account{margin-left:auto}.terminal-search{flex:1;width:auto}#terminal-environment{display:none}.terminal-brand{min-width:0}.terminal-brand span{font-size:20px}.terminal-brand img{width:38px;height:38px}#token-search .token-watchlist{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){html{scroll-padding-top:126px}body.terminal-product,body.terminal-product.sidebar-collapsed{padding-top:112px}.terminal-topbar{height:112px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px 10px;padding:8px 14px;align-content:start}.terminal-brand{height:42px;gap:8px}.terminal-brand span{font-size:19px}.terminal-brand img{width:34px;height:34px}.terminal-search{grid-column:1 / -1;grid-row:2;width:100%;height:37px}.terminal-search input{font-size:16px}.terminal-search kbd{display:none}#terminal-account,#terminal-nav{font-size:12px;min-height:34px;padding:6px 9px}.terminal-topbar .terminal-context{display:none}#navigation-drawer,#navigation-drawer.is-open{top:112px;height:calc(100dvh - 112px)}#workspace.shell{display:block;padding:18px 14px 35px}.heading h1{font-size:25px}.heading-copy{font-size:13px;line-height:20px}.heading .alert-cta{display:none}.toolbar{flex-wrap:wrap}.stream-playback{margin-left:0}.feed-controls{flex-direction:column}.feed-facets{width:100%}.feed-count{display:none}#stream .message-row{padding:14px 0}#stream .row-main{grid-template-columns:34px minmax(0,1fr);gap:5px 10px}#stream .row-avatar{width:32px;height:32px}#stream .row-source{display:block}#stream .name{font-size:12px;line-height:18px}#stream .row-time{display:block;font-size:11px;line-height:18px;margin-top:2px}#stream .row-headline{font-size:16px;line-height:23px;display:block;max-height:none;-webkit-line-clamp:unset}#stream .row-token{min-height:24px}.terminal-row-summary{font-size:13px;line-height:20px}.terminal-row-actions{gap:16px}.terminal-row-actions button{font-size:12px;min-height:36px}#stream .row-details{margin-left:0}.terminal-inspector{scroll-margin-top:126px;padding:16px}.terminal-case-head h2{font-size:21px}#discover,#token-search,#plans{padding:22px 16px 50px}#token-search .token-watchlist{grid-template-columns:1fr}.source-grid{grid-template-columns:1fr}.source-card{min-width:0}.language-select{max-width:100%}.terminal-inspector p{font-size:14px}.heading .heading-copy{display:block}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none;transition:none}}

#stream .row-avatar .avatar-profile-trigger{display:block;width:100%;height:100%;position:relative;padding:0;border:0;background:none}#stream .row-avatar .avatar-initials{display:grid;place-items:center;width:100%;height:100%;font-size:12px;color:var(--ink);background:var(--raised)}#stream .row-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.terminal-topbar>.account-entry{margin-left:auto;flex-shrink:0}.terminal-topbar>.account-entry button{font-size:13px;font-weight:450;min-height:36px;border-radius:5px}
@media(max-width:760px){.terminal-topbar>.account-entry{grid-column:2;grid-row:1;margin:0}.terminal-topbar>.account-entry button{font-size:11px;padding:6px 8px;min-height:34px}.terminal-topbar>.account-entry button+button{display:none}#terminal-nav{grid-column:3;grid-row:1}#workspace main>.heading button{display:none}}

#stream .source-line{max-width:none}#workspace .heading h1{font-size:28px;font-weight:450;line-height:1.22}.terminal-topbar>.account-entry{border:0;padding:0;background:none;display:flex;gap:7px;align-items:center}
@media(max-width:760px){#workspace .heading h1{font-size:25px;line-height:31px}#stream .row-source .source-line{max-width:none}}

.terminal-validation-note{display:none}@media(max-width:1100px){.terminal-validation-note{display:block;font-size:12px;line-height:19px;color:var(--warning);margin:10px 0}}

/* Keep the mobile scrim behind its interactive navigation surface. */
#drawer-backdrop{z-index:42}

/* The home rail keeps markets discoverable; analysis uses the same narrow column. */
.terminal-right{min-width:0;align-self:start}
.terminal-right[data-panel=analysis]{position:sticky;top:86px}
.terminal-right-tabs{display:flex;gap:22px;align-items:center;border-bottom:1px solid var(--line);margin-bottom:12px}
.terminal-right-tabs button{font:inherit;font-size:14px;font-weight:450;min-height:42px;padding:8px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--muted);cursor:pointer}
.terminal-right-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}
.terminal-right .terminal-inspector{position:static;margin:0;scroll-margin-top:132px}
#terminal-analysis-panel[hidden],#terminal-market-host[hidden]{display:none}
#terminal-market-host>.market-rail{display:flex;flex-direction:column;position:static;gap:12px;width:100%;max-width:none;margin:0;min-width:0}
#terminal-market-host .market-card{padding:14px;border:1px solid var(--line);border-radius:6px;background:var(--panel);min-width:0}
#terminal-market-host .market-heading{margin-bottom:10px;gap:8px}
#terminal-market-host .market-heading h2{font-size:16px;font-weight:480}
#terminal-market-host .market-provider{font-size:11px;white-space:nowrap}
#terminal-market-host .watch-library-filters{grid-template-columns:minmax(0,1fr) 106px}
#terminal-market-host .watch-library-filters input,#terminal-market-host .watch-library-filters select{font-size:12px;padding:7px}
#terminal-market-host .watch-count,#terminal-market-host .watch-add{font-size:11px}
#terminal-market-host .watch-toolbar{gap:6px}
#terminal-market-host .watch-open{grid-template-columns:24px minmax(38px,1fr) 58px minmax(68px,auto);gap:6px}
#terminal-market-host .watch-open .market-logo{width:24px;height:24px}
#terminal-market-host .watch-identity strong,#terminal-market-host .watch-price strong{font-size:13px;font-weight:500}
#terminal-market-host .watch-identity small{font-size:10px;line-height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#terminal-market-host .watch-price small{font-size:11px}
#terminal-market-host .watch-spark-empty{width:58px}
#terminal-market-host .watch-row-status{font-size:11px;line-height:16px}
body[data-view=signals] .terminal-right,body[data-view=alerts] .terminal-right{display:none}
@media(max-width:1100px){.terminal-right,.terminal-right[data-panel=analysis]{position:static;margin-top:18px}.terminal-right .terminal-inspector{scroll-margin-top:136px}}
@media(max-width:760px){.terminal-right .watch-open .market-logo,.terminal-right .watch-identity,.terminal-right .watch-price,.terminal-right .watch-spark,.terminal-right .watch-spark-empty{grid-column:auto;grid-row:auto}.terminal-right .watch-spark,.terminal-right .watch-spark-empty{height:32px}}

/* R4: softer reading rhythm, restrained contours and one Sources entry. */
.terminal-topbar .terminal-brand{font-family:"Atlas Geist","Segoe UI",sans-serif}
.terminal-search{border-radius:9px;background:color-mix(in srgb,var(--panel) 85%,var(--bg));border-color:color-mix(in srgb,var(--muted) 18%,transparent)}
.terminal-search kbd{font-family:var(--font-sans);font-weight:450;letter-spacing:.025em;font-size:11px;line-height:20px;border:0;border-radius:5px;padding:0 7px;background:var(--raised);color:var(--muted)}
#terminal-environment{max-width:none;white-space:nowrap;font:450 12px/20px var(--font-sans);letter-spacing:.015em;color:var(--warning)}
#terminal-environment::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin-right:7px;vertical-align:2px;opacity:.7}
#stream .row-time{font-family:var(--font-sans);font-weight:400;letter-spacing:.005em;font-variant-numeric:tabular-nums}
.terminal-row-summary{line-height:1.65;letter-spacing:.003em;color:color-mix(in srgb,var(--ink) 72%,var(--muted))}
#stream .row-headline{font-weight:550;letter-spacing:-.018em;line-height:1.45}
#stream .message-row{border-bottom-color:color-mix(in srgb,var(--line) 72%,transparent)}
#stream .message-row.terminal-selected{border-radius:9px;box-shadow:inset 2px 0 #2888b2;background:color-mix(in srgb,var(--panel) 82%,var(--bg))}
.terminal-row-actions button{font-weight:500}
.terminal-inspector,#terminal-market-host .market-card,#token-search>.market-rail .market-card{border-radius:9px;border-color:color-mix(in srgb,var(--muted) 16%,transparent)}
.terminal-right-tabs{border-bottom-color:color-mix(in srgb,var(--line) 75%,transparent)}
.watch-identity strong,.watch-price strong{font-variant-numeric:tabular-nums;font-weight:550;letter-spacing:-.015em}
#terminal-market-host .watch-identity small{font-size:11px;line-height:17px;font-weight:400;letter-spacing:.005em}
#terminal-market-host .watch-count,#terminal-market-host .watch-add,#terminal-market-host .market-provider{font-size:12px;font-weight:450;line-height:19px}
#terminal-market-host .watch-library-filters{grid-template-columns:minmax(0,1fr) 112px}
#terminal-market-host .watch-library-filters :is(input,select){font-size:12px;line-height:20px;font-weight:450;border-radius:7px;border-color:color-mix(in srgb,var(--muted) 19%,transparent)}
.watch-row{border-bottom-color:color-mix(in srgb,var(--line) 70%,transparent)}
.watch-remove{border-radius:7px}.market-logo{overflow:hidden}.market-logo img{object-fit:contain}
#navigation-drawer nav .sources-navigation{border:0;margin:0;padding:0;display:block}
#navigation-drawer nav .sources-navigation>summary{width:100%;list-style:none;display:flex;margin:0;cursor:pointer}
#navigation-drawer nav .sources-navigation>summary::-webkit-details-marker{display:none}
.sources-navigation>summary::after{content:'⌄';font-size:15px;margin-left:0;opacity:.7;transition:transform .15s ease}
.sources-navigation[open]>summary::after{content:'⌄';transform:rotate(180deg)}
.sources-navigation .sidebar-count{margin-left:auto;min-width:18px;font-size:11px;font-weight:450;background:none;color:var(--muted)}
.sources-navigation #sources-following{margin:5px 0 10px 10px;padding:0 0 0 8px;border-left:1px solid var(--line)}
.sources-navigation .follow-heading{font-size:10px;letter-spacing:.055em;color:var(--muted);padding:9px 4px}
.sources-navigation .follow-heading>span:first-child{font-size:10px}
.sources-navigation .watch-source{border-radius:7px;padding:7px 3px;gap:4px;background:none}
.sources-navigation .watch-name{gap:7px;min-width:0}.sources-navigation .source-avatar{width:28px;height:28px;flex-shrink:0}
.sources-navigation .watch-label{font-size:12px;font-weight:500;line-height:18px}.sources-navigation .watch-label small{font-size:10px;font-weight:400;line-height:16px}
.sources-navigation .alert-bell{width:28px;height:30px;min-width:28px;padding:5px;border-radius:7px;background:none}.sources-navigation .alert-bell.active{background:var(--accent-soft)}
.sources-navigation .manage-sources{font-size:11px;min-height:32px;padding:6px;margin:5px 0;width:100%}
#token-search{padding-top:20px;max-width:1600px}
.token-page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:0 0 14px}
#token-search .token-page-heading h1{font-size:27px;line-height:34px;margin:3px 0 4px}
.token-page-heading .eyebrow{font-size:10px;letter-spacing:.13em;font-weight:500;color:var(--accent)}
.token-page-heading .meta{font-size:13px;line-height:21px;margin:0;font-weight:400}
.token-data-notes{position:relative;max-width:320px;flex-shrink:0}.token-data-notes summary{font-size:12px;color:var(--muted);cursor:pointer}.token-data-notes p{position:absolute;right:0;top:25px;width:310px;z-index:4;padding:14px;background:var(--panel);border:1px solid var(--line);border-radius:8px;font-size:12px;line-height:20px;margin:0;box-shadow:0 10px 30px #0003}
.token-dex-lookup{border:1px solid var(--line);border-radius:8px;margin:0 0 14px;padding:0 14px;background:var(--panel)}
.token-dex-lookup>summary{cursor:pointer;font-size:13px;font-weight:500;padding:11px 0;color:var(--accent)}
.token-dex-lookup>summary span{font-size:12px;color:var(--muted);font-weight:400;margin-left:10px}
#token-search #token-form{margin:0;padding:3px 0 8px}#token-form label{font-size:12px;font-weight:450;margin-bottom:6px}
#token-search #token-form input{min-height:40px;font-size:14px;border-radius:7px;padding:9px 12px}
#token-search #token-state{font-size:12px;line-height:20px;margin:5px 0 10px;font-weight:400}
#token-search>.market-rail{margin:0}
#token-search .market-card{padding:16px 18px}
#token-search .market-heading{margin-bottom:10px}#token-search .market-heading h2{font-size:18px;font-weight:550}
#token-search .watch-tabs{margin-bottom:10px}#token-search .watch-library-filters{margin:8px 0;grid-template-columns:minmax(0,1fr) 180px}
#token-search .watch-toolbar{margin:6px 0 10px}#token-search .watch-row{padding:6px 0}
#token-search .watch-open{grid-template-columns:30px minmax(50px,1fr) 46px minmax(76px,auto);gap:8px;padding:8px 0}
#token-search .watch-identity strong,#token-search .watch-price strong{font-size:14px;font-weight:550}
#token-search .watch-identity small{font-size:11px;line-height:17px}
#token-search .watch-spark,#token-search .watch-spark-empty{width:46px}
#token-search .watch-row-status{font-size:11px}
#token-search .watch-pagination{margin-top:16px}
@media(max-width:1300px) and (min-width:1101px){.terminal-topbar{gap:14px}.terminal-brand{min-width:205px}.terminal-search{width:min(410px,35vw)}#terminal-environment{font-size:11px}}
@media(max-width:760px){#token-search{padding-top:16px}.token-page-heading{align-items:start;gap:12px}.token-page-heading .meta{font-size:12px;line-height:19px}.token-data-notes{max-width:90px}.token-data-notes p{right:0;width:min(310px,85vw)}.token-dex-lookup>summary span{display:block;margin-left:14px;margin-top:2px}#token-search .market-card{padding:14px}#token-search .watch-library-filters{grid-template-columns:minmax(0,1fr) 115px}#token-search .watch-open{grid-template-columns:28px minmax(50px,1fr) 46px minmax(76px,auto)}#token-search .watch-open>*{grid-row:auto;grid-column:auto}.terminal-row-summary{line-height:1.65}}

.token-page-heading{position:static;width:auto;height:auto;background:none;padding:0;border:0;box-shadow:none;z-index:auto}
#discover .discover-heading{margin-bottom:18px}#discover .discover-heading h1{font-size:28px;line-height:36px;margin:3px 0 6px}#discover .discover-heading .meta{font-size:14px;line-height:22px;font-weight:400}
#discover .discover-search{max-width:650px;margin-bottom:12px;height:42px;border-radius:8px}#discover .discover-search input{font-size:14px}
.directory-quick-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 6px}.directory-quick-filters button{font-size:13px;font-weight:500;color:var(--muted);min-height:36px;padding:7px 13px;border-radius:7px;border:1px solid var(--line);background:none}.directory-quick-filters button.selected{background:var(--accent-soft);color:var(--ink);border-color:color-mix(in srgb,var(--accent) 40%,transparent)}
#source-filter-panel{margin:0 0 14px}#source-filter-panel>summary{font-size:12px;padding:7px 0}#discover .directory-caption{font-size:12px;margin:12px 0 14px}
#discover #source-overview{display:flex;align-items:center;gap:22px;padding:10px 14px;border:0;border-radius:7px;background:var(--panel);margin-bottom:16px}
#source-overview .source-stat{padding:0;display:flex;align-items:baseline;gap:6px;border:0}#source-overview .source-stat>span{font-size:10px;font-weight:450;letter-spacing:.045em;color:var(--muted)}#source-overview .source-stat>strong{font-family:var(--font-sans);font-size:14px;line-height:22px;font-weight:550}#source-overview .source-stat>small{display:none}#source-overview .directory-views{margin-left:auto;gap:5px}#source-overview .directory-views button{width:30px;height:30px;min-height:30px;padding:6px;border-radius:7px}
#discover .source-card{border-radius:9px;border-color:color-mix(in srgb,var(--line) 75%,transparent)}#discover .source-card h2{font-size:17px;line-height:24px;font-weight:550}#discover .source-card p{font-size:13px;line-height:21px}#discover .source-kind{font-size:11px;font-weight:450}#discover .source-health{font-size:12px;font-weight:400}
@media(max-width:760px){#discover #source-overview{gap:10px;flex-wrap:wrap}#source-overview .source-stat{gap:4px}#source-overview .source-stat>span{font-size:9px}#source-overview .source-stat>strong{font-size:13px}#source-overview .directory-views{margin-left:auto}.directory-quick-filters button{font-size:12px;padding:7px 10px;min-height:40px}#discover .directory-caption{align-items:start;gap:8px;flex-direction:column}}

/* Focus remains visible, with a quiet contour; avatar buttons fill their mask. */
.terminal-product :is(input,select,button,summary):focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 78%,transparent);outline-offset:2px}
.source-avatar .avatar-profile-trigger,.directory-avatar .avatar-profile-trigger,.message-avatar .avatar-profile-trigger{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;padding:0;border:0;border-radius:inherit;background:transparent;overflow:hidden}
.source-avatar .avatar-initials,.directory-avatar .avatar-initials,.message-avatar .avatar-initials{display:grid;place-items:center;position:absolute;inset:0;font-weight:500;font-size:12px;color:var(--ink);background:var(--raised)}

/* R5: deliberate hover feedback and a compact, people-first directory. */
.terminal-product{--interaction-fast:140ms;--interaction-ease:cubic-bezier(.2,.65,.3,1)}
.terminal-product :is(.terminal-search,.discover-search,.stream-search){transition:border-color var(--interaction-fast),background-color var(--interaction-fast),box-shadow var(--interaction-fast)}
.terminal-product :is(.terminal-search,.discover-search,.stream-search) input,
.terminal-product :is(.terminal-search,.discover-search,.stream-search) input:focus,
.terminal-product :is(.terminal-search,.discover-search,.stream-search) input:focus-visible{border:0;outline:none;box-shadow:none;background:transparent;border-radius:0}
.terminal-product :is(.terminal-search,.discover-search,.stream-search):focus-within{border-color:color-mix(in srgb,var(--accent) 66%,var(--line));box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 12%,transparent);outline:0}
.terminal-search kbd{transition:color var(--interaction-fast),background-color var(--interaction-fast)}
.terminal-topbar .account-entry button,#navigation-drawer nav .nav-tab,.terminal-right-tabs button{position:relative;transition:color var(--interaction-fast),background-color var(--interaction-fast),border-color var(--interaction-fast),box-shadow var(--interaction-fast),transform var(--interaction-fast);cursor:pointer}
#navigation-drawer nav .nav-tab .ui-icon{transition:color var(--interaction-fast),transform var(--interaction-fast);transform-origin:center;flex-shrink:0}
#navigation-drawer nav .nav-tab.active{background:var(--accent-soft)}
#navigation-drawer nav .nav-tab:focus-visible{color:var(--ink);background:var(--panel)}
.terminal-topbar .account-entry button:active{transform:translateY(0);filter:brightness(.96)}
#navigation-drawer nav .nav-tab:active{background:var(--accent-soft)}
.terminal-right-tabs button:focus-visible{border-radius:5px;color:var(--ink)}
@media(hover:hover) and (pointer:fine){
 .terminal-topbar .account-entry button:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--accent) 55%,var(--line));box-shadow:0 3px 10px #0002}
 .terminal-topbar .account-entry .outline:hover{background:var(--raised);color:var(--ink)}
 .terminal-topbar .account-entry .primary:hover{background:color-mix(in srgb,var(--accent) 22%,var(--accent-soft));color:var(--ink)}
 #navigation-drawer nav .nav-tab:hover{background:color-mix(in srgb,var(--raised) 70%,var(--bg));color:var(--ink);box-shadow:inset 2px 0 color-mix(in srgb,var(--accent) 45%,transparent)}
 #navigation-drawer nav .nav-tab:hover .ui-icon{color:var(--accent);transform:translateY(-1px)}
 #navigation-drawer nav .nav-tab.active:hover{background:color-mix(in srgb,var(--accent-soft) 85%,var(--raised));box-shadow:inset 2px 0 var(--accent)}
 .terminal-right-tabs button:hover{color:var(--ink);background:color-mix(in srgb,var(--panel) 70%,transparent);border-bottom-color:color-mix(in srgb,var(--accent) 45%,transparent)}
 .terminal-search:hover{border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}
 .terminal-search:hover kbd,.terminal-search:focus-within kbd{background:var(--accent-soft);color:var(--accent)}
}
#discover{padding:18px 24px 40px;max-width:1680px}
#discover .discover-heading{margin:0 0 14px;display:block}
#discover .discover-heading h1{font-size:25px;line-height:32px;margin:0 0 3px}
#discover .discover-heading .meta{font-size:13px;line-height:20px;margin:0;color:var(--muted)}
#discover .directory-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:6px}
#discover .discover-search{flex:1 1 330px;width:auto;max-width:600px;min-width:0;height:40px;margin:0;border-radius:8px}
#discover .discover-search input{font-size:14px;padding:0;min-height:0;height:100%;width:100%;min-width:0;flex:1}
#discover .directory-quick-filters{display:flex;flex:0 0 auto;margin:0;gap:6px}
#discover .directory-quick-filters button{font-size:12px;min-height:38px;padding:7px 11px}
#discover .directory-control-row{display:flex;align-items:start;justify-content:space-between;gap:16px;margin:0 0 4px}
#discover #source-filter-panel{flex:1;min-width:0;margin:0}
#discover #source-filter-panel>summary,#discover .directory-coverage>summary{font-size:12px;line-height:20px;min-height:32px;padding:6px 0;color:var(--muted);cursor:pointer}
#discover .directory-coverage{flex:0 1 auto;max-width:470px;position:relative}
#discover .directory-coverage .catalog-total{font-size:11px;font-weight:400;line-height:18px;letter-spacing:0;margin-left:8px;color:var(--muted)}
#discover .directory-coverage-body{position:absolute;right:0;top:36px;width:min(460px,calc(100vw - 40px));padding:16px;border:1px solid var(--line);border-radius:9px;background:var(--panel);box-shadow:0 12px 32px #0004;z-index:6;max-height:65vh;overflow:auto;overscroll-behavior:contain}
#discover #source-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 16px;padding:0;background:none;border:0}
#discover #source-overview .source-stat{display:flex;flex-direction:column;gap:3px;min-width:0}
#discover .directory-coverage #directory-rail{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#discover .directory-coverage .rail-panel{padding:0;border:0;background:none;min-width:0}
#discover .directory-coverage .rail-panel h3{font-size:13px;line-height:20px}
#discover .directory-caption{display:flex;align-items:center;flex-direction:row;gap:12px;margin:4px 0 12px;min-height:32px;line-height:20px;font-size:12px}
#discover .directory-follow-hint{margin-left:auto;color:var(--muted);font-size:11px;line-height:18px}
#discover #directory-view-controls{display:flex;gap:4px;margin-left:4px}
#directory-view-controls button{display:grid;place-items:center;width:32px;height:32px;padding:6px;min-height:32px;border-radius:7px;border:1px solid var(--line);background:none;color:var(--muted)}
#directory-view-controls button[aria-pressed=true]{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 40%,var(--line));color:var(--accent)}
#discover .directory-layout{display:block}
#discover #source-grid:not(.source-list){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
#discover #source-grid .source-card{display:flex;flex-direction:column;gap:0;min-height:0;padding:14px;border-radius:9px;transform:none;transition:border-color var(--interaction-fast),background-color var(--interaction-fast)}
#discover #source-grid .source-card:hover{transform:none;border-color:color-mix(in srgb,var(--accent) 30%,var(--line))}
#discover #source-grid .source-card>.row{min-height:34px;gap:10px;margin:0;align-items:center}
#discover #source-grid .directory-avatar{width:34px;height:34px}
#discover #source-grid .directory-avatar img{width:100%;height:100%}
#discover #source-grid .source-kind{font-size:11px;font-weight:400;line-height:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}
#discover #source-grid .source-card-body{margin:8px 0;min-height:0}
#discover #source-grid .source-category{font-size:11px;line-height:16px;font-weight:450;display:inline-block;margin:0}
#discover #source-grid .source-card h2{font-size:16px;line-height:23px;font-weight:550;margin:2px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#discover #source-grid .profile-link{font-size:12px;font-weight:450;line-height:19px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#discover #source-grid .source-card-body p{font-size:13px;line-height:20px;font-weight:400;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 0;min-height:40px}
#discover #source-grid .source-health{font-size:11px;font-weight:400;line-height:17px;min-height:34px;margin:0;padding:0;color:var(--muted)}
#discover #source-grid .source-health small{font-size:11px;font-weight:400;line-height:17px;display:block;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#discover #source-grid .source-topics{margin:8px 0;gap:5px;flex-wrap:nowrap;max-height:24px;overflow:hidden}
#discover #source-grid .source-topics span{font-size:10px;line-height:15px;padding:2px 5px;border-radius:4px;white-space:nowrap;font-weight:450}
#discover #source-grid .source-topics span:nth-child(n+3){display:none}
#discover #source-grid .source-actions{display:grid;grid-template-columns:minmax(0,1fr) auto 34px;grid-template-rows:36px;align-items:center;gap:8px;margin:0;padding:9px 0 0;border-top:1px solid var(--line);margin-top:auto}
#discover #source-grid .source-actions>*{grid-area:auto;width:auto;min-height:34px;margin:0;border-radius:7px;font-size:12px;font-weight:500;line-height:18px}
#discover #source-grid .source-actions .source-signals{padding:5px 0;text-align:left;background:none;white-space:nowrap}
#discover #source-grid .source-actions .follow-button{display:flex;align-items:center;justify-content:center;gap:5px;padding:5px 9px;border-color:var(--line);background:none;color:var(--ink);border-radius:7px}
#discover #source-grid .source-actions .follow-button.following{background:var(--accent-soft);border-color:transparent;color:var(--accent)}
#discover #source-grid .source-actions .alert-bell{width:34px;height:34px;min-width:34px;padding:7px;background:none;border-color:var(--line)}
#discover #source-grid .source-actions .ui-icon{width:15px;height:15px}
#discover #source-grid.source-list{display:flex;flex-direction:column;gap:10px}
#discover #source-grid.source-list .source-card{display:grid;grid-template-columns:160px minmax(0,1fr) minmax(220px,auto);gap:12px;align-items:center}
#discover #source-grid.source-list .source-card>.row{grid-column:1;grid-row:1/3}
#discover #source-grid.source-list .source-card-body{grid-column:2;grid-row:1/3;margin:0}
#discover #source-grid.source-list .source-card-body p{min-height:0;-webkit-line-clamp:1}
#discover #source-grid.source-list .source-topics{display:none}
#discover #source-grid.source-list .source-health{grid-column:3;grid-row:1;min-height:0}
#discover #source-grid.source-list .source-actions{grid-column:3;grid-row:2;margin:0;padding-top:6px;border-top:0}
@media(max-width:1179px){#discover #source-grid:not(.source-list){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 #discover{padding:16px 14px 35px}#discover .discover-heading{margin-bottom:12px}#discover .discover-heading h1{font-size:24px}
 #discover .directory-toolbar{gap:10px}#discover .discover-search{flex-basis:100%;max-width:none;height:42px}#discover .discover-search input{font-size:16px}
 #discover .directory-quick-filters{gap:6px;flex-wrap:wrap}#discover .directory-quick-filters button{min-height:44px}
 #discover .directory-control-row{gap:8px;flex-wrap:wrap}#discover .directory-coverage .catalog-total{display:none}
 #discover .directory-coverage-body{position:static;width:100%;max-height:none;box-shadow:none;margin:4px 0 8px}
 #discover .directory-coverage[open]{flex-basis:100%;max-width:none}#discover .directory-coverage #directory-rail{grid-template-columns:1fr}
 #discover .directory-caption{flex-wrap:wrap;gap:4px;margin:4px 0 10px}#discover .directory-follow-hint{display:none}#discover #directory-view-controls{margin-left:auto}
 #directory-view-controls button{width:44px;height:44px;min-height:44px}
 #discover #source-grid:not(.source-list){grid-template-columns:1fr;gap:12px}
 #discover #source-grid.source-list .source-card{display:flex;gap:0}#discover #source-grid .source-actions{grid-template-rows:44px;grid-template-columns:minmax(0,1fr) auto 44px}
 #discover #source-grid .source-actions>*{min-height:44px}#discover #source-grid .source-actions .alert-bell{height:44px;width:44px;min-width:44px}
 #discover #source-grid .source-card h2{white-space:normal;overflow:visible}
}
@media(prefers-reduced-motion:reduce){.terminal-product :is(.nav-tab,.ui-icon,.account-entry button,.terminal-search,.discover-search,.stream-search,.terminal-right-tabs button){transition:none!important;transform:none!important}}

#discover .discover-heading>div{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}#discover .discover-heading{margin-bottom:12px}#discover .discover-heading h1{margin:0}#discover .discover-heading .meta{margin:0}
#discover #source-grid .source-health{min-height:17px}#discover #source-grid .source-health small[hidden]{display:none}
#discover #source-grid .source-actions{grid-template-rows:44px}#discover #source-grid .source-actions>*{min-height:40px}
@media(max-width:760px){#discover .discover-heading>div{display:block}#discover .discover-heading .meta{margin-top:3px}#discover #source-grid .source-actions>*{min-height:44px}}

/* R7: make the existing per-statement AI action unmistakably actionable. */
#stream .terminal-row-actions{gap:14px;margin-top:6px}
#stream .terminal-row-actions .terminal-row-ai{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:6px 11px;border:1px solid color-mix(in srgb,var(--accent) 32%,var(--line));border-radius:7px;background:color-mix(in srgb,var(--accent-soft) 65%,var(--panel));color:var(--accent);font-size:13px;font-weight:550;line-height:20px;white-space:nowrap;text-decoration:none;cursor:pointer;transition:background-color var(--interaction-fast),border-color var(--interaction-fast)}
#stream .terminal-row-actions .terminal-row-ai::before{content:'';display:block;width:16px;height:16px;flex-shrink:0;background:url('/terminal-logo.svg') center/contain no-repeat}
@media(hover:hover) and (pointer:fine){#stream .terminal-row-actions .terminal-row-ai:hover{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 65%,var(--line));color:var(--ink);text-decoration:none}}
#stream .terminal-row-actions .terminal-row-ai:active{background:var(--raised)}
#stream .terminal-row-actions .terminal-row-ai:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:760px){#stream .terminal-row-actions .terminal-row-ai{min-height:44px;padding:8px 12px;font-size:13px}}
@media(prefers-reduced-motion:reduce){#stream .terminal-row-actions .terminal-row-ai{transition:none}}

/* R8: softer geometric display type; the official folded-ribbon A is unchanged. */
.terminal-topbar .terminal-brand{min-width:244px;gap:11px;font-family:var(--font-display);font-synthesis:none}
.terminal-topbar .terminal-brand .terminal-wordmark{display:flex;align-items:baseline;gap:5px;font-family:var(--font-display);font-size:28px;line-height:1.1;font-weight:400;letter-spacing:-.035em}
.terminal-topbar .terminal-brand strong{font-weight:550}
.terminal-topbar .terminal-brand .terminal-wordmark-pulse{font:inherit;font-weight:400;letter-spacing:inherit}
.terminal-topbar .terminal-brand b{font:inherit;font-size:17px;font-weight:450;letter-spacing:.01em;margin-left:3px;color:var(--accent)}
body.terminal-product :is(h1,h2,h3){font-family:var(--font-display);font-synthesis:none}
body.terminal-product #workspace main>.heading h1{font-size:32px;font-weight:430;line-height:1.18;letter-spacing:-.025em}
body.terminal-product #stream .row-headline{font-family:var(--font-display);font-size:18px;font-weight:460;letter-spacing:-.012em;line-height:1.4}
body.terminal-product #navigation-drawer nav .nav-tab{font-family:var(--font-display);font-size:15px;font-weight:420;letter-spacing:.005em}
.terminal-topbar .terminal-context{display:none!important}
@media(max-width:1300px){.terminal-topbar .terminal-brand{min-width:224px}.terminal-topbar .terminal-brand .terminal-wordmark{font-size:26px}}
@media(max-width:1100px){.terminal-topbar .terminal-brand{min-width:0}.terminal-topbar .terminal-brand .terminal-wordmark{font-size:24px}}
@media(max-width:700px){.terminal-topbar .terminal-brand{gap:9px}.terminal-topbar .terminal-brand .terminal-wordmark{font-size:23px;gap:4px}.terminal-topbar .terminal-brand b{font-size:14px;margin-left:2px}body.terminal-product #workspace main>.heading h1{font-size:28px}}

/* R9: trailing token quotes share the action line; readable, compact event rows. */
body.terminal-product #stream .message-row{padding-top:8px;padding-bottom:8px}
body.terminal-product #stream .row-main{grid-template-rows:repeat(4,auto);row-gap:3px}
body.terminal-product #stream .row-avatar{grid-row:1 / span 4}
body.terminal-product #stream .terminal-row-summary{-webkit-line-clamp:1;line-height:22px}
.terminal-row-footer{grid-column:2;grid-row:4;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 14px;min-width:0;margin-top:3px}
body.terminal-product #stream .terminal-row-actions{display:flex;gap:12px;margin-top:0;flex:0 1 auto}
body.terminal-product #stream .row-tokens{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px;padding:0;max-width:100%;margin-left:auto}
body.terminal-product #stream .row-tokens:empty{display:none}
body.terminal-product #stream .row-token{display:inline-flex;align-items:center;gap:5px;max-width:none;min-height:28px;padding:3px 6px;border-radius:6px;font-size:12px;white-space:nowrap}
body.terminal-product #stream .row-token .market-logo{width:15px;height:15px;min-width:15px;flex:0 0 15px;font-size:8px}
body.terminal-product #stream .row-token .market-logo img{width:15px;height:15px}
.row-token-change{min-width:4.2em;font:500 12px/18px var(--font-sans);font-variant-numeric:tabular-nums;text-align:right;letter-spacing:0}
.row-token-change.is-positive{color:var(--positive)}.row-token-change.is-negative{color:var(--negative)}.row-token-change.is-neutral,.row-token-change.is-unavailable{color:var(--muted)}
.row-token-period{font:400 10px/18px var(--font-sans);color:var(--muted);margin-right:1px;white-space:nowrap}
@media(max-width:760px){body.terminal-product #stream .message-row{padding-top:12px;padding-bottom:12px}body.terminal-product #stream .terminal-row-summary{-webkit-line-clamp:2;line-height:21px}.terminal-row-footer{gap:7px 10px}body.terminal-product #stream .terminal-row-actions{flex-wrap:wrap;gap:8px}body.terminal-product #stream .terminal-row-actions button{min-height:44px}body.terminal-product #stream .row-tokens{justify-content:flex-start;margin-left:0}body.terminal-product #stream .row-token{min-height:44px;padding:6px 8px}.row-token-change{font-size:12px}}

@media(pointer:coarse){body.terminal-product #stream .row-token,body.terminal-product #stream .terminal-row-actions button{min-height:44px}}

/* Inline market snapshot: shared contract-aware cache; observed trend is independent of 24h change. */
body.terminal-product #stream .row-token{gap:7px;padding:4px 8px;background:var(--raised);border-color:color-mix(in srgb,var(--line) 65%,transparent);border-radius:8px}
.row-token-price{font:500 12px/18px var(--font-sans);font-variant-numeric:tabular-nums;color:var(--ink)}
.row-token-spark{display:inline-flex;width:44px;height:20px;flex:0 0 44px}.row-token-spark[hidden]{display:none}.row-token-spark svg{width:44px;height:20px;overflow:visible}.row-token-spark path{fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.row-token-spark .is-positive{color:var(--positive)}.row-token-spark .is-negative{color:var(--negative)}
@media(max-width:760px){body.terminal-product #stream .row-tokens{flex-wrap:wrap;max-width:100%}.row-token-price{font-size:12px}.row-token-spark{width:34px;flex-basis:34px}.row-token-spark svg{width:34px}}

.terminal-analysis-status{min-height:1.6em}.terminal-row-ai[aria-busy="true"],.analysis-link[aria-busy="true"]{cursor:progress;opacity:.7}

/* Desktop research rail: one scroll surface per panel; feed position stays independent. */
@media(min-width:1101px){
 .terminal-right[data-panel=markets]{height:calc(100dvh - 102px)}
 .terminal-right,.terminal-right[data-panel=analysis]{position:sticky;top:86px;max-height:calc(100dvh - 102px);display:flex;flex-direction:column;min-height:0}
 .terminal-right-tabs{flex:0 0 auto;margin-bottom:10px}
 #terminal-analysis-panel,#terminal-market-host{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted) 36%,transparent) transparent;scrollbar-gutter:stable;outline-offset:2px}
 #terminal-analysis-panel{flex:0 1 auto}
 #terminal-market-host{flex:0 1 auto}
 #terminal-analysis-panel::-webkit-scrollbar,#terminal-market-host::-webkit-scrollbar{width:7px}
 #terminal-analysis-panel::-webkit-scrollbar-thumb,#terminal-market-host::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--muted) 36%,transparent);border:2px solid var(--panel);border-radius:8px}
 #terminal-analysis-panel:focus-visible,#terminal-market-host:focus-visible{outline:2px solid var(--accent)}
}
@media(max-width:1100px){#terminal-analysis-panel,#terminal-market-host{max-height:none;overflow:visible;scrollbar-gutter:auto;overscroll-behavior:auto}}

@media(min-width:1101px){.terminal-right .terminal-inspector{align-self:stretch}}

/* R14: source-alert state must keep its own foreground/background pair.
   The terminal directory intentionally uses transparent idle controls. */
:root[data-theme] #discover #source-grid .source-card .source-actions .alert-bell,
.sources-navigation .watch-source .alert-bell{
 color:var(--muted);
}
:root[data-theme] #discover #source-grid .source-card .source-actions .alert-bell{
 width:44px;height:44px;min-width:44px;min-height:44px;padding:0;
}
:root[data-theme] #discover #source-grid .source-card .source-actions .alert-bell.active,
:root[data-theme] .sources-navigation .watch-source .alert-bell.active{
 color:var(--accent);
 background-color:var(--accent-soft);
 border-color:color-mix(in srgb,var(--accent) 42%,var(--line));
 box-shadow:none;
}
:root[data-theme] #discover #source-grid .source-card .source-actions .alert-bell:hover,
:root[data-theme] .sources-navigation .watch-source .alert-bell:hover{
 color:var(--accent);border-color:var(--accent);
}
:root[data-theme] #discover #source-grid .source-card .source-actions .alert-bell:focus-visible,
.sources-navigation .watch-source .alert-bell:focus-visible{
 outline:2px solid var(--accent);outline-offset:3px;
}
:root[data-theme=dark] .alert-bell .priority-check{color:var(--bg)}

/* R18: one drawn disclosure affordance, native details/summary behavior retained. */
#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)>summary{position:relative;isolation:isolate;padding-right:48px;min-height:46px;cursor:pointer;border-radius:11px;transition:background-color 160ms ease-out,color 160ms ease-out}
#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)>summary::before{content:"";position:absolute;right:9px;top:50%;width:28px;height:28px;box-sizing:border-box;transform:translateY(-50%);border:1px solid color-mix(in srgb,var(--line) 75%,transparent);border-radius:9px;background:color-mix(in srgb,var(--raised) 60%,transparent);pointer-events:none;transition:background-color 160ms ease-out,border-color 160ms ease-out}
#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)>summary::after{content:"";display:block;position:absolute;right:17px;top:50%;width:12px;height:12px;margin:0;padding:0;border:0;font-size:0;opacity:.9;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m4.5 2.75 3.25 3.25-3.25 3.25' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px 12px no-repeat;transform:translateY(-50%) rotate(0deg);transform-origin:center;pointer-events:none;transition:transform 180ms cubic-bezier(.2,.8,.2,1),color 160ms ease-out}
#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)[open]>summary::after{content:"";transform:translateY(-50%) rotate(90deg)}
#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)>summary:hover{color:var(--ink);background:var(--raised)}
#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)>summary:hover::before,#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)[open]>summary::before{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 22%,var(--line))}
#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)>summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
#navigation-drawer #sidebar-sources>summary .sidebar-count{font-family:var(--font-sans);font-size:12px;font-weight:550;line-height:20px;min-width:22px;padding:0 5px;text-align:center;border-radius:6px;background:var(--raised);color:var(--muted);margin-left:auto}
@media(prefers-reduced-motion:reduce){#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)>summary,#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)>summary::before,#navigation-drawer :is(#sidebar-sources,#sidebar-feed-controls)>summary::after{transition:none}}

/* The list scrolls; filters, page count and next/previous controls remain reachable. */
@media(min-width:1101px){
 body.terminal-product #terminal-market-host{flex:1 1 auto;overflow:hidden;min-height:0;display:flex}
 body.terminal-product #terminal-market-host[hidden]{display:none}
 #terminal-market-host>.market-rail{height:100%;min-height:0;flex:1;gap:8px}
 #terminal-market-host .market-card:first-child{display:flex;flex-direction:column;flex:1 1 0;min-height:0;padding:12px}
 #terminal-market-host .market-card:first-child>*{flex-shrink:0}
 #terminal-market-host #token-watchlist{flex:1 1 auto;min-height:100px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--muted) 40%,transparent) transparent;outline-offset:2px}
 #terminal-market-host #token-watchlist:focus-visible{outline:2px solid var(--accent)}
 #terminal-market-host .watch-row{padding:4px 0}
 #terminal-market-host .watch-view-tabs{margin:2px 0 8px}
 #terminal-market-host .watch-library-filters{margin-bottom:5px}
 #terminal-market-host .watch-toolbar{margin:0 0 6px;min-height:32px}
 #terminal-market-host .watch-pagination{margin:6px 0 0;padding:8px 0 0;gap:16px}
 #terminal-market-host .watch-directory-info{margin-top:7px;line-height:1.5;font-size:11px}
 #terminal-market-host .watch-directory-info[open]{max-height:125px;overflow-y:auto}
 #terminal-market-host .watch-history-note{font-size:11px;line-height:1.5;margin:7px 0 0}
 #terminal-market-host .community-directory{flex:0 0 auto;padding:9px 12px;font-size:12px}
 #terminal-market-host .community-directory[open]{max-height:150px;overflow-y:auto}
}

/* R31: compact the desktop market rail without reducing quote readability.
   One 52px row contains a 44px chart target; details retain their original text.
   Only the home rail changes: the full Tokens page keeps its own layout. */
@media(min-width:1101px){
 body.terminal-product #terminal-market-host .market-card:first-child{padding:10px 12px}
 body.terminal-product #terminal-market-host .market-heading{margin:0 0 4px;min-height:24px}
 body.terminal-product #terminal-market-host .market-heading h2{margin:0;line-height:24px}
 body.terminal-product #terminal-market-host .watch-view-tabs{margin:0 0 4px;gap:16px}
 body.terminal-product #terminal-market-host .watch-view-tabs button{min-height:32px;padding:4px 0;line-height:22px}
 body.terminal-product #terminal-market-host .watch-library-filters{margin-bottom:4px;gap:8px;grid-template-columns:minmax(0,1fr) 116px}
 body.terminal-product #terminal-market-host .watch-library-filters :is(input,select){height:34px;min-height:34px;padding:6px 8px;line-height:20px}
 body.terminal-product #terminal-market-host .watch-toolbar{margin:0 0 4px;min-height:32px}
 body.terminal-product #terminal-market-host .watch-add{padding:6px 8px;line-height:20px}
 body.terminal-product #terminal-market-host .watch-row{padding:3px 0;gap:0 4px;min-height:52px}
 body.terminal-product #terminal-market-host .watch-open{padding:4px 0;min-height:44px;gap:6px}
 body.terminal-product #terminal-market-host .watch-identity>strong,
 body.terminal-product #terminal-market-host .watch-price>strong{font-size:14px;line-height:20px;font-weight:550}
 body.terminal-product #terminal-market-host .watch-identity>small{margin-top:0;font-size:11px;line-height:16px;white-space:nowrap}
 body.terminal-product #terminal-market-host .watch-price>small{margin-top:0;font-size:12px;line-height:16px}
 body.terminal-product #terminal-market-host .watch-remove{min-height:44px}
 body.terminal-product #terminal-market-host .watch-row-status{margin:0 0 3px;font-size:11px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body.terminal-product #terminal-market-host .watch-row-status:focus{white-space:normal;outline:1px solid var(--accent);outline-offset:2px}
 body.terminal-product #terminal-market-host .watch-pagination{margin-top:4px;padding-top:6px;gap:16px}
 body.terminal-product #terminal-market-host .watch-directory-info{margin-top:4px}
 body.terminal-product #terminal-market-host .watch-candles{height:36px;max-width:72px}
}
@media(min-width:1101px) and (pointer:coarse){
 body.terminal-product #terminal-market-host .watch-view-tabs button,
 body.terminal-product #terminal-market-host .watch-library-filters :is(input,select),
 body.terminal-product #terminal-market-host .watch-add{min-height:44px;height:auto}
}

.watch-filter-toggle{font:inherit;font-size:12px;line-height:20px;min-height:32px;padding:5px 8px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}
.watch-filter-toggle[hidden]{display:none}
.watch-filter-toggle:is(:hover,[aria-expanded=true],[data-active=true]){color:var(--accent);background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 35%,var(--line))}
.watch-filter-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(min-width:1101px){body.terminal-product #terminal-market-host .market-heading h2{margin-right:auto}}
@media(pointer:coarse){.watch-filter-toggle{min-height:44px}}

/* /remediation.css */
/* R20: scoped fixes on the approved terminal; shared tokens remain authoritative. */
body.terminal-product #stream .row-headline{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:2.8em;min-height:0;overflow-wrap:anywhere}
body.terminal-product #stream .terminal-row-summary[hidden]{display:none}
body.terminal-product #stream .terminal-row-summary{font-size:14px;line-height:1.55;-webkit-line-clamp:1}
.terminal-related-sources{grid-column:2;grid-row:5;min-width:0;color:var(--muted);font-size:13px;line-height:1.5}
.terminal-related-sources summary{cursor:pointer;min-height:32px;display:flex;align-items:center;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.terminal-related-sources a{display:block;overflow-wrap:anywhere;padding:5px 0}
.source-stale{color:var(--muted)}
.source-stale .health-dot{background:var(--muted);box-shadow:none}
/* Follow and notification preferences are separate targets, never a joined control. */
body.terminal-product #discover #source-grid .source-card .source-actions{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;grid-template-rows:minmax(44px,auto);column-gap:12px;row-gap:10px;align-items:center;padding-top:12px;min-width:0}
body.terminal-product #discover #source-grid .source-card .source-actions .follow-button{height:44px;min-height:44px;min-width:100px;max-width:100%;padding:0 13px;gap:8px;border-radius:9px;white-space:nowrap}
body.terminal-product #discover #source-grid .source-card .source-actions .alert-bell{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;min-width:44px;height:44px;padding:11px;margin:0;border-radius:9px;isolation:isolate}
body.terminal-product #discover #source-grid .source-card .source-actions .alert-bell .ui-icon{width:19px;height:19px;flex-shrink:0}
body.terminal-product #discover #source-grid .source-card .source-actions .alert-bell .priority-check{display:none}
body.terminal-product #discover #source-grid .source-card .source-actions .alert-bell.active{background:var(--accent-soft);color:var(--accent);border-color:color-mix(in srgb,var(--accent) 40%,var(--line));box-shadow:none}
body.terminal-product #discover #source-grid .source-card .source-actions .source-signals{min-width:0;min-height:44px;white-space:normal;line-height:1.45}
@media(max-width:380px){body.terminal-product #discover #source-grid .source-card .source-actions{grid-template-columns:minmax(0,1fr) 44px;column-gap:12px}body.terminal-product #discover #source-grid .source-card .source-actions .source-signals{grid-column:1/-1;min-height:36px}body.terminal-product #discover #source-grid .source-card .source-actions .follow-button{width:100%}}
.login-available-note{font-size:14px;line-height:1.6;color:var(--muted);text-align:center;margin:12px 0 20px}
.login-browse{display:block;text-align:center;min-height:44px;width:100%;margin-top:14px}
.atlas-login .social-signin[hidden],.atlas-login .login-mode-switch[hidden],.atlas-login .login-note[hidden],.atlas-login .login-setup[hidden]{display:none}
.atlas-login .login-close{min-width:44px;min-height:44px}
.terminal-research-section{padding-block:17px;border-top:1px solid var(--line)}
.terminal-research-section h3{font-size:15px;line-height:1.4;font-weight:600;margin:0 0 10px;color:var(--ink)}
.terminal-research-section p,.terminal-research-section li{font-size:14px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}
.terminal-research-section ul,.terminal-research-section ol{padding-inline-start:20px;margin:8px 0}
.terminal-research-section li+li{margin-top:7px}
.terminal-research-section .research-scope{font-size:12px;line-height:1.5;margin-block:8px;color:var(--muted)}
.research-source-claim{font-size:14px;line-height:1.65;color:var(--ink)}
.research-label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}
body.terminal-product #terminal-case .terminal-case-head h2{font-size:21px;line-height:1.4;font-weight:470}
.signal-research-brief{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;padding:8px 0 20px;border-bottom:1px solid var(--line);margin-bottom:14px}
.signal-research-brief h2{font-size:22px;line-height:1.35;font-weight:480;margin:0 0 6px}
.signal-research-brief p{font-size:14px;line-height:1.6;color:var(--muted);max-width:68ch;margin:0}
.signal-research-brief strong{font-size:14px;font-weight:500;white-space:nowrap;color:var(--muted)}
.signal-evidence-checklist{display:flex;flex-wrap:wrap;gap:8px 20px;padding-block:12px;font-size:13px;color:var(--muted)}
.signal-evidence-checklist span{display:flex;align-items:center;gap:7px}
.token-source-journal{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.token-source-journal h3{font-size:16px;line-height:1.4;margin:0 0 8px}
.token-source-journal p{font-size:13px;line-height:1.6;color:var(--muted)}
.token-source-event{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;width:100%;text-align:left;padding:12px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}
.token-source-event time{font-size:12px;line-height:1.5;color:var(--muted)}
.token-source-event span{font-size:14px;line-height:1.55}
.token-source-event small{display:block;font-size:12px;line-height:1.5;color:var(--muted)}
@media(max-width:760px){
 body.terminal-product #terminal-nav{min-width:44px;min-height:44px;font-size:15px}
 body.terminal-product .terminal-topbar .account-entry>button{min-height:44px;font-size:14px}
 body.terminal-product #stream .row-main{grid-template-columns:30px minmax(0,1fr);gap:4px 9px}
 body.terminal-product #stream .row-avatar{width:29px;height:29px}
 body.terminal-product #stream .row-source{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px}
 body.terminal-product #stream .row-time{font-size:11px;line-height:18px;margin:0}
 body.terminal-product #stream .row-headline{font-size:16px;line-height:1.45;max-height:2.9em;-webkit-line-clamp:2;font-weight:470}
 body.terminal-product #stream .terminal-row-summary{font-size:14px;line-height:1.5;-webkit-line-clamp:1}
 body.terminal-product #stream .terminal-row-footer{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;margin:0}
 body.terminal-product #stream .terminal-row-actions{gap:14px;flex-wrap:nowrap}
 body.terminal-product #stream .terminal-row-actions button{font-size:13px;min-height:44px}
 body.terminal-product #stream .row-tokens{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;max-width:100%;width:100%;margin:0;min-height:0;scrollbar-width:thin;overscroll-behavior-x:contain}
 body.terminal-product #stream .row-token{flex:0 0 auto;min-height:44px;font-size:12px;padding:5px 8px}
 body.terminal-product #stream .row-token-price{display:none}
 body.terminal-product #stream .row-token svg{max-width:38px}
 body.terminal-product #stream .message-row{padding-block:10px}
 .terminal-related-sources summary{min-height:44px}
 .signal-research-brief{grid-template-columns:1fr;gap:8px}
 .token-source-event{grid-template-columns:75px minmax(0,1fr);gap:10px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){.terminal-related-sources a{scroll-behavior:auto}}

/* Airdrop provenance stays subordinate to the original statement. */
.row-airdrop-provenance{grid-column:2/-1;margin:2px 0 4px;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.has-airdrop-report .row-source{min-width:0}
.has-airdrop-report .row-time{min-width:0;max-width:100%;flex-shrink:1;white-space:normal;overflow-wrap:anywhere}
.airdrop-coverage{margin-top:10px;font-size:13px;line-height:1.5;color:var(--muted)}
.airdrop-coverage summary{cursor:pointer;width:fit-content;max-width:100%;padding:5px 0;color:var(--text)}
.airdrop-coverage summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.airdrop-coverage ul{list-style:none;margin:8px 0;padding:0;display:grid;gap:8px}
.airdrop-coverage li{display:flex;flex-wrap:wrap;column-gap:12px;row-gap:2px;justify-content:space-between}
.airdrop-coverage li strong{font-weight:500;color:var(--text)}
@media(max-width:600px){.row-airdrop-provenance{grid-column:1/-1}.airdrop-coverage li{display:grid;gap:2px}}

/* /detail-chart.css */
/* Shared palette and typography remain inherited from the terminal. */
.detail-chart-toolbar,.detail-history-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.detail-chart-toolbar{margin:12px 0 16px}.detail-chart-toolbar>a{font-size:13px}.detail-chart-views{display:flex;gap:6px}
.detail-chart-views button,.detail-history-controls button{border-radius:8px;border:1px solid transparent;background:transparent;color:inherit;padding:8px 12px;font:inherit;cursor:pointer}
.detail-chart-views button[aria-selected=true],.detail-history-controls button[aria-pressed=true]{background:color-mix(in srgb,currentColor 7%,transparent);border-color:color-mix(in srgb,currentColor 16%,transparent)}
.detail-chart-views button:hover,.detail-history-controls button:hover{background:color-mix(in srgb,currentColor 6%,transparent)}
.detail-chart-views button:focus-visible,.detail-history-controls button:focus-visible,.detail-history-plot:focus-visible{outline:2px solid #39a7e7;outline-offset:3px}
.detail-history-controls{font-size:13px;color:var(--muted,#8094a9);padding-bottom:10px;border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent)}
.detail-history-controls>div{display:flex;gap:3px}.detail-history-controls button{min-width:42px;min-height:36px;padding:7px 9px}
.detail-ohlc{min-height:42px;display:flex;align-items:center;flex-wrap:wrap;gap:7px 16px;font-size:12px;line-height:1.6;font-variant-numeric:tabular-nums}
.detail-ohlc time{color:var(--muted,#8094a9)}.detail-ohlc b{font-weight:500}.detail-history-plot{min-width:0;position:relative;min-height:260px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:color-mix(in srgb,currentColor 2%,transparent)}
.detail-history-plot svg{display:block;width:100%;height:auto;min-height:260px;max-height:390px;overflow:visible}.detail-axis{fill:currentColor;opacity:.65;font-family:inherit;font-size:12px;font-variant-numeric:tabular-nums}
.detail-grid{stroke:currentColor;stroke-opacity:.09;fill:none}.detail-last-line{stroke:currentColor;stroke-opacity:.24;stroke-dasharray:4 5;fill:none}
.detail-candle{fill:currentColor;stroke:currentColor;stroke-width:1.3}.detail-candle-up{color:#148766}.detail-candle-down{color:#d34c68}.detail-candle-flat{color:#7c8fa3}
:root[data-theme=dark] .detail-candle-up{color:#59c6a0}:root[data-theme=dark] .detail-candle-down{color:#f17c91}.detail-volume{opacity:.23;stroke:none}
.detail-crosshair{stroke:currentColor;stroke-opacity:.45;stroke-dasharray:3 4;pointer-events:none}.detail-history-status,.detail-history-provenance,.detail-chart-pending{font-size:12px;line-height:1.6;color:var(--muted,#8094a9)}
.detail-history-status{min-height:20px;margin:10px 0 3px}.detail-history-provenance p{margin:3px 0;overflow-wrap:anywhere}.detail-history-provenance details{margin-top:4px;overflow-wrap:anywhere}.detail-history-alternate{color:#b67e23!important}
.detail-full-status{min-height:20px}.detail-advanced .market-chart-actions{flex-wrap:wrap;gap:10px}.detail-advanced .market-chart-actions>span{font-size:12px;max-width:75%;color:var(--muted,#8094a9)}
.detail-history[hidden],.detail-advanced[hidden]{display:none!important}
@media(max-width:600px){.detail-chart-toolbar{gap:8px}.detail-chart-toolbar>a{font-size:12px}.detail-chart-views button{padding:8px;font-size:13px;min-height:40px}.detail-history-plot,.detail-history-plot svg{min-height:220px}.detail-ohlc{gap:4px 10px;font-size:11px}.detail-history-controls{gap:4px}.detail-axis{font-size:14px}.detail-advanced .market-chart-actions>span{max-width:100%}}

@media(max-width:600px){#market-price{grid-template-columns:minmax(0,1fr)}#market-price .market-instrument{grid-column:1;grid-row:1}#market-price .market-price-row{grid-column:1;grid-row:2;justify-content:space-between;text-align:left;margin-top:8px}#market-price .market-retrieved{grid-row:3}.market-detail-dialog .market-instrument>div{min-width:0}.market-detail-dialog .market-instrument small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}.market-detail-dialog .market-chain{margin-left:auto}}

