@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Roboto+Condensed:wght@400;700&family=Ubuntu+Mono:wght@400;700&display=swap");

:root {
  color-scheme: light dark;
  --bg: #edf3f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-2: #f6f9fc;
  --ink: #1e2a35;
  --ink-soft: #5f7386;
  --border: rgba(117, 138, 159, 0.18);
  --shadow: 0 18px 38px rgba(29, 51, 74, 0.12);
  --primary: #2d6d87;
  --primary-strong: #1e566c;
  --accent: #ca9152;
  --success: #2e7d5f;
  --warning: #cc9d3d;
  --danger: #bc5c5c;
  --radius: 22px;
  --radius-sm: 14px;
  --font-body: "Roboto", "Segoe UI", sans-serif;
  --font-heading: "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-mono: "Ubuntu Mono", Consolas, monospace;
  --font-stack: var(--font-body);
  --backdrop: radial-gradient(circle at top left, rgba(96, 149, 173, 0.22), transparent 40%),
    radial-gradient(circle at right, rgba(217, 177, 133, 0.18), transparent 32%),
    linear-gradient(180deg, #f6fafc, #ebf2f7);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1720;
    --surface: rgba(24, 34, 46, 0.84);
    --surface-strong: #17212d;
    --surface-2: #131c26;
    --ink: #e5edf5;
    --ink-soft: #9eb0c1;
    --border: rgba(158, 176, 193, 0.18);
    --shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
    --backdrop: radial-gradient(circle at top left, rgba(70, 124, 150, 0.25), transparent 35%),
      radial-gradient(circle at right, rgba(185, 132, 84, 0.18), transparent 26%),
      linear-gradient(180deg, #121b24, #0d141c);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--backdrop);
}

body {
  min-height: 100vh;
}

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

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

.app-shell,
.admin-shell {
  min-height: 100vh;
}

.page-frame {
  padding: 28px;
}

.auth-page {
  color-scheme: light;
  background:
    radial-gradient(circle at top left, rgba(96, 149, 173, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(217, 177, 133, 0.06), transparent 20%),
    linear-gradient(180deg, #fbfdff 0%, #eef4f8 100%);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-shell {
  display: grid;
  width: min(560px, 100%);
  align-items: center;
  justify-items: center;
}

.auth-login-stage {
  width: min(100%, 640px);
}

.auth-login-panel {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 30px 32px;
  border-radius: 28px;
  color: #173047;
  background: linear-gradient(145deg, #ffffff, #f7fafc) !important;
  border: 1px solid rgba(116, 136, 156, 0.1);
  box-shadow:
    0 24px 48px rgba(18, 35, 52, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.auth-login-panel-compact {
  width: 100%;
}

.auth-login-head {
  display: grid;
  gap: 22px;
}

.auth-login-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: flex-start;
}

.auth-brand-block {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding-top: 8px;
}

.auth-brand-block h1 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.85rem, 4vw, 2.15rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #16304a;
  white-space: nowrap;
}

.auth-login-copy {
  display: grid;
  gap: 8px;
}

.auth-login-copy h2,
.auth-login-copy p {
  margin: 0;
}

.auth-login-copy h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #173047;
}

.auth-language-pill-compact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #6f8599;
  flex-shrink: 0;
  justify-self: end;
}

.auth-language-pill-compact .topbar-language-select {
  width: auto;
  min-width: 164px;
  padding: 13px 42px 13px 18px;
}

.auth-language-pill-compact span {
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
}

.mono,
code,
pre,
kbd,
samp {
  font-family: var(--font-mono);
}

h1,
h2,
h3,
h4,
h5,
h6,
.topbar-title,
.panel-header h2,
.modal-header h3,
.eyebrow {
  font-family: var(--font-heading);
}

.auth-brand {
  padding: 46px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.auth-brand h1,
.topbar h1 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.05;
}

.auth-brand p {
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.auth-spotlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.spotlight-card,
.soft-card {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.panel {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.auth-card {
  padding: 24px;
}

.login-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 560px);
  padding: 34px;
  overflow: hidden;
  color-scheme: light;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 252, 0.9) 58%, rgba(249, 243, 236, 0.86)),
    var(--surface);
  box-shadow:
    0 32px 80px rgba(8, 20, 33, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: auth-card-in 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.login-header {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}

.login-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.login-copy {
  display: grid;
  gap: 10px;
}

.login-kicker {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-strong);
}

.login-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6.4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #102336;
}

.login-lede {
  margin: 0;
  max-width: 42ch;
  font-size: 1.04rem;
  line-height: 1.55;
  color: #6e8195;
}

.login-form {
  gap: 18px;
}

.auth-login-panel .field {
  gap: 10px;
}

.auth-login-panel .field span {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #7b8da0;
}

.auth-login-panel .input,
.auth-login-panel .select {
  padding: 13px 15px;
  border-radius: 18px;
  border-color: rgba(89, 113, 133, 0.14);
  background: rgba(255, 255, 255, 0.98);
  color: #17283c;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 8px 18px rgba(15, 31, 49, 0.03);
}

.auth-login-panel .input::placeholder {
  color: #aab8c6;
  opacity: 1;
}

.auth-login-panel .input:focus,
.auth-login-panel .select:focus {
  border-color: rgba(45, 109, 135, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 0 4px rgba(45, 109, 135, 0.12),
    0 14px 30px rgba(15, 31, 49, 0.09);
}

.login-card::before,
.login-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
  filter: blur(10px);
  opacity: 0.95;
  pointer-events: none;
}

.login-card::before {
  top: -110px;
  right: -70px;
  width: 270px;
  height: 270px;
  background: radial-gradient(circle, rgba(93, 151, 177, 0.24), transparent 68%);
  animation: auth-orb-left 10s ease-in-out infinite alternate;
}

.login-card::after {
  left: -120px;
  bottom: -150px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(214, 176, 136, 0.24), transparent 70%);
  animation: auth-orb-right 12s ease-in-out infinite alternate;
}

.login-language {
  width: auto;
  min-width: 164px;
  padding-inline: 16px 42px;
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(89, 113, 133, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.login-card .field {
  gap: 10px;
}

.login-card .field span {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #7b8da0;
}

.login-card .input {
  padding: 15px 18px;
  border-radius: 18px;
  border-color: rgba(89, 113, 133, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: #17283c;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 24px rgba(15, 31, 49, 0.06);
}

.login-card .input::placeholder {
  color: #aab8c6;
  opacity: 1;
}

.login-card .input:-webkit-autofill,
.login-card .input:-webkit-autofill:hover,
.login-card .input:-webkit-autofill:focus {
  -webkit-text-fill-color: #17283c;
  box-shadow:
    inset 0 0 0 1000px rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(15, 31, 49, 0.06);
  transition: background-color 9999s ease-out 0s;
}

.login-card .input:focus,
.login-card .select:focus {
  border-color: rgba(45, 109, 135, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 0 0 4px rgba(45, 109, 135, 0.12),
    0 14px 30px rgba(15, 31, 49, 0.09);
}

.login-submit {
  width: 100%;
  margin-top: 2px;
  padding: 13px 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(45, 109, 135, 0.14);
}

.auth-login-panel .muted,
.auth-login-panel .eyebrow,
.auth-login-panel .field span,
.auth-language-pill-compact span {
  color: #7c8fa3;
}

.login-actions,
.login-reset-actions {
  display: grid;
  gap: 10px;
}

.link-button {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #416c86;
  font-weight: 600;
  justify-self: start;
}

.link-button:hover {
  transform: none;
  opacity: 0.78;
}

.reset-toggle {
  margin-top: 4px;
}

.login-reset-panel {
  display: grid;
  gap: 16px;
  margin-top: 0;
  padding-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    max-height 0.35s ease,
    opacity 0.24s ease,
    transform 0.28s ease,
    padding-top 0.28s ease;
}

.login-reset-panel.is-open {
  max-height: 360px;
  opacity: 1;
  padding-top: 10px;
  overflow: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.login-reset-copy {
  display: grid;
  gap: 6px;
}

.login-reset-copy h3,
.login-reset-copy p {
  margin: 0;
}

.login-reset-panel .secondary {
  justify-self: start;
  padding-inline: 18px;
}

.login-submit[disabled] {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.muted,
.tiny {
  color: var(--ink-soft);
}

.tiny {
  font-size: 0.78rem;
}

.stack-form,
.client-list,
.metric-list,
.audit-list,
.route-items {
  display: grid;
  gap: 14px;
}

.client-list {
  align-content: start;
  grid-auto-rows: max-content;
  gap: 10px;
}

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

.field span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.inline-field {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--ink);
  outline: none;
}

.textarea {
  min-height: 96px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(45, 109, 135, 0.55);
  box-shadow: 0 0 0 4px rgba(45, 109, 135, 0.14);
}

.small-select,
.small-button {
  padding: 10px 12px;
}

.button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 16px;
  transition: transform 0.16s ease, opacity 0.16s ease, background 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: white;
}

.secondary {
  background: rgba(45, 109, 135, 0.12);
  color: var(--primary-strong);
}

.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
}

.danger {
  background: linear-gradient(135deg, #c54b4b, #a12d2d);
  color: #fff;
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

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

.user-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid var(--border);
  display: grid;
  gap: 3px;
  min-width: 200px;
}

.user-pill span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.admin-page {
  color-scheme: light;
  background:
    radial-gradient(circle at top left, rgba(96, 149, 173, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(217, 177, 133, 0.15), transparent 24%),
    linear-gradient(180deg, #f4f7fb 0%, #edf2f7 100%);
  height: 100vh;
  overflow: hidden;
}

.admin-frame {
  display: grid;
  gap: 14px;
  height: 100vh;
  padding: 14px;
  grid-template-rows: auto minmax(0, 1fr);
}

.admin-page .panel,
.admin-page .empty-state,
.admin-page .loading-screen {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(116, 136, 156, 0.14);
  box-shadow: 0 22px 44px rgba(18, 35, 52, 0.08);
}

.admin-page .input,
.admin-page .select,
.admin-page .textarea {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(111, 130, 149, 0.16);
  color: #173047;
}

.admin-page .input::placeholder {
  color: #9aacbc;
  opacity: 1;
}

.admin-page .ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(85, 108, 129, 0.18);
  color: #183149;
}

.admin-page .secondary {
  background: linear-gradient(135deg, rgba(59, 110, 138, 0.16), rgba(59, 110, 138, 0.08));
  border: 1px solid rgba(59, 110, 138, 0.12);
  color: #1f5570;
}

.admin-page .topbar {
  margin-bottom: 0;
  padding: 12px 16px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(246, 249, 252, 0.74)),
    rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(116, 136, 156, 0.14);
  box-shadow: 0 18px 38px rgba(18, 35, 52, 0.08);
}

.admin-page .topbar-compact {
  align-items: center;
}

.topbar-title {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #14263a;
}

.topbar-copy {
  min-width: 0;
}

.topbar-language-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.topbar-language-select {
  min-width: 94px;
  padding-right: 30px;
}

.admin-page .topbar .eyebrow {
  color: #6f8599;
}

.admin-page .topbar-actions {
  justify-content: flex-end;
  gap: 12px;
}

.admin-page .topbar .select {
  min-width: 90px;
  font-size: 0.84rem;
}

.admin-page .topbar-language-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(85, 108, 129, 0.18);
  color: #6f8599;
  font-size: 0.82rem;
}

.admin-page .topbar-language-pill .topbar-language-select {
  min-width: 110px;
  border: 0;
  background: transparent;
  padding: 2px 22px 2px 0;
  color: #183149;
  box-shadow: none;
}

.admin-page .topbar-email {
  color: #6f8599;
  font-size: 0.9rem;
  white-space: nowrap;
}

.admin-page #settings-button,
.admin-page #logout-button {
  min-width: 92px;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
}

.admin-page .user-pill {
  min-width: 220px;
  padding: 10px 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(243, 247, 251, 0.78));
}

.operations-page {
  color-scheme: light;
  background:
    radial-gradient(circle at top left, rgba(96, 149, 173, 0.17), transparent 26%),
    radial-gradient(circle at top right, rgba(217, 177, 133, 0.14), transparent 22%),
    linear-gradient(180deg, #f4f7fb 0%, #edf2f7 100%);
  height: 100vh;
  overflow: hidden;
}

.operations-page .panel,
.operations-page .empty-state,
.operations-page .loading-screen {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(116, 136, 156, 0.14);
  box-shadow: 0 22px 44px rgba(18, 35, 52, 0.08);
}

.operations-page .input,
.operations-page .select,
.operations-page .textarea {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(111, 130, 149, 0.16);
  color: #173047;
}

.operations-page .input::placeholder,
.operations-page .textarea::placeholder {
  color: #9aacbc;
  opacity: 1;
}

.operations-page .ghost {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(85, 108, 129, 0.18);
  color: #183149;
}

.operations-page .secondary {
  background: linear-gradient(135deg, rgba(59, 110, 138, 0.16), rgba(59, 110, 138, 0.08));
  border: 1px solid rgba(59, 110, 138, 0.12);
  color: #1f5570;
}

.operations-page .topbar {
  margin-bottom: 0;
  padding: 12px 16px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(246, 249, 252, 0.74)),
    rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(116, 136, 156, 0.14);
  box-shadow: 0 18px 38px rgba(18, 35, 52, 0.08);
}

.operations-page .topbar-compact {
  align-items: center;
}

.operations-page .topbar .eyebrow {
  color: #6f8599;
}

.operations-page .topbar-actions {
  justify-content: flex-end;
  gap: 12px;
}

.dev-topbar-button {
  box-shadow: 0 14px 28px rgba(161, 45, 45, 0.18);
}

.operations-page .topbar .select {
  min-width: 90px;
  font-size: 0.84rem;
}

.operations-page .topbar-language-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(85, 108, 129, 0.18);
  color: #6f8599;
  font-size: 0.82rem;
}

.operations-page .topbar-language-pill .topbar-language-select {
  min-width: 110px;
  border: 0;
  background: transparent;
  padding: 2px 22px 2px 0;
  color: #183149;
  box-shadow: none;
}

.operations-page .topbar-email {
  color: #6f8599;
  font-size: 0.9rem;
  white-space: nowrap;
}

.operations-page #settings-button,
.operations-page #logout-button {
  min-width: 92px;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
}

.operations-page .user-pill {
  min-width: 170px;
  padding: 8px 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(243, 247, 251, 0.78));
}

.operations-page .user-pill strong {
  font-size: 0.92rem;
}

.operations-page .user-pill span {
  font-size: 0.75rem;
}

.operations-frame {
  display: grid;
  gap: 14px;
  height: 100vh;
  padding: 14px;
  grid-template-rows: auto minmax(0, 1fr);
}

.operations-page .summary-grid {
  margin-bottom: 0;
}

.operations-page .metric-card {
  padding: 20px 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(146, 190, 214, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 252, 0.88));
}

.operations-page .metric-card strong {
  color: #14263a;
}

.operations-page .metric-list {
  gap: 10px;
}

.operations-page .metric-row {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(246, 249, 252, 0.9);
  border: 1px solid rgba(111, 130, 149, 0.12);
}

.operations-page .operations-layout {
  align-items: stretch;
}

.operations-page .sidebar,
.operations-page .today-sidebar,
.operations-page .center-column > .panel {
  border-radius: 26px;
}

.operations-page .sidebar,
.operations-page .today-sidebar,
.operations-page .summary-panel,
.operations-page .center-column > .panel {
  padding: 16px;
}

.operations-page .panel-header h2,
.operations-page .summary-panel h3 {
  color: #173047;
  font-size: 1.05rem;
}

.operations-page .field span,
.operations-page .eyebrow {
  color: #7c8fa3;
  font-size: 0.78rem;
}

.operations-page .input,
.operations-page .select,
.operations-page .textarea {
  padding: 9px 11px;
  font-size: 0.9rem;
}

.operations-page .textarea {
  min-height: 84px;
}

.operations-page .client-row,
.operations-page .list-card,
.operations-page .route-accordion,
.operations-page .audit-entry {
  border: 1px solid rgba(111, 130, 149, 0.12);
  background: rgba(248, 250, 252, 0.88);
}

.operations-page .client-row:hover,
.operations-page .list-card:hover,
.operations-page .is-selected {
  border-color: rgba(45, 109, 135, 0.22);
  background: rgba(230, 239, 245, 0.95);
}

.operations-page .route-accordion summary,
.operations-page .route-item {
  background: rgba(248, 250, 252, 0.88);
}

.operations-page .route-accordion summary strong,
.operations-page .route-item-quantity {
  color: #20364a;
}

.operations-page .route-item-name {
  color: #20364a;
  font-size: 1rem;
  font-weight: 700;
}

.operations-page .route-location-text {
  color: #6f8599;
  font-size: 0.9rem;
  font-weight: 400;
  text-align: center;
}

.operations-page .route-item {
  border-top: 1px solid rgba(111, 130, 149, 0.12);
  display: block;
}

.operations-page .route-item-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.operations-page .route-item-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.operations-page .route-item-sync {
  width: min(100%, 520px);
}

.operations-page .data-table th,
.operations-page .data-table td {
  border-bottom: 1px solid rgba(111, 130, 149, 0.12);
}

.operations-page .data-table th {
  color: #8296aa;
}

.operations-page .data-table td {
  color: #20364a;
}

.operations-page .data-table tbody tr:hover {
  background: rgba(240, 246, 250, 0.72);
}

.operations-page .delivery-date-cell,
.operations-page .delivery-quantity-cell {
  font-weight: 600;
}

.operations-page .delivery-date-stack {
  display: grid;
  gap: 8px;
  align-items: start;
}

.operations-page .delivery-row-cancelled {
  background: rgba(244, 247, 250, 0.82);
}

.operations-page .delivery-cancelled-copy {
  color: #8a98a8 !important;
  text-decoration: line-through;
}

.operations-page .delivery-cancelled-copy .delivery-route-line,
.operations-page .delivery-cancelled-copy .delivery-route-name,
.operations-page .delivery-cancelled-copy .delivery-route-location {
  color: inherit;
}

.operations-page .delivery-cancelled-quantity {
  color: #8a98a8 !important;
}

.operations-page .delivery-route-cell {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.operations-page .delivery-sync-cell {
  display: grid;
  gap: 4px;
  justify-items: start;
  align-items: start;
}

.operations-page .delivery-sync-cell-inline {
  width: min(100%, 560px);
}

.operations-page .delivery-sync-cell-wide {
  width: 100%;
}

.operations-page .delivery-sync-detail {
  color: #6f8599;
  font-size: 0.84rem;
  line-height: 1.35;
  word-break: break-word;
}

.operations-page .delivery-sync-debug {
  margin-top: 2px;
  width: 100%;
}

.operations-page .delivery-sync-debug summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #2d6d87;
  font-size: 0.82rem;
  font-weight: 700;
}

.operations-page .delivery-sync-debug summary::-webkit-details-marker {
  display: none;
}

.operations-page .delivery-sync-debug summary::before {
  content: "▸";
  font-size: 0.92rem;
  line-height: 1;
  transition: transform 0.16s ease;
}

.operations-page .delivery-sync-debug[open] summary::before {
  transform: rotate(90deg);
}

.operations-page .delivery-sync-debug-row {
  margin-top: 6px;
  display: grid;
  gap: 2px;
  color: #587084;
  font-size: 0.82rem;
}

.operations-page .delivery-sync-debug-row span {
  display: block;
  width: 100%;
}

.operations-page .delivery-sync-debug-pre {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(239, 245, 249, 0.98);
  border: 1px solid rgba(111, 130, 149, 0.14);
  color: #20364a;
  font-size: 0.78rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.operations-page .delivery-debug-row td {
  padding-top: 0;
  border-bottom: 1px solid var(--border);
}

.operations-page .delivery-debug-cell {
  padding-left: 8px;
  padding-right: 8px;
}

.operations-page .today-panel-sync-meta {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.operations-page .delivery-sync-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 2px;
  align-items: center;
}

.operations-page .sync-status-badge {
  padding: 5px 10px;
}

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

.operations-page .delivery-route-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #20364a;
  font-size: 0.98rem;
  font-weight: 600;
}

.operations-page .delivery-route-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--route-color);
  flex: 0 0 auto;
}

.operations-page .delivery-route-name {
  color: inherit;
}

.operations-page .delivery-route-location {
  color: #6f8599;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.operations-page .delivery-actions-placeholder {
  display: block;
  min-height: 42px;
}

.operations-page .empty-state,
.operations-page .tall-empty {
  background: rgba(243, 247, 251, 0.92);
  color: #73879b;
}

.operations-page .modal-card {
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.94));
  color: #173047;
}

.operations-page .modal-header h3 {
  color: #173047;
  font-size: 1.55rem;
}

.operations-page .modal-header .icon-button {
  color: #4a667f;
}

.operations-page .modal-body .field span,
.operations-page .modal-body .schedule-day {
  color: #6f8599;
}

.operations-page .modal-body .data-table th {
  color: #7c91a6;
}

.operations-page .modal-body,
.operations-page .modal-body p,
.operations-page .modal-body small,
.operations-page .modal-body strong,
.operations-page .modal-body label,
.operations-page .modal-body div {
  color: inherit;
}

.operations-page .modal-footer .button {
  min-width: 108px;
  font-weight: 700;
}

.operations-page .modal-footer .ghost {
  background: rgba(235, 240, 245, 0.86);
  color: #183149;
}

.operations-page .modal-footer .secondary {
  background: rgba(233, 242, 248, 0.92);
}

.operations-page .icon-button {
  color: #44637a;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
}

.admin-hero-shell {
  grid-column: 1 / -1;
  min-height: 0;
}

.admin-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto minmax(240px, 360px);
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(146, 190, 214, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 252, 0.88));
}

.admin-overview-main {
  display: grid;
  gap: 8px;
}

.admin-overview-main h2 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #14263a;
}

.admin-overview-main p {
  margin: 0;
  max-width: 60ch;
  font-size: 0.98rem;
  line-height: 1.45;
}

.admin-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.admin-overview-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-structure-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-stat-card,
.admin-detail-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(111, 130, 149, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.admin-stat-card strong {
  display: block;
  margin: 8px 0 2px;
  font-size: 1.8rem;
  color: #14263a;
}

.admin-stat-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #72869a;
}

.admin-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.admin-detail-empty,
.admin-card-copy p,
.admin-user-main p {
  color: #74889c;
}

.admin-directory {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.admin-directory .panel-header,
.admin-directory .field {
  margin: 0;
}

.admin-directory-label {
  display: block;
  color: #7c8fa3;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-directory .field span,
.admin-overview .eyebrow,
.admin-stat-card .eyebrow {
  color: #7c8fa3;
}

.admin-company-list {
  align-content: start;
  min-height: 0;
  overflow: auto;
}

.admin-user-directory {
  min-width: 0;
}

.admin-page .operations-layout {
  align-items: stretch;
}

.admin-page .sidebar,
.admin-page .today-sidebar,
.admin-page .center-column > .panel {
  border-radius: 26px;
}

.admin-page .sidebar,
.admin-page .today-sidebar,
.admin-page .center-column > .panel {
  padding: 16px;
}

.admin-center-column {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  height: 100%;
  min-height: 0;
}

.admin-detail-panel,
.admin-structure-panel {
  display: grid;
  gap: 14px;
  min-height: 0;
}

.admin-center-column > .admin-detail-panel {
  height: 100%;
  align-content: start;
  overflow: auto;
}

.admin-detail-panel-empty {
  align-content: start;
}

.admin-detail-header {
  align-items: start;
}

.admin-detail-actions {
  justify-content: flex-end;
}

.admin-company-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-company-facts .admin-detail-card {
  display: grid;
  gap: 6px;
}

.admin-detail-card-span {
  grid-column: 1 / -1;
}

.admin-company-facts .admin-detail-card strong {
  font-size: 1.15rem;
  color: #14263a;
}

.admin-company-facts .admin-detail-card p {
  margin: 0;
  color: #72869a;
}

.admin-chip-row {
  align-items: stretch;
}

.admin-structure-chip {
  display: grid;
  gap: 4px;
  min-width: 160px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(232, 240, 246, 0.92);
  border: 1px solid rgba(87, 113, 136, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.admin-structure-chip strong {
  color: #173047;
  font-size: 0.95rem;
  line-height: 1.2;
}

.admin-structure-chip small {
  color: #587084;
  font-size: 0.8rem;
  line-height: 1.3;
}

.admin-company-card,
.admin-user-card {
  border: 1px solid rgba(111, 130, 149, 0.12);
  background: rgba(248, 250, 252, 0.86);
}

.admin-company-card {
  align-items: flex-start;
}

.admin-card-copy,
.admin-user-main {
  display: grid;
  gap: 4px;
}

.admin-card-copy strong,
.admin-user-main strong {
  margin: 0;
  font-size: 1.04rem;
  color: #14263a;
}

.admin-card-copy p,
.admin-user-main p {
  margin: 0;
}

.admin-card-meta,
.admin-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-user-meta {
  margin-top: 8px;
}

.admin-user-list {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 0;
  overflow: auto;
}

.admin-user-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  min-height: 0;
}

.admin-user-actions {
  justify-items: end;
  align-content: start;
}

.admin-empty-list {
  border-style: dashed;
  border-color: rgba(116, 136, 156, 0.22);
  background: rgba(247, 249, 252, 0.84);
}

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

.metric-card {
  padding: 18px;
}

.metric-card strong {
  display: block;
  font-size: 1.9rem;
  margin-top: 12px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.operations-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1.02fr) minmax(520px, 1.7fr) minmax(300px, 1.02fr);
  gap: 14px;
  align-items: stretch;
  min-height: 0;
}

.center-column {
  display: grid;
  gap: 14px;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

.sidebar,
.today-sidebar,
.summary-panel {
  padding: 20px;
}

.client-row,
.list-card {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.26);
}

.client-row-copy {
  min-width: 0;
}

.client-row-copy strong,
.client-row-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-row {
  cursor: pointer;
  width: 100%;
  text-align: left;
  min-height: 62px;
}

.client-row:hover,
.list-card:hover,
.is-selected {
  border-color: rgba(45, 109, 135, 0.28);
  background: rgba(45, 109, 135, 0.08);
}

.client-row strong,
.list-card strong,
.route-item strong {
  display: block;
  margin-bottom: 0;
}

.stack-end {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.operations-page .client-row .stack-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(110px, 0.8fr) minmax(120px, 0.9fr) minmax(170px, 1.3fr) minmax(120px, 0.9fr);
  gap: 10px 12px;
  align-items: start;
}

.full-span {
  grid-column: 1 / -1;
}

.field-number {
  grid-column: span 1;
}

.field-salutation {
  grid-column: span 1;
}

.field-name {
  grid-column: 3 / 5;
}

.field-address {
  grid-column: 1 / 3;
}

.field-route {
  grid-column: 3 / 4;
}

.field-sort-order {
  grid-column: 4 / 5;
}

.route-select {
  max-width: none;
}

.field-status {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  padding-top: 2px;
}

.status-row {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}

.status-checkbox {
  width: 26px;
  height: 26px;
  margin: 0;
  accent-color: var(--primary);
}

.status-text {
  color: inherit;
}

.status-date-range {
  display: inline-flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.status-date-range.is-hidden {
  display: none;
}

.status-date-label {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

.status-date-input {
  width: 150px;
  min-width: 150px;
}

.status-date-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.client-form-actions {
  justify-content: flex-start;
}

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

.delivery-history-table {
  table-layout: fixed;
}

.delivery-history-table .delivery-col-date {
  width: 21%;
}

.delivery-history-table .delivery-col-location {
  width: 33%;
}

.delivery-history-table .delivery-col-quantity {
  width: 12%;
}

.delivery-history-table .delivery-col-actions {
  width: 34%;
}

.data-table th,
.data-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.route-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 8.75rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--route-color) 14%, rgba(227, 235, 242, 0.98));
  border: 1px solid color-mix(in srgb, var(--route-color) 16%, rgba(111, 130, 149, 0.22));
  color: #2e455a;
  font-size: 0.8rem;
  font-weight: 700;
}

.route-dot,
.route-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--route-color);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
}

.subtle {
  background: rgba(110, 126, 144, 0.14);
}

.success {
  background: rgba(46, 125, 95, 0.14);
  color: var(--success);
}

.warning {
  background: rgba(204, 157, 61, 0.15);
  color: var(--warning);
}

.danger {
  background: rgba(188, 92, 92, 0.15);
  color: var(--danger);
}

.accent {
  background: rgba(202, 145, 82, 0.16);
  color: var(--accent);
}

.vpt-badge {
  background: rgba(88, 137, 214, 0.16);
  color: #3c6fae;
}

.outline {
  border: 1px solid var(--border);
}

.route-accordion {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid var(--border);
  overflow: hidden;
}

.route-accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  cursor: pointer;
}

.route-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.8fr) auto;
  align-items: center;
  gap: 14px;
  padding: 8px 13px;
  border-top: 1px solid var(--border);
}

.route-item-quantity {
  font-weight: 700;
  justify-self: end;
}

.empty-state,
.loading-screen {
  padding: 28px;
  text-align: center;
  color: var(--ink-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
}

.tall-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.soft-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 25, 0.34);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 20;
}

.modal-card {
  width: min(760px, 100%);
  padding: 24px;
}

.modal-card-wide {
  width: min(1120px, 100%);
}

.admin-page .modal-card {
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.94));
}

.admin-page .modal-card-wide {
  width: min(980px, 100%);
}

.modal-header h3,
.panel-header h2,
.summary-panel h3 {
  margin: 0;
}

.modal-body {
  max-height: 72vh;
  overflow: auto;
}

.finance-form-layout,
.preferences-form-layout,
.schedule-editor,
.delivery-form-layout {
  display: grid;
  gap: 16px;
}

.finance-toggle-row {
  justify-content: flex-start;
  font-size: 1.08rem;
}

.operations-page .finance-toggle-row .status-text {
  color: #173047;
  font-weight: 700;
}

.finance-inline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.9fr) minmax(180px, 0.9fr);
  gap: 14px;
  align-items: end;
}

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

.preferences-form-layout .textarea {
  min-height: 220px;
}

.schedule-modal-card {
  width: min(960px, 100%);
}

.schedule-modal-body {
  padding-right: 4px;
}

.schedule-editor {
  gap: 12px;
}

.schedule-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(260px, 1.25fr) minmax(110px, 0.42fr);
  gap: 12px;
  align-items: end;
  padding: 10px 0;
  border-bottom: 1px solid rgba(111, 130, 149, 0.12);
}

.schedule-row:first-child {
  padding-top: 2px;
}

.schedule-day {
  align-self: center;
  font-size: 0.98rem;
  font-weight: 700;
  color: #173047;
}

.schedule-location-field,
.schedule-quantity-field {
  gap: 6px;
}

.schedule-quantity-field .input {
  max-width: 120px;
}

.delivery-modal-card {
  width: min(1040px, 100%);
}

.delivery-form-layout {
  grid-template-columns: minmax(170px, 0.9fr) minmax(240px, 1.3fr) minmax(200px, 1fr) minmax(110px, 0.45fr);
  gap: 14px;
  align-items: end;
}

.delivery-form-layout .textarea {
  min-height: 140px;
}

.settings-form-sections {
  gap: 22px;
}

.settings-section {
  display: grid;
  gap: 12px;
}

.settings-section h4 {
  margin: 0;
  color: #173047;
  font-size: 1rem;
}

.settings-section-grid {
  align-items: end;
}

.settings-site-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 1fr) minmax(140px, 0.7fr);
  gap: 14px 16px;
}

.settings-pos-grid-top {
  display: grid;
  grid-template-columns: minmax(160px, 0.95fr) minmax(130px, 0.7fr) minmax(130px, 0.7fr) minmax(160px, 0.95fr);
  gap: 14px 16px;
}

.settings-pos-grid-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 1fr) minmax(140px, 0.7fr);
  gap: 14px 16px;
}

.settings-modal-toolbar {
  margin-top: 10px;
}

.panel-scroll {
  min-height: 0;
  overflow: auto;
}

.client-sidebar,
.today-deliveries-panel,
.delivery-panel {
  min-height: 0;
}

.client-sidebar {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 10px;
}

.client-sidebar > .client-search-input {
  max-width: 340px;
}

.client-sidebar #client-search {
  max-width: 340px;
}

.client-search-input {
  margin-top: 4px;
}

.client-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  margin-bottom: 0;
}

.is-active-filter {
  font-weight: 700;
}

.client-sidebar .panel-header {
  margin-bottom: 0;
}

.client-list-heading {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.client-list-heading h2,
.client-list-heading .client-list-count {
  margin: 0;
}

.client-list-count {
  font-size: 1.05rem;
}

.delivery-panel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.delivery-tab-row {
  margin-top: 0;
}

.today-panel-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.today-panel-bullet {
  color: #7d92a7;
  font-size: 0.9rem;
}

.today-deliveries-panel,
.delivery-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.client-detail-panel {
  display: grid;
  align-content: start;
}

.client-detail-panel .panel-header {
  margin-bottom: 12px;
}

#today-panel .route-items,
#today-panel .route-item,
#delivery-history .data-table,
#client-list {
  min-width: 0;
}

#today-panel {
  padding-right: 4px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.admin-page .modal-footer .button {
  min-width: 108px;
  font-weight: 700;
}

.admin-page .modal-footer .ghost {
  background: rgba(235, 240, 245, 0.86);
  color: #183149;
}

.admin-page .modal-footer .secondary {
  background: rgba(233, 242, 248, 0.92);
}

.icon-button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.6rem;
  cursor: pointer;
}

.admin-page .icon-button {
  color: #44637a;
}

.company-modal-body {
  padding-right: 2px;
}

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

.company-modal-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(247, 250, 252, 0.94);
  border: 1px solid rgba(111, 130, 149, 0.12);
}

.company-modal-section-span {
  grid-column: 1 / -1;
}

.company-modal-section-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.company-modal-section-header p {
  margin: 6px 0 0;
}

.company-modal-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.company-modal-field-grid .field:last-child:nth-child(odd),
.company-modal-field-grid .full-span {
  grid-column: 1 / -1;
}

.company-modal-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  align-items: end;
}

.company-modal-settings-grid .full-span {
  grid-column: 1 / -1;
}

.company-modal-toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  color: #173047;
  font-weight: 700;
}

.company-modal-checkbox {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #2d6d87;
}

.company-structure-editor {
  display: grid;
  gap: 10px;
}

.company-structure-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 84px minmax(0, 1fr) minmax(210px, auto);
  gap: 10px;
  align-items: center;
}

.company-structure-span {
  grid-column: span 2;
}

.company-color-input {
  padding: 6px;
  min-height: 48px;
}

.company-structure-row-new {
  padding-top: 10px;
  border-top: 1px dashed rgba(111, 130, 149, 0.2);
}

.inline-editor {
  display: grid;
  gap: 10px;
  align-items: center;
}

.route-editor-row {
  grid-template-columns: minmax(180px, 1.1fr) minmax(170px, 0.78fr) auto minmax(180px, 1.1fr) minmax(250px, auto);
}

.location-editor-row {
  grid-template-columns: minmax(180px, 1.1fr) auto minmax(180px, 1fr);
}

.route-color-field {
  --route-color: #6ea0c7;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(111, 130, 149, 0.16);
  background: rgba(248, 250, 252, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.route-color-preview {
  display: block;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--route-color) 85%, #ffffff), var(--route-color));
  border: 1px solid color-mix(in srgb, var(--route-color) 65%, rgba(23, 48, 71, 0.25));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 0 0 4px color-mix(in srgb, var(--route-color) 10%, transparent);
}

.route-color-input {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.route-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.route-color-input::-webkit-color-swatch {
  border: 2px solid rgba(23, 48, 71, 0.16);
  border-radius: 12px;
}

.route-color-input::-moz-color-swatch {
  border: 2px solid rgba(23, 48, 71, 0.16);
  border-radius: 12px;
}

.route-override-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(45, 109, 135, 0.1);
  color: #2d6d87;
  font-size: 1rem;
  font-weight: 800;
}

.route-inline-toggle,
.route-served-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(111, 130, 149, 0.14);
  background: rgba(248, 250, 252, 0.9);
  color: #4c6478;
  font-size: 0.9rem;
  font-weight: 600;
}

.route-inline-toggle:has(input:disabled) {
  opacity: 0.58;
}

.route-inline-toggle input,
.route-served-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #2d6d87;
}

.route-served-check {
  justify-self: start;
  color: #7f6321;
  background: rgba(204, 157, 61, 0.14);
  border-color: rgba(204, 157, 61, 0.24);
}

.audit-entry {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid var(--border);
}

.audit-entry header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.audit-modal-card {
  width: min(1120px, 100%);
}

.audit-modal-body {
  max-height: min(68vh, 760px);
  padding-right: 6px;
}

.operations-page .audit-list {
  display: grid;
  gap: 14px;
}

.operations-page .audit-entry {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(245, 249, 252, 0.96);
  border: 1px solid rgba(111, 130, 149, 0.16);
  box-shadow: 0 10px 22px rgba(30, 54, 78, 0.06);
}

.operations-page .audit-entry header {
  align-items: flex-start;
  margin-bottom: 10px;
}

.operations-page .audit-entry-title {
  color: #173047;
  font-size: 1.08rem;
  line-height: 1.25;
}

.operations-page .audit-entry-time {
  color: #6b8094;
  font-size: 0.95rem;
  white-space: nowrap;
}

.operations-page .audit-entry-actor {
  margin: 0 0 6px;
  color: #2f475d;
  font-size: 0.98rem;
}

.operations-page .audit-entry-meta {
  display: block;
  color: #7a8ea2;
  font-size: 0.9rem;
  text-transform: none;
}

.operations-page .audit-change-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(111, 130, 149, 0.14);
}

.operations-page .audit-change-row {
  display: grid;
  gap: 2px;
}

.operations-page .audit-change-row strong {
  color: #173047;
  font-size: 0.88rem;
}

.operations-page .audit-change-row span {
  color: #587084;
  font-size: 0.84rem;
  word-break: break-word;
}

.admin-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 360px;
  gap: 18px;
}

.inline-summary {
  margin-bottom: 18px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  min-width: 220px;
  max-width: 360px;
  padding: 14px 16px;
  color: white;
  border-radius: 18px;
  background: rgba(27, 41, 54, 0.92);
  box-shadow: var(--shadow);
  z-index: 30;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.success {
  background: rgba(46, 125, 95, 0.95);
  color: white;
}

.toast.error {
  background: rgba(188, 92, 92, 0.95);
  color: white;
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(12px);
}

@keyframes auth-card-in {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes auth-orb-left {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(28px, -18px, 0);
  }
}

@keyframes auth-orb-right {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-22px, 16px, 0);
  }
}

@media (max-width: 1200px) {
  .operations-layout,
  .admin-layout,
  .admin-dashboard,
  .admin-overview {
    grid-template-columns: 1fr;
  }

  .today-sidebar {
    order: 3;
  }

  .admin-page {
    overflow: auto;
  }

  .admin-frame {
    height: auto;
  }

  .admin-dashboard {
    overflow: visible;
  }

  .admin-company-facts {
    grid-template-columns: 1fr;
  }

  .operations-page {
    overflow: auto;
  }

  .operations-frame {
    height: auto;
  }
}

@media (max-width: 880px) {
  .auth-login-stage {
    width: min(100%, 460px);
  }

  .auth-login-panel {
    padding: 20px;
  }

  .auth-login-head-row {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-shell,
  .summary-grid,
  .details-grid,
  .inline-editor {
    grid-template-columns: 1fr;
  }

  .route-override-arrow {
    justify-self: start;
  }

  .page-frame {
    padding: 18px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

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

  .admin-page .topbar,
  .admin-overview,
  .login-card {
    padding: 26px;
  }

  .operations-page .topbar {
    padding: 14px;
  }

  .login-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-language-pill-compact {
    justify-self: start;
  }

  .auth-brand-block {
    padding-top: 0;
  }

  .auth-brand-block h1 {
    white-space: normal;
  }

  .login-language,
  .login-copy h1 {
    max-width: none;
  }

  .topbar-title,
  .admin-overview-main h2 {
    max-width: none;
  }

  .operations-page {
    overflow: auto;
  }

  .operations-frame {
    height: auto;
  }

  .admin-overview-stats,
  .admin-user-card,
  .admin-structure-grid,
  .company-form-layout,
  .company-modal-field-grid,
  .company-modal-settings-grid,
  .company-structure-row {
    grid-template-columns: 1fr;
  }

  .field-number,
  .field-salutation,
  .field-name,
  .field-address,
  .field-route,
  .field-sort-order,
  .field-status,
  .full-span {
    grid-column: 1 / -1;
  }

  .field-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .status-date-range {
    width: 100%;
  }

  .status-date-input {
    min-width: 0;
    flex: 1 1 160px;
  }

  .finance-inline-grid,
  .preferences-form-layout,
  .schedule-row,
  .delivery-form-layout,
  .settings-site-grid,
  .settings-pos-grid-top,
  .settings-pos-grid-bottom {
    grid-template-columns: 1fr;
  }

  .route-item {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 4px;
  }

  .operations-page .route-item-top {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .route-location-text,
  .route-item-quantity {
    text-align: left;
  }

  .schedule-day {
    margin-bottom: -2px;
  }

  .schedule-quantity-field .input {
    max-width: none;
  }

  .admin-directory {
    min-height: auto;
  }

  .admin-user-actions {
    justify-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-card,
  .login-card::before,
  .login-card::after {
    animation: none;
  }
}

/* Company modal: tabs, compact fields */
.modal-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(111, 130, 149, 0.2);
}

.modal-tab {
  border: 0;
  background: transparent;
  padding: 9px 16px;
  font: inherit;
  font-weight: 600;
  color: #5f7486;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.modal-tab:hover {
  color: #173047;
}

.modal-tab.is-active {
  color: #2d6d87;
  border-bottom-color: #2d6d87;
}

.company-modal-body {
  min-height: 330px;
}

.company-form-layout {
  display: block;
}

.company-tab-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

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

.company-compact-grid {
  display: grid;
  gap: 12px 14px;
  align-items: end;
}

.company-compact-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 260px));
}

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

.company-compact-grid .span-2 {
  grid-column: span 2;
}

.company-form-layout .input,
.company-form-layout .select {
  padding: 8px 12px;
  min-height: 38px;
  height: 38px;
}

.company-form-layout .select {
  padding: 0 10px;
}

.company-form-layout .company-color-input {
  padding: 3px;
  min-height: 38px;
  height: 38px;
}

.company-form-layout .company-modal-toggle-row {
  min-height: 38px;
}

.company-structure-row {
  grid-template-columns: minmax(0, 1.2fr) 64px minmax(0, 1fr) minmax(190px, auto);
}

.company-structure-row-points {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.company-add-row {
  justify-self: start;
}

@media (max-width: 900px) {
  .company-compact-grid.cols-2,
  .company-compact-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .company-compact-grid .span-2 {
    grid-column: auto;
  }
}

.modal-header h3 {
  color: #173047;
}

/* Info tooltips */
.info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border-radius: 50%;
  border: 1px solid #8fa3b5;
  color: #5f7486;
  font-size: 0.68rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
}

.info-tip:hover,
.info-tip:focus-visible {
  background: #2d6d87;
  border-color: #2d6d87;
  color: #fff;
  outline: none;
}

.tooltip-bubble {
  position: fixed;
  z-index: 10000;
  max-width: 280px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #173246;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 10px 28px rgba(18, 35, 52, 0.28);
  pointer-events: none;
}

/* Consistent compact forms (modals) */
.compact-form .input,
.compact-form .select,
.company-form-layout .input,
.company-form-layout .select {
  min-height: 38px;
  height: 38px;
  padding: 8px 12px;
}

.compact-form .select,
.company-form-layout .select {
  padding: 0 10px;
}

.compact-grid {
  display: grid;
  gap: 12px 14px;
  align-items: end;
}

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

.compact-form .compact-note {
  grid-column: 1 / -1;
  margin: 0;
}

.compact-form .company-modal-toggle-row {
  min-height: 38px;
}

.compact-form select:disabled {
  opacity: 0.55;
}

@media (max-width: 700px) {
  .compact-grid.cols-2 {
    grid-template-columns: 1fr;
  }
}

/* Company summary */
.admin-detail-header {
  display: grid;
  gap: 14px;
}

.admin-detail-header .admin-overview-main h2 {
  max-width: none;
}

.admin-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-action-spacer {
  flex: 1 1 0;
}

.admin-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-tile-grid .admin-stat-card {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 112px;
}

.admin-tile-grid .admin-stat-card strong {
  margin: 4px 0 0;
  font-size: 1.5rem;
}

.admin-structure-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-structure-pair .admin-detail-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

@media (max-width: 1300px) {
  .admin-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-structure-pair {
    grid-template-columns: 1fr;
  }
}

/* Routes no longer have a grouped-route field */
.company-structure-row-routes {
  grid-template-columns: minmax(0, 1fr) 64px minmax(190px, auto);
}

.route-editor-row {
  grid-template-columns: minmax(180px, 1.4fr) minmax(130px, 0.6fr) minmax(220px, auto);
}

/* Info icon: clean SVG glyph (overrides the earlier text-based style) */
.info-tip,
.field .info-tip {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #9db0c1;
  font-size: 0;
  line-height: 0;
  vertical-align: -3px;
  transition: color 0.15s ease;
}

.info-tip svg {
  display: block;
}

.info-tip:hover,
.info-tip:focus-visible,
.field .info-tip:hover,
.field .info-tip:focus-visible {
  background: none;
  border: 0;
  color: #2d6d87;
  outline: none;
}

.info-tip:focus-visible {
  box-shadow: 0 0 0 3px rgba(45, 109, 135, 0.25);
}

/* Form fields: one consistent, modest corner radius everywhere (buttons stay pill-shaped) */
:root {
  --field-radius: 8px;
}

.input,
.select,
.textarea,
.auth-login-panel .input,
.auth-login-panel .select,
.login-card .input,
.login-card .select,
.admin-page .input,
.admin-page .select,
.admin-page .textarea,
.operations-page .input,
.operations-page .select,
.operations-page .textarea,
.route-inline-toggle,
.route-color-field,
.company-color-input {
  border-radius: var(--field-radius);
}

/* Company summary action bar: one compact row, destructive actions pushed right and visually quiet */
.admin-action-bar {
  gap: 8px;
}

.admin-action-bar .button {
  padding: 8px 14px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.admin-action-bar .button.danger {
  background: transparent;
  border: 1px solid rgba(176, 74, 74, 0.35);
  color: #a64545;
}

.admin-action-bar .button.danger:hover:not(:disabled) {
  background: rgba(176, 74, 74, 0.08);
}

.admin-detail-titlebar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px 16px;
}

.admin-danger-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-danger-group .button {
  padding: 6px 12px;
  font-size: 0.82rem;
  white-space: nowrap;
  background: transparent;
  border: 1px solid rgba(176, 74, 74, 0.35);
  color: #a64545;
}

.admin-danger-group .button:hover:not(:disabled) {
  background: rgba(176, 74, 74, 0.08);
}

/* One field height across the app (login keeps its larger fields) */
.operations-page .input:not(textarea),
.operations-page .select,
.admin-page .input:not(textarea),
.admin-page .select,
.modal-card .input:not(textarea),
.modal-card .select {
  height: 38px;
  min-height: 38px;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 12px;
  padding-right: 12px;
  font-size: 0.95rem;
}

.operations-page .select,
.admin-page .select,
.modal-card .select {
  padding-right: 8px;
}

.operations-page .topbar .select,
.admin-page .topbar .select {
  height: auto;
  min-height: 0;
}

/* Focus: thin, subtle ring that follows the field's radius and is never clipped by the modal */
.input:focus,
.select:focus,
.textarea:focus,
.auth-login-panel .input:focus,
.auth-login-panel .select:focus,
.login-card .input:focus,
.login-card .select:focus,
.operations-page .input:focus,
.operations-page .select:focus,
.admin-page .input:focus,
.admin-page .select:focus {
  border-color: #2d6d87;
  box-shadow: 0 0 0 2px rgba(45, 109, 135, 0.16);
  outline: none;
}

.modal-body {
  padding: 4px;
  margin: -4px;
}

.finance-inline-grid {
  align-items: start;
}

/* Segmented buttons (replace dropdowns on the company screens) */
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.segment {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(111, 130, 149, 0.28);
  border-radius: var(--field-radius, 8px);
  background: #fff;
  color: #35506a;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.segment:hover {
  border-color: #2d6d87;
}

.segment.is-active {
  background: #2d6d87;
  border-color: #2d6d87;
  color: #fff;
  font-weight: 600;
}

.segment:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(45, 109, 135, 0.3);
}

.segment-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9);
}

.schedule-row {
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
}

.schedule-location-field,
.schedule-quantity-field {
  display: grid;
  gap: 6px;
}

/* Client form layout with segmented controls */
.details-grid .field-number { grid-column: 1 / 2; grid-row: 1; }
.details-grid .field-salutation { grid-column: 2 / 4; grid-row: 1; }
.details-grid .field-sort-order { grid-column: 4 / 5; grid-row: 1; }
.details-grid .field-name { grid-column: 1 / 3; grid-row: 2; }
.details-grid .field-address { grid-column: 3 / 5; grid-row: 2; }
.details-grid .field-route { grid-column: 1 / -1; grid-row: 3; }
.details-grid .field-status,
.details-grid .full-span { grid-row: auto; }

@media (max-width: 1100px) {
  .details-grid .field-number,
  .details-grid .field-salutation,
  .details-grid .field-sort-order,
  .details-grid .field-name,
  .details-grid .field-address,
  .details-grid .field-route {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

/* One button size across the app (login page keeps its own) */
body:not(.auth-page) .button,
body:not(.auth-page) .button.small-button,
body:not(.auth-page) .admin-danger-group .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.92rem;
  line-height: 1;
  white-space: nowrap;
}

body:not(.auth-page) .button.link-button {
  height: auto;
  min-height: 0;
  padding: 0;
}

.schedule-quantity-field[hidden] {
  display: none;
}

.settings-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
