#masterRoot { padding: 8px 4px 48px; max-width: 1180px; margin: 0 auto; }
#masterRoot.loading { opacity: .55; transition: opacity .15s; }
.m-hero h1 { margin: 6px 0 8px; font-family: Fraunces, Georgia, serif; font-size: clamp(38px, 6vw, 64px); font-weight: 500; letter-spacing: -.02em; }
.m-hero .hl { background: linear-gradient(transparent 62%, #8fd3e6 62%); }
.m-kicker { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #746b5d); }
.m-controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin: 18px 0; }
.m-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.m-tab, .m-select { padding: 8px 16px; border: 1px solid var(--line, #ded2bf); border-radius: 999px; background: transparent; font: 600 11px/1 Montserrat, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2, #3a372f); cursor: pointer; }
.m-tab.on { background: var(--ink, #151412); border-color: var(--ink, #151412); color: #fff; }
.m-select { background: var(--card, #f9f5ec); }
.m-summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 16px; border: 1px solid var(--line, #ded2bf); border-left: 3px solid #2ca9c9; border-radius: 14px; background: var(--card, #f9f5ec); font-size: 13px; }
.m-badge { flex: none; padding: 4px 9px; border-radius: 6px; background: #e3f0f4; color: #1d7a93; font: 700 10px Montserrat, sans-serif; letter-spacing: .08em; }
.m-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.m-card { padding: 18px 20px; border: 1px solid var(--line, #ded2bf); border-radius: 16px; background: var(--card, #f9f5ec); }
.m-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #746b5d); }
.m-value { margin: 8px 0 10px; font: 800 34px/1 Montserrat, sans-serif; letter-spacing: -.02em; }
.m-bar { width: 26px; height: 3px; border-radius: 2px; margin-bottom: 8px; }
.m-sub { font-size: 11px; color: var(--muted, #746b5d); }
.m-delta { font-weight: 700; }
.m-delta.up { color: #1f7a45; }
.m-delta.down { color: #b3412a; }
.m-panel { margin-bottom: 18px; padding: 22px 24px; border: 1px solid var(--line, #ded2bf); border-radius: 20px; background: var(--card, #f9f5ec); }
.m-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.m-panel-head h2 { margin: 0 0 4px; font: 600 24px Fraunces, Georgia, serif; }
.m-table-wrap { overflow-x: auto; }
.m-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.m-table th { padding: 8px 10px; border-bottom: 1px solid var(--line, #ded2bf); text-align: left; font: 600 10px Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #746b5d); white-space: nowrap; }
.m-table td { padding: 12px 10px; border-bottom: 1px solid var(--line-soft, #e7e1d2); white-space: nowrap; }
.m-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.m-table tbody tr { cursor: pointer; }
.m-table tbody tr:hover, .m-table tbody tr:focus-visible { background: rgba(44, 169, 201, .08); outline: none; }
.m-table tr.idle { opacity: .55; }
.m-handle b { display: block; font-weight: 700; }
.m-handle span { font-size: 11px; color: var(--muted, #746b5d); }
.m-top { display: flex; flex-direction: column; }
.m-top-row { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 14px; align-items: center; padding: 11px 4px; border: 0; border-bottom: 1px solid var(--line-soft, #e7e1d2); background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.m-top-row:hover { background: rgba(44, 169, 201, .08); }
.m-top-row .rank { font-weight: 700; color: var(--muted, #746b5d); }
.m-top-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-top-by { font-size: 11px; color: var(--muted, #746b5d); }
.m-empty { padding: 28px 0; text-align: center; color: var(--muted, #746b5d); }
@media (max-width: 860px) { .m-grid { grid-template-columns: repeat(2, 1fr); } .m-value { font-size: 28px; } }
@media (max-width: 480px) { .m-top-row { grid-template-columns: 24px 1fr auto; } .m-top-by { display: none; } }
.m-notes { margin-top: 4px; padding: 0 6px; font-size: 11px; line-height: 1.6; color: var(--muted, #746b5d); }
.m-notes p { margin: 2px 0; }
