:root {
  --bg: #030711;
  --surface: #07111f;
  --surface-2: #0a1728;
  --line: rgba(139,179,232,.14);
  --text: #f4f8ff;
  --muted: #8fa4be;
  --blue: #398cff;
  --cyan: #35d8ed;
  --purple: #8268ff;
  --green: #35d58a;
  --amber: #ffbe55;
  --red: #ff6578;
  --sidebar: 278px;
  --shadow: 0 20px 70px rgba(0,0,0,.28);
}
* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
}
body {
  margin: 0;
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  background: radial-gradient(circle at 20% -10%,rgba(57,140,255,.14),transparent 30%),radial-gradient(circle at 95% 5%,rgba(130,104,255,.1),transparent 26%),var(--bg);
  color: var(--text);
  min-height: 100vh;
}
button,input,select,textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  padding: 20px 16px;
  background: linear-gradient(180deg,rgba(5,12,23,.99),rgba(3,8,17,.99));
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 60;
  overflow-y: auto;
  box-shadow: 20px 0 60px rgba(0,0,0,.18);
}
.sidebar-head {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}
.app-brand img {
  display: block;
  width: 142px;
}
.sidebar-close {
  display: none;
  border: 0;
  background: none;
  color: #fff;
  font-size: 1.8rem;
}
.app-user {
  margin: 18px 0 22px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(135deg,rgba(57,140,255,.1),rgba(130,104,255,.06));
}
.user-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg,var(--blue),var(--purple));
  font-size: .75rem;
  font-weight: 900;
}
.app-user strong,.app-user small {
  display: block;
}
.app-user strong {
  font-size: .88rem;
}
.app-user small {
  margin-top: 3px;
  color: #8cb8ef;
  font-size: .72rem;
}
.app-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-group {
  padding: 16px 12px 6px;
  color: #617894;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.app-sidebar nav a,.sidebar-foot a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 11px;
  color: #a9bbd0;
  font-size: .84rem;
  font-weight: 600;
  transition: .2s;
}
.app-sidebar nav a:hover,.sidebar-foot a:hover {
  background: rgba(57,140,255,.08);
  color: #fff;
}
.app-sidebar nav a.is-active {
  background: linear-gradient(90deg,rgba(57,140,255,.18),rgba(57,140,255,.06));
  color: #fff;
  box-shadow: inset 2px 0 var(--blue);
}
.nav-icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: #7089a6;
}
.sidebar-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.sidebar-foot .logout {
  color: #e7a0aa;
}
.app-main {
  margin-left: var(--sidebar);
  padding: 30px clamp(20px,3vw,44px) 22px;
  min-height: 100vh;
  max-width: 1800px;
}
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.topbar-title {
  display: flex;
  align-items: center;
  gap: 13px;
}
.eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #64baff;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.app-topbar h1 {
  margin: 0;
  font-size: clamp(1.55rem,2.6vw,2.25rem);
  letter-spacing: -.035em;
}
.topbar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b8c7d9;
  font-size: .82rem;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.menu-toggle span {
  height: 2px;
  background: #fff;
}
.sidebar-overlay {
  display: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.stat-card,.panel {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg,rgba(11,26,45,.94),rgba(6,15,27,.96));
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.stat-card {
  padding: 20px;
  overflow: hidden;
}
.stat-card:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--blue);
}
.stat-card.tone-cyan:before {
  background: var(--cyan);
}
.stat-card.tone-purple:before {
  background: var(--purple);
}
.stat-card.tone-green:before {
  background: var(--green);
}
.stat-card.tone-amber:before {
  background: var(--amber);
}
.stat-label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
}
.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.4rem,2.5vw,2rem);
}
.stat-card small {
  display: block;
  margin-top: 6px;
  color: #7288a2;
  font-size: .7rem;
}
.panel {
  padding: 22px;
  margin-bottom: 18px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.panel h2 {
  margin: 0 0 16px;
  font-size: 1.08rem;
}
.panel-head h2 {
  margin: 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
th,td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  font-size: .84rem;
}
tr:last-child td {
  border-bottom: 0;
}
th {
  background: rgba(255,255,255,.018);
  color: #8095ad;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
tbody tr:hover {
  background: rgba(57,140,255,.035);
}
.badge {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(57,140,255,.25);
  border-radius: 999px;
  background: rgba(57,140,255,.1);
  font-size: .7rem;
  font-weight: 750;
}
.badge.good {
  color: #7ce7af;
  background: rgba(53,213,138,.09);
  border-color: rgba(53,213,138,.24);
}
.badge.warn {
  color: #ffd58e;
  background: rgba(255,190,85,.09);
  border-color: rgba(255,190,85,.24);
}
.badge.bad {
  color: #ff9eaa;
  background: rgba(255,101,120,.09);
  border-color: rgba(255,101,120,.24);
}
.progress {
  height: 8px;
  background: #0d1c2e;
  border-radius: 99px;
  overflow: hidden;
}
.progress>i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,var(--blue),var(--cyan));
}
.metric {
  margin: 16px 0;
}
.metric-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
  font-size: .8rem;
}
.muted {
  color: var(--muted);
}
form.grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
label {
  display: grid;
  gap: 7px;
  color: #bccadc;
  font-size: .78rem;
  font-weight: 650;
}
input,select,textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #050d18;
  color: #fff;
  outline: none;
}
input:focus,select:focus,textarea:focus {
  border-color: rgba(74,157,255,.35);
  box-shadow: 0 0 0 3px rgba(57,140,255,.08);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.full {
  grid-column: 1/-1;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 750;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg,#247fff,#48b6ff);
  color: #fff;
}
.btn-ghost {
  border-color: var(--line);
  background: rgba(255,255,255,.025);
  color: #d7e3f1;
}
.btn-danger {
  border-color: rgba(255,101,120,.3);
  background: rgba(255,101,120,.1);
  color: #ffafba;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.flash {
  padding: 13px 15px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.flash.success {
  background: rgba(53,213,138,.08);
}
.flash.error {
  background: rgba(255,101,120,.08);
}
.empty {
  padding: 38px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(139,179,232,.2);
  border-radius: 14px;
}
.empty-mark {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 2rem;
}
.empty strong {
  display: block;
  color: #dce8f6;
}
.empty p {
  margin: 7px 0 0;
  font-size: .82rem;
}
.code {
  font-family: ui-monospace,monospace;
}
.kpi-line {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.kpi-pill {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #bacadd;
  font-size: .74rem;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 22px 0;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 35px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: #6f849e;
  font-size: .74rem;
}
.nyxo-cookie-manage {
  padding: 0;
  border: 0;
  background: none;
  color: #8ca5c2;
  cursor: pointer;
}
@media(max-width:1180px) {
  .stats-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media(max-width:900px) {
  :root {
    --sidebar: 290px;
  }
  .app-sidebar {
    transform: translateX(-102%);
    transition: transform .25s;
  }
  .sidebar-open .app-sidebar {
    transform: translateX(0);
  }
  .sidebar-close,.menu-toggle {
    display: flex;
  }
  .sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    border: 0;
    background: rgba(0,0,0,.62);
  }
  .sidebar-open .sidebar-overlay {
    display: block;
  }
  .app-main {
    margin-left: 0;
  }
  .grid-2,.grid-3 {
    grid-template-columns: 1fr;
  }
}
@media(max-width:620px) {
  .app-main {
    padding: 20px 14px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-card {
    padding: 16px;
  }
  .topbar-user {
    display: none;
  }
  .panel {
    padding: 16px;
  }
  form.grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .app-footer {
    flex-direction: column;
  }
}
@media(max-width:430px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
/* Polished connected workspace layer */
:root {
  --bg: #070b13;
  --surface: #0d1521;
  --surface-2: #121d2b;
  --line: rgba(159,184,215,.15);
  --text: #f5f7fb;
  --muted: #9baac0;
  --blue: #4d9cff;
  --cyan: #71d8ee;
  --purple: #8390ff;
  --green: #59d6a1;
  --amber: #f0bf70;
  --red: #ff7181;
  --sidebar: 264px;
  --shadow: 0 16px 44px rgba(0,0,0,.22);
}
body {
  background: radial-gradient(ellipse at 58% -28%,rgba(44,102,171,.13),transparent 44%),var(--bg);
}
.app-sidebar {
  padding: 22px 15px;
  background: #090f18;
  border-right-color: rgba(160,184,216,.13);
  box-shadow: 12px 0 36px rgba(0,0,0,.14);
}
.app-brand img {
  width: 136px;
}
.sidebar-head {
  height: 52px;
  padding: 0 10px;
}
.app-user {
  margin: 22px 0 16px;
  border-radius: 13px;
  background: rgba(20,38,59,.64);
  border-color: rgba(159,184,215,.12);
}
.app-sidebar nav {
  gap: 4px;
}
.nav-group {
  padding: 17px 12px 7px;
  color: #8091a8;
  font-size: .64rem;
  letter-spacing: .12em;
}
.app-sidebar nav a,.sidebar-foot a {
  min-height: 42px;
  border-radius: 10px;
  color: #b6c1d0;
  transition: background-color .16s ease,color .16s ease;
}
.app-sidebar nav a:hover,.sidebar-foot a:hover {
  background: rgba(112,163,221,.09);
  color: #fff;
}
.app-sidebar nav a.is-active {
  background: rgba(58,133,210,.16);
  box-shadow: inset 2px 0 #65adff;
  color: #fff;
}
.nav-icon {
  color: #8ea5bf;
}
.app-main {
  max-width: none;
  padding-top: 28px;
}
.app-topbar {
  margin-bottom: 25px;
}
.app-topbar h1 {
  font-weight: 680;
  letter-spacing: -.04em;
}
.eyebrow {
  color: #82baff;
  letter-spacing: .13em;
}
.stat-card,.panel {
  border-color: rgba(159,184,215,.13);
  background: linear-gradient(155deg,rgba(16,27,42,.97),rgba(11,19,30,.97));
  border-radius: 15px;
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
}
.stat-card {
  padding: 19px;
}
.panel {
  padding: 22px;
}
.stat-card:before {
  width: 2px;
}
.stat-card strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
}
.stat-label {
  color: #a9b8cb;
}
.table-wrap {
  border-color: rgba(159,184,215,.14);
  border-radius: 11px;
}
th {
  color: #9baac0;
  background: rgba(255,255,255,.025);
}
tbody tr:hover {
  background: rgba(84,148,215,.06);
}
input,select,textarea {
  background: #0a111b;
  border-color: rgba(159,184,215,.2);
  border-radius: 9px;
}
input:focus,select:focus,textarea:focus {
  border-color: #72aff0;
  box-shadow: 0 0 0 3px rgba(77,156,255,.16);
}
.btn {
  min-height: 40px;
  border-radius: 9px;
  transition: filter .16s ease,transform .16s ease;
}
.btn:hover {
  filter: brightness(1.08);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: linear-gradient(135deg,#347fc9,#4a9be8);
}
.btn-ghost {
  border-color: rgba(159,184,215,.19);
  background: rgba(255,255,255,.035);
}
.app-skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  background: #eaf3ff;
  color: #07111f;
  font-weight: 750;
  transform: translateY(-160%);
}
.app-skip-link:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 3px solid #8dc6ff;
  outline-offset: 3px;
}
.sidebar-overlay[hidden] {
  display: none;
}
@media(max-width:900px) {
  .app-sidebar {
    width: min(var(--sidebar),88vw);
    box-shadow: 18px 0 46px rgba(0,0,0,.36);
  }
  .sidebar-open .sidebar-overlay {
    display: block;
  }
  .sidebar-close {
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    font-size: 1.35rem;
  }
  .sidebar-open {
    overflow: hidden;
  }
  .app-main {
    padding-top: 20px;
  }
}
@media(max-width:620px) {
  .app-main {
    padding-inline: 15px;
  }
  .app-topbar h1 {
    font-size: 1.55rem;
  }
  .panel {
    padding: 17px;
  }
  .stat-card {
    padding: 15px;
  }
  .app-footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto!important;
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition-duration: .01ms!important;
  }
}
.trend-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin: 0 0 20px;
}
.trend-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(155deg,rgba(16,27,42,.97),rgba(11,19,30,.97));
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
}
.trend-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.trend-card-head .eyebrow {
  margin: 0 0 4px;
  font-size: .58rem;
}
.trend-card-head h2 {
  margin: 0;
  font-size: 1rem;
}
.trend-unit {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .65rem;
}
.trend-svg {
  display: block;
  width: 100%;
  height: auto;
  margin: 10px 0 2px;
  overflow: visible;
}
.trend-gridline {
  stroke: rgba(167,190,221,.15);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.trend-line {
  fill: none;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trend-point {
  fill: #101a28;
  stroke-width: 2.5;
}
.trend-month {
  fill: #93a4ba;
  font-size: 11px;
}
.trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1px 0 10px;
  color: #c0cada;
  font-size: .68rem;
}
.trend-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trend-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--trend-color);
}
.trend-details {
  border-top: 1px solid var(--line);
  padding-top: 9px;
}
.trend-details summary {
  color: #a8bdd5;
  font-size: .7rem;
  cursor: pointer;
}
.trend-details .table-wrap {
  margin-top: 10px;
}
.trend-details table {
  min-width: 360px;
}
.trend-details th,.trend-details td {
  padding: 8px 9px;
  font-size: .68rem;
}
@media(max-width:1250px) {
  .trend-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:760px) {
  .trend-grid {
    grid-template-columns: 1fr;
  }
  .trend-card {
    padding: 15px;
  }
}
.app-main {
  min-width: 0;
}
.app-main>* {
  min-width: 0;
}
.app-main .panel-head {
  flex-wrap: wrap;
}
.app-main .actions {
  row-gap: 12px;
}
.app-main .actions label {
  min-width: min(190px,100%);
}
.app-main label small {
  color: #90a1b7;
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.5;
}
.app-main .table-wrap {
  max-width: 100%;
  overscroll-behavior-inline: contain;
}
.app-main table {
  min-width: 640px;
}
.app-main input[type=month] {
  max-width: 220px;
}
.app-main input[type=checkbox],.app-main input[type=radio] {
  width: 18px;
  height: 18px;
  padding: 0;
  flex: none;
  accent-color: #579fe5;
}
.app-main label:has(>input[type=checkbox]),.app-main label:has(>input[type=radio]) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.app-main button:disabled,.app-main input:disabled,.app-main select:disabled {
  opacity: .58;
  cursor: not-allowed;
}
.app-main .flash {
  line-height: 1.55;
}
.app-main .empty {
  background: rgba(255,255,255,.012);
}
@media(max-width:620px) {
  .app-main .panel-head {
    align-items: flex-start;
  }
  .app-main .actions label {
    min-width: 0;
    flex: 1 1 145px;
  }
  .app-main table {
    min-width: 600px;
  }
}

/* Official match requests and founder account workspaces */
.match-request-intro > .eyebrow {
  margin-bottom: 8px;
  color: #79b9f4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.match-request-intro h2 {
  margin: 0 0 8px;
}
.match-request-intro .grid,
.match-review-form {
  margin-top: 20px;
}
.match-date-filter {
  max-width: 360px;
  margin: 20px 0 6px;
}
.match-request-intro textarea,
.match-review-form textarea {
  min-height: 110px;
  resize: vertical;
}
.status-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.status-guide p {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(145, 171, 204, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .025);
}
.status-guide span,
.match-request-card small {
  color: #93a4ba;
  line-height: 1.55;
}
.match-request-list {
  display: grid;
  gap: 18px;
}
.match-request-card {
  padding: 20px;
  border: 1px solid rgba(145, 171, 204, .15);
  border-radius: 16px;
  background: rgba(255, 255, 255, .02);
}
.match-request-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.match-request-heading h3 {
  margin: 12px 0 3px;
}
.match-request-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.match-request-details div {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
}
.match-request-details dt {
  color: #91a2b8;
  font-size: .78rem;
}
.match-request-details dd {
  margin: 5px 0 0;
  font-weight: 650;
}
.match-review-form {
  padding-top: 16px;
  border-top: 1px solid rgba(145, 171, 204, .12);
}
.filter-bar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 14px;
}
.filter-bar label {
  flex: 1 1 210px;
}
.filter-bar .btn {
  min-height: 44px;
}
.user-actions {
  min-width: 230px;
}
.user-actions form + form {
  margin-top: 8px;
}
@media (max-width: 760px) {
  .status-guide {
    grid-template-columns: 1fr;
  }
  .match-request-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .match-request-card {
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .match-request-heading {
    flex-direction: column;
  }
  .match-request-details {
    grid-template-columns: 1fr 1fr;
  }
}

/* Flat role navigation and founder shortcuts */
.app-nav .nav-group { padding: 20px 12px 7px; }
.app-nav .nav-group:first-child { padding-top: 4px; }
.founder-tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.founder-tool-grid a { display: grid; gap: 7px; padding: 18px; border: 1px solid rgba(145,171,204,.17); border-radius: 13px; background: rgba(255,255,255,.025); color: #f1f7ff; transition: background-color .16s ease, border-color .16s ease; }
.founder-tool-grid a:hover, .founder-tool-grid a:focus-visible { background: rgba(82,147,222,.12); border-color: rgba(105,173,255,.45); }
.founder-tool-grid span { color: #99aabf; font-size: .85rem; line-height: 1.5; }
.match-page-switch { margin-bottom: 18px; }
.match-management-section { scroll-margin-top: 24px; }
@media (max-width: 900px) { .founder-tool-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px) { .founder-tool-grid { grid-template-columns: 1fr; } }

/* Connected space: clear hierarchy across dashboards and monthly workflows. */
.dashboard-welcome {
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(125deg, rgba(33, 75, 128, .44), rgba(10, 22, 40, .96) 55%, rgba(71, 52, 121, .27));
}
.dashboard-welcome h2 {
  margin: 7px 0;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}
.dashboard-welcome .panel-head { align-items: flex-start; }
.dashboard-welcome .muted { max-width: 56ch; line-height: 1.55; }
.dashboard-welcome .actions { margin-top: 18px; }
.founder-tools-panel { background: linear-gradient(145deg, rgba(10, 24, 42, .92), rgba(5, 14, 25, .96)); }
.founder-tool-grid a { min-height: 112px; align-content: start; }
.founder-tool-grid a strong { font-size: .96rem; }
.reward-hero { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.reward-hero h2 { margin: 5px 0 9px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.reward-hero p { margin: 0; line-height: 1.55; }
.reward-tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.reward-tier-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: 9px; }
.reward-tier-card h3 { margin: 0; font-size: 1.1rem; }
.reward-tier-card > strong { font-size: 1.35rem; }
.reward-tier-card p { margin: 0; }
.reward-tier-card details { width: 100%; overflow-wrap: anywhere; }
.reward-tier-card summary { cursor: pointer; color: #99c9ff; font-weight: 650; }
.reward-tier-card details p { margin-top: 9px; line-height: 1.55; }
.reward-tier-card .btn { margin-top: auto; }
.reward-filters { align-items: end; }
.match-management-section { scroll-margin-top: 24px; }
.match-request-details { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1050px) {
  .reward-tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match-request-details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .reward-hero { flex-direction: column; align-items: flex-start; }
  .reward-tier-grid { grid-template-columns: 1fr; }
  .match-request-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
