:root {
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
  color: #142e43;
  background: #f2f5f8;
  --blue: #176c83;
  --line: #dce5eb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.demo {
  text-align: center;
  background: #fff0ce;
  color: #735321;
  padding: 9px;
  font-size: 13px;
  border-bottom: 1px solid #ead6ad;
}
.shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: calc(100vh - 34px);
}
aside {
  background: #112f43;
  color: white;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 26px;
  direction: ltr;
  text-align: center;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  direction: rtl;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0;
  color: #9fbbc9;
  margin-top: 10px;
}
.mark {
  display: block;
  color: #74d6d4;
  font-size: 32px;
  margin-bottom: 8px;
}
nav {
  display: grid;
  gap: 8px;
  margin: 40px 0;
}
nav button {
  text-align: right;
  background: transparent;
  color: #b9cfdb;
  border-radius: 8px;
  font-weight: normal;
  padding: 13px;
}
nav button.active {
  background: #24516a;
  color: white;
  border-right: 3px solid #79d8d2;
}
.identity {
  margin-top: auto;
  font-size: 13px;
}
.identity p {
  line-height: 1.7;
  color: #a1bbc9;
}
.identity select {
  background: #22455a;
  color: white;
  border-color: #3d5c70;
}
main {
  padding: 30px 36px;
  min-width: 0;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
header small {
  font-size: 13px;
  color: #6e8190;
}
h1 {
  font-size: 29px;
  margin: 9px 0;
}
h2 {
  font-size: 19px;
  margin: 0 0 18px;
}
h3 {
  font-size: 16px;
  margin: 0 0 12px;
}
button {
  background: var(--blue);
  border: 0;
  border-radius: 7px;
  color: white;
  padding: 11px 17px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
}
button:hover {
  filter: brightness(1.1);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: #e9f0f4;
  color: #254c63;
}
.ghost {
  background: transparent;
  color: #30566b;
  padding: 6px 10px;
}
.danger {
  background: #9c3f49;
}
.badge,
.status {
  display: inline-block;
  border-radius: 6px;
  background: #e3f2ef;
  color: #256b60;
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
}
.status.requested {
  background: #fff0ce;
  color: #8d6825;
}
.status.closed {
  background: #e7edf3;
  color: #527086;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.stat,
.panel,
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.stat strong {
  display: block;
  font-size: 31px;
  margin: 13px 0 7px;
}
.muted {
  color: #718391;
  font-size: 13px;
  line-height: 1.6;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 16px;
  gap: 12px;
}
.toolbar h2 {
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.route {
  font-size: 22px;
  font-weight: bold;
  direction: ltr;
  text-align: right;
  letter-spacing: 1px;
}
.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 18px 0;
}
.meta label {
  color: #778b98;
  font-size: 12px;
  display: block;
  margin-bottom: 7px;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.panel {
  margin-bottom: 18px;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 14px;
}
th {
  color: #718491;
  font-size: 12px;
  font-weight: normal;
  background: #f7f9fb;
}
th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid #e8eef2;
  vertical-align: top;
}
td .actions {
  margin: 0;
}
label {
  display: block;
  font-size: 13px;
  color: #526b7b;
  margin-bottom: 7px;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: white;
  border: 1px solid #cfdae2;
  border-radius: 6px;
  padding: 10px;
  width: 100%;
  margin: 0 0 17px;
}
input[type="checkbox"] {
  width: auto;
  margin-inline-end: 8px;
}
textarea {
  min-height: 85px;
  resize: vertical;
}
input[type="datetime-local"],
input[type="date"],
input[type="number"],
textarea.json {
  direction: ltr;
}
dialog {
  border: 0;
  box-shadow: 0 20px 100px #0e283960;
  border-radius: 14px;
  width: 660px;
  max-width: 94vw;
  max-height: 90vh;
  padding: 24px;
}
dialog::backdrop {
  background: #132b426e;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.dialog-head h2 {
  margin: 0;
}
footer {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.empty {
  padding: 30px;
  text-align: center;
  color: #7d909c;
}
.notice {
  padding: 13px 17px;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #dff3e9;
  color: #1e6851;
}
.notice.error {
  background: #ffe4e4;
  color: #9a2e38;
}
pre {
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  background: #f2f6f8;
  padding: 12px;
  border-radius: 6px;
}
.split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
}
a {
  color: #126f8c;
}
small.code {
  direction: ltr;
  display: inline-block;
}
.callout {
  background: #edf6f7;
  border-right: 3px solid #4fa9ad;
  padding: 14px 18px;
  line-height: 1.7;
  margin-bottom: 22px;
  font-size: 14px;
}
.check {
  display: flex;
  align-items: baseline;
}
.calendar {
  display: grid;
  gap: 12px;
}
.slot {
  border-right: 3px solid #6aabbd;
  padding: 10px 18px;
  background: #f4f8fa;
}
.sub {
  font-size: 12px;
  color: #8699a5;
  margin-top: 10px;
}
.currency {
  font-variant-numeric: tabular-nums;
  direction: ltr;
  display: inline-block;
}
@media (max-width: 1000px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
  main {
    padding: 24px;
  }
  .shell {
    grid-template-columns: 190px 1fr;
  }
}
@media (max-width: 650px) {
  .shell {
    display: block;
  }
  aside {
    padding: 16px;
  }
  .brand {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .brand small {
    margin: 0;
    margin-inline-start: auto;
  }
  .mark {
    display: inline;
    margin: 0;
    font-size: 24px;
  }
  nav {
    display: flex;
    overflow: auto;
    margin: 16px 0 8px;
    gap: 4px;
  }
  nav button {
    white-space: nowrap;
    padding: 9px;
  }
  .identity {
    display: flex;
    gap: 10px;
    align-items: center;
  }
  .identity label {
    white-space: nowrap;
    color: #b9cfdb;
    margin: 0;
  }
  .identity p {
    display: none;
  }
  .identity select {
    margin: 0;
    padding: 7px;
  }
  .demo {
    font-size: 11px;
  }
  main {
    padding: 20px 14px;
  }
  header {
    margin-bottom: 20px;
  }
  h1 {
    font-size: 24px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 27px;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel,
  .card {
    padding: 17px;
  }
  .toolbar {
    align-items: flex-start;
  }
  .toolbar button {
    font-size: 12px;
  }
  .stats {
    gap: 10px;
  }
  .meta {
    gap: 10px;
  }
}
.sms-prose {
  white-space: pre-wrap;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.status.critical {
  background: #f8d4d8;
  color: #8d2433;
}
.status.high {
  background: #fde8cd;
  color: #915313;
}
.status.medium {
  background: #fff2cc;
  color: #7b6320;
}
.status.low,
.status.verified {
  background: #def2e8;
  color: #246953;
}

.pilot-portrait {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #cad5df;
}
.record-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
#td-list td p {
  white-space: pre-wrap;
  max-width: 32em;
}
#td-list {
  overflow-x: auto;
}

html[dir="ltr"] table,
html[dir="ltr"] input,
html[dir="ltr"] textarea {
  text-align: left;
}

.dialog-navigation {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid #d9e2ec;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
#dialog-back {
  flex-shrink: 0;
  min-height: 42px;
}
#dialog-path {
  font-size: 0.85rem;
  color: #52647a;
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 120px;
}
#dialog-path span:last-child {
  font-weight: 600;
}
dialog #dialog-notice:not(:empty) {
  margin-block: 12px;
}

.validity {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 7px 10px;
  border: 1px solid;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.validity small {
  font-size: 0.8rem;
}
.validity-green {
  background: #dcfce7;
  border-color: #4d9663;
  color: #14532d;
}
.validity-yellow {
  background: #fff3c4;
  border-color: #c08b19;
  color: #674800;
}
.validity-red {
  background: #fee2e2;
  border-color: #c56767;
  color: #8b1b1b;
}
.validity-neutral {
  background: #edf1f6;
  border-color: #b6c1ce;
  color: #425268;
}
.inspection-box {
  margin-block: 20px;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
}

[hidden] {
  display: none !important;
}
.login-panel {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #eff4f9;
}
.login-card {
  width: min(100%, 460px);
  padding: 28px;
  background: white;
  border: 1px solid #d3dfeb;
  border-radius: 16px;
  box-shadow: 0 8px 32px #182e4b12;
}
.login-card form {
  display: grid;
  gap: 12px;
  margin-block: 20px;
}
.login-card input,
.login-card select {
  width: 100%;
  min-height: 46px;
  font-size: 16px;
}
#login-code {
  font-size: 24px;
  letter-spacing: 0.22em;
  text-align: center;
}
.record-fields > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
  .shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  main {
    min-width: 0;
  }
  .record-fields {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  }
  dialog {
    max-width: 94vw;
    max-height: 92dvh;
  }
  table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
    overscroll-behavior-x: contain;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  button,
  .secondary,
  input,
  select {
    min-height: 44px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  main {
    padding: 16px;
  }
  aside {
    position: relative;
    width: auto;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .actions {
    flex-wrap: wrap;
  }
  .toolbar button {
    font-size: 14px;
  }
  dialog {
    width: 96vw;
    max-width: 96vw;
    max-height: 94dvh;
    padding: 16px;
  }
  dialog footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding-block: 12px;
    z-index: 2;
  }
  .login-panel {
    padding: 12px;
  }
  .login-card {
    padding: 20px;
  }
  .record-fields {
    grid-template-columns: 1fr;
  }
  .route {
    overflow-wrap: anywhere;
  }
}

@media (pointer: coarse) {
  button,
  input,
  select,
  a.secondary {
    min-height: 44px;
  }
  .actions {
    gap: 10px;
  }
}
@media (max-width: 700px) {
  nav {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin: 16px 0;
  }
  nav button {
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .brand .mark {
    display: none;
  }
  .identity {
    margin-top: 12px;
  }
  .identity button {
    margin-block: 6px;
  }
}

/* Task navigation: work and system administration are separate landmarks. */
#nav {
  display: block;
  margin-block: 24px;
}
.nav-group {
  margin-block-end: 20px;
}
.nav-group-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #aac4d3;
  margin: 0 10px 8px;
}
.nav-group-items {
  display: grid;
  gap: 4px;
}
#nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: start;
  padding: 11px 12px;
  min-height: 44px;
  border-inline-start: 3px solid transparent;
  border-right: 0;
}
#nav button.active {
  border-inline-start-color: #79d8d2;
  background: #24516a;
}
#nav button:hover {
  background: #1c435b;
}
#nav button:focus-visible {
  outline: 2px solid #98e2df;
  outline-offset: 2px;
}
.nav-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.nav-group-settings {
  border-block-start: 1px solid #365365;
  padding-block-start: 18px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-block: 14px 26px;
}
.resource-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 9px;
  overflow-wrap: anywhere;
}
.resource-card h3,
.resource-card p {
  margin: 0;
}
.resource-symbol {
  background: #e8f4f3;
  color: #186d78;
  border-radius: 10px;
  padding: 10px;
  display: flex;
}
.resource-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #176c83;
  color: white;
  text-decoration: none;
}
.resource-pending {
  color: #6b7782;
  border: 1px dashed #b9c6cf;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 13px;
}
.dispatch-check {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-block: 16px;
  padding: 12px;
}
.dispatch-check legend {
  font-weight: bold;
  line-height: 1.6;
  max-width: 100%;
  padding-inline: 6px;
}
.dispatch-source {
  background: #eef6f7;
  border-radius: 10px;
  padding: 16px;
}
.dispatch-leg {
  border-block-start: 1px solid var(--line);
  padding-block: 12px;
}
@media (max-width: 700px) {
  #nav {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    gap: 18px;
    max-width: 100%;
    padding: 3px 2px 8px;
  }
  .nav-group {
    flex: 0 0 auto;
    margin: 0;
  }
  .nav-group-items {
    display: flex;
    gap: 6px;
  }
  #nav button {
    width: auto;
    white-space: nowrap;
  }
  .nav-group-settings {
    border-block-start: 0;
    border-inline-start: 1px solid #365365;
    padding-block-start: 0;
    padding-inline-start: 14px;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
}
.airport-control {
  position: relative;
  margin-block: 12px;
  min-width: 0;
}
.airport-options {
  list-style: none;
  margin: 4px 0;
  padding: 4px;
  max-height: 260px;
  overflow-y: auto;
  background: white;
  border: 1px solid #a5bbc9;
  box-shadow: 0 6px 16px #17394f1a;
  border-radius: 9px;
}
.airport-options li {
  padding: 12px;
  min-height: 48px;
  cursor: pointer;
  display: grid;
  gap: 5px;
  border-radius: 6px;
}
.airport-options li:hover,
.airport-options li[aria-selected="true"] {
  background: #e4f3f5;
  outline: 1px solid #176c83;
}
.airport-options small {
  color: #526a7a;
  line-height: 1.5;
}
.airport-options strong {
  text-align: start;
  color: #115b73;
}
.company-logo {
  display: block;
  object-fit: contain;
  height: auto;
  max-width: 100%;
}
.company-logo-sidebar {
  width: 180px;
  margin: 0 auto 18px;
}
.company-logo-login {
  width: 240px;
  margin: 0 auto 24px;
}
@media (max-width: 700px) {
  .brand .company-logo-sidebar {
    width: 125px;
    margin: 0 0 0 12px;
  }
  .brand {
    flex-wrap: wrap;
  }
}

/* Responsive application shell: one vertical drawer, no horizontal menu strip. */
.mobile-bar,
.mobile-drawer-head,
.navigation-backdrop,
.cell-label {
  display: none;
}
.shell {
  grid-template-columns: 230px minmax(0, 1fr);
}
button,
input,
select,
textarea {
  max-width: 100%;
}
input,
select,
textarea,
fieldset,
.row > *,
.meta > *,
.stats > *,
.card-head > *,
.toolbar > *,
.cell-value {
  min-width: 0;
}
.toolbar,
.card-head,
main > header {
  flex-wrap: wrap;
}
.stat,
.card,
.panel,
.callout,
.slot,
#fields,
#dialog-title {
  min-width: 0;
  overflow-wrap: anywhere;
}
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.responsive-table {
  display: table;
  overflow: visible;
}
.responsive-table .cell-value {
  overflow-wrap: anywhere;
}
.row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2b899e;
  outline-offset: 3px;
}
input[type="file"] {
  overflow: hidden;
}
input[type="checkbox"],
input[type="radio"] {
  min-height: 22px;
  min-width: 22px;
  flex-shrink: 0;
}
.check {
  align-items: flex-start;
  gap: 6px;
  line-height: 1.6;
}
.dialog-head {
  gap: 12px;
  align-items: flex-start;
}
#dismiss {
  flex: 0 0 44px;
  min-height: 44px;
}
@media (max-width: 1100px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .shell {
    display: block;
  }
  .mobile-bar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 10;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px max(12px, env(safe-area-inset-right)) 10px
      max(12px, env(safe-area-inset-left));
    color: white;
    background: #112f43;
    box-shadow: 0 2px 10px #112f4320;
  }
  #navigation-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px;
    background: #24516a;
    flex-shrink: 0;
  }
  #mobile-page-title {
    font-size: 13px;
    color: #c7dbe7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }
  #primary-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: min(340px, 90vw);
    height: 100dvh;
    padding: max(16px, env(safe-area-inset-top)) 18px
      max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 30;
    visibility: hidden;
    pointer-events: none;
  }
  .navigation-open #primary-sidebar {
    visibility: visible;
    pointer-events: auto;
  }
  .navigation-open {
    overflow: hidden;
  }
  .navigation-open .navigation-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #0c243b99;
    z-index: 20;
    touch-action: none;
  }
  .mobile-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
  }
  .mobile-drawer-head h2 {
    margin: 0;
    font-size: 16px;
  }
  #navigation-close {
    padding: 10px;
    min-height: 44px;
  }
  #primary-sidebar .brand {
    display: block;
    font-size: 24px;
  }
  #primary-sidebar .brand small {
    margin-top: 8px;
  }
  #primary-sidebar .company-logo-sidebar {
    width: 150px;
    margin: 0 auto 12px;
  }
  #nav {
    display: block;
    overflow: visible;
    margin-block: 24px;
    padding: 0;
  }
  #nav .nav-group {
    margin-bottom: 20px;
  }
  #nav .nav-group-items {
    display: grid;
    gap: 5px;
  }
  #nav button {
    width: 100%;
    white-space: normal;
  }
  #nav .nav-group-settings {
    border-inline-start: 0;
    border-block-start: 1px solid #365365;
    padding-inline-start: 0;
    padding-block-start: 18px;
  }
  #primary-sidebar .identity {
    display: block;
    margin-top: 0;
    border-top: 1px solid #365365;
    padding-top: 20px;
  }
  #primary-sidebar .identity label {
    color: #b9cfdb;
    white-space: normal;
    margin-block: 8px;
  }
  #primary-sidebar .identity select,
  #primary-sidebar .identity button {
    width: 100%;
    min-height: 44px;
    margin-bottom: 12px;
  }
  #primary-sidebar .identity p {
    display: block;
  }
  main {
    padding: 20px;
  }
  main > header {
    gap: 10px;
    margin-bottom: 20px;
  }
  main > header h1 {
    font-size: 24px;
  }
  .split,
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  main {
    padding: 16px 12px max(24px, env(safe-area-inset-bottom));
  }
  .mobile-bar > b {
    font-size: 15px;
  }
  button,
  input,
  select,
  textarea,
  .resource-link {
    min-height: 44px;
    font-size: 16px;
  }
  .row,
  .record-fields,
  .resource-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .resource-grid {
    gap: 12px;
  }
  .panel,
  .card {
    padding: 16px 12px;
    overflow: visible;
  }
  .stat {
    padding: 14px 12px;
  }
  .stats {
    gap: 10px;
  }
  .stat strong {
    font-size: 26px;
  }
  .toolbar {
    align-items: stretch;
    gap: 12px;
    margin-block: 20px 14px;
  }
  .toolbar > h2,
  .toolbar > h3,
  .toolbar > .actions {
    width: 100%;
  }
  .toolbar .actions {
    margin-top: 0;
  }
  .actions > button {
    flex: 1 1 140px;
    white-space: normal;
    line-height: 1.4;
  }
  .meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .table-scroll {
    overflow: visible;
  }
  .responsive-table,
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }
  .responsive-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .responsive-table tbody {
    display: grid;
    gap: 12px;
  }
  .responsive-table tr {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    overflow: hidden;
  }
  .responsive-table td {
    display: grid;
    grid-template-columns: minmax(80px, 30%) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 12px;
    text-align: start;
  }
  .responsive-table td:last-child {
    border-bottom: 0;
  }
  .responsive-table .cell-label {
    display: block;
    color: #526b7b;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .responsive-table td:has(.actions) {
    grid-template-columns: minmax(0, 1fr);
  }
  .responsive-table .actions {
    margin: 0;
  }
  dialog {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    padding: 16px 12px;
    border-radius: 12px;
    scroll-padding-block: 16px 88px;
  }
  dialog footer {
    padding-bottom: max(12px, env(safe-area-inset-bottom));
  }
  dialog footer button {
    flex: 1;
    min-width: 0;
  }
  .dialog-navigation {
    gap: 8px;
  }
  #dialog-path {
    min-width: 0;
    flex-basis: 100%;
  }
  .login-card {
    min-width: 0;
  }
}
@media (max-width: 380px) {
  .responsive-table td {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
}
@media (max-width: 600px) {
  .badge,
  .status,
  .validity {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
