:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0b1728;
  --surface: #0f1d2f;
  --surface-2: #14243a;
  --surface-3: #1a2c45;
  --text: #f5f8fc;
  --text-soft: #c2cede;
  --muted: #8798ad;
  --line: #263951;
  --primary: #63e6be;
  --primary-strong: #3dd4a5;
  --primary-ink: #05251c;
  --info: #62b0ff;
  --warning: #ffcc66;
  --danger: #ff7f8a;
  --success: #63e6be;
  --focus: #a7ccff;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  --radius-sm: 0.55rem;
  --radius: 0.9rem;
  --radius-lg: 1.35rem;
  --max-width: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 80% -10%, rgba(57, 199, 158, 0.12), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

body.is-locked {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--primary);
}

a:hover {
  color: #96f0d3;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.3rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.08rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(38, 57, 81, 0.82);
  background: rgba(7, 17, 31, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid rgba(99, 230, 190, 0.5);
  border-radius: 0.6rem;
  background: rgba(99, 230, 190, 0.12);
  color: var(--primary);
  font-size: 0.72rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
}

.nav-toggle-lines::before {
  transform: translateY(-0.38rem);
}

.nav-toggle-lines::after {
  transform: translateY(0.26rem);
}

main {
  min-height: calc(100vh - 12rem);
}

.page-head {
  padding: clamp(2.5rem, 7vw, 5rem) 0 2rem;
}

.page-head h1 {
  max-width: 15ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
}

.page-head p {
  max-width: 66ch;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0.28rem rgba(99, 230, 190, 0.12);
  content: "";
}

.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.section-muted {
  border-block: 1px solid var(--line);
  background: rgba(15, 29, 47, 0.48);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.section-head h2,
.section-head p {
  margin-bottom: 0;
}

.section-head p {
  max-width: 54ch;
  color: var(--text-soft);
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20, 36, 58, 0.92), rgba(11, 23, 40, 0.92));
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
}

.card h2,
.card h3 {
  margin-bottom: 0.6rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
}

.text-soft {
  color: var(--text-soft);
}

.small {
  font-size: 0.84rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #8aefd0;
  color: var(--primary-ink);
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--surface-3);
  color: var(--text);
}

.button-danger {
  border-color: rgba(255, 127, 138, 0.36);
  background: rgba(255, 127, 138, 0.1);
  color: #ffabb2;
}

.button-quiet {
  min-height: 2.25rem;
  padding: 0.4rem 0.7rem;
  border-color: transparent;
  background: transparent;
  color: var(--text-soft);
}

.button-small {
  min-height: 2.2rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.84rem;
}

.field {
  display: grid;
  gap: 0.42rem;
}

.field label,
.field-label {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.66rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: #0a1728;
  color: var(--text);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #667990;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--info);
  outline: 3px solid rgba(98, 176, 255, 0.16);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.checkbox input {
  width: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.23rem;
  accent-color: var(--primary);
}

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

.form-wide {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.form-status[data-state="success"] {
  color: var(--success);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  width: max-content;
  padding: 0.25rem 0.58rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(135, 152, 173, 0.1);
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.status-chip::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-chip[data-status="good"],
.status-chip[data-status="success"],
.status-chip[data-status="ok"],
.status-chip[data-status="compliant"] {
  border-color: rgba(99, 230, 190, 0.3);
  background: rgba(99, 230, 190, 0.1);
  color: var(--success);
}

.status-chip[data-status="warning"],
.status-chip[data-status="attention"],
.status-chip[data-status="medium"] {
  border-color: rgba(255, 204, 102, 0.3);
  background: rgba(255, 204, 102, 0.1);
  color: var(--warning);
}

.status-chip[data-status="bad"],
.status-chip[data-status="error"],
.status-chip[data-status="critical"],
.status-chip[data-status="high"] {
  border-color: rgba(255, 127, 138, 0.3);
  background: rgba(255, 127, 138, 0.1);
  color: var(--danger);
}

.metric {
  min-height: 8rem;
}

.metric-label {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-value {
  margin-bottom: 0.35rem;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.metric-detail {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.state-panel {
  display: grid;
  min-height: 12rem;
  place-items: center;
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(15, 29, 47, 0.55);
  color: var(--text-soft);
  text-align: center;
}

.state-panel[hidden] {
  display: none;
}

.state-panel h2,
.state-panel h3 {
  margin-bottom: 0.4rem;
}

.state-panel p {
  max-width: 48ch;
  margin-bottom: 1rem;
}

.spinner {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.8rem;
  border: 3px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.skeleton {
  min-height: 1rem;
  border-radius: 0.4rem;
  background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2));
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.notice {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(98, 176, 255, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(98, 176, 255, 0.08);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.notice-warning {
  border-color: rgba(255, 204, 102, 0.3);
  background: rgba(255, 204, 102, 0.08);
}

.notice-danger {
  border-color: rgba(255, 127, 138, 0.3);
  background: rgba(255, 127, 138, 0.08);
}

.table-shell {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

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

th,
td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td {
  color: var(--text-soft);
  font-size: 0.88rem;
}

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

tbody tr:hover {
  background: rgba(98, 176, 255, 0.04);
}

.table-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.toolbar .field {
  min-width: min(100%, 11rem);
}

.toolbar .field-grow {
  flex: 1 1 17rem;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
}

.progress {
  overflow: hidden;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--surface-3);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 0.35s ease;
}

.progress-native {
  display: block;
  width: 100%;
  height: 0.55rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--surface-3);
  accent-color: var(--primary);
}

.progress-native::-webkit-progress-bar {
  border-radius: 999px;
  background: var(--surface-3);
}

.progress-native::-webkit-progress-value {
  border-radius: 999px;
  background: var(--primary);
}

.progress-native::-moz-progress-bar {
  border-radius: 999px;
  background: var(--primary);
}

.dashboard-shell {
  padding-bottom: 2rem;
}

.dashboard-head {
  display: grid;
  grid-template-columns: 1fr minmax(18rem, 0.7fr);
  align-items: end;
  gap: 2rem;
}

.dashboard-head h1 {
  margin-bottom: 0.8rem;
}

.dashboard-head p {
  max-width: 62ch;
  color: var(--text-soft);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.risk-title {
  display: block;
  color: var(--text);
  font-weight: 750;
}

.risk-description {
  display: block;
  max-width: 42rem;
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.risk-score {
  display: inline-flex;
  min-width: 2.6rem;
  justify-content: center;
  padding: 0.2rem 0.45rem;
  border-radius: 0.4rem;
  background: var(--surface-3);
  color: var(--text);
  font-weight: 800;
}

.dashboard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.dashboard-meta strong {
  color: var(--text-soft);
}

.empty-row td {
  padding: 2rem 1rem;
  color: var(--muted);
  text-align: center;
}

.wizard-shell {
  display: grid;
  grid-template-columns: minmax(13rem, 0.34fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.wizard-nav {
  position: sticky;
  top: 6rem;
}

.wizard-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wizard-step-indicator {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  min-height: 3.4rem;
  color: var(--muted);
}

.wizard-step-indicator::after {
  position: absolute;
  top: 1.7rem;
  bottom: 0;
  left: 0.78rem;
  width: 1px;
  background: var(--line);
  content: "";
}

.wizard-step-indicator:last-child::after {
  display: none;
}

.wizard-step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-size: 0.72rem;
  font-weight: 850;
}

.wizard-step-copy strong,
.wizard-step-copy span {
  display: block;
}

.wizard-step-copy strong {
  color: inherit;
  font-size: 0.87rem;
}

.wizard-step-copy span {
  font-size: 0.72rem;
}

.wizard-step-indicator[aria-current="step"] {
  color: var(--text);
}

.wizard-step-indicator[aria-current="step"] .wizard-step-number {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-ink);
}

.wizard-step-indicator.is-complete {
  color: var(--primary);
}

.wizard-panel {
  min-height: 31rem;
}

.wizard-panel h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.wizard-panel > p {
  max-width: 62ch;
  color: var(--text-soft);
}

.wizard-body {
  margin-top: 1.5rem;
}

.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.wizard-action-right {
  display: flex;
  gap: 0.65rem;
  margin-left: auto;
}

.wizard-result {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.wizard-result h3 {
  margin-bottom: 0.35rem;
}

.wizard-result p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.code-block {
  position: relative;
  display: block;
  max-width: 100%;
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #050d18;
  color: #cce8dd;
  font: 0.8rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre;
}

.success-mark {
  display: grid;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  place-items: center;
  border: 1px solid rgba(99, 230, 190, 0.35);
  border-radius: 50%;
  background: rgba(99, 230, 190, 0.1);
  color: var(--primary);
  font-size: 1.8rem;
}

.tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.tab {
  flex: 0 0 auto;
  padding: 0.55rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 0.58rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.tab[aria-selected="true"] {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--text);
}

[role="tabpanel"][hidden] {
  display: none;
}

.modal {
  width: min(calc(100% - 2rem), 38rem);
  max-height: calc(100vh - 2rem);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(2, 7, 14, 0.76);
  backdrop-filter: blur(4px);
}

.modal-head,
.modal-body,
.modal-foot {
  padding: 1rem 1.25rem;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  border-top: 1px solid var(--line);
}

.icon-button {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
}

.toast-region {
  position: fixed;
  z-index: 200;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: min(calc(100% - 2rem), 24rem);
  gap: 0.6rem;
}

.toast {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  box-shadow: var(--shadow);
}

.toast[data-type="error"] {
  border-color: rgba(255, 127, 138, 0.45);
}

.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

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

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 0.75rem;
  }

  .dashboard-head {
    grid-template-columns: 1fr;
  }

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

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

  .wizard-nav {
    position: static;
    overflow-x: auto;
  }

  .wizard-steps {
    grid-template-columns: repeat(6, minmax(7rem, 1fr));
  }

  .wizard-step-indicator::after {
    top: 0.78rem;
    right: 0;
    bottom: auto;
    left: 1.6rem;
    width: auto;
    height: 1px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar {
    align-items: stretch;
  }

  .toolbar .field,
  .toolbar-actions,
  .toolbar-actions .button {
    width: 100%;
  }

  th,
  td {
    padding: 0.72rem 0.75rem;
  }

  .wizard-panel {
    min-height: 0;
  }

  .wizard-actions,
  .wizard-action-right {
    align-items: stretch;
    flex-direction: column;
  }

  .wizard-action-right {
    width: 100%;
  }
}

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #111;
  }

  .site-header,
  .site-footer,
  .toolbar,
  .button,
  .toast-region {
    display: none !important;
  }

  .card,
  .table-shell {
    border-color: #bbb;
    background: #fff;
    box-shadow: none;
  }

  td,
  th,
  .muted,
  .text-soft {
    color: #222;
  }
}
