/* Central Zone Security Portal — application design system */
:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-synthesis: none;
  color: #1e293b;
  background: #f5f7fa;
  --ink: #1e293b;
  --paper: #f5f7fa;
  --accent: #3566bc;
  --accent-soft: #edf3fc;
  --muted: #64748b;
  --border: #e2e8f0;
  --navy: #17283f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #dbe8fa;
  color: #173f7c;
}
:focus-visible {
  outline: 3px solid #9bbbea;
  outline-offset: 3px;
}
body:not(.authenticated) > .sidebar,
body:not(.authenticated) > .shell {
  display: none;
}
body.authenticated #login-screen {
  display: none;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 240px;
  background: var(--navy);
  color: #c5cfdd;
  padding: 28px 16px 22px;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  color: #f5f8ff;
}
.brand-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 39px;
  color: #a7c4ef;
  background: #223954;
  border: 1px solid #3c5574;
  border-radius: 9px;
}
.brand-icon svg {
  width: 23px;
  height: 23px;
}
.brand small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1px;
  margin-top: 2px;
  color: #adbed5;
}
.workspace {
  font-size: 10px;
  letter-spacing: 0.9px;
  margin: 32px 10px 22px;
  color: #91a4be;
}
.workspace span {
  display: block;
  color: #dbe4f0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 8px;
}
nav {
  display: grid;
  gap: 5px;
}
nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 6px;
  color: #bbc9dc;
  font-size: 16px;
  min-height: 44px;
}
nav a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
nav a span {
  font-size: 12px;
  font-weight: 500;
}
nav a:hover {
  background: #20364f;
  color: #fff;
}
nav a.active {
  background: #2a4363;
  color: #fff;
}
nav a.active svg {
  color: #aacbff;
}
nav b {
  margin-left: auto;
  min-width: 20px;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 10px;
  text-align: center;
  background: #3b5779;
  color: #e2edfc;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 30px 9px 0;
  font-size: 10px;
  color: #b2c1d5;
}
.network-dot:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #89b5dc;
  margin-right: 7px;
}
.sidebar-bottom p {
  font-size: 9px;
  line-height: 1.7;
  color: #93a7c0;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #34475f;
  padding-top: 18px;
  margin-top: 21px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: #344d6b;
  color: #e6effc;
  font-size: 10px;
  font-weight: 600;
}
.profile #profile-name {
  display: block;
  max-width: 139px;
  font-size: 11px;
  font-weight: 500;
  color: #e5edf8;
  overflow-wrap: anywhere;
}
.profile small {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  color: #a3b5cc;
  margin-top: 4px;
}
.shell {
  margin-left: 240px;
}
header {
  height: 68px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 32px;
  font-size: 12px;
  color: #7b8799;
}
header span {
  margin: 0 10px;
}
header strong {
  font-weight: 500;
  color: #35445b;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-tag {
  display: inline-block;
  padding: 5px 8px;
  background: #f2f5fa;
  border: 1px solid #e1e7f0;
  border-radius: 4px;
  color: #5c6d85;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.6px;
  white-space: nowrap;
}
main {
  padding: 31px 32px;
  min-height: calc(100vh - 124px);
  max-width: 1630px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 1.7;
  text-transform: uppercase;
  color: #718198;
}
h1 {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.7px;
  margin: 8px 0 10px;
}
h2 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.15px;
  margin: 0;
}
h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.subtitle,
.muted {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.subtitle {
  margin: 0;
  max-width: 650px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
}
.heading-buttons {
  display: flex;
  gap: 9px;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 35px;
  padding: 9px 13px;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  background: #fff;
  color: #40516a;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow: 0 1px 2px #152d4d05;
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.button:hover {
  background: #f6f8fc;
  border-color: #b9c9df;
}
.button.primary:hover {
  background: #2b56a2;
  border-color: #2b56a2;
}
.button.text {
  min-height: 30px;
  padding: 5px 0;
  box-shadow: none;
  background: none;
  border: 0;
  color: #3566bc;
  font-size: 11px;
}
.button.text:hover {
  color: #1c478e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.button.danger {
  color: #af4c4c;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px #142e4e03;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  color: #65758a;
  font-size: 11px;
  font-weight: 500;
}
.stat-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: #eef3fb;
  border-radius: 7px;
  color: #5477ad;
  font-size: 16px;
}
.stat-number {
  font-size: 31px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.8px;
  font-variant-numeric: tabular-nums;
  margin: 10px 0 9px;
}
.stat-note {
  font-size: 10px;
  line-height: 1.6;
  color: #7c8797;
}
.stat-note.amber {
  color: #875b45;
}
.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 4px #142e4e03;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 22px;
  border-bottom: 1px solid #edf0f5;
}
.panel-head p {
  font-size: 10px;
  line-height: 1.7;
  color: #78869a;
  margin: 5px 0 0;
}
.chart {
  padding: 6px 22px 17px;
}
.bar-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: #6b7b90;
  margin: 17px 0;
}
.bar-track {
  height: 12px;
  border-radius: 3px;
  background: #f0f3f8;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: #92aed5;
  border-radius: 3px;
}
.bar-row:nth-child(even) .bar-fill {
  background: #6b91c3;
}
.bar-row b {
  text-align: right;
  font-weight: 500;
  color: #4a5c76;
}
.checks {
  padding: 0 22px 13px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0f5;
}
.check-row:last-child {
  border: 0;
}
.check-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 7px;
  background: #f4f1ee;
  color: #96785e;
  font-size: 13px;
}
.check-row strong {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}
.check-row p {
  font-size: 10px;
  line-height: 1.6;
  color: #7b889b;
  margin: 4px 0 0;
}
.check-row b {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-left: auto;
}
.callout {
  margin: 0 22px 17px;
  padding: 12px 13px;
  background: #f6f8fb;
  border: 1px solid #e8edf4;
  border-radius: 5px;
  color: #69798e;
  font-size: 10px;
  line-height: 1.8;
}
.badge {
  display: inline-block;
  background: #f1f4f8;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 4px 7px;
  font-size: 9px;
  font-weight: 500;
  color: #6b7d95;
  white-space: nowrap;
}
.badge.approved,
.badge.closed {
  background: #edf5f0;
  color: #4c7960;
}
.badge.submitted,
.badge.high {
  background: #edf2fc;
  color: #4b70ad;
}
.badge.returned {
  background: #fbefee;
  color: #aa6560;
}
.badge.draft,
.badge.open {
  background: #f1f4f8;
  color: #6d7e95;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #7b889b;
  background: #f8fafc;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
}
td {
  font-size: 11px;
  padding: 15px 20px;
  border-bottom: 1px solid #edf0f5;
  color: #4e5e74;
}
td small {
  display: block;
  font-size: 9px;
  color: #8490a1;
  margin-top: 5px;
}
tbody tr:hover {
  background: #f8faff;
}
.office-link {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: #344e74;
}
.office-link:hover {
  color: var(--accent);
  text-decoration: underline;
}
.table-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  font-size: 10px;
  line-height: 1.7;
  color: #8190a3;
}
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 19px;
}
.filters input {
  flex: 1;
  min-width: 190px;
}
.filters select {
  max-width: 210px;
}
.row-actions {
  display: flex;
  gap: 12px;
}
.pager {
  display: flex;
  align-items: center;
  gap: 11px;
}
.empty {
  text-align: center;
  padding: 35px 20px;
  font-size: 12px;
  line-height: 1.8;
  color: #7a889c;
}
.small-note {
  background: #f0f5fc;
  border: 1px solid #dfe8f6;
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 20px;
  font-size: 11px;
  line-height: 1.8;
  color: #5f7595;
}
.activity-item {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid #edf0f5;
}
.activity-item strong {
  font-size: 12px;
  font-weight: 500;
}
.activity-item p,
.activity-item small {
  font-size: 10px;
  line-height: 1.8;
  color: #7e8b9e;
}
.activity-item p {
  margin: 5px 0;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding: 18px 32px;
  font-size: 9px;
  line-height: 1.7;
  color: #8a97a8;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  background: #fff;
  color: #304158;
  padding: 10px 11px;
  font-size: 12px;
  line-height: 1.5;
}
input::placeholder,
textarea::placeholder {
  color: #96a0b0;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #7ea2d8;
  outline: 3px solid #e8effa;
  outline-offset: 0;
}
input:disabled,
select:disabled,
textarea:disabled {
  background: #f6f8fb;
  color: #7d889b;
  opacity: 1;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  color: #52647d;
  margin: 14px 0;
}
label input,
label select,
label textarea {
  display: block;
  margin-top: 6px;
  font-weight: 400;
}
dialog {
  width: min(760px, 94vw);
  max-height: 90vh;
  border: 1px solid #dde5ef;
  border-radius: 10px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 80px #102b4b33;
}
dialog::backdrop {
  background: #10243e77;
}
dialog form {
  padding: 25px;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 14px;
}
.dialog-head h2 {
  font-size: 22px;
  letter-spacing: -0.4px;
  margin-top: 6px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 0;
  border-radius: 5px;
  background: #f2f5fa;
  color: #718197;
  font-size: 22px;
  line-height: 1;
}
.icon-button:hover {
  background: #e9eff7;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 16px;
}
.section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #536a89;
  border-bottom: 1px solid #e8edf5;
  padding: 19px 0 9px;
}
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 22px;
}
.dialog-actions span {
  margin-right: auto;
  max-width: 230px;
  font-size: 10px;
  line-height: 1.7;
  color: #8190a4;
}
#action-dialog {
  width: 530px;
}
#toast {
  display: none;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  max-width: 90vw;
  border: 1px solid #34516f;
  border-radius: 7px;
  background: #263d59;
  color: #fff;
  box-shadow: 0 5px 20px #18334d26;
  padding: 13px 22px;
  font-size: 12px;
  line-height: 1.7;
}

/* Sign-in */
.login-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  background: #f5f7fa;
}
.login-brand {
  margin-bottom: 27px;
}
.login-brand .brand {
  color: #243b59;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.8px;
}
.login-brand .brand small {
  color: #7c8ba0;
  font-size: 12px;
  letter-spacing: 0;
}
.login-brand .brand-icon {
  width: 39px;
  height: 43px;
  background: #edf3fc;
  color: #4b77b9;
  border: 1px solid #dce6f5;
  border-radius: 9px;
}
.login-side {
  width: 100%;
  max-width: 430px;
}
.login-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  box-shadow: 0 5px 22px #1b36590a;
  padding: 30px 32px;
}
.login-card > .demo-tag {
  font-size: 8px;
  letter-spacing: 0.7px;
  background: #f5f7fb;
  color: #8a96a7;
  border-color: #e8edf4;
}
.login-card h2 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 18px 0 8px;
}
.login-card .subtitle {
  font-size: 11px;
  line-height: 1.8;
}
.login-card label {
  font-size: 11px;
  margin: 22px 0 16px;
}
.login-card input {
  height: 42px;
}
.login-card #login-submit {
  width: 100%;
  height: 40px;
  font-size: 12px;
  margin-top: 3px;
}
.login-help {
  font-size: 10px;
  line-height: 1.9;
  color: #8794a7;
  margin: 17px 0 22px;
}
.demo-accounts {
  background: #f8fafc;
  border: 1px solid #e7ecf3;
  border-radius: 6px;
  padding: 14px;
}
.demo-accounts > strong {
  font-size: 10px;
  font-weight: 600;
  color: #5d7190;
}
.demo-accounts p {
  font-size: 9px;
  line-height: 1.8;
  color: #8794a6;
  margin: 6px 0 8px;
}
.demo-accounts button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  border-top: 1px solid #e9edf3;
  background: none;
  color: #5d7291;
  padding: 10px 0;
  text-align: left;
  font-size: 10px;
  font-weight: 500;
}
.demo-accounts button:hover {
  color: #3566bc;
}
.demo-accounts button span {
  font-size: 9px;
  font-weight: 400;
  color: #8b98ab;
}
.demo-accounts small {
  display: block;
  font-size: 8px;
  line-height: 1.9;
  color: #8996a9;
  border-top: 1px solid #e9edf3;
  padding-top: 9px;
}
.login-foot {
  font-size: 10px;
  color: #98a3b3;
  margin-top: 24px;
}
#login-error {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
  color: #b15454;
  margin: 10px 0;
}

@media (min-width: 1600px) {
  main {
    padding: 38px 42px;
  }
  .stats {
    gap: 22px;
  }
  .stat {
    padding: 23px;
  }
}
@media (max-width: 1200px) {
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .sidebar {
    width: 215px;
  }
  .shell {
    margin-left: 215px;
  }
  .stat {
    padding: 16px;
  }
  .stats {
    gap: 12px;
  }
  .grid-two {
    grid-template-columns: 1.15fr 1fr;
  }
}
@media (max-width: 950px) {
  .grid-two {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-right {
    gap: 8px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 17px 16px 10px;
    overflow: visible;
  }
  .brand {
    font-size: 11px;
  }
  .brand-icon {
    width: 30px;
    height: 33px;
  }
  .brand small {
    font-size: 10px;
  }
  .workspace,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    gap: 4px;
    overflow: auto;
    padding: 5px 0;
    margin-top: 13px;
  }
  nav a {
    padding: 9px;
    gap: 7px;
    flex-shrink: 0;
    min-height: 37px;
  }
  nav a svg {
    width: 15px;
    height: 15px;
  }
  nav a span {
    font-size: 10px;
  }
  nav b {
    display: none;
  }
  .shell {
    margin: 0;
  }
  header {
    height: 59px;
    padding: 0 17px;
    font-size: 10px;
  }
  header span {
    margin: 0 5px;
  }
  .header-right .demo-tag {
    display: none;
  }
  main {
    padding: 24px 17px;
  }
  .page-heading {
    gap: 16px;
  }
  h1 {
    font-size: 25px;
  }
  .subtitle {
    font-size: 11px;
  }
  .heading-buttons {
    gap: 9px;
    flex-wrap: wrap;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 15px;
  }
  .stat-top {
    align-items: flex-start;
    font-size: 10px;
    line-height: 1.6;
  }
  .stat-number {
    font-size: 29px;
  }
  .stat-note {
    font-size: 9px;
  }
  .stat-icon {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
  .panel-head {
    padding: 17px;
  }
  .checks {
    padding-right: 17px;
    padding-left: 17px;
  }
  .callout {
    margin-right: 17px;
    margin-left: 17px;
  }
  .chart {
    padding-right: 17px;
    padding-left: 17px;
  }
  th,
  td {
    padding: 13px 16px;
  }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
  }
  .dialog-actions {
    flex-wrap: wrap;
  }
  .dialog-actions span {
    width: 100%;
    max-width: none;
  }
  .dialog-head h2 {
    font-size: 20px;
  }
  dialog form {
    padding: 20px;
  }
  .table-foot {
    padding: 15px 16px;
    flex-wrap: wrap;
  }
  footer {
    padding: 17px;
    flex-direction: column;
  }
  .login-screen {
    padding: 28px 18px;
  }
  .login-card {
    padding: 25px 23px;
  }
  .login-brand {
    margin-bottom: 23px;
  }
  .login-card h2 {
    font-size: 22px;
  }
  .login-foot {
    font-size: 9px;
  }
}
.dialog-body {
  padding: 25px;
}
.settings-form {
  padding: 23px;
  max-width: 470px;
}
.account-panel {
  max-width: 760px;
}
.form-error {
  color: #aa4b4b;
  font-size: 11px;
  line-height: 1.7;
}
.history-entry {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin: 12px 0;
  padding: 14px;
}
.history-entry summary {
  cursor: pointer;
  line-height: 1.8;
  font-size: 12px;
}
.history-entry summary span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.history-entry h3 {
  margin: 20px 0 10px;
}
.history-entry td {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 240px;
}
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}
.snapshot-grid dt {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}
.snapshot-grid dd {
  font-size: 11px;
  margin: 4px 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.badge.enabled {
  background: #edf5f0;
  color: #4c7960;
}
.badge.disabled {
  background: #f9eeee;
  color: #aa6560;
}
#credential-text {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1.9;
}
#history-dialog {
  width: min(900px, 94vw);
}
#users-table .row-actions {
  gap: 13px;
}
@media (max-width: 760px) {
  .dialog-body {
    padding: 18px;
  }
  .snapshot-grid {
    grid-template-columns: 1fr;
  }
  .settings-form {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
