@charset "UTF-8";

:root {
  --paper: #f7f8f5;
  --white: #fff;
  --ink: #202d2a;
  --muted: #77817d;
  --soft: #9da59f;
  --line: #e5e9e3;
  --green: #166957;
  --green-dark: #124e43;
  --green-pale: #eaf3ee;
  --orange: #c98056;
  --orange-pale: #f8eee6;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #a6cfbb; outline-offset: 4px; }
button:disabled { cursor: wait; opacity: .6; }
svg { display: block; }
.site-header { background: #fffffff0; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1328px; min-height: 82px; margin: 0 auto; display: flex; align-items: center; padding: 0 40px; gap: 52px; }
.brand { display: flex; align-items: center; gap: 11px; letter-spacing: 2px; font-size: 19px; font-weight: 550; white-space: nowrap; }
.brand strong { font-weight: 800; }
.brand-mark { width: 36px; height: 36px; background: var(--green-dark); border-radius: 10px; display: grid; place-items: center; }
.brand-mark svg { width: 26px; height: 26px; stroke: white; stroke-width: 2.2; stroke-linecap: round; }
.main-nav { display: flex; align-self: stretch; gap: 30px; font-size: 12px; font-weight: 650; }
.main-nav a { display: flex; align-items: center; color: var(--muted); position: relative; gap: 12px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green-dark); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--green); }
.header-status { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--green-dark); font-size: 9px; font-weight: 700; letter-spacing: 1.4px; white-space: nowrap; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #3d8b69; box-shadow: 0 0 0 4px #f0f6f1; display: inline-block; }
.page-shell { max-width: 1328px; margin: 0 auto; padding: 28px 40px 70px; min-height: calc(100vh - 242px); }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 21px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 9px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.eyebrow::before { content: ""; width: 21px; height: 1px; background: var(--green); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 29px; font-weight: 700; line-height: 1.4; letter-spacing: .03em; margin-bottom: 8px; }
.page-description { color: var(--muted); font-size: 12px; margin: 0; }
.update-meta { color: var(--muted); text-align: right; font-size: 10px; line-height: 1.9; white-space: nowrap; }
.update-meta strong { color: #45534e; font-weight: 550; }
.update-schedule { display: inline-flex; align-items: center; gap: 7px; color: var(--green); background: #eef2eb; border: 1px solid #e4e9df; border-radius: 20px; padding: 3px 11px; font-weight: 600; font-size: 10px; margin-bottom: 6px; }
.rule-tabs-wrap { margin: 0 0 24px; position: relative; }
.filters-panel { border: 1px solid var(--line); border-radius: 10px; padding: 16px 19px 4px; margin-bottom: 25px; background: #ffffff70; }
.filter-top, .filter-bottom { display: flex; align-items: end; gap: 14px; }
.filter-top { padding-bottom: 12px; }
.filter-bottom { padding-top: 12px; border-top: 1px solid #e8ece3; padding-bottom: 13px; }
.filter-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.filter-field > span { color: #819078; font-size: 9px; }
.filter-field select, .filter-field input { border: 1px solid #dfe6d9; background: #fff; color: #52654a; border-radius: 5px; padding: 7px 10px; font-size: 11px; width: 100%; min-width: 0; height: 33px; }
.filter-field input { font: inherit; font-size: 11px; }
.filter-field input::placeholder { color: #a3ae9b; }
.filter-group { width: 290px; }
.filter-search { flex: 1; max-width: 390px; }
.filter-count { margin-left: auto; font-size: 10px; color: #a1ac98; padding-bottom: 8px; white-space: nowrap; }
.filter-count strong { color: #5f7854; font-family: var(--mono); font-size: 14px; font-weight: 500; }
.filter-bottom .filter-field { min-width: 160px; max-width: 300px; flex: 1; }
.filter-reset { margin-left: auto; margin-bottom: 10px; white-space: nowrap; }
.rule-picker { border-top: 1px solid #e8ece3; padding-top: 12px; }
.rule-picker .filter-field { max-width: 750px; }
.filters-panel .rule-tabs-wrap { margin: 13px 0 0; }
.filters-panel .rule-tabs { padding-bottom: 11px; }
.filters-panel .rule-tab { max-width: 310px; overflow: hidden; text-overflow: ellipsis; display: block; text-align: left; }
.filters-panel .rule-number { margin-right: 6px; }
.update-schedule svg { height: 11px; width: 11px; }
.observed-link { display: flex; margin: -28px auto 30px; position: relative; }
.chart-empty:has(+ .observed-link) { padding-bottom: 56px; min-height: 245px; }
.inline-loading { text-align: center; color: var(--muted); padding: 25px; font-size: 11px; }
.detail-error { border: 1px solid #e8cfb6; color: #a07856; background: #fbf4ed; border-radius: 6px; padding: 12px; font-size: 11px; margin-bottom: 14px; }
.detail-error .text-button { margin-left: 10px; text-decoration: underline; }
.curve-selection { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 0 0 15px; }
.curve-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid #dde6d4; background: #fff; border-radius: 5px; color: #6c7e61; font-size: 9px; max-width: 400px; text-align: left; }
.curve-chip:hover { background: #edf4e6; }
.curve-selection-note { color: #94a088; font-size: 9px; margin-left: 4px; }
.curve-checkbox { accent-color: var(--green); width: 14px; height: 14px; cursor: pointer; }
.curve-checkbox:disabled { cursor: default; opacity: .4; }
.compare-group { display: block; font-size: 8px; color: #9aa98f; padding-left: 16px; margin-top: 5px; }
.table-pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; color: #829574; font-size: 10px; }
.table-pagination > div { display: flex; gap: 14px; align-items: center; }
.table-pagination button { font-size: 9px; }
.error-action { text-align: center; padding-bottom: 30px; }
.error-action .button { margin: 0; }
.method-extra { margin-top: 10px !important; }
.compact-filters { padding: 11px 15px 1px; position: relative; margin-bottom: 18px; }
.filter-compact-row { display: flex; gap: 15px; padding-right: 106px; }
.filter-compact-row .filter-group { width: 275px; flex-shrink: 0; }
.filter-compact-row .filter-rule { flex: 1; }
.advanced-filters > summary { position: absolute; right: 15px; top: 30px; color: #69815d; font-size: 10px; cursor: pointer; list-style: none; }
.advanced-filters > summary::-webkit-details-marker { display: none; }
.advanced-filters > summary::before { content: '+'; margin-right: 5px; font-family: var(--mono); }
.advanced-filters[open] > summary::before { content: '−'; }
.advanced-filters > summary span { display: block; color: #9aa890; margin-top: 3px; font-size: 8px; }
.advanced-filters .filter-bottom { margin-top: 11px; }
.advanced-filters .filter-bottom .filter-field { min-width: 0; }
.compact-filters .rule-tabs-wrap { margin-top: 8px; }
.compact-filters .rule-tab { padding: 7px 10px; font-size: 10px; }
.compact-filters .rule-tabs { padding-bottom: 8px; gap: 5px; }
.fallback-note { color: #8a9a7c; font-size: 9px; margin: -4px 0 14px; }
.fallback-note .text-button { margin-left: 9px; text-decoration: underline; }
.benchmark-cell { color: #849475; font-size: 9px; }
.chart-status { color: #8ba079; margin-left: 8px; padding-left: 8px; border-left: 1px solid #dce5d3; }
.rule-description-inline { color: #929f87; font-size: 10px; margin: -20px 0 27px; }
.rule-tabs { display: flex; align-items: center; gap: 7px; overflow-x: auto; padding: 3px 0 11px; scrollbar-width: thin; scrollbar-color: #d6ddd5 transparent; }
.rule-tab { border: 1px solid transparent; padding: 10px 17px; border-radius: 7px; background: transparent; color: #78837c; display: flex; gap: 9px; align-items: center; white-space: nowrap; font-size: 12px; font-weight: 600; }
.rule-tab:hover { background: #eef1eb; color: var(--green); }
.rule-tab[aria-selected="true"] { color: white; background: var(--green-dark); box-shadow: 0 3px 8px #154b4210; }
.rule-number { font-family: var(--mono); font-size: 10px; opacity: .58; font-weight: 400; }
.rule-context { display: flex; justify-content: space-between; align-items: start; margin-bottom: 20px; gap: 18px; }
.rule-context h2 { font-size: 18px; margin: 0 0 5px; line-height: 1.5; }
.rule-context p { font-size: 11px; color: var(--muted); margin: 0; max-width: 850px; }
.small-badge { display: inline-flex; align-items: center; padding: 4px 10px; color: var(--green); background: var(--green-pale); border-radius: 5px; font-size: 10px; font-weight: 600; flex-shrink: 0; white-space: nowrap; }
.small-badge.neutral { color: var(--muted); background: #ecefeb; }
.chart-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px 27px 18px; box-shadow: 0 4px 14px #233b2e02; }
.chart-topline { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.chart-topline h2 { margin: 0 0 3px; font-size: 14px; font-weight: 650; }
.chart-subtitle { margin: 0; font-size: 10px; color: var(--muted); }
.chart-range { display: flex; gap: 2px; padding: 3px; background: #f4f5f2; border-radius: 6px; flex-shrink: 0; }
.chart-range button { border: 0; border-radius: 4px; background: transparent; color: #849086; font-size: 10px; padding: 5px 10px; white-space: nowrap; }
.chart-range button[aria-pressed="true"] { color: #3a5648; background: white; box-shadow: 0 1px 4px #243d3512; font-weight: 650; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 9px 22px; margin: 19px 0 4px; color: #65716b; font-size: 10px; }
.chart-legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-swatch { height: 3px; width: 19px; border-radius: 3px; background: var(--swatch, var(--green)); }
.legend-swatch.dashed { height: 0; background: transparent; border-top: 2px dashed var(--swatch, #9ea8a4); border-radius: 0; }
.legend-swatch.bar { width: 8px; height: 8px; border-radius: 2px; }
.chart-visual { position: relative; width: 100%; min-height: 220px; }
.chart-visual svg { width: 100%; overflow: visible; }
.chart-visual svg text { font-family: var(--font); fill: #939d96; font-size: 10px; }
.chart-grid { stroke: #edf0eb; stroke-width: 1; }
.chart-grid.zero { stroke: #cdd6ce; stroke-dasharray: 4 4; }
.chart-series { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chart-source { display: flex; justify-content: space-between; gap: 16px; padding-top: 3px; color: #95a097; font-size: 9px; }
.difference-chart { border-top: 1px solid #edf0eb; margin-top: 9px; padding-top: 17px; }
.difference-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.difference-heading h3 { margin: 0; font-size: 11px; font-weight: 600; }
.difference-heading .chart-legend { margin: 0; font-size: 9px; gap: 16px; }
.difference-chart .chart-visual { min-height: 105px; }
.chart-tooltip { display: none; position: absolute; top: 12px; z-index: 3; min-width: 172px; max-width: min(300px, 85%); padding: 12px 14px; background: #ffffffed; border: 1px solid #dfe6dd; box-shadow: 0 5px 23px #162d2712; border-radius: 7px; pointer-events: none; font-size: 10px; backdrop-filter: blur(10px); }
.chart-tooltip.visible { display: block; }
.tooltip-date { font-family: var(--mono); color: var(--muted); font-size: 10px; margin-bottom: 7px; }
.tooltip-row { display: flex; justify-content: space-between; align-items: baseline; gap: 22px; margin-top: 3px; }
.tooltip-row strong { white-space: nowrap; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 19px 0 34px; border: 1px solid var(--line); background: #ffffff80; border-radius: 10px; padding: 20px 7px; }
.metric { padding: 0 22px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric-label { color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.metric-value { font-size: 26px; font-weight: 550; line-height: 1.5; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.metric-unit { font-size: 13px; margin-left: 3px; font-weight: 500; }
.metric-footnote { color: #98a198; font-size: 9px; margin-top: 2px; }
.metric-value.date { font-size: 21px; letter-spacing: 0; padding: 4px 0; }
.positive { color: var(--green); }
.negative { color: #b46c48; }
.neutral-value { color: var(--muted); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 15px; }
.section-heading h2 { font-size: 18px; margin: 0 0 3px; font-weight: 650; }
.section-heading p { font-size: 11px; color: var(--muted); margin: 0; }
.section-aside { color: var(--muted); font-size: 10px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.section-aside svg { width: 13px; height: 13px; }
.disclosure-banner { display: flex; align-items: start; gap: 13px; padding: 16px 19px; border: 1px solid #e0e6dc; border-radius: 8px; background: #eff3eb; margin-bottom: 20px; }
.disclosure-banner .icon { color: #66866d; width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.disclosure-banner h3 { color: #506b57; font-size: 11px; margin: 0 0 4px; font-weight: 650; }
.disclosure-banner p { color: #829081; font-size: 10px; margin: 0; line-height: 1.8; }
.trade-day { border: 1px solid var(--line); border-radius: 10px; background: white; margin-bottom: 16px; overflow: hidden; }
.trade-day-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid #edf0eb; }
.day-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.day-title h3 { font-family: var(--mono); font-size: 14px; font-weight: 500; margin: 0; letter-spacing: .4px; }
.day-weekday { font-family: var(--font); color: #9aa398; font-size: 10px; margin-left: 6px; }
.day-status { display: inline-flex; align-items: center; gap: 5px; border-radius: 4px; padding: 3px 7px; font-size: 9px; font-weight: 600; color: #617469; background: #eef4ee; }
.day-status svg { width: 10px; height: 10px; }
.day-status.locked { background: #f5f0e8; color: #9b875e; }
.backfill-label { color: #999b87; font-size: 9px; }
.day-note { font-size: 9px; color: var(--muted); text-align: right; }
.trade-table-wrap { overflow-x: auto; }
.trade-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
.trade-table thead { color: #969f95; background: #fdfefd; font-size: 9px; font-weight: 400; }
.trade-table th { font-weight: 500; padding: 10px 22px; }
.trade-table td { padding: 15px 22px; border-top: 1px solid #f0f2ee; }
.trade-table td:first-child, .trade-table th:first-child { width: 110px; }
.trade-table .number { text-align: right; font-variant-numeric: tabular-nums; }
.side-tag { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 52px; padding: 2px 7px; border-radius: 4px; font-size: 9px; color: #43836e; background: #eaf4ee; }
.side-tag.sell { background: #f8eee7; color: #bf875f; }
.stock-name { color: #47594e; font-weight: 550; }
.stock-code { color: #9ba59a; font-family: var(--mono); font-size: 10px; margin-left: 10px; font-weight: 400; }
.shares-unit { color: #9ba59a; font-size: 9px; margin-left: 4px; }
.private-trades { position: relative; }
.private-trades .trade-table { opacity: .65; pointer-events: none; user-select: none; }
.blurred { filter: blur(5px); }
.private-overlay { position: absolute; inset: 20px 10px 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.private-message { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #6b7368; padding: 8px 14px; background: #ffffffeb; border: 1px solid #e8ebe4; border-radius: 30px; box-shadow: 0 2px 8px #243c2105; }
.private-message svg { width: 12px; height: 12px; color: #879180; }
.hash-block { padding: 15px 22px; background: #fafbf8; border-top: 1px solid #edf0e8; }
.hash-meta { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 7px; }
.hash-label { display: flex; align-items: center; gap: 7px; color: #8a9588; font-family: var(--mono); font-size: 9px; letter-spacing: .7px; }
.hash-label svg { width: 11px; height: 11px; }
.text-button { background: transparent; border: 0; padding: 0; color: #708575; font-size: 9px; display: inline-flex; align-items: center; gap: 5px; }
.text-button:hover { color: var(--green-dark); }
.text-button svg { width: 11px; height: 11px; }
.hash-value { font-size: 10px; color: #7d887a; letter-spacing: .3px; font-family: var(--mono); overflow-wrap: anywhere; line-height: 1.8; }
.hash-footnote { color: #a1a99c; font-size: 9px; margin-top: 6px; }
.verification { padding: 0 22px; border-top: 1px solid #edf0eb; }
.verification summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 7px; color: #82907f; font-size: 10px; padding: 14px 0; }
.verification summary::-webkit-details-marker { display: none; }
.verification summary::before { content: "+"; color: #6b836c; font-family: var(--mono); font-size: 16px; width: 13px; }
.verification[open] summary::before { content: "−"; }
.verification-content { padding-bottom: 17px; }
.verification-content p { color: #939c8f; font-size: 10px; margin: 0 0 10px; line-height: 1.9; }
.canonical-text { font-family: var(--mono); border: 1px solid #e7ebe2; background: #f8faf5; border-radius: 5px; color: #698066; padding: 13px; font-size: 10px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 300px; overflow: auto; }
.verification-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; font-size: 10px; font-weight: 500; padding: 7px 11px; border-radius: 5px; background: white; color: #70846c; border: 1px solid #dce5d7; }
.button svg { width: 12px; height: 12px; }
.button:hover { background: #f2f6ee; }
.button.primary { background: var(--green); color: white; border-color: var(--green); }
.button.primary:hover { background: var(--green-dark); }
.verification-result { color: var(--muted); font-size: 10px; margin-left: 5px; }
.verification-result.success { color: var(--green); }
.verification-result.failure { color: #b16347; }
.empty-trades { padding: 28px 22px; color: #8d9788; font-size: 11px; }
.more-days { width: 100%; padding: 12px; text-align: center; border: 1px solid #dde4d7; border-radius: 7px; color: #718369; font-size: 11px; background: transparent; margin-top: 2px; }
.more-days:hover { background: #edf2e8; }
.method-section { margin-top: 35px; padding-top: 22px; border-top: 1px solid #dfe5da; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.method-section h3 { font-size: 11px; color: #64775d; margin: 0 0 7px; font-weight: 600; }
.method-section p, .method-section li { font-size: 10px; line-height: 1.9; color: #94a08c; margin: 0; }
.method-section ul { margin: 0; padding-left: 15px; }
.step-row { display: flex; align-items: center; gap: 12px; margin-bottom: 9px; }
.step-label { color: #61785b; font-size: 10px; font-family: var(--mono); flex-shrink: 0; width: 58px; }
.step-row p { color: #899980; }
.step-divider { color: #b1bba9; }
.compare-intro { margin-bottom: 24px; display: flex; gap: 13px; align-items: center; border-bottom: 1px solid var(--line); padding: 0 0 18px; color: var(--muted); font-size: 11px; }
.compare-count { display: inline-flex; align-items: center; justify-content: center; padding: 3px 10px; border: 1px solid #d6e1d0; border-radius: 5px; font-family: var(--mono); font-size: 10px; color: #58714f; background: #f0f5ec; }
.compare-table-card { margin: 28px 0 0; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; background: white; }
.compare-table-wrap { position: relative; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; }
.compare-table th { background: #fafcf7; color: #8a9981; font-weight: 500; font-size: 10px; padding: 13px 17px; white-space: nowrap; border-bottom: 1px solid #e7ece1; }
.compare-table td { padding: 18px 17px; border-bottom: 1px solid #edf1e8; font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .number { text-align: right; }
.compare-table .rule-cell { display: flex; align-items: center; gap: 9px; font-weight: 600; color: #4c6443; white-space: normal; min-width: 190px; }
.rule-cell a:hover { text-decoration: underline; }
.rule-color { width: 7px; height: 7px; background: var(--swatch); border-radius: 50%; flex-shrink: 0; }
.table-arrow { color: #819974; font-size: 16px; }
.comparison-note { color: #94a28b; font-size: 10px; margin-top: 11px; }
.empty-state { display: grid; align-content: center; justify-items: center; text-align: center; min-height: 220px; padding: 30px 20px; color: #99a492; }
.empty-state svg { width: 34px; height: 34px; margin-bottom: 11px; opacity: .55; }
.empty-state h3 { font-size: 13px; color: #728669; font-weight: 500; margin: 0 0 5px; }
.empty-state p { font-size: 11px; margin: 0; max-width: 450px; line-height: 1.9; }
.chart-empty { min-height: 205px; background: linear-gradient(0deg, transparent 24.5%, #edf1e7 25%, transparent 25.5%, transparent 49.5%, #edf1e7 50%, transparent 50.5%, transparent 74.5%, #edf1e7 75%, transparent 75.5%); }
.difference-chart .chart-empty { min-height: 115px; background: none; }
.difference-chart .chart-empty p { font-size: 10px; }
.loading-state { padding: 160px 0; text-align: center; font-size: 12px; color: var(--muted); }
.loading-spinner { width: 24px; height: 24px; border: 2px solid #dce5d6; border-top-color: var(--green); border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; margin-bottom: 15px; }
.error-state { border: 1px solid var(--line); background: white; border-radius: 12px; margin: 50px 0; }
.error-state .button { margin-top: 20px; }
.site-footer { border-top: 1px solid var(--line); background: #f2f5ed; }
.footer-inner { max-width: 1328px; margin: 0 auto; padding: 27px 40px 32px; display: flex; align-items: center; gap: 45px; }
.footer-brand { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; color: #718067; white-space: nowrap; }
.footer-brand span { display: block; font-size: 9px; font-weight: 400; letter-spacing: 0; margin-top: 2px; color: #9aa890; }
.footer-inner p { font-size: 9px; color: #9aa890; margin: 0; line-height: 1.8; }
.footer-time { margin-left: auto; color: #a0ad95; font-size: 8px; letter-spacing: 1px; white-space: nowrap; }
.noscript { position: fixed; bottom: 20px; left: 20px; right: 20px; padding: 20px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 8px; }
.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; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1500px) { .page-shell { padding-top: 34px; } }
@media (max-width: 1050px) {
  .header-inner, .page-shell, .footer-inner { padding-left: 28px; padding-right: 28px; }
  .header-inner { gap: 35px; }
  .metric { padding: 0 16px; }
  .metric-value { font-size: 24px; }
  .footer-time { display: none; }
}
@media (max-width: 760px) {
  .filter-compact-row .filter-group { width: 200px; min-width: 0; flex: initial; }
  .filters-panel { padding: 14px 15px 3px; }
  .filter-group { width: 240px; }
  .filter-bottom { flex-wrap: wrap; }
  .filter-bottom .filter-field { min-width: 130px; }
  .filter-count { font-size: 9px; }
  .filter-count strong { font-size: 11px; }
  .filter-top { flex-wrap: wrap; gap: 11px; }
  .filter-group, .filter-search { flex: 1; min-width: 180px; }
  .filter-count { margin: 0; padding: 0; width: 100%; }
  .header-inner { min-height: 72px; padding: 0 20px; gap: 20px; flex-wrap: wrap; }
  .brand { font-size: 16px; gap: 8px; letter-spacing: 1.5px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 8px; }
  .brand-mark svg { width: 23px; height: 23px; }
  .main-nav { margin-left: auto; font-size: 10px; gap: 20px; }
  .header-status { display: none; }
  .page-shell { padding: 30px 20px 44px; }
  .page-heading { align-items: start; margin-bottom: 24px; gap: 14px; }
  h1 { font-size: 24px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 8px; }
  .page-description { font-size: 10px; max-width: 310px; }
  .update-meta { font-size: 9px; }
  .update-schedule { font-size: 9px; padding: 3px 7px; }
  .rule-tabs-wrap { margin-bottom: 15px; }
  .rule-tab { padding: 9px 13px; font-size: 11px; }
  .rule-context { margin-bottom: 17px; }
  .rule-context h2 { font-size: 16px; }
  .rule-context p { font-size: 10px; }
  .chart-card { padding: 19px 17px 15px; }
  .chart-visual { min-height: 180px; }
  .chart-topline h2 { font-size: 13px; }
  .chart-subtitle { font-size: 9px; }
  .chart-range button { padding: 4px 7px; font-size: 9px; }
  .chart-legend { font-size: 9px; gap: 9px 15px; }
  .chart-source { font-size: 8px; }
  .difference-heading h3 { font-size: 10px; }
  .difference-heading .chart-legend { font-size: 8px; gap: 9px; }
  .metric-grid { margin: 16px 0 29px; padding: 17px 2px; }
  .metric { padding: 0 11px; }
  .metric-label { font-size: 9px; }
  .metric-value { font-size: 20px; }
  .metric-unit { font-size: 10px; }
  .metric-value.date { font-size: 15px; padding: 5px 0; }
  .metric-footnote { font-size: 8px; }
  .section-heading h2 { font-size: 16px; }
  .section-heading p { font-size: 10px; }
  .section-aside { display: none; }
  .trade-day-heading { padding: 15px 17px; }
  .day-title { gap: 7px; }
  .day-title h3 { font-size: 12px; }
  .day-note { font-size: 8px; }
  .trade-table th { padding: 9px 17px; }
  .trade-table td { padding: 13px 17px; font-size: 10px; }
  .trade-table td:first-child, .trade-table th:first-child { width: 85px; }
  .hash-block { padding: 13px 17px; }
  .hash-value { font-size: 9px; }
  .verification { padding: 0 17px; }
  .method-section { gap: 25px; }
  .footer-inner { padding: 25px 20px; gap: 30px; }
}
@media (max-width: 520px) {
  .compact-filters { padding: 10px 12px 0; }
  .filter-compact-row { display: grid; grid-template-columns: 1fr; padding-right: 0; gap: 9px; }
  .filter-compact-row .filter-group { width: 100%; padding-right: 75px; }
  .advanced-filters > summary { top: 27px; right: 12px; }
  .advanced-filters .filter-bottom .filter-field { flex-basis: calc(50% - 9px); }
  .advanced-filters .filter-bottom .filter-field:first-child { flex-basis: 100%; }
  .fallback-note { font-size: 8px; }
  .filters-panel { padding: 13px 12px 2px; margin-bottom: 20px; }
  .filter-top { gap: 10px; }
  .filter-group, .filter-search { width: 100%; min-width: 0; max-width: none; flex-basis: 100%; }
  .filter-field select, .filter-field input { font-size: 10px; padding: 6px 8px; }
  .filter-bottom { gap: 9px; }
  .filter-bottom .filter-field { min-width: 0; flex-basis: calc(50% - 9px); }
  .filter-bottom .filter-field:first-child { flex-basis: 100%; max-width: none; }
  .filter-reset { margin-top: 3px; margin-bottom: 0; }
  .filters-panel .rule-tab { max-width: 255px; }
  .curve-chip { max-width: 100%; font-size: 8px; }
  .curve-selection-note { width: 100%; margin-top: 4px; }
  .header-inner { min-height: 65px; padding: 0 16px; gap: 14px; }
  .brand { font-size: 14px; letter-spacing: 1px; gap: 7px; }
  .brand-mark { width: 28px; height: 28px; }
  .main-nav { gap: 15px; font-size: 9px; }
  .main-nav a { gap: 5px; }
  .page-shell { padding: 26px 16px 38px; }
  .page-heading { display: block; margin-bottom: 22px; }
  .page-description { max-width: none; }
  .update-meta { text-align: left; display: flex; flex-wrap: wrap; gap: 7px 12px; align-items: center; margin-top: 13px; }
  .update-schedule { margin: 0; }
  .update-meta br { display: none; }
  .rule-context { gap: 10px; }
  .small-badge { font-size: 8px; padding: 3px 7px; }
  .rule-context h2 { font-size: 15px; }
  .chart-card { padding: 16px 13px 13px; border-radius: 9px; }
  .chart-topline { gap: 7px; }
  .chart-topline h2 { font-size: 12px; }
  .chart-subtitle { max-width: 200px; font-size: 8px; }
  .chart-range { gap: 0; padding: 2px; }
  .chart-range button { padding: 4px 5px; font-size: 8px; }
  .chart-legend { margin-top: 15px; }
  .chart-visual { min-height: 170px; }
  .chart-source { flex-wrap: wrap; gap: 4px; }
  .difference-chart { padding-top: 14px; margin-top: 10px; }
  .difference-heading { gap: 9px; }
  .difference-heading .chart-legend { gap: 7px; font-size: 7px; }
  .difference-heading .legend-swatch { width: 6px; height: 6px; }
  .metric-grid { grid-template-columns: 1fr 1fr; padding: 0 15px; gap: 0; }
  .metric { padding: 15px 7px; border-bottom: 1px solid var(--line); }
  .metric:nth-child(even) { border-right: 0; padding-left: 23px; }
  .metric:nth-child(n+3) { border-bottom: 0; }
  .metric-value { font-size: 24px; }
  .metric-value.date { font-size: 18px; padding: 5px 0; }
  .disclosure-banner { padding: 13px 14px; gap: 9px; }
  .disclosure-banner h3 { font-size: 10px; }
  .disclosure-banner p { font-size: 9px; }
  .trade-day-heading { padding: 13px 14px; align-items: start; }
  .day-title { gap: 7px; }
  .day-title h3 { font-size: 12px; }
  .day-title .day-weekday { display: none; }
  .day-status { font-size: 8px; padding: 2px 5px; }
  .backfill-label { display: block; width: 100%; font-size: 8px; }
  .day-note { max-width: 95px; line-height: 1.7; }
  .trade-table th { padding: 9px 14px; }
  .trade-table td { padding: 12px 14px; font-size: 10px; }
  .trade-table th:first-child, .trade-table td:first-child { width: 66px; padding-right: 4px; }
  .side-tag { min-width: 40px; font-size: 8px; padding: 2px 5px; }
  .stock-code { display: block; margin-left: 0; font-size: 9px; }
  .hash-block { padding: 13px 14px; }
  .hash-meta { gap: 8px; }
  .hash-value { font-size: 8px; }
  .hash-footnote { font-size: 8px; }
  .verification { padding: 0 14px; }
  .verification-actions { gap: 7px; }
  .verification-result { flex-basis: 100%; margin-top: 3px; }
  .private-message { font-size: 9px; padding: 6px 11px; }
  .method-section { grid-template-columns: 1fr; gap: 24px; margin-top: 29px; }
  .footer-inner { align-items: start; gap: 20px; padding: 22px 16px; }
  .footer-brand { font-size: 10px; }
  .footer-brand span { font-size: 8px; }
  .footer-inner p { font-size: 8px; }
  .compare-intro { font-size: 10px; gap: 9px; }
  .compare-count { font-size: 9px; padding: 2px 7px; white-space: nowrap; }
  .compare-table th { padding: 12px 14px; font-size: 9px; }
  .compare-table td { padding: 15px 14px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .loading-spinner { animation: none; } }
