/*
 * sm_admin TailAdmin-inspired stylesheet.
 * Portions are adapted from TailAdmin Free Tailwind Dashboard Template.
 *
 * MIT License
 * Copyright (c) 2023 TailAdmin
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 */

:root {
  color-scheme: only light;
  --font-admin: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --white: #ffffff;
  --black: #101828;
  --gray-25: #fcfcfd;
  --gray-50: #f9fafb;
  --gray-100: #f2f4f7;
  --gray-200: #e4e7ec;
  --gray-300: #d0d5dd;
  --gray-400: #98a2b3;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --gray-800: #1d2939;
  --gray-900: #101828;
  --brand-25: #f2f7ff;
  --brand-50: #ecf3ff;
  --brand-100: #dde9ff;
  --brand-500: #465fff;
  --brand-600: #3641f5;
  --brand-700: #2a31d8;
  --success-50: #ecfdf3;
  --success-100: #d1fadf;
  --success-700: #027a48;
  --warning-50: #fffaeb;
  --warning-100: #fef0c7;
  --warning-700: #b54708;
  --error-50: #fef3f2;
  --error-100: #fee4e2;
  --error-600: #d92d20;
  --error-700: #b42318;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
  --focus-ring: 0 0 0 4px rgba(70, 95, 255, 0.12);
  --sidebar-width: 290px;
  background: var(--gray-50);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--gray-200);
}

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

body {
  margin: 0;
  font-family: var(--font-admin);
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-800);
  background: var(--gray-50);
}

button,
input,
select,
textarea {
  font: inherit;
}

button:not(:disabled),
[role="button"]:not(:disabled) {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.admin-shell {
  min-height: 100vh;
  background: var(--gray-50);
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: flex;
  width: var(--sidebar-width);
  flex-direction: column;
  border-right: 1px solid var(--gray-200);
  background: var(--white);
  transition: transform 180ms ease;
}

.admin-sidebar-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  border-bottom: 1px solid var(--gray-100);
}

.brand-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--brand-600);
  background: var(--brand-50);
}

.brand-name {
  display: block;
  color: var(--gray-900);
  font-size: 18px;
  font-weight: 700;
}

.brand-caption {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
}

.sidebar-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  padding: 20px 16px;
}

.sidebar-section {
  display: grid;
  gap: 6px;
}

.sidebar-label {
  padding: 10px 12px 4px;
  color: var(--gray-400);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  transition: color 160ms ease, background 160ms ease;
}

.menu-item:hover {
  color: var(--gray-800);
  background: var(--gray-100);
}

.menu-item-active {
  color: var(--brand-600);
  background: var(--brand-50);
}

.menu-item-icon {
  width: 20px;
  height: 20px;
  color: currentColor;
}

.admin-page {
  min-height: 100vh;
  margin-left: var(--sidebar-width);
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.96);
  padding: 0 28px;
  backdrop-filter: blur(10px);
}

.header-left,
.header-actions,
.user-chip {
  display: flex;
  align-items: center;
}

.header-left,
.header-actions {
  gap: 12px;
}

.user-chip {
  gap: 10px;
  min-width: 0;
  color: var(--gray-700);
  font-weight: 500;
}

.user-avatar {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--brand-600);
  background: var(--brand-50);
}

.user-name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button.mobile-menu-button {
  display: none;
}

.icon-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  color: var(--gray-600);
  background: var(--white);
}

.icon-button:hover {
  color: var(--gray-900);
  background: var(--gray-50);
}

.admin-main {
  padding: 32px 28px 48px;
}

.admin-content {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.page-title {
  margin: 0;
  color: var(--gray-900);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.page-subtitle {
  max-width: 720px;
  margin: 6px 0 0;
  color: var(--gray-500);
  font-size: 14px;
}

.page-meta {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--gray-600);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gray-500);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--brand-600);
  font-weight: 500;
}

.card,
.filter-card,
.table-card,
.detail-card {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.card {
  padding: 20px;
}

.card form {
  display: grid;
  gap: 18px;
}

.table-card {
  overflow: visible;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.card-title {
  margin: 0;
  color: var(--gray-900);
  font-size: 18px;
  font-weight: 600;
}

.card-description {
  margin: 4px 0 0;
  color: var(--gray-500);
  font-size: 13px;
}

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

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

.lookup-card {
  overflow: hidden;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.lookup-list {
  display: grid;
}

.lookup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.lookup-item:hover {
  background: var(--gray-50);
}

.stat-card {
  display: flex;
  min-height: 148px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--brand-600);
  background: var(--brand-50);
}

.stat-label {
  margin: 18px 0 4px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 500;
}

.stat-value {
  margin: 0;
  color: var(--gray-900);
  font-size: 22px;
  font-weight: 700;
}

.list-filter-form {
  position: relative;
  margin: 0;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.list-toolbar {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.list-toolbar-right {
  grid-template-columns: minmax(0, 1fr) auto;
}

.list-toolbar-right .filter-popover-wrap {
  grid-column: 2;
  justify-self: end;
}

.segmented-control {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  border-radius: 10px;
  background: var(--gray-100);
  padding: 4px;
}

.segment-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.segment-link:hover {
  color: var(--gray-800);
}

.segment-link-active {
  color: var(--gray-900);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.search-control {
  position: relative;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  color: var(--gray-600);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-icon svg {
  width: 20px;
  height: 20px;
}

.search-input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  color: var(--gray-800);
  background: var(--white);
  padding: 0 14px 0 48px;
  font-size: 14px;
  font-weight: 500;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-input::placeholder {
  color: var(--gray-400);
}

.search-input:focus {
  border-color: var(--brand-500);
  box-shadow: var(--focus-ring);
}

.filter-toggle {
  min-width: 120px;
  min-height: 48px;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  color: var(--gray-800);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.filter-toggle[aria-expanded="true"] {
  color: var(--brand-600);
  border-color: var(--brand-600);
  background: var(--white);
  box-shadow: var(--focus-ring);
}

.filter-toggle svg {
  width: 20px;
  height: 20px;
}

.filter-popover-wrap {
  position: relative;
  display: flex;
  align-self: stretch;
}

.filter-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 20;
  width: min(420px, calc(100vw - 48px));
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 12px 24px -8px rgba(16, 24, 40, 0.18), var(--shadow-sm);
}

.filter-popover[hidden] {
  display: none;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.filter-actions,
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-actions {
  justify-content: stretch;
  margin-top: 20px;
}

.filter-actions .btn {
  flex: 1 1 0;
}

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

.field-label {
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-input,
.form-select {
  height: 44px;
  padding: 0 14px;
}

.form-textarea {
  min-height: 110px;
  padding: 12px 14px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-500);
  box-shadow: var(--focus-ring);
}

.form-help {
  margin: 12px 0 0;
  color: var(--gray-500);
  font-size: 13px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-700);
  font-size: 14px;
}

.checkbox-field input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--brand-600);
}

.btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn:focus-visible,
.icon-button:focus-visible,
.menu-item:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-primary {
  color: var(--white);
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.btn-primary:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.btn-secondary {
  color: var(--gray-700);
  background: var(--white);
  border-color: var(--gray-300);
}

.btn-secondary:hover {
  color: var(--gray-900);
  background: var(--gray-50);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.btn:disabled:hover {
  color: inherit;
  background: inherit;
}

.btn-warning {
  color: var(--warning-700);
  background: var(--warning-50);
  border-color: var(--warning-100);
}

.btn-danger {
  color: var(--error-700);
  background: var(--error-50);
  border-color: var(--error-100);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 40px;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
}

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

.bulk-action-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.data-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 20px;
  text-align: left;
  vertical-align: middle;
}

.selection-cell {
  width: 48px;
  padding-right: 8px !important;
}

.selection-cell input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-600);
}

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

.data-table th {
  color: var(--gray-500);
  background: var(--gray-50);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.data-table tbody tr:hover {
  background: var(--gray-25);
}

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

.table-link {
  color: var(--brand-600);
  font-weight: 600;
}

.table-link:hover {
  color: var(--brand-700);
}

.muted,
.text-muted {
  color: var(--gray-500);
}

.cell-title {
  display: block;
  color: var(--gray-900);
  font-weight: 600;
}

.cell-subtitle {
  display: block;
  margin-top: 2px;
  color: var(--gray-500);
  font-size: 13px;
}

.sort-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-600);
}

.sort-link:hover {
  color: var(--gray-900);
}

.sort-indicator {
  color: var(--brand-600);
  font-size: 13px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

.badge-success {
  color: var(--success-700);
  background: var(--success-50);
  border: 1px solid var(--success-100);
}

.badge-neutral {
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

.badge-warning {
  color: var(--warning-700);
  background: var(--warning-50);
  border: 1px solid var(--warning-100);
}

.badge-error {
  color: var(--error-700);
  background: var(--error-50);
  border: 1px solid var(--error-100);
}

.badge-brand {
  color: var(--brand-600);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}

.empty-state {
  padding: 44px 20px;
  text-align: center;
  color: var(--gray-500);
}

.detail-card {
  overflow: hidden;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
}

.detail-table th,
.detail-table td {
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
}

.detail-table th {
  width: 240px;
  color: var(--gray-600);
  background: var(--gray-50);
  font-size: 13px;
  font-weight: 600;
}

.detail-table tr:last-child th,
.detail-table tr:last-child td {
  border-bottom: 0;
}

.profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.profile-avatar {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--brand-600);
  background: var(--brand-50);
  font-size: 24px;
  font-weight: 700;
}

.profile-name {
  margin: 0;
  color: var(--gray-900);
  font-size: 22px;
  font-weight: 700;
}

.profile-meta {
  margin: 4px 0 0;
  color: var(--gray-500);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.field-add-link {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  color: var(--brand-600);
  background: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.field-add-link:hover {
  border-color: var(--brand-600);
  background: var(--brand-50);
}

.section-stack {
  display: grid;
  gap: 20px;
}

.two-column-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.notice {
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
}

.notice-error {
  color: var(--error-700);
  background: var(--error-50);
  border: 1px solid var(--error-100);
}

.notice-success {
  color: var(--success-700);
  background: var(--success-50);
  border: 1px solid var(--success-100);
}

.notice-warning {
  color: var(--warning-700);
  background: var(--warning-50);
  border: 1px solid var(--warning-100);
}

.notice + .auth-form,
.notice + form {
  margin-top: 18px;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination-link,
.pagination-control,
.pagination-ellipsis {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--gray-600);
  background: var(--white);
  font-weight: 500;
}

.pagination-link.is-current {
  color: var(--white);
  background: var(--brand-600);
  border-color: var(--brand-600);
}

.pagination-disabled {
  color: var(--gray-400);
  pointer-events: none;
  background: var(--gray-50);
}

.auth-body {
  min-height: 100vh;
  background: var(--gray-50);
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
}

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 28px;
}

.auth-card {
  width: min(100%, 420px);
}

.auth-brand-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: var(--white);
  background: #111827;
}

.auth-brand-inner {
  max-width: 440px;
}

.auth-brand-title {
  margin: 22px 0 12px;
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.auth-brand-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.auth-title {
  margin: 24px 0 8px;
  color: var(--gray-900);
  font-size: 30px;
  font-weight: 700;
}

.auth-subtitle {
  margin: 0 0 28px;
  color: var(--gray-500);
}

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

.auth-submit {
  margin-top: 6px;
}

.auth-footer {
  margin-top: 22px;
  color: var(--gray-500);
  font-size: 13px;
}

@media (max-width: 1023px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    background: rgba(16, 24, 40, 0.36);
  }

  .admin-sidebar-open .admin-sidebar-backdrop {
    display: block;
  }

  .admin-page {
    margin-left: 0;
  }

  .mobile-menu-button {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .admin-header {
    padding: 0 16px;
  }

  .admin-main {
    padding: 24px 16px 36px;
  }

  .page-heading,
  .profile-card {
    display: grid;
  }

  .dashboard-grid,
  .lookup-card-grid,
  .list-toolbar,
  .two-column-grid {
    grid-template-columns: 1fr;
  }

  .list-toolbar-right .filter-popover-wrap {
    grid-column: auto;
    justify-self: stretch;
  }

  .segmented-control {
    overflow-x: auto;
  }

  .segment-link {
    flex: 1 0 auto;
    min-height: 40px;
    font-size: 14px;
  }

  .filter-popover-wrap,
  .filter-toggle {
    width: 100%;
  }

  .filter-popover {
    right: auto;
    left: 0;
    width: 100%;
  }

  .detail-table,
  .detail-table tbody,
  .detail-table tr,
  .detail-table th,
  .detail-table td {
    display: block;
    width: 100%;
  }

  .detail-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .detail-table td {
    padding-top: 0;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    display: none;
  }
}
