/* Studio styles: business pages. Owned by that page group; shared styles live in ../studio.css. */
/* Pages: support, support-ticket, accounting, payments, insights, profile, fair, docs. Geometry from docs/studio-reference/dom. */

.biz-pink { color: var(--primary); }
.biz-white { color: var(--foreground); }
.biz-white-soft { color: var(--text-mid); display: flex; align-items: center; gap: 6px; }
.biz-note { font-size: 13px; line-height: 18px; }
.biz-link { color: var(--primary); font-size: 13px; line-height: 18px; }
.biz-link:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 3px; }
.biz-link:disabled { opacity: .45; }

/* coin + money ($ with the green coin, dom: svg 20–24px) */
.biz-coin { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 999px; background: var(--success); color: var(--primary-foreground); font-weight: 800; line-height: 1; }
.biz-coin-money { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.biz-coin-money.muted-value > span:last-child { color: var(--muted-foreground); }
.biz-coin-money.muted-value .biz-coin { opacity: .9; }

/* ---------------------------------------------------------------- support */
.biz-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.biz-chip-count { margin-left: 6px; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px; background: var(--secondary); color: var(--foreground); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.chip.active .biz-chip-count { background: var(--primary); }
.biz-ticket-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.biz-ticket { display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 12px 20px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; }
.biz-ticket:hover { background: var(--grey-800); }
.biz-ticket-icon { width: 40px; height: 40px; flex: none; border-radius: 8px; background: var(--secondary); display: flex; align-items: center; justify-content: center; }
.biz-ticket-icon .icon { width: 20px; height: 20px; }
.biz-ticket-title { display: block; font-size: 15px; font-weight: 600; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-ticket-meta { display: block; color: var(--muted-foreground); font-size: 13px; line-height: 18px; }
.biz-attach-item { cursor: pointer; }
.biz-attach-item img { width: 32px; height: 32px; object-fit: cover; border-radius: 6px; flex: none; background: var(--secondary); }
.biz-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-thumb { position: relative; display: inline-block; }
.biz-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--hairline); background: var(--secondary); }
.biz-thumb-x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 999px; background: var(--popover); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }

/* ticket timeline (approximation: the real ticket page was not observed) */
.biz-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.biz-event { display: flex; gap: 12px; align-items: flex-start; }
.biz-comment { background: var(--card); border-radius: 12px; padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border); }
.biz-event.staff .biz-comment { border-color: var(--primary-tint-24); background: linear-gradient(0deg, var(--primary-tint-12), var(--primary-tint-12)), var(--card); }
.biz-event.status { padding: 0 0 0 6px; }
.biz-event-dot { width: 20px; height: 20px; border-radius: 999px; background: var(--secondary); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 2px; }
.biz-event-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.biz-event-time { margin-left: auto; font-size: 12px; }
.biz-comment-body { font-size: 13px; line-height: 20px; }
.biz-composer { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }

.biz-empty-narrow .empty-text { max-width: 210px; }
.biz-empty-compact .empty { min-height: 0; padding: 48px; gap: 8px; }
.biz-empty-compact .empty-icon { margin-bottom: 8px; }
.biz-fair-grid .input { height: 40px; }

/* ---------------------------------------------------------------- accounting (dom/30-team-accounting.dom.txt) */
.biz-acc { display: flex; min-height: calc(var(--vh, 100vh) - var(--topbar-h)); margin-bottom: -64px; }
.biz-acc-filters { width: 294px; flex: none; background: var(--background); border-right: 1px solid var(--hairline); position: sticky; top: var(--topbar-h); height: calc(var(--vh, 100vh) - var(--topbar-h)); overflow-y: auto; }
.biz-acc-section { border-bottom: 1px solid var(--hairline); }
.biz-acc-toggle { width: 100%; height: 49px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--foreground); }
.biz-acc-toggle > .icon { color: var(--muted-foreground); }
.biz-acc-body { padding: 0 16px 16px; border-top: 1px solid var(--hairline); padding-top: 12px; }
.biz-cal { border: 1px solid var(--border); border-radius: 6px; padding: 4px; margin-top: 4px; }
.biz-cal-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 0; height: 32px; }
.biz-cal-title { font-size: 14px; line-height: 20px; font-weight: 500; }
.biz-cal-nav { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--control-border); display: flex; align-items: center; justify-content: center; }
.biz-cal-nav:hover { background: var(--secondary); }
.biz-cal-grid { width: 100%; border-collapse: separate; border-spacing: 0 8px; margin-top: 2px; table-layout: fixed; }
.biz-cal-grid th { font-size: 12px; line-height: 18px; font-weight: 400; color: var(--muted-foreground); text-align: center; }
.biz-cal-grid td { padding: 0; text-align: center; height: 36px; }
.biz-cal-grid td.in { background: var(--accent); }
.biz-cal-grid td.in.first, .biz-cal-grid tr td.in:first-child { border-radius: 6px 0 0 6px; }
.biz-cal-grid td.in.last, .biz-cal-grid tr td.in:last-child { border-radius: 0 6px 6px 0; }
.biz-cal-grid td.in.first.last, .biz-cal-grid tr td.in.first:last-child, .biz-cal-grid tr td.in.last:first-child { border-radius: 6px; }
.biz-cal-day { width: 36px; height: 36px; border-radius: 999px; font-size: 14px; line-height: 20px; color: var(--foreground); }
.biz-cal-day:hover:not(:disabled):not(.edge) { background: var(--grey-600); }
.biz-cal-day.edge { background: var(--primary); }
.biz-cal-day.out { color: var(--muted-foreground); cursor: default; }
.biz-cal-grid td.in .biz-cal-day.out { color: var(--muted-foreground); }
.biz-cal-hint { font-size: 12px; color: var(--muted-foreground); padding: 0 4px 4px; }
.biz-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.biz-preset { height: 34px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; line-height: 18px; }
.biz-preset:hover { background: var(--secondary); }
.biz-checklist { display: flex; flex-direction: column; gap: 4px; }
.biz-checklist-actions { display: flex; justify-content: space-between; padding: 3px 0 4px; }
.biz-check-row { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 8px; margin: 0 -8px; border-radius: 8px; }
.biz-check-row:hover { background: var(--grey-800); }
.biz-checkbox { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; flex: none; margin: 0; border-radius: 6px; border: 1px solid var(--control-border); background: transparent; display: grid; place-content: center; cursor: pointer; }
.biz-checkbox:checked { background: var(--primary); border-color: var(--primary); }
.biz-checkbox:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--primary-foreground); border-bottom: 2px solid var(--primary-foreground); transform: translateY(-1px) rotate(-45deg); }
.biz-check-label { font-size: 14px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-only { font-size: 12px; color: var(--muted-foreground); padding: 2px 8px; border-radius: 6px; opacity: 0; }
.biz-check-row:hover .biz-only, .biz-only:focus-visible { opacity: 1; }
.biz-only:hover { color: var(--foreground); background: var(--secondary); }
.biz-acc-filters .biz-note { margin-top: 10px; font-size: 12px; }
.biz-acc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.biz-acc-head { height: 73px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--hairline); }
.biz-acc-head h1 { font-size: 24px; line-height: 32px; font-weight: 600; }
.biz-filter-toggle { display: none; }
.biz-acc-content { padding: 32px 32px 64px; display: flex; flex-direction: column; gap: 32px; }
.biz-h2 { font-size: 18px; line-height: 24px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; }
.biz-dl { width: 40px; height: 32px; border-radius: 8px; background: var(--primary); color: var(--primary-foreground); display: inline-flex; align-items: center; justify-content: center; }
.biz-dl:hover:not(:disabled) { background: var(--primary-press); }
.biz-dl:disabled { opacity: .5; }
.biz-range { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--muted-foreground); margin: 16px 0 8px; }
.biz-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.biz-tile { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 16px; min-height: 142px; }
.biz-tile .v { font-size: 24px; line-height: 32px; font-weight: 700; }
.biz-tile .vm { font-size: 18px; line-height: 24px; min-height: 27px; display: flex; }
.biz-tile .l { font-size: 14px; line-height: 20px; color: var(--muted-foreground); }
.biz-sub { font-size: 13px; color: color-mix(in srgb, var(--muted-foreground) 70%, transparent); }
.biz-loc-head { display: flex; gap: 8px; align-items: center; font-size: 14px; line-height: 20px; }
.biz-loc-head .t { font-weight: 500; }
.biz-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.biz-chart-title { font-size: 18px; line-height: 24px; font-weight: 600; margin-bottom: 12px; }
.biz-chart-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 32px; min-height: 264px; }
.biz-chart-empty { height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; color: var(--muted-foreground); }
.biz-chart-empty .t { font-size: 14px; line-height: 20px; font-weight: 500; }
.biz-chart-empty .s { font-size: 13px; line-height: 18px; }
.biz-bars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 10px 12px; align-items: center; }
.biz-bar-row { display: contents; font-size: 13px; }
.biz-bar-row > span { font-size: 13px; }
.biz-bar-label { color: var(--muted-foreground); font-weight: 600; }
.biz-bar-track { height: 20px; display: flex; align-items: center; }
.biz-bar { height: 16px; background: var(--chart-1); border-radius: 0 4px 4px 0; display: block; }
.biz-bar-row:hover .biz-bar { filter: brightness(1.15); }
.biz-bar-value { font-weight: 600; font-variant-numeric: tabular-nums; }
.biz-games-table td { white-space: nowrap; }

/* ---------------------------------------------------------------- payments (dom/30-team-payments.dom.txt) */
.biz-pay { gap: 16px; }
.biz-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.biz-card-title { font-size: 18px; line-height: 24px; font-weight: 600; }
.biz-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.biz-method { text-align: left; border: 1px solid var(--hairline); border-radius: 6px; padding: 12px; display: flex; flex-direction: column; gap: 4px; min-height: 141px; }
.biz-method:not([aria-disabled="true"]):hover { border-color: var(--control-border); background: var(--grey-800); }
.biz-method[aria-disabled="true"] { cursor: default; }
.biz-method.selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, transparent); }
.biz-method-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.biz-method-title { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 500; flex-wrap: wrap; }
.biz-method-title .tag { margin-left: 4px; }
.biz-method:not(.selected) .biz-method-title { color: var(--text-mid); }
.biz-method-rates { font-size: 13px; line-height: 18px; color: var(--muted-foreground); text-align: left; }
.biz-method-amount { min-height: 24px; font-size: 14px; }
.biz-method-amount .biz-coin-money { font-weight: 500; }
.biz-method-note { font-size: 13px; line-height: 18px; color: var(--muted-foreground); }
.biz-rules { display: flex; flex-direction: column; gap: 0; }
.biz-rule { font-size: 14px; line-height: 20px; color: var(--muted-foreground); }
.biz-rule strong { font-weight: 700; }
.biz-wallet { font-size: 12px; }

/* ---------------------------------------------------------------- insights (dom/41-insights.dom.txt) */
.biz-ins { padding: 32px 32px 48px; display: flex; flex-direction: column; gap: 24px; max-width: 1400px; margin: 0 auto; }
.biz-ins-h3 { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted-foreground); text-transform: uppercase; margin-bottom: 12px; }
.biz-ins-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.biz-ins-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.biz-ins-tile { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.biz-ins-tile .l { font-size: 14px; line-height: 20px; color: var(--muted-foreground); }
.biz-ins-tile .v { font-size: 24px; line-height: 32px; font-weight: 700; margin-top: 4px; overflow-wrap: anywhere; }
.biz-ins-rank-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.biz-ins-title { font-size: 24px; line-height: 32px; font-weight: 700; }
.biz-ins-controls { gap: 8px; }
.biz-fieldmenu { height: 40px; padding: 8px 12px; background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 10px; font-size: 14px; line-height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.biz-fieldmenu .icon { color: var(--muted-foreground); }
.biz-rank { width: 100%; border-collapse: collapse; border: 1px solid var(--hairline); }
.biz-rank tr { border-top: 1px solid var(--border); }
.biz-rank tr:first-child { border-top: 0; }
.biz-rank td { padding: 0 16px; height: 119px; vertical-align: middle; }
.biz-rank-n { width: 111px; text-align: center; font-size: 24px; line-height: 32px; font-weight: 700; color: var(--muted-foreground); }
.biz-rank-img { width: 128px; padding: 0 16px !important; }
.biz-rank-img img, .biz-rank-noimg { width: 90px; height: 118px; object-fit: cover; display: block; }
.biz-rank-noimg { background: var(--secondary); display: flex; align-items: center; justify-content: center; color: var(--muted-foreground); }
.biz-rank-name .g { font-size: 18px; line-height: 24px; font-weight: 600; }
.biz-rank-name .t { font-size: 18px; line-height: 24px; color: var(--muted-foreground); }
.biz-rank-val { text-align: right; white-space: nowrap; }
.biz-rank-val .a { font-size: 18px; line-height: 24px; font-weight: 700; }
.biz-rank-val .b { font-size: 14px; line-height: 20px; color: var(--muted-foreground); }

/* ---------------------------------------------------------------- profile (dom/40-profile.dom.txt) */
.biz-side nav { padding: 8px; }
.biz-prof { gap: 40px; max-width: 960px; }
.biz-prof-section { gap: 12px; }
.biz-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.biz-list-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.biz-list li:last-child { border-bottom: 0; }
.biz-list-row.revoked { opacity: .6; }
.biz-me { border-bottom: 0; padding: 8px 0; }
.biz-list-icon { width: 32px; height: 32px; flex: none; border-radius: 8px; background: var(--secondary); display: flex; align-items: center; justify-content: center; }
.biz-list-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; line-height: 20px; font-weight: 500; }
.biz-list-meta { display: block; font-size: 13px; line-height: 18px; color: var(--muted-foreground); overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- fair (dom/42-fair.dom.txt) */
.biz-fair { padding: 32px 32px 48px; display: flex; flex-direction: column; gap: 24px; max-width: 1400px; margin: 0 auto; }
.biz-fair-api { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.biz-fair-api:hover { border-color: var(--control-border); }
.biz-fair-api .t { font-weight: 600; }
.biz-fair-api .s { color: var(--text-mid); overflow-wrap: anywhere; }
.biz-fair-api code, .biz-fair-p code { font-family: var(--font-mono); font-size: .9em; background: var(--secondary); border-radius: 4px; padding: 1px 4px; }
.biz-fair-h1 { font-size: 24px; line-height: 32px; font-weight: 700; }
.biz-fair-h2 { font-size: 20px; line-height: 28px; font-weight: 600; }
.biz-fair-h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
.biz-fair-p { font-size: 14px; line-height: 20px; max-width: 900px; }
.biz-fair-strong { font-weight: 600; }
.biz-fair-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text-mid); }
.biz-fair-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.biz-fair-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.biz-fair-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.biz-fair-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.biz-fair-stats > div { background: var(--grey-850); border: 1px solid var(--input-border); border-radius: 10px; padding: 16px; }
.biz-fair-stats .l { color: var(--muted-foreground); font-size: 13px; }
.biz-fair-stats .v { font-size: 24px; line-height: 32px; font-weight: 700; }
.biz-fair-empty { text-align: center; padding: 24px 0; }
.biz-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 480px; overflow: auto; }
.biz-events li { display: grid; grid-template-columns: 32px minmax(90px, max-content) 1fr; gap: 12px; align-items: baseline; padding: 8px 12px; background: var(--grey-850); border-radius: 8px; font-size: 13px; }
.biz-ev-i { color: var(--muted-foreground); font-family: var(--font-mono); }
.biz-ev-type { font-weight: 600; }
.biz-ev-data { font-family: var(--font-mono); font-size: 12px; color: var(--text-mid); overflow-wrap: anywhere; word-break: break-all; }
.biz-json { background: var(--grey-950); border: 1px solid var(--border); border-radius: 8px; padding: 12px; max-height: 480px; overflow: auto; font-size: 12px; margin: 0; }

/* ---------------------------------------------------------------- docs */
.biz-docs { display: flex; min-height: calc(var(--vh, 100vh) - var(--topbar-h)); }
.biz-docs-side { width: 280px; flex: none; border-right: 1px solid var(--hairline); position: sticky; top: var(--topbar-h); height: calc(var(--vh, 100vh) - var(--topbar-h)); overflow-y: auto; }
.biz-doc-nav { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.biz-doc-nav .nav-item { height: auto; min-height: 36px; }
.biz-docs-main { flex: 1; min-width: 0; padding: 32px 32px 64px; display: flex; flex-direction: column; gap: 24px; }
.biz-docs-head { display: flex; flex-direction: column; gap: 8px; }
.biz-doc-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.biz-doc-card { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; height: 100%; }
.biz-doc-card:hover { background: var(--grey-800); }
.biz-doc { max-width: 920px; display: flex; flex-direction: column; gap: 14px; line-height: 1.65; }
.biz-doc .prose { line-height: 1.65; }
.biz-doc .prose ul, .biz-doc .prose ol { margin: 0; }
.biz-doc-h1 { font-size: 24px; line-height: 32px; font-weight: 600; }
.biz-doc-h2 { font-size: 20px; line-height: 28px; font-weight: 600; margin-top: 18px; padding-bottom: 6px; border-bottom: 1px solid var(--hairline); }
.biz-doc-h3 { font-size: 16px; line-height: 24px; font-weight: 600; margin-top: 10px; }
.biz-doc-h4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.biz-doc-pre { background: var(--grey-950); border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; overflow-x: auto; font-size: 12px; line-height: 1.5; margin: 0; }
.biz-doc-pre code { font-family: var(--font-mono); white-space: pre; }
.biz-doc-table { border-collapse: collapse; font-size: 13px; min-width: 100%; }
.biz-doc-table th, .biz-doc-table td { border: 1px solid var(--border); padding: 6px 10px; text-align: left; vertical-align: top; }
.biz-doc-table th { background: var(--card); }
.biz-doc-table .prose p { margin: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .biz-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biz-charts { grid-template-columns: 1fr; }
  .biz-ins-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .biz-acc-filters { width: 260px; }
  .biz-docs-side { width: 220px; }
}
@media (max-width: 767px) {
  .biz-acc { flex-direction: column; margin-bottom: 0; }
  .biz-acc-filters { display: none; width: 100%; position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .biz-acc.filters-open .biz-acc-filters { display: block; order: 1; }
  .biz-acc-main { order: 0; }
  .biz-acc.filters-open .biz-acc-main { order: 2; }
  .biz-filter-toggle { display: inline-flex; }
  .biz-acc-head { padding: 16px; height: auto; }
  .biz-acc-content { padding: 24px 16px 48px; }
  .biz-cal-grid { max-width: 320px; margin-left: auto; margin-right: auto; }
  .biz-methods { grid-template-columns: 1fr; }
  .biz-method-top { flex-direction: column; }
  .biz-method-rates { text-align: left; }
  .biz-ins, .biz-fair { padding: 24px 16px 40px; }
  .biz-ins-grid2 { grid-template-columns: 1fr; }
  .biz-rank td { padding: 0 8px; height: 96px; }
  .biz-rank-n { width: 56px; font-size: 18px; }
  .biz-rank-img { width: 76px; padding: 0 8px !important; }
  .biz-rank-img img, .biz-rank-noimg { width: 60px; height: 80px; }
  .biz-rank-name .g, .biz-rank-name .t, .biz-rank-val .a { font-size: 14px; line-height: 20px; }
  .biz-rank-val .b { font-size: 12px; }
  .biz-fair-head { flex-direction: column; }
  .biz-fair-h1, .biz-fair-h2 { font-size: 24px; line-height: 28px; }
  .biz-docs { flex-direction: column; }
  .biz-docs-side { display: none; }
  .biz-docs-main { padding: 24px 16px 48px; }
  .biz-ticket { padding: 12px; gap: 12px; flex-wrap: wrap; }
  .biz-ticket-title { white-space: normal; }
  .biz-event-time { margin-left: 0; }
  .biz-list-row { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .biz-tile { min-height: 0; }
}
@media (max-width: 480px) {
  .biz-rank-img { display: none; }
}
