/* Layout only. The synchronized terminal-theme.css owns the shared palette. */
:root{--nav:#122238;--canvas:#eff3f9;--surface:#fff;--ink:#1b2b41;--muted:#5d6d82;--line:#dce4ef;--accent:#275cc4;--accent-bg:#edf3ff;--warn:#8a5e13}*{box-sizing:border-box}body{margin:0;font:14px/1.65 "Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;background:var(--canvas);color:var(--ink);font-variant-numeric:tabular-nums}button,input,select{font:inherit;color:inherit;border:1px solid var(--line);border-radius:4px;background:var(--surface);padding:7px 10px;max-width:100%}button{cursor:pointer}button:hover{background:var(--accent-bg)}button:disabled{opacity:.5;cursor:wait}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}a{color:var(--accent);text-underline-offset:3px}::selection{background:#b8cff6}h1,h2,h3,p{margin:0}h1{font-size:24px}h2{font-size:16px;margin-bottom:12px}h3{font-size:14px;margin:12px 0 5px}p+p{margin-top:9px}small,.meta,.muted{color:var(--muted);font-size:12px}small{display:block}.meta{margin:5px 0 12px}.sidebar{position:fixed;inset:0 auto 0 0;width:205px;background:var(--nav);color:#e4edfa;padding:25px 13px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:inherit;font-size:18px;font-weight:600;padding:0 8px}.brand small{font-size:11px;color:#a9bdd7;font-weight:400}.sidebar nav{display:grid;gap:6px;margin-top:35px}.sidebar nav button{background:transparent;border:0;color:#cfdbeb;text-align:left;padding:11px 14px}.sidebar nav button[aria-current=page]{background:#274e82;color:white}.sidebar-foot{margin-top:auto;color:#a9bdd7;font-size:11px}.app-shell{margin-left:205px}.topbar{position:sticky;top:0;z-index:15;display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:62px;padding:12px 26px;background:var(--surface);border-bottom:1px solid var(--line)}.topbar-left,.header-right{display:flex;align-items:center;gap:12px}.header-right{font-size:11px;color:var(--muted)}#menu-toggle{display:none}main{max-width:1700px;margin:auto;padding:16px 26px 30px;min-width:0}.page-heading,.section-title{display:flex;justify-content:space-between;align-items:center;gap:14px}.page-heading{margin:0 0 18px}.page-heading p{color:var(--muted);font-size:13px}.section-title{margin-bottom:12px}.section-title h2{margin:0}.panel{background:var(--surface);border:1px solid var(--line);padding:18px;border-radius:5px;margin-bottom:16px;min-width:0}.tag{display:inline-block;border-radius:3px;background:var(--accent-bg);color:var(--accent);font-size:11px;padding:2px 7px;white-space:nowrap}.tag.pending{color:var(--warn);background:#fff4de}.quick-grid{display:block}.quick-author{display:grid;grid-template-columns:130px 175px minmax(0,1fr) 160px;gap:16px;align-items:start}.quick-identity,.quick-topic,.quick-summary,.quick-time{min-width:0;overflow-wrap:anywhere}.quick-author .quick-summary{margin:0}.quick-author .quick-time{margin:0}.group-reading{border-top:1px solid var(--line);padding:10px 0}.group-reading h3{margin:0 0 5px}.group-reading .next-check{color:var(--muted);font-size:12px}.quick-author{padding:12px 0;border-top:1px solid var(--line);min-width:0}.quick-author h3{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;margin:0 0 7px}.quick-author p{font-size:13px;line-height:1.75;margin-top:5px}.quick-author .target{font-weight:600}.quick-author .meta{font-size:11px;margin-bottom:5px}.quick-author button{padding:0;border:0;color:var(--accent);font-size:12px;background:none}.market-strip{display:grid;grid-template-columns:repeat(4,1fr);background:var(--surface);border:1px solid var(--line);margin:0 0 16px}.market-item{padding:13px 17px;border-right:1px solid var(--line)}.market-item strong{font-size:22px;display:inline-block;margin-right:10px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:16px;align-items:start}.table-wrap{max-width:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:#92a8c7 transparent}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th,td{padding:10px;border-bottom:1px solid var(--line);vertical-align:top}th{background:var(--canvas);color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap}td small{font-size:11px;margin-top:4px}.filters,.research-toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:16px}label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:var(--muted)}.search-label{flex:1;min-width:170px}.search-label input{width:100%}.segmented{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:16px}.segmented button[aria-pressed=true]{background:var(--accent-bg);border-color:var(--accent);color:var(--accent)}.notice{padding:10px 14px;border:1px solid var(--line);background:var(--surface);font-size:13px;margin-bottom:12px}.error{color:#ac3343}.empty{padding:15px 0;color:var(--muted)}.opinion{padding:15px 0;border-bottom:1px solid var(--line)}.opinion h3{margin-top:0}.opinion p{max-width:85ch;font-size:13px}.opinion-head{display:flex;justify-content:space-between;gap:10px;align-items:start}.pagination{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:12px;font-size:12px}.pagination button{padding:5px 9px}.explain{border:1px solid var(--line);padding:12px 15px;border-radius:5px;background:var(--surface);margin:12px 0;font-size:13px}details{margin-top:10px}summary{cursor:pointer;color:var(--accent)}details[open]>summary{margin-bottom:10px}.chart svg{width:100%;height:230px;display:block}.chart text{font-size:12px;fill:var(--muted)}.chart-line{fill:none;stroke:var(--accent);stroke-width:2}.chart-grid{stroke:var(--line)}.chart-readout{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;margin-bottom:9px}.chart input[type=range]{width:100%;padding:0;height:22px;accent-color:var(--accent)}.chart-caption{font-size:11px;color:var(--muted);margin-top:7px}.up{color:#b63645}.down{color:#177356}.score-note{font-size:11px;color:var(--muted)}.skip-link{position:fixed;top:-60px;left:220px;z-index:50;background:var(--surface);padding:10px}.skip-link:focus{top:5px}footer{font-size:11px;color:var(--muted);padding:12px 0}#information-table table{min-width:720px}#assessment-table table,#relative-table table,#assessment-tasks table,#relative-tasks table,#claims-table table,#event-study table,#fund-products table,#channels table{min-width:650px}[hidden]{display:none!important}
@media(min-width:801px) and (max-width:1100px){.quick-author{grid-template-columns:115px 140px minmax(0,1fr)}.quick-time{grid-column:3}}
@media(max-width:800px){.sidebar{width:205px;transform:translateX(-100%);transition:transform .15s}.sidebar.open{transform:translateX(0)}.app-shell{margin-left:0}#menu-toggle{display:inline-block}.topbar{padding:10px 14px;flex-wrap:wrap;gap:8px}main{padding:12px 14px 25px}.header-right{gap:8px}.page-heading{align-items:start}.page-heading .tag{display:none}.page-heading p{font-size:12px}h1{font-size:22px}.panel{padding:14px}.overview-grid{display:block}.quick-author{display:flex;flex-direction:column;gap:7px;padding:14px 0}.quick-author .meta,.quick-author p{margin:0}.quick-topic{display:flex;align-items:start;gap:8px}.quick-author .quick-time{margin-top:3px}.quick-author p{font-size:13px}.market-strip{grid-template-columns:1fr 1fr}.market-item:nth-child(-n+2){border-bottom:1px solid var(--line)}.market-item strong{font-size:21px}.filters label,.research-toolbar label{flex:1;min-width:120px}.filters .search-label{flex-basis:100%}.segmented{gap:4px}.segmented button{font-size:12px;padding:7px 10px}.section-title{align-items:start}.section-title label{min-width:100px;max-width:60%}.pagination{justify-content:space-between}.skip-link{left:14px}.chart svg{height:210px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.table-scroll-hint,.fund-method-caption{font-size:12px;color:var(--muted);line-height:1.5;margin:6px 0}
#author-sheet{padding:0;overflow:hidden}
#author-sheet>.section-title{padding:14px 18px;margin:0;border-bottom:1px solid var(--line)}
#author-sheet>.section-title h2{font-size:18px}
#author-sheet .sheet-matrix{width:100%;table-layout:fixed;border-collapse:collapse;margin:0}
#author-sheet .sheet-matrix th,#author-sheet .sheet-matrix td{padding:6px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);white-space:normal;overflow-wrap:anywhere;background:transparent;color:var(--ink)}
#author-sheet .sheet-matrix thead th{font-size:13px;color:var(--muted);font-weight:600;padding:8px 12px;background:var(--nav)}
#author-sheet .sheet-matrix th:first-child{width:15%}
#author-sheet .sheet-matrix tbody th strong{font-size:14px;display:inline}
#author-sheet .sheet-matrix tbody th small{font-size:11px;font-weight:400;margin-top:2px}
#author-sheet .sheet-cell-head{display:flex;align-items:baseline;gap:3px 6px;flex-wrap:wrap;font-size:12px}
#author-sheet .sheet-badge{display:inline-block;padding:1px 6px;border-radius:3px;font-size:11px;margin:0;white-space:nowrap}
#author-sheet .sheet-matrix td p{font-size:13px;line-height:1.5;margin:4px 0 0}
#author-sheet .sheet-empty{color:var(--muted);font-size:14px}
#author-sheet button.sheet-source{padding:0;border:0;background:transparent;color:var(--accent);font-size:11px;font-weight:400;text-decoration:underline;text-underline-offset:3px;min-height:24px;margin-left:7px}
#author-sheet .sheet-foot{font-size:12px;color:var(--muted);padding:8px 18px;margin:0}
#author-sheet .sheet-matrix-evidence{padding:0 16px 10px;margin:0;font-size:13px}
#author-sheet .sheet-matrix-evidence select{margin:10px 0}
#author-sheet .sheet-column-tabs{display:none}
@media(max-width:700px){
 #author-sheet .sheet-column-tabs{display:flex;gap:4px;padding:8px 10px;border-bottom:1px solid var(--line)}
 #author-sheet .sheet-column-tabs button{flex:1;padding:6px 2px;font-size:12px;white-space:nowrap;background:transparent;color:var(--muted);border-color:transparent}
 #author-sheet .sheet-column-tabs button[aria-pressed=true]{background:var(--accent-bg);color:var(--accent);border-color:var(--accent)}
 #author-sheet .sheet-matrix th:first-child{width:30%}
 #author-sheet .sheet-matrix th,#author-sheet .sheet-matrix td{padding:8px 10px}
 #author-sheet .sheet-matrix [data-col]{display:none}
 #author-sheet .sheet-matrix [data-active=true]{display:table-cell}
 #author-sheet .section-title{gap:8px;padding:12px}
 #author-sheet .section-title h2{font-size:16px}
 #author-sheet .section-title button{font-size:12px;padding:6px 8px}
}
