/* Pastry chef cabinet: the cake Mini App palette (cream, chocolate, raspberry) over the realtor cabinet's soft controls. */
:root {
  --bg: #fbf5ef; --surface: #ffffff; --surface-2: #f4ebe3; --line: #eadfd6; --line-strong: #d8c7ba;
  --text: #3b2420; --muted: #8b7469; --accent: #3b2420; --accent-hover: #5a3a33; --accent-ink: #ffffff; --danger: #b4533f;
  --stripes: linear-gradient(90deg, #d6457a, #3b2420, #d6457a);
}
.eyebrow { color: #b8336a; }
.order { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid #d6457a; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.order.st-paid, .order.st-ready { border-left-color: #3f8f5f; }
.order.st-cancelled { opacity: .55; border-left-color: var(--line-strong); }
.order-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.order-head b { font-size: 16px; }
.tech { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13.5px; }
.tech th, .tech td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tech th { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.order-facts { display: grid; gap: 4px; font-size: 14px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 10px; }
.order-actions .field { margin: 0; max-width: 180px; }
.ref-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.pill.ok { background: #e2f2e7; color: #2c6b45; }
.pill.warn { background: #fbe2ea; color: #a52a57; }
.menu-group { margin-bottom: 18px; }
.menu-row { display: grid; grid-template-columns: 1.4fr 1.2fr 56px auto; gap: 8px; align-items: center; margin-bottom: 6px; }
.menu-row.filling { grid-template-columns: 1.3fr 1.1fr 56px 110px auto auto; }
.menu-row.coating { grid-template-columns: 1.3fr 1.1fr 150px 90px auto; }
.menu-row input[type="color"] { width: 56px; height: 38px; padding: 2px; }
.menu-row .desc { grid-column: 1 / -1; }
.menu-row label.top { display: flex; gap: 6px; align-items: center; font-size: 12.5px; white-space: nowrap; }
@media (max-width: 760px) { .menu-row, .menu-row.filling, .menu-row.coating { grid-template-columns: 1fr 1fr; } }
.rules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 14px; }
.tier-rules { width: 100%; border-collapse: collapse; margin-top: 6px; }
.tier-rules th, .tier-rules td { padding: 6px; border-bottom: 1px solid var(--line); text-align: center; font-size: 13.5px; }
.tier-rules input { width: 80px; text-align: center; }
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.menu-row input:not([type="checkbox"]):not([type="color"]), .menu-row select, .tier-rules input {
  border: 1px solid var(--line-strong); border-radius: 10px; background: #fffdf9; padding: 8px 10px; font: inherit; color: var(--text); min-width: 0; width: 100%;
}
.tier-rules input { width: 80px; }
.days .check { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; }
