:root {
  --team-blue: #0044b6;
  --team-bright-blue: #0070ff;
  --team-sky: #0091ff;
  --team-yellow: #ffd700;
  --team-ink: #172033;
  --team-muted: #667085;
  --team-line: #e4e7ec;
  --team-canvas: #f4f6f9;
  --team-white: #fff;
}

body {
  margin: 0;
  color: var(--team-ink);
  background: var(--team-canvas);
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
}

.portal-app-shell,
.clean-auth-shell {
  min-height: 100dvh;
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
}

.portal-app-shell *,
.clean-auth-shell * {
  box-sizing: border-box;
}

.portal-app-shell h1,
.portal-app-shell h2,
.portal-app-shell h3,
.clean-auth-shell h1,
.clean-auth-shell h2 {
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.025em;
}

.portal-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.portal-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: 264px;
  min-height: 100dvh;
  flex-direction: column;
  border-right: 1px solid var(--team-line);
  background: var(--team-white);
}

.portal-brand-block {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 15px;
  padding: 18px 22px;
  color: white;
  background: var(--team-blue);
}

.portal-logo {
  display: block;
  width: 132px;
  height: auto;
  max-height: 50px;
  object-fit: contain;
}

.portal-brand-block > span {
  padding-left: 14px;
  border-left: 1px solid rgb(255 255 255 / 35%);
  font: 700 10px/1.2 Poppins, "Segoe UI", sans-serif;
  letter-spacing: 0.15em;
}

.portal-menu {
  display: grid;
  gap: 4px;
  padding: 18px 14px 12px;
}

.portal-menu-item {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 7px;
  color: #475467;
  background: transparent;
  font: 500 14px/1.3 Roboto, "Segoe UI", sans-serif;
  text-align: left;
  cursor: pointer;
}

.portal-menu-item > span { flex: 1; }
.portal-menu-item .portal-icon:last-child:not(:first-child) { width: 15px; opacity: 0.55; }
.portal-menu-item:hover { color: var(--team-blue); background: #f2f7ff; }
.portal-menu-item.active { color: var(--team-blue); background: #eaf2ff; font-weight: 700; }

.portal-sidebar-content {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 10px 18px 18px;
}

.portal-sidebar-footer {
  padding: 13px 14px;
  border-top: 1px solid var(--team-line);
  background: #fbfcfd;
}

.portal-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px 10px;
}

.portal-user > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--team-blue);
  font-weight: 700;
}

.portal-user div { display: grid; min-width: 0; }
.portal-user strong { overflow: hidden; color: #344054; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.portal-user small { color: #98a2b3; font-size: 11px; }

.portal-workspace {
  min-height: 100dvh;
  margin-left: 264px;
  background: var(--team-canvas);
}

.portal-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px clamp(22px, 3vw, 42px);
  border-bottom: 1px solid var(--team-line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(8px);
}

.portal-topbar h1 { margin: 0; color: #1d2939; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.portal-topbar p { margin: 5px 0 0; color: var(--team-muted); font-size: 13px; }
.portal-topbar-actions { display: flex; align-items: center; gap: 9px; }

.portal-mode {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  color: #475467;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.portal-mode i { width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 3px #d1fadf; }
.portal-mode.test i { background: #f79009; box-shadow: 0 0 0 3px #fef0c7; }

.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: 700 13px/1.2 Roboto, "Segoe UI", sans-serif;
  cursor: pointer;
}

.button-primary { color: white; border-color: var(--team-blue); background: var(--team-blue); box-shadow: 0 1px 2px rgb(16 24 40 / 12%); }
.button-primary:hover { background: #003b9d; }
.button-secondary { color: #344054; border-color: #d0d5dd; background: #fff; box-shadow: 0 1px 2px rgb(16 24 40 / 5%); }
.button-secondary:hover { color: var(--team-blue); background: #f8fbff; }
.button-secondary.compact { min-height: 34px; padding: 7px 10px; }

.portal-main {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(18px, 2.5vw, 34px) clamp(18px, 3vw, 42px) 48px;
}

.onair-card { color: #475467; }
.onair-label { display: inline-flex; align-items: center; gap: 7px; color: #344054; font: 700 10px/1 Poppins, sans-serif; letter-spacing: 0.12em; }
.onair-label i { width: 7px; height: 7px; border-radius: 50%; background: #f04438; box-shadow: 0 0 0 3px #fee4e2; }
.onair-card h2 { margin: 10px 0 9px; color: #1d2939; font-size: 16px; }
.onair-card ul { display: grid; gap: 7px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 12px; line-height: 1.4; }
.onair-card li { position: relative; padding-left: 15px; }
.onair-card li::before { position: absolute; left: 0; color: var(--team-blue); content: "✓"; font-weight: 700; }
.onair-card details { border-top: 1px solid var(--team-line); font-size: 12px; }
.onair-card summary { padding: 11px 0; color: #344054; font-weight: 700; cursor: pointer; }
.onair-card details > div { display: grid; gap: 7px; padding: 0 0 12px; color: #667085; line-height: 1.4; }
.onair-card details p { margin: 0; }
.routing-compact article { display: grid; gap: 3px; padding: 9px 0; border-top: 1px solid #eef0f3; }
.routing-compact article:first-child { border-top: 0; }
.routing-compact strong { color: #344054; }
.routing-compact a { color: var(--team-blue); text-decoration: none; word-break: break-word; }
.routing-compact button { width: max-content; padding: 0; border: 0; color: #475467; background: transparent; font: 700 11px Roboto, sans-serif; text-decoration: underline; cursor: pointer; }

.sidebar-note { padding: 14px; border: 1px solid #dbe7f8; border-radius: 8px; background: #f5f9ff; }
.sidebar-note strong { color: #1d2939; font-size: 13px; }
.sidebar-note p { margin: 7px 0 10px; color: #667085; font-size: 12px; line-height: 1.5; }
.sidebar-note span { color: var(--team-blue); font-size: 11px; font-weight: 700; }

.portal-summary {
  display: grid;
  grid-template-columns: minmax(210px, 1.4fr) repeat(2, minmax(130px, .7fr)) minmax(220px, 1.25fr);
  margin-bottom: 18px;
  border: 1px solid var(--team-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 24 40 / 4%);
}

.portal-summary > div,
.portal-summary > details {
  min-width: 0;
  padding: 16px 18px;
  border-left: 1px solid var(--team-line);
}
.portal-summary > :first-child { border-left: 0; }
.portal-summary span,
.portal-summary summary { display: block; color: #667085; font-size: 11px; font-weight: 700; letter-spacing: .025em; }
.portal-summary strong { display: block; margin-top: 5px; color: #1d2939; font: 700 20px/1.25 Poppins, sans-serif; }
.portal-summary small { display: block; margin-top: 3px; color: #98a2b3; font-size: 11px; }
.portal-summary details { cursor: pointer; }
.portal-summary summary { padding: 4px 0; color: var(--team-blue); }
.portal-summary details p { margin: 10px 0 0; color: #475467; font-size: 12px; line-height: 1.45; }
.portal-summary .summary-email { overflow: hidden; font: 700 13px/1.3 Roboto, sans-serif; text-overflow: ellipsis; }

.clean-panel,
.clean-create-account {
  border: 1px solid var(--team-line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 1px 3px rgb(16 24 40 / 5%);
}

.clean-panel-head {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--team-line);
}
.clean-panel-head > div:first-child > span { color: var(--team-blue); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.clean-panel-head h2 { margin: 3px 0 0; color: #1d2939; font-size: 18px; }
.clean-filters { display: flex; align-items: center; gap: 3px; padding: 3px; border-radius: 7px; background: #f2f4f7; }
.clean-filters button { padding: 7px 10px; border: 0; border-radius: 5px; color: #667085; background: transparent; font: 700 11px Roboto, sans-serif; cursor: pointer; }
.clean-filters button.active { color: var(--team-blue); background: white; box-shadow: 0 1px 2px rgb(16 24 40 / 10%); }

.clean-request-list { display: grid; }
.clean-request-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: start;
  gap: 18px;
  padding: 18px;
  border-top: 1px solid #eef0f3;
  background: white;
}
.clean-request-card:first-child { border-top: 0; }
.clean-request-card.is-new { box-shadow: inset 3px 0 var(--team-bright-blue); background: #fbfdff; }
.clean-request-main { display: flex; min-width: 0; gap: 12px; }
.clean-request-avatar { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 50%; color: var(--team-blue); background: #eaf2ff; font-weight: 800; }
.clean-request-content { min-width: 0; flex: 1; }
.clean-request-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.clean-request-head > div { display: grid; gap: 2px; min-width: 0; }
.clean-request-head strong { color: #1d2939; font-size: 14px; }
.clean-request-head div span { color: #98a2b3; font-size: 11px; }
.clean-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; color: #475467; background: #f2f4f7; font-size: 10px; font-weight: 700; white-space: nowrap; }
.clean-status i { width: 6px; height: 6px; border-radius: 50%; background: #98a2b3; }
.clean-status.status-new { color: #175cd3; background: #eff8ff; }
.clean-status.status-new i { background: #2e90fa; }
.clean-status.status-playing { color: #027a48; background: #ecfdf3; }
.clean-status.status-playing i { background: #12b76a; }
.clean-status.status-alternative,
.clean-status.status-redirected { color: #b54708; background: #fffaeb; }
.clean-status.status-alternative i,
.clean-status.status-redirected i { background: #f79009; }
.clean-status.status-rejected { color: #b42318; background: #fef3f2; }
.clean-status.status-rejected i { background: #f04438; }
.clean-request-message { margin: 10px 0; color: #344054; font-size: 14px; line-height: 1.55; white-space: pre-wrap; }
.clean-request-notes { display: flex; flex-wrap: wrap; gap: 6px 16px; color: #98a2b3; font-size: 10px; }
.clean-request-claim { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; padding: 7px 9px; border-radius: 6px; color: #475467; background: #f8f9fb; font-size: 11px; }
.clean-request-claim.mine { color: #175cd3; background: #eff8ff; }
.clean-request-claim.occupied { color: #b54708; background: #fffaeb; }
.clean-request-claim button { padding: 0; border: 0; color: currentColor; background: transparent; font: 700 11px Roboto, sans-serif; text-decoration: underline; cursor: pointer; }
.clean-request-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.clean-request-actions label { flex: 1; }
.clean-request-actions select,
.clean-account-form input,
.clean-account-form select,
.clean-auth-panel input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #d0d5dd;
  border-radius: 7px;
  color: #344054;
  background: #fff;
  font: 500 12px Roboto, sans-serif;
  outline: none;
}
.clean-request-actions select:focus,
.clean-account-form input:focus,
.clean-account-form select:focus,
.clean-auth-panel input:focus { border-color: var(--team-bright-blue); box-shadow: 0 0 0 3px rgb(0 112 255 / 12%); }
.clean-empty { padding: 56px 20px; color: #667085; text-align: center; }
.clean-empty > span { display: grid; width: 38px; height: 38px; margin: 0 auto 12px; place-items: center; border-radius: 50%; color: #027a48; background: #ecfdf3; font-weight: 800; }
.clean-empty h3 { margin: 0; color: #344054; font-size: 15px; }
.clean-empty p { margin: 7px 0 0; font-size: 12px; }

.clean-create-account { margin-bottom: 18px; }
.clean-create-account > summary { display: flex; min-height: 48px; align-items: center; gap: 9px; padding: 12px 16px; color: var(--team-blue); font-size: 13px; font-weight: 800; cursor: pointer; }
.clean-create-account > div { padding: 0 16px 16px; border-top: 1px solid var(--team-line); }
.clean-create-account > div > p { margin: 14px 0; color: #667085; font-size: 12px; }
.clean-account-form { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(200px, 1.4fr) 150px auto; align-items: end; gap: 12px; }
.clean-account-form label { display: grid; gap: 6px; color: #475467; font-size: 11px; font-weight: 700; }

.accounts-panel .account-list { display: grid; }
.accounts-panel .account-card {
  display: grid;
  grid-template-columns: 38px minmax(210px, 1.4fr) minmax(140px, .7fr) minmax(250px, auto);
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 14px 18px;
  border: 0;
  border-top: 1px solid #eef0f3;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.accounts-panel .account-card:first-child { border-top: 0; }
.accounts-panel .account-avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: white; background: var(--team-blue); font-size: 13px; font-weight: 800; }
.accounts-panel .account-identity { display: grid; min-width: 0; gap: 2px; }
.accounts-panel .account-name-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.accounts-panel .account-name-line > strong { color: #1d2939; font-size: 13px; }
.accounts-panel .account-identity > span,
.accounts-panel .account-identity > small { overflow: hidden; color: #667085; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.accounts-panel .account-identity > small { color: #98a2b3; }
.accounts-panel .self-badge,
.accounts-panel .account-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 999px; color: #475467; background: #f2f4f7; font-size: 9px; font-weight: 800; }
.accounts-panel .account-status span { width: 5px; height: 5px; border-radius: 50%; background: #98a2b3; }
.accounts-panel .account-status.active { color: #027a48; background: #ecfdf3; }
.accounts-panel .account-status.active span { background: #12b76a; }
.accounts-panel .account-status.pending { color: #b54708; background: #fffaeb; }
.accounts-panel .account-status.pending span { background: #f79009; }
.accounts-panel .account-status.disabled { color: #b42318; background: #fef3f2; }
.accounts-panel .account-status.disabled span { background: #f04438; }
.accounts-panel .account-activity { display: grid; gap: 2px; color: #98a2b3; font-size: 10px; }
.accounts-panel .account-activity strong { color: #475467; font-size: 11px; }
.accounts-panel .account-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 6px; }
.accounts-panel .account-actions button { min-height: 30px; padding: 5px 8px; border: 1px solid #d0d5dd; border-radius: 6px; color: #475467; background: white; font: 700 10px Roboto, sans-serif; cursor: pointer; }
.accounts-panel .account-actions .account-delete { color: #b42318; border-color: #fecdca; }
.account-notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 18px; padding: 13px 15px; border: 1px solid #b2ddff; border-radius: 8px; color: #175cd3; background: #eff8ff; }
.account-notice.success { color: #027a48; border-color: #abefc6; background: #ecfdf3; }
.account-notice.error { color: #b42318; border-color: #fecdca; background: #fef3f2; }
.account-notice strong { font-size: 12px; }
.account-notice p { margin: 3px 0 0; font-size: 11px; }
.account-notice button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid currentColor; border-radius: 6px; color: currentColor; background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }

.clean-auth-shell {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(440px, 1.15fr);
  background: white;
}
.clean-auth-brand { display: flex; min-height: 100dvh; flex-direction: column; justify-content: space-between; padding: clamp(32px, 5vw, 70px); color: white; background: var(--team-blue); }
.clean-auth-brand img { width: min(250px, 70%); height: auto; object-fit: contain; }
.clean-auth-brand div { max-width: 500px; }
.clean-auth-brand div > span { color: var(--team-yellow); font: 800 11px Poppins, sans-serif; letter-spacing: .15em; }
.clean-auth-brand h2 { margin: 14px 0 10px; color: white; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; }
.clean-auth-brand p { max-width: 440px; margin: 0; color: #dcecff; font-size: 15px; line-height: 1.6; }
.clean-auth-panel { display: flex; width: min(490px, calc(100% - 40px)); align-self: center; justify-self: center; flex-direction: column; padding: 40px 0; }
.clean-auth-heading > span { color: var(--team-blue); font: 800 10px Poppins, sans-serif; letter-spacing: .13em; }
.clean-auth-heading h1 { margin: 8px 0; color: #1d2939; font-size: 32px; }
.clean-auth-heading p { margin: 0 0 27px; color: #667085; font-size: 13px; line-height: 1.5; }
.clean-auth-panel .form { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.clean-auth-panel .form label { display: grid; gap: 6px; color: #344054; font-size: 12px; font-weight: 700; }
.clean-auth-panel .form > button,
.clean-auth-panel .auth-form-long > button { display: flex; min-height: 42px; align-items: center; justify-content: space-between; padding: 9px 13px; border: 1px solid var(--team-blue); border-radius: 7px; color: white; background: var(--team-blue); font: 800 13px Roboto, sans-serif; cursor: pointer; }
.clean-auth-panel .auth-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.clean-auth-panel .password-hint { margin: -5px 0 0; color: #667085; font-size: 11px; }
.clean-auth-panel .form-message:empty { display: none; }
.clean-auth-panel .form-message { padding: 10px; border-radius: 6px; color: #b42318; background: #fef3f2; font-size: 11px; }
.clean-auth-panel .form-message.success { color: #027a48; background: #ecfdf3; }
.clean-auth-panel .auth-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
.clean-auth-panel .auth-links.single { justify-content: flex-start; }
.clean-auth-panel .auth-links button { padding: 0; border: 0; color: var(--team-blue); background: transparent; font: 700 12px Roboto, sans-serif; cursor: pointer; }
.clean-auth-note { display: flex; align-items: center; gap: 8px; margin: 28px 0 0; color: #98a2b3; font-size: 10px; }
.clean-auth-note span { width: 6px; height: 6px; border-radius: 50%; background: #12b76a; }

@media (max-width: 1100px) {
  .portal-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-summary > :nth-child(3) { border-left: 0; border-top: 1px solid var(--team-line); }
  .portal-summary > :nth-child(4) { border-top: 1px solid var(--team-line); }
  .clean-account-form { grid-template-columns: 1fr 1fr; }
  .accounts-panel .account-card { grid-template-columns: 38px minmax(180px, 1fr) minmax(130px, .6fr); }
  .accounts-panel .account-actions { grid-column: 2 / -1; justify-content: flex-start; }
}

@media (max-width: 820px) {
  .portal-sidebar { position: static; width: 100%; min-height: auto; border-right: 0; border-bottom: 1px solid var(--team-line); }
  .portal-brand-block { min-height: 66px; padding: 10px 16px; }
  .portal-logo { width: 118px; max-height: 42px; }
  .portal-menu { display: flex; overflow: hidden; padding: 8px 10px; }
  .portal-menu-item { width: auto; min-width: 0; flex: 1 1 0; justify-content: center; padding-inline: 7px; font-size: 12px; white-space: nowrap; }
  .portal-menu-item > span { flex: 0 1 auto; }
  .portal-menu-item .portal-icon:last-child:not(:first-child) { display: none; }
  .portal-sidebar-content { flex: none; overflow: visible; padding: 8px 14px 12px; }
  .onair-card { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 14px; }
  .onair-card h2,
  .onair-card ul { display: none; }
  .onair-card details { flex: 1 1 180px; border: 1px solid var(--team-line); border-radius: 7px; }
  .onair-card summary { padding: 9px 11px; }
  .onair-card details > div { padding: 0 11px 11px; }
  .portal-sidebar-footer { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; }
  .portal-sidebar-footer .portal-user { padding: 0; }
  .portal-workspace { margin-left: 0; }
  .portal-topbar { position: static; min-height: 74px; padding: 12px 16px; }
  .portal-main { padding: 16px 14px 34px; }
  .clean-request-card { grid-template-columns: 1fr; }
  .clean-request-actions { padding-left: 50px; justify-content: flex-start; }
  .clean-request-actions label { max-width: 300px; }
  .clean-auth-shell { grid-template-columns: 1fr; }
  .clean-auth-brand { min-height: auto; padding: 24px; }
  .clean-auth-brand img { width: 155px; }
  .clean-auth-brand div { margin-top: 28px; }
  .clean-auth-brand h2 { max-width: 560px; margin: 8px 0 0; font-size: 24px; }
  .clean-auth-brand p { display: none; }
  .clean-auth-panel { padding: 34px 0; }
}

@media (max-width: 560px) {
  .portal-brand-block > span { display: none; }
  .portal-topbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .portal-topbar-actions { width: 100%; flex-wrap: wrap; }
  .portal-topbar-actions .button-primary,
  .portal-topbar-actions .button-secondary { flex: 1; }
  .portal-mode { order: 3; width: 100%; justify-content: center; }
  .portal-summary { grid-template-columns: 1fr 1fr; }
  .portal-summary > div,
  .portal-summary > details { padding: 13px; }
  .portal-summary strong { font-size: 16px; }
  .portal-summary > :nth-child(3) { border-left: 0; }
  .clean-panel-head { align-items: stretch; flex-direction: column; }
  .clean-filters { overflow-x: auto; }
  .clean-filters button { flex: 0 0 auto; }
  .clean-request-card { padding: 14px; }
  .clean-request-head { align-items: flex-start; flex-direction: column; gap: 7px; }
  .clean-request-actions { padding-left: 0; }
  .clean-request-actions label { max-width: none; }
  .clean-account-form { grid-template-columns: 1fr; }
  .accounts-panel .account-card { grid-template-columns: 36px minmax(0, 1fr); }
  .accounts-panel .account-activity,
  .accounts-panel .account-actions { grid-column: 2; }
  .account-notice { align-items: flex-start; flex-direction: column; }
  .clean-auth-panel .auth-two-columns { grid-template-columns: 1fr; }
  .clean-auth-panel .auth-links { align-items: flex-start; flex-direction: column; }
}
