/* Reusable components: page headers, panels, buttons, forms, tables, badges, charts. */

/* ---- page structure ------------------------------------------------- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 20px; }
.page-head h1 { font-size: var(--fs-2xl); font-weight: 800; letter-spacing: -0.02em; }
.page-sub { margin-top: 6px; color: var(--text-2); }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.entity-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-bottom: 20px; padding: 18px 20px; border: 1px solid var(--border); border-left: 4px solid var(--team, var(--accent)); border-radius: var(--radius-lg); background: linear-gradient(100deg, color-mix(in srgb, var(--team, var(--accent)) 16%, var(--surface)) 0%, var(--surface) 55%); }
/* The name block keeps at least ~380px; the season/actions controls wrap underneath before squeezing it. */
.entity-head .entity-main { display: flex; align-items: center; gap: 16px; min-width: min(100%, 380px); flex: 1 1 380px; }
.entity-head .page-actions { flex: 0 1 auto; }
.entity-head h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--fs-2xl); font-weight: 800; }
.entity-head .page-sub a { font-weight: 700; }

.page-grid { display: grid; gap: 18px; }
.page-grid--aside { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
/* Not sticky: asides are often taller than the screen, and a sticky one hides its own bottom. */
.page-grid--aside > aside { display: grid; gap: 18px; min-width: 0; }
.page-grid--aside > aside .table th, .page-grid--aside > aside .table td { white-space: normal; }
.page-grid--aside > aside .table td.num, .page-grid--aside > aside .table th.num { white-space: nowrap; }
.stack { display: grid; gap: 18px; }
.stack-sm { display: grid; gap: 10px; }

.panel { min-width: 0; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--highlight), var(--shadow-sm); }
.panel--flush { padding: 0; overflow: hidden; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 14px; }
.panel-head h2 { font-size: var(--fs-lg); font-weight: 800; }
.panel-head h3 { font-size: var(--fs-md); font-weight: 800; }
.panel-sub { margin-top: 3px; color: var(--text-3); font-size: var(--fs-sm); }
.eyebrow { color: var(--accent); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.section-title { margin: 22px 0 10px; font-size: var(--fs-md); font-weight: 800; }
.section-title:first-child { margin-top: 0; }
.muted { color: var(--text-3); }
.note { color: var(--text-3); font-size: var(--fs-sm); }
.top-gap { margin-top: 18px; }
.grow { flex: 1; min-width: 0; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

/* ---- buttons -------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text);
    font: 700 var(--fs-sm) var(--font);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:hover { border-color: var(--text-3); background: var(--surface-3); color: var(--text); text-decoration: none; }
.btn--primary { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 12px rgba(157, 27, 29, 0.22); }
.btn--primary:hover { border-color: var(--accent-hover); background: var(--accent-hover); color: var(--accent-ink); box-shadow: 0 6px 16px rgba(157, 27, 29, 0.3); }
.btn--ghost { border-color: transparent; background: transparent; color: var(--text-2); }
.btn--ghost:hover { border-color: var(--border); background: var(--surface-2); }
.btn--sm { min-height: 30px; padding: 0 10px; font-size: var(--fs-xs); }
.btn--icon { width: 36px; padding: 0; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn .icon { width: 16px; height: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

.link-action { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-size: var(--fs-sm); font-weight: 700; }
.link-action .icon { width: 14px; height: 14px; }

.star-btn { color: var(--text-3); }
.star-btn .icon { width: 18px; height: 18px; }
.star-btn[aria-pressed="true"] { border-color: var(--warn); color: var(--warn); }
.star-btn[aria-pressed="true"] .icon { fill: var(--warn); }

/* ---- forms ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin-bottom: 16px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.field { display: grid; gap: 5px; min-width: 120px; color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.field--grow { flex: 1; min-width: 200px; }
/* Narrow fields size to their longest option (e.g. "2026-27", "Regular season") instead of clipping it. */
.field--narrow { min-width: 86px; width: auto; }
.field input, .field select, .field textarea, .control {
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--input-bg);
    color: var(--text);
    font: 500 var(--fs-md) var(--font);
    letter-spacing: 0;
    text-transform: none;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.field select, select.control { padding-right: 28px; }
.field input:focus, .field select:focus, .control:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.field input[type="range"] { padding: 0; accent-color: var(--accent); background: transparent; border: 0; box-shadow: none; }
.field output { color: var(--text); font-size: var(--fs-sm); text-transform: none; }
.check { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; color: var(--text-2); font-size: var(--fs-sm); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.field-help { color: var(--text-3); font-size: var(--fs-xs); font-weight: 500; text-transform: none; letter-spacing: 0; }

.form-card { display: grid; gap: 14px; margin-bottom: 18px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-2); }
.form-step { display: flex; align-items: center; gap: 10px; }
.form-step h3, .form-step strong { font-size: var(--fs-md); font-weight: 800; }
.step-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: var(--fs-sm); font-weight: 800; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.form-grid > .field { min-width: 0; }
.form-grid .field--wide { grid-column: span 2; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }

details.advanced { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
details.advanced > summary { padding: 11px 14px; color: var(--text-2); font-weight: 700; cursor: pointer; }
details.advanced[open] > summary { border-bottom: 1px solid var(--border); }
details.advanced > .advanced-body { display: grid; gap: 12px; padding: 14px; }
details.advanced h4 { font-size: var(--fs-sm); }

/* chips */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 11px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-3); color: var(--text); font-size: var(--fs-sm); font-weight: 700; }
.chip a.chip-x, .chip button.chip-x { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: var(--text-3); cursor: pointer; }
.chip .chip-x:hover { background: var(--bad-soft); color: var(--bad); text-decoration: none; }
.chip .chip-x .icon { width: 13px; height: 13px; }
.chip--slot { border-style: dashed; color: var(--text-3); font-weight: 500; padding-right: 11px; }
.chip--slot.filled { border-style: solid; color: var(--text); font-weight: 700; }
.chip small { color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; }

.preset-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.preset-row .eyebrow { margin-right: 4px; }
.preset { padding: 4px 10px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; transition: border-color var(--ease), background var(--ease), color var(--ease); }
.preset:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--text); text-decoration: none; }

.segmented { display: inline-flex; flex-wrap: wrap; gap: 3px; margin-bottom: 14px; padding: 3px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.segmented a, .segmented button { padding: 7px 13px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-2); font: 700 var(--fs-sm) var(--font); cursor: pointer; }
.segmented a:hover, .segmented button:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
.segmented .active, .segmented [aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }

/* entity picker (type-ahead) */
.picker { position: relative; }
.picker .search-panel { left: 0; right: auto; width: 100%; min-width: 280px; }

/* stat picker (research / compare) */
.stat-picker-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stat-picker-tools .control { max-width: 260px; }
.stat-picker { display: grid; gap: 6px; }
.stat-group { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.stat-group > summary { display: flex; justify-content: space-between; padding: 9px 12px; color: var(--text-2); font-size: var(--fs-sm); font-weight: 800; cursor: pointer; }
.stat-group > summary .count { color: var(--accent); font-weight: 700; }
.stat-group-body { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 12px; }
.stat-chip { position: relative; }
.stat-chip input { position: absolute; opacity: 0; pointer-events: none; }
.stat-chip span { display: inline-block; padding: 5px 10px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text-2); font-size: var(--fs-sm); cursor: pointer; }
.stat-chip:hover span { border-color: var(--text-3); color: var(--text); }
.stat-chip input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.stat-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.stat-chip[hidden] { display: none; }

.threshold-rows { display: grid; gap: 8px; }
.threshold-row { display: grid; grid-template-columns: minmax(0, 2fr) 80px minmax(0, 1fr) 36px; gap: 8px; }
.threshold-row > * { min-width: 0; }

/* ---- tables --------------------------------------------------------- */
.table-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; margin: 0 0 8px; }
.table-tools .tools-label { margin-right: auto; color: var(--text-3); font-size: var(--fs-sm); }
.col-menu { position: relative; }
.col-menu > summary { list-style: none; }
.col-menu > summary::-webkit-details-marker { display: none; }
.col-menu-list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; display: grid; gap: 2px; min-width: 200px; max-height: 320px; overflow-y: auto; padding: 8px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--popover); box-shadow: var(--shadow); }
.col-menu-list label { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 4px; color: var(--text-2); font-size: var(--fs-sm); cursor: pointer; }
.col-menu-list label:hover { background: var(--surface-3); }
.col-menu-list input { accent-color: var(--accent); }

.table-wrap { position: relative; max-width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
.table-wrap--tall { max-height: 640px; overflow-y: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-md); font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; white-space: nowrap; }
.table thead th { position: sticky; top: 0; z-index: 2; background: var(--surface-2); color: var(--text-3); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.table tbody tr:nth-child(even) td { background: rgba(120, 80, 40, 0.025); }
.table tbody tr:hover td { background: var(--surface-3); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; }
.table .center { text-align: center; }
.table td.wrap { white-space: normal; min-width: 220px; }
.table th.wrap-head { white-space: normal; min-width: 72px; max-width: 120px; line-height: 1.25; }
.table tr.is-highlight td { background: var(--accent-soft) !important; }
.table tr.is-highlight td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.table tr.section-row td { padding-top: 14px; background: var(--surface-2) !important; color: var(--text-3); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.table--compact th, .table--compact td { padding: 6px 10px; font-size: var(--fs-sm); }
.table--sticky-first tbody td:first-child, .table--sticky-first thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); }
.table--sticky-first thead th:first-child { z-index: 3; background: var(--surface-2); }
.table--sticky-first tbody tr:hover td:first-child { background: var(--surface-2); }
.table th[data-sort-key], .table[data-sortable] thead th:not([data-nosort]) { cursor: pointer; user-select: none; }
.table thead th a { color: inherit; }
.table thead th a:hover { color: var(--text); text-decoration: none; }
.table th[aria-sort]::after { content: ""; display: inline-block; margin-left: 5px; border: 4px solid transparent; vertical-align: 1px; }
.table th[aria-sort="ascending"]::after { border-bottom-color: var(--accent); vertical-align: 3px; }
.table th[aria-sort="descending"]::after { border-top-color: var(--accent); vertical-align: -1px; }
.table th abbr { text-decoration: none; cursor: help; }
.table .col-hidden { display: none; }
.table td .sub { display: block; color: var(--text-3); font-size: var(--fs-xs); }
.table-empty { padding: 18px; color: var(--text-3); text-align: center; }

.cell-entity { display: inline-flex; align-items: center; gap: 10px; max-width: 280px; color: var(--text); font-weight: 700; }
.cell-entity span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cell-entity span .sub { white-space: nowrap; }
.cell-entity:hover { color: var(--accent); }
a.cell-entity { color: var(--text); }

/* ---- avatars, badges, tags ------------------------------------------ */
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; object-fit: cover; background: var(--surface-3); color: var(--text-3); font-size: 10.5px; font-weight: 800; }
.avatar--sm { width: 22px; height: 22px; font-size: 9px; }
.avatar--lg { width: 48px; height: 48px; font-size: 14px; }
.avatar--xl { width: 76px; height: 76px; font-size: 22px; }
.avatar--logo { border-radius: 6px; background: transparent; object-fit: contain; }

.rank { display: inline-flex; align-items: center; gap: 2px; padding: 1px 6px; border-radius: 4px; font-size: var(--fs-xs); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
a.rank:hover { text-decoration: none; filter: brightness(1.2); }
.rank--elite { background: var(--good-soft); color: var(--tier-elite); }
.rank--good { color: var(--tier-good); }
.rank--mid { color: var(--tier-mid); }
.rank--poor { color: var(--tier-poor); }
.rank--bad { background: var(--bad-soft); color: var(--tier-bad); }
.rank .arrow { font-size: 8px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--text-3); font-size: var(--fs-sm); }

.poll { margin-right: 4px; color: var(--warn); font-size: var(--fs-xs); font-weight: 800; }
.tag { display: inline-block; min-width: 30px; padding: 1px 6px; border: 1px solid var(--border-strong); border-radius: 4px; color: var(--text-2); font-size: var(--fs-xs); font-weight: 800; text-align: center; }
.tag--accent { border-color: var(--accent); color: var(--accent); }
.result { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 4px; font-size: var(--fs-xs); font-weight: 800; }
.result--W { background: var(--good-soft); color: var(--good); }
.result--L { background: var(--bad-soft); color: var(--bad); }
.result--T { background: var(--surface-3); color: var(--text-2); }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.pill--final { color: var(--text-3); }
.pill--in-progress, .pill--live { background: rgba(207, 70, 48, 0.12); color: var(--live); }
.pill--scheduled { background: var(--accent-soft); color: var(--accent); }
.win { color: var(--text); font-weight: 800; }
.loss { color: var(--text-3); }

.injury-status { font-weight: 800; }
.injury-out, .injury-injured-reserve, .injury-suspension { color: var(--bad); }
.injury-doubtful { color: var(--orange); }
.injury-questionable { color: var(--warn); }

/* ---- tiles ---------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.tile { display: grid; align-content: start; gap: 3px; min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); color: var(--text); box-shadow: var(--shadow-sm); transition: border-color var(--ease), transform var(--ease); }
a.tile:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border-strong)); transform: translateY(-1px); text-decoration: none; color: var(--text); }
.tile-label { overflow: hidden; color: var(--text-3); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.tile-value { font-size: var(--fs-xl); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.15; letter-spacing: -0.01em; }
.tile-sub { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: var(--fs-sm); }
.tile .spark { width: 100%; height: 22px; margin-top: 4px; }

/* key/value list */
.kv { display: grid; gap: 0; }
.kv > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--border); }
.kv > div:last-child { border-bottom: 0; }
.kv dt, .kv .k { color: var(--text-2); }
.kv dd, .kv .v { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---- empty states, warnings ----------------------------------------- */
.empty { padding: 30px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--text-3); text-align: center; }
.empty h3 { margin-bottom: 6px; color: var(--text); font-size: var(--fs-lg); }
.empty--sm { padding: 16px; }
.callout { padding: 10px 14px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); background: linear-gradient(90deg, var(--accent-soft), var(--surface-2) 40%); color: var(--text-2); font-size: var(--fs-sm); }
.callout--warn { border-left-color: var(--warn); background: linear-gradient(90deg, var(--warn-soft), var(--surface-2) 40%); }

/* ---- pager ---------------------------------------------------------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.pager form { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: var(--fs-sm); }
.pager .control { width: 70px; }

/* ---- charts --------------------------------------------------------- */
.chart { width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text { fill: var(--text-3); font-family: var(--font); font-size: 11px; }
.chart .grid line { stroke: var(--border); }
.chart .bar { fill: var(--team, var(--accent)); opacity: 0.85; }
.chart .bar:hover { opacity: 1; }
.chart .bar--b { fill: var(--text-3); opacity: 0.55; }
.chart .avg { stroke: var(--warn); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart .roll { fill: none; stroke: var(--text); stroke-width: 2; opacity: 0.75; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; color: var(--text-3); font-size: var(--fs-sm); }
.chart-legend i { display: inline-block; width: 14px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; }
.chart-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.chart-tools .control { width: auto; min-width: 180px; }
.spark polyline { fill: none; stroke: var(--accent-2); stroke-width: 1.6; }
.spark circle { fill: var(--accent-2); }

/* comparison bars inside table cells */
.meter { position: relative; display: block; height: 4px; margin-top: 5px; border-radius: 2px; background: var(--surface-3); }
.meter > i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--text-3); }
.meter--elite > i, .meter--good > i { background: var(--good); }
.meter--poor > i, .meter--bad > i { background: var(--bad); }
.meter--best > i { background: var(--accent-2); }
.best-cell { background: rgba(133, 94, 62, 0.12) !important; }
.direction { color: var(--text-3); font-size: var(--fs-xs); }

@media (max-width: 1280px) {
    .page-grid--aside { grid-template-columns: minmax(0, 1fr); }
    .page-grid--aside > aside { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
}

@media (max-width: 720px) {
    .two-col { grid-template-columns: minmax(0, 1fr); }
    .page-head h1, .entity-head h1 { font-size: var(--fs-xl); }
    .form-grid .field--wide { grid-column: auto; }
    .filters .field, .filters .field--grow { min-width: 100%; }
    .threshold-row { grid-template-columns: minmax(0, 2fr) 54px minmax(0, 1fr) 36px; gap: 6px; }
    .panel { padding: 14px; }
}
.leader-val { text-align: right; }
.leader-val .sub { display: block; color: var(--text-3); font-size: var(--fs-xs); font-weight: 500; }
.chart-tools h2 { font-size: var(--fs-lg); font-weight: 800; }
.meter-cell { min-width: 120px; }
.tile-value--sm { font-size: var(--fs-lg); }
fieldset.field { margin: 0; padding: 0; border: 0; }
fieldset.field legend { margin-bottom: 5px; padding: 0; }
