:root {
  color-scheme: light;
  --navy: #08253a;
  --navy-2: #10364e;
  --ink: #152332;
  --muted: #526477;
  --line: #dce5ea;
  --canvas: #f2f6f7;
  --surface: #fff;
  --aqua: #17b8b0;
  --aqua-dark: #066c69;
  --aqua-wash: #e5f8f5;
  --amber: #9b5b0a;
  --amber-wash: #fff3da;
  --red: #b23b49;
  --red-wash: #ffeaed;
  --green: #0b6b4b;
  --focus-light-surface: #005a70;
  --focus-dark-surface: #fff1a8;
  --shadow: 0 10px 30px rgb(18 45 63 / 7%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

.document-preview {
  width: 100%;
  min-height: 52vh;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

@media (max-width: 700px) {
  .document-preview {
    min-height: 60vh;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.skip-link:focus,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex='-1']:focus-visible {
  outline: 3px solid var(--focus-light-surface);
  outline-offset: 3px;
}
.skip-link:focus {
  outline-color: var(--focus-dark-surface);
}
.hidden {
  display: none !important;
}
.eyebrow,
.step-kicker {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
h2 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.muted,
small {
  color: var(--muted);
}
.button {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  padding: 0.7rem 1rem;
  font-weight: 750;
}
.button.primary {
  background: var(--aqua);
  color: #062a31;
  box-shadow: 0 6px 18px rgb(23 184 176 / 19%);
}
.button.primary:hover {
  background: #24c9c0;
}
.button.secondary {
  background: #eaf0f3;
  color: var(--ink);
}
.button.quiet {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.button.danger {
  background: var(--red-wash);
  color: var(--red);
}
.button.wide {
  width: 100%;
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
label {
  display: grid;
  gap: 0.4rem;
  color: #35485a;
  font-size: 0.86rem;
  font-weight: 720;
}
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd8df;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  background: #fff;
  color: var(--ink);
}
textarea {
  min-height: 92px;
  resize: vertical;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--aqua-dark);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-grid .full {
  grid-column: 1 / -1;
}
.kpd-field {
  position: relative;
}
.kpd-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0.2rem 0 0;
  padding: 0.3rem;
  list-style: none;
  max-height: 14rem;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d5dee6;
  border-radius: 0.6rem;
  box-shadow: 0 0.5rem 1.5rem rgba(15, 35, 55, 0.12);
}
.kpd-suggest li {
  padding: 0.5rem 0.6rem;
  border-radius: 0.4rem;
  cursor: pointer;
  font-weight: 400;
  color: #17212b;
}
.kpd-suggest li:hover,
.kpd-suggest li:focus-visible {
  background: #eef4f8;
}
.kpd-suggest li strong {
  margin-right: 0.4rem;
}
.kpd-suggest .kpd-suggest-empty {
  cursor: default;
  color: #64717d;
}
.kpd-suggest .kpd-suggest-empty:hover {
  background: none;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.form-error {
  min-height: 1.2em;
  margin: 0;
  color: var(--red);
  font-size: 0.82rem;
}
.form-error:focus {
  outline-offset: 4px;
}

.auth-shell,
.setup-shell {
  min-height: 100vh;
  padding: clamp(24px, 5vw, 72px);
  background: radial-gradient(circle at 15% 15%, #154866 0, var(--navy) 36%, #041925 100%);
}
.auth-brand,
.brand-inline {
  display: flex;
  align-items: center;
}
.logo-wordmark {
  display: block;
  width: 280px;
  height: auto;
  border-radius: 10px;
}
.auth-card {
  width: min(100%, 1040px);
  margin: clamp(40px, 9vh, 95px) auto 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 90px rgb(0 0 0 / 28%);
}
.auth-copy {
  padding: clamp(34px, 6vw, 72px);
  background: linear-gradient(145deg, #f3fbfa, #fff);
}
.auth-copy h1 {
  max-width: 570px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}
.auth-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}
.auth-copy ul {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.auth-copy li::before {
  content: '✓';
  margin-right: 0.7rem;
  color: var(--aqua-dark);
  font-weight: 900;
}
.auth-form {
  align-content: center;
  display: grid;
  gap: 1rem;
  padding: clamp(30px, 5vw, 58px);
  border-left: 1px solid var(--line);
}
.auth-form h2 {
  font-size: 1.75rem;
}
.setup-shell {
  display: grid;
  place-items: center;
}
.setup-card {
  width: min(100%, 560px);
  display: grid;
  gap: 1rem;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 26px 70px rgb(0 0 0 / 25%);
}
.setup-card .brand-inline {
  margin-bottom: 1.4rem;
}
.setup-card .logo-wordmark {
  width: 250px;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 17px 18px;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 0 2rem;
  color: #fff;
  text-decoration: none;
}
.brand .logo-wordmark {
  width: 214px;
  max-width: 100%;
}
nav {
  display: grid;
  gap: 0.3rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.78rem 0.85rem;
  border-radius: 9px;
  color: #b9cbd7;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 680;
}
.nav-item:focus-visible,
.organization-switch:focus-visible,
.signout:focus-visible {
  outline-color: var(--focus-dark-surface);
}
.nav-item i {
  width: 21px;
  color: #7695a8;
  font-style: normal;
  text-align: center;
}
.nav-item:hover,
.nav-item.active {
  background: var(--navy-2);
  color: #fff;
}
.nav-item.active i {
  color: var(--aqua);
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 0.65rem;
}
.organization-switch {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid #315068;
  border-radius: 10px;
  padding: 0.7rem;
  background: #0b2d44;
  color: #fff;
  text-align: left;
}
.organization-switch > span:last-child {
  min-width: 0;
  display: grid;
}
.organization-switch b,
.organization-switch small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.organization-switch small {
  margin-top: 0.15rem;
  color: #91aabd;
  font-size: 0.72rem;
}
.org-avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--aqua);
  color: var(--navy);
  font-weight: 900;
}
.org-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
  background: #fff;
}
.system-state {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.6rem;
  color: #91aabd;
  font-size: 0.75rem;
}
.system-state i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgb(22 132 95 / 15%);
}
.system-state.offline i {
  background: var(--red);
}
.signout {
  border: 0;
  background: transparent;
  color: #91aabd;
  padding: 0.4rem 0.6rem;
  text-align: left;
}
.workspace {
  min-width: 0;
  padding: 32px clamp(22px, 4vw, 58px) 64px;
}
.topbar {
  max-width: 1280px;
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
}
.topbar h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}
.mobile-account-actions {
  display: none;
  gap: 0.5rem;
}
.view {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
}
.view.active {
  display: block;
}
.loading-state {
  max-width: 1280px;
  margin: 0 auto 1rem;
  padding: 0.8rem 1rem;
  border-radius: 9px;
  background: var(--aqua-wash);
  color: var(--aqua-dark);
  font-weight: 700;
}
.error-state {
  border-color: #e2a5ad;
  background: var(--red-wash);
}
.error-state p {
  color: #71343c;
}

.notice {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #ecd29f;
  border-radius: 12px;
  background: var(--amber-wash);
}
.notice.success {
  border-color: #a8ddca;
  background: #eaf8f1;
}
.notice strong {
  display: block;
}
.notice p {
  margin: 0.15rem 0 0;
  color: #6f6047;
  font-size: 0.87rem;
}
.notice .button {
  margin-left: auto;
  white-space: nowrap;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.operations-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1rem;
}
.operation-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #f8fbfc;
  color: var(--ink);
  text-align: left;
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}
.operation-card:hover {
  border-color: var(--aqua);
  transform: translateY(-1px);
}
.operation-card span,
.operation-card small {
  display: block;
}
.operation-card span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.operation-card strong {
  display: block;
  margin: 0.3rem 0 0.2rem;
  font-size: 1.25rem;
}
.operation-card small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.metric,
.panel,
.surface,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.metric {
  padding: 1.15rem;
}
.metric span {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.metric strong {
  display: block;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}
.metric small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.75rem;
}
.layout-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.8fr);
  gap: 1rem;
}
.money-layout,
.next-document {
  margin-top: 1rem;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.notice-copy {
  border-left: 4px solid var(--amber);
  padding: 0.75rem 0.9rem;
  background: var(--amber-wash);
  color: #6f6047;
}
.detail-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}
.detail-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}
.detail-list dt {
  color: var(--muted);
}
.detail-list dd {
  margin: 0;
  font-weight: 700;
}
hr {
  margin: 1.25rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.calm-state {
  border: 1px dashed #b9d9d7;
  border-radius: 11px;
  padding: 1.1rem;
  background: #f3fbfa;
}
.calm-state p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}
.panel,
.surface {
  padding: 1.35rem;
}
.panel-head,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.panel-head p,
.section-head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.87rem;
}
.info-button {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 0.25rem;
  border: 1px solid #a9c9cf;
  border-radius: 50%;
  background: var(--aqua-wash);
  color: var(--aqua-dark);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: 0.12em;
}
.info-button:hover {
  border-color: var(--aqua-dark);
}
.info-button:focus-visible {
  outline: 3px solid var(--focus-light-surface);
  outline-offset: 3px;
  border-color: var(--navy);
}
.help-copy {
  color: #35485a;
  line-height: 1.65;
}
.onboarding-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.onboarding-choice article,
.readiness-summary {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 1rem;
  background: #f9fbfc;
}
.onboarding-choice article > .pill {
  float: right;
}
.onboarding-choice p {
  min-height: 2.8em;
  margin: 0.55rem 0 1rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.readiness-summary {
  margin-bottom: 0.8rem;
}
.readiness-summary .progress {
  margin-top: 0.65rem;
}
.member-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.member-controls select {
  min-width: 118px;
}
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.33rem 0.58rem;
  background: #eaf0f3;
  color: #435568;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}
.pill.green {
  background: #e7f7ef;
  color: var(--green);
}
.pill.amber {
  background: var(--amber-wash);
  color: var(--amber);
}
.pill.red {
  background: var(--red-wash);
  color: var(--red);
}
.data-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}
.data-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.data-row:last-child {
  border-bottom: 0;
}
.data-row p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.money {
  font-variant-numeric: tabular-nums;
  font-weight: 830;
}
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.15rem;
}
.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0;
}
.checklist .check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid #cbd8df;
  border-radius: 50%;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
}
.checklist li.done .check {
  border-color: transparent;
  background: var(--aqua-wash);
  color: var(--aqua-dark);
}
.checklist b,
.checklist small {
  display: block;
}
.tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  overflow-x: auto;
}
.tab {
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  white-space: nowrap;
}
.tab.active {
  background: var(--navy);
  color: #fff;
}
.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.empty-state {
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
}
.empty-state > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: var(--aqua-wash);
  color: var(--aqua-dark);
  font-size: 1.4rem;
}
.empty-state p {
  max-width: 520px;
  margin: 0 auto 1.1rem;
  color: var(--muted);
}
.callout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.callout {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 1rem;
  background: #f9fbfc;
}
.callout p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.progress {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #e6edf1;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--aqua);
}
.toast-region {
  position: fixed;
  z-index: 50;
  right: 20px;
  top: 20px;
  display: grid;
  gap: 0.6rem;
  pointer-events: none;
}
.toast {
  max-width: 390px;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 36px rgb(0 0 0 / 22%);
  overflow-wrap: anywhere;
}
.toast.error {
  background: #7d2834;
}
dialog {
  width: min(680px, calc(100% - 30px));
  max-height: calc(100vh - 34px);
  overflow: auto;
  border: 0;
  border-radius: 17px;
  padding: 0;
  box-shadow: 0 28px 90px rgb(3 18 29 / 40%);
}
dialog::backdrop {
  background: rgb(2 20 31 / 66%);
  backdrop-filter: blur(3px);
}
.dialog-card {
  position: relative;
  padding: clamp(24px, 5vw, 36px);
}
.close-button {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eaf0f3;
  font-size: 1.3rem;
}
.dialog-card h2 {
  margin-bottom: 1.2rem;
  font-size: 1.65rem;
}
.dialog-card h2:focus {
  outline: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .pill,
  .notice,
  .metric,
  .panel,
  .surface,
  .empty-state,
  .operation-card {
    border: 1px solid CanvasText;
  }
  .system-state i,
  .progress span {
    forced-color-adjust: none;
    background: Highlight;
  }
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 78px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 11px;
  }
  .brand {
    justify-content: center;
    padding-inline: 0;
  }
  .brand .logo-wordmark {
    width: 68px;
    border-radius: 6px;
  }
  .nav-item {
    font-size: 0;
  }
  .nav-item {
    justify-content: center;
    padding-inline: 0;
  }
  .nav-item i {
    width: auto;
    font-size: 1.1rem;
  }
  .organization-switch > span:last-child,
  .system-state span {
    display: none;
  }
  .organization-switch {
    justify-content: center;
    padding-inline: 0;
    border: 0;
    background: transparent;
  }
  .system-state {
    justify-content: center;
  }
  .signout {
    width: 100%;
    min-height: 44px;
    padding: 0.4rem 0;
    font-size: 0.75rem;
    text-align: center;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .operations-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout-2 {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .auth-card {
    grid-template-columns: 1fr;
  }
  .auth-copy {
    display: none;
  }
  .auth-form {
    border-left: 0;
  }
}
@media (max-width: 650px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    z-index: 20;
    inset: auto 0 0;
    width: 100%;
    height: 70px;
    padding: 7px 8px;
    flex-direction: row;
    align-items: center;
  }
  .brand,
  .sidebar-bottom {
    display: none;
  }
  nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }
  .nav-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.35rem 0.15rem;
    font-size: 0.66rem;
  }
  .nav-item i {
    font-size: 1rem;
  }
  .workspace {
    padding: 22px 14px 92px;
  }
  .topbar {
    align-items: flex-start;
  }
  .mobile-account-actions {
    display: flex;
    flex-direction: column;
  }
  .mobile-account-actions .button {
    min-width: 7.5rem;
    padding: 0.55rem 0.7rem;
  }
  .metrics {
    gap: 0.6rem;
  }
  .operations-strip {
    gap: 0.45rem;
  }
  .operation-card {
    padding: 0.75rem;
  }
  .metric {
    padding: 0.9rem;
  }
  .metric strong {
    font-size: 1.25rem;
  }
  .form-grid,
  .callout-grid,
  .onboarding-choice {
    grid-template-columns: 1fr;
  }
  .member-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .member-controls select {
    width: 100%;
  }
  .notice {
    align-items: flex-start;
    flex-direction: column;
  }
  .notice .button {
    width: 100%;
    margin-left: 0;
  }
  .data-row {
    grid-template-columns: 1fr;
  }
  .row-actions {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .auth-shell {
    padding: 18px;
  }
  .auth-card {
    margin-top: 32px;
  }
  .dialog-card {
    padding: 3rem 1rem 1.25rem;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .form-actions .button {
    width: 100%;
  }
}
