:root {
    --blush: #f8e9ed;
    --paper: #fffaf8;
    --burgundy: #512b35;
    --pink: #a84f6a;
    --pink-dark: #843b52;
    --pink-soft: #efd2db;
    --gold: #c39a4a;
    --muted: #74636a;
    --danger: #913b45;
    --line: #e5cfd5;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    color: var(--burgundy);
    background:
      radial-gradient(circle at 12% 8%, rgba(232, 184, 199, .34) 0 7%, transparent 22%),
      radial-gradient(circle at 88% 28%, rgba(240, 205, 215, .48) 0 8%, transparent 24%),
      linear-gradient(180deg, #fffaf9 0, var(--blush) 100%);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
  }
  .page-shell { width: min(100% - 28px, 600px); margin: 0 auto; padding: 36px 0; }
  .card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(81, 43, 53, .13);
    padding: clamp(24px, 6vw, 44px);
  }
  .brand-mark {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border-radius: 50%;
    color: white;
    background: var(--pink);
    border: 4px solid #d9b565;
    font-weight: 800;
    letter-spacing: .05em;
  }
  .eyebrow { margin: 0 0 4px; color: var(--pink-dark); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.05; }
  .intro { color: var(--muted); margin: 14px 0 28px; }
  label:not(.check-row) { display: block; margin: 18px 0 7px; font-weight: 700; }
  input[type='text'], input[type='email'], input[type='date'], input[type='tel'], input[type='password'] {
    width: 100%;
    min-height: 48px;
    border: 1px solid #bdb2a1;
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--burgundy);
    background: #fff;
    font: inherit;
  }
  select, textarea {
    width: 100%; border: 1px solid #bdb2a1; border-radius: 10px; padding: 10px 12px;
    color: var(--burgundy); background: #fff; font: inherit;
  }
  select { min-height: 48px; }
  textarea { resize: vertical; }
  input:focus { outline: 3px solid rgba(201, 152, 63, .25); border-color: var(--gold); }
  .optional { color: var(--muted); font-size: .82rem; font-weight: 400; }
  .field-help, .required-note { color: var(--muted); font-size: .82rem; margin: 5px 0 0; }
  .check-row { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; color: #514942; }
  .check-row input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--pink); }
  button {
    width: 100%;
    min-height: 52px;
    margin-top: 8px;
    border: 0;
    border-radius: 11px;
    color: white;
    background: var(--pink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }
  button:hover { background: var(--pink-dark); }
  button:focus-visible { outline: 3px solid rgba(195, 154, 74, .45); outline-offset: 3px; }
  button:disabled { cursor: wait; opacity: .65; }
  .notice { border-radius: 10px; margin: 0 0 18px; padding: 12px 14px; background: #ece6dc; }
  .notice.success { color: #672c40; background: var(--pink-soft); border: 1px solid #dba9b8; }
  .notice.error { color: #6d211d; background: #f5dcd9; }
  .rewards-summary { margin: 0 0 26px; padding: 20px; border: 1px solid #dba9b8; border-radius: 14px; background: linear-gradient(145deg, #fffafa, #f8e3e9); }
  .rewards-heading-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
  .rewards-heading-row h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; }
  .member-status { border: 1px solid #d39aae; border-radius: 999px; padding: 5px 9px; color: var(--pink-dark); background: #fff8fa; font-size: .74rem; font-weight: 700; white-space: nowrap; }
  .reward-balance { margin: 22px 0 9px; }
  .reward-balance span { display: block; color: var(--muted); font-size: .82rem; }
  .reward-balance strong { display: block; color: var(--pink-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 2.8rem; line-height: 1; }
  .progress-track { height: 11px; overflow: hidden; border-radius: 999px; background: #ead8dd; }
  .progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--gold)); transition: width .4s ease; }
  .reward-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
  .reward-detail-grid div { padding: 10px; border-radius: 9px; background: rgba(255,255,255,.7); }
  .reward-detail-grid span { display: block; color: var(--muted); font-size: .7rem; }
  .reward-detail-grid strong { display: block; margin-top: 2px; font-size: 1.15rem; }
  .birthday-status, .empty-rewards { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; color: #672c40; background: #f4dce3; font-size: .82rem; }
  .reward-activity { margin: 8px 0 0; padding-left: 20px; font-size: .84rem; }
  .reward-activity li { margin: 5px 0; }
  .section-divider { margin: 34px 0; border: 0; border-top: 1px solid var(--line); }
  #ordering-heading { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.8rem; }
  .featured-menu { margin: 22px 0 18px; padding: 18px; border: 1px solid #dba9b8; border-radius: 18px; background: linear-gradient(145deg, #fffafa, #f8e3e9); }
  .featured-menu-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 14px; }
  .featured-menu-heading h3, .featured-menu-heading p { margin: 0; }
  .featured-menu-heading h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; }
  .featured-menu-heading > p { color: var(--muted); font-size: .82rem; }
  .featured-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .featured-menu-card { min-height: 0; margin: 0; overflow: visible; padding: 0; border: 1px solid #ddb5c1; border-radius: 14px; color: var(--burgundy); background: #fff; text-align: left; }
  .featured-menu-card:hover { color: var(--burgundy); background: #fff; transform: none; box-shadow: 0 10px 22px rgba(81,43,53,.13); }
  .featured-menu-card img { display: block; width: 100%; height: auto; object-fit: contain; background: #f8f2f0; }
  .featured-menu-card > span { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; }
  .featured-menu-card small { color: var(--pink-dark); font-weight: 800; }
  .menu-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
  .menu-category-button { width: auto; min-height: 38px; margin: 0; padding: 6px 14px; border: 1px solid #dba9b8; border-radius: 999px; color: var(--pink-dark); background: #fff; font-size: .8rem; }
  .menu-category-button:hover, .menu-category-button.is-active { color: #fff; background: var(--pink); }
  .catalog { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 12px 0 22px; }
  .product-card { display: flex; flex-direction: column; min-width: 0; overflow: visible; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(81,43,53,.07); }
  .product-card-media { min-height: 0; background: #f8f2f0; }
  .product-photo-button { width: 100%; height: auto; min-height: 0; margin: 0; padding: 0; overflow: visible; border-radius: 0; background: #f8f2f0; }
  .product-photo-button:hover { background: #f8f2f0; }
  .product-photo-button img { display: block; width: 100%; height: auto; min-height: 0; object-fit: contain; }
  .product-photo-button:hover img { transform: none; }
  .product-card.is-small-cake { overflow: hidden; }
  .product-card.is-small-cake .product-card-media {
    display: flex; flex: 1 1 auto; align-items: center; justify-content: center; background: #fde6c6;
  }
  .product-card.is-small-cake .product-photo-button {
    display: flex; align-items: center; justify-content: center; box-sizing: border-box;
    width: 100%; height: auto; padding: 12%; background: #fde6c6;
  }
  .product-card.is-small-cake .product-photo-button img { width: 100%; height: auto; background: #fde6c6; }
  .product-photo-dialog.is-small-cake { background: #fde6c6; }
  .product-photo-dialog.is-small-cake > div { background: #fffaf8; }
  .product-photo-dialog.is-small-cake img { width: 76%; margin-inline: auto; background: #fde6c6; }
  .product-photo-placeholder { display: grid; place-content: center; gap: 7px; height: 100%; min-height: 210px; color: var(--pink-dark); background: radial-gradient(circle at 70% 20%, #f2cbd8, transparent 32%), linear-gradient(145deg, #fff8fa, #f3dce3); text-align: center; }
  .product-photo-placeholder span { font-family: 'BSC Script', 'Brush Script MT', cursive; font-size: 2.7rem; }
  .product-photo-placeholder small { color: var(--muted); }
  .product-card-info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 16px; }
  .product-card h3, .product-card p { margin: 0 0 6px; }
  .product-card h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.2rem; }
  .product-card p { flex: 1; color: var(--muted); font-size: .84rem; }
  .product-category { margin-bottom: 5px; color: var(--pink-dark); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .product-price { margin: 8px 0 12px; color: var(--pink-dark); font-size: 1.05rem; }
  .quantity-controls { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
  .quantity-controls button { display: grid; place-items: center; width: 34px; min-height: 34px; margin: 0; padding: 0; border-radius: 50%; }
  .quantity-controls span { min-width: 22px; text-align: center; font-weight: 800; }
  .product-photo-dialog { width: min(92vw, 760px); max-height: 90vh; padding: 0; overflow: hidden auto; border: 0; border-radius: 20px; color: var(--burgundy); background: #fffaf8; box-shadow: 0 24px 80px rgba(56,24,34,.35); }
  .product-photo-dialog::backdrop { background: rgba(45,24,31,.72); backdrop-filter: blur(4px); }
  .product-photo-dialog img { display: block; width: 100%; max-height: 78vh; object-fit: contain; background: #f4efed; }
  .product-photo-dialog > div { padding: 18px 22px 24px; }
  .product-photo-dialog h3, .product-photo-dialog p { margin: 0 0 7px; }
  .product-photo-dialog p { color: var(--muted); }
  .photo-dialog-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; min-height: 42px; margin: 0; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(81,43,53,.88); font-size: 1.5rem; }
  .cart-box, .payment-panel { margin: 18px 0; padding: 16px; border: 1px solid #dba9b8; border-radius: 12px; background: #fff7f9; }
  .cart-box h3, .payment-panel h3 { margin-top: 0; }
  .cart-line, .cart-total { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
  .cart-total { margin-top: 8px; border-top: 1px solid var(--line); font-size: 1.1rem; }
  [hidden] { display: none !important; }
  .owner-body { min-height: 100vh; }
  .owner-shell { width: min(100% - 28px, 1180px); margin: 0 auto; padding: 32px 0 60px; }
  .owner-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 22px; }
  .owner-header .intro { margin-bottom: 0; }
  .version-badge { background: var(--pink-soft); border: 1px solid #dba9b8; border-radius: 999px; padding: 7px 12px; font-weight: 700; white-space: nowrap; }
  .report-help, .filters, .report-card, .metric {
    background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 8px 24px rgba(81, 43, 53, .07);
  }
  .report-help { padding: 18px 22px; margin-bottom: 18px; }
  .report-help h2, .report-card h2 { margin: 0 0 6px; font-family: Georgia, 'Times New Roman', serif; }
  .report-help ol { margin: 8px 0; padding-left: 22px; }
  .report-help p, .report-card p { color: var(--muted); }
  .filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; padding: 16px; margin-bottom: 18px; }
  .filters label { margin: 0; }
  .filters input { width: auto; min-width: 160px; }
  .filters button { width: auto; margin: 0; padding: 0 24px; }
  .metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
  .metric { padding: 18px; }
  .metric span { display: block; color: var(--muted); font-size: .84rem; }
  .metric strong { display: block; margin-top: 4px; font-family: Georgia, 'Times New Roman', serif; font-size: 1.55rem; }
  .report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .readiness-grid { margin-bottom: 18px; }
  .report-card { min-width: 0; padding: 20px; }
  .report-card > p { margin: 0 0 14px; }
  .wide-card { margin-top: 18px; }
  .table-wrap { overflow-x: auto; }
  table { width: 100%; border-collapse: collapse; font-size: .9rem; }
  th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
  th { color: var(--pink-dark); background: #faedf1; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
  .empty-state { padding: 14px; border-radius: 9px; background: #fbf1f4; }
  .report-meta { color: var(--muted); font-size: .78rem; text-align: right; }
  .status-list { list-style: none; margin: 0; padding: 0; }
  .status-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .status-list li:last-child { border-bottom: 0; }
  .status-list li > div { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
  .status-list p { margin: 4px 0 0; font-size: .82rem; }
  .status-pill { flex: 0 0 auto; border-radius: 999px; padding: 3px 8px; font-size: .65rem; font-weight: 800; letter-spacing: .03em; }
  .status-working, .status-connected { color: #fff; background: var(--pink); }
  .status-connected-empty { color: #672c40; background: var(--pink-soft); }
  .status-partial { color: #67411f; background: #f7dfc8; }
  .status-not-built { color: #51484b; background: #e5e1e2; }
  .status-not-connected, .status-missing, .status-needs-setup { color: #6d211d; background: #f5dcd9; }
  .admin-nav { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,250,248,.96); box-shadow: 0 6px 18px rgba(81,43,53,.08); }
  .admin-nav a { border-radius: 999px; padding: 7px 12px; color: var(--pink-dark); background: var(--pink-soft); font-size: .82rem; font-weight: 800; text-decoration: none; }
  .admin-section { scroll-margin-top: 74px; margin: 0 0 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 8px 24px rgba(81,43,53,.07); }
  .admin-section-heading { margin: 0; }
  .admin-section-toggle { display: flex; justify-content: space-between; align-items: center; gap: 18px; width: 100%; min-height: 66px; margin: 0; padding: 17px 22px; border-radius: 0; color: var(--burgundy); background: var(--paper); font-family: Georgia, 'Times New Roman', serif; font-size: 1.35rem; text-align: left; }
  .admin-section-toggle:hover { color: var(--pink-dark); background: #fbf1f4; }
  .admin-section.is-open .admin-section-toggle { background: #f8e3e9; }
  .admin-section-toggle-icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid #dba9b8; border-radius: 50%; color: var(--pink-dark); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 1.3rem; line-height: 1; }
  .admin-section-body { padding: 4px 22px 22px; }
  .admin-section-body > p { color: var(--muted); }
  .admin-section-body > .filters { margin-top: 14px; }
  .save-confirmation { align-self: center; margin: 8px 0 0; color: var(--pink-dark); font-size: .86rem; font-weight: 800; }
  .saved-button { background: var(--pink-dark); }
  .owner-product-image { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid #dba9b8; border-radius: 12px; background: #fff; }
  .owner-product-image img { width: 110px; height: 90px; object-fit: contain; border-radius: 8px; background: #f8f2f0; }
  .owner-product-image a, #productTable a { color: var(--pink-dark); font-weight: 800; }
  .admin-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; padding: 16px; border-radius: 12px; background: #fbf1f4; }
  .admin-form label:not(.check-row) { margin: 0; }
  .admin-form input[type='number'], .admin-form input[type='time'] { width: 100%; min-height: 48px; border: 1px solid #bdb2a1; border-radius: 10px; padding: 10px 12px; color: var(--burgundy); background: #fff; font: inherit; }
  .admin-form .check-row { align-self: center; margin: 22px 0 0; }
  .wide-field { grid-column: 1 / -1; }
  .form-actions { grid-column: 1 / -1; display: flex; gap: 10px; }
  .form-actions button, .order-actions button { width: auto; padding: 0 18px; }
  .secondary-button { color: var(--pink-dark); background: #fff; border: 1px solid var(--pink); }
  .secondary-button:hover { color: #fff; }
  .danger-button { background: var(--danger); }
  .small-button { width: auto; min-height: 34px; margin: 0; padding: 4px 10px; font-size: .78rem; }
  .order-board { display: grid; gap: 12px; }
  .order-card { padding: 16px; border: 1px solid var(--line); border-left: 7px solid #c7bdc0; border-radius: 12px; background: #fff; }
  .order-card-title { display: flex; justify-content: space-between; gap: 12px; }
  .order-card h3 { margin: 0; }
  .order-card p { margin: 7px 0; color: var(--muted); }
  .order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .status-border-awaiting-verification, .status-border-in-preparation { border-left-color: #d89a52; }
  .status-border-paid, .status-border-ready-for-pickup, .status-border-completed { border-left-color: var(--pink); }
  .status-border-cancelled, .status-border-refunded { border-left-color: var(--danger); }
  @media (max-width: 850px) {
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-grid { grid-template-columns: 1fr; }
    .admin-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog { grid-template-columns: 1fr; }
  }
  @media (max-width: 520px) {
    .rewards-heading-row { display: block; }
    .member-status { display: inline-block; margin-top: 10px; }
    .reward-detail-grid { grid-template-columns: 1fr; }
    .owner-header { display: block; }
    .version-badge { display: inline-block; margin-top: 14px; }
    .metric-grid { grid-template-columns: 1fr; }
    .filters { display: block; }
    .filters label { margin-top: 10px; }
    .filters input, .filters button { width: 100%; }
    .filters button { margin-top: 14px; }
    .admin-form { grid-template-columns: 1fr; }
    .wide-field, .form-actions { grid-column: 1; }
    .admin-nav { position: static; }
    .featured-menu-heading { display: block; }
    .featured-menu-heading > p { margin-top: 5px; }
    .featured-menu-grid { grid-template-columns: 1fr; }
    .featured-menu-card { display: block; }
    .featured-menu-card img { height: auto; }
    .featured-menu-card > span { align-items: center; }
    .product-card { display: flex; flex-direction: column; }
    .product-card-media, .product-photo-button, .product-photo-button img, .product-photo-placeholder { min-height: 0; height: auto; }
  }

  @font-face {
    font-family: 'BSC Script';
    src: url('/fonts/bsc-script.woff') format('woff');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
  }
  .customer-body { background: #fff7fa; }
  .storefront-hero {
    min-height: 610px;
    padding: 22px clamp(18px, 6vw, 80px) 70px;
    background:
      linear-gradient(90deg, rgba(255,247,250,.97) 0 45%, rgba(255,247,250,.62) 68%, rgba(255,247,250,.18)),
      url('/art/storefront-hero.jpg') center / cover;
    border-bottom: 1px solid #e9b9ca;
  }
  .storefront-nav {
    display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px;
    width: min(1180px, 100%); margin: 0 auto; padding: 8px;
    border: 1px solid rgba(168,79,106,.18); border-radius: 999px;
    background: rgba(255,250,252,.88); backdrop-filter: blur(8px);
  }
  .storefront-nav a { padding: 9px 14px; border-radius: 999px; color: var(--pink-dark); font-size: .83rem; font-weight: 800; text-decoration: none; }
  .storefront-nav a:hover { color: white; background: var(--pink); }
  .hero-copy { width: min(620px, 100%); margin: 120px auto 0; transform: translateX(-28%); }
  .hero-copy h1, .script-heading { font-family: 'BSC Script', 'Brush Script MT', cursive; font-weight: 400; }
  .hero-copy h1 { max-width: 620px; color: #6d1b31; font-size: clamp(4rem, 9vw, 7.7rem); line-height: .82; }
  .hero-copy > p:not(.eyebrow) { max-width: 540px; color: #6d4955; font-family: Georgia, serif; font-size: clamp(1.05rem, 2.1vw, 1.35rem); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
  .button-link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 20px; border-radius: 999px; color: white; background: var(--pink); font-weight: 800; text-decoration: none; }
  .button-link:hover { background: var(--pink-dark); }
  .secondary-link { color: var(--pink-dark); background: #fff; border: 1px solid var(--pink); }
  .storefront-shell { width: min(1120px, calc(100% - 28px)); margin: -42px auto 0; padding-bottom: 70px; position: relative; }
  .service-card { scroll-margin-top: 20px; margin: 0 0 26px; padding: clamp(24px, 5vw, 52px); border: 1px solid #e8bfd0; border-radius: 28px; background: rgba(255,252,252,.97); box-shadow: 0 18px 48px rgba(109,27,49,.11); }
  .service-card:nth-child(even) { background: linear-gradient(145deg, #fffdfd, #fff0f5); }
  .section-heading { max-width: 760px; margin-bottom: 28px; }
  .section-heading h2 { margin: 0; color: #6d1b31; font-family: 'BSC Script', 'Brush Script MT', cursive; font-size: clamp(2.7rem, 6vw, 4.5rem); font-weight: 400; line-height: .95; }
  .section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; }
  .customer-form { display: grid; gap: 16px 18px; }
  .two-column-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .customer-form label:not(.check-row) { margin: 0; color: var(--burgundy); font-weight: 700; }
  .customer-form input[type='text'], .customer-form input[type='email'], .customer-form input[type='date'],
  .customer-form input[type='tel'], .customer-form input[type='password'], .customer-form input[type='time'], .customer-form input[type='number'],
  .customer-form input[type='file'], .customer-form select, .customer-form textarea {
    display: block; width: 100%; min-height: 50px; margin-top: 7px; border: 1px solid #d4aebc;
    border-radius: 13px; padding: 11px 13px; color: var(--burgundy); background: #fff; font: inherit;
  }
  .customer-form input:focus, .customer-form select:focus, .customer-form textarea:focus { outline: 3px solid rgba(216,111,150,.22); border-color: var(--pink); }
  .customer-form .form-actions { display: flex; grid-column: 1 / -1; }
  .customer-form .form-actions button { width: auto; min-width: 230px; padding-inline: 26px; }
  .file-field { padding: 14px; border: 1px dashed #cf8da6; border-radius: 15px; background: #fff7fa; }
  .file-field input[type='file'] { padding: 9px; }
  .cake-intro-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; align-items: start; }
  .cake-process { display: grid; gap: 10px; padding: 18px; border-radius: 18px; color: #6d1b31; background: #f8dce7; counter-reset: cake-step; }
  .cake-process span { padding: 9px 11px; border-radius: 10px; background: rgba(255,255,255,.72); font-weight: 800; }
  .cake-confirmation, .cake-status-result { margin-top: 24px; padding: 24px; border: 1px solid #d895ae; border-radius: 18px; background: #fff5f8; }
  .cake-confirmation h3, .cake-status-result h3 { margin: 0; font-family: Georgia, serif; font-size: 1.6rem; }
  .lookup-form { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .lookup-form button { width: auto; min-width: 160px; margin: 0; padding-inline: 18px; }
  .cake-status-heading-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
  .cake-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin: 20px 0; }
  .cake-summary-grid div { padding: 12px; border-radius: 11px; background: white; }
  .cake-summary-grid span, .cake-summary-grid strong { display: block; }
  .cake-summary-grid span { color: var(--muted); font-size: .75rem; }
  .cake-timeline { margin: 12px 0 24px; padding-left: 24px; }
  .cake-timeline li { margin: 0 0 10px; padding: 10px 12px; border-left: 3px solid var(--pink); background: white; }
  .cake-timeline p { margin: 4px 0 0; }
  .cake-status-new-request, .cake-status-customer-approved, .cake-status-deposit-paid, .cake-status-design-confirmed,
  .cake-status-in-production, .cake-status-ready-for-pickup, .cake-status-completed { color: white; background: var(--pink); }
  .cake-status-needs-information, .cake-status-quote-sent { color: #67411f; background: #f7dfc8; }
  .cake-status-reviewing-design { color: #49324f; background: #eadcf0; }
  .cake-status-cancelled { color: #692b27; background: #e6b8af; }
  .storefront-footer { padding: 44px 18px; color: white; background: #6d1b31; text-align: center; }
  .storefront-footer .script-heading { margin: 0; font-size: 3rem; }
  .storefront-footer p:last-child { margin: 2px 0 0; color: #f4c9d8; }
  .cake-admin-grid { display: grid; gap: 14px; }
  .cake-admin-card { border-left-color: #d45b87; }
  .cake-admin-card details { margin-top: 12px; }
  .cake-admin-card summary { cursor: pointer; color: var(--pink-dark); font-weight: 800; }
  .cake-file-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
  .cake-file-links a { padding: 6px 10px; border-radius: 999px; color: var(--pink-dark); background: var(--pink-soft); font-size: .78rem; font-weight: 800; text-decoration: none; }
  .cake-update-list { max-height: 260px; overflow: auto; margin: 10px 0; padding-left: 20px; }
  @media (max-width: 850px) {
    .hero-copy { margin-top: 90px; transform: none; }
    .storefront-hero { min-height: 560px; background-position: 60% center; }
    .cake-intro-grid { grid-template-columns: 1fr; }
    .lookup-form { grid-template-columns: 1fr 1fr; }
    .lookup-form button { width: 100%; grid-column: 1 / -1; }
  }
  @media (max-width: 620px) {
    .storefront-nav { justify-content: center; border-radius: 18px; }
    .storefront-nav a { padding: 7px 9px; font-size: .73rem; }
    .storefront-hero { min-height: 600px; padding-inline: 16px; background-position: 66% center; }
    .hero-copy { margin-top: 105px; padding: 18px; border-radius: 22px; background: rgba(255,248,251,.82); backdrop-filter: blur(5px); }
    .hero-copy h1 { font-size: clamp(3.5rem, 18vw, 5.2rem); }
    .storefront-shell { margin-top: -24px; }
    .service-card { padding: 24px 18px; border-radius: 22px; }
    .two-column-form, .lookup-form, .cake-summary-grid { grid-template-columns: 1fr; }
    .wide-field, .customer-form .form-actions, .lookup-form button { grid-column: 1; }
    .customer-form .form-actions button, .lookup-form button { width: 100%; min-width: 0; }
    .hero-actions .button-link { width: 100%; }
  }
  #app .section-heading h2 { margin-top: 22px; line-height: 1.08; }
  .desk-hero { min-height: 340px; padding-bottom: 56px; }
  .desk-hero .hero-copy { margin-top: 28px; transform: none; }
  .desk-hero .hero-copy h1 { font-size: clamp(3.2rem, 8vw, 5.4rem); }
  .order-desk { display: grid; gap: 16px; }
  .order-card, .order-alert { display: grid; gap: 8px; margin: 0; padding: 18px; border: 1px solid #e8bfd0; border-radius: 18px; background: #fff; }
  .order-card h2, .order-alert strong { margin: 0; color: #6d1b31; font-family: Georgia, 'Times New Roman', serif; font-size: 1.6rem; }
  .order-card p, .order-alert p { margin: 0; }
  .order-card.fresh { outline: 3px solid var(--pink); }
  .order-alert { background: #f8dce7; }
  .order-desk button { width: auto; min-width: 180px; }
  body.menu-page { background: #fff7fa; }
  body.menu-page .storefront-nav { width: min(1120px, calc(100% - 28px)); margin: 16px auto 0; }
  body.menu-page .storefront-shell { margin-top: 18px; }
