:root {
  color-scheme: light;
  --page-bg: #f5f7fb;
  --sidebar: #ffffff;
  --topbar: #1f242a;
  --topbar-soft: #2d343d;
  --panel: #ffffff;
  --panel-soft: #f8fafc;
  --panel-dark: #1f242a;
  --panel-darker: #151a20;
  --border: #d9e0ea;
  --border-strong: #c7d0dc;
  --text: #182433;
  --muted: #637287;
  --accent: #0f6ec7;
  --accent-strong: #134fbf;
  --success: #0f6ec7;
  --danger: #c33434;
  --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

a {
  color: inherit;
}

body.login-page {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 110, 199, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(19, 79, 191, 0.08), transparent 26%),
    var(--page-bg);
  padding: 28px 18px;
}

body.login-page .shell {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: stretch;
}

body.login-page .hero,
body.login-page .card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

body.login-page .hero {
  padding: 34px;
  background: linear-gradient(180deg, #20272f 0%, #131922 100%);
  color: #f8fbff;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.login-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9ed0ff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
}

body.login-page .eyebrow:before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #4fc3f7;
  box-shadow: 0 0 0 6px rgba(79, 195, 247, 0.14);
}

body.login-page h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

body.login-page p {
  margin: 0;
  color: rgba(248, 251, 255, 0.76);
  font-size: 16px;
  line-height: 1.7;
  max-width: 60ch;
}

body.login-page .card {
  background: var(--panel);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.login-page .card h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

body.login-page .card .subtitle {
  color: var(--muted);
  margin-bottom: 26px;
}

body.login-page .alert {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

body.login-page .alert-error {
  background: rgba(195, 52, 52, 0.08);
  border: 1px solid rgba(195, 52, 52, 0.22);
  color: #a42222;
}

body.login-page label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

body.login-page input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

body.login-page input:focus {
  border-color: rgba(15, 110, 199, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 110, 199, 0.1);
}

body.login-page .field + .field {
  margin-top: 16px;
}

body.login-page .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  border-radius: 14px;
  margin-top: 22px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--accent), #134fbf);
  color: white;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

body.login-page .footer {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

body.login-page .footer code {
  color: var(--text);
}

.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}

.sidebar {
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.brand-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.nav {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  color: #334155;
  background: transparent;
}

.nav a.active {
  background: #eef1f5;
  border-color: #e2e8f0;
  color: #0f172a;
  font-weight: 700;
}

.nav a:hover,
.nav summary:hover {
  background: #f6f8fb;
}

.nav-group {
  display: grid;
  gap: 8px;
}

.nav-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  color: #334155;
  user-select: none;
}

.nav-group summary::-webkit-details-marker {
  display: none;
}

.nav-group[open] > summary {
  background: #f6f8fb;
  color: #0f172a;
  font-weight: 700;
}

.nav-subitems {
  display: grid;
  gap: 6px;
  margin-left: 12px;
  padding-left: 10px;
  border-left: 1px solid #e5eaf1;
}

.nav-subitems a {
  background: transparent;
  border-color: transparent;
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-subitems a.active {
  background: #eef1f5;
  border-color: #e2e8f0;
}

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

.content-shell {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: var(--topbar);
  color: #fff;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.2);
}

.page-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-subtitle {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.4;
}

.user-area {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.user-dropdown {
  position: relative;
}

.user-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.user-summary::-webkit-details-marker {
  display: none;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f6ec7, #134fbf);
  font-size: 12px;
  font-weight: 900;
}

.user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.user-meta strong {
  font-size: 14px;
  font-weight: 700;
}

.user-links {
  display: grid;
  gap: 4px;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.15);
  z-index: 20;
}

.user-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1f2937;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.user-links a:hover {
  background: #f6f8fb;
}

.main {
  padding: 24px;
  min-width: 0;
}

.hero-panel,
.table-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.filters-card {
  background: var(--panel);
  margin-bottom: 18px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 18px;
  padding: 24px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(15, 110, 199, 0.08), rgba(19, 79, 191, 0.05)),
    #ffffff;
}

.hero-panel-single {
  grid-template-columns: minmax(0, 1fr);
}

.eyebrow-dark {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.hero-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.05em;
  line-height: 0.98;
  color: #0f172a;
}

.hero-copy p,
.hero-aside p,
.table-header p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary-action,
.secondary-action,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.primary-action {
  background: linear-gradient(135deg, var(--accent), #134fbf);
  color: white;
  box-shadow: 0 12px 24px rgba(15, 110, 199, 0.18);
  border: 0;
}

.secondary-action {
  background: var(--accent);
  border: 1px solid transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 110, 199, 0.14);
}

.danger-action {
  background: linear-gradient(135deg, #dc3545, #b42332);
  border: 1px solid transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(220, 53, 69, 0.14);
}

.card-action {
  background: var(--accent);
  border: 1px solid transparent;
  color: #fff;
  min-height: 40px;
  padding: 0 14px;
  box-shadow: 0 10px 20px rgba(15, 110, 199, 0.14);
}

.primary-action:hover,
.secondary-action:hover,
.card-action:hover,
.danger-action:hover {
  transform: translateY(-1px);
}

.hero-aside {
  background: #0f172a;
  color: #fff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
}

.badge-live {
  align-self: flex-start;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 110, 199, 0.14);
  border: 1px solid rgba(15, 110, 199, 0.24);
  color: #d9ecff;
  font-size: 12px;
  font-weight: 800;
}

.hero-aside-title {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-aside p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 6px;
}

.alert {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  border: 1px solid transparent;
}

.alert-success {
  background: rgba(15, 110, 199, 0.08);
  border-color: rgba(15, 110, 199, 0.18);
  color: #134fbf;
}

.alert-error {
  background: rgba(195, 52, 52, 0.08);
  border-color: rgba(195, 52, 52, 0.18);
  color: #a42222;
}

.alert-warning {
  background: rgba(206, 149, 14, 0.08);
  border-color: rgba(206, 149, 14, 0.2);
  color: #8a6100;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.config-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.metric-value {
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: #0f172a;
}

.metric-note {
  margin-top: 8px;
  color: #475569;
  font-size: 13px;
  line-height: 1.5;
}

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

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

.profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.profile-card-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.profile-card-body {
  padding: 18px;
}

.profile-meta {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  color: #0f172a;
  line-height: 1.5;
}

.profile-meta strong {
  color: #0f172a;
}

.profile-form {
  display: grid;
  gap: 16px;
}

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

.field-full {
  grid-column: 1 / -1;
}

.field-check {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.field input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.field input:focus {
  border-color: rgba(15, 110, 199, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 110, 199, 0.1);
}

.field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
  min-height: 52px;
  font-family: inherit;
}

.field select:focus {
  border-color: rgba(15, 110, 199, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 110, 199, 0.1);
}

.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
  resize: vertical;
  min-height: 160px;
  font-family: inherit;
}

.field textarea:focus {
  border-color: rgba(15, 110, 199, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 110, 199, 0.1);
}

.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  width: fit-content;
}

.checkbox-inline input {
  appearance: none;
  width: 42px;
  height: 24px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #d7e1ec;
  position: relative;
  outline: none;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
  flex: 0 0 auto;
  cursor: pointer;
}

.checkbox-inline span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.checkbox-inline input::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
  transition: transform 140ms ease;
}

.checkbox-inline input:checked {
  background: linear-gradient(135deg, var(--accent), #134fbf);
  border-color: transparent;
}

.checkbox-inline input:checked::before {
  transform: translateX(18px);
}

.checkbox-inline input:focus-visible {
  box-shadow: 0 0 0 4px rgba(15, 110, 199, 0.12);
}

.field-check .field-note {
  margin-top: 4px;
  padding-left: 16px;
}

.section-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.section-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.policy-tabs {
  margin-top: 14px;
}

.policy-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.policy-tab {
  appearance: none;
  border: 1px solid #d7e1ec;
  background: #f7f9fc;
  color: #334155;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.policy-tab:hover {
  transform: translateY(-1px);
}

.policy-tab.active {
  background: linear-gradient(135deg, var(--accent), #134fbf);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(15, 110, 199, 0.16);
}

.policy-panels {
  display: grid;
  gap: 14px;
}

.policy-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel-soft);
  padding: 16px;
}

.policy-panel label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.policy-panel .form-grid {
  gap: 14px;
}

.runtime-settings-form {
  display: grid;
  gap: 18px;
}

.runtime-settings-form > .table-card {
  margin-bottom: 0;
}

.runtime-settings-actions {
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.field-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.profile-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 14px;
}

.form-actions-start {
  justify-content: flex-start;
}

.form-alert {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.form-alert-error {
  background: rgba(195, 52, 52, 0.08);
  border: 1px solid rgba(195, 52, 52, 0.18);
  color: #a61b1b;
}

.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  min-height: 160px;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.info-card p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.sample-block {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #dbe4ef;
  background: #f8fbff;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow-x: hidden;
}

.table-card {
  padding: 18px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.table-header-actions {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f1f5fb;
  border: 1px solid #d8e2ee;
  color: #0f172a;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.icon-action:hover {
  transform: translateY(-1px);
  background: #eaf1fb;
}

.icon-action-button {
  appearance: none;
  padding: 0;
  cursor: pointer;
}

.icon-action-danger {
  background: #fff1f2;
  border-color: #f3c0c6;
  color: #b42332;
}

.icon-action-danger:hover {
  background: #ffe4e8;
}

.icon-action svg {
  display: block;
}

.table-header h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.table-responsive {
  overflow-x: auto;
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.table-card thead th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
}

.table-card tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid #edf1f7;
  vertical-align: top;
}

.table-card tbody tr:last-child td {
  border-bottom: 0;
}

.table-card tbody tr:hover {
  background: #fafcff;
}

.subtle {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.4;
}

.status-ok,
.status-off {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-ok {
  background: rgba(15, 110, 199, 0.12);
  color: var(--success);
}

.status-warn {
  background: rgba(206, 149, 14, 0.12);
  color: #9c6a00;
}

.status-off {
  background: rgba(195, 52, 52, 0.08);
  color: var(--danger);
}

.empty-row {
  text-align: center;
  color: var(--muted);
  padding: 28px 12px;
}

code {
  background: #f3f6fb;
  border: 1px solid #e3eaf2;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 0.95em;
}

.text-right {
  text-align: right;
}

@media (max-width: 1180px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-panel,
  .stats-grid,
  .cards-grid,
  .profile-grid,
  .form-grid,
  .config-columns {
    grid-template-columns: 1fr;
  }

  .policy-tablist {
    flex-direction: column;
  }

  .policy-tab {
    width: 100%;
    text-align: left;
  }

  .user-links {
    right: auto;
    left: 0;
  }
}
