:root {
  color-scheme: light;
  --bg: #fafbf8;
  --surface: #fff;
  --inset: #f2f5f4;
  --line: #dbe3e6;
  --text: #202c39;
  --muted: #506572;
  --dim: #607582;
  --accent: #194f84;
  --mist: #eaf0f4;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --serif: "Baskervville", "Songti SC", "Noto Serif CJK SC", "STSong", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(19px, 4vw, 56px);
}
* { box-sizing: border-box; }
body { margin: 0; border-top: 2px solid var(--accent); background: var(--bg); color: var(--text); font: 16px/1.72 var(--sans); -webkit-font-smoothing: antialiased; }
button, select, input { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; color: inherit; border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, svg:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3, .brand { font-family: var(--serif); }
h2 { font-size: 1.2rem; font-weight: 700; line-height: 1.5; }
small { font-size: .8125rem; }
svg.icon { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 10; top: -120px; left: 12px; background: var(--accent); color: white; padding: 8px 16px; }
.skip:focus { top: 8px; }
.site-header, .workspace {
  width: min(100% - 2 * var(--gutter), 1030px); margin-inline: auto;
}
.site-header { display: flex; align-items: center; gap: clamp(25px,4.2vw,62px); padding: 25px 0 17px; }
.brand { display: inline-flex; flex-shrink: 0; align-items: center; gap: 10px; }
.brand img { width: 37px; height: 37px; border-radius: 50%; object-fit: cover; border: 1px solid #bdcdd5; background: #e8eef0; }
.brand strong { font-size: 1.46rem; font-weight: 700; line-height: 1.3; letter-spacing: -.035em; }
.site-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(1rem, 2.3vw, 2.35rem); }
.site-header nav a { color: #52616a; font-size: .95rem; }
.site-header nav a:hover, .site-header nav a[aria-current=page] { color: var(--accent); }
.site-header nav a[aria-current=page] { font-weight: 650; }
.workspace main { width: min(100%, 868px); min-height: calc(100vh - 83px); padding: clamp(36px,4.6vw,72px) 0 28px; }
body[data-page=charts] main { width: 100%; }
.page-intro { margin-bottom: 30px; }
.eyebrow { display: flex; align-items: center; gap: .47rem; color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: .075em; }
.eyebrow::before { content: ""; width: .52rem; height: .52rem; border-radius: 50%; border: 1px solid #7696ad; background: radial-gradient(circle, #7696ad 22%, transparent 28%); }
h1 { margin: 14px 0 10px; color: #202c39; font-size: clamp(2.05rem,3.55vw,2.92rem); font-weight: 680; letter-spacing: -.045em; line-height: 1.3; }
.page-intro p, .description { max-width: 46em; color: var(--muted); font-size: 1.01rem; line-height: 1.85; }
.asof { display: flex; align-items: center; gap: .42rem; margin-top: 10px; color: var(--dim); font-size: .8rem; }
.asof:empty { display: none; }
.asof .icon { width: 14px; height: 14px; }
.asof time, .range-limits, .history-score, .stat-card strong, .score-row, .trend-bottom b { font-variant-numeric: tabular-nums; }
.cards { display: grid; gap: 13px; }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; }
.panel-pad { padding: 21px 25px; }
.card-head, .card-title, .section-heading { display: flex; align-items: center; gap: .6rem; }
.card-head, .section-heading { justify-content: space-between; }
.card-title .icon { width: 17px; height: 17px; color: var(--accent); }
.info-btn { display: flex; padding: 5px; border-radius: 50%; color: var(--dim); }
.info-btn:hover { color: var(--accent); background: var(--mist); }
.info-btn .icon { width: 17px; height: 17px; }
.feature-center { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; max-width: 600px; margin: 5px auto 9px; }
.score-type { color: var(--muted); font-size: .92rem; }
.score-row { display: flex; align-items: baseline; gap: .55rem; margin: 3px 0 4px; }
.score-row strong { color: var(--accent); font: 600 clamp(3.7rem,5.5vw,4.8rem)/1.02 var(--serif); letter-spacing: -.065em; }
.score-row span { color: #72818d; font: 1.03rem var(--serif); }
.state-tag { display: inline-flex; align-items: center; gap: .4rem; color: var(--tone); font-size: .86rem; font-weight: 600; }
.state-tag::before { content: ""; width: .36rem; height: .36rem; border-radius: 50%; background: var(--tone); }
.gauge { display: block; width: 100%; max-width: 226px; margin: 0 auto; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.card-foot a, .source-link, dialog a { color: var(--accent); text-decoration: underline; text-decoration-color: #b9cdda; text-underline-offset: 3px; }
.card-foot a:hover, .source-link:hover { text-decoration-color: var(--accent); }
.hist { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px 24px; }
.hist .card-head { grid-column: 1/-1; margin-bottom: 1px; }
.history-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 8px; min-width: 0; border-left: 1px solid var(--line); padding-left: 20px; }
.history-row:nth-child(2) { padding-left: 0; border-left: 0; }
.history-key { color: var(--muted); font-size: .84rem; }
.spark { width: 49px; height: 20px; }
.history-score { font: 700 1.6rem/1.25 var(--serif); }
.history-state { color: var(--tone); font-size: .79rem; text-align: right; }
.trend { margin-top: 13px; }
.segments { display: flex; align-items: center; gap: 1px; border-bottom: 1px solid var(--line); }
.segments button { padding: 4px 8px; color: var(--muted); font-size: .82rem; white-space: nowrap; border-bottom: 2px solid transparent; }
.segments button[aria-pressed=true] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 650; }
.segments button:hover { background: var(--mist); }
.chart-meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--dim); font-size: .8rem; }
.plot-wrap { position: relative; margin-top: 9px; }
.plot { display: block; width: 100%; height: clamp(145px,18vh,205px); touch-action: pan-y; }
.axis-labels { display: flex; justify-content: space-between; margin: 2px 12px 0 33px; color: var(--dim); font: .75rem var(--mono); }
.trend-bottom { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 13px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.trend-bottom b { margin-left: .35rem; color: var(--text); }
.plot-tip { position: absolute; top: 4px; background: #fff; border: 1px solid #b9cbd7; border-radius: 5px; padding: 4px 8px; color: var(--accent); pointer-events: none; font-size: .8rem; white-space: nowrap; }
.plot-tip[hidden] { display: none; }
.section-heading { margin: 25px 0 12px; }
.section-heading a, .action-link { color: var(--accent); font-size: .88rem; }
.section-heading a:hover, .action-link:hover { text-decoration: underline; }
.stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.stat-card { padding: 15px 17px; }
.stat-card small { color: var(--muted); font-size: .86rem; }
.stat-card strong { display: block; color: var(--text); font: 650 1.55rem/1.5 var(--serif); letter-spacing: -.035em; }
.stat-card p, .price-attribution { color: var(--dim); font-size: .76rem; }
.price-attribution { flex-wrap: wrap; }
.placeholder, .load-error { padding: 20px; color: var(--muted); }
footer { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 14px; color: var(--dim); font-size: .78rem; }
footer b { font-weight: 400; margin: 0 4px; }
.range-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.range-card { padding: 22px; }
.range-card .sub { color: var(--muted); margin: 4px 0 16px; font-size: .9rem; }
.range-number { display: flex; gap: .55rem; align-items: baseline; }
.range-number strong { color: var(--accent); font: 650 2.7rem/1.15 var(--serif); letter-spacing: -.055em; }
.range-number span { color: var(--dim); font-size: .84rem; }
.range-track { position: relative; margin: 21px 0 8px; height: 6px; background: linear-gradient(90deg,#dfebf2,#80a8c4); border-radius: 6px; }
.range-track i { display: block; width: 13px; height: 13px; border: 2px solid #fff; background: var(--accent); box-shadow: 0 0 0 1px #84a0b4; border-radius: 50%; position: absolute; top: 50%; transform: translate(-50%,-50%); }
.range-limits { display: flex; justify-content: space-between; font-size: .82rem; color: var(--dim); }
.range-card .card-foot { margin-top: 16px; }
.note-block, .memo-guide { margin-top: 14px; }
.note-block p, .memo-guide p { color: var(--muted); margin-top: 9px; line-height: 1.9; font-size: .96rem; }
.memo-empty { padding: 28px; }
.memo-empty .square-icon { display: none; }
.memo-empty p, .memo-date { color: var(--dim); font-size: .88rem; }
.memo-empty p { margin-top: .5rem; }
.memo-list { list-style: none; padding: 0; }
.memo-list li { margin-bottom: 12px; }
.memo-list p { margin: 4px 0; color: var(--text); font: 600 1.18rem/1.7 var(--serif); }
.memo-guide summary { width: fit-content; cursor: pointer; color: var(--text); font-family: var(--serif); font-weight: 650; }
.memo-guide summary::marker { color: var(--accent); }
.square-icon { display: grid; place-items: center; width: 36px; height: 36px; background: var(--mist); border-radius: 50%; color: var(--accent); }
dialog { width: min(460px,90vw); border: 1px solid #c6d3da; border-radius: 12px; padding: 24px; background: var(--surface); color: var(--text); }
dialog::backdrop { background: #1b2f3d77; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dialog-top button { font-size: 1.6rem; color: var(--dim); }
dialog p { margin-top: 10px; color: var(--muted); font-size: .94rem; }
.stale-note { margin: 0 0 14px; color: #865927; font-size: .86rem; }
@media (max-width: 760px) {
  .site-header { padding-top: 18px; gap: 26px; }
  .brand img { height: 33px; width: 33px; }
  .site-header nav { gap: 15px; }
  .site-header nav a { font-size: .88rem; }
  .panel-pad, .range-card { padding: 17px 20px; }
  .feature-center { max-width: 490px; }
  .gauge { max-width: 197px; }
}
@media (max-width: 600px) {
  .site-header { flex-wrap: wrap; gap: 12px; padding: 17px 0 0; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 4px; }
  .site-header nav a { padding: 3px 0; }
  .workspace main { padding-top: 33px; }
  h1 { margin: 9px 0 8px; }
  .page-intro { margin-bottom: 20px; }
  .page-intro p { font-size: .94rem; }
  .asof { margin-top: 6px; }
  .feature-center { grid-template-columns: .9fr 1.1fr; gap: 6px; margin: 12px 0; }
  .score-row strong { font-size: 3.65rem; }
  .score-type, .score-row span { font-size: .82rem; }
  .hist { grid-template-columns: 1fr; gap: 0; }
  .hist .card-head { margin-bottom: 7px; }
  .history-row { grid-template-columns: 1fr 50px 32px 69px; gap: 8px; border-left: 0; padding: .38rem 0; border-bottom: 1px solid var(--line); }
  .history-row:last-child { border-bottom: 0; }
  .history-score { font-size: 1.3rem; text-align: right; }
  .range-grid, .stat-grid { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .stat-card { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .stat-card p { grid-column: 1/-1; }
  .card-title { gap: .35rem; }
  .card-title h2 { font-size: 1.11rem; }
  .panel-pad, .range-card { padding: 16px; }
  .segments button { padding: 4px 5px; }
  .trend-bottom { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
body[data-page=indicators] main {width:100%}
.watchlist {margin-top:30px}
.watchlist .section-heading {margin:0 0 6px}
.watch-caption {color:var(--muted);font-size:.92rem;margin-bottom:15px}
.watch-scroll {max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.watch-table {width:100%;min-width:675px;border-spacing:0;text-align:left;line-height:1.45;font-variant-numeric:tabular-nums}
.watch-table thead {background:var(--mist);color:#38536a}
.watch-table th,.watch-table td {padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
.watch-table thead th {font-size:.84rem;font-weight:600;white-space:nowrap}
.watch-table th:first-child {position:sticky;left:0;z-index:1}
.watch-table thead th:first-child {background:var(--mist)}
.watch-table tbody th:first-child {background:var(--surface)}
.watch-table tr[hidden] {display:none}
.watch-table tr:last-child td {border-bottom:0}
.watch-table small {display:block;color:var(--dim);font-weight:400;font-size:.75rem;margin-top:2px}
.watch-table .watch-symbol button {display:block;padding:0;min-width:92px;text-align:left;line-height:1.4;color:var(--accent)}
.watch-symbol strong {font-size:1rem}
.watch-symbol button[aria-expanded=true] strong,.watch-symbol button:hover strong {text-decoration:underline;text-underline-offset:3px}
.watch-value {font-weight:600;white-space:nowrap;font-size:.94rem}
.watch-unavailable {color:var(--dim);font-size:.85rem}
.watch-range {max-width:105px}
.watch-track {display:block;position:relative;margin:6px 1px 2px;height:4px;background:linear-gradient(90deg,#e3ebef,#aac3d5);border-radius:9px}
.watch-track i {position:absolute;top:50%;width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 1px white;transform:translate(-50%,-50%)}
.watch-detail {display:grid;grid-template-columns:max-content 1fr;gap:5px 16px;margin:0 0 10px;font-size:.88rem}
.watch-detail dt {color:var(--dim)}
.watch-detail dd {margin:0}
.watch-table td[colspan] {background:#f3f7f9;padding:15px 20px}
@media(max-width:650px){.watch-table td,.watch-table th{padding:9px 10px}.watch-table{min-width:630px}.watch-scroll{border-radius:8px}.watch-caption{font-size:.84rem}}

/* Instrument selected above the market-wide comparison. */
.watchlist { margin-top: 0; }
.asset-profile { overflow: hidden; border: 1px solid #cfdee3; border-radius: 16px; background: #fff; }
.profile-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; flex-wrap: wrap; padding: 17px 24px; background: #f0f5f7; border-bottom: 1px solid #d9e4e9; }
.profile-name, .profile-choice { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.profile-name h2 { font: 650 1.65rem/1.2 var(--serif); color: #193e59; }
.profile-name span,.profile-choice > span { font-size: .87rem; color: var(--muted); }
.profile-choice { align-items: center; }
.profile-choice select { appearance: none; max-width: 100%; color: var(--accent); border: 1px solid #b6cbd6; border-radius: 7px; padding: 6px 32px 6px 11px; font-size: .88rem; background: linear-gradient(45deg, transparent 50%, #426780 50%) calc(100% - 15px) 52% / 5px 5px no-repeat, linear-gradient(135deg, #426780 50%, transparent 50%) calc(100% - 10px) 52% / 5px 5px no-repeat, #fff; }
.profile-body { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr); }
.profile-mood { padding: 20px 26px 16px; background: linear-gradient(160deg,#fff 35%,#f2f7f8); }
.mood-head, .profile-reading, .mood-chart figcaption, .profile-limits { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.profile-body h3 { font: 600 1rem/1.5 var(--sans); }
.mood-window { font: .77rem var(--mono); color: #496879; }
.mood-reading { display: flex; align-items: baseline; gap: 7px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.mood-reading strong { font: 600 clamp(3.1rem, 5.4vw, 4.1rem)/1.12 var(--serif); color: #173e5a; letter-spacing: -.045em; }
.mood-unit { font-size: .85rem; color: var(--dim); }
.mood-label { display: inline-block; width: fit-content; padding: 1px 7px; border-radius: 4px; font: 500 .76rem/1.6 var(--sans); color: #496273; background: #edf2f4; white-space: nowrap; }
.mood-label[data-zone="偏冷"] { color: #8c3947; background: #fae9e9; }
.mood-label[data-zone="偏热"] { color: #24634e; background: #e0f1e7; }
.mood-reading .mood-label { align-self: center; margin-left: 3px; }
.mood-period,.profile-range-note,.mood-chart figcaption,.profile-limits { color: var(--dim); font-size: .78rem; font-variant-numeric: tabular-nums; }
.mood-period { margin: 8px 0 0; }
.mood-chart { margin: 0; }
.mood-chart svg { display: block; width: 100%; }
.mood-chart figcaption { padding-right: 7%; font-family: var(--mono); }
.mood-gridline { stroke: #c2d0d6; stroke-dasharray: 3 5; stroke-width: .85; }
.mood-tick { font: 10px var(--mono); fill: #5d7481; }
.mood-fill { fill: #5684a0; opacity: .09; }
.mood-line { fill: none; stroke: #246186; stroke-width: 2.7; stroke-linejoin: round; stroke-linecap: round; }
.mood-end,.mood-observation:hover { fill: #226187; stroke: #fff; stroke-width: 2; }
.mood-observation { fill: transparent; }
.profile-ranges { display: grid; align-content: center; gap: 16px; padding: 20px 26px; border-left: 1px solid var(--line); }
.profile-range + .profile-range { padding-top: 13px; border-top: 1px solid var(--line); }
.profile-reading { margin-top: 3px; align-items: baseline; }
.profile-reading strong { font: 650 1.6rem/1.45 var(--serif); font-variant-numeric: tabular-nums; }
.profile-reading > span { color: var(--muted); font-size: .83rem; }
.profile-range .watch-range { max-width: none; margin: 7px 5px 5px; }
.profile-range .watch-track { height: 6px; background: linear-gradient(90deg,#daebe6,#d6e2e8 55%,#91b2c9); }
.profile-range .watch-track i { width: 10px; height: 10px; box-shadow: 0 0 0 2px white; }
.profile-range-note { margin-top: 2px; }
.profile-na { color: var(--muted); font: 600 1.1rem/2 var(--sans); }
.mood-method { font-size: .86rem; color: var(--muted); margin: 10px 0 25px; }
.mood-method summary { width: fit-content; cursor: pointer; color: var(--accent); }
.mood-method p { margin-top: 5px; }
.watch-table .mood-label { margin-left: 6px; }
.watch-table td:nth-child(2) { white-space: nowrap; }
.watchlist + .range-grid { margin-top: 28px; }
@media (max-width: 700px) {
  .profile-choice > span { display: none; }
  .profile-header,.profile-mood,.profile-ranges { padding: 15px 17px; }
  .profile-body { grid-template-columns: minmax(0,1fr); }
  .profile-ranges { grid-template-columns: repeat(2,minmax(0,1fr)); border-left: 0; border-top: 1px solid var(--line); }
  .profile-range + .profile-range { padding: 0 0 0 12px; border-top: 0; border-left: 1px solid var(--line); }
  .profile-reading { flex-wrap: wrap; gap: 0 5px; }
  .profile-range-note,.profile-limits { font-size: .75rem; }
  .profile-name { gap: 3px 8px; }
  .profile-name h2 { font-size: 1.4rem; }
  .watch-table { min-width: 730px; }
}
@media (max-width: 400px) {
  .profile-header { align-items: flex-start; gap: 10px; }
  .profile-body h3 { font-size: .91rem; }
  .profile-ranges { gap: 8px; }
  .profile-reading { display: grid; }
  .profile-name span { display: none; }
}

.watch-links { display:flex; flex-wrap:wrap; gap:8px 20px; }

.profile-range-note { display:flex; flex-wrap:wrap; gap:0 .55em; }
.profile-range-note time { white-space:nowrap; }
@media(max-width:600px) {
  .mood-tick { font-size:15px; }
  .profile-reading { display:grid; gap:0; }
}
@media(max-width:360px) {
  .profile-ranges { grid-template-columns:minmax(0,1fr); }
  .profile-range + .profile-range { padding:10px 0 0; border:0; border-top:1px solid var(--line); }
  .profile-reading { display:flex; }
  .mood-tick { font-size:17px; }
}

.asof { flex-wrap:wrap; column-gap:0; row-gap:1px; }
.asof span:not(:last-child) { margin-right:.75rem; }
.asof span:not(:last-child)::after { content:"·"; margin-left:.75rem; }

@media(max-width:600px) {
  .asof { display:grid; }
  .asof span:not(:last-child)::after { content:none; }
}

#version-notice { margin-bottom:16px; padding:10px 14px; border:1px solid var(--line); border-radius:8px; background:var(--mist); font-size:.9rem; }
#version-notice a { color:var(--accent); text-decoration:underline; text-underline-offset:3px; }
.watch-compact { display:none; }
.watch-scroll + .mood-method { margin:12px 0 22px; }
@media(max-width:700px) {
  .watch-table { width:100%; min-width:0; table-layout:fixed; }
  .watch-table .watch-quote,.watch-table .watch-pe,.watch-full { display:none; }
  .watch-compact { display:inline; }
  .watch-table th:first-child { width:30%; position:static; }
  .watch-table th,.watch-table td { padding:9px 6px; }
  .watch-table thead th { white-space:normal; font-size:.76rem; }
  .watch-table .watch-symbol button { min-width:0; max-width:100%; overflow-wrap:anywhere; }
  .watch-symbol strong,.watch-table .watch-value { font-size:.86rem; }
  .watch-table .mood-label { display:block; margin:2px 0 0; }
  .watch-table .watch-detail { grid-template-columns:auto; gap:2px; }
  .watch-table .watch-detail dd { margin:0 0 7px; }
  .watch-table td[colspan] { padding:12px; }
  .watch-table .watch-range { max-width:90%; }
  .watch-table td[colspan] { overflow-wrap:anywhere; }
}

.watch-table thead th { padding: 0; }
.watch-sort { display: inline-flex; align-items: center; gap: .3rem; width: 100%; padding: 12px 14px; min-height: 42px; font: inherit; line-height: 1.35; color: inherit; text-align: left; }
.watch-sort-arrow { flex-shrink: 0; color: #617889; font: 600 .85rem/1 var(--sans); }
.watch-sort:hover, .watch-sort:focus-visible { color: var(--accent); background: #dfeaf1; }
.watch-sort:focus-visible { outline-offset: -2px; }
.watch-table thead th[aria-sort="ascending"], .watch-table thead th[aria-sort="descending"] { background: #dce8f0; color: var(--accent); }
.watch-table th[aria-sort] .watch-sort-arrow { color: var(--accent); }
.watch-currency-note:not([hidden]) { display: inline-block; margin-inline-start: .35rem; color: var(--accent); }
@media(max-width:700px) {
  .watch-sort { gap: 2px; padding: 6px 4px; min-height: 42px; }
  .watch-sort-arrow { font-size: .75rem; }
}

.size-limits > div { display: grid; gap: 1px; }
.size-limits > div:last-child { text-align: right; }
.size-limits time { color:var(--muted); }
.profile-size .source-link { overflow-wrap:anywhere; }
.watch-mobile-help { display:none; }
@media(min-width:701px) {
  .watch-table { min-width:890px; }
  .watch-table th .watch-sort { white-space:normal; }
}
@media(max-width:700px) {
  .watch-mobile-help { display:inline; margin-left:.4em; }
  .watch-table { width:100%; min-width:560px; table-layout:auto; }
  .watch-table th:first-child { width:90px; position:sticky; }
  .watch-table .watch-size { min-width:110px; }
  .watch-table .watch-detail { max-width:calc(100vw - 80px); }
  .profile-ranges .profile-size { grid-column:1/-1; border-left:0; border-top:1px solid var(--line); padding:12px 0 0; }
}

.directory-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:13px}
.directory-card {padding:21px 25px}
.directory-card small {font:.78rem var(--mono);color:var(--dim)}
.directory-card h2 {margin:6px 0 8px}
.directory-card p {color:var(--muted);margin-bottom:15px;font-size:.94rem}
.directory-card .source-link {font-size:.9rem}
@media(max-width:650px){.site-header{flex-wrap:wrap}.site-header nav{width:100%;gap:6px 16px;justify-content:flex-start}.directory-card{padding:16px}}
