/* SAYLI admin portal. Tokens, buttons and dialogs come from ../src/css/styles.css. */
.adm-body {
  background: var(--portal-canvas);
  padding-bottom: 0;
}

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

.adm-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}

.adm-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 16px;
  background: var(--ink);
  color: var(--on-dark);
}

.adm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
}

.adm-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.adm-brand b {
  display: block;
  font-size: 19px;
  line-height: 1.2;
}

.adm-brand small {
  display: block;
  font-size: 11px;
  color: var(--on-dark-muted);
}

.adm-nav {
  display: grid;
  gap: 4px;
}

.adm-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--on-dark-muted);
  font-size: 14px;
  font-weight: 600;
}

.adm-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
}

.adm-nav a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
  box-shadow: inset -3px 0 0 var(--saffron);
}

.adm-nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adm-nav-count {
  margin-inline-start: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--saffron);
  color: var(--ink);
  font-size: 11px;
}

.adm-site-link {
  margin-top: auto;
  padding: 0 6px;
  font-size: 12px;
  color: var(--on-dark-muted);
}

.adm-site-link:hover {
  color: var(--saffron);
}

@media (width > 900px) {
  .adm-sidebar { gap: 16px; }
  .adm-brand, .adm-site-link { flex-shrink: 0; }
  .adm-nav {
    min-height: 0;
    align-content: start;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--on-dark-muted) transparent;
    padding: 3px;
  }
  .adm-site-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-top: 1px solid rgb(255 255 255 / 20%);
    color: var(--on-dark);
  }
}

.adm-main {
  min-width: 0;
}

.adm-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 32px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.adm-topbar h1 {
  margin: 0;
  font-size: 20px;
}

.adm-page {
  padding: 28px 32px 48px;
  max-width: 1200px;
}

.adm-head {
  margin-bottom: 24px;
}

.adm-head h2 {
  margin: 0;
  font-size: 22px;
}

.adm-head p {
  margin: 4px 0 0;
  color: var(--ink-secondary);
  font-size: 14px;
  line-height: 1.9;
}

.adm-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.adm-card {
  padding: 20px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.adm-card small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.adm-card b {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.adm-card.accent {
  border-color: var(--line-strong);
  background: var(--selection);
}

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

.adm-panel {
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.adm-grid-2 > .adm-panel {
  margin-bottom: 0;
}

.adm-panel h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.adm-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.adm-panel-head h3 {
  margin: 0;
}

.adm-panel-head a {
  font-size: 12px;
  font-weight: 600;
  color: var(--date);
}

.adm-big {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.adm-big b {
  font-size: 22px;
  color: var(--ink);
}

.adm-type-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.adm-type-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.adm-type-list b {
  margin-inline-start: auto;
}

.adm-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* Toolbar, search and chips */
.adm-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.adm-search {
  height: 42px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.adm-search:focus-within {
  border-color: var(--ink);
}

.adm-search svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}

.adm-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}

.adm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.adm-chip {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.adm-chip span {
  margin-inline-start: 4px;
  color: var(--muted);
}

.adm-chip:hover {
  border-color: var(--ink);
}

.adm-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-dark);
}

.adm-chip.active span {
  color: var(--saffron);
}

/* Tables */
.adm-table-wrap {
  position: relative;
  overflow-x: auto;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) var(--bg-paper);
}

.adm-panel .adm-table-wrap {
  border: 0;
}

.adm-panel .adm-table {
  min-width: 420px;
}

.adm-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
}

.adm-table th {
  padding: 14px 16px;
  background: var(--bg-subtle);
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.adm-table td {
  padding: 16px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.adm-table td small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: var(--muted);
}

.adm-items {
  max-width: 260px;
  color: var(--ink-secondary);
}

.adm-select,
.adm-fee,
.adm-form input {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  font-size: 13px;
}

.adm-select {
  min-height: 44px;
  padding: 0 8px;
}

.adm-fee {
  width: 72px;
  min-height: 44px;
  padding: 0 8px;
  font-variant-numeric: tabular-nums;
}

.adm-link-button {
  border: 0;
  background: none;
  padding: 10px 0;
  min-height: 44px;
  color: var(--date);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.adm-link-button:disabled {
  opacity: .55;
  cursor: default;
}

.adm-store-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-store-cell b {
  display: block;
  white-space: nowrap;
}

.adm-thumb {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.adm-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Status badges */
.adm-status {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--bg-subtle);
  color: var(--ink-secondary);
}

.adm-status.st-pending { background: var(--saffron-soft); color: var(--saffron-text); }
.adm-status.st-accepted,
.adm-status.st-preparing,
.adm-status.st-ready,
.adm-status.st-out_for_delivery { background: #E8F0EC; color: var(--olive); }
.adm-status.st-completed { background: var(--ink); color: var(--on-dark); }
.adm-status.st-cancelled { background: #F6E3DF; color: #8A2E1D; }

/* Switch */
.adm-switch {
  position: relative;
  width: 44px;
  height: 24px;
  border: 0;
  border-radius: 12px;
  background: var(--line-strong);
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.15s;
}

.adm-switch span {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: right 0.15s;
}

.adm-switch[aria-checked="true"] {
  background: var(--olive);
}

.adm-switch[aria-checked="true"] span {
  right: 23px;
}

.adm-switch-label {
  display: inline !important;
  margin-inline-start: 8px;
}

/* Forms and calculator */
.adm-form {
  display: grid;
  gap: 12px;
  max-width: 520px;
}

.adm-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.adm-form input {
  min-height: 48px;
  padding: 0 10px;
  font-variant-numeric: tabular-nums;
}

.adm-form small {
  font-weight: 400;
  color: var(--muted);
}

.adm-settings-group {
  display: grid;
  gap: 8px;
  min-inline-size: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.adm-settings-group legend {
  font-weight: 700;
}

.adm-form .adm-setting-toggle {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.adm-setting-toggle input[type="checkbox"] {
  min-height: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: none;
}

.adm-form .primary-button {
  justify-self: start;
}

.adm-calc div,
.adm-detail div,
.adm-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.adm-calc .grand,
.adm-lines .grand {
  border-bottom: 0;
  font-size: 16px;
  font-weight: 700;
}

.adm-calc .grand b {
  color: var(--olive);
}

.adm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.adm-danger p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
}

/* Bars */
.adm-bars {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.adm-bars li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 32px auto;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.adm-bar {
  height: 10px;
  border-radius: 5px;
  background: var(--bg-subtle);
  overflow: hidden;
}

.adm-bar i {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--olive);
}

.adm-bars small {
  color: var(--muted);
}

/* Order dialog */
.adm-dialog {
  width: min(560px, calc(100% - 28px));
}

.adm-detail {
  margin-top: 8px;
}

.adm-detail span,
.adm-lines span {
  color: var(--ink-secondary);
}

.adm-detail b {
  text-align: left;
}

.adm-lines {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.adm-lines small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.adm-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.adm-steps li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.adm-steps li.done {
  background: #E8F0EC;
  color: var(--olive);
}

.adm-steps li.current {
  background: var(--ink);
  color: var(--on-dark);
}

#adm-toast {
  bottom: 24px;
}

@media (max-width: 900px) {
  .adm-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .adm-sidebar {
    min-width: 0;
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
  }
  .adm-nav {
    order: 3;
    width: 100%;
    min-width: 0;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .adm-nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 13px;
  }
  .adm-nav a.active {
    box-shadow: inset 0 -3px 0 var(--saffron);
  }
  .adm-site-link {
    margin: 0 auto 0 0;
  }
  .adm-topbar,
  .adm-page {
    padding-inline: 14px;
  }
  .adm-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .adm-bars li {
    grid-template-columns: 96px minmax(0, 1fr) 28px;
  }
  .adm-bars small {
    grid-column: 2 / -1;
  }
}

.adm-table .num {
  white-space: nowrap;
}

.adm-inline-form {
  max-width: none;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
}

.adm-inline-form h3 {
  grid-column: 1 / -1;
  margin: 0;
}

.adm-assign {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
}

.adm-assign .adm-select {
  height: 40px;
}

/* Sign in, the two-step login card, and the pieces the API-backed pages added:
   the order event log, the override form, the hours grid and the audit diff. */
.adm-login-wrap { padding: 32px 16px 48px; }
.adm-login { max-width: 460px; margin: 0 auto; padding: 28px; border-top: 3px solid var(--saffron); box-shadow: var(--shadow-panel); }
.adm-login h2 { margin: 0 0 4px; }

.adm-whoami { font-size: .82rem; color: var(--muted, #6b6559); }

.adm-sub { margin: 20px 0 8px; font-size: .95rem; }

.adm-events { margin: 0; padding: 0 18px 0 0; list-style: none; border-right: 2px solid var(--line, #e7e2d7); }
.adm-events li { position: relative; padding: 0 14px 12px 0; }
.adm-events li::before { content: ""; position: absolute; right: -23px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--green, #0f3a2c); }
.adm-events small { display: block; color: var(--muted, #6b6559); font-size: .8rem; }

.adm-override { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line, #e7e2d7); }
.adm-override .adm-actions { margin-top: 12px; }
.secondary-button.danger, .adm-link-button.danger { color: #9b2c2c; }

.adm-hours input[type="time"] { padding: 6px 8px; border: 1px solid var(--line, #d8d3c7); border-radius: 8px; font: inherit; }

.adm-select-label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 600; }

.adm-row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.adm-store-list-tabs { margin-block: 12px; }
.adm-store-list-tabs [aria-pressed="true"] { background: var(--ink); color: white; }
.adm-bulk-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px 16px;
  padding-block: 12px;
}
.adm-bulk-toolbar label { display: grid; gap: 4px; }
.adm-bulk-toolbar select { min-height: 42px; border: 1px solid var(--line); border-radius: 8px; background: white; padding-inline: 10px; }
.adm-bulk-toolbar .page-note { margin: 0; align-self: center; }
.adm-bulk-check input { width: 19px; height: 19px; accent-color: #0f3a2c; cursor: pointer; }
.adm-table tr:has([data-bulk-row]:checked) { background: #edf4ee; }
.adm-bulk-list { margin: 0; padding-inline-start: 24px; max-height: 35vh; overflow: auto; }
.adm-bulk-list li { padding-block: 4px; }
.adm-bulk-list span { display: block; }
.adm-home-entries, .adm-home-entry { display: grid; gap: 12px; }
.adm-home-entries:not(:empty) { margin-block: 12px; }
.adm-home-entry { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.adm-home-dates, .adm-home-product-picker { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.adm-home-dates > label, .adm-home-product-picker > label { flex: 1 1 200px; min-width: 0; }
.adm-home-products { margin: 0; padding-inline-start: 25px; }
.adm-home-products > li { padding-block: 6px; border-bottom: 1px solid var(--line); }
.adm-home-products > li > span { overflow-wrap: anywhere; }
.adm-store-staff { display: inline-flex; align-items: center; }
.adm-staff-table { min-width: 0; }
.adm-staff-table td { overflow-wrap: anywhere; }
.adm-form textarea { width: 100%; min-height: 88px; resize: vertical; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; }
.adm-form-wide { grid-column: 1 / -1; }
.adm-event-note { display: block; white-space: pre-wrap; overflow-wrap: anywhere; }
.adm-setup-list, .adm-zone-impact { margin: 0; padding-inline-start: 20px; }
.adm-setup-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-block: 6px; }
.adm-setup-list small { display: block; color: var(--muted); }
.adm-shift-day { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 12px 0; }
.adm-shift-day legend { padding-inline: 6px; font-weight: 600; }
.adm-shift-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 8px 12px; padding-block: 8px; }
.adm-shift-row input[type="time"] { min-width: 0; width: 100%; }
.adm-shift-row .text-button { justify-self: start; }
.adm-setting-toggle[hidden] { display: none; }
.adm-section-stock, .adm-report-cash-links { margin-block-end: 16px; }
.adm-service-list { display: grid; gap: 12px; margin-block-start: 16px; }
#order-filter-form + .adm-chips { margin-block: 18px; }
#orders-results > button, #report-results > button, [data-audit-more] { margin-block-start: 14px; }

.adm-diff { max-width: 420px; max-height: 220px; overflow: auto; margin: 6px 0 0; padding: 8px; border-radius: 8px; background: var(--bg-paper); font-size: .76rem; direction: ltr; text-align: left; }

tr.is-off { opacity: .55; }

/* Work surfaces keep the same spacing and hierarchy as the store workspace. */
.adm-login > .page-note { margin-block: 8px 24px; }
.adm-top-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 16px; }
.adm-topbar h1 { line-height: 1.6; }
.adm-panel h3 { line-height: 1.7; }
.adm-head h2::before { content: ""; display: inline-block; width: 4px; height: 20px; margin-inline-end: 10px; border-radius: 2px; background: var(--saffron); vertical-align: middle; }
.adm-panel-head a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
.adm-form { gap: 18px; }
.adm-form label { gap: 8px; font-size: 14px; }
.adm-search { min-height: 48px; height: auto; padding-block: 8px; }
.adm-search input { min-width: 0; }
.adm-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.adm-toolbar > .adm-chips { grid-column: 1 / -1; }
.adm-toolbar > .adm-search { grid-column: 1 / -1; width: 100%; }
.adm-select-label { gap: 8px; font-size: 13px; }
.adm-select-label select { width: 100%; }
.adm-table tbody tr:hover { background: var(--bg-paper); }
.adm-dialog { padding: 24px; }
.adm-dialog .dialog-head { gap: 16px; }
.adm-detail div { flex-wrap: wrap; gap: 4px 16px; }
.adm-detail b { overflow-wrap: anywhere; }
.adm-switch::before { content: ""; position: absolute; inset: -10px 0; }

@media (max-width: 900px) {
  .adm-sidebar { height: auto; gap: 16px; padding: 18px 16px 12px; }
  .adm-nav { padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: var(--saffron) var(--ink); gap: 6px; }
  .adm-nav a { min-height: 46px; padding-inline: 14px; }
  .adm-topbar { padding: 14px 16px; }
  .adm-page { padding: 24px 16px 40px; }
  .adm-panel { padding: 20px; }
}

@media (max-width: 600px) {
  .adm-staff-table th, .adm-staff-table td { padding-inline: 8px; }
  .adm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .adm-card { padding: 16px; }
  .adm-card b { font-size: 23px; }
  .adm-topbar { align-items: flex-start; flex-wrap: wrap; }
  .adm-top-actions { margin-inline-start: auto; }
  .adm-whoami { max-width: 100%; overflow-wrap: anywhere; }
  .adm-toolbar { grid-template-columns: minmax(0, 1fr); }
  .adm-chip { min-height: 44px; }
  .adm-inline-form { grid-template-columns: minmax(0, 1fr); }
  .adm-form .primary-button { width: 100%; }
  .adm-login-wrap { padding-block: 24px 36px; }
  .adm-login { padding: 24px; }
  .adm-dialog { padding: 20px; }
}

@media (max-width: 760px) {
  .adm-form input,
  .adm-search input,
  .adm-select,
  .adm-fee,
  .adm-hours input[type="time"] { font-size: 16px; }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .adm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 359px) {
  .adm-cards { grid-template-columns: minmax(0, 1fr); }
}
.adm-product-options {
  display: grid;
  gap: 12px;
  width: 100%;
}
.adm-product-options[hidden] { display: none; }
.adm-product-options fieldset { min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.adm-option-presets { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 10px; }
.adm-option-presets label { display: inline-flex; align-items: center; gap: 4px; }
.adm-option-presets input[type="checkbox"] { width: auto; min-height: 0; }
