:root {
    --navy: #0a1d3b;
    --blue: #075bea;
    --blue-dark: #044fcf;
    --blue-soft: #edf5ff;
    --line: #d9e3f0;
    --line-soft: #e9eff6;
    --text: #12233f;
    --muted: #65738a;
    --background: #f7f9fc;
    --green: #168445;
    --shadow: 0 8px 24px rgba(20, 43, 80, .07);
    --radius: 13px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--background);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.site-header {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
}
.header-inner {
    width: min(1440px, calc(100% - 42px));
    height: 72px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 42px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
    width: 38px; height: 42px; border: 2px solid var(--blue);
    border-radius: 8px 8px 12px 12px; display: grid; place-items: center;
    color: var(--blue); font-family: Georgia, serif; font-size: 22px; font-weight: 700;
}
.brand-name {
    font-family: Georgia, "Times New Roman", serif; font-size: 27px;
    letter-spacing: -.5px; font-weight: 700; color: var(--navy);
}
.main-nav { display: flex; align-items: center; gap: 35px; font-weight: 650; font-size: 14px; }
.main-nav a:hover { color: var(--blue); }
.account-actions { margin-left: auto; display: flex; gap: 10px; }
.btn {
    min-height: 39px; padding: 0 18px; border-radius: 7px; display: inline-flex;
    align-items: center; justify-content: center; font-weight: 700; font-size: 13px;
}
.btn-outline { border: 1px solid #cbd6e5; background: white; }
.btn-primary { background: var(--blue); color: white; border: 1px solid var(--blue); }
.btn-primary:hover { background: var(--blue-dark); }
button[disabled] { opacity: .65; cursor: not-allowed; }

.hero {
    background:
        radial-gradient(circle at 10% 55%, rgba(7,91,234,.09), transparent 30%),
        radial-gradient(circle at 91% 40%, rgba(7,91,234,.08), transparent 27%), white;
    border-bottom: 1px solid var(--line-soft);
}
.hero-inner { width: min(1100px, calc(100% - 40px)); margin: auto; text-align: center; padding: 44px 0 34px; }
.eyebrow {
    font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 12px;
}
.eyebrow.left { text-align: left; }
.hero h1, .page-heading h1, .case-hero h1, .provider-profile-hero h1, .state-hero h1 {
    margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif;
    letter-spacing: -1.3px;
}
.hero h1 { font-size: clamp(38px, 4vw, 56px); line-height: 1.04; }
.hero-copy { color: #51617a; font-size: 17px; max-width: 760px; margin: 14px auto 22px; line-height: 1.5; }
.search-form {
    max-width: 810px; margin: auto; display: grid; grid-template-columns: 1fr 110px;
    background: white; border: 1px solid #cfd9e7; border-radius: 10px; padding: 5px;
    box-shadow: 0 8px 25px rgba(22, 50, 92, .12);
}
.search-form input { border: 0; outline: 0; padding: 13px 17px; min-width: 0; }
.search-form button { border: 0; border-radius: 7px; background: var(--blue); color: white; font-weight: 750; }
.compact-search { max-width: none; margin: 0 0 18px; box-shadow: none; }

.page-shell { width: min(1420px, calc(100% - 42px)); margin: 22px auto 55px; }
.inner-page { margin-top: 34px; }
.state-panel, .florida-overview, .records-panel, .providers-panel, .sidebar-card, .detail-section,
.provider-profile-hero, .case-hero, .state-hero, .pricing-card {
    background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.state-panel { padding: 22px 24px; margin-bottom: 17px; }
.state-panel-header, .panel-header, .section-title-row {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.state-panel-header { margin-bottom: 17px; }
.state-panel h2, .panel-header h2, .overview-title h2, .section-title-row h2 {
    margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--navy);
}
.state-panel h2 { font-size: 20px; }
.text-link { color: var(--blue); font-weight: 750; font-size: 13px; }
.state-grid { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 6px; }
.state-pill {
    height: 32px; border: 1px solid #d9e2ed; border-radius: 6px; display: grid;
    place-items: center; font-size: 11px; font-weight: 750; background: white;
}
.state-pill.unavailable { color: #99a5b6; background: #fafbfd; cursor: default; }
.state-pill.active { color: white; background: var(--blue); border-color: var(--blue); }

.florida-overview { margin-bottom: 18px; overflow: hidden; }
.overview-header { display: flex; align-items: center; gap: 18px; padding: 24px 27px 18px; }
.florida-icon {
    width: 58px; height: 58px; border-radius: 50%; background: var(--blue-soft); display: grid;
    place-items: center; color: var(--blue); font-weight: 900;
}
.state-silhouette {
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
    -webkit-mask-image: var(--state-mask);
    mask-image: var(--state-mask);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}
.florida-icon .state-silhouette {
    width: 38px;
    height: 30px;
    color: var(--blue);
}
.state-directory-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.state-directory-name {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.state-directory-shape {
    width: 76px;
    height: 54px;
    color: #b8c4d4;
}
.state-directory-shape.is-live {
    color: var(--blue);
}
.state-hero-icon {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.state-hero-icon .state-silhouette {
    width: 66px;
    height: 54px;
}
.state-hero-copy {
    flex: 1;
}

.overview-title { flex: 1; }
.overview-title h2 { font-size: 28px; margin-bottom: 4px; }
.overview-title p { margin: 0; color: var(--muted); font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); min-width: 650px; }
.stat { padding: 10px 25px; border-left: 1px solid var(--line-soft); }
.stat-value {
    display: block; font-family: Georgia, "Times New Roman", serif; color: var(--blue);
    font-size: 27px; font-weight: 700;
}
.stat-label { color: var(--muted); font-size: 11px; margin-top: 3px; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .7fr); gap: 18px; }
.panel-header { min-height: 65px; padding: 17px 21px; border-bottom: 1px solid var(--line-soft); }
.panel-header h2 { font-size: 21px; }
.panel-header span { color: var(--muted); font-size: 12px; }

.record-card { padding: 22px; border-bottom: 1px solid var(--line-soft); }
.record-card:last-child { border-bottom: 0; }
.record-top { display: flex; align-items: flex-start; gap: 16px; }
.record-main { flex: 1; min-width: 0; }
.record-kicker {
    color: var(--blue); font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
    font-weight: 850; margin-bottom: 5px;
}
.record-title {
    margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--navy);
    font-size: 19px;
}
.record-id { margin-top: 5px; color: #7a879b; font-size: 12px; }
.record-status, .status-chip {
    border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 800;
    background: var(--blue-soft); color: var(--blue);
}
.record-status { max-width: 180px; }
.status-chip.secondary { background: #f4f6f9; color: #53627a; }
.record-fields { margin-top: 17px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px 24px; }
.field-label {
    display: block; color: #7c899d; text-transform: uppercase; font-size: 9px;
    font-weight: 800; letter-spacing: .07em; margin-bottom: 4px;
}
.field-value { color: #263a58; font-size: 12px; line-height: 1.35; }
.money { font-weight: 850; color: var(--green); }
.summary {
    margin-top: 15px; padding: 13px 15px; border-left: 3px solid #8ab7fb;
    background: #f7faff; color: #40526d; font-size: 12px; line-height: 1.55;
}
.record-card-footer { margin-top: 14px; }

.provider-card { display: block; padding: 17px 19px; border-bottom: 1px solid var(--line-soft); }
.provider-card:last-child { border-bottom: 0; }
.provider-card:hover, .result-row:hover, .provider-directory-card:hover { background: #fbfdff; }
.provider-name {
    font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 16px; margin-bottom: 4px;
}
.provider-meta { color: var(--muted); font-size: 11px; line-height: 1.5; }
.provider-type {
    display: inline-block; margin-top: 8px; padding: 4px 7px; font-size: 9px;
    border-radius: 5px; background: #f0f5fb; font-weight: 800; text-transform: uppercase;
}
.empty { padding: 30px; color: var(--muted); font-size: 13px; }

.pro-banner {
    margin-top: 18px; background: linear-gradient(100deg, #081d3d, #123d76);
    border-radius: var(--radius); color: white; padding: 23px 26px; display: grid;
    grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
}
.pro-icon {
    width: 46px; height: 46px; background: rgba(255,255,255,.12); border-radius: 50%;
    display: grid; place-items: center;
}
.pro-banner h3 { margin: 0 0 4px; font-family: Georgia, serif; }
.pro-banner p { margin: 0; color: #c8d8ed; font-size: 12px; }
.pro-features { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 10px; font-size: 11px; }
.pro-features span::before { content: "✓"; margin-right: 5px; color: #73e0a0; }

.page-heading {
    display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px;
}
.page-heading h1 { font-size: clamp(34px, 4vw, 48px); }
.page-heading p { margin: 8px 0 0; color: var(--muted); }
.heading-count {
    padding: 8px 12px; border-radius: 8px; background: var(--blue-soft);
    color: var(--blue); font-weight: 800; font-size: 13px;
}
.centered-heading { justify-content: center; text-align: center; }
.centered-heading p { max-width: 700px; margin: 10px auto 0; }

.filter-panel {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; gap: 12px;
    padding: 16px; margin-bottom: 18px; background: white; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.provider-filters { grid-template-columns: 2fr 1fr 1fr auto; }
.filter-panel label {
    display: block; margin-bottom: 5px; color: #6c7a8f; font-size: 10px;
    font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}
.filter-panel input, .filter-panel select {
    width: 100%; height: 40px; border: 1px solid #cfd9e7; border-radius: 7px;
    padding: 0 10px; background: white; color: var(--navy);
}
.filter-actions { display: flex; gap: 7px; align-items: end; }
.filter-actions .btn { height: 40px; }

.claim-list-card {
    display: grid; grid-template-columns: 1fr 180px; gap: 24px; padding: 22px;
    border-bottom: 1px solid var(--line-soft);
}
.claim-list-card:last-child { border-bottom: 0; }
.claim-list-main h2 {
    margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--navy); font-size: 20px;
}
.claim-list-meta { margin-top: 6px; color: var(--muted); font-size: 12px; }
.claim-list-facts { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11px; color: #53627a; }
.claim-list-facts b { color: #7b899d; text-transform: uppercase; font-size: 9px; letter-spacing: .05em; }
.claim-list-summary { margin: 14px 0 0; color: #465872; font-size: 12px; line-height: 1.55; }
.claim-list-side { border-left: 1px solid var(--line-soft); padding-left: 20px; display: flex; flex-direction: column; align-items: flex-end; }
.payment-figure { color: var(--green); font-family: Georgia, serif; font-size: 24px; font-weight: 700; }
.claim-list-side > span { color: var(--muted); font-size: 10px; margin-bottom: auto; }
.claim-list-side .text-link { margin-top: 24px; }
.pagination-wrap, .pagination-inside { margin-top: 20px; }
.pagination-inside { padding: 0 20px 20px; }
.pagination-wrap nav, .pagination-inside nav { font-size: 12px; }

.breadcrumbs {
    display: flex; gap: 8px; align-items: center; color: #77869b; font-size: 12px; margin-bottom: 14px;
}
.breadcrumbs a { color: var(--blue); }
.case-hero, .provider-profile-hero, .state-hero {
    padding: 27px 30px; margin-bottom: 18px; display: flex; justify-content: space-between; gap: 28px; align-items: flex-start;
}
.case-hero h1, .provider-profile-hero h1, .state-hero h1 { font-size: clamp(30px, 4vw, 43px); }
.case-subtitle, .provider-profile-main > p, .state-hero p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.case-status-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }

.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.case-main { display: grid; gap: 18px; }
.detail-section { padding: 23px 25px; }
.section-title-row { margin-bottom: 18px; }
.section-title-row h2 { font-size: 21px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 30px; }
.detail-grid > div { padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.detail-grid span, .snapshot-row span, .payment-record span {
    display: block; color: #7a889b; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px;
}
.detail-grid strong { color: #233754; font-size: 12px; line-height: 1.45; font-weight: 650; }
.provider-detail-card {
    display: flex; justify-content: space-between; gap: 20px; padding: 16px; background: #f9fbfe;
    border: 1px solid var(--line-soft); border-radius: 9px;
}
.provider-detail-card h3 { margin: 0; font-family: Georgia, serif; font-size: 18px; }
.provider-detail-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.provider-detail-meta { text-align: right; color: #53627a; font-size: 11px; }
.provider-detail-meta span { display: block; margin-bottom: 4px; }
.subsection { margin-top: 22px; }
.subsection h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 16px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list span { padding: 6px 9px; border-radius: 6px; background: #f0f5fb; color: #405774; font-size: 11px; }

.payment-record {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; padding: 17px;
    margin-bottom: 18px; background: #f7fbf8; border: 1px solid #dcebe1; border-radius: 9px;
}
.payment-record strong { font-size: 13px; color: #244234; }
.payment-record > div:first-child strong { color: var(--green); font-size: 24px; font-family: Georgia, serif; }
.financial-grid { margin-top: 18px; }
.inline-empty { padding: 15px; margin-bottom: 15px; background: #fafbfd; border-radius: 8px; }

.case-sidebar { display: grid; gap: 18px; position: sticky; top: 92px; }
.sidebar-card { padding: 20px; }
.sidebar-card h3 { margin: 0 0 15px; font-family: Georgia, serif; color: var(--navy); }
.snapshot-row { padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.snapshot-row:last-child { border-bottom: 0; }
.snapshot-row strong { display: block; color: #273b58; font-size: 12px; overflow-wrap: anywhere; }
.timeline-item { padding: 0 0 16px 18px; border-left: 2px solid #c8dbf5; position: relative; }
.timeline-item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); position: absolute; left: -5px; top: 3px; }
.timeline-item span { color: var(--muted); font-size: 10px; }
.timeline-item p { margin: 5px 0 0; font-size: 12px; line-height: 1.5; }
.record-disclaimer {
    padding: 16px 18px; border: 1px solid #e4e8ee; border-radius: 9px; background: #fbfcfd;
    color: #68778d; font-size: 11px; line-height: 1.55;
}
.wide-disclaimer { margin-top: 18px; }

.search-results-grid, .analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.result-row {
    display: flex; justify-content: space-between; gap: 18px; padding: 18px 20px;
    border-bottom: 1px solid var(--line-soft); align-items: center;
}
.result-row:last-child { border-bottom: 0; }
.result-primary { min-width: 0; }
.result-primary h3 { margin: 2px 0 5px; font-family: Georgia, serif; font-size: 17px; color: var(--navy); }
.result-type { color: var(--blue); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; font-weight: 850; }
.result-meta { color: var(--muted); font-size: 11px; line-height: 1.45; }
.result-amount { flex-shrink: 0; color: #355274; font-size: 12px; font-weight: 750; text-align: right; }

.provider-directory { display: grid; gap: 10px; }
.provider-directory-card {
    display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
    background: white; border: 1px solid var(--line); border-radius: 10px; padding: 17px 19px;
}
.provider-avatar {
    width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center;
    background: var(--blue-soft); color: var(--blue); font-family: Georgia, serif; font-weight: 700; font-size: 18px;
}
.provider-avatar.large { width: 72px; height: 72px; font-size: 27px; flex-shrink: 0; }
.provider-directory-main h2 { margin: 0; font-family: Georgia, serif; font-size: 18px; }
.provider-directory-main p { margin: 3px 0; color: #53627a; font-size: 11px; }
.provider-directory-main span { color: var(--muted); font-size: 10px; }
.provider-directory-stats {
    display: grid; grid-template-columns: auto auto; gap: 2px 8px; text-align: right; align-items: baseline;
}
.provider-directory-stats strong, .provider-directory-stats b { font-family: Georgia, serif; color: var(--navy); }
.provider-directory-stats span { color: var(--muted); font-size: 9px; text-transform: uppercase; }

.provider-profile-hero { align-items: center; }
.provider-profile-main { flex: 1; }
.provider-profile-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.provider-profile-meta span { padding: 5px 8px; border-radius: 6px; background: #f2f6fb; color: #52677f; font-size: 10px; }
.profile-stats { display: flex; gap: 30px; text-align: right; }
.profile-stats div { min-width: 120px; }
.profile-stats strong { display: block; color: var(--blue); font-family: Georgia, serif; font-size: 25px; }
.profile-stats span { color: var(--muted); font-size: 10px; }
.provider-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.provider-profile-grid aside { display: grid; gap: 18px; }

.state-directory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.state-directory-card {
    display: flex; justify-content: space-between; align-items: center; gap: 15px;
    background: white; border: 1px solid var(--line); border-radius: 9px; padding: 16px;
    color: #8793a5;
}
.state-directory-card.available { color: var(--navy); border-color: #b8d0f1; }
.state-directory-card > div { display: flex; align-items: center; gap: 10px; }
.state-directory-card strong { color: inherit; font-family: Georgia, serif; font-size: 21px; }
.state-directory-card span { font-size: 12px; }
.state-directory-card b { font-size: 10px; font-weight: 750; }

.state-hero { align-items: center; }
.state-hero > div:first-child { flex: 1; }
.state-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; text-align: right; }
.state-hero-stats strong { display: block; font-family: Georgia, serif; color: var(--blue); font-size: 25px; }
.state-hero-stats span { color: var(--muted); font-size: 10px; }
.state-actions { display: flex; gap: 9px; margin-bottom: 18px; }

.ranking-list { padding: 5px 20px 15px; }
.ranking-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.ranking-row:last-child { border-bottom: 0; }
.rank {
    width: 27px; height: 27px; border-radius: 50%; background: #f1f5fa; display: grid;
    place-items: center; color: #62738c; font-size: 10px; font-weight: 800;
}
.ranking-row strong { font-size: 12px; color: #2f425e; }
.ranking-row b { color: var(--blue); font-family: Georgia, serif; }

.analytics-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.analytics-stats > div { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 18px; box-shadow: var(--shadow); }
.analytics-stats span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: .05em; }
.analytics-stats strong { display: block; margin-top: 6px; color: var(--blue); font-family: Georgia, serif; font-size: 24px; }
.analytics-table { padding: 5px 18px 15px; }
.analytics-table-head, .analytics-table a { display: grid; grid-template-columns: 1fr 90px 130px; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.analytics-table-head { color: var(--muted); font-size: 9px; text-transform: uppercase; font-weight: 800; }
.analytics-table a { font-size: 11px; }
.analytics-table a b { color: var(--green); text-align: right; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1120px; margin: 0 auto; }
.pricing-card { padding: 27px; }
.pricing-card.featured { border: 2px solid var(--blue); transform: translateY(-4px); }
.pricing-label { color: var(--blue); text-transform: uppercase; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.pricing-card h2 { font-family: Georgia, serif; font-size: 25px; margin: 8px 0; }
.pricing-price { font-size: 18px; font-weight: 850; color: var(--navy); margin: 12px 0; }
.pricing-card p { color: var(--muted); font-size: 12px; line-height: 1.6; min-height: 58px; }
.pricing-card ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.pricing-card li { color: #425671; font-size: 12px; }
.pricing-card li::before { content: "✓"; color: var(--green); margin-right: 8px; }
.full-btn { width: 100%; }

.site-footer {
    border-top: 1px solid var(--line); background: white; color: var(--muted);
    padding: 28px 20px; text-align: center; font-size: 11px;
}

@media (max-width: 1120px) {
    .main-nav { display: none; }
    .state-grid { grid-template-columns: repeat(10, 1fr); }
    .overview-header { flex-wrap: wrap; }
    .stat-grid { width: 100%; min-width: 0; }
    .filter-panel, .provider-filters { grid-template-columns: repeat(2, 1fr); }
    .filter-wide { grid-column: 1 / -1; }
    .case-layout, .provider-profile-grid { grid-template-columns: 1fr; }
    .case-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
    .state-directory { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
    .header-inner, .page-shell { width: min(100% - 24px, 1420px); }
    .account-actions .btn-outline { display: none; }
    .state-grid { grid-template-columns: repeat(6, 1fr); }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid, .search-results-grid, .analytics-grid { grid-template-columns: 1fr; }
    .record-fields, .detail-grid { grid-template-columns: repeat(2, 1fr); }
    .pro-banner { grid-template-columns: auto 1fr; }
    .pro-banner > .btn { grid-column: 1 / -1; }
    .claim-list-card { grid-template-columns: 1fr; }
    .claim-list-side { border-left: 0; border-top: 1px solid var(--line-soft); padding: 14px 0 0; align-items: flex-start; }
    .claim-list-side > span { margin-bottom: 0; }
    .provider-profile-hero, .case-hero, .state-hero { flex-wrap: wrap; }
    .profile-stats, .state-hero-stats { width: 100%; text-align: left; }
    .state-directory { grid-template-columns: repeat(2, 1fr); }
    .analytics-stats { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: none; }
}
@media (max-width: 520px) {
    .account-actions { display: none; }
    .hero h1 { font-size: 37px; }
    .state-grid { grid-template-columns: repeat(5, 1fr); }
    .record-top { display: block; }
    .record-status { display: inline-block; margin-top: 10px; }
    .record-fields, .detail-grid, .filter-panel, .provider-filters, .analytics-stats { grid-template-columns: 1fr; }
    .filter-wide { grid-column: auto; }
    .page-heading { align-items: flex-start; flex-direction: column; }
    .provider-directory-card { grid-template-columns: auto 1fr; }
    .provider-directory-stats { grid-column: 1 / -1; text-align: left; }
    .case-sidebar { grid-template-columns: 1fr; }
    .payment-record { grid-template-columns: 1fr; }
    .provider-detail-card { flex-direction: column; }
    .provider-detail-meta { text-align: left; }
    .state-directory { grid-template-columns: 1fr; }
    .state-hero-stats { grid-template-columns: 1fr; }
    .profile-stats { flex-direction: column; gap: 10px; text-align: left; }
    .analytics-table-head, .analytics-table a { grid-template-columns: 1fr 70px 100px; }
}


/* NotDoctored legal/footer expansion */
.legal-page { max-width: 980px; }
.legal-hero { padding: 34px 0 28px; }
.legal-hero h1 { margin: 8px 0 12px; max-width: 820px; }
.legal-hero p { margin: 0; max-width: 800px; color: #5e6774; line-height: 1.7; }
.legal-content-card { background: #fff; border: 1px solid #e6e9ee; border-radius: 18px; padding: 34px; box-shadow: 0 8px 30px rgba(20,31,48,.04); margin-bottom: 48px; }
.legal-content-card h2 { margin: 28px 0 8px; font-size: 1.12rem; }
.legal-content-card h2:first-child { margin-top: 0; }
.legal-content-card p { margin: 0 0 14px; color: #4f5967; line-height: 1.75; }
.legal-content-card a { color: #155eef; font-weight: 600; }
.site-footer { padding: 0; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 44px 24px 30px; display: grid; grid-template-columns: minmax(260px,1.25fr) 2fr; gap: 60px; }
.footer-logo { display: inline-flex; margin-bottom: 14px; }
.footer-brand p { max-width: 420px; margin: 7px 0; }
.footer-disclaimer { font-size: .84rem; line-height: 1.55; opacity: .78; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { margin-bottom: 3px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(120,130,145,.18); max-width: 1180px; margin: 0 auto; padding: 18px 24px 26px; font-size: .84rem; opacity: .75; }
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr; gap: 30px; } .footer-links { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .legal-content-card { padding: 24px 20px; } .footer-links { grid-template-columns: 1fr; } }


/* NotDoctored auth/subscription shell */
.auth-page { max-width: 760px; }
.auth-card { max-width: 560px; margin: 52px auto; background: #fff; border: 1px solid #e6e9ee; border-radius: 18px; padding: 34px; box-shadow: 0 10px 34px rgba(20,31,48,.05); }
.auth-card h1 { margin: 8px 0 8px; }
.auth-intro { color: #5e6774; line-height: 1.7; }
.auth-form { display: grid; gap: 18px; margin-top: 26px; }
.auth-form label { display: grid; gap: 7px; font-weight: 700; }
.auth-form input[type="text"], .auth-form input[type="email"], .auth-form input[type="password"] { width: 100%; border: 1px solid #ccd3dd; border-radius: 10px; padding: 12px 13px; font: inherit; }
.auth-form small { font-weight: 400; color: #6b7481; }
.check-row { display: flex !important; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; }
.check-row input { margin-top: 3px; }
.terms-row a, .auth-switch a { color: #155eef; font-weight: 700; }
.auth-switch { margin-top: 22px; color: #5e6774; }
.form-alert { background: #f5f8ff; border: 1px solid #ccdafa; border-radius: 10px; padding: 12px 14px; margin: 18px 0; }
.error-alert { background: #fff6f6; border-color: #f1c6c6; }
.account-page { max-width: 1040px; }
.account-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-bottom: 48px; }
.account-card { background: #fff; border: 1px solid #e6e9ee; border-radius: 16px; padding: 26px; }
.account-card h2 { margin: 8px 0 10px; }
.account-card p { color: #5e6774; line-height: 1.65; }
.account-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.status-pill { border: 1px solid #d5dae2; border-radius: 999px; padding: 5px 10px; font-size: .8rem; font-weight: 700; }
.status-active { border-color: #9cd7b2; background: #effaf3; }
.account-details { display: grid; gap: 0; margin: 22px 0 0; }
.account-details div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid #eceff3; }
.account-details dt { color: #68717e; }
.account-details dd { margin: 0; font-weight: 700; text-align: right; }
.provider-buttons { display: grid; gap: 10px; margin: 20px 0 12px; }
.fine-print { font-size: .84rem; }
.logout-form { display: inline; margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
@media (max-width: 760px) { .account-grid { grid-template-columns: 1fr; } .auth-card { margin: 28px auto; padding: 24px 20px; } }


/* NotDoctored record access tiers */
.record-access-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin: 22px 0 28px;
    padding: 24px 26px;
    border: 1px solid #d9e2f5;
    border-radius: 16px;
    background: #f7f9fe;
}
.record-access-banner h2 { margin: 5px 0 7px; }
.record-access-banner p { margin: 0; max-width: 760px; line-height: 1.65; color: #596474; }
.locked-record-section {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    padding: 25px;
    border: 1px solid #dfe4ec;
    border-radius: 15px;
    background: #fafbfc;
}
.locked-record-section h2 { margin: 5px 0 7px; }
.locked-record-section p { margin: 0; line-height: 1.62; color: #606a78; }
.locked-record-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #d8dee8;
    border-radius: 50%;
    background: #fff;
    font-size: 1rem;
}
.locked-inline { font-weight: 700; color: #5c6572; }
.locked-signal {
    display: inline-block;
    margin-top: 10px;
    font-size: .86rem;
    font-weight: 700;
    color: #4d5968;
}
.locked-snapshot strong { color: #5b6572; }
.upgrade-sidebar-card { border-color: #cad8f3; background: #f7f9fe; }
.upgrade-sidebar-card p { color: #5d6673; }
@media (max-width: 760px) {
    .record-access-banner { align-items: flex-start; flex-direction: column; }
    .locked-record-section { grid-template-columns: 1fr; }
}


/* NotDoctored provider access tiers */
.provider-preview-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #dfe4ec;
    border-radius: 14px;
    background: #fafbfc;
}
.provider-preview-more span {
    color: #616b78;
}
@media (max-width: 760px) {
    .provider-preview-more {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* NotDoctored admin dashboard */
.admin-page { padding-bottom: 50px; }
.admin-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:24px; }
.admin-heading h1 { margin-bottom:6px; }
.admin-heading p { margin:0; color:#616b78; }
.admin-actions { display:flex; gap:10px; }
.admin-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:24px; }
.admin-metrics > div { padding:20px; border:1px solid #e1e5eb; border-radius:14px; background:#fff; }
.admin-metrics span { display:block; color:#687280; font-size:.85rem; margin-bottom:5px; }
.admin-metrics strong { display:block; font-size:1.45rem; }
.admin-panel { margin-bottom:22px; padding:22px; border:1px solid #e1e5eb; border-radius:16px; background:#fff; }
.admin-grid-two { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.admin-table-wrap { overflow-x:auto; }
.admin-table { width:100%; border-collapse:collapse; }
.admin-table th,.admin-table td { padding:13px 12px; text-align:left; vertical-align:top; border-bottom:1px solid #edf0f3; }
.admin-table th { font-size:.78rem; text-transform:uppercase; letter-spacing:.04em; color:#677180; }
.admin-table td strong,.admin-table td span { display:block; }
.admin-table td span { margin-top:3px; font-size:.86rem; color:#6d7682; }
.admin-badge,.security-badge { display:inline-block; margin-top:6px; padding:3px 7px; border-radius:999px; font-size:.72rem; font-style:normal; font-weight:800; }
.admin-badge { background:#eef3ff; color:#34518c; }
.security-badge { background:#fff1f0; color:#a13b35; }
.admin-list-row { display:flex; justify-content:space-between; gap:18px; padding:13px 0; border-bottom:1px solid #edf0f3; }
.admin-list-row:last-child { border-bottom:0; }
.admin-list-row strong,.admin-list-row span,.admin-list-row b { display:block; }
.admin-list-row span { margin-top:3px; color:#697381; font-size:.84rem; }
.admin-search { display:flex; gap:10px; margin-bottom:18px; }
.admin-search input { flex:1; min-width:0; padding:12px 14px; border:1px solid #d9dee6; border-radius:10px; }
@media (max-width:900px) { .admin-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .admin-grid-two { grid-template-columns:1fr; } }
@media (max-width:650px) { .admin-heading { align-items:flex-start; flex-direction:column; } .admin-metrics { grid-template-columns:1fr; } }

/* NotDoctored admin account actions */
.admin-action-form { margin: 0 0 18px; }
.admin-action-form:last-child { margin-bottom: 0; }
.admin-action-form label { display:block; margin-bottom:8px; font-weight:700; }
.admin-action-row { display:flex; gap:10px; }
.admin-action-row select { min-width:160px; padding:11px 12px; border:1px solid #d9dee6; border-radius:10px; background:#fff; }
.admin-action-form textarea { width:100%; padding:11px 12px; margin-bottom:10px; border:1px solid #d9dee6; border-radius:10px; resize:vertical; }
.admin-table a { text-decoration:none; }
.admin-table a:hover { text-decoration:underline; }

/* Header sign-out button */
.logout-form {
    margin: 0;
    display: inline-flex;
}

.logout-button {
    font: inherit;
    cursor: pointer;
    white-space: nowrap;
}


/* NotDoctored search workbench */
.search-page-heading { margin-bottom: 20px; }
.nd-search-workbench {
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
}
.nd-search-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 18px;
}
.nd-search-main input,
.nd-filter-grid input,
.nd-filter-grid select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d8dee7;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
    font: inherit;
}
.nd-search-main input { min-height: 48px; }
.nd-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.nd-filter-grid label span {
    display: block;
    margin-bottom: 6px;
    font-size: .82rem;
    font-weight: 700;
    color: #46536a;
}
.nd-advanced-filters {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf0f4;
}
.nd-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.nd-filter-heading div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nd-filter-heading strong { font-size: .95rem; }
.nd-filter-heading span,
.locked-mini {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 8px;
    background: #eef4ff;
    color: #315b9a;
    font-size: .72rem;
    font-weight: 800;
}
.nd-pro-filter-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.nd-pro-filter-preview span {
    border: 1px dashed #cfd7e3;
    background: #f8fafc;
    color: #667085;
    border-radius: 9px;
    padding: 9px 11px;
    font-size: .82rem;
}
.nd-filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.nd-result-tabs {
    display: flex;
    gap: 8px;
    margin: 22px 0 14px;
    border-bottom: 1px solid #e5eaf0;
}
.nd-result-tabs a {
    padding: 11px 14px;
    margin-bottom: -1px;
    color: #667085;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    font-weight: 700;
}
.nd-result-tabs a.active {
    color: #111827;
    border-bottom-color: currentColor;
}
.nd-search-section { margin-bottom: 18px; }
.nd-search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 18px;
    border-top: 1px solid #edf0f4;
    text-decoration: none;
    color: inherit;
}
.nd-search-result:hover { background: #fafbfd; }
.nd-search-result h3 { margin: 3px 0 5px; }
.nd-result-body { min-width: 0; }
.nd-result-detail {
    margin-top: 6px;
    color: #667085;
    font-size: .84rem;
}
.nd-result-side {
    min-width: 150px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    color: #667085;
    font-size: .82rem;
}
.nd-result-side strong {
    color: #111827;
    font-size: .95rem;
}
.nd-pagination { padding: 18px; border-top: 1px solid #edf0f4; }
@media (max-width: 900px) {
    .nd-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .nd-search-main { grid-template-columns: 1fr; }
    .nd-filter-grid { grid-template-columns: 1fr; }
    .nd-filter-heading { align-items: flex-start; flex-direction: column; }
    .nd-filter-actions { flex-direction: column; }
    .nd-search-result { align-items: flex-start; flex-direction: column; gap: 10px; }
    .nd-result-side { min-width: 0; text-align: left; align-items: flex-start; }
    .nd-result-tabs { overflow-x: auto; white-space: nowrap; }
}



.nd-filter-data-note {
    margin: 12px 0 0;
    color: #667085;
    font-size: .78rem;
    line-height: 1.45;
}


/* Saved searches + alerts */
.nd-save-search-card {
    margin: 18px 0 0;
    padding: 16px;
    border: 1px solid #dfe6ee;
    border-radius: 14px;
    background: #fff;
}
.nd-save-search-card form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 10px;
    align-items: center;
}
.nd-save-search-card input[type="text"] {
    min-height: 42px;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    padding: 9px 11px;
    font: inherit;
}
.nd-save-search-alert {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .85rem;
    color: #4b5563;
}
.saved-searches-panel { margin-top: 20px; }
.saved-search-row {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 390px);
    gap: 20px;
    padding: 18px;
    border-top: 1px solid #edf0f4;
}
.saved-search-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.saved-search-title-row h3 { margin: 0; }
.saved-search-main p {
    margin: 7px 0 0;
    color: #667085;
    font-size: .85rem;
}
.saved-search-links { margin-top: 9px; }
.saved-search-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.saved-search-actions form { margin: 0; }
.saved-search-rename {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}
.saved-search-rename input {
    min-width: 0;
    border: 1px solid #d7dee8;
    border-radius: 9px;
    padding: 8px 10px;
    font: inherit;
}
.status-live, .status-muted {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: .72rem;
    font-weight: 800;
}
.status-live { background: #ecfdf3; color: #087443; }
.status-muted { background: #f2f4f7; color: #667085; }
@media (max-width: 760px) {
    .nd-save-search-card form { grid-template-columns: 1fr; }
    .saved-search-row { grid-template-columns: 1fr; }
}


/* Saved-search alert matches */
.saved-search-match-row {
    padding: 18px;
    border-top: 1px solid #edf0f4;
}
.saved-search-match-row h3 {
    margin: 4px 0 5px;
}
.saved-search-match-row p {
    margin: 0 0 8px;
    color: #667085;
    font-size: .85rem;
}



/* Saved-search unread/seen flow */
.saved-search-match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.saved-search-match-row.is-new {
    background: rgba(31, 111, 235, 0.045);
}
.saved-search-match-row.is-seen {
    opacity: 0.78;
}
.saved-search-match-topline {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nd-new-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    background: #eaf2ff;
    color: #175cd3;
}
.saved-search-seen-form {
    flex: 0 0 auto;
}
.saved-search-seen-label {
    color: #667085;
    font-size: .8rem;
    font-weight: 600;
}
@media (max-width: 700px) {
    .saved-search-match-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Pro CSV exports */
.nd-export-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0;
    padding: 18px 20px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
}
.nd-export-toolbar > div:first-child { display: grid; gap: 3px; }
.nd-export-toolbar span,
.account-card-note,
.export-history-row span { color: #667085; font-size: .86rem; }
.nd-export-actions,
.saved-search-links { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.nd-export-actions form,
.inline-export-form { margin: 0; }
.button-link {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    cursor: pointer;
}
.export-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid #eaecf0;
}
.export-history-row > div { display: grid; gap: 3px; }
.export-history-row time { color: #667085; font-size: .84rem; }
@media (max-width: 700px) {
    .nd-export-toolbar,
    .export-history-row { align-items: flex-start; flex-direction: column; }
}

/* NotDoctored Pro advanced analytics */
.pro-analytics-page {
    padding-top: 34px !important;
    padding-bottom: 64px;
}

.pro-analytics-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.pro-analytics-heading h1 {
    margin: 5px 0 8px;
    max-width: 820px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.pro-analytics-heading p {
    max-width: 760px;
    margin: 0;
    color: #667085;
    font-size: .98rem;
    line-height: 1.6;
}

.pro-analytics-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 22px;
}

.pro-analytics-metrics > div {
    min-width: 0;
    padding: 20px;
    border: 1px solid #e3e8ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .035);
}

.pro-analytics-metrics span {
    display: block;
    margin-bottom: 8px;
    color: #667085;
    font-size: .78rem;
    font-weight: 750;
    line-height: 1.35;
}

.pro-analytics-metrics strong {
    display: block;
    overflow-wrap: anywhere;
    color: #111827;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    line-height: 1.15;
    letter-spacing: -.02em;
}

.pro-analytics-panel {
    margin-bottom: 20px;
    overflow: hidden;
}

.pro-analytics-panel > .panel-header {
    padding: 20px 22px;
    border-bottom: 1px solid #edf0f4;
}

.pro-analytics-panel > .panel-header h2 {
    margin: 0 0 5px;
}

.pro-analytics-panel > .panel-header span {
    color: #667085;
    font-size: .84rem;
}

.pro-analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.pro-analytics-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.pro-analytics-panel:first-of-type .pro-analytics-table-wrap {
    max-height: 570px;
    overflow-y: auto;
}

.pro-analytics-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: #fff;
}

.pro-analytics-table th,
.pro-analytics-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #edf0f4;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.pro-analytics-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    color: #667085;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.pro-analytics-table td {
    color: #344054;
    font-size: .88rem;
}

.pro-analytics-table tbody tr:hover {
    background: #fafbfd;
}

.pro-analytics-table td:first-child {
    white-space: normal;
}

.pro-analytics-table a {
    color: #111827;
    text-decoration: none;
}

.pro-analytics-table a:hover {
    text-decoration: underline;
}

.pro-table-sub {
    display: block;
    margin-top: 4px;
    color: #667085;
    font-size: .76rem;
}

.pro-ranking-list {
    padding: 4px 18px 16px;
}

.pro-ranking-row {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(130px, 1.25fr);
    align-items: center;
    gap: 18px;
    padding: 14px 2px;
    border-bottom: 1px solid #edf0f4;
}

.pro-ranking-row:last-child {
    border-bottom: 0;
}

.pro-ranking-row strong {
    display: block;
    color: #111827;
    font-size: .9rem;
    line-height: 1.35;
}

.pro-ranking-row span {
    display: block;
    margin-top: 3px;
    color: #667085;
    font-size: .77rem;
    line-height: 1.35;
}

.pro-bar-track {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf1f5;
}

.pro-bar-track > span {
    display: block;
    height: 100%;
    min-width: 3px;
    border-radius: inherit;
    background: #1f3d63;
}

.pro-analytics-page .record-disclaimer {
    margin-top: 24px;
}

@media (max-width: 1100px) {
    .pro-analytics-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .pro-analytics-page {
        padding-top: 24px !important;
    }

    .pro-analytics-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .pro-analytics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pro-analytics-metrics {
        grid-template-columns: 1fr;
    }

    .pro-ranking-row {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .pro-analytics-panel > .panel-header {
        padding: 17px;
    }

    .pro-analytics-table th,
    .pro-analytics-table td {
        padding: 10px 12px;
    }
}
