:root {
  color-scheme: light;
  --ink: #10284b;
  --muted: #687890;
  --paper: #edf1f3;
  --card: #faf9f4;
  --line: #ccd6e0;
  --teal: #177e94;
  --mint: #72d5d8;
  --amber: #caa34d;
  --navy: #0b2346;
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, input, select { font: inherit; }
.siteHeader { min-height: 88px; padding: 15px max(28px, calc((100vw - 1540px) / 2)); display: flex; align-items: center; gap: 24px; color: var(--navy); background: #fff; border-bottom: 1px solid rgba(13,31,60,.1); box-shadow: 0 3px 16px rgba(13,31,60,.08); position: sticky; top: 0; z-index: 30; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display:block; height:52px; width:auto; }
.siteNav { margin-left: auto; display: flex; align-items: center; gap: 0; }
.siteNav > * + * { position:relative; margin-left:1px; }
.siteNav > * + *::before { content:""; position:absolute; left:-1px; top:50%; width:1px; height:22px; background:rgba(13,31,60,.18); transform:translateY(-50%); }
.siteNav > a:not(.siteNavCta), .siteNavDropdown > a { padding:12px 18px; background-image:linear-gradient(var(--amber),var(--amber)); background-position:center calc(100% - 5px); background-repeat:no-repeat; background-size:0 2px; transition:color .15s ease,background-size .18s ease; }
.siteNav a { color: var(--navy); text-decoration: none; font-size:16px; font-weight:600; white-space:nowrap; letter-spacing:.01em; }
.siteNav a:hover, .siteNav a[aria-current="page"] { color: #9a741f; }
.siteNav > a:not(.siteNavCta):hover, .siteNavDropdown > a:hover { background-size:calc(100% - 36px) 2px; }
.siteNavDropdown { position: relative; }
.siteNavDropdown > a::after { content: " ▾"; font-size: 9px; opacity: .7; }
.siteNavDropdownMenu { position: absolute; top: 100%; left: 0; z-index: 30; min-width: 240px; padding: 8px 0; visibility: hidden; opacity: 0; background: #fff; border:1px solid rgba(13,31,60,.1); box-shadow: 0 12px 28px rgba(13,31,60,.16); transform: translateY(-6px); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
.siteNavDropdown:hover .siteNavDropdownMenu, .siteNavDropdown:focus-within .siteNavDropdownMenu { visibility: visible; opacity: 1; transform: none; }
.siteNavDropdownMenu a { display: block; padding: 11px 20px; white-space: nowrap; font-size:14px; }
.siteNavDropdownMenu a:hover, .siteNavDropdownMenu a[aria-current="page"] { background: #faf6ed; }
.siteNav a.siteNavCta { padding: 13px 22px; margin-left:18px; background: var(--amber); color: var(--navy); border:1px solid var(--amber); border-radius:3px; font-size:15px; font-weight:600; }
.siteNav a.siteNavCta:hover { color: var(--navy); background: #d8bf83; }
.siteNavToggle { display: none; color: var(--navy); background: transparent; border: 1px solid rgba(13,31,60,.28); border-radius: 3px; padding: 9px 13px; font: inherit; font-size:22px; cursor: pointer; }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { margin: 34px 0 22px; padding: clamp(34px, 6vw, 72px); border-radius: 28px; color: white; background: radial-gradient(circle at 82% 20%, rgba(114,213,216,.2), transparent 28%), linear-gradient(135deg, #071a35, #17365f); display: grid; grid-template-columns: 1.5fr .65fr; gap: 50px; overflow: hidden; }
.eyebrow { margin: 0 0 12px; font-size: 11px; letter-spacing: .19em; font-weight: 900; color: var(--teal); }
.hero .eyebrow { color: var(--amber); }
h1 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(42px, 6.5vw, 78px); line-height: 1.12; letter-spacing: -.055em; }
.lede { max-width: 680px; margin: 24px 0 0; line-height: 2; color: rgba(255,255,255,.76); }
.accountSwitch { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 7px 7px 7px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 800; }
.heroSummary { align-self: end; display: flex; flex-direction: column; padding: 28px; border-radius: 22px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); }
.heroSummary span { font-size: 13px; color: rgba(255,255,255,.68); }
.heroSummary strong { margin: 2px 0; font-family: Georgia, serif; font-size: 72px; line-height: 1.1; }
.heroSummary small { color: var(--mint); }
.summaryGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.summaryGrid article { padding: 20px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.summaryGrid span { display: block; color: var(--muted); font-size: 12px; }
.summaryGrid strong { display: block; margin-top: 7px; font-family: Georgia, serif; font-size: 24px; }
.catalogSection { margin: 22px 0; padding: clamp(24px, 4vw, 46px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.sectionHeading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
h2 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(28px, 4vw, 43px); letter-spacing: -.035em; }
.sectionHeading > p { margin: 0; color: var(--muted); font-size: 13px; }
.filters { display: grid; grid-template-columns: minmax(220px, 1fr) 170px 145px 205px; gap: 12px; margin: 28px 0 20px; }
.filters label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 800; }
.filters input, .filters select { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: white; color: var(--ink); }
.comparisonLimitNote { display: flex; align-items: center; gap: 10px; margin: -6px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.comparisonLimitNote strong { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; color: var(--teal); background: #e3f3ed; font-size: 11px; }
.stateCard { padding: 45px 24px; border: 1px dashed #b7c3be; border-radius: 16px; text-align: center; color: var(--muted); }
.stateCard strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 18px; }
.stateCard p { max-width: 650px; margin: 0 auto; line-height: 1.8; }
.tableWrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 880px; }
.productTable { min-width: 950px; table-layout: fixed; }
.productTable th, .productTable td { padding-inline: 10px; }
.productTable th:nth-child(1) { width: 54px; }
.productTable th:nth-child(2) { width: 90px; }
.productTable th:nth-child(3) { width: 245px; }
.productTable th:nth-child(4) { width: 105px; }
.productTable th:nth-child(5) { width: 88px; }
.productTable th:nth-child(6) { width: 280px; }
.productTable th:nth-child(7) { width: 88px; }
th { padding: 12px 14px; color: var(--muted); background: #f3f4ef; font-size: 11px; text-align: left; letter-spacing: .04em; }
td { padding: 15px 14px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 13px; }
tbody tr:hover { background: #f3f8f4; }
.compareCell { width: 62px; text-align: center; }
.compareCheck { display: inline-grid; justify-items: center; gap: 4px; color: var(--teal); font-size: 10px; font-weight: 900; cursor: pointer; }
.compareCheck input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); cursor: pointer; }
.notComparable { color: #a7b0ac; }
.typeBadge { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #e3f3ed; color: var(--teal); font-size: 10px; font-weight: 900; white-space: nowrap; }
.typeBadge.categoryTone0 { color: #176557; background: #dff2eb; }
.typeBadge.categoryTone1 { color: #315c94; background: #e2ebf8; }
.typeBadge.categoryTone2 { color: #8a4d2f; background: #f7e8dc; }
.typeBadge.categoryTone3 { color: #765184; background: #efe4f3; }
.typeBadge.categoryTone4 { color: #7b6118; background: #f5edcf; }
.typeBadge.categoryTone5 { color: #8c3f48; background: #f7e0e3; }
.typeBadge.categoryTone6 { color: #3e6d37; background: #e4f0dc; }
.typeBadge.categoryTone7 { color: #49606e; background: #e3ebef; }
.closedBadge { margin-left: 5px; background: #eee9e1; color: #7a6b59; }
.productName { max-width: 245px; font-size: 12px; font-weight: 800; line-height: 1.45; }
.productStyle { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.value { font-family: Georgia, serif; font-size: 17px; font-weight: 700; white-space: nowrap; }
.periodReturns { display: grid; grid-template-columns: repeat(4, minmax(54px, 1fr)); gap: 5px; min-width: 250px; }
.periodReturns span { display: grid; gap: 2px; padding: 6px 5px; border-radius: 8px; background: #f4f5f0; text-align: center; white-space: nowrap; }
.periodReturns small { color: var(--muted); font-size: 9px; font-weight: 800; }
.periodReturns strong { font-family: Georgia, serif; font-size: 11px; }
.periodReturns span[data-direction="up"] strong { color: var(--teal); }
.periodReturns span[data-direction="down"] strong { color: #a13b32; }
.periodReturns span[data-direction="none"] strong { color: #a7b0ac; }
.detailButton { border: 1px solid #afc9c1; border-radius: 999px; padding: 7px 11px; background: white; color: var(--teal); font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.sourceLinkButton { display: inline-flex; text-decoration: none; }
.providerLink { display: inline-flex; align-items: baseline; gap: 5px; color: var(--teal); font-weight: 800; text-underline-offset: 3px; }
.providerLink span { font-size: 10px; }
.sourceReview { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #eee9e1; color: #7a6b59; font-size: 10px; font-weight: 900; white-space: nowrap; }
.resultCount { margin: 13px 0 0; color: var(--muted); font-size: 12px; text-align: right; }
.periodReturnsNote { margin: 9px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.comparisonSection { margin: 22px 0; padding: clamp(24px, 4vw, 46px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.comparisonHeading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.comparisonCount { padding: 8px 12px; border-radius: 999px; color: var(--teal); background: #e3f3ed; font-size: 12px; font-weight: 900; white-space: nowrap; }
.comparisonStatus { margin: 14px 0 18px; color: var(--muted); font-size: 13px; }
.comparisonToolbar { display: flex; justify-content: flex-end; margin: -4px 0 14px; }
.comparisonLegend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
.comparisonLegend span { display: inline-grid; grid-template-columns: 10px minmax(80px, auto) auto; align-items: center; gap: 7px; max-width: 100%; color: var(--muted); font-size: 11px; }
.comparisonLegend i { width: 10px; height: 10px; border-radius: 50%; background: var(--series-color); }
.comparisonLegend strong { color: var(--ink); font-family: Georgia, serif; font-size: 12px; }
.comparisonChart { position: relative; min-height: 260px; display: grid; place-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fbfaf5; overflow: hidden; }
.comparisonChart svg { display: block; width: 100%; height: auto; }
.comparisonLine { fill: var(--series-color); stroke: var(--series-color); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.comparisonLine polyline { fill: none; }
.chartZero { stroke: #416a60; stroke-width: 2; stroke-dasharray: 7 4; }
.chartZeroLabel { fill: #31594f; font-size: 10px; font-weight: 900; font-family: "Yu Gothic UI", sans-serif; }
.comparisonNote { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.trendTableToggle { display: block; min-width: 154px; margin: 18px auto 0; padding: 10px 18px; border: 1px solid #afc9c1; border-radius: 999px; background: white; color: var(--teal); font-size: 12px; font-weight: 900; cursor: pointer; }
.comparisonTablePanel { margin-top: 14px; }
.comparisonTableWrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; }
.comparisonTable { min-width: 760px; }
.comparisonTable th { min-width: 130px; }
.comparisonTable th:first-child { min-width: 110px; position: sticky; left: 0; z-index: 1; background: #f3f4ef; }
.comparisonTable tbody th { padding: 13px 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: left; }
.comparisonTable td strong { display: block; color: var(--ink); font-family: Georgia, serif; font-size: 15px; }
.comparisonTable td small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.comparisonGuide, .chartGuide { position: absolute; top: 12px; bottom: 42px; z-index: 2; width: 1px; background: rgba(22,123,104,.5); pointer-events: none; }
.comparisonTooltip { position: absolute; top: 14px; z-index: 4; display: grid; gap: 7px; width: min(390px, calc(100% - 28px)); padding: 12px 14px; border-radius: 12px; color: white; background: rgba(22,49,45,.97); box-shadow: 0 10px 30px rgba(15,42,36,.24); pointer-events: none; }
.comparisonTooltip > strong { font-size: 13px; }
.comparisonTooltipLabels { display: grid; grid-template-columns: 9px minmax(120px,1fr) auto auto; gap: 8px; color: rgba(255,255,255,.58); font-size: 8px; text-align: right; }
.comparisonTooltipRow { display: grid; grid-template-columns: 9px minmax(120px,1fr) auto auto; gap: 8px; align-items: center; font-size: 10px; }
.comparisonTooltipRow i { width: 9px; height: 9px; border-radius: 50%; background: var(--series-color); }
.comparisonTooltipRow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,.78); }
.comparisonTooltipRow b { font-family: Georgia, serif; font-size: 11px; }
.comparisonJump { position: fixed; left: 22px; top: 50%; z-index: 25; padding: 12px 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: white; background: var(--teal); box-shadow: 0 10px 28px rgba(15,42,36,.28); font-size: 12px; font-weight: 900; cursor: pointer; transform: translateY(-50%); animation: comparisonJumpIn .25s ease-out; }
.comparisonJump span { display: inline-block; margin-right: 4px; animation: comparisonArrow 1.4s ease-in-out infinite; }
.comparisonJump strong { margin-left: 5px; padding: 2px 6px; border-radius: 999px; color: var(--teal); background: white; font-size: 10px; }
@keyframes comparisonJumpIn {
  from { opacity: 0; transform: translateY(calc(-50% + 8px)); }
  to { opacity: 1; transform: translateY(-50%); }
}
@keyframes comparisonArrow { 50% { transform: translateY(3px); } }
.policySection { margin: 22px 0 40px; padding: clamp(28px, 5vw, 55px); border-radius: 24px; background: #e5eee9; display: grid; grid-template-columns: .85fr 1.4fr; gap: 28px 60px; }
.policySection > p { margin: 0; line-height: 2; color: #49625c; }
.policySection a { color: var(--teal); font-weight: 800; text-underline-offset: 3px; }
.policySection small { grid-column: 2; color: var(--muted); }
footer { display: flex; justify-content: space-between; padding: 28px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer a { color: inherit; }
dialog { width: min(1120px, calc(100% - 30px)); max-height: calc(100vh - 40px); padding: 42px; border: 0; border-radius: 22px; color: var(--ink); background: var(--card); box-shadow: 0 30px 90px rgba(15,42,36,.28); }
dialog::backdrop { background: rgba(12,31,27,.55); backdrop-filter: blur(4px); }
.dialogClose { position: absolute; top: 15px; right: 17px; border: 0; background: transparent; font-size: 25px; color: var(--muted); cursor: pointer; }
#dialog-provider { color: var(--muted); }
.dialogLatest { display: flex; align-items: baseline; gap: 12px; margin: 24px 0 14px; padding: 18px; border-radius: 13px; background: #edf4f0; }
.dialogLatest span, .dialogLatest small { color: var(--muted); font-size: 12px; }
.dialogLatest strong { font-family: Georgia, serif; font-size: 27px; }
.sourceDetails { margin: 0; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.sourceDetails div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 16px; border-top: 1px solid var(--line); }
.sourceDetails div:first-child { border-top: 0; }
.sourceDetails dt { color: var(--muted); font-size: 12px; }
.sourceDetails dd { margin: 0; font-size: 13px; font-weight: 800; }
.sourceDetails a { color: var(--teal); text-underline-offset: 3px; }
.updatedStatus { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: var(--teal); background: #e3f3ed; font-size: 11px; font-weight: 900; }
.historySection { margin-top: 22px; }
.historyHeading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.historyHeading h3 { margin: 0; font-family: Georgia, "Yu Mincho", serif; font-size: 20px; }
.historyHeading span { color: var(--muted); font-size: 11px; }
.historyToolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 12px; }
.historyRange { display: inline-flex; flex-wrap: wrap; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #f3f4ef; }
.historyRange button { display: grid; min-width: 78px; gap: 1px; padding: 6px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 900; cursor: pointer; }
.historyRange button strong { font-family: Georgia, serif; font-size: 10px; }
.historyRange button[aria-pressed="true"] { color: white; background: var(--teal); }
.historyTableToggle { padding: 8px 14px; border: 1px solid #afc9c1; border-radius: 999px; background: white; color: var(--teal); font-size: 11px; font-weight: 900; cursor: pointer; white-space: nowrap; }
.historySummary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 12px; }
.historySummary article { padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: #f7f7f2; }
.historySummary span { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; }
.historySummary small { font-size: 9px; }
.historySummary strong { display: block; margin-top: 4px; font-family: Georgia, serif; font-size: 19px; }
.historySummary #history-return-rate[data-direction="up"] { color: var(--teal); }
.historySummary #history-return-rate[data-direction="down"] { color: #a13b32; }
.historyChart { position: relative; min-height: 280px; display: grid; place-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fbfaf5; overflow: hidden; }
.historyChart svg, .comparisonChart svg { display: block; width: 100%; height: auto; cursor: default; }
.chartGrid line { stroke: #dce3de; stroke-width: 1; }
.chartGrid text, .chartDates text { fill: var(--muted); font-size: 10px; font-family: "Yu Gothic UI", sans-serif; }
.chartDateTick { stroke: #9fb0aa; stroke-width: 1; }
.chartLine { fill: var(--teal); stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chartLine polyline { fill: none; }
.chartPoint { cursor: default; transition: r .12s ease; }
.chartPoint:hover, .chartPoint:focus { r: 6px; outline: none; }
.chartTooltip { position: absolute; z-index: 3; display: grid; gap: 4px; min-width: 156px; padding: 10px 12px; border-radius: 10px; color: white; background: rgba(22,49,45,.96); box-shadow: 0 8px 24px rgba(15,42,36,.2); pointer-events: none; font-size: 11px; line-height: 1.45; }
.chartTooltip strong { font-size: 12px; }
.chartTooltip span { color: rgba(255,255,255,.78); }
.historyEmpty { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
.historyTablePanel { margin-top: 14px; }
.historyTableWrap { max-height: 330px; overflow: auto; border: 1px solid var(--line); border-radius: 13px; }
.historyDataTable { min-width: 520px; }
.historyDataTable thead { position: sticky; top: 0; z-index: 1; }
.historyDataTable th, .historyDataTable td { text-align: right; }
.historyDataTable th:first-child, .historyDataTable td:first-child { text-align: left; }
.historyDataTable td { padding-block: 11px; }
.historyDataTable td:nth-child(2) { font-family: Georgia, serif; font-weight: 700; }
.historyTableNote { margin: 8px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
@media (max-width: 1180px) {
  .siteHeader { justify-content: space-between; }
  .siteNavToggle { display: block; order: 3; }
  .siteNav { position: absolute; top: 100%; right: 0; left: 0; z-index: 30; margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; max-height: 0; overflow: hidden; background: #fff; transition: max-height .22s ease; box-shadow:0 12px 24px rgba(0,0,0,.25); }
  .siteNav.open { max-height: 620px; }
  .siteNav > * + *::before { display:none; }
  .siteNav > a, .siteNavDropdown > a { display: block; padding: 14px max(28px, calc((100vw - 1184px) / 2)); border-top: 1px solid rgba(13,31,60,.1); background-image:none; }
  .siteNav a.siteNavCta { margin: 12px max(28px, calc((100vw - 1184px) / 2)); text-align: center; }
  .siteNavDropdownMenu { position: static; min-width: 0; padding: 0; visibility: visible; opacity: 1; background: #f4f7f8; box-shadow: none; transform: none; }
  .siteNavDropdownMenu::before { display: none; }
  .siteNavDropdownMenu a { padding: 12px max(44px, calc((100vw - 1152px) / 2)); border-top: 1px solid rgba(13,31,60,.08); }
}
@media (max-width: 820px) {
  main { width: min(100% - 24px, 1180px); }
  .hero { grid-template-columns: 1fr; padding: 34px 26px; }
  .heroSummary { align-self: auto; }
  .summaryGrid { grid-template-columns: repeat(2, 1fr); }
  .sectionHeading { align-items: flex-start; flex-direction: column; }
  .comparisonHeading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .filters { grid-template-columns: 1fr; }
  .comparisonLimitNote { align-items: flex-start; flex-direction: column; gap: 6px; }
  .tableWrap { overflow: visible; border: 0; border-radius: 0; }
  .productTable { display: block; min-width: 0; }
  .productTable thead { display: none; }
  .productTable tbody { display: grid; gap: 10px; }
  .productTable tbody tr {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 6px 10px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fffefa;
  }
  .productTable td { padding: 0; border: 0; }
  .productTable .compareCell { grid-column: 1; grid-row: 1 / 6; width: auto; align-self: start; }
  .productTable .categoryCell { grid-column: 2; grid-row: 1; }
  .productTable .valueCell { grid-column: 3; grid-row: 1; font-size: 16px; text-align: right; }
  .productTable .productName { grid-column: 2 / 4; grid-row: 2; max-width: none; font-size: 12px; }
  .productTable .dateCell { grid-column: 2; grid-row: 3; color: var(--muted); font-size: 10px; }
  .productTable .dateCell::before { content: "基準日 "; }
  .productTable .periodReturnsCell { grid-column: 2 / 4; grid-row: 4; }
  .productTable .detailCell { grid-column: 3; grid-row: 5; text-align: right; }
  .periodReturns { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
  .periodReturns span { grid-template-columns: auto 1fr; align-items: baseline; text-align: left; }
  .periodReturns strong { text-align: right; }
  .policySection { grid-template-columns: 1fr; }
  .policySection small { grid-column: 1; }
}
@media (max-width: 520px) {
  h1 { font-size: 43px; }
  .accountSwitch { border-radius: 16px; padding: 12px 16px; }
  .summaryGrid { grid-template-columns: 1fr 1fr; }
  .summaryGrid article { padding: 16px; }
  dialog { padding: 32px 20px 22px; }
  .sourceDetails div { grid-template-columns: 82px 1fr; }
  .historyHeading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .historyToolbar { align-items: stretch; flex-direction: column; }
  .historyRange { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 13px; }
  .historyRange button { min-width: 0; padding-inline: 5px; }
  .historyTableToggle { align-self: flex-end; }
  .historySummary { grid-template-columns: 1fr; }
  .historyChart { padding: 6px; }
  .comparisonChart { min-height: 220px; padding: 6px; }
  .comparisonLegend span { grid-template-columns: 10px minmax(60px, 1fr) auto; width: 100%; }
  .comparisonToolbar { justify-content: stretch; }
  .comparisonRange { width: 100%; }
  .comparisonJump { left: 12px; top: 50%; }
  .comparisonTooltipRow { grid-template-columns: 9px minmax(85px,1fr) auto; }
  .comparisonTooltipRow b:last-child { grid-column: 2 / 4; }
  .comparisonTooltipLabels { display: none; }
}
