.yatoon-wrap { max-width: 900px; }
.yatoon-wrap h1 { margin-bottom: 20px; }
.yatoon-card {
  background: #fff;
  border: 1px solid #e0ddd8;
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 20px;
}

/* Spreadsheet-style admin tables on desktop/tablet widths. Long values stay on one line and columns can be resized. */
@media (min-width: 783px) {
  .yatoon-wrap .yatoon-admin-table-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .yatoon-wrap table.yatoon-resizable-table {
    table-layout: fixed !important;
    width: 100%;
    min-width: 1120px;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }

  .yatoon-wrap .yatoon-items-table.yatoon-resizable-table {
    min-width: 1240px !important;
  }

  .yatoon-wrap table.yatoon-resizable-table th,
  .yatoon-wrap table.yatoon-resizable-table td {
    position: relative;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    vertical-align: middle !important;
  }

  .yatoon-wrap table.yatoon-resizable-table th {
    user-select: none;
  }

  .yatoon-wrap table.yatoon-resizable-table td .button,
  .yatoon-wrap table.yatoon-resizable-table td button {
    white-space: nowrap !important;
  }

  .yatoon-col-resizer {
    position: absolute;
    top: 0;
    right: -4px;
    z-index: 5;
    width: 8px;
    height: 100%;
    cursor: col-resize;
    touch-action: none;
  }

  .yatoon-col-resizer::after {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 3px;
    width: 2px;
    border-radius: 999px;
    background: transparent;
  }

  .yatoon-col-resizer:hover::after,
  .yatoon-col-resizer.is-dragging::after {
    background: #2563eb;
  }

  body.yatoon-table-resizing {
    cursor: col-resize !important;
    user-select: none !important;
  }
}
.yatoon-card h2 { font-size: 16px; font-weight: 700; margin: 0 0 16px; color: #1d1d1d; }
.yatoon-template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 4px 0 12px;
}
.yatoon-template-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
}
.yatoon-template-option:hover,
.yatoon-template-option.is-selected {
  border-color: #111827;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}
.yatoon-template-option input { margin-top: 3px; }
.yatoon-template-option strong { display: block; color: #111827; font-size: 13px; }
.yatoon-template-option small { display: block; color: #64748b; font-size: 12px; line-height: 1.35; margin-top: 3px; }
.yatoon-template-status,
.yatoon-apply-template {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 4px 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.yatoon-template-status {
  justify-content: space-between;
}
.yatoon-template-status strong {
  color: #111827;
  font-size: 13px;
}
.yatoon-template-status span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.35;
}
.yatoon-apply-template {
  width: fit-content;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
}
.yatoon-code {
  display: inline-block;
  background: #f0ede6;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 16px;
  font-weight: 700;
  color: #7a5500;
  letter-spacing: .5px;
}

/* Toggle switch */
.yatoon-toggle { position: relative; display: inline-block; width: 48px; height: 26px; cursor: pointer; }
.yatoon-toggle input { opacity: 0; width: 0; height: 0; }
.yatoon-toggle span {
  position: absolute; inset: 0;
  background: #ccc;
  border-radius: 26px;
  transition: .3s;
}
.yatoon-toggle span::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}
.yatoon-toggle input:checked + span { background: #27ae60; }
.yatoon-toggle input:checked + span::before { transform: translateX(22px); }

/* Items table */
.yatoon-items-table .yatoon-badge-on  { display:inline-block; padding:2px 10px; border-radius:12px; font-size:11px; font-weight:700; background:#d4edda; color:#155724; }
.yatoon-items-table .yatoon-badge-off { display:inline-block; padding:2px 10px; border-radius:12px; font-size:11px; font-weight:700; background:#f8d7da; color:#721c24; }
.yatoon-items-table .yatoon-no-img { font-size:11px; color:#aaa; }
.yatoon-del-btn { color: #a00 !important; }

/* Orders */
.yatoon-order-count { background: #f0ede6; border-radius: 12px; padding: 2px 12px; font-size: 14px; color: #888; margin-left: 10px; vertical-align: middle; }
.yatoon-order-card { background: #fff; border: 1px solid #e0ddd8; border-radius: 10px; padding: 18px 22px; margin-bottom: 14px; }
.yatoon-order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; flex-wrap: wrap; }
.yatoon-order-number { font-size: 16px; font-weight: 700; color: #000; margin-right: 10px; }
.yatoon-order-meta { color: #888; font-size: 13px; }
.yatoon-order-body { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.yatoon-order-items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.yatoon-order-item-pill { background: #f0ede6; border-radius: 12px; padding: 3px 12px; font-size: 12px; font-weight: 700; color: #7a5500; }
.yatoon-order-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

.yatoon-status-new   { display:inline-block; padding:3px 12px; border-radius:12px; font-size:12px; font-weight:700; background:#fff3cd; color:#856404; }
.yatoon-status-prep  { display:inline-block; padding:3px 12px; border-radius:12px; font-size:12px; font-weight:700; background:#cfe2ff; color:#084298; }
.yatoon-status-ready { display:inline-block; padding:3px 12px; border-radius:12px; font-size:12px; font-weight:700; background:#d4edda; color:#155724; }
.yatoon-status-done  { display:inline-block; padding:3px 12px; border-radius:12px; font-size:12px; font-weight:700; background:#e2e3e5; color:#383d41; }
.yatoon-ready-btn { background: #27ae60 !important; color: #fff !important; border-color: #27ae60 !important; font-weight: 700 !important; }

/* ---- Columns Picker ---- */
.yatoon-columns-picker { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.yatoon-col-option { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.yatoon-col-option input[type=radio] { display: none; }
.yatoon-col-preview {
  display: grid;
  gap: 3px;
  width: 90px;
  height: 60px;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 6px;
  background: #f9f9f9;
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
}
.yatoon-col-preview span { background: #ccc; border-radius: 3px; }
.yatoon-col-1 { grid-template-columns: 1fr; }
.yatoon-col-2 { grid-template-columns: 1fr 1fr; }
.yatoon-col-3 { grid-template-columns: 1fr 1fr 1fr; }
.yatoon-col-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.yatoon-col-option.selected .yatoon-col-preview { border-color: #c9a84c; background: #fffbf0; }
.yatoon-col-option.selected .yatoon-col-preview span { background: #c9a84c; }
.yatoon-col-label { font-size: 13px; font-weight: 700; color: #555; }
.yatoon-col-option.selected .yatoon-col-label { color: #9a7a2a; }

/* ---- Color picker label ---- */
.yatoon-color-label { font-size:12px; color:#999; vertical-align:middle; margin-left:6px; font-family:monospace; }
input[type=color] { width:44px; height:30px; border:1px solid #ddd; border-radius:4px; cursor:pointer; vertical-align:middle; padding:2px; }

/* ---- Radius picker ---- */
.yatoon-radius-picker { display:flex; gap:10px; flex-wrap:wrap; }
.yatoon-radius-option { cursor:pointer; }
.yatoon-radius-option input[type=radio] { display:none; }
.yatoon-radius-preview {
  display:inline-block;
  padding:7px 18px;
  border:2px solid #ddd;
  background:#f5f5f5;
  font-size:13px;
  font-weight:700;
  color:#555;
  cursor:pointer;
  transition: all .2s;
}
.yatoon-radius-option input:checked + .yatoon-radius-preview { border-color:#c9a84c; background:#fffbf0; color:#7a5500; }

/* ---- Section h3 headings inside card ---- */
.yatoon-wrap .yatoon-card h3 { border-top:1px solid #eee; padding-top:16px; margin-top:8px; }

.yatoon-upgrade-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #111 0%, #3a3020 100%);
  border-radius: 14px;
  color: #fff;
  padding: 22px 26px;
  margin: 0 0 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.yatoon-upgrade-banner h2 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 18px;
}
.yatoon-upgrade-banner p {
  color: rgba(255,255,255,.82);
  margin: 0;
  max-width: 620px;
}
.yatoon-pro-lock {
  background: #fbfaf7;
  border: 1px solid #e6dfd1;
  border-radius: 10px;
  padding: 12px 14px;
  max-width: 640px;
}
.yatoon-pro-lock p {
  margin: 6px 0;
  color: #666;
}
.yatoon-pro-badge {
  display: inline-block;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  margin-right: 8px;
  text-transform: uppercase;
}
.yatoon-pro-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 18px;
  margin: 18px 0;
}
.yatoon-pro-list li {
  margin: 0;
  padding-left: 22px;
  position: relative;
}
.yatoon-pro-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0a7d33;
  font-weight: 700;
}
@media (max-width: 720px) {
  .yatoon-upgrade-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}

.yatoon-ops-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(5, minmax(150px, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}
.yatoon-ops-card {
  position: relative;
  min-height: 112px;
  background: rgba(255,255,255,.86);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(17,24,39,.06);
}
.yatoon-ops-card strong {
  display: block;
  color: #111827;
  font-size: 15px;
  margin: 16px 0 6px;
}
.yatoon-ops-card p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}
.yatoon-ops-card-hero {
  color: #fff;
  background: linear-gradient(135deg, #111827, #2f3a4a);
  border-color: transparent;
}
.yatoon-ops-card-hero strong {
  color: #fff;
  font-size: 34px;
  margin: 8px 0 2px;
  letter-spacing: 0;
}
.yatoon-ops-card-hero p,
.yatoon-ops-label {
  color: rgba(255,255,255,.76);
}
.yatoon-dot {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db;
  box-shadow: 0 0 0 4px rgba(209,213,219,.24);
}
.yatoon-dot.is-on {
  background: #30d158;
  box-shadow: 0 0 0 4px rgba(48,209,88,.18);
}
.yatoon-growth-card {
  border-color: #dbeafe;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

/* 2.x product polish */
.yatoon-wrap { max-width: 1180px; }
.yatoon-card {
  border-color: #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(17,24,39,.05);
}
.yatoon-wrap .form-table th { width: 210px; font-weight: 700; color: #1f2937; }
.yatoon-wrap input[type=text],
.yatoon-wrap input[type=email],
.yatoon-wrap input[type=url],
.yatoon-wrap input[type=password],
.yatoon-wrap input[type=number],
.yatoon-wrap textarea,
.yatoon-wrap select {
  border-color: #cfd6dd;
  border-radius: 10px;
}
.yatoon-report-filter {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  padding: 12px;
  margin: 14px 0;
}
.yatoon-res-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid #edf0f2;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  background: #fbfcfd;
}
.yatoon-status-pending,
.yatoon-status-confirmed,
.yatoon-status-cancelled,
.yatoon-status-seated {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.yatoon-status-pending { background: #fff7e6; color: #8a5a00; }
.yatoon-status-confirmed { background: #e7f7ee; color: #126b3a; }
.yatoon-status-seated { background: #e9f2ff; color: #174ea6; }
.yatoon-status-cancelled { background: #fdecec; color: #a4262c; }
@media (max-width: 1100px) {
  .yatoon-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .yatoon-ops-grid {
    grid-template-columns: 1fr;
  }
}
.yatoon-raw-rules-collapsed { display: none !important; }
.yatoon-rule-editor { margin-top: 10px; max-width: 920px; }
.yatoon-rule-table {
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.yatoon-rule-head,
.yatoon-rule-row {
  display: grid;
  grid-template-columns: repeat(var(--yt-rule-cols, 5), minmax(90px, 1fr)) 90px;
  gap: 8px;
  align-items: center;
  padding: 8px;
}
.yatoon-rule-head {
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
}
.yatoon-rule-row { border-top: 1px solid #edf0f2; }
.yatoon-rule-field { width: 100%; }
.yatoon-rule-add { margin: 10px 0 10px 10px !important; }
.yatoon-rule-toggle { margin-left: 8px; }
#yatoon-locations-editor .yatoon-rule-head,
#yatoon-locations-editor .yatoon-rule-row { --yt-rule-cols: 4; }
#yatoon-closed-dates-editor .yatoon-rule-head,
#yatoon-closed-dates-editor .yatoon-rule-row { --yt-rule-cols: 2; }
#yatoon-reservation-slots-editor .yatoon-rule-head,
#yatoon-reservation-slots-editor .yatoon-rule-row,
#yatoon-qr-tables-editor .yatoon-rule-head,
#yatoon-qr-tables-editor .yatoon-rule-row { --yt-rule-cols: 1; max-width: 360px; }
@media (max-width: 760px) {
  .yatoon-rule-head { display: none; }
  .yatoon-rule-row { display: block; }
  .yatoon-rule-row input { margin-bottom: 6px; }
}

/* 2.3.1 admin polish */
.yatoon-wrap h1 {
  color: #111827;
  font-weight: 700;
  margin-bottom: 18px;
}
.yatoon-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
  margin: 0 0 18px;
}
.yatoon-product-copy,
.yatoon-launch-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(17,24,39,.06);
}
.yatoon-product-copy {
  padding: 26px 30px;
}
.yatoon-product-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 6px 10px;
  text-transform: uppercase;
}
.yatoon-product-copy h2 {
  color: #0f172a;
  font-size: 28px;
  line-height: 1.16;
  margin: 16px 0 10px;
  max-width: 760px;
}
.yatoon-product-copy p {
  color: #475569;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 760px;
}
.yatoon-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.yatoon-product-actions .button {
  border-radius: 10px !important;
  min-height: 38px;
}
.yatoon-launch-card {
  padding: 22px;
}
.yatoon-launch-ring {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  background: conic-gradient(#111827 calc(var(--yatoon-progress) * 1%), #e5e7eb 0);
  position: relative;
}
.yatoon-launch-ring::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: #fff;
}
.yatoon-launch-ring span {
  position: relative;
  z-index: 1;
  color: #111827;
  font-size: 24px;
  font-weight: 900;
}
.yatoon-launch-card > strong {
  display: block;
  color: #111827;
  font-size: 15px;
  margin: 0 0 10px;
  text-align: center;
}
.yatoon-launch-card ul {
  margin: 0;
}
.yatoon-launch-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid #f1f5f9;
  color: #475569;
}
.yatoon-launch-card li span {
  order: 2;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
}
.yatoon-launch-card li.is-done span {
  background: #dcfce7;
  color: #166534;
}
.yatoon-launch-card li.is-todo span {
  background: #fff7ed;
  color: #9a3412;
}
.yatoon-items-table {
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  overflow: hidden;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(17,24,39,.055);
}
.yatoon-items-table thead th {
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 1px solid #e5e7eb !important;
}
.yatoon-items-table th,
.yatoon-items-table td {
  padding: 14px 16px !important;
  vertical-align: middle !important;
}
.yatoon-items-table tbody tr:nth-child(odd) {
  background: #fff !important;
}
.yatoon-items-table tbody tr:nth-child(even) {
  background: #fbfcfd !important;
}
.yatoon-items-table tbody tr:hover {
  background: #f1f5f9 !important;
}
.yatoon-items-table img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  box-shadow: 0 8px 20px rgba(15,23,42,.1);
}
.yatoon-items-table .button,
.yatoon-orders-toolbar .button,
.yatoon-order-actions .button {
  border-radius: 9px !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}
.yatoon-orders-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
}
.yatoon-orders-list {
  display: grid;
  gap: 14px;
}
.yatoon-order-card {
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 20px 22px !important;
  margin: 0 !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(17,24,39,.055);
}
.yatoon-order-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.yatoon-order-number {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-right: 10px;
}
.yatoon-order-meta {
  color: #64748b;
  font-size: 13px;
}
.yatoon-order-body {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) 1fr;
  gap: 18px;
  margin-top: 18px;
}
.yatoon-order-item-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f4f1eb;
  color: #7c5200;
  font-weight: 700;
  padding: 6px 12px;
  margin: 0 8px 8px 0;
}
.yatoon-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .yatoon-product-hero {
    grid-template-columns: 1fr;
  }
  .yatoon-order-head,
  .yatoon-order-body {
    display: block;
  }
  .yatoon-order-meta,
  .yatoon-order-items {
    margin-top: 10px;
  }
}

/* 2.4.0 admin clarity polish */
.yatoon-wrap {
  max-width: 1240px;
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}
.yatoon-wrap h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 0;
}
.yatoon-wrap .page-title-action {
  border-radius: 999px;
  border-color: #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-weight: 750;
}
.yatoon-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 42px rgba(15,23,42,.06);
}
.yatoon-card h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
}
.yatoon-card h2::after {
  content: "";
  width: 34px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #111827;
  opacity: .16;
}
.yatoon-card .description,
.yatoon-wrap p.description {
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}
.yatoon-code {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.yatoon-wrap .form-table {
  margin-top: 0;
}
.yatoon-wrap .form-table tr {
  display: grid;
  grid-template-columns: minmax(160px, 230px) minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
}
.yatoon-wrap .form-table tr:last-child {
  border-bottom: 0;
}
.yatoon-wrap .form-table th,
.yatoon-wrap .form-table td {
  display: block;
  width: auto;
  padding: 0;
  vertical-align: top;
}
.yatoon-wrap .form-table th {
  color: #1e293b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
}
.yatoon-wrap .form-table td {
  color: #334155;
}
.yatoon-wrap input[type=text],
.yatoon-wrap input[type=email],
.yatoon-wrap input[type=url],
.yatoon-wrap input[type=password],
.yatoon-wrap input[type=number],
.yatoon-wrap input[type=time],
.yatoon-wrap input[type=date],
.yatoon-wrap textarea,
.yatoon-wrap select {
  min-height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 1px 0 rgba(15,23,42,.02);
}
.yatoon-wrap textarea {
  padding-top: 10px;
}
.yatoon-wrap input:focus,
.yatoon-wrap textarea:focus,
.yatoon-wrap select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  outline: none;
}
.yatoon-wrap .button,
.yatoon-wrap .button.button-small,
.yatoon-wrap .button.button-large {
  border-radius: 11px !important;
  min-height: 36px;
  padding: 4px 14px;
  font-weight: 750;
  letter-spacing: 0;
}
.yatoon-wrap .button-primary {
  border-color: #111827 !important;
  background: #111827 !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(15,23,42,.16) !important;
}
.yatoon-save-bar {
  position: sticky;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: calc(100vw - 48px);
  margin: 22px 0 8px auto;
  padding: 10px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 46px rgba(15,23,42,.16);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.yatoon-save-bar span {
  padding-right: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 650;
}
.yatoon-product-copy,
.yatoon-launch-card,
.yatoon-ops-card,
.yatoon-order-card,
.yatoon-items-table,
.yatoon-report-filter,
.yatoon-res-row {
  border-color: rgba(15,23,42,.08) !important;
  box-shadow: 0 16px 42px rgba(15,23,42,.06) !important;
}
.yatoon-product-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0;
}
.yatoon-ops-grid {
  grid-template-columns: minmax(240px, 1.25fr) repeat(5, minmax(132px, 1fr));
}
.yatoon-ops-card,
.yatoon-order-card {
  border-radius: 18px;
}
.yatoon-status-new,
.yatoon-status-prep,
.yatoon-status-ready,
.yatoon-status-done,
.yatoon-status-pending,
.yatoon-status-confirmed,
.yatoon-status-cancelled,
.yatoon-status-seated,
.yatoon-items-table .yatoon-badge-on,
.yatoon-items-table .yatoon-badge-off {
  border-radius: 999px;
  letter-spacing: 0;
}
.yatoon-items-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.yatoon-items-table .button,
.yatoon-order-actions .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 2px 2px 2px 0 !important;
}
.yatoon-order-card {
  transition: transform .16s ease, box-shadow .16s ease;
}
.yatoon-order-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 52px rgba(15,23,42,.09) !important;
}
.yatoon-order-item-pill {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
}
.yatoon-ready-btn {
  border-color: #15803d !important;
  background: #16a34a !important;
}
.yatoon-rule-table,
#yatoon-coupon-manager,
#yatoon-modifier-builder,
#yatoon-hero-fields,
#yatoon-paypal-fields,
#yatoon-stripe-fields,
#yatoon-twilio-fields {
  border-color: #e2e8f0 !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
}
input[type=color] {
  width: 48px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
}
.yatoon-launch-card li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.yatoon-launch-card li a:hover {
  color: #0f172a;
}
.yatoon-launch-card li a:hover span {
  transform: translateX(2px);
}
.yatoon-launch-note {
  margin: 4px 0 12px;
  color: #64748b;
  font-size: 13px;
}
.yatoon-card[id] {
  scroll-margin-top: 48px;
}
@media (max-width: 960px) {
  .yatoon-product-hero,
  .yatoon-order-body {
    grid-template-columns: 1fr;
  }
  .yatoon-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 782px) {
  .yatoon-wrap {
    margin-right: 12px;
  }
  .yatoon-wrap h1 {
    font-size: 24px;
    flex-wrap: wrap;
  }
  .yatoon-card {
    border-radius: 16px;
    padding: 18px;
  }
  .yatoon-wrap .form-table tr {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }
  .yatoon-wrap .form-table th {
    font-size: 12px;
  }
  .yatoon-wrap input.regular-text,
  .yatoon-wrap input.large-text,
  .yatoon-wrap textarea.large-text {
    width: 100%;
  }
  .yatoon-ops-grid {
    grid-template-columns: 1fr;
  }
  .yatoon-items-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .yatoon-save-bar {
    left: 12px;
    right: 12px;
    bottom: 10px;
    width: auto;
    max-width: none;
    justify-content: space-between;
    margin-left: 0;
  }
  .yatoon-save-bar span {
    display: none;
  }
}
