/* Presentation layer for Pricing, Publications, Data Hub, and Projections only. */
:root {
  --cfb-shell: #081326;
  --cfb-blue: #0057ff;
  --cfb-blue-deep: #003fb8;
  --cfb-cyan: #54d5ff;
  --cfb-surface: #f5f8fc;
  --cfb-line: #dde5f0;
  --cfb-text: #13213a;
}

/* Shared site shell — mirrors the restrained, data-first team-page treatment. */
html[data-cfb-site-shell] body {
  background: var(--cfb-surface);
  color: var(--cfb-text);
}

html[data-cfb-site-shell] header[role="banner"] {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom-color: var(--cfb-line) !important;
  box-shadow: 0 1px 0 rgba(10, 26, 55, 0.03);
}

html[data-cfb-site-shell] header[role="banner"] > div {
  max-width: 86rem !important;
}

html[data-cfb-site-shell] header[role="banner"] .h-16 {
  height: 68px;
}

html[data-cfb-site-shell] header[role="banner"] nav {
  gap: 1.25rem !important;
}

html[data-cfb-site-shell] header[role="banner"] nav a {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.005em;
}

html[data-cfb-site-shell] header[role="banner"] a[aria-current="page"] {
  color: var(--cfb-blue) !important;
  font-weight: 750;
}

html[data-cfb-site-shell] header[role="banner"] .rounded-lg {
  border-radius: 7px;
}

/* Match the team-page header: wordmark-led, compact nav, and 40px actions. */
html[data-cfb-site-shell] header[role="banner"] a[aria-label="CFBDepth.com home"] {
  gap: 0 !important;
  flex: 0 0 auto;
}

html[data-cfb-site-shell] header[role="banner"] a[aria-label="CFBDepth.com home"] > .w-10 {
  display: none !important;
}

html[data-cfb-site-shell] header[role="banner"] a[aria-label="CFBDepth.com home"] > .hidden.sm\\:block {
  display: block !important;
  line-height: 0;
}

html[data-cfb-site-shell] header[role="banner"] a[aria-label="CFBDepth.com home"] img[alt="CFBDepth.com"] {
  width: 144px !important;
  height: 36px !important;
  max-width: none !important;
  object-fit: contain;
  object-position: left center;
}

html[data-cfb-site-shell] header[role="banner"] nav[aria-label="Main navigation"] {
  gap: 3px !important;
  margin-left: 24px;
  margin-right: auto;
}

html[data-cfb-site-shell] header[role="banner"] nav[aria-label="Main navigation"] a {
  color: #4e5b6c !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  padding: 8px 10px !important;
  border-radius: 8px;
}

html[data-cfb-site-shell] header[role="banner"] nav[aria-label="Main navigation"] a:hover {
  color: var(--cfb-text) !important;
  background: #f3f4f6;
}

html[data-cfb-site-shell] header[role="banner"] nav[aria-label="Main navigation"] a[aria-current="page"] {
  color: var(--cfb-blue) !important;
  background: rgba(0, 87, 255, 0.07);
}

html[data-cfb-site-shell] header[role="banner"] .h-9.px-4 {
  min-height: 40px;
  height: 40px;
  padding-left: 14px !important;
  padding-right: 14px !important;
  font-weight: 750;
}

html[data-cfb-site-shell] #main-content {
  background: var(--cfb-surface);
}

html[data-cfb-site-shell] #main-content > .min-h-screen,
html[data-cfb-site-shell] #main-content > div.min-h-screen {
  background: var(--cfb-surface) !important;
}

html[data-cfb-site-shell] #main-content .bg-white.rounded-2xl,
html[data-cfb-site-shell] #main-content .rounded-2xl.bg-white,
html[data-cfb-site-shell] #main-content .bg-white.rounded-xl,
html[data-cfb-site-shell] #main-content .rounded-xl.bg-white {
  border-color: var(--cfb-line) !important;
  box-shadow: 0 8px 22px rgba(16, 37, 71, 0.055) !important;
}

html[data-cfb-site-shell] #main-content .bg-white.rounded-2xl,
html[data-cfb-site-shell] #main-content .rounded-2xl.bg-white {
  border-radius: 16px !important;
}

html[data-cfb-site-shell] #main-content .bg-white.rounded-xl,
html[data-cfb-site-shell] #main-content .rounded-xl.bg-white {
  border-radius: 12px !important;
}

html[data-cfb-site-shell] #main-content .border-gray-100,
html[data-cfb-site-shell] #main-content .border-gray-200,
html[data-cfb-site-shell] #main-content .border-gray-300 {
  border-color: var(--cfb-line) !important;
}

html[data-cfb-site-shell] #main-content button:not([disabled]),
html[data-cfb-site-shell] #main-content a[role="button"] {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

html[data-cfb-site-shell] #main-content button:not([disabled]):hover,
html[data-cfb-site-shell] #main-content a[role="button"]:hover {
  transform: translateY(-1px);
}

html[data-cfb-site-shell] #main-content input,
html[data-cfb-site-shell] #main-content select {
  border-color: #cfd9e8 !important;
  border-radius: 9px !important;
  box-shadow: 0 1px 2px rgba(16, 37, 71, 0.04);
}

html[data-cfb-site-shell] #main-content input:focus,
html[data-cfb-site-shell] #main-content select:focus {
  border-color: var(--cfb-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.12) !important;
  outline: none;
}

html[data-cfb-site-shell] #main-content table {
  font-variant-numeric: tabular-nums;
}

html[data-cfb-site-shell] #main-content thead tr {
  background: #f0f5ff !important;
}

html[data-cfb-site-shell] #main-content thead th {
  color: #30415f !important;
  font-size: 0.68rem;
  font-weight: 800 !important;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

html[data-cfb-site-shell] #main-content tbody tr:hover {
  background: #f5f8ff !important;
}

html[data-cfb-site-shell] #main-content [style*="background: rgb(158, 22, 50)"] {
  background: linear-gradient(135deg, var(--cfb-blue), #2477ff) !important;
}

/* The existing Depth Charts selector becomes an extension of the team hub. */
html[data-cfb-route="teams"] #main-content > div > div:first-child {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(84, 213, 255, 0.22), transparent 24rem),
    linear-gradient(122deg, var(--cfb-shell), #0b255b 54%, var(--cfb-blue) 140%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.14) !important;
}

html[data-cfb-route="teams"] #main-content > div > div:first-child h1 {
  color: #fff !important;
  letter-spacing: 0.02em;
}

html[data-cfb-route="teams"] #main-content > div > div:first-child p {
  color: rgba(241,247,255,0.76) !important;
}

html[data-cfb-route="teams"] #main-content .space-y-12 > div > div:first-child h2 {
  color: var(--cfb-text) !important;
  border-color: var(--cfb-blue) !important;
}

html[data-cfb-route="teams"] #main-content a.group.relative.bg-white {
  border-color: var(--cfb-line) !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(16,37,71,0.05);
}

html[data-cfb-route="teams"] #main-content a.group.relative.bg-white:hover {
  border-color: rgba(0, 87, 255, 0.45) !important;
  box-shadow: 0 14px 26px rgba(17, 55, 112, 0.13) !important;
}

html[data-cfb-route="teams"] #main-content a.group.relative.bg-white > div:nth-child(2) {
  background: linear-gradient(135deg, #0b255b, var(--cfb-blue)) !important;
}

/* Common home, game, and utility-page content gets the same compact canvas. */
html[data-cfb-route="home"] #main-content .bg-gray-50,
html[data-cfb-route="games"] #main-content .bg-gray-50,
html[data-cfb-route="data-tables"] #main-content .bg-gray-50 {
  background: var(--cfb-surface) !important;
}

html[data-cfb-site-shell] footer[role="contentinfo"] {
  border-top: 3px solid var(--cfb-blue);
}

@media (max-width: 780px) {
  html[data-cfb-site-shell] header[role="banner"] a[aria-label="CFBDepth.com home"] img[alt="CFBDepth.com"] {
    width: 118px !important;
  }
}

/* Responsive utility shell: maintain usable controls and prevent squeezed tables. */
@media (max-width: 640px) {
  html[data-cfb-site-shell] header[role="banner"] { min-height: 60px; }
  html[data-cfb-site-shell] header[role="banner"] .h-16 { height: 60px; }
  html[data-cfb-site-shell] header[role="banner"] > div { padding-left: 14px !important; padding-right: 14px !important; }
  html[data-cfb-site-shell] header[role="banner"] a[aria-label="CFBDepth.com home"] img[alt="CFBDepth.com"] { width: 110px !important; height: 30px !important; }
  html[data-cfb-site-shell] #main-content { overflow-x: clip; }
  html[data-cfb-site-shell] #main-content table { min-width: max-content; }
  html[data-cfb-site-shell] #main-content [style*="overflow-x: auto"],
  html[data-cfb-site-shell] #main-content .overflow-x-auto { -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; }
  html[data-cfb-site-shell] #main-content button,
  html[data-cfb-site-shell] #main-content a[role="button"] { min-height: 40px; }
  html[data-cfb-site-shell] header[role="banner"] a[aria-current="page"],
  body[data-cfb-refresh-page] header[role="banner"] a[aria-current="page"] {
    color: #fff !important;
    background: linear-gradient(135deg, var(--cfb-blue), #2477ff) !important;
    box-shadow: 0 5px 14px rgba(0, 87, 255, 0.24);
  }
  html[data-cfb-site-shell] footer[role="contentinfo"] { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
}

body[data-cfb-refresh-page] header[role="banner"] {
  min-height: 68px;
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom-color: var(--cfb-line) !important;
  box-shadow: 0 1px 0 rgba(10, 26, 55, 0.03);
}

body[data-cfb-refresh-page] header[role="banner"] a[aria-current="page"] {
  color: var(--cfb-blue) !important;
  font-weight: 700;
}

body[data-cfb-refresh-page] #main-content > div {
  background: var(--cfb-surface) !important;
}

body[data-cfb-refresh-page] #main-content > div > div:first-child {
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 8%, rgba(84, 213, 255, 0.24), transparent 25rem),
    radial-gradient(circle at 9% 115%, rgba(0, 87, 255, 0.35), transparent 28rem),
    linear-gradient(122deg, var(--cfb-shell) 0%, #0b255b 46%, var(--cfb-blue) 125%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 -1px rgba(255, 255, 255, 0.12), 0 12px 28px rgba(5, 26, 65, 0.13);
}

body[data-cfb-refresh-page] #main-content > div > div:first-child h1 {
  letter-spacing: 0.025em;
  text-wrap: balance;
}

body[data-cfb-refresh-page] #main-content > div > div:first-child p {
  color: rgba(241, 247, 255, 0.78) !important;
}

body[data-cfb-refresh-page] #main-content .bg-white.rounded-2xl,
body[data-cfb-refresh-page] #main-content .rounded-2xl.bg-white {
  border-color: var(--cfb-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 22px rgba(16, 37, 71, 0.055) !important;
}

body[data-cfb-refresh-page] #main-content .bg-white.rounded-2xl:hover,
body[data-cfb-refresh-page] #main-content .rounded-2xl.bg-white:hover {
  border-color: rgba(0, 87, 255, 0.34) !important;
  box-shadow: 0 14px 30px rgba(16, 48, 100, 0.1) !important;
}

body[data-cfb-refresh-page] #main-content button:not([disabled]),
body[data-cfb-refresh-page] #main-content a[role="button"] {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

body[data-cfb-refresh-page] #main-content button:not([disabled]):hover,
body[data-cfb-refresh-page] #main-content a[role="button"]:hover {
  transform: translateY(-1px);
}

/* Pricing: let the plans read as a compact comparison set. */
body[data-cfb-refresh-page="pricing"] #main-content > div > div:first-child {
  padding-top: clamp(3.25rem, 7vw, 5.25rem) !important;
  padding-bottom: clamp(3rem, 6vw, 4.5rem) !important;
}

body[data-cfb-refresh-page="pricing"] #main-content > div > div:nth-child(2) {
  max-width: 82rem;
}

body[data-cfb-refresh-page="pricing"] #main-content .grid.md\\:grid-cols-3 > div {
  overflow: hidden;
}

body[data-cfb-refresh-page="pricing"] #main-content .border-2.border-signal-blue {
  border-color: var(--cfb-blue) !important;
  box-shadow: 0 16px 36px rgba(0, 87, 255, 0.16) !important;
}

body[data-cfb-refresh-page="pricing"] #main-content .bg-signal-blue,
body[data-cfb-refresh-page="pricing"] #main-content [style*="background: rgb(0, 87, 255)"] {
  background: linear-gradient(135deg, var(--cfb-blue), #2477ff) !important;
}

/* Depth Updates: player-led update cards with easy-to-scan dates. */
body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td.cfb-update-date-cell { color: #31415e; font-variant-numeric: tabular-nums; }
body[data-cfb-refresh-page="updates"] .cfb-update-date { display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 8px; border: 1px solid #dce7fb; border-radius: 7px; background: #f4f8ff; color: #164da8; font-size: 0.72rem; font-weight: 800; line-height: 1; white-space: nowrap; }
body[data-cfb-refresh-page="updates"] .cfb-update-date-year { color: #73819a; font-size: 0.64rem; font-weight: 700; }
body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td:first-child { color: #13213a; font-size: 0.8rem; font-weight: 800; }

@media (max-width: 700px) {
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table,
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table tbody,
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table tr,
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td { display: block; width: 100%; }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table thead { display: none; }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table tbody { padding: 10px; }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table tr { position: relative; min-height: 126px; margin: 0 0 9px; overflow: hidden; border: 1px solid #dfe7f2; border-radius: 12px; padding: 13px 13px 11px; background: #fff !important; box-shadow: 0 2px 8px rgba(16, 37, 71, 0.045); }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table tr:last-child { margin-bottom: 0; }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td { min-height: 0; border: 0; padding: 0; white-space: normal; }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td:first-child { max-width: calc(100% - 92px); margin-bottom: 6px; font-size: 0.94rem; line-height: 1.2; }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td:nth-child(2), body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td:nth-child(3) { display: inline-flex; width: auto; margin-right: 8px; color: #5e6d84; font-size: 0.72rem; }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td:nth-child(4), body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td:nth-child(5), body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td:nth-child(6), body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td:nth-child(7) { display: inline-flex; width: auto; margin: 9px 7px 0 0; vertical-align: middle; }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td:nth-child(7):empty { display: none; }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td.cfb-update-date-cell { position: absolute; top: 12px; right: 12px; width: auto; }
  body[data-cfb-refresh-page="updates"] .cfb-player-updates-table td:last-child { width: auto; margin-top: 12px; }
}

/* Publications: stronger covers and a calm editorial canvas. */
body[data-cfb-refresh-page="publications"] #main-content > div > div:nth-child(2) {
  max-width: 76rem;
}

body[data-cfb-refresh-page="publications"] #main-content .grid > .bg-white.rounded-2xl {
  border-top: 3px solid var(--cfb-blue) !important;
}

body[data-cfb-refresh-page="publications"] #main-content .relative.overflow-hidden.rounded-t-2xl {
  background: linear-gradient(145deg, #eaf1ff, #f8fbff);
}

/* Data Hub: a denser, easier-to-scan data workspace. */
body[data-cfb-refresh-page="data-hub"] #main-content > div > div:nth-child(2).sticky {
  border-bottom-color: var(--cfb-line) !important;
  box-shadow: 0 6px 16px rgba(13, 35, 71, 0.06);
}

body[data-cfb-refresh-page="data-hub"] #main-content #general-information {
  border-top: 3px solid var(--cfb-blue) !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content table {
  font-variant-numeric: tabular-nums;
}

body[data-cfb-refresh-page="data-hub"] #main-content thead tr,
body[data-cfb-refresh-page="projections"] #main-content thead tr {
  background: #f0f5ff !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content thead th,
body[data-cfb-refresh-page="projections"] #main-content thead th {
  color: #30415f !important;
  font-size: 0.68rem;
  font-weight: 800 !important;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

body[data-cfb-refresh-page="data-hub"] #main-content tbody tr:hover,
body[data-cfb-refresh-page="projections"] #main-content tbody tr:hover {
  background: #f5f8ff !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content input,
body[data-cfb-refresh-page="data-hub"] #main-content select,
body[data-cfb-refresh-page="projections"] #main-content select {
  border-color: #cfd9e8 !important;
  border-radius: 9px !important;
  box-shadow: 0 1px 2px rgba(16, 37, 71, 0.04);
}

body[data-cfb-refresh-page="data-hub"] #main-content input:focus,
body[data-cfb-refresh-page="data-hub"] #main-content select:focus,
body[data-cfb-refresh-page="projections"] #main-content select:focus {
  border-color: var(--cfb-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.12) !important;
  outline: none;
}

/* Projections: frame controls and result panes as a single tool. */
body[data-cfb-refresh-page="projections"] #main-content > div > div:nth-child(2) {
  /* Projections contains wide comparison controls and result grids. On
     desktop, let the workspace use the available canvas instead of forcing
     it into the narrower editorial-page measure. */
  box-sizing: border-box;
  width: min(calc(100% - clamp(2rem, 5vw, 5rem)), 112rem) !important;
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
}

body[data-cfb-refresh-page="projections"] #main-content .bg-white.border-b,
body[data-cfb-refresh-page="projections"] #main-content .bg-white.rounded-2xl {
  border-color: var(--cfb-line) !important;
}

body[data-cfb-refresh-page="projections"] #main-content [style*="background: rgb(158, 22, 50)"] {
  background: linear-gradient(135deg, var(--cfb-blue), #2477ff) !important;
}

@media (max-width: 640px) {
  body[data-cfb-refresh-page] #main-content > div > div:first-child {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }

  body[data-cfb-refresh-page="pricing"] #main-content > div > div:nth-child(2) {
    padding-top: 2.75rem !important;
    padding-bottom: 3.5rem !important;
  }
}

/* ── Data Hub: turn the existing tables and filters into one workspace ───── */
body[data-cfb-refresh-page="data-hub"] #main-content > div {
  background:
    radial-gradient(circle at 90% 0%, rgba(84, 213, 255, 0.11), transparent 26rem),
    var(--cfb-surface) !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content > div > div:first-child {
  padding-top: clamp(2.7rem, 5.3vw, 4.25rem) !important;
  padding-bottom: clamp(2.5rem, 4.2vw, 3.75rem) !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content > div > div:first-child > div {
  max-width: 86rem;
  text-align: center !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content > div > div:first-child .flex.items-center.justify-center,
body[data-cfb-refresh-page="data-hub"] #main-content > div > div:first-child .flex.flex-wrap.items-center.justify-center {
  justify-content: center !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content > div > div:first-child h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.8rem) !important;
  letter-spacing: 0.015em !important;
}

/* The four data domains act as a persistent workspace switcher. */
body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky {
  top: 68px !important;
  z-index: 30 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid var(--cfb-line) !important;
  box-shadow: 0 8px 20px rgba(15, 38, 78, 0.075) !important;
  backdrop-filter: blur(14px);
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky > div {
  max-width: 86rem !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky .grid.grid-cols-4 {
  gap: 8px !important;
  padding-top: 10px !important;
  padding-bottom: 8px !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky .grid.grid-cols-4 > button {
  min-height: 60px;
  border-width: 1px !important;
  border-color: #dbe4f0 !important;
  border-radius: 11px !important;
  background: #f8faff !important;
  box-shadow: none !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky .grid.grid-cols-4 > button:hover {
  border-color: rgba(0, 87, 255, 0.45) !important;
  background: #fff !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky .grid.grid-cols-4 > button[style*="border-color"] {
  border-color: var(--cfb-blue) !important;
  background: linear-gradient(135deg, #eef4ff, #f9fbff) !important;
  color: var(--cfb-blue) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 87, 255, 0.08) !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky .flex.flex-wrap.gap-x-0 {
  overflow-x: auto;
  flex-wrap: nowrap !important;
  scrollbar-width: thin;
  border-color: #e8edf5 !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky .flex.flex-wrap.gap-x-0 > button {
  min-height: 39px;
  padding: 10px 13px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.01em;
}

/* Data cards read as table modules instead of disconnected spreadsheet panels. */
body[data-cfb-refresh-page="data-hub"] #main-content > div > .w-full.px-4,
body[data-cfb-refresh-page="data-hub"] #main-content > div > .w-full.px-4.sm\:px-6 {
  max-width: 86rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 28px !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border {
  overflow: hidden;
  border: 1px solid var(--cfb-line) !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 22px rgba(16, 37, 71, 0.055) !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border > div:first-child {
  min-height: 68px;
  padding: 15px 20px !important;
  background: linear-gradient(90deg, #fff, #f8fbff) !important;
  border-color: #e4eaf3 !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border > div:first-child h2 {
  color: var(--cfb-text) !important;
  font-size: 1rem;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border > div:first-child h2 > span {
  background: var(--cfb-blue) !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border input,
body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border select {
  min-height: 34px;
  background: #fff !important;
  font-size: 0.78rem !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border button[title*="download" i] {
  background: #f0f5ff !important;
  color: var(--cfb-blue) !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border table {
  font-variant-numeric: tabular-nums;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  background: #f1f5ff !important;
  color: #42526c !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border tbody td {
  border-color: #edf1f6 !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border tbody tr:hover {
  background: #f4f8ff !important;
}

body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border a[style*="color"] {
  color: #064fc6 !important;
}

/* ── Global polish: make utility pages and interactive elements feel native ─ */
html[data-cfb-site-shell] ::selection {
  color: #fff;
  background: var(--cfb-blue);
}

html[data-cfb-site-shell] button:focus-visible,
html[data-cfb-site-shell] a:focus-visible,
html[data-cfb-site-shell] input:focus-visible,
html[data-cfb-site-shell] select:focus-visible {
  outline: 3px solid rgba(0, 87, 255, 0.28) !important;
  outline-offset: 2px;
}

html[data-cfb-site-shell] #main-content [class*="text-green"],
html[data-cfb-site-shell] #main-content [class*="bg-green"] {
  --tw-text-opacity: 1;
}

html[data-cfb-site-shell] #main-content [class*="text-red"],
html[data-cfb-site-shell] #main-content [class*="bg-red"] {
  --tw-text-opacity: 1;
}

html[data-cfb-site-shell] #main-content .rounded-xl,
html[data-cfb-site-shell] #main-content .rounded-2xl {
  scroll-margin-top: 150px;
}

@media (max-width: 780px) {
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky { top: 60px !important; }
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky .grid.grid-cols-4 > button { min-height: 54px; padding: 8px !important; }
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border > div:first-child { padding: 13px 14px !important; }
}

@media (max-width: 640px) {
  body[data-cfb-refresh-page] #main-content > div > div:first-child { padding: 2.35rem 1rem !important; }
  body[data-cfb-refresh-page="data-hub"] #main-content > div > div:first-child h1 { font-size: 2.25rem !important; }
  body[data-cfb-refresh-page="data-hub"] #main-content > div > div:first-child p { font-size: 0.79rem !important; }
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky .grid.grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky .grid.grid-cols-4 > button { min-height: 56px; padding: 8px 9px !important; }
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.border-b.border-gray-200.shadow-sm.sticky .grid.grid-cols-4 > button p:first-child { font-size: 0.72rem !important; white-space: normal; line-height: 1.1; }
  body[data-cfb-refresh-page="data-hub"] #main-content > div > .w-full.px-4,
  body[data-cfb-refresh-page="data-hub"] #main-content > div > .w-full.px-4.sm\:px-6 { padding: 18px 12px 32px !important; }
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border > div:first-child { align-items: stretch !important; flex-direction: column; gap: 12px !important; }
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border > div:first-child > div:last-child { width: 100%; }
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border > div:first-child input,
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border > div:first-child select,
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border > div:first-child button { flex: 1 1 100%; min-width: 0; }
  body[data-cfb-refresh-page="data-hub"] #main-content .bg-white.rounded-2xl.border [style*="overflow-x: auto"] { -webkit-overflow-scrolling: touch; overscroll-behavior-inline: contain; }
}
