:root {
  --oo-pink: #e91e63;
  --oo-blue: #2196f3;
  --oo-bg: #f6f7fb;
  --oo-card: #ffffff;
  --oo-text: #1a1a1a;
  --oo-muted: #5c6470;
  --oo-border: #e2e6ef;
  --oo-danger: #b00020;
  --oo-success: #1b5e20;
  --oo-warn-bg: #fff8e1;
  --oo-overdue: #ffebee;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--oo-text);
  background: var(--oo-bg);
}

a {
  color: var(--oo-blue);
}

.oo-crm-auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, #faedf5 0%, #edf5ff 100%);
}

.oo-crm-card {
  width: min(100%, 420px);
  background: var(--oo-card);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--oo-border);
}

.oo-crm-card h1 {
  margin: 0 0 12px;
  font-size: 22px;
}

.oo-muted {
  color: var(--oo-muted);
  font-size: 14px;
  margin: 0 0 16px;
}

.oo-error {
  color: var(--oo-danger);
  margin: 0 0 12px;
}

.oo-stack label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 16px;
}

.oo-stack input,
.oo-stack select,
.oo-stack textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--oo-border);
  border-radius: 10px;
  font: inherit;
}

.oo-stack button,
.oo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font: inherit;
  cursor: pointer;
  background: linear-gradient(90deg, var(--oo-pink) 0%, var(--oo-blue) 100%);
  color: #fff;
}

.oo-stack button[type="submit"] {
  width: 100%;
}

.oo-remember-login {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500 !important;
  font-size: 14px !important;
  margin-bottom: 12px !important;
  cursor: pointer;
}

.oo-remember-login input[type="checkbox"] {
  width: auto;
  margin: 3px 0 0;
  flex-shrink: 0;
}

.oo-btn-secondary {
  background: #fff;
  color: var(--oo-text);
  border: 1px solid var(--oo-border);
}

.oo-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px 48px;
  min-width: 0;
}

.oo-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.oo-topbar h1 {
  margin: 0;
  font-size: 22px;
  min-width: 0;
}

/* Shared brand strip (logos in assets/brand-logos/) */
.oo-brand-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  padding: 12px 16px;
  margin: 0 0 14px;
  background: var(--oo-card);
  border: 1px solid var(--oo-border);
  border-radius: 12px;
}

.oo-brand-banner img {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: min(180px, 28vw);
  object-fit: contain;
}

.oo-crm-auth .oo-brand-banner {
  margin: 0;
  width: min(100%, 520px);
}

.oo-topbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.oo-topbar nav a {
  font-weight: 600;
  text-decoration: none;
}

.oo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--oo-card);
  border: 1px solid var(--oo-border);
  border-radius: 12px;
}

.oo-filters label {
  font-size: 13px;
  font-weight: 600;
}

.oo-filters input,
.oo-filters select {
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--oo-border);
  font: inherit;
}

.oo-table-wrap {
  background: var(--oo-card);
  border: 1px solid var(--oo-border);
  border-radius: 12px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

table.oo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

.oo-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--oo-muted);
  background: #fafbfe;
}

.oo-table tr:hover td {
  background: #fafbff;
}

.oo-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #eef2ff;
  color: #3949ab;
}

.oo-pill-new {
  background: #e3f2fd;
  color: #1565c0;
}
.oo-pill-in_progress {
  background: #fff3e0;
  color: #ef6c00;
}
.oo-pill-replied {
  background: #e8f5e9;
  color: #2e7d32;
}
.oo-pill-closed {
  background: #eceff1;
  color: #546e7a;
}

.oo-badge-warn {
  background: var(--oo-warn-bg);
  color: #f57f17;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.oo-badge-danger {
  background: var(--oo-overdue);
  color: #c62828;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.oo-lead-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .oo-lead-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.oo-panel {
  background: var(--oo-card);
  border: 1px solid var(--oo-border);
  border-radius: 12px;
  padding: 16px;
}

.oo-panel h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.oo-kv {
  margin: 0;
  font-size: 14px;
}
.oo-kv dt {
  font-weight: 600;
  color: var(--oo-muted);
  font-size: 12px;
  margin-top: 10px;
}
.oo-kv dd {
  margin: 4px 0 0;
  white-space: pre-wrap;
}

.oo-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.oo-timeline li {
  border-left: 3px solid var(--oo-border);
  padding: 0 0 14px 14px;
  margin-left: 6px;
  position: relative;
}

.oo-timeline li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--oo-blue);
  position: absolute;
  left: -7px;
  top: 4px;
}

.oo-timeline .oo-tl-meta {
  font-size: 12px;
  color: var(--oo-muted);
  margin-bottom: 4px;
}

.oo-timeline .oo-tl-body {
  font-size: 14px;
  white-space: pre-wrap;
}

.oo-form-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--oo-border);
}

.oo-form-section h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.oo-reject-photo-fieldset {
  border: none;
  padding: 0;
  margin: 16px 0 0;
  min-width: 0;
}

.oo-reject-photo-fieldset legend {
  font-weight: 600;
  font-size: 13px;
  padding: 0;
  margin-bottom: 4px;
}

.oo-reject-photo-intro {
  margin: 0 0 12px;
}

.oo-reject-photo-inputs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.oo-reject-photo-line {
  display: block;
  font-weight: 600;
  font-size: 13px;
}

.oo-reject-photo-line-label {
  display: block;
  margin-bottom: 6px;
}

.oo-reject-photo-line input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  font: inherit;
}

@media (min-width: 640px) {
  .oo-reject-photo-inputs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .oo-reject-photo-line {
    flex: 1 1 220px;
    min-width: 0;
  }
}

.oo-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.oo-small {
  font-size: 13px;
  color: var(--oo-muted);
}

.oo-msg {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  margin: 0 0 16px;
}
.oo-msg-ok {
  background: #e8f5e9;
  color: var(--oo-success);
  border: 1px solid #c8e6c9;
}
.oo-msg-err {
  background: #ffebee;
  color: var(--oo-danger);
  border: 1px solid #ffcdd2;
}

.oo-reject-reason-cell {
  max-width: 420px;
  white-space: normal;
}

.oo-reject-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.oo-reject-photo-card {
  margin: 0;
}

.oo-reject-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--oo-border);
  background: #f9fafb;
}

.oo-reject-photo-card figcaption {
  margin-top: 6px;
  word-break: break-word;
}

.oo-report-notes {
  max-width: 320px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
}

/* Report: category charts (conic donut + horizontal bars) */
.oo-cat-visual-panel {
  margin-bottom: 20px;
}

.oo-cat-visual-grid {
  display: grid;
  gap: 24px;
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .oo-cat-visual-grid {
    grid-template-columns: minmax(200px, 260px) 1fr;
  }
}

.oo-cat-pie-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

.oo-cat-pie {
  width: min(220px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--oo-border);
}

.oo-cat-pie-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.oo-cat-pie-legend li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 8px 10px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--oo-border);
}

.oo-cat-pie-legend li:last-child {
  border-bottom: none;
}

.oo-cat-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-top: 4px;
  flex-shrink: 0;
}

.oo-cat-legend-label {
  min-width: 0;
  word-break: break-word;
}

.oo-cat-legend-num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.oo-cat-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.oo-cat-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 120px) 1fr minmax(72px, auto);
  gap: 10px 12px;
  align-items: center;
}

@media (min-width: 480px) {
  .oo-cat-bar-row {
    grid-template-columns: minmax(0, 160px) 1fr minmax(88px, auto);
  }
}

.oo-cat-bar-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.oo-cat-bar-track {
  height: 14px;
  border-radius: 7px;
  background: #eef1f8;
  overflow: hidden;
  border: 1px solid var(--oo-border);
}

.oo-cat-bar-fill {
  height: 100%;
  border-radius: 6px;
  min-width: 2px;
  transition: width 0.35s ease;
}

.oo-cat-bar-meta {
  font-size: 13px;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

code {
  word-break: break-word;
}

.oo-order-number-field {
  margin-bottom: 16px;
}

.oo-order-number-field .oo-order-number-label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 0;
}

.oo-order-number-field .oo-order-number-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  margin-top: 6px;
}

.oo-stack .oo-order-number-row input {
  display: block;
  width: auto;
  flex: 1 1 8rem;
  min-width: 0;
  max-width: 100%;
  margin-top: 0 !important;
  padding: 8px 12px;
  line-height: 1.35;
}

.oo-scan-barcode-btn {
  flex: 0 0 auto;
  min-height: 44px;
  white-space: nowrap;
  padding: 8px 12px;
  font-size: 13px;
}

.oo-btn-danger {
  background: #fff;
  color: var(--oo-danger);
  border: 1px solid #ef9a9a;
}

.oo-btn-danger:hover {
  background: #ffebee;
}

.oo-reject-delete-form {
  margin: 0;
}

.oo-reject-delete-form--detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--oo-border);
}

.oo-reject-delete-form .oo-btn-danger {
  width: 100%;
  min-height: 44px;
}

.oo-reject-actions-cell .oo-btn-danger {
  min-height: 40px;
  padding: 6px 12px;
  font-size: 13px;
}

.oo-archived-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--oo-muted, #666);
  background: var(--oo-bg, #f4f4f4);
  border: 1px solid var(--oo-border);
  border-radius: 4px;
  vertical-align: middle;
}

.oo-reject-row-archived td {
  opacity: 0.92;
}

.oo-printed-pdf-wrap {
  margin: 12px 0 0;
  border: 1px solid var(--oo-border);
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
  min-height: 360px;
}

.oo-printed-pdf-frame {
  display: block;
  width: 100%;
  height: min(70vh, 640px);
  border: 0;
  background: #fff;
}

.oo-printed-archive-panel h2 {
  margin-top: 0;
  font-size: 1rem;
}

.oo-printed-archive-form {
  margin: 12px 0 0;
}

.oo-printed-skip {
  margin-top: 12px;
}

.oo-reject-delete-form--inline {
  display: inline-block;
  margin: 0;
  vertical-align: middle;
}

.oo-reject-detail-actions .oo-reject-delete-form--inline .oo-btn {
  margin-left: 8px;
}

.oo-reject-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.oo-reject-row-actions .oo-reject-delete-form {
  margin: 0;
}

.oo-btn-compact {
  min-height: 40px;
  padding: 6px 12px;
  font-size: 13px;
}

.oo-reject-detail-actions {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--oo-border);
}

.oo-reject-detail-actions .oo-btn {
  min-height: 44px;
}

.oo-photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--oo-border);
}

.oo-photo-preview-item {
  flex: 0 0 auto;
  width: 88px;
  text-align: center;
}

.oo-photo-preview-item img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--oo-border);
}

.oo-photo-preview-item .oo-btn {
  margin-top: 6px;
  width: 100%;
}

.oo-markup-panel {
  width: min(100%, 520px);
}

.oo-markup-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.oo-markup-toolbar .oo-btn {
  min-height: 40px;
}

.oo-markup-tool-active {
  border-color: var(--oo-accent, #c41e3a);
  box-shadow: inset 0 0 0 1px var(--oo-accent, #c41e3a);
}

.oo-markup-canvas-wrap {
  width: 100%;
  overflow: auto;
  border-radius: 12px;
  background: #111;
  touch-action: none;
}

#oo_markup_canvas {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  cursor: crosshair;
}

.oo-markup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.oo-markup-actions .oo-btn {
  flex: 1 1 auto;
  min-height: 44px;
}

.oo-markup-actions #oo_markup_done {
  flex: 1 1 40%;
}

body.oo-barcode-modal-open {
  overflow: hidden;
}

.oo-barcode-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
  background: rgba(26, 26, 26, 0.55);
}

.oo-barcode-modal[hidden]:not(.oo-barcode-modal--open) {
  display: none !important;
}

.oo-barcode-modal.oo-barcode-modal--open {
  display: flex !important;
}

.oo-barcode-modal-panel {
  width: min(100%, 440px);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: var(--oo-card);
  border: 1px solid var(--oo-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.oo-barcode-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.oo-barcode-modal-header h3 {
  margin: 0;
  font-size: 1rem;
}

.oo-barcode-close {
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 14px;
}

.oo-barcode-reader {
  width: 100%;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.oo-barcode-status {
  margin: 12px 0 0;
}

.oo-barcode-modal-panel > .oo-muted {
  margin: 8px 0 0;
}

@media (max-width: 720px) {
  .oo-order-number-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }

  .oo-stack .oo-order-number-row input {
    flex: 1 1 auto;
    width: 0;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 16px;
  }

  .oo-scan-barcode-btn {
    width: auto;
    flex: 0 0 auto;
    max-width: 42%;
    min-height: 44px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.2;
  }

  .oo-barcode-modal-panel {
    width: 100%;
    max-height: 100%;
    border-radius: 16px 16px 0 0;
    align-self: flex-end;
  }

  .oo-barcode-modal {
    align-items: flex-end;
    padding: 0;
  }
}

/* --- Mobile / narrow screens --- */
@media (max-width: 720px) {
  .oo-crm-auth {
    padding: 16px 14px;
    padding-top: max(20px, env(safe-area-inset-top, 0px));
    justify-content: flex-start;
  }

  .oo-crm-card {
    padding: 22px 18px;
    width: 100%;
  }

  .oo-shell {
    padding: 14px 14px 36px;
  }

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

  .oo-topbar h1 {
    font-size: 1.125rem;
    line-height: 1.3;
  }

  .oo-topbar nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .oo-topbar nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    text-align: center;
    font-size: 13px;
    line-height: 1.25;
    border-radius: 10px;
    background: var(--oo-card);
    border: 1px solid var(--oo-border);
    color: var(--oo-blue);
  }

  .oo-brand-banner {
    gap: 10px 14px;
    padding: 10px 12px;
  }

  .oo-brand-banner img {
    max-height: 36px;
    max-width: min(160px, 40vw);
  }

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

  .oo-filters label {
    width: 100%;
  }

  .oo-filters input,
  .oo-filters select {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 16px;
  }

  .oo-filters .oo-btn,
  .oo-filters a.oo-btn-secondary {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .oo-inline.oo-btn-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .oo-inline.oo-btn-row > .oo-btn,
  .oo-inline.oo-btn-row > a.oo-btn,
  .oo-inline.oo-btn-row > a.oo-btn-secondary {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    text-align: center;
  }

  .oo-inline.oo-btn-row > a.oo-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px dashed var(--oo-border);
    text-decoration: none;
    box-sizing: border-box;
  }

  .oo-panel form.oo-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .oo-panel form.oo-inline label {
    width: 100%;
    max-width: none !important;
  }

  .oo-panel form.oo-inline input[type="text"],
  .oo-panel form.oo-inline select {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 16px;
  }

  .oo-panel form.oo-inline .oo-btn {
    width: 100%;
    min-height: 44px;
  }

  .oo-stack input,
  .oo-stack select,
  .oo-stack textarea {
    font-size: 16px;
  }

  .oo-stack button[type="submit"],
  .oo-stack .oo-btn {
    min-height: 48px;
  }

  .oo-reject-photo-grid {
    grid-template-columns: 1fr;
  }

  .oo-reject-reason-cell {
    max-width: none;
  }

  .oo-report-notes {
    max-width: none;
  }

  .oo-cat-bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .oo-cat-bar-meta {
    text-align: left;
  }

  /* Stacked tables: add class oo-table--stack + data-label on body cells */
  .oo-table.oo-table--stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .oo-table.oo-table--stack tbody tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid var(--oo-border);
    border-radius: 12px;
    background: var(--oo-card);
    overflow: hidden;
  }

  .oo-table.oo-table--stack tbody td {
    display: grid;
    grid-template-columns: minmax(92px, 32%) 1fr;
    gap: 6px 12px;
    align-items: start;
    padding: 10px 12px;
    border-bottom: 1px solid var(--oo-border);
    font-size: 14px;
  }

  .oo-table.oo-table--stack tbody td:last-child {
    border-bottom: none;
  }

  .oo-table.oo-table--stack tbody td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--oo-muted);
    line-height: 1.4;
    padding-top: 2px;
  }

  .oo-table.oo-table--stack tbody td.oo-table-empty {
    display: block;
  }

  .oo-table.oo-table--stack tbody td.oo-table-empty::before {
    content: none;
  }

  .oo-table.oo-table--stack tbody td form {
    width: 100%;
  }

  .oo-table.oo-table--stack tbody td .oo-btn,
  .oo-table.oo-table--stack tbody td .oo-btn-secondary,
  .oo-table.oo-table--stack tbody td button {
    width: 100%;
    min-height: 40px;
  }
}

@media (max-width: 380px) {
  .oo-topbar nav {
    grid-template-columns: 1fr;
  }
}
