* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  --bg: #07080b;
  --surface: #101319;
  --surface-2: #151922;
  --surface-3: #0c0f14;
  --line: rgba(226, 214, 182, 0.16);
  --line-strong: rgba(226, 214, 182, 0.26);
  --text: #f5f1e8;
  --muted: #a9afbb;
  --dim: #747b89;
  --gold: #d7b56d;
  --gold-2: #f0dca6;
  --blue: #6ea8ff;
  --green: #72d69a;
  --red: #ff7b83;
  --warning: #f1c66a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  --radius: 8px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, #090a0e 0%, #0b0e14 44%, #07080b 100%);
  color: var(--text);
  padding: 16px 14px 92px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(215, 181, 109, 0.05), transparent 26%, rgba(110, 168, 255, 0.04) 72%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 34%);
  border-top: 1px solid rgba(240, 220, 166, 0.12);
}

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

a {
  color: var(--gold-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -16px -14px 14px;
  padding: 14px 14px 12px;
  background: rgba(7, 8, 11, 0.86);
  border-bottom: 1px solid rgba(226, 214, 182, 0.11);
  backdrop-filter: blur(18px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0;
  line-height: 1;
}

.logo::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.badge,
.chip,
.avatar {
  border: 1px solid var(--line);
  background: rgba(21, 25, 34, 0.86);
  color: #e8dfc9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.badge {
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.chip {
  min-width: 38px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-2);
  font-size: 14px;
  font-weight: 700;
}

.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 12px;
  padding-bottom: 2px;
}

.tab {
  min-height: 40px;
  border: 1px solid var(--line);
  background: rgba(16, 19, 25, 0.88);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  white-space: nowrap;
  cursor: pointer;
}

.tab.active {
  background: linear-gradient(180deg, #e5c77f, #b99043);
  border-color: rgba(240, 220, 166, 0.56);
  color: #12100b;
  font-weight: 800;
}

.view {
  display: none;
  opacity: 0;
  transform: translateY(6px);
}

.view.active {
  display: block;
  animation: fadeSlide .2s ease-out forwards;
}

.card,
.plan,
.order,
.admin-form-card,
.audit-item,
.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    rgba(16, 19, 25, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035), var(--shadow);
}

.card {
  padding: 16px;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.muted {
  color: var(--muted);
  opacity: 1;
  font-size: 13px;
  line-height: 1.5;
}

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

.muted a {
  color: var(--gold-2);
  opacity: 1;
}

.muted a:visited {
  color: #d6c7ff;
}

.plan {
  padding: 13px;
  margin-bottom: 10px;
}

.plan .row,
.meta,
.admin-bar,
.admin-form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.prices {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.price-pill,
.pill,
.plan-tag,
.order .status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 15, 20, 0.8);
  color: var(--text);
  font-size: 12px;
  padding: 4px 10px;
}

.price-pill {
  color: var(--gold-2);
  border-color: rgba(215, 181, 109, 0.24);
}

.price-pill .dim {
  color: var(--muted);
}

.btn {
  min-height: 38px;
  border: 1px solid rgba(240, 220, 166, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #e5c77f, #b99043);
  color: #12100b;
  padding: 10px 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(185, 144, 67, 0.20);
}

.btn.gray {
  background: rgba(21, 25, 34, 0.92);
  color: #efe4c7;
  border-color: var(--line);
  box-shadow: none;
}

.btn.danger {
  background: rgba(127, 29, 29, 0.88);
  color: #fff1f2;
  border-color: rgba(255, 123, 131, 0.24);
  box-shadow: none;
}

.btn.small {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 13px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.order {
  padding: 11px;
  margin-bottom: 8px;
}

.order .id {
  font-weight: 800;
}

.order .status.issued,
.pill.on {
  background: rgba(24, 83, 49, 0.66);
  border-color: rgba(114, 214, 154, 0.28);
  color: #a7f3c1;
}

.order .status.rejected {
  background: rgba(93, 28, 34, 0.66);
  border-color: rgba(255, 123, 131, 0.28);
  color: #ffb7bd;
}

.order .status.paid_waiting_issue,
.pill.off {
  background: rgba(91, 67, 20, 0.72);
  border-color: rgba(241, 198, 106, 0.3);
  color: #ffe1a3;
}

.order .status.awaiting_payment {
  background: rgba(31, 64, 110, 0.68);
  border-color: rgba(110, 168, 255, 0.28);
  color: #b9d6ff;
}

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

.admin-config-forms {
  display: grid;
  gap: 10px;
}

.admin-form-card,
.audit-item,
.stat-card {
  padding: 12px;
  box-shadow: none;
}

.admin-form-card h4,
.admin-form-title h4 {
  margin: 0;
  font-size: 15px;
}

.audit-list {
  margin-top: 8px;
}

.audit-item {
  margin-top: 8px;
}

.audit-item strong,
.stat-card .value {
  color: var(--text);
}

.audit-item details {
  margin-top: 6px;
}

.audit-item summary {
  cursor: pointer;
  color: var(--gold-2);
}

.audit-item pre {
  white-space: pre-wrap;
  font-size: 11px;
  overflow: auto;
}

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

.stat-card .value {
  font-size: 20px;
  font-weight: 800;
}

.stat-card .label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}

.form-field.full {
  grid-column: 1 / -1;
}

.input,
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 8, 11, 0.64);
  color: var(--text);
  padding: 10px 11px;
  outline: none;
}

.input:focus,
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(240, 220, 166, 0.48);
  box-shadow: 0 0 0 3px rgba(215, 181, 109, 0.12);
}

.form-field textarea {
  min-height: 66px;
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.check-row label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}

.code-input {
  min-height: 320px;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  justify-content: space-around;
  padding: 10px 12px calc(18px + env(safe-area-inset-bottom));
  background: rgba(7, 8, 11, 0.9);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.bottom-item {
  min-width: 72px;
  min-height: 44px;
  color: var(--dim);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.bottom-item.active {
  color: var(--gold-2);
}

.toast {
  position: fixed;
  left: 12px;
  right: 12px;
  top: 12px;
  z-index: 9999;
  display: none;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(16, 19, 25, 0.98);
  padding: 10px 12px;
  box-shadow: var(--shadow);
}

.toast.show {
  display: flex;
}

.toast .msg {
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  white-space: pre-wrap;
}

.toast .close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  padding: 0 6px;
}

body.light-theme {
  color-scheme: light;
  --bg: #f7f3ea;
  --surface: #fffaf0;
  --surface-2: #f2eadc;
  --surface-3: #ffffff;
  --line: rgba(70, 56, 30, 0.16);
  --line-strong: rgba(70, 56, 30, 0.24);
  --text: #1d1a14;
  --muted: #68665f;
  --dim: #8a8578;
  --shadow: 0 16px 42px rgba(48, 38, 20, 0.12);
  background: linear-gradient(180deg, #fbf7ef 0%, #f4efe4 100%);
}

body.light-theme .header,
body.light-theme .bottom-nav {
  background: rgba(251, 247, 239, 0.9);
}

body.light-theme .card,
body.light-theme .plan,
body.light-theme .order,
body.light-theme .admin-form-card,
body.light-theme .audit-item,
body.light-theme .stat-card {
  background: rgba(255, 252, 245, 0.94);
}

body.light-theme .badge,
body.light-theme .chip,
body.light-theme .avatar,
body.light-theme .btn.gray,
body.light-theme .input,
body.light-theme .form-field input,
body.light-theme .form-field textarea,
body.light-theme .form-field select {
  background: rgba(255, 252, 245, 0.95);
  color: var(--text);
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  body {
    padding: 14px 12px 92px;
  }

  .header {
    margin: -14px -12px 12px;
    padding: 12px;
  }

  .form-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 14px;
  }

  .prices,
  .plan .row {
    justify-content: flex-start;
  }
}


/* Premium segmented controls for mobile Telegram: avoid native Android select sheets. */
.seg-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.seg-option {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 15, 20, 0.82);
  color: var(--muted);
  padding: 8px 10px;
  font-weight: 800;
  cursor: pointer;
}
.seg-option.active {
  border-color: rgba(240, 220, 166, 0.5);
  background: linear-gradient(180deg, #e5c77f, #b99043);
  color: #12100b;
  box-shadow: 0 10px 24px rgba(185, 144, 67, 0.18);
}
body.light-theme .seg-option {
  background: rgba(255, 252, 245, 0.95);
  color: var(--muted);
}
body.light-theme .seg-option.active {
  color: #12100b;
}
@media (max-width: 420px) {
  .seg-control { grid-template-columns: 1fr 1fr; }
  .seg-option { font-size: 13px; padding-left: 8px; padding-right: 8px; }
}

.qty-control {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.qty-control .seg-option {
  min-width: 0;
  padding-left: 6px;
  padding-right: 6px;
}
@media (max-width: 420px) {
  .qty-control { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .qty-control .seg-option { font-size: 12px; }
}

.device-control {
  grid-template-columns: 1fr;
}
.device-control .seg-option {
  border-radius: 8px;
  justify-content: flex-start;
  text-align: left;
  overflow-wrap: anywhere;
}

/* Admin workspace */
#adminView {
  max-width: 1180px;
  margin: 0 auto;
}

.admin-workspace {
  display: grid;
  gap: 16px;
}

.admin-workspace > *,
.admin-panel > *,
.admin-toolbar > * { min-width: 0; }

.admin-workspace-head,
.admin-section-head,
.admin-modal-head,
.admin-user-main,
.admin-identity-row,
.admin-action-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-workspace-head h2,
.admin-section-head h3,
.admin-section-head h4,
.admin-modal-head h3 {
  margin: 0;
}

.admin-eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-nav {
  position: sticky;
  top: 8px;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 12, 18, 0.94);
  backdrop-filter: blur(12px);
}

.admin-nav-item {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-nav-item.active {
  color: #17130b;
  background: linear-gradient(180deg, #edd793, #c5a557);
}

.admin-panel { display: none; }
.admin-panel.active {
  display: grid;
  gap: 18px;
  animation: fadeSlide 160ms ease-out;
}

.admin-section-head { align-items: flex-start; }
.admin-section-head.compact { align-items: center; }
.admin-section-head p { margin: 5px 0 0; }

.admin-panel-section {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.admin-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.admin-search { flex: 1 1 300px; }
.admin-search .input { width: 100%; }
.admin-filter-row,
.admin-preset-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.filter-chip {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.filter-chip.active {
  color: var(--text);
  border-color: rgba(229, 199, 127, 0.55);
  background: rgba(229, 199, 127, 0.12);
}

.admin-loading-block,
.admin-empty {
  padding: 22px 0;
  text-align: center;
}

.admin-result-count {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.admin-user-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-user-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 22, 32, 0.72);
}

.admin-user-name { font-weight: 850; }
.admin-user-id,
.admin-mono {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.admin-user-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.admin-user-item .status,
.admin-user-summary .active,
.admin-user-summary .expired {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 850;
}

.admin-user-item .status.active,
.admin-user-item .status.issued,
.admin-user-summary .active {
  color: #91e5bd;
  background: rgba(48, 166, 112, 0.15);
}

.admin-user-item .status.expired,
.admin-user-item .status.rejected,
.admin-user-summary .expired {
  color: #ffaaa4;
  background: rgba(218, 72, 72, 0.14);
}

.maintenance-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admin-disclosure {
  border-top: 1px solid var(--line);
}

.admin-disclosure > summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 850;
  list-style-position: inside;
}

.admin-disclosure-body { padding: 0 0 18px; }
.admin-disclosure.nested { margin-top: 12px; }
.admin-config-forms { display: grid; gap: 12px; }
.admin-config-forms > .admin-form-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.admin-editor-disclosure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 22, 32, 0.72);
}

.admin-editor-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px;
  cursor: pointer;
  font-weight: 850;
}

.admin-editor-disclosure > summary::marker { color: var(--gold); }
.admin-editor-disclosure > summary .muted { margin-left: auto; font-size: 12px; font-weight: 650; }
.admin-editor-body { padding: 0 13px 13px; border-top: 1px solid var(--line); }
.admin-editor-body > .admin-form-title { justify-content: flex-end; padding: 10px 0; }
.admin-inline-status { min-height: 20px; }

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal.open { display: flex; }
.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 6, 10, 0.78);
  backdrop-filter: blur(5px);
}

.admin-modal-sheet,
.admin-confirm-sheet {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(860px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid rgba(229, 199, 127, 0.28);
  border-radius: 8px;
  padding: 18px;
  background: #0d141e;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.admin-confirm-sheet { width: min(460px, 100%); }
.admin-confirm-actions { justify-content: flex-end; margin-top: 18px; }
.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.admin-user-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.admin-user-summary > div {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.admin-user-summary span,
.admin-user-summary strong { display: block; }
.admin-user-summary span { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.admin-modal-section { padding: 16px 0; border-top: 1px solid var(--line); }
.admin-modal-section h4 { margin: 0 0 12px; }
.admin-action-line .input { flex: 1; min-width: 90px; }

.admin-choice-grid,
.admin-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-choice,
.admin-check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.admin-choice.selected,
.admin-choice.active { border-color: rgba(229, 199, 127, 0.55); background: rgba(229, 199, 127, 0.1); }
.admin-identity-row { align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.compact-actions { flex-shrink: 0; }
body.modal-open { overflow: hidden; }

body.light-theme .admin-nav,
body.light-theme .admin-modal-sheet,
body.light-theme .admin-confirm-sheet {
  background: rgba(255, 252, 245, 0.97);
}

body.light-theme .admin-user-item { background: rgba(255, 255, 255, 0.62); }

@media (max-width: 760px) {
  .admin-two-column,
  .admin-user-list { grid-template-columns: 1fr; }
  .admin-user-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-modal { align-items: flex-end; padding: 0; }
  .admin-modal-sheet,
  .admin-confirm-sheet {
    width: 100%;
    max-height: 88vh;
    border-radius: 8px 8px 0 0;
    border-bottom: 0;
    padding: 16px;
  }
}

@media (max-width: 560px) {
  .admin-workspace { gap: 12px; }
  .admin-workspace-head { align-items: flex-start; }
  .admin-nav { top: 4px; }
  .admin-nav-item { min-height: 40px; padding: 5px 2px; font-size: 11px; }
  .admin-section-head { gap: 8px; }
  .admin-toolbar { align-items: stretch; }
  .admin-search { flex-basis: 100%; }
  .admin-filter-row { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .admin-filter-row { scrollbar-width: none; }
  .admin-filter-row::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
  .admin-user-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-choice-grid,
  .admin-role-grid { grid-template-columns: 1fr; }
  .admin-action-line,
  .admin-identity-row { align-items: stretch; flex-direction: column; }
  .compact-actions { width: 100%; }
  .compact-actions .btn { flex: 1; }
}
