:root {
  --bg: #EEF2F6;
  --surface: #F7FAFD;
  --surface-2: #EEF3F8;
  --subsection-orange: #FFFAF2; /* original #FFF4E6 -> 50% lighter */
  --header-blue: #B9CAE5; /* #A7BDDE lightened 20% toward white */
  --admin-bg: #E6F0FF;
  --admin-border: #2C5FA8;
  --admin-primary: #2F6FB3;
  --admin-primary-hover: #255A90;

  --navy: #2E3F5D;
  --blue: #3F6F9F;
  --blue-2: #355F89;

  --red-accent: #B91C1C;

  --text: #1F2937;
  --text-2: #3C4A5C;
  --muted: #66758A;

  --border: #D2DCE8;
  --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 6px 16px rgba(15, 23, 42, 0.06);

  --radius: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: linear-gradient(180deg, var(--bg) 0%, #E6EDF6 100%);
  color: var(--text);
  min-height: 100vh;
}

html.admin,
body.admin {
  --bg: var(--admin-bg);
  --surface: #F6F9FE;
  --surface-2: #ffffff00;
  --table: var(--header-blue);
  --border: var(--admin-border);
  --text: #1F2937;
  --text-muted: #4B5563;
  --blue: var(--admin-primary);
  --blue-hover: var(--admin-primary-hover);
  --focus: #8BB7E8;
  --text-2: var(--text-muted);
  --muted: var(--text-muted);
  --navy: var(--text);
  --blue-2: var(--blue-hover);
  background: var(--bg);
  color: var(--text);
}

html.admin {
  background: var(--bg);
}

body.admin {
  background: var(--bg);
}

body.admin .portal-sidebar,
body.admin .portal-main,
body.admin .container,
body.admin .pending-doc-block,
body.admin .note,
body.admin input,
body.admin select,
body.admin textarea {
  background: var(--surface);
}

body.admin table {
  background: transparent;
  border-color: var(--border);
}

body.admin thead,
body.admin th {
  background: var(--table);
  border-color: var(--border);
  color: var(--text);
}

body.admin tbody,
body.admin tr,
body.admin td {
  background: transparent;
  border-color: var(--border);
  color: var(--text-2);
}

body.admin tr:hover td {
  background: rgba(230, 240, 255, 0.45);
}

body.admin input:focus,
body.admin select:focus,
body.admin textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(139, 183, 232, 0.35);
}

body.admin a.link,
body.admin .nav-pill {
  color: var(--blue);
}

body.admin .nav-pill:hover,
body.admin .sidebar-pill:hover {
  border-color: var(--blue-hover);
}

body.admin button,
body.admin a.btn,
body.admin a.name-open-btn,
body.admin .nav-pill.active {
  background: var(--blue);
  border-color: var(--blue-hover);
  color: #FFFFFF;
}

body.admin button:hover,
body.admin a.btn:hover,
body.admin a.name-open-btn:hover,
body.admin .nav-pill:hover,
body.admin .sidebar-pill.active {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

body.admin a.btn.btn-logout,
a.btn.btn-logout {
  padding: 6px 12px;
  border-radius: 4px;
  background: #111111;
  border-color: #111111;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

body.admin a.btn.btn-logout:hover,
a.btn.btn-logout:hover {
  background: #000000;
  border-color: #000000;
}

body.admin a.name-open-btn {
  display: inline-block;
  text-decoration: none;
}

body.admin .portal-sidebar {
  background: #7FA3C7; /* original sidebar blue #2A65A2 -> 40% lighter #7FA3C7 */
  border-color: var(--blue-hover);
}

body.admin .sidebar-pill,
body.admin .portal-sidebar .nav-pill {
  background: var(--blue);
  color: #FFFFFF;
  border-color: var(--blue-hover);
}


body.admin .card,
body.admin .pending-doc-block,
body.admin .note,
body.admin hr,
body.admin .doc-check-row,
body.admin .pending-doc-line,
body.admin .world-clock-row + .world-clock-row,
body.admin .portal-sidebar {
  border-color: var(--border);
}

body.admin .admin-counter-pill,
body.admin .world-clock-widget {
  background: #FFE8CC; /* top widgets unchanged */
  border-color: var(--border);
}

body.admin .card,
body.admin .pending-doc-block,
body.admin .note,
body.admin details.card {
  background: var(--subsection-orange);
}

body.admin .card > h2,
body.admin th {
  background: transparent;
}

body.admin details.card > summary,
body.admin th {
  background: var(--table);
}

body.admin .card > details.dashboard-dropdown > summary {
  background: var(--table);
  border: 1px solid var(--border);
  border-radius: 2px;
  margin: 2px 6px 8px;
  padding: 2px 10px;
}

body.admin .card > details.dashboard-dropdown[open] > summary {
  margin-bottom: 10px;
}

body.login-page {
  --bg: var(--admin-bg);
  --surface: #F6F9FE;
  --border: var(--admin-border);
  --blue: var(--admin-primary);
  --blue-2: var(--admin-primary-hover);
  --focus: #8BB7E8;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

body.login-page .login-container {
  max-width: 460px;
  width: 100%;
  margin: 24px auto;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

body.login-page .login-card {
  background: var(--subsection-orange);
  border-color: var(--border);
  border-radius: var(--radius);
}

.login-hero-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(245, 130, 32, 0.22), transparent 40%),
    radial-gradient(circle at 82% 6%, rgba(44, 95, 168, 0.2), transparent 42%),
    linear-gradient(180deg, #eef4fc 0%, #dfeaf8 100%);
  z-index: 0;
}

.login-landing {
  max-width: 980px;
  position: relative;
  z-index: 1;
}

.login-landing-intro h1 {
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.login-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.login-copy {
  white-space: pre-line;
}

.login-banner-pill {
  border: 1px solid rgba(63, 111, 159, 0.28);
  background: rgba(63, 111, 159, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  white-space: pre-line;
}

.login-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.login-action-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 10px;
  align-content: start;
}

.login-action-card.primary {
  border-top: 4px solid #f58220;
}

.login-action-card .btn {
  width: 100%;
  text-align: center;
}

.login-form-card {
  margin-top: 14px;
}

body.login-page input:focus,
body.login-page select:focus,
body.login-page textarea:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(139, 183, 232, 0.35);
}

.container {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 16px 48px;
}

.view-as-banner {
  position: sticky;
  top: 0;
  z-index: 1200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #b91c1c;
  color: #fff;
  font-weight: 600;
}

.view-as-banner .btn {
  margin: 0;
}

.global-view-buttons {
  position: fixed;
  top: 10px;
  right: 14px;
  z-index: 1250;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.global-view-buttons .btn {
  margin: 0;
}

.topbar,
.header,
.portal-header,
.top-bar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar {
  justify-content: space-between;
  margin-bottom: 16px;
}

.card > .header {
  display: block;
}

.topbar-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.student-dashboard-layout {
  display: block;
}

.student-dashboard-page .container {
  max-width: none;
  margin: 24px 0;
}

.student-dashboard-rail {
  position: sticky;
  top: 18px;
}

.student-dashboard-main {
  min-width: 0;
}

.student-quick-actions-card {
  margin-top: 0;
}

.student-quick-actions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.student-quick-actions-list .btn {
  width: auto;
  justify-content: center;
}

.student-quick-actions-card {
  margin: 0 0 14px;
}

@media (max-width: 1023px) {
  .student-dashboard-rail {
    position: static;
  }

  .student-quick-actions-list .btn {
    width: 100%;
    justify-content: flex-start;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 4px;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.sunpulse-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

h1 { margin: 0 0 6px; font-size: 26px; }
h2 { margin: 0 0 12px; font-size: 18px; }
h3 { margin: 12px 0; font-size: 16px; }

.muted { color: var(--muted); }
.small { font-size: 12px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin: 14px 0;
  box-shadow: var(--shadow-soft);
}

.alert {
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.26);
  color: var(--red-accent);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 10px 0 16px;
}

.alert.success {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.26);
  color: #16a34a;
}

.alert.warning {
  background: rgba(180, 83, 9, 0.1);
  border: 1px solid rgba(180, 83, 9, 0.28);
  color: #92400e;
}

.alert.error {
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.26);
  color: var(--red-accent);
}

.note {
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
}

.note.warning {
  border-color: rgba(185, 28, 28, 0.25);
  background: rgba(185, 28, 28, 0.06);
  color: var(--red-accent);
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.right { text-align: right; }

.aei-actionbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0 14px;
}

.aei-actionbar form {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: auto;
  flex: 0 0 auto;
}

.aei-actionbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  min-width: unset;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 10px;
  flex-direction: row;
}

.aei-actionbtn,
.aei-actionbtn * {
  flex: 0 0 auto;
}

.employer-header-actions {
  justify-content: flex-end;
}

.employer-header-actions-secondary {
  justify-content: flex-end;
  margin-top: 8px;
}

@media (max-width: 760px) {
  .employer-header-actions,
  .employer-header-actions-secondary {
    justify-content: flex-start;
  }
}

.login-designer-logo-thumb {
  width: 140px;
  height: 80px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}

.login-designer-logo-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.login-designer-logo-empty {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

.login-designer-preview-logo {
  width: 136px;
  height: 72px;
  margin: 0 0 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}

.login-designer-preview-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.login-designer-preview-fallback {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text);
}

#loginLogoUploadStatus.is-loading {
  color: var(--muted);
}

#loginLogoUploadStatus.is-success {
  color: #166534;
}

#loginLogoUploadStatus.is-error {
  color: var(--red-accent);
}

.student-summary-actions {
  flex: 1 1 520px;
  min-width: min(100%, 520px);
  display: grid;
  gap: 10px;
  text-align: left;
}

.student-summary-actions__badge {
  justify-self: end;
}

.student-summary-actions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.student-summary-action-form {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: auto;
  flex: 0 0 auto;
}

.student-summary-actions .student-summary-action {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  padding: 9px 10px;
  text-decoration: none;
}

.student-summary-actions .aei-actionbtn {
  width: auto;
  min-width: unset;
}

.student-summary-actions .student-summary-action--secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.student-summary-actions .student-summary-action--secondary:hover {
  background: var(--surface-2);
  border-color: #c5d2e1;
  color: var(--text);
}

.student-summary-actions .student-summary-action--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #f4f8fd;
}

.student-summary-actions .student-summary-action--primary:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
}

@media (max-width: 1200px) {
  .right .aei-actionbar { justify-content: flex-end; }
}

@media (max-width: 760px) {
  .student-summary-actions {
    min-width: 0;
  }

  .student-summary-actions__badge {
    justify-self: start;
  }

  .right .aei-actionbar { justify-content: flex-start; }
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-job-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-job-board-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  background: rgba(255, 255, 255, 0.35);
}

.admin-job-board-subtitle {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--text);
}

.stack { display: grid; gap: 6px; }

.settings-invite-form {
  gap: 10px;
}

.settings-invite-options {
  display: grid;
  gap: 8px;
}

.settings-invite-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.38);
}

.settings-invite-option input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  min-width: 18px;
  height: 18px;
}

.settings-invite-option__text {
  font-size: 13px;
  line-height: 1.35;
  color: var(--text-2);
}

label { font-size: 12px; color: var(--muted); }

input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  outline: none;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-width: 16px;
  height: 16px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
}

input::placeholder { color: var(--muted); }

select {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
select option {
  background: var(--surface);
  color: var(--text);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.20);
}

button {
  width: auto;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
  background: var(--blue);
  border-color: var(--blue);
  color: #F4F8FD;
  font-weight: 600;
}

button:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
}

button.danger {
  background: var(--red-accent);
  border-color: var(--red-accent);
  color: #F9FAFB;
}

a.link { color: var(--blue); opacity: 0.92; text-decoration: none; }
a.link:hover { opacity: 1; text-decoration: underline; }

a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #F4F8FD;
  text-decoration: none;
  font-weight: 600;
}

a.btn:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
}

button.secondary,
a.btn.secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

button.secondary:hover,
a.btn.secondary:hover {
  background: var(--surface-2);
  border-color: #C5D2E1;
}

button.btn-inline-action {
  width: auto !important;
  max-width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  min-height: 30px;
  padding: 6px 12px;
  vertical-align: middle;
}

a.btn-inline-action {
  width: auto !important;
  max-width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.admin-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.top-nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}

.nav-pill:hover {
  background: #EAF0F8;
  border-color: rgba(63, 111, 159, 0.35);
  transform: translateY(-1px);
}

.nav-pill.active {
  background: var(--blue);
  color: #F4F8FD;
  border-color: rgba(63, 111, 159, 0.45);
}

.nav-pill.dashboard-link {
  background-color: #f58220;
  border-color: #f58220;
  color: #ffffff;
}

.nav-pill.dashboard-link:hover {
  filter: brightness(0.95);
}

.nav-pill.dashboard-link.active {
  background-color: var(--blue);
  border-color: rgba(63, 111, 159, 0.45);
  color: #F4F8FD;
  filter: none;
}

.nav-pill.danger {
  color: var(--red-accent);
  border-color: rgba(185, 28, 28, 0.25);
}

.nav-pill.danger:hover {
  background: rgba(185, 28, 28, 0.06);
}


.portal-layout {
  margin: 0;
  display: flex;
  min-height: 100vh;
}

.portal-sidebar {
  width: 240px;
  min-width: 240px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0 8px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-pill {
  width: 100%;
  justify-content: flex-start;
  padding: 12px 14px;
}


.sidebar-footer {
  margin-top: auto;
}

.portal-main {
  flex: 1;
  min-width: 0;
  padding: 0 10px 22px;
}

body.admin.portal-layout {
  height: 100vh;
  overflow: hidden;
}

body.admin.portal-layout .portal-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

body.admin.portal-layout .portal-main {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.admin-header,
.admin-header-widgets {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(100%, 1100px);
}

.admin-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.admin-header-row-top {
  justify-content: stretch;
}

.admin-header-row-bottom {
  align-items: flex-start;
}

.kpi-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 7px;
  width: min(100%, 640px);
}

.kpi-tile,
.admin-counter-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kpi-title,
.admin-counter-label {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.15;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kpi-count,
.admin-counter-value {
  margin-top: 2px;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 800;
  color: var(--text);
}

.kpi-status,
.admin-counter-indicator {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.kpi-status-dot,
.admin-counter-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  display: inline-block;
}

.kpi-status.good,
.admin-counter-indicator.good {
  color: #166534;
}

.kpi-status.good .kpi-status-dot,
.admin-counter-indicator.good .admin-counter-dot {
  background: #22c55e;
}

.kpi-status.attention,
.admin-counter-indicator.attention {
  color: #9a3412;
}

.kpi-status.attention .kpi-status-dot,
.admin-counter-indicator.attention .admin-counter-dot {
  background: #f59e0b;
}

.admin-counter-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.admin-counter-link:hover {
  transform: translateY(-1px);
  border-color: var(--blue-hover);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  width: min(100%, 560px);
  margin-left: auto;
}

.header-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

.header-actions-row-search {
  justify-content: flex-end;
}

.header-actions-row-logout {
  justify-content: flex-end;
}

.admin-quick-links-wrap {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.admin-quick-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-actions-row-links .admin-quick-links {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
}

.header-actions-row-links .admin-quick-link {
  width: max-content;
}

.admin-quick-links--compact .admin-quick-link-item {
  display: inline-flex;
  margin: 0;
}

.admin-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-hover);
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.admin-quick-link:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

body.admin .guide-header-btn.admin-quick-link {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

body.admin .admin-header-logout.btn.btn-logout {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  line-height: 1.1;
}

.admin-global-search {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-left: auto;
}

.admin-global-search input[type="search"] {
  min-width: 190px;
  max-width: 280px;
  width: 230px;
  height: 32px;
  padding: 5px 10px;
}

.admin-global-search .btn {
  height: 32px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.world-clock-widget {
  width: max-content;
  max-width: 100%;
  margin: 0 0 0 auto;
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.world-clock-date {
  font-size: 0.74rem;
  color: var(--muted);
  margin: 0;
  white-space: nowrap;
}

.world-clock-separator {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1;
}

.world-clock-rows {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.world-clock-row {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  justify-content: flex-start;
  white-space: nowrap;
}

.world-clock-row + .world-clock-row::before {
  content: "•";
  color: var(--muted);
  margin-right: 6px;
  font-size: 0.85rem;
  line-height: 1;
}

.world-clock-label {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.world-clock-time {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.world-clock-timezone {
  font-size: 0.67rem;
  white-space: nowrap;
}

/* legacy selectors retained to override previous vertical widget styles */
.world-clock-row + .world-clock-row {
  border-top: 0;
  padding-top: 0;
}

.world-clock-label,
.world-clock-time {
  display: inline-block;
}

@media (max-width: 820px) {
  .world-clock-widget {
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    border-radius: var(--radius-sm);
    gap: 6px;
  }

  .world-clock-rows {
    gap: 6px;
  }

  .world-clock-row + .world-clock-row::before {
    margin-right: 4px;
  }

  .world-clock-separator {
    display: none;
  }
}

body.admin .topbar .brand-logo {
  height: 34px;
}

/* legacy class support */
.admin-counter-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 7px;
  width: 100%;
}

.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  margin: 2px 4px 2px 0;
}

.status-badge.approved {
  border-color: rgba(21, 128, 61, 0.28);
  background: rgba(21, 128, 61, 0.08);
  color: #166534;
}

.status-badge.pending {
  border-color: rgba(202, 138, 4, 0.28);
  background: rgba(202, 138, 4, 0.08);
  color: #854d0e;
}

.status-badge.rejected,
.status-badge.missing {
  border-color: rgba(185, 28, 28, 0.28);
  background: rgba(185, 28, 28, 0.08);
  color: #991b1b;
}

.status-badge.not-required {
  border-color: rgba(71, 85, 105, 0.28);
  background: rgba(71, 85, 105, 0.08);
  color: #334155;
}

.doc-check-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.doc-check-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.doc-check-title {
  font-weight: 600;
  color: var(--text);
}

.doc-check-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pending-doc-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 12px;
  margin-top: 10px;
}

.pending-doc-block:first-of-type {
  margin-top: 0;
}

.pending-doc-lines {
  margin-top: 8px;
}

.pending-doc-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--border);
}

.pending-doc-line:first-child {
  border-top: 0;
  padding-top: 0;
}

.pending-doc-line-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.pending-doc-line-actions[data-doc-row] {
  justify-content: flex-end;
  align-items: flex-start;
  min-width: 290px;
}

.pending-doc-inline-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pending-doc-inline-actions .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.doc-rejection-reason {
  width: 100%;
  margin: 2px 0 0;
  text-align: left;
}

.doc-rejection-reason summary {
  cursor: pointer;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}

.doc-rejection-reason p {
  margin: 6px 0 0;
}

.doc-reject-modal {
  width: min(520px, 94vw);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
}

.doc-reject-modal::backdrop {
  background: rgba(15, 23, 42, 0.48);
}

.doc-reject-modal__form {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.doc-reject-modal__form h3 {
  margin: 0;
}

.doc-reject-modal__subtitle {
  margin: 0;
}

.doc-reject-modal textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
  resize: vertical;
  min-height: 96px;
}

.doc-reject-modal textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}

.doc-reject-modal__error {
  border: 1px solid rgba(185, 28, 28, 0.3);
  background: rgba(185, 28, 28, 0.09);
  color: #991b1b;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
}

.doc-reject-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.inline-upload,
.inline-status-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.inline-upload input[type="file"] {
  max-width: 170px;
}

.inline-status-form input {
  min-width: 160px;
}

.enrollment-status-cell {
  white-space: nowrap;
  min-width: 210px;
}

.enrollment-status-select {
  min-width: 142px;
  width: 142px;
  max-width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
}

.enrollment-status-feedback {
  display: inline-block;
  margin-left: 8px;
  min-width: 62px;
  font-size: 11px;
  color: var(--text-2);
}

.enrollment-status-feedback.is-saving {
  color: #0f172a;
}

.enrollment-status-feedback.is-success {
  color: #166534;
}

.enrollment-status-feedback.is-error {
  color: #b91c1c;
}

@media (max-width: 760px) {
  .pending-doc-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .pending-doc-line-actions[data-doc-row] {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }
}

.doc-group {
  margin-top: 12px;
}

.doc-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}

body.admin .collapsible-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--table);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  overflow: visible;
}

body.admin .collapsible-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
}

body.admin .collapsible-caret-wrap {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.admin .collapsible-caret {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

body.admin .collapsible-section:not(.is-collapsed) .collapsible-caret {
  transform: rotate(-135deg);
}

body.admin .collapsible-body {
  margin-top: 12px;
}

body.admin .collapsible-section.is-collapsed .collapsible-body {
  display: none;
}

.collapse-card .collapse-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: var(--surface);
  cursor: pointer;
}

.collapse-card .collapse-header-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.collapse-card .collapse-header .chev {
  transition: transform 0.15s ease;
}

.collapse-card .collapse-header.open .chev {
  transform: rotate(90deg);
}

.collapse-card .collapse-body {
  margin-top: 10px;
}

.collapse-card .collapse-body.hidden {
  display: none;
}

.a-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--subsection-orange);
}

.card.a-section {
  padding: 0;
  overflow: hidden;
}

.a-section__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.a-section__header--static {
  cursor: default;
}

.a-section__header--collapsible {
  cursor: pointer;
  background: var(--table);
}

.a-section__header--collapsible:hover,
.a-section__header--collapsible:focus-visible {
  background: rgba(42, 101, 162, 0.1);
  outline: none;
}

.a-section__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.a-section__body {
  padding: 12px 14px;
}

.a-section__body[hidden] {
  display: none !important;
}

.a-section__chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 120ms ease;
  opacity: 0.8;
  flex: 0 0 auto;
}

.a-section__header--collapsible[aria-expanded="true"] .a-section__chevron {
  transform: rotate(225deg);
}

.management-inline-tool {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.management-inline-tool__description {
  margin: 0;
}

.portal-bug-report-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  min-height: 0;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--blue-2);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.portal-bug-report-fab:hover {
  background: var(--blue-2);
  border-color: var(--blue-2);
}

.portal-bug-report-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
}

.portal-bug-report-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.portal-bug-report-panel {
  position: absolute;
  right: 16px;
  bottom: 64px;
  width: min(420px, calc(100vw - 24px));
  max-height: calc(100vh - 96px);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 700px) {
  .portal-bug-report-panel {
    right: 12px;
    left: 12px;
    width: auto;
  }
}

.management-inline-tool__panel {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}

.management-inline-tool__loading {
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0 8px;
}

.management-inline-tool__error {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-size: 14px;
  font-weight: 600;
}

.management-inline-tool__content {
  min-height: 60px;
}

.management-inline-tool__content > :first-child {
  margin-top: 0;
}

.management-inline-tool__content > :last-child {
  margin-bottom: 0;
}

details.card > summary,
.card > details > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 28px;
}

details.card > summary::-webkit-details-marker,
.card > details > summary::-webkit-details-marker {
  display: none;
}

details.card > summary::after,
.card > details > summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 120ms ease;
  opacity: 0.8;
}

details.card[open] > summary::after,
.card > details[open] > summary::after {
  transform: translateY(-35%) rotate(225deg);
}

body.admin .management-accordion > details.card,
body.admin details.card[data-collapsible-section="true"] {
  padding: 9px 12px;
  box-shadow: none;
}

body.admin .management-accordion > details.card > summary,
body.admin details.card[data-collapsible-section="true"] > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 0;
  margin: 0;
  min-height: 22px;
  padding: 1px 10px;
  padding-right: 10px;
  line-height: 1.25;
}

body.admin .management-accordion > details.card > summary > b,
body.admin details.card[data-collapsible-section="true"] > summary > b {
  font-size: 18px;
  font-weight: 700;
}

body.admin details.card[data-collapsible-section="true"] > summary .summary-status-badge {
  margin-left: auto;
  margin-right: 0;
}

body.admin .management-accordion > details.card > summary::after,
body.admin details.card[data-collapsible-section="true"] > summary::after {
  content: none;
}

body.admin .management-accordion > details.card > summary::before,
body.admin details.card[data-collapsible-section="true"] > summary::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentColor;
  opacity: 0.9;
  margin-left: 1px;
  transform: rotate(0deg);
  transform-origin: 40% 50%;
  transition: transform 120ms ease;
}

body.admin .management-accordion > details.card[open] > summary::before,
body.admin details.card[data-collapsible-section="true"][open] > summary::before {
  transform: rotate(90deg);
}

body.admin details.card[data-collapsible-section="true"] > .collapsible-body {
  margin: 10px 4px 6px;
}

.occupation-reset-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.occupation-reset-row button {
  width: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

th, td {
  text-align: left;
  padding: 10px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 13px;
  color: var(--text-2);
  overflow-wrap: anywhere;
  word-break: break-word;
}

th {
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  background: var(--surface-2);
}

tr:hover td {
  background: #EAF0F8;
}

.shop-products-table-wrap {
  margin-top: 10px;
}

.shop-products-table {
  margin-top: 0;
  min-width: 1050px;
}

.shop-products-table th,
.shop-products-table td {
  overflow-wrap: normal;
  word-break: normal;
}

.shop-products-table .pill {
  white-space: normal;
  line-height: 1.2;
}

.shop-product-main {
  max-width: 46ch;
}

.shop-product-name {
  line-height: 1.22;
  color: var(--text);
}

.shop-product-description {
  margin-top: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.shop-product-meta {
  margin-top: 6px;
  display: grid;
  gap: 2px;
  max-width: 30ch;
}

.shop-products-table td:last-child .topbar-links {
  justify-content: flex-start;
}

.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
}

.pill.ready {
  border-color: rgba(29, 78, 216, 0.25);
  background: rgba(29, 78, 216, 0.08);
  color: var(--blue);
}

.pill.nearly {
  border-color: rgba(29, 78, 216, 0.25);
  background: rgba(29, 78, 216, 0.08);
  color: var(--blue);
}

.pill.complete,
.pill.success {
  border-color: rgba(22, 101, 52, 0.28);
  background: rgba(22, 101, 52, 0.1);
  color: #166534;
}

.pill.pending,
.pill.warning {
  border-color: rgba(180, 83, 9, 0.26);
  background: rgba(180, 83, 9, 0.1);
  color: #92400e;
}

.pill.incomplete {
  border-color: rgba(185, 28, 28, 0.32);
  background: rgba(185, 28, 28, 0.08);
  color: var(--red-accent);
}

.input-error {
  border-color: rgba(185, 28, 28, 0.6) !important;
  box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.15);
  background: rgba(185, 28, 28, 0.04);
}

.field-error {
  color: #991b1b;
  margin-top: 4px;
}

.form-status {
  margin-top: 10px;
}

.form-status.is-error {
  color: #991b1b;
}

.form-status.is-success {
  color: #166534;
}

hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

@media (max-width: 820px) {
  .portal-layout {
    flex-direction: column;
  }
  body.admin.portal-layout {
    height: auto;
    overflow: visible;
  }
  .portal-sidebar {
    width: 100%;
    min-width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  body.admin.portal-layout .portal-sidebar {
    position: static;
    height: auto;
    overflow: visible;
  }
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-pill {
    width: auto;
  }
  .sunpulse-title-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .portal-main {
    padding: 0;
  }
  body.admin.portal-layout .portal-main {
    height: auto;
    overflow: visible;
  }
  .admin-header,
  .admin-header-widgets {
    width: 100%;
    gap: 8px;
  }
  .admin-header-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .admin-header-row-top {
    align-items: flex-end;
  }
  .kpi-tiles,
  .admin-counter-strip {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-actions {
    width: 100%;
    margin-left: 0;
    align-items: stretch;
  }
  .header-actions-row {
    justify-content: flex-start;
  }
  .global-view-buttons {
    top: 8px;
    right: 10px;
    max-width: calc(100vw - 20px);
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .global-view-buttons .btn {
    padding: 6px 9px;
    font-size: 12px;
  }
  .admin-quick-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .admin-global-search {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 0;
  }
  .admin-global-search input[type="search"] {
    min-width: 0;
    width: min(100%, 300px);
  }
  .world-clock-widget {
    width: 100%;
    max-width: 100%;
  }
  .grid2 { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .admin-job-board-grid { grid-template-columns: 1fr; }
  .row-between { flex-direction: column; }
  .right { text-align: left; }
  .brand-logo { height: 32px; }
  .shop-products-table {
    min-width: 920px;
  }
  .shop-product-main {
    max-width: 34ch;
  }
  .settings-invite-option {
    padding: 10px;
  }
}

.wizard-progress-header {
  font-size: 13px;
  color: #4c5566;
  margin-bottom: 6px;
}

.wizard-progress-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.wizard-step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wizard-step-pill {
  border: 1px solid #d8dfea;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: #4a5568;
}

.wizard-step-pill.active {
  background: #0f4f9a;
  border-color: #0f4f9a;
  color: #fff;
}

.wizard-step-pill.done {
  background: #e8f4ea;
  border-color: #99cca1;
  color: #235c2d;
}

.wizard-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 8px;
}

.wizard-review-confirm-btn {
  width: 100%;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: #f5d45d;
  border-color: #caa52a;
  color: #1b2432;
}

.wizard-review-confirm-btn:hover {
  background: #f2c73a;
  border-color: #b78f17;
}

.wizard-upload-document-btn {
  width: 100%;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background: #1f4ed8;
  border-color: #1e40af;
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 64, 175, 0.28);
}

.wizard-upload-document-btn:hover:not([disabled]) {
  background: #1e40af;
  border-color: #1e3a8a;
}

.wizard-upload-document-btn[disabled] {
  opacity: 0.7;
}

.guide-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  min-height: 32px;
  width: auto;
  max-width: max-content;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  margin: 0;
  cursor: pointer;
  box-shadow: none;
  white-space: nowrap;
  flex: 0 0 auto;
}

body.admin .guide-header-btn {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

body.admin .guide-header-btn:hover {
  background: #EAF0F8;
  border-color: rgba(63, 111, 159, 0.35);
}

.guide-panel {
  position: fixed;
  right: 20px;
  top: 76px;
  width: min(420px, calc(100vw - 32px));
  max-height: 70vh;
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
  flex-direction: column;
  z-index: 1201;
}

.guide-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.guide-header {
  padding: 10px 12px;
  border-bottom: 1px solid #e6edf7;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-close-btn {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 10px;
  border-bottom: 1px solid #eef3fa;
}

.guide-chip {
  border: 1px solid #d4deec;
  background: #f7faff;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}

.guide-messages {
  padding: 10px;
  overflow: auto;
  min-height: 160px;
  max-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-message {
  max-width: 90%;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.35;
  white-space: pre-wrap;
}

.guide-message.user {
  background: #0f4f9a;
  color: #fff;
  align-self: flex-end;
}

.guide-message.assistant {
  background: #f0f5fc;
  color: #1f2e44;
  align-self: flex-start;
}

.guide-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.guide-link {
  font-size: 12px;
}

.guide-input-row {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #e6edf7;
}

.guide-input-row input {
  flex: 1;
}

/* Responsive system tokens */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a,
button,
input,
select,
textarea {
  overflow-wrap: anywhere;
  word-break: break-word;
}

:focus-visible {
  outline: 2px solid #255A90;
  outline-offset: 2px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.mobile-card-list {
  display: none;
}

.mobile-shell-topbar,
.mobile-nav-backdrop,
.mobile-nav-toggle {
  display: none;
}

.mobile-nav-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.mobile-nav-toggle-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.mobile-nav-toggle-icon path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.mobile-nav-toggle-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.mobile-nav-close {
  display: none;
}

.mobile-nav-backdrop[hidden] {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.mobile-sticky-actions {
  display: none;
}

.toast-stack {
  position: fixed;
  right: 14px;
  bottom: 86px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #0f4f9a;
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.ios-a2hs-modal {
  position: fixed;
  inset: 0;
  z-index: 1350;
  background: rgba(17, 24, 39, 0.45);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ios-a2hs-modal-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.2);
}

.ios-a2hs-modal-card h3 {
  margin: 0 0 8px;
}

.ios-a2hs-modal-card ol {
  margin: 0 0 12px 18px;
  padding: 0;
}

@media (max-width: 1023px) {
  body {
    font-size: 15px;
  }

  button,
  a.btn,
  input,
  select,
  textarea {
    min-height: 44px;
    font-size: 16px;
  }

  .guide-header-btn {
    min-height: 32px;
    height: 32px;
    padding: 0 10px;
  }

  .mobile-shell-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-4);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1150;
  }

  .mobile-shell-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    min-width: 0;
    max-width: calc(100% - 124px);
  }

  .mobile-shell-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-logo,
  .brand-logo {
    height: 32px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 96px;
    padding: 8px 12px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1148;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  body.mobile-nav-open .mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .portal-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(84vw, 320px);
    max-width: 320px;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    z-index: 1149;
    border-right: 1px solid var(--border);
    pointer-events: none;
    overflow-y: auto;
    padding: 12px;
  }

  .mobile-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-left: auto;
    margin-bottom: 6px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-nav-close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }

  .mobile-nav-close-icon svg {
    width: 16px;
    height: 16px;
    display: block;
  }

  .mobile-nav-close-icon path {
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
  }

  body.mobile-nav-open .portal-sidebar {
    transform: translateX(0);
    pointer-events: auto;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .portal-main {
    width: 100%;
    min-width: 0;
  }

  .container {
    margin: 14px auto;
    padding: 0 10px 34px;
  }

  body.portal-layout:not(.admin) .container {
    margin: 10px auto;
    padding: 0 10px 26px;
  }

  body.portal-layout:not(.admin) .card {
    padding: 12px;
    border-radius: 12px;
    margin: 10px 0;
  }

  .login-action-grid {
    grid-template-columns: 1fr;
  }

  .login-landing-intro h1 {
    font-size: 28px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 12px;
  }

  .brand {
    padding-left: 0;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
  }

  .brand > div {
    min-width: 0;
  }

  .brand h1,
  .brand .muted {
    overflow-wrap: anywhere;
  }

  .admin-header-row,
  .admin-header-row-top {
    gap: 8px;
  }

  .kpi-tiles,
  .admin-counter-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-counter-pill,
  .kpi-tile {
    padding: 10px;
  }

  .world-clock-widget,
  .admin-world-clock-horizontal {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 6px 8px;
    margin: 0;
  }

  .header-actions {
    width: 100%;
    align-items: stretch;
    margin: 0;
    gap: 8px;
  }

  .header-actions-row,
  .admin-global-search,
  .admin-quick-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0;
    gap: 8px;
  }

  .header-actions-row-links .admin-quick-links {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    width: 100%;
  }

  .admin-quick-links--compact .admin-quick-link-item {
    text-align: left;
  }

  .admin-global-search input[type="search"],
  .admin-global-search input[type="text"] {
    width: min(100%, 280px);
  }

  .grid2,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .row-between {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .right {
    text-align: left;
  }

  .right > div {
    margin-top: 6px;
  }

  .stack label {
    display: block;
    margin-bottom: 6px;
  }

  th,
  td {
    padding: 8px 7px;
    font-size: 12px;
  }

  .mobile-card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .mobile-data-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    padding: 10px;
  }

  .mobile-data-item {
    font-size: 12px;
    margin-bottom: 6px;
    display: grid;
    grid-template-columns: minmax(92px, 34%) 1fr;
    gap: 8px;
    align-items: flex-start;
  }

  .mobile-data-item strong,
  .mobile-data-label {
    color: var(--text);
    line-height: 1.25;
  }

  .mobile-data-value {
    min-width: 0;
    line-height: 1.3;
  }

  table.mobile-hidden-on-phone {
    display: none;
  }

  body.portal-layout:not(.admin) .topbar-links .btn,
  body.portal-layout:not(.admin) .wizard-actions .btn,
  body.portal-layout:not(.admin) .doc-check-actions .btn,
  body.portal-layout:not(.admin) .pending-doc-line-actions .btn {
    width: 100%;
    justify-content: center;
  }

  body.portal-layout:not(.admin) .doc-check-row,
  body.portal-layout:not(.admin) .pending-doc-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  body.portal-layout:not(.admin) .doc-check-actions,
  body.portal-layout:not(.admin) .pending-doc-line-actions,
  body.portal-layout:not(.admin) .pending-doc-line-actions[data-doc-row] {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  body.portal-layout:not(.admin) .inline-upload,
  body.portal-layout:not(.admin) .inline-status-form {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
  }

  body.portal-layout:not(.admin) .inline-upload input[type="file"] {
    max-width: 100%;
  }

  body.portal-layout:not(.admin) .portal-bug-report-fab {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    border-radius: 999px;
    padding: 10px 14px;
  }

  body.portal-layout:not(.admin) .guide-panel {
    right: 12px;
    top: 68px;
    width: calc(100vw - 24px);
    max-height: 66vh;
  }

  body.mobile-sticky-enabled {
    padding-bottom: 70px;
  }

  .mobile-sticky-actions {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1180;
    padding: 8px;
    gap: 8px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--border);
  }

  .mobile-sticky-actions button {
    flex: 1;
  }
}

@media (max-width: 767px) {
  .kpi-tiles,
  .admin-counter-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Login Landing Redesign ===== */
body.login-page {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #1e293b;
}

.login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-main-card {
  width: min(720px, 92vw);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 32px;
}

.login-header {
  margin-bottom: 24px;
  text-align: center;
}

.login-logo {
  width: 60px;
  max-width: 60px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.login-headline {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.1;
  color: #1e293b;
  font-weight: 800;
}

.login-subheadline {
  margin: 0 0 10px;
  color: #334155;
  font-size: 18px;
  line-height: 1.45;
}

.login-body-copy {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

.login-banner {
  margin: 0 auto 20px;
  max-width: 560px;
  border: 1px solid rgba(31, 78, 216, 0.18);
  background: rgba(31, 78, 216, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  color: #1e3a8a;
  font-size: 14px;
  text-align: center;
}

.login-alert {
  margin: 0 auto 20px;
  max-width: 560px;
  border: 1px solid rgba(239, 68, 68, 0.26);
  background: rgba(254, 226, 226, 0.86);
  border-radius: 10px;
  color: #991b1b;
  padding: 10px 12px;
  font-size: 14px;
  text-align: center;
}

.login-action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(480px, 100%);
  margin: 0 auto;
}

.login-action-form {
  margin: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.login-action-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 14px 28px;
  border: 0;
  border-radius: 12px;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 750;
  font-family: inherit;
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.login-action-btn:hover,
.login-action-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.2);
}

.login-action-btn:focus-visible {
  outline: 3px solid rgba(31, 78, 216, 0.28);
  outline-offset: 2px;
}

.login-action-btn-title {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: inherit;
  margin-bottom: 4px;
}

.login-action-btn-subtext {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

.login-action-btn-student {
  background: #1f4ed8;
}

.login-action-btn-student:hover,
.login-action-btn-student:focus-visible {
  background: #1e40af;
}

.login-action-btn-employer {
  background: #7cc9ff;
}

.login-action-btn-employer:hover,
.login-action-btn-employer:focus-visible {
  background: #63b8f3;
}

.login-action-btn-login {
  background: #1e293b;
}

.login-action-btn-login:hover,
.login-action-btn-login:focus-visible {
  background: #111827;
}

.login-form-section {
  margin: 28px auto 0;
  width: min(560px, 100%);
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(203, 213, 225, 0.75);
}

.login-form-title {
  margin: 0 0 16px;
  font-size: 22px;
  color: #1e293b;
  text-align: center;
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-field {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.login-field input {
  border: 1px solid rgba(148, 163, 184, 0.65);
  border-radius: 8px;
  padding: 12px;
  min-height: 44px;
  color: #1e293b;
  background: #fff;
  box-shadow: none;
}

.login-field input:focus-visible {
  outline: none;
  border-color: #1f4ed8;
  box-shadow: 0 0 0 3px rgba(31, 78, 216, 0.14);
}

.login-password-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 13px;
}

.login-password-toggle input {
  width: 16px;
  height: 16px;
  min-height: 16px;
}

.login-form-note {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.login-submit-btn {
  background: #1f4ed8;
  color: #fff;
  border: 0;
  border-radius: 10px;
  min-height: 46px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.18s ease;
}

.login-submit-btn:hover,
.login-submit-btn:focus-visible {
  filter: brightness(0.95);
}

.login-forgot-wrap {
  text-align: center;
  margin-top: 14px;
}

.login-forgot-link {
  color: #64748b;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}

.login-forgot-link:hover,
.login-forgot-link:focus-visible {
  color: #1f4ed8;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .login-shell {
    padding: 16px;
  }

  .login-main-card {
    width: 92%;
    padding: 24px;
  }

  .login-action-buttons {
    width: 100%;
  }

  .login-action-btn {
    max-width: calc(100% - 32px);
  }

  .login-form-section {
    width: 100%;
  }

  .login-headline {
    font-size: 30px;
  }

  .login-action-btn-title {
    font-size: 18px;
  }

  .login-form-section {
    padding: 24px;
  }
}

/* ===== Login Page Rebuild ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
}

.login-top {
  padding: 24px 32px;
}

.login-logo {
  width: 90px;
}

.login-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.login-center h1 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #1e293b;
}

.login-center p {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 36px;
}

.login-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 36px;
  border-radius: 14px;
  text-decoration: none;
  transition: all .2s ease;
}

.btn-title {
  font-size: 18px;
  font-weight: 600;
}

.btn-sub {
  font-size: 14px;
  margin-top: 4px;
  opacity: .9;
}

.btn-student {
  background: #1f4ed8;
  color: white;
}

.btn-student:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

.btn-employer {
  background: #7cc9ff;
  color: white;
}

.btn-employer:hover {
  background: #63b8f3;
  transform: translateY(-2px);
}

.btn-login {
  background: #1e293b;
  color: white;
}

.btn-login:hover {
  background: #0f172a;
  transform: translateY(-2px);
}

.login-page{
  min-height:100vh;
  background:linear-gradient(180deg,#e2e8f0,#cbd5e1);
  display:flex;
  flex-direction:column;
}

.login-header{
  padding:18px 22px;
}

.login-logo-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

.login-logo{
  width:72px;          /* smaller logo */
  height:auto;
  display:block;
}

.login-main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}

.login-card{
  width:100%;
  max-width:720px;
  background:#fff;
  border-radius:18px;
  padding:44px 34px;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.login-title{
  margin:0 0 10px 0;
  font-size:32px;
  color:#1e293b;
}

.login-subtitle{
  margin:0 0 30px 0;
  font-size:16px;
  color:#64748b;
}

.login-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;            /* space between buttons */
}

.btn{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:14px;
  padding:16px 34px;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}

.btn-title{
  font-size:18px;
  font-weight:650;
  line-height:1.2;
}

.btn-sub{
  margin-top:4px;
  font-size:14px;
  opacity:.92;
  line-height:1.2;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,.14);
}

.btn-student{ background:#1f4ed8; color:#fff; }
.btn-student:hover{ background:#1e40af; }

.btn-employer{ background:#7cc9ff; color:#fff; }
.btn-employer:hover{ background:#63b8f3; }

.btn-login{ background:#1e293b; color:#fff; }
.btn-login:hover{ background:#0f172a; }

@media (max-width:520px){
  .login-card{ padding:34px 18px; }
  .btn{ width:100%; max-width:420px; }
  .login-logo{ width:60px; }
}

.login-page{
  min-height:100vh;
  background:linear-gradient(180deg,#e2e8f0,#cbd5e1);
  display:flex;
  flex-direction:column;
}

.login-header{
  padding:18px 22px;
}

.login-logo-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

.login-logo{
  width:72px;          /* smaller logo */
  height:auto;
  display:block;
}

.login-main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}

.login-card{
  width:100%;
  max-width:720px;
  background:#fff;
  border-radius:18px;
  padding:44px 34px;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,.12);
}

.login-title{
  margin:0 0 10px 0;
  font-size:32px;
  color:#1e293b;
}

.login-subtitle{
  margin:0 0 30px 0;
  font-size:16px;
  color:#64748b;
}

.login-actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;            /* space between buttons */
}

.btn{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:14px;
  padding:16px 34px;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}

.btn-title{
  font-size:18px;
  font-weight:650;
  line-height:1.2;
}

.btn-sub{
  margin-top:4px;
  font-size:14px;
  opacity:.92;
  line-height:1.2;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(0,0,0,.14);
}

.btn-student{ background:#1f4ed8; color:#fff; }
.btn-student:hover{ background:#1e40af; }

.btn-employer{ background:#7cc9ff; color:#fff; }
.btn-employer:hover{ background:#63b8f3; }

.btn-login{ background:#1e293b; color:#fff; }
.btn-login:hover{ background:#0f172a; }

@media (max-width:520px){
  .login-card{ padding:34px 18px; }
  .btn{ width:100%; max-width:420px; }
  .login-logo{ width:60px; }
}

/* ===== Login Final Override ===== */
body {
  margin: 0;
}

.login-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #e2e8f0, #cbd5e1);
  display: flex;
  flex-direction: column;
}

.login-header {
  padding: 18px 22px;
}

.login-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.login-logo {
  width: 72px;
  height: auto;
  display: block;
}

.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.login-card {
  width: 100%;
  max-width: 720px;
  background: #fff;
  border-radius: 18px;
  padding: 44px 34px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.login-title {
  margin: 0 0 10px 0;
  font-size: 32px;
  color: #1e293b;
}

.login-subtitle {
  margin: 0 0 30px 0;
  font-size: 16px;
  color: #64748b;
}

.login-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.login-page .btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 16px 34px;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
  border: 0;
}

.login-page .btn-title {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.2;
}

.login-page .btn-sub {
  margin-top: 4px;
  font-size: 14px;
  opacity: .92;
  line-height: 1.2;
}

.login-page .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
}

.login-page .btn-student {
  background: #1f4ed8;
  color: #fff;
}

.login-page .btn-student:hover {
  background: #1e40af;
}

.login-page .btn-employer {
  background: #7cc9ff;
  color: #fff;
}

.login-page .btn-employer:hover {
  background: #63b8f3;
}

.login-page .btn-login {
  background: #1e293b;
  color: #fff;
}

.login-page .btn-login:hover {
  background: #0f172a;
}

@media (max-width: 520px) {
  .login-card {
    padding: 34px 18px;
  }

  .login-page .btn {
    width: 100%;
    max-width: 420px;
  }

  .login-logo {
    width: 60px;
  }
}

/* === LOGIN LANDING PAGE (force) === */
.login-page{
  min-height:100vh;
  background:linear-gradient(180deg,#e9eef6 0%, #dfe7f3 100%);
  display:flex;
  flex-direction:column;
}

.login-top-left{
  padding:22px 26px;
}

.login-logo-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

.login-logo{
  width:88px;          /* smaller logo */
  height:auto;
  display:block;
}

.login-center-wrap{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 18px;
}

.login-center{
  width:100%;
  max-width:860px;
  text-align:center;
}

.login-title{
  margin:0 0 10px 0;
  font-size:44px;
  font-weight:800;
  letter-spacing:-0.02em;
  color:#0f172a;
}

.login-subtitle{
  margin:0 0 34px 0;
  font-size:18px;
  color:#475569;
}

.login-actions{
  /* IMPORTANT: FORCE VERTICAL STACKING ALWAYS */
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:22px !important;
}

.action-btn{
  /* IMPORTANT: prevent side-by-side, prevent single-line pill text */
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;

  width:min(740px, 92vw) !important;  /* nice big button like screenshot */
  text-decoration:none !important;

  padding:18px 22px !important;
  border-radius:14px !important;

  box-shadow:0 10px 24px rgba(2,6,23,.10) !important;
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease !important;

  /* FORCE WRAPPING */
  white-space:normal !important;
}

.action-title{
  display:block;
  font-size:20px;
  font-weight:800;
  line-height:1.15;
  margin:0 0 6px 0;
}

.action-sub{
  display:block;
  font-size:15px;
  line-height:1.25;
  opacity:.92;
}

/* Colors */
.action-student{
  background:#1f4ed8 !important;
  color:#fff !important;
}
.action-employer{
  background:#7cc9ff !important;
  color:#fff !important;
}
.action-login{
  background:#1e293b !important;
  color:#fff !important;
}

.action-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(2,6,23,.14);
  filter:brightness(.98);
}

/* Mobile polish */
@media (max-width:600px){
  .login-title{ font-size:34px; }
  .login-subtitle{ font-size:16px; }
  .login-logo{ width:72px; }
  .action-btn{
    width:min(520px, 94vw) !important;
    padding:16px 18px !important;
  }
  .action-title{ font-size:18px; }
  .action-sub{ font-size:14px; }
}

/* === LOGIN LAYOUT OVERRIDE (screenshot-style) === */
.login-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #e9eef6 0%, #dfe7f3 100%);
  display: flex;
  flex-direction: column;
}

.login-top-left {
  padding: 22px 24px;
}

.login-logo-link {
  display: inline-flex;
  text-decoration: none;
}

.login-logo {
  width: 260px;
  max-width: 42vw;
  height: auto;
  display: block;
}

.login-brand-title {
  margin: 14px 0 0;
  display: inline-block;
  background: rgba(226, 232, 240, 0.95);
  color: #1e293b;
  font-size: clamp(34px, 3.2vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  padding: 4px 10px;
}

.login-center-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
}

.login-actions-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.action-btn {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-decoration: none !important;
  border-radius: 16px !important;
  padding: 12px 16px !important;
  min-height: 76px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12) !important;
  white-space: normal !important;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease !important;
}

.action-title,
.action-sub {
  display: block !important;
  width: 100%;
  white-space: normal !important;
  word-break: normal;
}

.action-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.action-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  opacity: 0.92;
}

.action-student,
.action-employer {
  width: min(500px, 44vw) !important;
}

.action-login-single {
  width: min(480px, 60vw) !important;
}

.action-student {
  background: #1f4ed8 !important;
  color: #fff !important;
}

.action-student:hover {
  background: #1e40af !important;
}

.action-employer {
  background: #7cc9ff !important;
  color: #fff !important;
}

.action-employer:hover {
  background: #63b8f3 !important;
}

.action-login {
  background: #1e293b !important;
  color: #fff !important;
}

.action-login:hover {
  background: #0f172a !important;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.18) !important;
}

@media (max-width: 980px) {
  .login-logo {
    width: 170px;
    max-width: 56vw;
  }

  .login-brand-title {
    font-size: clamp(28px, 6vw, 42px);
  }

  .login-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .action-student,
  .action-employer,
  .action-login-single {
    width: min(700px, 92vw) !important;
  }
}

/* ===== AEI LOGIN (FORCED OVERRIDE) ===== */
.aei-login{
  min-height:100vh !important;
  background:linear-gradient(180deg,#e9eef6 0%, #dfe7f3 100%) !important;
  display:flex !important;
  flex-direction:column !important;
}

.aei-login__top{
  padding:18px 22px !important;
}

.aei-login__logo{
  width:72px !important;
  height:auto !important;
  display:block !important;
}

.aei-login__main{
  flex:1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:24px !important;
}

.aei-login__card{
  width:100% !important;
  max-width:860px !important;
  text-align:center !important;
}

.aei-login__title{
  margin:0 0 26px 0 !important;
  font-size:44px !important;
  font-weight:800 !important;
  letter-spacing:-0.02em !important;
  color:#0f172a !important;
}

.aei-login__actions{
  /* FORCE VERTICAL STACKING NO MATTER WHAT */
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:18px !important;
}

.aei-login__btn{
  /* FORCE EACH BUTTON TO BE ITS OWN ROW */
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;

  width:min(740px, 94vw) !important;
  box-sizing:border-box !important;

  padding:18px 22px !important;
  border-radius:14px !important;

  text-decoration:none !important;
  white-space:normal !important;

  box-shadow:0 10px 24px rgba(2,6,23,.10) !important;
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease !important;
}

.aei-login__btnTitle{
  display:block !important;
  font-size:20px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  margin:0 0 6px 0 !important;
}

.aei-login__btnSub{
  display:block !important;
  font-size:15px !important;
  line-height:1.25 !important;
  opacity:.92 !important;
}

.aei-login__btn:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 16px 36px rgba(2,6,23,.14) !important;
  filter:brightness(.98) !important;
}

.aei-login__btn--student{ background:#1f4ed8 !important; color:#fff !important; }
.aei-login__btn--employer{ background:#7cc9ff !important; color:#fff !important; }
.aei-login__btn--login{ background:#1e293b !important; color:#fff !important; }

@media (max-width:600px){
  .aei-login__title{ font-size:34px !important; }
  .aei-login__logo{ width:60px !important; }
  .aei-login__btn{ padding:16px 18px !important; width:min(520px, 94vw) !important; }
  .aei-login__btnTitle{ font-size:18px !important; }
  .aei-login__btnSub{ font-size:14px !important; }
}

/* Agreement signing */
.agreement-preview-wrap {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}

.agreement-preview-frame {
  width: 100%;
  min-height: 540px;
  border: 0;
  background: #fff;
}

@media (max-width: 700px) {
  .agreement-preview-frame {
    min-height: 340px;
  }
}

/* ===== Admin Students Inline Management ===== */
.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;
}

.students-inline-table .student-inline-select {
  min-width: 210px;
}

.students-inline-table .inline-save-state {
  min-height: 18px;
  margin-top: 4px;
}

.student-enrollment-editor {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fafc;
}

.student-enrollment-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.student-actions-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn.btn-sm,
.btn-sm {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 8px;
}

.btn.danger-btn,
.danger-btn {
  background: #dc2626;
  border: 1px solid #dc2626;
  color: #fff;
}

.btn.danger-btn:hover,
.danger-btn:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.inline-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  background: #0f172a;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.inline-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.inline-toast.is-error {
  background: #991b1b;
}

.text-danger {
  color: #b91c1c;
}

/* Admin create + recover row */
.admin-create-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-create-row__form {
  flex: 1 1 520px;
  margin: 0;
}

.admin-create-row__recover {
  margin: 0 0 0 auto;
  align-self: flex-end;
}

@media (max-width: 760px) {
  .admin-create-row {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-create-row__form {
    flex: 1 1 auto;
    width: 100%;
  }

  .admin-create-row__recover {
    margin-left: 0;
    width: 100%;
  }
}

/* Admin detail password reset modal */
.admin-password-modal[hidden] {
  display: none !important;
}

.admin-password-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.admin-password-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.admin-password-modal__panel {
  position: relative;
  width: min(520px, 100%);
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.24);
  display: grid;
  gap: 10px;
}

.admin-password-modal__panel h3 {
  margin: 0;
}

.admin-password-modal__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-password-modal__generated {
  display: grid;
  gap: 6px;
}

.admin-password-modal__custom {
  display: grid;
  gap: 6px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 8px;
  background: var(--surface-2);
}

.admin-password-modal__inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-password-modal__generated-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-password-modal__generated-row input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.admin-password-modal__status {
  min-height: 18px;
}

.admin-password-modal__status.is-success {
  color: #166534;
}

.admin-password-modal__status.is-error {
  color: #b91c1c;
}

.admin-password-modal__footer {
  display: flex;
  justify-content: flex-end;
}

/* ===== Global Compact Button Overrides ===== */
button,
.btn,
a.btn {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.btn,
a.btn {
  padding: 8px 12px;
  border-radius: 10px;
}

/* Preserve explicit full-width controls when truly needed */
.btn-full,
.btn-block,
button.btn-full,
button.btn-block,
a.btn.btn-full,
a.btn.btn-block {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.aei-actionbar,
.student-actions-stack,
.admin-password-modal__options,
.admin-password-modal__footer {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}

.aei-actionbar > *,
.student-actions-stack > *,
.admin-password-modal__options > *,
.admin-password-modal__footer > * {
  width: auto !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
}

.aei-actionbar form,
.student-summary-action-form,
.student-actions-stack form {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

.student-summary-actions .aei-actionbar .btn,
.student-summary-actions .aei-actionbar button,
.student-summary-actions .student-summary-action-form button,
.right .aei-actionbar .btn,
.right .aei-actionbar button {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

/* ===== SunPulse ===== */
.sunpulse-section-stack {
  gap: 12px;
}

.sunpulse-top-links {
  flex-wrap: wrap;
  gap: 10px;
}

.sunpulse-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.sunpulse-kpi-grid .card {
  margin: 0;
}

.sunpulse-kpi-grid h3 {
  margin: 0;
  font-size: 14px;
}

.sunpulse-kpi-value {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.sunpulse-grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.sunpulse-inline-field {
  min-width: 180px;
}

.sunpulse-activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.sunpulse-activity-list li {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}

.sunpulse-inline-list {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.sunpulse-schedule-day + .sunpulse-schedule-day {
  margin-top: 12px;
}

.sunpulse-schedule-day h4 {
  margin: 0 0 6px;
}

/* ===== Zoom Admin ===== */
.zoom-admin-page {
  display: grid;
  gap: 14px;
}

.zoom-admin-hero {
  display: grid;
  gap: 14px;
}

.zoom-admin-hero__head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.zoom-admin-hero__head h2 {
  margin: 0 0 6px;
}

.zoom-admin-hero__health {
  min-width: 260px;
  max-width: 420px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  display: grid;
  gap: 4px;
}

.zoom-admin-launch-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.zoom-admin-card h3 {
  margin: 0 0 6px;
}

.zoom-health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.zoom-health-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 8px 10px;
}

.zoom-health-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.zoom-health-item__title {
  font-weight: 700;
}

.zoom-health-item__body {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.zoom-health-item__body p {
  margin: 0 0 8px;
}

.zoom-health-item__body pre,
.zoom-log-details pre {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.zoom-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.zoom-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.zoom-overview-grid.compact {
  margin-bottom: 10px;
}

.zoom-stat-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}

.zoom-stat-card__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
}

.zoom-stat-card__value {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

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

.zoom-admin-table {
  min-width: 980px;
}

.zoom-row-actions {
  display: grid;
  gap: 6px;
}

.zoom-copy-btn {
  margin-top: 6px;
  width: auto;
}

.zoom-empty-state {
  margin-top: 10px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  display: grid;
  gap: 8px;
}

.zoom-empty-state.compact {
  padding: 10px 12px;
}

.zoom-empty-state h4 {
  margin: 0;
}

.zoom-empty-state p {
  margin: 0;
  color: var(--text-2);
}

.zoom-link-issues {
  display: grid;
  gap: 10px;
}

.zoom-link-issue-row {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.zoom-link-issue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zoom-log-details summary {
  cursor: pointer;
  font-weight: 700;
}

.zoom-log-details__body {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

@media (max-width: 980px) {
  .zoom-admin-hero__health {
    min-width: 100%;
  }

  .zoom-admin-table {
    min-width: 760px;
  }

  .zoom-link-issue-row {
    flex-direction: column;
  }
}
