:root {
  --canvas: #f3f5f7; --surface: #fff; --nav: #17252d; --ink: #182b35;
  --muted: #596b75; --border: #dde5e9; --teal: #13695e; --teal-soft: #eaf4ef;
  --blue: #245c88; --blue-soft: #eef4fa; --warning: #875516; --warning-soft: #fcf5e8;
  --danger: #ad3842; --danger-soft: #fcf0f1; --radius: 10px;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 14px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--teal); text-decoration: none; }
button, input, select { font: inherit; }
button, summary, select, input[type=checkbox] { cursor: pointer; }
button { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid #318aab; outline-offset: 3px; }
::selection { color: #12392f; background: #cce5db; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 16px; font-weight: 650; line-height: 1.5; }
h3 { font-size: 15px; }
svg.icon { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: middle; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 100; padding: 12px 20px; color: white; background: var(--teal); }
.skip-link:focus { top: 12px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 208px; background: var(--nav); color: #c2d0d6; padding: 28px 16px 24px; display: flex; flex-direction: column; z-index: 20; }
.brand { color: white; display: flex; align-items: center; gap: 12px; padding: 0 12px; font-size: 22px; font-weight: 650; letter-spacing: 3px; }
.brand-mark { width: 40px; height: 40px; background: #b9dfce; color: var(--nav); font: 700 34px/.9 Georgia, serif; letter-spacing: -3px; display: grid; place-items: center; border-radius: 9px; padding-right: 3px; }
.nav { display: grid; gap: 8px; margin-top: 32px; }
.nav a { color: #b9c9d1; display: flex; align-items: center; gap: 12px; padding: 12px; min-height: 48px; border-radius: 6px; font-size: 13px; position: relative; }
.nav a:hover { background: #223740; color: white; }
.nav a[aria-current] { background: #2b4248; color: #d7f0e5; }
.nav a[aria-current]::before { content: ''; position: absolute; left: -16px; top: 14px; bottom: 14px; width: 3px; background: #b9dfce; }
.workspace { margin-left: 208px; min-width: 0; }
.topbar { min-height: 64px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; padding: 12px 40px; background: #fafbfc; }
.breadcrumb { font-size: 12px; color: var(--muted); display: flex; gap: 16px; }
.breadcrumb > span:last-child { color: var(--ink); }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.connection { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.connection::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #93a2a8; }
.connection.success::before { background: var(--teal); }
.connection.failed::before { background: var(--danger); }
main { max-width: 1648px; margin: auto; padding: 36px 40px 20px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.eyebrow { font: 10px/1.6 var(--mono); letter-spacing: 2px; color: var(--muted); }
h1 { font-size: 28px; line-height: 1.4; font-weight: 650; letter-spacing: -.9px; margin: 0 0 4px; }
.page-description { font-size: 13px; color: var(--muted); }
.heading-actions, .row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; background: white; color: var(--ink); border: 1px solid #cad6dc; border-radius: 6px; font-size: 12px; font-weight: 600; text-align: center; transition: background-color 120ms, border-color 120ms, box-shadow 120ms; }
.button:hover:not(:disabled) { border-color: #8ba6ae; background: #f3f7f8; }
.button:active:not(:disabled) { box-shadow: inset 0 2px 3px #152d3b18; }
.button.primary { background: var(--teal); border-color: var(--teal); color: white; }
.button.primary:hover:not(:disabled) { background: #0c554c; border-color: #0c554c; }
.button.danger { color: var(--danger); border-color: #e8c9cd; background: var(--danger-soft); }
.button.danger:hover { background: #f8e0e3; }
.button.small { padding: 6px 12px; min-height: 34px; font-size: 11px; }
.icon-button { border: 0; background: transparent; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--muted); flex: 0 0 auto; }
.icon-button:hover { color: var(--ink); background: #e6edef; }
.text-button, .text-link { background: none; border: 0; padding: 6px 0; color: var(--teal); font-size: 12px; font-weight: 600; }
.text-button:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-button:disabled { color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--border); }
.panel-header p { color: var(--muted); font-size: 11px; margin-top: 4px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 0; margin-bottom: 24px; }
.metric { padding: 0 28px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.metric + .metric { border-left: 1px solid var(--border); }
.metric-label { color: var(--muted); font-size: 12px; }
.unit { font: 9px var(--mono); margin-left: 5px; color: var(--muted); }
.metric strong { font-size: 29px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.metric-note { font-size: 10px; color: var(--muted); }
.numeric { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.positive { color: var(--teal) !important; }
.negative { color: var(--danger) !important; }
.muted { color: var(--muted); font-size: 12px; }
.portfolio-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.portfolio-panel { overflow: hidden; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; font-size: 10px; font-weight: 500; line-height: 1.6; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.badge.neutral { color: #526670; background: #f0f3f5; }
.badge.success { color: var(--teal); background: var(--teal-soft); }
.badge.warning { color: var(--warning); background: var(--warning-soft); }
.badge.failed { color: var(--danger); background: var(--danger-soft); }
.badge.info { color: var(--blue); background: var(--blue-soft); }
.state { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 56px 24px; gap: 12px; min-height: 280px; }
.state h3 { font-weight: 600; }
.state p { color: var(--muted); font-size: 12px; max-width: 350px; line-height: 1.9; }
.state-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--border); border-radius: 12px; color: #82969f; background: #f7f9fa; margin-bottom: 8px; }
.state-icon svg { width: 24px; height: 24px; }
.state .button { margin-top: 8px; }
.state.compact { min-height: 160px; padding: 32px 24px; }
.loading-mark { width: 32px; height: 5px; border-radius: 3px; background: #95b6ac; animation: waiting 1.2s ease-in-out infinite alternate; }
@keyframes waiting { to { opacity: .3; transform: scaleX(.65); } }
.table-scroll { overflow-x: auto; width: 100%; border-radius: 0 0 var(--radius) var(--radius); }
.table-scroll:focus-visible { outline-offset: -3px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
caption.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; }
th { color: var(--muted); background: #f8fafb; font-size: 10px; font-weight: 500; white-space: nowrap; }
th, td { padding: 15px 20px; border-bottom: 1px solid #eaf0f3; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcfc; }
td strong { font-weight: 600; }
td .secondary { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }
.position-table { min-width: 640px; }
.position-table th, .position-table td { padding: 16px; }
.position-table .symbol-text { font: 600 12px var(--mono); }
.position-table .numeric { font-size: 12px; white-space: nowrap; }
.position-table .row-actions { gap: 12px; }
.position-table .text-button { font-size: 11px; }
.position-detail-row td { padding-top: 0; background: #fafcfc; }
.position-rule { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 10px; color: var(--muted); }
.position-details { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.position-tools { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.message { padding: 12px 16px; border: 1px solid #d9e3e8; background: #f6f9fa; color: var(--ink); border-radius: 6px; font-size: 12px; line-height: 1.9; margin-bottom: 16px; overflow-wrap: anywhere; }
.message.error { color: #8f2e38; background: var(--danger-soft); border-color: #f0d3d7; }
.message.info { color: #25577c; background: var(--blue-soft); border-color: #d6e3f1; }
.message.success { color: var(--teal); background: var(--teal-soft); border-color: #cde4d9; }
.message.warning { color: var(--warning); background: var(--warning-soft); border-color: #eadaba; }
.message .button { margin-left: 12px; }
.config-indicators { display: flex; gap: 12px; flex-wrap: wrap; padding: 20px 0; }
.config-indicators .badge { font-size: 11px; padding: 4px 10px; }
.analysis-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 20px 0 12px; }
.count-text { font: 12px var(--mono); color: var(--muted); margin-left: 6px; }
.price-disclaimer { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: var(--blue); margin-bottom: 16px; }
.price-disclaimer svg { width: 16px; height: 16px; }
.picks-list { display: grid; gap: 16px; }
.pick-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; animation: enter 260ms cubic-bezier(.2,.8,.2,1) backwards; animation-delay: var(--stagger, 0ms); }
.pick-identity { border-right: 1px solid var(--border); padding-right: 20px; }
.pick-identity h3 { font: 500 27px var(--mono); margin: 8px 0; }
.pick-identity .token-symbol { font: 10px var(--mono); color: var(--muted); overflow-wrap: anywhere; margin-bottom: 16px; }
.pick-identity .as-of { font-size: 10px; color: var(--muted); margin-top: 20px; }
.pick-main { min-width: 0; }
.pick-reason { font-size: 13px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.research-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #f6f8fa; border: 1px solid #e6ecef; border-radius: 6px; margin: 16px 0; padding: 12px 0; }
.research-price { display: flex; flex-direction: column; gap: 5px; padding: 0 16px; min-width: 0; }
.research-price + .research-price { border-left: 1px solid var(--border); }
.research-price span { font-size: 10px; color: var(--muted); }
.research-price strong { font: 500 15px var(--mono); overflow-wrap: anywhere; }
.pick-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.pick-footer .row-actions { gap: 16px; }
.risk-line { font-size: 11px; color: var(--warning); overflow-wrap: anywhere; }
.research-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 32px; }
.research-bottom table { min-width: 430px; font-size: 11px; }
.research-bottom th, .research-bottom td { padding: 12px 16px; }
.run-item { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.run-item:last-child { border-bottom: 0; }
.run-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.run-date { color: var(--muted); font: 10px var(--mono); }
.run-item p { font-size: 11px; color: var(--muted); margin-top: 8px; overflow-wrap: anywhere; }
.run-item .text-button { font-size: 11px; margin-left: auto; }
.run-errors { padding-left: 16px; color: var(--danger); font-size: 11px; }
.research-details { margin-top: 24px; padding: 16px 24px; }
summary { color: var(--ink); font-size: 12px; font-weight: 600; padding: 4px 0; }
summary:hover { color: var(--teal); }
.scope-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.skill-row { padding: 12px 0; border-top: 1px solid var(--border); font-size: 12px; }
.skill-row p { font-size: 11px; color: var(--muted); margin-top: 6px; }
.filter-label { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); }
.filter-label select { min-height: 34px; width: auto; font-size: 12px; }
.logs-table { table-layout: fixed; min-width: 680px; }
.logs-table th:nth-child(1) { width: 160px; }
.logs-table th:nth-child(2) { width: 140px; }
.logs-table th:nth-child(4) { width: 85px; }
.log-message { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.8; }
.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.settings-form { min-width: 0; display: grid; gap: 24px; }
fieldset { margin: 0; min-inline-size: 0; }
.settings-section { padding: 20px 24px 24px; }
.settings-section legend { padding: 0 8px; margin-left: -8px; font-size: 15px; font-weight: 600; }
.section-number { font: 11px var(--mono); color: #4f7465; margin-right: 10px; }
.settings-intro { color: var(--muted); font-size: 12px; margin-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.settings-intro .badge { flex: 0 0 auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; min-width: 0; }
.field label { font-size: 12px; font-weight: 550; }
input:not([type=checkbox]), select { color: var(--ink); border: 1px solid #cbd7de; border-radius: 6px; background: white; padding: 9px 12px; min-height: 40px; width: 100%; min-width: 0; font-size: 13px; }
input:not([type=checkbox]):focus, select:focus { border-color: #428e80; outline: 2px solid #388e7e35; outline-offset: 1px; }
input::placeholder { color: var(--muted); font-size: 11px; }
input:read-only { background: #f4f7f8; color: var(--muted); }
input:disabled, select:disabled { background: #f2f5f6; color: var(--muted); }
input[type=checkbox] { width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--teal); margin: 0; }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: 12px; margin-bottom: 20px; cursor: pointer; }
.checkbox.compact { margin: 0; font-size: 11px; }
.hint { color: var(--muted); font-size: 10px; line-height: 1.8; }
.test-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 4px 0 20px; }
.test-row:last-child { margin-bottom: 0; }
.test-result { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; flex: 1 1 100px; }
.advanced { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 20px; }
.advanced[open] > summary { margin-bottom: 16px; }
.settings-aside { min-width: 0; }
.credentials-panel { padding: 24px; }
.credentials-panel h2 { margin: 12px 0 8px; }
.credentials-panel p { color: var(--muted); font-size: 11px; line-height: 1.9; }
.credentials-panel .badge { margin: 16px 0; }
.credentials-panel input { font-size: 12px; }
.credentials-panel .field { margin-bottom: 16px; }
.privacy-note { display: flex; align-items: flex-start; gap: 12px; margin: 20px 8px; color: var(--muted); font-size: 11px; }
.privacy-note svg { width: 16px; height: 16px; }
.settings-save { position: sticky; bottom: 16px; border: 1px solid var(--border); background: #fffffff5; border-radius: 8px; padding: 16px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; box-shadow: 0 4px 16px #17252d0a; z-index: 5; }
.settings-save > span { font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.workspace-footer { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 24px; color: var(--muted); font-size: 10px; }
dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; border: 1px solid var(--border); border-radius: 12px; padding: 0; color: var(--ink); box-shadow: 0 24px 80px #11232d30; }
dialog::backdrop { background: #13252e80; }
dialog[open] { animation: enter 220ms cubic-bezier(.2,.8,.2,1); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border-bottom: 1px solid var(--border); }
.dialog-header h2 { font-size: 20px; margin-top: 4px; overflow-wrap: anywhere; }
.dialog-body { padding: 24px; overflow-wrap: anywhere; }
.dialog-body .message { font-size: 11px; }
.dialog-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 16px 24px; background: #f8fafb; border-top: 1px solid var(--border); }
.confirm-dialog { width: min(440px, calc(100% - 32px)); }
.detail-dialog { width: min(760px, calc(100% - 32px)); }
.detail-dialog h3 { margin: 24px 0 10px; font-size: 13px; }
.detail-dialog .prose { font-size: 13px; white-space: pre-wrap; line-height: 1.9; }
.detail-meta { color: var(--muted); font-size: 11px; margin-bottom: 16px; }
.detail-list { margin: 8px 0; padding-left: 20px; font-size: 12px; line-height: 1.9; }
.detail-list li { margin: 8px 0; }
.source-list { padding: 0; list-style: none; }
.source-list a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.source-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.source-date { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.notifications { position: fixed; bottom: 24px; right: 24px; width: min(380px, calc(100% - 32px)); display: grid; gap: 8px; z-index: 60; }
.toast { display: flex; align-items: flex-start; gap: 12px; background: white; border: 1px solid var(--border); border-left: 3px solid var(--teal); border-radius: 8px; padding: 16px; box-shadow: 0 8px 30px #17252d18; animation: enter 220ms cubic-bezier(.2,.8,.2,1); }
.toast.failed { border-left-color: var(--danger); }
.toast p { flex: 1; font-size: 12px; overflow-wrap: anywhere; }
.toast .icon-button { width: 24px; height: 24px; }
.noscript { position: fixed; bottom: 0; padding: 20px; background: var(--danger-soft); color: var(--danger); width: 100%; z-index: 50; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1700px) { main { padding-top: 36px; } }
@media (max-width: 1200px) {
  .sidebar { width: 184px; padding-left: 12px; padding-right: 12px; } .workspace { margin-left: 184px; }
  .nav a { gap: 10px; font-size: 12px; } .nav a[aria-current]::before { left: -12px; }
  .topbar { padding-left: 28px; padding-right: 28px; } main { padding: 28px; }
  .settings-layout { grid-template-columns: minmax(0, 1fr) 248px; gap: 20px; } .settings-section, .credentials-panel { padding: 20px; }
  .research-bottom { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .settings-layout { grid-template-columns: minmax(0, 1fr); } .settings-aside { grid-row: 1; } .settings-aside .credentials-panel { padding: 20px 24px; }
  .settings-aside .credentials-panel > p { max-width: 540px; } .privacy-note { margin-bottom: 24px; }
  .page-heading { align-items: flex-start; } .heading-actions { justify-content: flex-end; max-width: 190px; }
  .metric { padding: 0 20px; } .metric strong { font-size: 25px; }
  .pick-card { grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 20px; } .research-price { padding: 0 10px; } .research-price strong { font-size: 12px; }
}
@media (max-width: 680px) {
  .sidebar { position: sticky; top: 0; width: 100%; padding: 12px 16px 0; gap: 12px; }
  .brand { padding: 0; font-size: 17px; gap: 8px; letter-spacing: 2px; } .brand-mark { width: 28px; height: 28px; font-size: 25px; border-radius: 6px; }
  .nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 0; }
  .nav a { justify-content: center; flex-direction: column; gap: 4px; padding: 8px 2px 10px; min-height: 57px; font-size: 10px; border-radius: 4px 4px 0 0; white-space: nowrap; }
  .nav a svg { width: 17px; height: 17px; } .nav a[aria-current]::before { left: 12px; right: 12px; bottom: 0; top: auto; height: 2px; width: auto; }
  .workspace { margin-left: 0; } .topbar { min-height: 48px; padding: 8px 20px; } .breadcrumb { gap: 10px; font-size: 10px; } .connection { font-size: 10px; } .topbar-right { gap: 8px; } .topbar .icon-button { width: 28px; height: 28px; }
  main { padding: 24px 16px 20px; } .page-heading { gap: 20px; flex-direction: column; margin-bottom: 24px; } h1 { font-size: 28px; margin: 4px 0 8px; } .eyebrow { font-size: 9px; } .page-description { font-size: 12px; }
  .heading-actions { max-width: none; justify-content: flex-start; width: 100%; } .heading-actions .button { flex: 1; }
  .metrics { padding: 20px 0; gap: 0; margin-bottom: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .metric { padding: 0 16px; gap: 8px; } .metric:first-child { grid-column: 1 / -1; flex-direction: row; align-items: center; border-bottom: 1px solid var(--border); padding: 0 16px 16px; margin-bottom: 16px; gap: 16px; }
  .metric:first-child .metric-note { margin-left: auto; } .metric:nth-child(2) { border-left: 0; } .metric-label { font-size: 10px; } .metric strong { font-size: 23px; } .metric-note { font-size: 9px; } .unit { display: block; margin: 4px 0 0; }
  .panel-header { padding: 16px 20px; } .panel-header h2 { font-size: 14px; } .panel-header p { font-size: 10px; }
  .state { padding: 40px 20px; min-height: 280px; } .state p { font-size: 11px; }
  .position-details { gap: 12px; }
  .config-indicators { gap: 8px; } .config-indicators .badge { font-size: 10px; }
  .analysis-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; } .price-disclaimer { font-size: 10px; } .pick-card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pick-identity { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
  .pick-identity > .eyebrow { display: none; } .pick-identity h3 { margin: 0; font-size: 23px; } .pick-identity .token-symbol { margin: 0; } .pick-identity .as-of { width: 100%; margin-top: 0; }
  .pick-reason { font-size: 12px; } .research-prices { margin: 12px 0; } .research-price { padding: 0 8px; } .research-price span { font-size: 9px; } .research-price strong { font-size: 12px; }
  .pick-footer { gap: 16px; } .pick-footer .row-actions { gap: 20px; } .pick-footer > .button { width: 100%; } .research-bottom { gap: 20px; margin-top: 24px; }
  .filter-label { gap: 4px; flex-direction: column; align-items: flex-start; } .filter-label select { font-size: 10px; }
  .form-grid { gap: 0 16px; } .field { margin-bottom: 16px; } .field label { font-size: 11px; } input:not([type=checkbox]), select { font-size: 16px; } input::placeholder { font-size: 10px; }
  .settings-intro { flex-direction: column; gap: 12px; font-size: 11px; } .settings-section { padding: 16px 20px 20px; } .settings-section legend { font-size: 14px; } .settings-form { gap: 20px; }
  .settings-save { padding: 12px 16px; bottom: 8px; } .settings-save > span { font-size: 10px; } .settings-save .button { flex: 0 0 auto; } .privacy-note { font-size: 10px; }
  .workspace-footer { margin-top: 24px; font-size: 9px; }
  dialog { max-height: calc(100dvh - 24px); width: calc(100% - 24px); } .dialog-header, .dialog-body { padding: 20px; } .dialog-header h2 { font-size: 18px; } .dialog-footer { padding: 16px 20px; } .dialog-body .form-grid { grid-template-columns: minmax(0, 1fr); } .dialog-body .research-prices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .notifications { bottom: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
