:root {
  color-scheme: light;
  --black: #141414;
  --ink: #212121;
  --muted: #6d7475;
  --line: #e1e3e1;
  --paper: #f5f6f5;
  --white: #fff;
  --red: #eb001b;
  --yellow: #f79e1b;
  --blue: #009cde;
  --green: #27845b;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 13px; letter-spacing: 0; }
button, input, select { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(0,156,222,.55); outline-offset: 3px; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 27px 20px 20px; color: #fff; background: var(--black); }
.brand { display: flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.mc-mark { position: relative; width: 42px; height: 28px; flex: 0 0 auto; }
.mc-mark i, .mc-mark b { position: absolute; top: 0; width: 28px; height: 28px; border-radius: 50%; }
.mc-mark i { left: 0; z-index: 1; background: var(--red); }
.mc-mark b { left: 15px; background: var(--yellow); mix-blend-mode: screen; }
.brand-label { display: grid; gap: 3px; }
.brand-label strong { font-size: 15px; font-weight: 700; letter-spacing: -.2px; }
.brand-label small { color: #c5c5c5; font-size: 8px; font-weight: 700; letter-spacing: 1.55px; }
.sidebar-rule { height: 1px; margin: 34px 0 24px; background: #353535; }
.side-caption { margin: 0 0 12px 8px; color: #929292; font-size: 8px; font-weight: 700; letter-spacing: 1.5px; }
.sidebar nav { display: grid; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 10px; border-radius: 3px; color: #c5c5c5; text-decoration: none; font-size: 11px; transition: background .16s ease, color .16s ease; }
.nav-item:hover { color: #fff; background: #2a2a2a; }
.nav-item.selected { color: #fff; background: #303030; box-shadow: inset 3px 0 var(--yellow); }
.nav-item span { width: 20px; color: #999; font-family: var(--serif); font-size: 10px; }
.nav-item.selected span { color: var(--yellow); }
.sidebar-bottom { display: grid; gap: 18px; margin-top: auto; padding: 18px 9px 2px; border-top: 1px solid #353535; }
.ap4m-lockup { display: flex; align-items: center; gap: 10px; }
.ap4m-symbol { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #777; border-radius: 50%; color: var(--yellow); font-family: var(--serif); font-size: 16px; }
.ap4m-lockup b, .ap4m-lockup small { display: block; }
.ap4m-lockup b { font-size: 11px; letter-spacing: 1px; }
.ap4m-lockup small { margin-top: 3px; color: #aaa; font-size: 7px; letter-spacing: 1px; }
.local-state { display: flex; align-items: center; gap: 8px; color: #aaa; font-size: 9px; }
.local-state i, .connection i, .live i { width: 6px; height: 6px; border-radius: 50%; background: #44b77a; box-shadow: 0 0 0 3px rgba(68,183,122,.16); }

main { width: 100%; min-width: 0; max-width: 1700px; margin: 0 auto; padding: 0 46px 25px; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 61px; border-bottom: 1px solid var(--line); }
.crumb { display: flex; align-items: center; gap: 10px; color: #747a7b; font-size: 8px; font-weight: 700; letter-spacing: 1.1px; }
.crumb b { color: #b6b9b7; font-weight: 400; }
.crumb strong { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 22px; }
.top-link { color: #52595a; font-size: 9px; text-decoration: none; }
.top-link:hover { color: var(--red); }
.top-link b { padding-left: 3px; color: var(--red); font-weight: 500; }
.connection { display: inline-flex; align-items: center; gap: 8px; color: #52635c; font-size: 10px; }
.connection.offline i { background: var(--red); box-shadow: 0 0 0 3px rgba(235,0,27,.12); }
.key-menu { position: relative; }
.key-menu summary { cursor: pointer; color: #53595a; font-size: 10px; list-style: none; }
.key-menu summary::-webkit-details-marker { display: none; }
.key-menu summary::after { content: '⌄'; margin-left: 7px; color: var(--red); }
#accessForm { position: absolute; z-index: 5; top: 27px; right: 0; width: 285px; padding: 15px; border: 1px solid var(--line); border-radius: 3px; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.14); }
#accessForm label, #accessForm small { display: block; color: var(--muted); font-size: 9px; }
#accessForm div { display: flex; gap: 6px; margin: 8px 0; }
#adminKey { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 2px; }
#accessForm button { padding: 0 12px; border: 0; border-radius: 2px; color: #fff; background: var(--black); cursor: pointer; font-size: 10px; }
#accessForm small { line-height: 1.5; }
.notice { margin: 12px 0 0; padding: 11px 14px; border-left: 3px solid var(--red); color: #762c28; background: #fff0ef; font-size: 11px; }
[hidden] { display: none !important; }

.intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 35px 0 23px; }
.kicker, .eyebrow { color: #777e7d; font-size: 8px; font-weight: 750; letter-spacing: 1.35px; }
.kicker { display: flex; align-items: center; gap: 8px; }
.kicker span { width: 17px; height: 2px; background: var(--red); }
h1 { margin: 11px 0 8px; color: var(--black); font-family: var(--serif); font-size: 37px; font-weight: 400; line-height: 1.03; }
h1 em { color: var(--red); font-weight: 400; }
.intro p { margin: 0; color: var(--muted); font-size: 11px; }
.intro-aside { display: flex; align-items: center; gap: 18px; padding-bottom: 2px; }
.intro-stamp { display: flex; align-items: center; gap: 7px; padding-right: 17px; border-right: 1px solid var(--line); }
.intro-stamp span { color: #878c8c; font-size: 7px; font-weight: 750; letter-spacing: .8px; }
.intro-stamp b { color: #424849; font-family: var(--serif); font-size: 12px; font-weight: 400; }
.intro-stamp i { color: var(--red); font-size: 11px; font-style: normal; }
#refreshButton { min-height: 35px; padding: 0 12px; border: 1px solid #d2d5d3; border-radius: 2px; color: #282d2d; background: #fff; cursor: pointer; font-size: 10px; font-weight: 650; }
#refreshButton:hover { border-color: var(--black); }
#refreshButton span { padding-right: 5px; color: var(--red); font-size: 17px; vertical-align: -1px; }
#refreshButton:disabled { opacity: .65; cursor: wait; }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.metric { min-height: 112px; padding: 17px 19px 14px; border-right: 1px solid var(--line); animation: enter .4s both; }
.metric:last-child { border-right: 0; }
.metric.primary { border-top: 3px solid var(--red); padding-top: 14px; }
.metric.settled { border-top: 3px solid var(--blue); padding-top: 14px; }
.metric span, .metric small { display: block; color: #737a7a; }
.metric span { font-size: 8px; font-weight: 750; letter-spacing: 1px; }
.metric strong { display: block; margin: 10px 0 5px; color: var(--black); font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1; }
.metric small { font-size: 9px; }

.section-bar { display: flex; align-items: center; justify-content: space-between; margin: 27px 0 13px; padding-bottom: 10px; border-bottom: 1px solid #d8dcda; }
.section-bar div { display: flex; align-items: center; gap: 10px; }
.section-index { color: var(--red); font-family: var(--serif); font-size: 11px; }
.section-bar h2, .section-title h2 { margin: 0; color: var(--black); font-family: var(--serif); font-size: 21px; font-weight: 400; }
.section-bar > span { color: #8a9090; font-size: 7px; font-weight: 750; letter-spacing: 1px; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(265px, .85fr); gap: 14px; align-items: stretch; }
.team-section, .readiness, .partners-section { min-width: 0; border: 1px solid var(--line); background: rgba(255,255,255,.94); }
.team-section { padding: 19px 19px 13px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.eyebrow { display: block; margin-bottom: 6px; }
.section-title a { color: #4e5655; font-size: 9px; text-decoration: none; }
.section-title a b { padding-left: 4px; color: var(--red); }
.section-title a:hover { color: var(--red); }
.filters { display: flex; gap: 8px; margin: 16px 0 10px; }
.search { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 110px; padding: 0 9px; border: 1px solid var(--line); border-radius: 2px; color: #7d8483; }
.search span { font-size: 16px; }
.search input { width: 100%; min-width: 0; height: 32px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.search input::placeholder { color: #999f9e; }
.filters select { min-width: 112px; padding: 0 8px; border: 1px solid var(--line); border-radius: 2px; color: #565e5d; background: #fff; font-size: 9px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
thead { background: #f5f6f4; }
th { height: 31px; color: #777e7d; font-size: 7px; font-weight: 750; letter-spacing: .9px; }
th, td { padding: 0 8px; }
td { height: 47px; border-bottom: 1px solid #eceeec; color: #5e6665; font-size: 9px; }
th:first-child, td:first-child { padding-left: 9px; }
.team-name strong, .team-name small { display: block; max-width: 145px; overflow: hidden; text-overflow: ellipsis; }
.team-name strong { color: #252a2a; font-size: 10px; font-weight: 650; }
.team-name small { margin-top: 3px; color: #929898; font-size: 8px; }
.allocation { color: #282d2d; font-variant-numeric: tabular-nums; }
.allocation strong, .allocation small, .provisioning-cell small, .channel-cell strong, .channel-cell small { display: block; }
.allocation strong, .channel-cell strong { color: #303635; font-size: 9px; font-weight: 600; }
.allocation small, .provisioning-cell small, .channel-cell small { max-width: 180px; overflow: hidden; margin-top: 4px; color: #7d8581; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.provisioning-cell small { max-width: 160px; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 20px; color: #596260; background: #eff1ef; font-size: 8px; text-transform: capitalize; }
.status::before { width: 5px; height: 5px; border-radius: 50%; background: #969e9a; content: ''; }
.status.active { color: #236c4c; background: #e6f2eb; }
.status.active::before { background: #29865b; }
.status.suspended { color: #a33135; background: #fdebed; }
.status.suspended::before { background: var(--red); }
.empty { padding: 22px 8px; color: #888f8e; font-size: 10px; text-align: center; }
.table-meta { display: flex; justify-content: space-between; gap: 10px; padding: 11px 2px 0; color: #828989; font-size: 8px; }
.table-meta span:last-child { color: #a0a5a4; }

.readiness { padding: 19px 18px 14px; background: #fff; }
.live { display: inline-flex; align-items: center; gap: 7px; color: #707877; font-size: 7px; font-weight: 750; letter-spacing: 1px; }
.readiness > p { margin: 10px 0 17px; color: #78807f; font-size: 9px; line-height: 1.5; }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 19px 1fr auto; align-items: center; column-gap: 7px; row-gap: 6px; }
.step > span { color: #999f9e; font-family: var(--serif); font-size: 9px; }
.step label { color: #535b5a; font-size: 9px; }
.step > b { color: #272c2c; font-family: var(--serif); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
.step > i { grid-column: 2 / 4; height: 3px; overflow: hidden; background: #eceeec; }
.step > i u { display: block; width: 0; height: 100%; background: var(--blue); transition: width .4s ease; text-decoration: none; }
.step:first-child > i u { background: var(--red); }
.readiness-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--line); color: #858c8b; font-size: 8px; }
.readiness-foot b { color: var(--black); font-family: var(--serif); font-size: 12px; font-weight: 400; }

.partners-section { margin-top: 14px; padding: 18px 19px; }
.partner-count { padding: 6px 8px; border: 1px solid var(--line); color: #6d7473; font-size: 7px; font-weight: 750; letter-spacing: .8px; }
.partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 15px; }
.partner-card { min-width: 0; padding: 12px; border: 1px solid #e8eae8; background: #fbfcfb; }
.partner-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.partner-mark { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; color: #342817; background: #f8e6c1; font-family: var(--serif); font-size: 14px; }
.partner-status { color: #477b5f; font-size: 8px; text-transform: capitalize; }
.partner-card h3 { overflow: hidden; margin: 11px 0 4px; color: #282d2d; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.partner-card p { overflow: hidden; margin: 0; color: #858c8b; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

.network-section { margin-top: 25px; padding: 18px 19px 20px; border-top: 1px solid #d7dad8; border-bottom: 1px solid #d7dad8; background: rgba(255,255,255,.6); }
.network-tag { padding: 5px 8px; color: #237393; background: #e6f4f9; font-size: 8px; font-weight: 700; }
.network-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.network-grid div { min-width: 0; }
.network-grid span, .network-grid b { display: block; }
.network-grid span { margin-bottom: 7px; color: #858c8b; font-size: 7px; font-weight: 750; letter-spacing: .8px; }
.network-grid b { overflow: hidden; color: #414948; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.network-config-form { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.network-config-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.network-config-fields .field { min-width: 0; }
.network-config-fields .field > span { display: block; margin-bottom: 6px; color: #555d5a; font-size: 9px; font-weight: 650; }
.network-config-fields input { width: 100%; min-width: 0; height: 38px; padding: 0 9px; border: 1px solid #d9ddda; border-radius: 2px; color: var(--ink); background: white; font-size: 10px; }
.network-config-form .form-explainer { margin: 13px 0; }
footer { display: flex; justify-content: space-between; gap: 12px; padding: 15px 0 0; color: #7d8483; font-size: 7px; font-weight: 750; letter-spacing: .85px; }
footer b { padding: 0 5px; color: var(--red); }

.overview-grid { grid-template-columns: minmax(0, 820px); }
.page-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 35px 0 23px; }
.page-intro h1 { margin: 11px 0 8px; }
.page-intro p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.page-intro .intro-aside { flex: 0 0 auto; }
.secondary-button { display: inline-flex; align-items: center; min-height: 35px; padding: 0 11px; border: 1px solid #d2d5d3; border-radius: 2px; color: #363c3b; font-size: 10px; text-decoration: none; }
.secondary-button b { margin-left: 6px; color: var(--red); }
.secondary-button:hover { border-color: var(--black); }
.page-panel { margin-top: 4px; }
.network-guidance { max-width: 620px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.network-guidance > b { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.network-guidance p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.network-guidance a { color: var(--ink); font-size: 10px; text-decoration: none; }
.network-guidance a span { margin-left: 4px; color: var(--red); }
.registration-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); align-items: start; gap: 14px; }
.registration-form, .csv-panel, .funding-form-panel, .funding-requests-panel, .funding-history-panel { padding: 21px; }
.form-explainer { margin: 11px 0 16px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.registration-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.registration-fields .field { min-width: 0; }
.registration-fields .field label, .csv-psp > span { display: flex; justify-content: space-between; margin-bottom: 6px; color: #454b4a; font-size: 9px; font-weight: 650; }
.registration-fields .field label span { color: var(--red); }
.registration-fields input, .registration-fields select, .csv-psp select, .funding-form input, .funding-form select { width: 100%; min-width: 0; height: 38px; padding: 0 9px; border: 1px solid #d9ddda; border-radius: 2px; color: var(--ink); background: white; font-size: 10px; }
.psp-add-panel { margin-top: 0; margin-bottom: 14px; padding: 17px 19px; }
.psp-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 11px; margin-top: 14px; }
.psp-form .field { min-width: 0; }
.psp-form .field > span { display: block; margin-bottom: 6px; color: #555d5a; font-size: 9px; font-weight: 650; }
.psp-form input { width: 100%; min-width: 0; height: 38px; padding: 0 9px; border: 1px solid #d9ddda; border-radius: 2px; font-size: 10px; }
.partner-guide-panel { margin-top: 14px; padding: 20px; border: 1px solid var(--line); background: #fff; }
.partner-guide-list { display: grid; gap: 10px; margin: 15px 0; padding-left: 20px; color: #5c6461; font-size: 10px; line-height: 1.55; }
.partner-guide-list li::marker { color: var(--red); font-family: var(--serif); }
.partner-guide-list b { color: #343a38; }
.partner-guide-note { margin: 0 0 17px; padding: 10px 12px; border-left: 2px solid var(--yellow); color: #6c604e; background: #fff9ed; font-size: 9px; line-height: 1.5; }
.partner-faq { border-top: 1px solid var(--line); padding-top: 13px; }
.partner-faq h3 { margin: 0 0 7px; color: #303634; font-family: var(--serif); font-size: 17px; font-weight: 400; }
.partner-faq details { border-top: 1px solid #eceeec; }
.partner-faq summary { padding: 11px 2px; color: #444b49; cursor: pointer; font-size: 10px; font-weight: 600; }
.partner-faq summary::marker { color: var(--red); }
.partner-faq details p { margin: 0 0 11px; color: #68716d; font-size: 9px; line-height: 1.55; }
.partner-contact { color: #535c58 !important; font-weight: 600; }
.funding-disclaimer { margin: 13px 0; color: #796d5a; font-size: 9px; line-height: 1.5; }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 37px; padding: 0 13px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; font-size: 10px; font-weight: 650; }
.primary-action { color: white; background: var(--black); }
.primary-action:hover { background: #343a38; }
.primary-action:disabled, .secondary-action:disabled { opacity: .55; cursor: not-allowed; }
.csv-panel form { display: grid; gap: 11px; }
.upload-control { display: flex; align-items: center; gap: 12px; min-height: 75px; padding: 12px; border: 1px dashed #bdc4bf; border-radius: 2px; cursor: pointer; background: #fafbfa; }
.upload-control:hover { border-color: var(--red); }
.upload-control input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.upload-mark { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; color: var(--red); background: #fce9e9; font-size: 17px; }
.upload-control strong, .upload-control small { display: block; }
.upload-control strong { max-width: 250px; overflow: hidden; color: #353b39; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.upload-control small { margin-top: 4px; color: #89918d; font-size: 8px; }
.secondary-action { justify-self: start; border-color: #d5dad6; color: #3f4744; background: white; }
.csv-results { margin-top: 17px; border-top: 1px solid var(--line); padding-top: 14px; }
.csv-summary { display: grid; gap: 4px; margin-bottom: 11px; }
.csv-summary strong { color: #343a38; font-size: 10px; }
.csv-summary span { color: #747c78; font-size: 9px; }
.csv-table-wrap { max-height: 245px; overflow: auto; border: 1px solid #e7eae7; }
.csv-table-wrap table { min-width: 450px; }
.csv-table-wrap td { height: auto; min-height: 38px; padding-top: 8px; padding-bottom: 8px; white-space: normal; }
.csv-psp { display: block; margin: 14px 0 10px; }
.csv-psp > span { display: block; }
.funding-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 11px; align-items: end; margin-top: 16px; }
.funding-form .field { min-width: 0; }
.funding-form .field > span { display: block; margin-bottom: 6px; color: #555d5a; font-size: 9px; font-weight: 650; }
.funding-form .field small { color: #8a918e; font-weight: 400; }
.test-label { padding: 6px 8px; color: #805a24; background: #fcf2df; font-size: 8px; font-weight: 750; letter-spacing: .7px; }
.request-list { margin-top: 13px; }
.request-row { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.request-row:first-child { border-top: 0; }
.request-main { min-width: 0; }
.request-title { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.request-title strong { color: #272d2b; font-size: 11px; }
.request-main p { margin: 7px 0 5px; color: #59615e; font-size: 10px; line-height: 1.5; }
.request-main small { display: block; overflow-wrap: anywhere; margin-top: 4px; color: #8a918e; font-size: 8px; }
.request-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.request-actions button { min-height: 33px; padding: 0 10px; border: 0; border-radius: 2px; color: white; background: var(--black); cursor: pointer; font-size: 9px; }
.request-actions .reject-action { border: 1px solid #dadfdb; color: #555d5a; background: white; }
.request-actions button:disabled { opacity: .5; cursor: wait; }
.funding-history-panel { margin-top: 14px; }
.notice-error { border-left-color: var(--red); color: #762c28; background: #fff0ef; }
.notice-success { border-left-color: var(--green); color: #1d5c40; background: #eaf7f0; }
.local-controls-note { margin: 12px 0; padding: 10px 12px; border-left: 2px solid var(--yellow); color: #6d604c; background: #fff9ed; font-size: 9px; line-height: 1.5; }
.team-actions { display: flex; flex-wrap: wrap; gap: 5px; max-width: 205px; }
.team-actions button { min-height: 28px; padding: 0 7px; border: 1px solid #d9ddda; border-radius: 2px; color: #3e4643; background: #fff; cursor: pointer; font-size: 8px; }
.team-actions button:hover:not(:disabled) { border-color: var(--black); }
.team-actions button:disabled { color: #929995; cursor: not-allowed; }
.team-actions .danger-action { color: #9a3438; }
@media (max-width: 1100px) { .registration-grid { grid-template-columns: 1fr; } .funding-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .psp-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .registration-fields, .psp-form, .network-config-fields { grid-template-columns: 1fr; } .funding-form { grid-template-columns: 1fr; } .registration-form, .csv-panel, .funding-form-panel, .funding-requests-panel, .funding-history-panel { padding: 15px 12px; } .request-row { flex-direction: column; } .request-actions { flex-wrap: wrap; } }

@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1080px) {
  main { padding-right: 27px; padding-left: 27px; }
  .shell { grid-template-columns: 210px minmax(0, 1fr); }
  .workspace-grid { grid-template-columns: minmax(0, 1.35fr) minmax(250px, .9fr); }
}
@media (max-width: 820px) {
  .shell { display: block; }
  .sidebar { position: relative; width: 100%; height: auto; padding: 12px 18px 0; }
  .sidebar-rule, .side-caption, .sidebar-bottom { display: none; }
  .sidebar nav { display: flex; gap: 4px; overflow-x: auto; margin-top: 13px; padding-bottom: 9px; }
  .nav-item { flex: 0 0 auto; min-height: 34px; padding: 0 10px; font-size: 9px; }
  main { padding-right: 20px; padding-left: 20px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 17px; }
  .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .metric { padding-right: 11px; padding-left: 11px; }
  .metric strong { font-size: 27px; }
}
@media (max-width: 560px) {
  .sidebar { padding-right: 13px; padding-left: 13px; }
  main { padding-right: 13px; padding-left: 13px; }
  .crumb { gap: 6px; font-size: 7px; letter-spacing: .65px; }
  .top-actions { gap: 11px; }
  .spec-link { display: none; }
  .connection { font-size: 8px; }
  .key-menu summary { font-size: 0; }
  .key-menu summary::before { content: 'KEY'; font-size: 8px; }
  #accessForm { right: 0; width: min(280px, calc(100vw - 26px)); }
  .intro { align-items: flex-start; flex-direction: column; padding: 26px 0 18px; }
  h1 { font-size: 33px; }
  .intro p { max-width: 300px; line-height: 1.5; }
  .intro-aside { width: 100%; justify-content: space-between; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { min-height: 100px; padding: 13px 12px; }
  .metric.primary, .metric.settled { padding-top: 11px; }
  .metric strong { font-size: 29px; }
  .section-bar { margin-top: 22px; }
  .team-section, .readiness, .partners-section, .network-section { padding-right: 12px; padding-left: 12px; }
  .filters { flex-direction: column; }
  .search input { height: 35px; }
  .filters select { height: 34px; }
  table { min-width: 490px; }
  .partner-grid { grid-template-columns: 1fr; }
  .network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  footer { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (min-width: 821px) {
  .nav-item { min-height: 54px; gap: 14px; padding: 0 13px; font-size: 16px; font-weight: 550; }
  .nav-item.selected { box-shadow: inset 4px 0 var(--yellow); }
  .top-link { color: #414747; font-size: 13px; font-weight: 550; }
  .connection, .key-menu summary { font-size: 13px; }
}
@media (min-width: 561px) and (max-width: 820px) {
  .nav-item { min-height: 48px; padding: 0 12px; font-size: 14px; }
  .top-link { font-size: 12px; }
  .connection, .key-menu summary { font-size: 11px; }
}
@media (max-width: 560px) {
  .sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; gap: 6px; }
  .nav-item { min-height: 48px; gap: 8px; padding: 0 10px; font-size: 14px; font-weight: 600; }
  .nav-item span { width: 18px; font-size: 11px; }
  .top-link { font-size: 12px; font-weight: 600; }
  .connection, .key-menu summary { font-size: 11px; }
  .key-menu summary::before { content: none; }
  .page-intro { align-items: flex-start; flex-direction: column; padding: 26px 0 18px; }
  .page-intro .intro-aside { width: 100%; }
}
