@font-face{
  font-family:"DF Comfortaa";
  src:url("/df-comfortaa-latin.woff2") format("woff2");
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
}

/* Final Bloom staff polish. This layer changes presentation only. */
:root {
  --df-app-forest: #123728;
  --df-app-forest-soft: #285441;
  --df-app-paper: #fffdf8;
  --df-app-cream: #fff4e2;
  --df-app-pink: #ff4fa3;
  --df-app-coral: #ff6b2e;
  --df-app-lavender: #b28ae3;
  --df-app-palm: #7a8f4a;
  --df-app-sun: #ffd65a;
  --df-app-ink: #17382c;
  --df-app-muted: #65756d;
  --df-app-line: rgba(18, 55, 40, 0.14);
  --df-app-shadow: 0 14px 36px rgba(18, 55, 40, 0.09);
}

html {
  color-scheme: light;
  background: var(--df-app-cream);
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--df-app-ink);
  background-color: #f4f7f1;
  background-image:
    linear-gradient(45deg, rgba(18, 55, 40, 0.022) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(18, 55, 40, 0.022) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(18, 55, 40, 0.022) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(18, 55, 40, 0.022) 75%);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
  overscroll-behavior-y: none;
}

button,
a,
input,
select,
textarea,
[role="button"] {
  touch-action: manipulation;
}

::selection {
  background: rgba(255, 79, 163, 0.24);
  color: var(--df-app-forest);
}

input,
select,
textarea {
  border-color: var(--df-app-line);
  background: rgba(255, 253, 248, 0.94);
  color: var(--df-app-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--df-app-pink);
  outline: 3px solid rgba(255, 79, 163, 0.13);
  box-shadow: 0 0 0 1px rgba(255, 79, 163, 0.08);
}

button,
.button,
.btn,
input[type="submit"] {
  border-color: rgba(18, 55, 40, 0.16);
  box-shadow: 0 8px 18px rgba(18, 55, 40, 0.08);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

button:hover,
.button:hover,
.btn:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 55, 40, 0.28);
  box-shadow: 0 11px 24px rgba(18, 55, 40, 0.12);
}

button:active,
.button:active,
.btn:active,
input[type="submit"]:active {
  transform: translateY(0);
}

.card,
.panel,
.section-card,
.form-card,
.stat-card,
.order-card,
.product-card,
.phone-card,
.reminder-card,
.table-card,
.surface {
  border-color: var(--df-app-line);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--df-app-shadow);
}

.badge,
.pill,
.status,
.tag,
.chip {
  border-color: rgba(18, 55, 40, 0.14);
  background: rgba(122, 143, 74, 0.1);
  color: var(--df-app-forest);
}

table {
  border-color: var(--df-app-line);
  background: rgba(255, 253, 248, 0.94);
}

th {
  color: var(--df-app-forest);
  background: rgba(122, 143, 74, 0.08);
}

tr,
td,
th {
  border-color: rgba(18, 55, 40, 0.1);
}

tbody tr:hover {
  background: rgba(255, 244, 226, 0.64);
}

.app-header,
.topbar,
.site-header,
.mobile-header {
  border-color: var(--df-app-line);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 8px 28px rgba(18, 55, 40, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sidebar,
.drawer,
.nav-drawer {
  border-color: var(--df-app-line);
  background: rgba(255, 253, 248, 0.98);
}

.sidebar a:hover,
.drawer a:hover,
.nav-drawer a:hover,
.nav-link:hover {
  background: rgba(122, 143, 74, 0.1);
  color: var(--df-app-forest);
}

.sidebar a[aria-current="page"],
.drawer a[aria-current="page"],
.nav-link.is-active,
.nav-link.active {
  background: rgba(255, 79, 163, 0.1);
  color: var(--df-app-forest);
  box-shadow: inset 3px 0 0 var(--df-app-pink);
}

.flash,
.notice,
.alert {
  border-color: rgba(18, 55, 40, 0.14);
  box-shadow: 0 10px 24px rgba(18, 55, 40, 0.08);
}

.modal,
.dialog,
[role="dialog"] {
  border-color: var(--df-app-line);
  background: var(--df-app-paper);
  box-shadow: 0 24px 70px rgba(18, 55, 40, 0.2);
}

.reminder-public,
.custom-request-public,
body.reminder-public,
body.custom-request-public {
  color: var(--df-app-ink);
  background-color: #f4f7f1;
  background-image:
    linear-gradient(45deg, rgba(18, 55, 40, 0.022) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(18, 55, 40, 0.022) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(18, 55, 40, 0.022) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(18, 55, 40, 0.022) 75%);
  background-size: 20px 20px;
}

@media (prefers-reduced-motion: reduce) {
  button,
  .button,
  .btn,
  input,
  select,
  textarea {
    transition: none;
  }
}

@font-face{
  font-family:"DF Assistant";
  src:url("/df-assistant-latin.woff2") format("woff2");
  font-style:normal;
  font-weight:300 800;
  font-display:swap;
}

:root{
  --font-display:"DF Comfortaa","Comfortaa",ui-rounded,sans-serif;
  --font-body:"DF Assistant","Assistant",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --ink:#271f3d;
  --muted:#777187;
  --cream:#fffaf1;
  --surface:#ffffff;
  --line:#e8dfd5;
  --green:#3f3c39;
  --green-soft:#f1eee9;
  --pink:#f5d5df;
  --purple:#8b56df;
  --yellow:#fff4bc;
  --danger:#b73555;
  --shadow:0 16px 40px rgba(39,31,61,.10);
  --radius:22px;
}

html body,
html body button,
html body input,
html body select,
html body textarea{
  font-family:var(--font-body) !important;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6{
  font-family:var(--font-display) !important;
  letter-spacing:0;
}
*{box-sizing:border-box}
html{background:var(--cream); color:var(--ink); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;}
body{margin:0; min-height:100vh; background:linear-gradient(140deg,#fffaf1,#f8fff1 45%,#fff0f8);}
a{color:inherit; text-decoration:none} button,input{font:inherit}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
.hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.hero-actions form{margin:0}
.app-header{position:sticky;top:0;z-index:20;height:66px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;background:rgba(255,250,241,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(39,31,61,.08)}
.brand{display:flex;align-items:center;gap:9px;font-weight:900;letter-spacing:0}.brand span{color:#df5b9c;font-size:23px}.top-actions{display:flex;gap:14px;align-items:center;font-size:14px;font-weight:800}.top-actions a,.link-button{border:0;background:transparent;color:var(--ink);font-weight:800;padding:8px 0}.page{max-width:820px;margin:0 auto;padding:20px 16px 42px}.narrow{max-width:540px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:30px;padding:28px;box-shadow:var(--shadow)}.brand-dot{font-size:34px;color:#df5b9c}.login-card h1,.hero-line h1,.detail-hero h1{margin:4px 0 8px;font-size:34px;line-height:.95;letter-spacing:0}.login-card p,.subtle{color:var(--muted)}.stack{display:grid;gap:14px}label{display:grid;gap:7px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}input{width:100%;border:1px solid var(--line);border-radius:16px;padding:13px 14px;background:#fff}.alert{background:#fff0f3;color:#9d2340;border:1px solid #ffd1dc;border-radius:14px;padding:10px;margin:12px 0}.btn{border:1px solid var(--line);border-radius:999px;background:#fff;padding:12px 18px;font-weight:900;text-transform:uppercase;font-size:12px;letter-spacing:.05em;cursor:pointer}.btn-primary{background:linear-gradient(90deg,#7446e8,#e369a5);color:#fff;border-color:transparent}.btn-green,.round-action{background:#6f6b66;color:white;border-color:transparent}.btn-danger{background:#fff0f3;color:#aa2547}.btn-outline{background:transparent}.wide{display:block;text-align:center;margin-top:16px}.hero-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0 14px}.hero-line.compact{justify-content:center}.eyebrow{margin:0 0 6px;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.13em;color:#6a5e79}.date-nav{display:flex;gap:8px;align-items:center}.date-nav a,.nav-arrow{display:grid;place-items:center;min-width:42px;height:42px;border:1px solid var(--line);border-radius:16px;background:#fff;font-size:22px;font-weight:900}.date-nav .today{font-size:12px;padding:0 14px}.pills{display:flex;gap:8px;overflow-x:auto;padding:6px 0 14px;margin-bottom:8px}.pill{white-space:nowrap;background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 13px;font-weight:850}.pill b{margin-left:7px;background:#f2ebff;border-radius:999px;padding:2px 8px}.pill.green{background:var(--green-soft);color:#4c4844;border-color:#ddd6ce}.pill.danger{background:#fff0f3;color:#b73555}.order-group{margin:18px 0}.group-title{display:flex;align-items:center;gap:10px;background:rgba(255,255,255,.74);border:1px solid var(--line);border-radius:16px;padding:12px 14px;margin-bottom:8px}.group-title span{color:#7b7586}.group-title strong{flex:1;font-size:18px}.group-title em{font-style:normal;background:#f2ebff;border-radius:10px;padding:4px 10px;font-weight:900}.order-list{display:grid;gap:8px}.order-card{display:grid;grid-template-columns:76px 1fr;background:rgba(255,255,255,.92);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(39,31,61,.05)}.order-card.status-arranging{border-color:#f7c76c}.order-card.status-manager_notified,.order-card.status-ready{background:#fbf8f2;border-color:#ddd6ce}.order-card.status-issue{border-color:#ffb1c2;background:#fff5f7}.quick-col{display:grid;place-items:center;border-right:1px solid var(--line);background:linear-gradient(180deg,#fbf8f2,#fff)}.round-action,.round-done{width:44px;height:44px;border-radius:999px;border:0;display:grid;place-items:center;font-size:25px;font-weight:900}.round-done{background:#f1eee9;color:#6f6b66}.tiny-link{font-size:11px;font-weight:900;color:var(--muted)}.order-main{display:block;padding:13px}.order-meta,.item-line,.card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-meta strong{font-size:18px}.photo-badge{font-weight:900;color:#8b56df}.item-title{font-size:18px;color:#8b56df;font-weight:900}.item-title em{font-style:normal;font-size:.9em;color:#8b56df}.item-line span:last-child{font-weight:900}.addons-line{margin:6px 0;color:#645d72;font-size:13px}.gift-line,.note-line{margin:7px 0 0;border-radius:10px;padding:6px 9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.gift-line{background:#fff0f8;color:#9d2a61}.note-line{background:#fff7d8;color:#87631e}.card-foot{font-size:12px;color:var(--muted);font-weight:850;margin-top:10px}.empty-state{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;text-align:center;box-shadow:var(--shadow)}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden}.cal-head,.cal-day{min-height:78px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px}.cal-head{min-height:auto;background:#fffaf5;font-size:11px;font-weight:950;text-align:center;color:var(--muted)}.cal-day:nth-child(7n){border-right:0}.cal-date{font-weight:900}.cal-muted{opacity:.35}.cal-chip{display:block;font-size:10px;margin-top:4px;border-radius:6px;padding:3px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-exact{background:#f2ebff}.cal-pickup{background:#fff2c7}.cal-ready{background:#f1eee9}.cal-issue{background:#fff0f3;color:#aa2547}.center-title{text-align:center}.detail-hero,.card-block{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;margin:12px 0;box-shadow:0 10px 28px rgba(39,31,61,.04)}.detail-hero{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.status-chip{background:#f2ebff;border-radius:999px;padding:8px 12px;font-weight:900;font-size:12px}.detail-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}.detail-item{display:grid;grid-template-columns:64px 1fr;gap:12px;border-top:1px solid var(--line);padding:12px 0}.detail-item:first-of-type{border-top:0}.detail-item img,.item-placeholder{width:64px;height:64px;border-radius:14px;object-fit:cover;background:#fff8ed;display:grid;place-items:center;color:#e35b9a;font-size:30px}.detail-item p{margin:3px 0;color:var(--muted)}.photo-form{display:grid;gap:9px}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.photo-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px}.gift-box{background:#fff0f8;color:#9d2a61;border-radius:14px;padding:12px}.timeline{display:grid;gap:8px}.timeline div{border-left:4px solid #e6d8ff;padding:6px 0 6px 10px}.timeline strong{display:block}.timeline span{display:block;color:var(--muted)}.timeline small{font-size:11px;color:#aaa}.print-only{display:none}
@media (min-width:760px){.page{padding-top:32px}.order-list{grid-template-columns:1fr 1fr}.detail-actions{grid-template-columns:repeat(3,1fr)}}
@media print{body:not(.gift-card-page)>*:not(.order-detail){display:none!important}.app-header,.detail-actions,.proof-block,.print-card>button,.top-actions,.wide{display:none!important}.card-block:not(.print-card){display:none!important}.print-card{box-shadow:none;border:0}.print-only{display:block!important}.gift-print{text-align:center;font-family:Georgia,serif;font-size:28px;padding:80px}.gift-print h1{font-size:22px;text-transform:uppercase;letter-spacing:.12em}}
.import-box .csv-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.import-box input[type="file"] {
  border: 1px solid rgba(36, 45, 25, .18);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}
.alert-error, .alert-success {
  border-radius: 18px;
  padding: 12px 14px;
  margin: 14px 0 0;
  font-weight: 800;
}
.alert-error { background: #ffe7eb; color: #8b1d31; }
.alert-success { background: #e9ffe8; color: #1f5b2f; }

/* v1.5 operational upgrades */
.stage-pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;border:1px solid transparent}
.stage-pill i{width:8px;height:8px;border-radius:999px;display:inline-block;background:currentColor}
.stage-new{background:#f2f2f0;color:#6f6b72;border-color:#e2dfdc}
.stage-ready{background:#e8faee;color:#4c4844;border-color:#ddd6ce}
.stage-out{background:#e8f5ff;color:#1975ad;border-color:#bce0ff}
.stage-delivered{background:#f1eaff;color:#7b4ad9;border-color:#dacaff}
.stage-issue{background:#fff0f3;color:#b73555;border-color:#ffc2ce}
.stage-bg-ready{background:#26c767;color:#fff}.stage-bg-out{background:#4eb6f0;color:#fff}.stage-bg-delivered{background:#8b56df;color:#fff}.stage-bg-new{background:#ddd;color:#544d5e}.stage-bg-issue{background:#b73555;color:#fff}
.order-small-price{font-size:12px;color:#6f6b72;font-weight:950;background:#fff7e6;border:1px solid #f2dfb8;border-radius:999px;padding:3px 8px;white-space:nowrap}.dashboard-item-row{display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:center;margin-top:8px}.dash-product-thumb{width:52px;height:52px;border-radius:14px;object-fit:cover;background:#fff8ed;display:grid;place-items:center;color:#e35b9a;font-size:24px;border:1px solid var(--line)}.thumb-placeholder{font-weight:900}.order-meta{flex-wrap:wrap}.detail-price{font-weight:950;color:var(--green)}
.status-chip{display:inline-flex;align-items:center;gap:6px}.status-chip i{width:9px;height:9px;border-radius:999px;background:currentColor;display:inline-block}.photo-form input[type="file"]{border:1px solid var(--line);border-radius:16px;background:#fffaf5;padding:13px}.gallery-grid{display:grid;grid-template-columns:1fr;gap:14px}.gallery-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 10px 28px rgba(39,31,61,.06)}.gallery-card img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.gallery-info{padding:12px 14px}.gallery-top,.gallery-foot{display:flex;align-items:center;justify-content:space-between;gap:8px}.gallery-info p{margin:7px 0;color:var(--muted);font-weight:800}.gallery-foot span{font-weight:950}.gallery-foot a{font-size:12px;font-weight:950;color:#8b56df}.total-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0}.total-cards div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 10px 28px rgba(39,31,61,.04)}.total-cards span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:950}.total-cards strong{font-size:26px}.totals-columns{display:grid;gap:12px}.total-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;gap:10px;align-items:center;border-top:1px solid var(--line);padding:12px 0}.total-row:first-of-type{border-top:0}.total-row img,.item-placeholder.small{width:46px;height:46px;border-radius:12px;object-fit:cover;background:#fff8ed;display:grid;place-items:center;color:#e35b9a;border:1px solid var(--line)}.total-row p{margin:3px 0 0;color:var(--muted);font-size:12px}.total-row span{font-size:12px;color:var(--muted);font-weight:850}.total-row b{white-space:nowrap}.delivery-row{grid-template-columns:minmax(0,1fr) auto}.totals-nav .today{min-width:92px;text-align:center}.wide{width:100%}
@media (min-width:760px){.gallery-grid{grid-template-columns:repeat(3,1fr)}.totals-columns{grid-template-columns:1fr 1fr}.total-cards{grid-template-columns:repeat(4,1fr)}}

/* v1.6 sidebar navigation + live sync */
body.has-sidebar{padding-top:64px}
.mobile-menu-toggle{position:fixed;top:0;left:0;right:0;height:64px;z-index:60;display:flex;align-items:center;gap:10px;padding:0 16px;border:0;border-bottom:1px solid rgba(39,31,61,.08);background:rgba(255,250,241,.92);backdrop-filter:blur(16px);color:var(--ink);font-weight:950;letter-spacing:0}.mobile-menu-toggle span{font-size:24px}.mobile-menu-toggle em{margin-left:auto;width:10px;height:10px;border-radius:999px;background:#27c76f;box-shadow:0 0 0 4px rgba(39,199,111,.16)}.mobile-menu-toggle em.syncing{background:#f2b84b}.mobile-menu-toggle em.error{background:#d83b5b}.mobile-menu-toggle em.warning{background:#f2b84b}
.side-nav{position:fixed;inset:0 auto 0 0;width:min(86vw,330px);z-index:80;transform:translateX(-104%);transition:transform .22s ease;background:linear-gradient(180deg,#3f3c39,#272522);color:#fff;display:flex;flex-direction:column;padding:18px;box-shadow:22px 0 48px rgba(39,31,61,.25)}.menu-open .side-nav{transform:translateX(0)}.drawer-overlay{position:fixed;inset:0;z-index:70;background:rgba(39,31,61,.38);opacity:0;pointer-events:none;transition:opacity .2s ease}.menu-open .drawer-overlay{opacity:1;pointer-events:auto}.side-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}.side-brand strong{display:block;font-size:21px;line-height:1;font-weight:950}.side-brand small{display:block;color:rgba(255,255,255,.68);font-weight:800;margin-top:3px}.side-flower{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:#fff;color:#e369a5;font-size:24px;box-shadow:0 10px 22px rgba(0,0,0,.16)}.side-close{margin-left:auto;border:0;background:rgba(255,255,255,.11);color:#fff;width:38px;height:38px;border-radius:14px;font-size:22px}.side-links{display:grid;gap:8px}.side-links a,.side-action{display:flex;align-items:center;gap:12px;width:100%;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);color:#fff;border-radius:17px;padding:13px 14px;font-weight:900;text-align:left}.side-links a span,.side-action span{width:24px;text-align:center;opacity:.92}.side-links a.active{background:#fff;color:var(--green);border-color:#fff;box-shadow:0 12px 26px rgba(0,0,0,.18)}.side-user{margin-top:18px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.06);border-radius:18px;padding:13px 14px}.side-user strong{display:block}.side-user span,.side-user small{display:block;color:rgba(255,255,255,.68);font-size:12px;margin-top:3px}.side-bottom{margin-top:auto;display:grid;gap:8px}.side-bottom form{margin:0}.side-action{cursor:pointer;font:inherit}.side-action.logout{background:rgba(255,128,154,.13);border-color:rgba(255,128,154,.25)}.side-action[disabled]{opacity:.55;cursor:wait}.back-chip{display:inline-flex;align-items:center;gap:8px;margin:4px 0 10px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;font-weight:950;color:var(--green);box-shadow:0 8px 22px rgba(39,31,61,.04)}
@media (min-width:980px){body.has-sidebar{padding-top:0;padding-left:280px}.mobile-menu-toggle{display:none}.side-nav{transform:none;width:280px;z-index:40;box-shadow:none}.side-close,.drawer-overlay{display:none}.page{max-width:980px;padding-left:22px;padding-right:22px}.narrow{max-width:620px}.order-list{grid-template-columns:1fr 1fr}.gallery-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:480px){.order-card{grid-template-columns:64px 1fr}.quick-col{padding:8px 0}.order-meta strong{font-size:16px}.stage-pill{font-size:9px}.hero-line h1,.detail-hero h1{font-size:29px}.date-nav a,.nav-arrow{min-width:38px;height:38px}.detail-actions{grid-template-columns:1fr 1fr}.total-row{grid-template-columns:42px minmax(0,1fr);gap:9px}.total-row span,.total-row b{margin-left:51px}.total-row b{justify-self:start}.delivery-row{grid-template-columns:1fr auto}.delivery-row b{margin-left:0}}
@media print{.side-nav,.mobile-menu-toggle,.drawer-overlay,.back-chip{display:none!important}body.has-sidebar{padding:0!important}.page{max-width:none!important}}

/* v1.7 status colors, print card, admin/accounting */
.round-action{background:#ddd;color:#544d5e;border:0}.round-action.stage-bg-new{background:#d8d8d8;color:#504a57}.round-action.stage-bg-ready{background:#26c767;color:#fff}.round-action.stage-bg-out{background:#4eb6f0;color:#fff}.round-action.stage-bg-delivered{background:#8b56df;color:#fff}.round-action.stage-bg-issue{background:#b73555;color:#fff}
.quick-col:has(.stage-bg-new){background:linear-gradient(180deg,#f6f6f4,#fff)}.quick-col:has(.stage-bg-ready){background:linear-gradient(180deg,#fbf8f2,#fff)}.quick-col:has(.stage-bg-out){background:linear-gradient(180deg,#eef8ff,#fff)}.quick-col:has(.stage-bg-delivered){background:linear-gradient(180deg,#f4edff,#fff)}
.admin-grid{display:grid;grid-template-columns:1fr;gap:12px;margin:16px 0}.admin-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 10px 28px rgba(39,31,61,.05);display:grid;gap:6px}.admin-card span{font-size:28px}.admin-card strong{font-size:20px}.admin-card p{margin:0;color:var(--muted);font-weight:750;line-height:1.35}.admin-form{display:grid;grid-template-columns:1fr;gap:12px}.admin-form select{width:100%;border:1px solid var(--line);border-radius:16px;padding:13px 14px;background:#fff}.admin-staff-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border-top:1px solid var(--line);padding:12px 0}.admin-staff-row:first-of-type{border-top:0}.admin-staff-row p{margin:3px 0 0;color:var(--muted)}.admin-staff-row form{margin:0}.accounting-cards{grid-template-columns:repeat(2,1fr)}.expense-form{grid-template-columns:1fr}.expense-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;border-top:1px solid var(--line);padding:12px 0}.expense-row:first-of-type{border-top:0}.expense-row p{margin:3px 0 0;color:var(--muted);font-size:12px}.expense-row b{white-space:nowrap}.mini-danger{border:0;border-radius:999px;background:#fff0f3;color:#9d2340;padding:7px 10px;font-size:11px;font-weight:900}.order-account-row{color:inherit}.span-2{grid-column:auto}.print-card .wide{display:inline-flex;justify-content:center;align-items:center;width:auto;margin-top:8px}
.accounting-actions{display:grid;gap:10px;justify-items:end}.accounting-export{min-height:42px;display:inline-flex;align-items:center;justify-content:center;text-align:center}
.admin-run-card{border:1px solid var(--line);text-align:left}.admin-run-card .btn{width:max-content;margin-top:8px}
.reminder-diagnostics h2{margin:0 0 12px}.reminder-admin-list{display:grid;gap:12px;margin-top:14px}.reminder-admin-row{background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px;box-shadow:0 10px 28px rgba(39,31,61,.05)}.reminder-admin-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.reminder-admin-top h2{margin:0;font-size:26px;line-height:1.05}.reminder-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.reminder-admin-grid div{min-width:0;border:1px solid var(--line);border-radius:14px;background:#fffaf5;padding:10px}.reminder-admin-grid span,.reminder-admin-link span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);font-weight:950}.reminder-admin-grid strong{display:block;margin-top:3px;overflow-wrap:anywhere}.reminder-admin-link{display:grid;gap:5px;border:1px solid var(--line);border-radius:14px;padding:10px;margin:10px 0;background:#fff}.reminder-admin-link a{color:#7b4ad9;font-weight:900;overflow-wrap:anywhere}.reminder-admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.reminder-admin-actions form{margin:0}.reminder-admin-actions button[disabled]{opacity:.45;cursor:not-allowed}.reminder-send-history{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;color:var(--muted);font-size:12px;font-weight:850}.reminder-send-history span{background:#f7f4f0;border-radius:999px;padding:5px 9px}.reminder-error{margin:8px 0 0;border-radius:12px;background:#fff0f3;color:#9d2340;padding:8px 10px;font-size:12px;font-weight:800;overflow-wrap:anywhere}
@media (min-width:760px){.admin-grid{grid-template-columns:repeat(2,1fr)}.admin-form{grid-template-columns:repeat(3,1fr)}.admin-form .span-2{grid-column:span 2}.accounting-cards{grid-template-columns:repeat(3,1fr)}}
@media (max-width:480px){.expense-row{grid-template-columns:minmax(0,1fr) auto}.expense-row form{grid-column:1/-1}.admin-staff-row{grid-template-columns:1fr}.admin-staff-row form .btn{width:100%}}
@media (max-width:640px){.accounting-actions{justify-items:stretch}.accounting-export{width:100%}.reminder-admin-grid{grid-template-columns:1fr}.reminder-admin-actions{display:grid}.reminder-admin-actions .btn{width:100%}.reminder-admin-top{display:grid}}

/* sales analytics + data cleanup */
.analytics-page{display:grid;gap:18px}
.analytics-hero{align-items:end}
.analytics-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.analytics-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}
.analytics-filter form{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
.analytics-filter label,.cleanup-cutoff-form label,.cleanup-danger label{display:grid;gap:6px;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:950;color:var(--muted)}
.analytics-filter input,.cleanup-cutoff-form input,.cleanup-danger input{min-height:46px;border:1px solid var(--line);border-radius:14px;background:#fffdf7;padding:0 13px;font-weight:900;color:var(--ink)}
.analytics-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.analytics-kpis article{position:relative;overflow:hidden;border:1px solid rgba(18,55,40,.12);border-radius:24px;background:linear-gradient(145deg,#fffdf8,#fff7eb);padding:18px;box-shadow:0 18px 44px rgba(39,31,61,.07)}
.analytics-kpis article:after{content:"";position:absolute;right:-34px;top:-34px;width:110px;height:110px;border-radius:50%;background:radial-gradient(circle,rgba(226,91,154,.16),rgba(122,143,74,.04) 58%,transparent 62%)}
.analytics-kpis span,.analytics-card-head span{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:950}
.analytics-kpis strong{display:block;margin-top:7px;font-size:34px;line-height:1;color:var(--ink);letter-spacing:-.04em}
.analytics-kpis em{display:block;margin-top:9px;font-style:normal;font-size:12px;font-weight:900;color:var(--muted)}
.analytics-kpis em.is-up{color:#416f2d}.analytics-kpis em.is-down{color:#b44735}
.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.analytics-wide{grid-column:span 2}
.analytics-card{overflow:hidden}
.analytics-card-head{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:8px}
.analytics-card h2{margin-top:0}
.analytics-trend{height:220px;display:flex;align-items:end;gap:4px;padding:16px 8px 8px;border:1px solid rgba(18,55,40,.08);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.65),rgba(255,248,237,.8))}
.trend-day{position:relative;flex:1;min-width:4px;height:100%;display:flex;align-items:end;justify-content:center;border-radius:999px}
.trend-day i,.trend-day b{position:absolute;bottom:0;border-radius:999px 999px 2px 2px;transition:.18s ease}
.trend-day i{width:62%;background:linear-gradient(180deg,#e25b9a,#ec7a30 58%,#7a8f4a);box-shadow:0 10px 22px rgba(226,91,154,.14)}
.trend-day b{width:22%;background:#123728;opacity:.72}
.trend-day:hover i,.trend-day:hover b{filter:saturate(1.1);transform:translateY(-2px)}
.analytics-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;color:var(--muted);font-weight:900;font-size:12px}
.analytics-legend span{display:inline-flex;gap:6px;align-items:center}
.analytics-legend i{width:10px;height:10px;border-radius:999px;display:inline-block}
.legend-revenue{background:#e25b9a}.legend-orders{background:#123728}
.analytics-meter-row{display:grid;gap:8px;padding:12px 0;border-top:1px solid var(--line)}
.analytics-meter-row:first-of-type{border-top:0}
.analytics-meter-row div{display:flex;justify-content:space-between;gap:12px;align-items:end}
.analytics-meter-row strong{font-size:15px}.analytics-meter-row span{font-size:12px;color:var(--muted);font-weight:850;text-align:right}
.analytics-meter-row em,.analytics-product-row em{display:block;position:relative;height:9px;border-radius:999px;background:#f3eee4;overflow:hidden}
.analytics-meter-row em:before,.analytics-product-row em:before{content:"";position:absolute;inset:0 auto 0 0;width:var(--w);border-radius:inherit;background:linear-gradient(90deg,#e25b9a,#ec7a30,#a98bed,#7a8f4a)}
.weekday-bars{height:180px;display:grid;grid-template-columns:repeat(7,1fr);gap:8px;align-items:end;margin-top:14px}
.weekday-bars div{height:100%;display:grid;grid-template-rows:1fr auto;gap:8px;align-items:end;text-align:center;color:var(--muted);font-size:11px;font-weight:950}
.weekday-bars i{align-self:end;display:block;border-radius:999px 999px 6px 6px;background:linear-gradient(180deg,#7a8f4a,#123728);box-shadow:0 14px 28px rgba(18,55,40,.12)}
.funnel-stack{display:grid;gap:10px;margin-top:12px}
.funnel-stack div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:#fffdf8}
.funnel-stack span{font-weight:900;color:var(--muted)}.funnel-stack strong{font-size:24px}
.analytics-product-row{display:grid;grid-template-columns:30px 54px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.analytics-product-row:first-of-type{border-top:0}
.analytics-product-row img{width:54px;height:54px;border-radius:15px;object-fit:cover;border:1px solid var(--line)}
.analytics-product-row .rank{width:30px;height:30px;border-radius:999px;background:#fff1f6;color:#b83d7d;display:grid;place-items:center;font-weight:950;font-size:12px}
.analytics-product-row p{margin:4px 0 8px;color:var(--muted);font-size:12px;font-weight:850}
.analytics-product-row b{white-space:nowrap}
.cleanup-panel{display:grid;gap:18px}
.cleanup-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:end}
.cleanup-cutoff-form{display:flex;gap:10px;align-items:end}
.cleanup-cards{grid-template-columns:repeat(4,1fr)}
.cleanup-danger{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);gap:18px;align-items:center;border:1px solid rgba(157,35,64,.22);border-radius:22px;background:linear-gradient(145deg,#fff8f6,#fffdf8);padding:18px}
.cleanup-danger strong{font-size:20px;color:#7c1730}.cleanup-danger p{margin:6px 0 0;color:var(--muted);font-weight:800;line-height:1.45}
.cleanup-danger form{display:grid;gap:10px}.danger-button{background:#7c1730!important}
@media (max-width:920px){.analytics-filter,.cleanup-head,.cleanup-danger{grid-template-columns:1fr}.analytics-actions{justify-content:flex-start}.analytics-grid,.analytics-wide{grid-template-columns:1fr;grid-column:auto}.analytics-kpis,.cleanup-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.analytics-kpis,.cleanup-cards{grid-template-columns:1fr}.analytics-kpis strong{font-size:28px}.analytics-product-row{grid-template-columns:24px 48px minmax(0,1fr)}.analytics-product-row b{grid-column:3}.analytics-filter form,.cleanup-cutoff-form{display:grid;grid-template-columns:1fr}.analytics-trend{height:170px}}

/* Public reminder page */
.reminder-public{min-height:100vh;background:radial-gradient(circle at 0 0,rgba(255,226,122,.28),transparent 34%),radial-gradient(circle at 100% 12%,rgba(227,105,165,.18),transparent 32%),#fffaf1;color:var(--ink)}
.reminder-wrap{width:min(760px,calc(100% - 32px));margin:0 auto;padding:34px 0 52px}
.reminder-hero{text-align:center;margin:18px auto 18px}.reminder-hero h1,.reminder-done h1{margin:6px 0 10px;font-size:clamp(36px,9vw,62px);line-height:.96;letter-spacing:0}.reminder-hero p,.reminder-done p{margin:0 auto;max-width:560px;color:var(--muted);font-size:17px;line-height:1.45}
.reminder-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:20px;box-shadow:var(--shadow)}
.reminder-list{display:grid;gap:12px}.reminder-row{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:10px;align-items:end}.reminder-row label{text-align:left}.reminder-row input{min-height:48px}.reminder-card>.btn{margin-top:12px}.reminder-fineprint{margin:12px 0 0;color:var(--muted);font-size:12px;font-weight:700;line-height:1.35}.reminder-done{text-align:center;margin-top:28px}.reminder-saved-list{display:grid;gap:8px;margin-top:18px;text-align:left}.reminder-saved-list div{display:flex;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:14px;padding:11px 13px;background:#fffaf5}.reminder-saved-list strong{color:var(--green)}.reminder-saved-list span{font-weight:850}
@media (max-width:640px){.reminder-wrap{width:min(100% - 24px,760px);padding-top:18px}.reminder-card{padding:16px}.reminder-row{grid-template-columns:1fr}.reminder-row .mini-danger{width:100%}}

.env-copy{margin:14px 0}.env-copy textarea{width:100%;border:1px solid var(--line);border-radius:16px;padding:12px;background:#fffaf5;color:var(--ink);font:12px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:vertical;overflow-wrap:anywhere}

/* v2 design polish */
html, body {
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
  overscroll-behavior: none;
}
.mobile-menu-toggle svg,
.side-links a svg,
.side-action svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.mobile-menu-toggle {
  min-height: calc(64px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
}
.mobile-menu-toggle strong { font-size: 18px; }
.side-logo {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
}
.side-logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.side-links a,
.side-action {
  min-height: 48px;
  gap: 12px;
}
.side-links a svg,
.side-action svg { opacity: .94; }
.side-links a.active svg { color: var(--green); }
.login-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

.reminder-public {
  background:
    radial-gradient(circle at 0 0, rgba(255, 205, 73, .34), transparent 34%),
    radial-gradient(circle at 100% 4%, rgba(255, 94, 156, .22), transparent 34%),
    linear-gradient(160deg, #fff9ed 0%, #fbfff3 48%, #fff4fa 100%);
}
.reminder-wrap {
  width: min(820px, calc(100% - 32px));
  padding: 34px 0 60px;
}
.reminder-hero {
  text-align: center;
  margin: 4px auto 18px;
}
.reminder-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}
.reminder-hero h1,
.reminder-done h1 {
  max-width: 740px;
  margin: 6px auto 12px;
  font-size: clamp(42px, 8.8vw, 72px);
  line-height: .92;
  letter-spacing: 0;
}
.reminder-hero p,
.reminder-done p {
  max-width: 660px;
  font-size: clamp(18px, 3.8vw, 25px);
  color: #706a80;
}
.reminder-hero p strong,
.reminder-done p strong { color: var(--ink); }
.reminder-recipient {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  border: 1px solid #eadfd5;
  background: rgba(255,255,255,.72);
  border-radius: 999px;
  padding: 9px 14px;
  color: #6f6778;
  font-weight: 850;
}
.reminder-card {
  border-radius: 32px;
  padding: 28px;
}
.reminder-list {
  display: grid;
  gap: 18px;
}
.reminder-wheel-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr) auto;
  align-items: stretch;
  gap: 14px;
  border: 1px solid #eee3da;
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(180deg, #fff, #fffaf4);
}
.wheel-field {
  margin: 0;
  border: 0;
  padding: 0;
  min-width: 0;
}
.wheel-field legend,
.reminder-label {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.reminder-wheel-grid {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 96px;
  gap: 10px;
}
.date-wheel {
  height: 168px;
  overflow: auto;
  display: grid;
  gap: 7px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}
.date-wheel-option {
  min-height: 38px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: #625b70;
  font-weight: 900;
  text-align: center;
  scroll-snap-align: center;
}
.date-wheel-option.active {
  background: linear-gradient(90deg, #f6ecff, #fff2d2);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #e8d8ff;
}
.date-wheel-option:disabled {
  opacity: .28;
}
.date-preview {
  margin: 9px 2px 0;
  color: #0e7049;
  font-weight: 950;
}
.reminder-label {
  margin: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}
.reminder-label input {
  min-height: 54px;
  border-radius: 18px;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 800;
}
.reminder-wheel-row .mini-danger {
  align-self: end;
  min-height: 42px;
  padding: 0 14px;
}
.reminder-card-actions {
  display: grid;
  grid-template-columns: minmax(0, .58fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.reminder-card-actions .btn {
  min-height: 54px;
}
.reminder-saved-list {
  margin-top: 22px;
}
.reminder-saved-list div {
  align-items: center;
  min-height: 58px;
  border-radius: 18px;
}
.reminder-saved-list strong {
  color: #145d3b;
  font-size: 20px;
}

.gift-card-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f6f1ea;
}
.gift-card-sheet {
  width: min(520px, 100%);
  display: grid;
  gap: 14px;
}
.gift-card-face,
.gift-card-pack {
  background: #fff;
  border: 1px solid #eadfd5;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.gift-card-face {
  text-align: center;
}
.gift-card-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
}
.gift-card-recipient {
  margin: 8px 0 0;
  color: #676073;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.gift-card-message {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin: 16px 0;
  border-top: 1px solid #f0e6dc;
  border-bottom: 1px solid #f0e6dc;
}
.gift-card-message p {
  margin: 0;
  color: var(--ink);
  font: 700 30px/1.2 Georgia, "Times New Roman", serif;
}
.gift-card-qr-block {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  text-align: left;
  border: 1px solid #eee4da;
  border-radius: 20px;
  padding: 12px;
  background: #fffaf4;
}
.gift-card-qr {
  width: 116px;
  height: 116px;
}
.gift-card-qr-block strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}
.gift-card-qr-block span {
  display: block;
  margin-top: 6px;
  color: #706a80;
  font-weight: 800;
  line-height: 1.35;
}
.gift-card-pack h2 {
  margin: 0 0 10px;
}
.gift-card-pack p {
  margin: 6px 0;
}
.gift-card-pack ul {
  margin: 8px 0 0;
  padding-left: 18px;
}
.gift-card-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 760px) {
  .reminder-wrap {
    width: min(100% - 24px, 820px);
    padding-top: 22px;
  }
  .reminder-card {
    padding: 18px;
    border-radius: 28px;
  }
  .reminder-wheel-row {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .reminder-card-actions {
    grid-template-columns: 1fr;
  }
  .reminder-card-actions .btn,
  .reminder-wheel-row .mini-danger {
    width: 100%;
  }
  .reminder-wheel-grid {
    grid-template-columns: minmax(0, 1fr) 86px;
  }
  .date-wheel {
    height: 154px;
  }
  .gift-card-qr-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .gift-card-qr {
    margin: 0 auto;
  }
}

/* Final Bloom public forms */
.reminder-public {
  --fb-forest: #123728;
  --fb-cream: #fff4e2;
  --fb-paper: #fffdf8;
  --fb-pink: #ff4fa3;
  --fb-coral: #ff6b2e;
  --fb-palm: #5f7438;
  --fb-line: rgba(18, 55, 40, .16);
  position: relative;
  overflow-x: clip;
  color: var(--fb-forest);
  background-color: var(--fb-cream);
  background-image:
    linear-gradient(rgba(255, 244, 226, .86), rgba(255, 253, 248, .92)),
    url("/public/brand/df-final-paper.webp");
  background-position: center top;
  background-size: auto, 1280px auto;
  font-family: Inter, "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
.reminder-public::before,
.reminder-public::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
}
.reminder-public::before {
  inset: 0;
  background: url("/public/brand/df-final-checker.svg") 50% 0 / 190px auto repeat;
  opacity: .045;
}
.reminder-public::after {
  top: 8vh;
  right: -54px;
  width: min(28vw, 320px);
  aspect-ratio: 1;
  background: url("/public/brand/df-final-petals.svg") center / contain no-repeat;
  opacity: .07;
}
.reminder-public .reminder-wrap {
  position: relative;
  z-index: 1;
  width: min(840px, calc(100% - 32px));
  padding: 38px 0 64px;
}
.reminder-public .reminder-hero {
  max-width: 710px;
  margin: 0 auto 24px;
}
.reminder-public .reminder-logo-link {
  width: min(260px, 72vw);
  margin: 0 auto 20px;
}
.reminder-public .reminder-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78px;
  margin: 0;
  object-fit: contain;
}
.reminder-public .reminder-hero > .reminder-logo,
.reminder-public .reminder-done > .reminder-logo {
  width: min(260px, 72vw);
  margin: 0 auto 20px;
}
.reminder-public .eyebrow {
  margin: 0 0 12px;
  color: #a82e63;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.reminder-public .reminder-hero h1,
.reminder-public .reminder-done h1 {
  max-width: 680px;
  margin: 0 auto 14px;
  color: var(--fb-forest);
  font-family: "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 700;
  line-height: 1.04;
}
.reminder-public .reminder-hero p,
.reminder-public .reminder-done p {
  max-width: 610px;
  color: rgba(18, 55, 40, .74);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
}
.reminder-public .reminder-hero p strong,
.reminder-public .reminder-done p strong {
  color: var(--fb-forest);
}
.reminder-public .reminder-shop-cta,
.reminder-public .btn-primary {
  border-color: var(--fb-forest);
  color: #fffdf8;
  background: var(--fb-forest);
  box-shadow: 0 10px 26px rgba(18, 55, 40, .16);
}
.reminder-public .reminder-shop-cta:hover,
.reminder-public .btn-primary:hover {
  border-color: #244e3b;
  background: #244e3b;
  transform: translateY(-1px);
}
.reminder-public .reminder-card {
  border: 1px solid var(--fb-line);
  border-radius: 20px;
  padding: 24px;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 24px 64px rgba(18, 55, 40, .12);
}
.reminder-public .reminder-general-card {
  margin-top: 20px;
}
.reminder-public .reminder-label,
.reminder-public .wheel-field legend {
  color: var(--fb-forest);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
}
.reminder-public .reminder-label input,
.reminder-public .reminder-label textarea,
.reminder-public .reminder-label select {
  min-height: 52px;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  color: var(--fb-forest);
  background: #fffdfa;
  box-shadow: none;
  font-size: 16px;
  font-weight: 650;
}
.reminder-public .reminder-label input:focus,
.reminder-public .reminder-label textarea:focus,
.reminder-public .reminder-label select:focus {
  border-color: var(--fb-pink);
  outline: 3px solid rgba(255, 79, 163, .13);
}
.reminder-public .reminder-wheel-row {
  grid-template-columns: minmax(0, 1.18fr) minmax(210px, .82fr) auto;
  gap: 14px;
  border: 1px solid rgba(18, 55, 40, .11);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 244, 226, .42);
}
.reminder-public .reminder-wheel-grid {
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 8px;
}
.reminder-public .date-wheel {
  height: 148px;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  background: #fffdfa;
  scrollbar-color: rgba(18, 55, 40, .34) transparent;
}
.reminder-public .date-wheel-option {
  min-height: 38px;
  border-radius: 9px;
  color: rgba(18, 55, 40, .72);
  font-weight: 700;
}
.reminder-public .date-wheel-option.active {
  color: var(--fb-forest);
  background: #ffe3a0;
  box-shadow: inset 0 0 0 1px rgba(255, 79, 163, .3);
}
.reminder-public .date-preview {
  color: var(--fb-palm);
  font-weight: 800;
}
.reminder-public .btn-outline {
  border-color: var(--fb-line);
  color: var(--fb-forest);
  background: #fffdfa;
}
.reminder-public .mini-danger {
  border-radius: 10px;
}
.reminder-public .reminder-fineprint {
  color: rgba(18, 55, 40, .62);
}

@media (max-width: 760px) {
  .reminder-public::after {
    top: 2vh;
    right: -92px;
    width: 250px;
    opacity: .045;
  }
  .reminder-public .reminder-wrap {
    width: min(100% - 24px, 840px);
    padding: 24px 0 42px;
  }
  .reminder-public .reminder-logo-link {
    width: min(226px, 68vw);
    margin-bottom: 18px;
  }
  .reminder-public .reminder-logo {
    width: 100%;
    height: auto;
    max-height: 68px;
  }
  .reminder-public .reminder-hero > .reminder-logo,
  .reminder-public .reminder-done > .reminder-logo {
    width: min(226px, 68vw);
    margin-bottom: 18px;
  }
  .reminder-public .reminder-hero h1,
  .reminder-public .reminder-done h1 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.06;
  }
  .reminder-public .reminder-card {
    padding: 16px;
    border-radius: 16px;
  }
  .reminder-public .reminder-contact-grid,
  .reminder-public .reminder-wheel-row,
  .reminder-public .reminder-card-actions {
    grid-template-columns: 1fr;
  }
  .reminder-public .reminder-wheel-grid {
    grid-template-columns: minmax(0, 1fr) 80px;
  }
  .reminder-public .date-wheel {
    height: 140px;
  }
  .reminder-public .reminder-shop-cta,
  .reminder-public .reminder-card-actions .btn {
    width: 100%;
  }
}

/* v4.2 final optical centering — must stay after legacy public-form styles */
body.reminder-public .reminder-hero,
body.custom-request-public .custom-request-hero,
.reminder-public .reminder-hero,
.custom-request-public .custom-request-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}

body.reminder-public .reminder-logo-link,
body.custom-request-public .reminder-logo-link,
.reminder-public .reminder-logo-link,
.custom-request-public .reminder-logo-link {
  display: flex;
  justify-content: center;
  width: min(260px, 72vw);
  margin-inline: auto;
}

body.reminder-public .reminder-logo,
body.custom-request-public .reminder-logo,
.reminder-public .reminder-logo,
.custom-request-public .reminder-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

body.reminder-public .eyebrow,
body.custom-request-public .eyebrow,
.reminder-public .eyebrow,
.custom-request-public .eyebrow {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 13px;
  color: #7a8f4a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .105em;
  text-indent: .105em;
  text-align: center;
}

body.custom-request-public .eyebrow,
.custom-request-public .eyebrow {
  transform: translateX(.5px);
}

body.reminder-public .reminder-hero h1,
body.custom-request-public .reminder-hero h1,
.reminder-public .reminder-hero h1,
.custom-request-public .reminder-hero h1 {
  margin-inline: auto;
  text-align: center;
}

/* v4.2 optical center fix for public hero logo + spaced eyebrow */
body.reminder-public .reminder-hero,
body.custom-request-public .custom-request-hero,
.reminder-public .reminder-hero,
.custom-request-public .custom-request-hero {
  display: grid;
  justify-items: center;
  text-align: center;
}
body.reminder-public .reminder-logo-link,
body.custom-request-public .reminder-logo-link,
.reminder-public .reminder-logo-link,
.custom-request-public .reminder-logo-link {
  display: flex;
  justify-content: center;
  width: min(260px, 72vw);
  margin-inline: auto;
}
body.reminder-public .reminder-logo,
body.custom-request-public .reminder-logo,
.reminder-public .reminder-logo,
.custom-request-public .reminder-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
body.reminder-public .eyebrow,
body.custom-request-public .eyebrow,
.reminder-public .eyebrow,
.custom-request-public .eyebrow {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 13px;
  color: #7a8f4a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .105em;
  text-indent: .105em;
  text-align: center;
}
body.custom-request-public .eyebrow,
.custom-request-public .eyebrow {
  transform: translateX(.5px);
}
body.reminder-public .reminder-hero h1,
body.custom-request-public .reminder-hero h1,
.reminder-public .reminder-hero h1,
.custom-request-public .reminder-hero h1 {
  margin-inline: auto;
  text-align: center;
}

/* v4.1 calmer public form system: milk paper, more breathing room */
body.reminder-public,
body.custom-request-public,
.reminder-public,
.custom-request-public {
  --df-public-forest: #123728;
  --df-public-olive: #7a8f4a;
  --df-public-milk: #fff8ee;
  --df-public-paper: #fffdf8;
  --df-public-blush: #f8e8e7;
  --df-public-line: rgba(18, 55, 40, .14);
  --df-public-muted: rgba(18, 55, 40, .62);
  color: var(--df-public-forest);
  background-color: var(--df-public-milk);
  background-image:
    radial-gradient(circle at 10% 8%, rgba(255, 255, 248, .88), transparent 29%),
    radial-gradient(circle at 86% 14%, rgba(248, 232, 231, .52), transparent 31%),
    linear-gradient(145deg, #fff7eb 0%, #fffdf8 46%, #f8eee7 100%);
  font-family: "DF Assistant", Inter, "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
body.reminder-public::before,
body.custom-request-public::before,
.reminder-public::before,
.custom-request-public::before {
  background:
    linear-gradient(rgba(255, 253, 248, .90), rgba(255, 253, 248, .90)),
    url("/public/brand/df-final-paper.webp") center top / 1180px auto repeat;
  opacity: .46;
}
body.reminder-public::after,
body.custom-request-public::after,
.reminder-public::after,
.custom-request-public::after {
  opacity: .045;
}
.reminder-public .reminder-wrap,
.custom-request-public .reminder-wrap {
  width: min(860px, calc(100% - 34px));
  padding-top: 34px;
}
.custom-request-public .reminder-wrap {
  width: min(1080px, calc(100% - 34px));
}
.reminder-public .reminder-logo-link,
.reminder-public .reminder-logo,
.custom-request-public .reminder-logo-link,
.custom-request-public .reminder-logo {
  filter: drop-shadow(0 12px 22px rgba(18, 55, 40, .05));
}
.reminder-public .eyebrow,
.custom-request-public .eyebrow {
  color: var(--df-public-olive);
  letter-spacing: .12em;
}
.reminder-public .reminder-hero h1,
.reminder-public .reminder-done h1,
.custom-request-public .reminder-hero h1,
.custom-request-public .reminder-done h1 {
  color: var(--df-public-forest);
  letter-spacing: -.035em;
}
.reminder-public .reminder-hero p,
.reminder-public .reminder-done p,
.custom-request-public .reminder-hero p,
.custom-request-public .reminder-done p {
  color: var(--df-public-muted);
}
.reminder-public .reminder-card,
.custom-request-public .reminder-card {
  border: 1px solid var(--df-public-line);
  border-radius: 28px;
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 26px 70px rgba(18, 55, 40, .10);
  backdrop-filter: blur(10px);
}
.reminder-public .reminder-card {
  padding: 30px;
}
.custom-request-public .reminder-card {
  padding: 30px;
}
.reminder-public .reminder-contact-grid,
.custom-request-public .reminder-contact-grid,
.custom-request-public .custom-request-grid {
  gap: 18px;
}
.reminder-public .reminder-label,
.reminder-public .wheel-field legend,
.custom-request-public .reminder-label {
  display: grid;
  gap: 10px;
  margin: 0;
  color: var(--df-public-forest);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  line-height: 1.22;
}
.reminder-public .reminder-card > .reminder-label,
.custom-request-public .custom-request-form > .reminder-label {
  margin-top: 14px;
}
.reminder-public .reminder-label input,
.reminder-public .reminder-label textarea,
.reminder-public .reminder-label select,
.custom-request-public input,
.custom-request-public select,
.custom-request-public textarea,
.custom-request-public .df-date-picker__button {
  min-height: 56px;
  border: 1px solid rgba(18, 55, 40, .18);
  border-radius: 16px;
  padding: 15px 17px;
  color: var(--df-public-forest);
  background: rgba(255, 253, 248, .94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
  font-size: 16px;
  font-weight: 750;
}
.reminder-public .reminder-label input::placeholder,
.reminder-public .reminder-label textarea::placeholder,
.custom-request-public input::placeholder,
.custom-request-public textarea::placeholder {
  color: rgba(18, 55, 40, .42);
}
.reminder-public .reminder-label input:focus,
.reminder-public .reminder-label textarea:focus,
.reminder-public .reminder-label select:focus,
.custom-request-public input:focus,
.custom-request-public select:focus,
.custom-request-public textarea:focus,
.custom-request-public .df-date-picker__button:focus {
  border-color: rgba(122, 143, 74, .58);
  outline: 4px solid rgba(122, 143, 74, .13);
}
.reminder-public .reminder-wheel-row {
  grid-template-columns: minmax(0, 1.18fr) minmax(220px, .82fr) auto;
  gap: 22px;
  align-items: start;
  margin-top: 16px;
  border: 1px solid rgba(18, 55, 40, .12);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 248, 238, .72);
}
.reminder-public .reminder-wheel-grid {
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 12px;
}
.reminder-public .date-wheel {
  height: 150px;
  border-color: rgba(18, 55, 40, .13);
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 253, 248, .82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
}
.reminder-public .date-wheel-option {
  min-height: 40px;
  border-radius: 12px;
  color: rgba(18, 55, 40, .67);
}
.reminder-public .date-wheel-option.active {
  color: var(--df-public-forest);
  background: #e8ead9;
  box-shadow: inset 0 0 0 1px rgba(122, 143, 74, .45);
}
.reminder-public .date-preview {
  margin-top: 10px;
  color: var(--df-public-olive);
}
.reminder-public .reminder-card-actions {
  gap: 14px;
  margin-top: 18px;
}
.reminder-public .btn-primary,
.custom-request-public .btn-primary {
  border-color: transparent;
  color: #fffdf8;
  background: #123728;
  box-shadow: 0 16px 30px rgba(18, 55, 40, .15);
}
.reminder-public .btn-outline {
  border-color: rgba(18, 55, 40, .18);
  color: var(--df-public-forest);
  background: rgba(255, 253, 248, .78);
}
.custom-request-public .custom-request-split {
  gap: 22px;
}
.custom-request-public .custom-request-form {
  border-radius: 28px;
}
.custom-request-public .custom-request-call {
  min-height: auto;
  border-top: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 18%, rgba(248,232,231,.54), transparent 28%),
    rgba(255, 253, 248, .88);
}
.custom-request-public .custom-request-call strong {
  color: var(--df-public-forest);
  letter-spacing: -.045em;
}
.custom-request-public .custom-request-call em,
.custom-request-public .custom-request-note {
  color: rgba(18, 55, 40, .62);
}
.custom-request-public .df-date-picker__panel {
  border-color: rgba(18, 55, 40, .14);
  border-radius: 18px;
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 22px 54px rgba(18, 55, 40, .14);
}
.custom-request-public .df-date-picker__grid button {
  border-radius: 12px;
  background: #fff8ee;
  color: var(--df-public-forest);
}
.custom-request-public .df-date-picker__grid button:hover {
  background: #edf0dd;
}
.custom-request-public .df-date-picker__grid button.is-selected {
  background: #123728;
  color: #fffdf8;
}
@media (max-width: 760px) {
  .reminder-public .reminder-wrap,
  .custom-request-public .reminder-wrap {
    width: min(100% - 22px, 860px);
    padding-top: 22px;
  }
  .reminder-public .reminder-card,
  .custom-request-public .reminder-card {
    padding: 18px;
    border-radius: 22px;
  }
  .reminder-public .reminder-wheel-row,
  .custom-request-public .custom-request-grid,
  .custom-request-public .custom-request-split {
    grid-template-columns: 1fr;
  }
  .reminder-public .reminder-wheel-row {
    gap: 16px;
    padding: 18px;
  }
  .reminder-public .reminder-wheel-grid {
    grid-template-columns: minmax(0, 1fr) 78px;
  }
}

/* Rebrand finish: public request/reminder pages should feel like the Shopify site without changing the Shopify fonts. */
body.reminder-public,
body.custom-request-public {
  --fb-forest: #123728;
  --fb-paper: #fffdf8;
  --fb-cream: #fff4e2;
  --fb-palm: #7a8f4a;
  --fb-pink: #ff4fa3;
  --fb-coral: #ff6b2e;
  --fb-line: rgba(18, 55, 40, .16);
  color: var(--fb-forest);
  background:
    radial-gradient(circle at 13% 18%, rgba(255, 79, 163, .065), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(122, 143, 74, .07), transparent 24%),
    linear-gradient(180deg, #fff7ea, #fffdf8 54%, #fff4e2);
  font-family: "DF Assistant", Assistant, system-ui, -apple-system, Segoe UI, sans-serif;
}

body.reminder-public::before,
body.custom-request-public::before {
  opacity: .24;
  background-size: 360px auto;
}

.reminder-public .reminder-wrap {
  width: min(100% - 36px, 960px);
  padding: clamp(28px, 5vw, 56px) 0 clamp(42px, 7vw, 86px);
}

.reminder-public .reminder-hero,
.custom-request-public .custom-request-hero {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.reminder-public .reminder-logo-link,
.reminder-public .reminder-logo {
  display: inline-block;
  width: min(292px, 72vw);
  height: auto;
}

.reminder-public .eyebrow {
  color: var(--fb-palm) !important;
  font-weight: 900;
  letter-spacing: .12em;
}

.reminder-public .reminder-hero h1,
.reminder-public .reminder-done h1 {
  max-width: 780px;
  margin-inline: auto;
  color: var(--fb-forest);
  font-family: "DF Comfortaa", "DF Assistant", system-ui, sans-serif;
  font-size: clamp(42px, 6.2vw, 74px);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.reminder-public .reminder-hero > p:not(.eyebrow),
.reminder-public .reminder-done > p:not(.eyebrow) {
  max-width: 650px;
  margin-inline: auto;
  color: rgba(18, 55, 40, .68);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
}

.reminder-public .reminder-card {
  border-radius: 22px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 28px 70px rgba(18, 55, 40, .12);
}

.custom-request-public .custom-request-split {
  display: grid;
  grid-template-columns: minmax(250px, .75fr) minmax(0, 1.25fr);
  gap: 22px;
  align-items: stretch;
  margin-top: clamp(24px, 4vw, 38px);
}

.custom-request-public .custom-request-call {
  display: grid;
  align-content: end;
  min-height: 100%;
  padding: clamp(24px, 3vw, 36px);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .78), rgba(255, 253, 248, .97)),
    radial-gradient(circle at 20% 20%, rgba(255, 79, 163, .18), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(122, 143, 74, .18), transparent 24%);
}

.custom-request-public .custom-request-call strong {
  color: #392a59;
  font-family: "DF Comfortaa", "DF Assistant", system-ui, sans-serif;
  font-size: clamp(36px, 4.4vw, 58px);
  letter-spacing: -.055em;
}

.custom-request-public .custom-request-call em {
  color: var(--fb-forest);
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 900;
}

.custom-request-public .custom-request-form {
  padding: clamp(22px, 3vw, 34px);
}

.custom-request-public .custom-request-grid,
.reminder-public .reminder-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.reminder-public .reminder-label input,
.reminder-public .reminder-label textarea,
.reminder-public .reminder-label select,
.reminder-public .df-date-picker__button {
  border-radius: 14px;
  background: rgba(255, 253, 248, .92);
  font-weight: 750;
}

.reminder-public .reminder-wheel-row {
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, .72fr) auto;
  align-items: start;
  background: rgba(255, 244, 226, .36);
}

.reminder-public .reminder-wheel-grid {
  grid-template-columns: minmax(0, 1fr) 92px;
}

.reminder-public .date-wheel {
  height: 156px;
}

.reminder-public .date-wheel-option.active {
  color: #123728;
  background: linear-gradient(90deg, rgba(255, 79, 163, .2), rgba(255, 107, 46, .2));
  box-shadow: inset 0 0 0 1px rgba(18, 55, 40, .12);
}

.reminder-public .btn-primary {
  border-color: transparent !important;
  color: #fffdf8 !important;
  background: #123728 !important;
  box-shadow: 0 16px 30px rgba(18, 55, 40, .16);
}

.reminder-public .btn-primary:hover {
  background: linear-gradient(90deg, #ff4fa3, #ff6b2e) !important;
}

@media (max-width: 820px) {
  .custom-request-public .custom-request-split,
  .custom-request-public .custom-request-grid,
  .reminder-public .reminder-contact-grid,
  .reminder-public .reminder-wheel-row {
    grid-template-columns: 1fr;
  }

  .custom-request-public .custom-request-call {
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .reminder-public .reminder-wrap {
    width: min(100% - 24px, 960px);
  }

  .reminder-public .reminder-logo-link,
  .reminder-public .reminder-logo {
    width: min(238px, 74vw);
  }

  .reminder-public .reminder-hero h1,
  .reminder-public .reminder-done h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .reminder-public .reminder-wheel-grid {
    grid-template-columns: minmax(0, 1fr) 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reminder-public *,
  .reminder-public *::before,
  .reminder-public *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* Product collection ordering */
.product-order-page {
  max-width: 1040px;
}
.product-order-hero {
  align-items: flex-end;
}
.product-order-hero .back-chip {
  display: inline-flex;
  margin-bottom: 18px;
}
.product-order-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}
.product-order-toolbar form {
  width: min(100%, 430px);
}
.product-order-toolbar label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-order-toolbar select {
  min-height: 52px;
  margin: 0;
  background-color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.product-order-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.product-order-summary > span:first-child {
  color: var(--muted);
}
.product-order-summary > span:first-child strong {
  color: var(--ink);
  font-size: 20px;
}
.product-order-form {
  margin-top: 18px;
}
.product-order-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 13px 16px;
  border: 1px solid #e5ddd4;
  border-radius: 8px;
  background: #fffaf4;
}
.product-order-tip p {
  margin: 0;
  color: var(--muted);
}
.product-order-tip strong {
  color: var(--ink);
}
.product-order-tip__icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f1e6ef;
  color: #9d4268;
  font-size: 20px;
  font-weight: 800;
}
.product-order-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-order-item {
  display: grid;
  grid-template-columns: 36px 38px 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 94px;
  padding: 10px 12px;
  border: 1px solid #ded8d0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(50, 42, 37, .045);
  transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease, transform .16s ease;
}
.product-order-item:hover {
  border-color: #cdbbc4;
  box-shadow: 0 10px 24px rgba(50, 42, 37, .08);
}
.product-order-item.is-dragging {
  opacity: .55;
  border-color: #d65a91;
  box-shadow: 0 16px 30px rgba(94, 51, 72, .15);
  transform: scale(.99);
}
.product-order-handle,
.product-order-buttons button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #756b77;
  cursor: pointer;
}
.product-order-handle {
  cursor: grab;
}
.product-order-handle:active {
  cursor: grabbing;
}
.product-order-handle:hover,
.product-order-buttons button:hover:not(:disabled) {
  border-color: #e2d7de;
  background: #faf3f7;
  color: #9d4268;
}
.product-order-handle svg,
.product-order-buttons svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-order-position {
  color: #9d4268;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}
.product-order-image {
  display: grid;
  width: 72px;
  height: 72px;
  overflow: hidden;
  place-items: center;
  border-radius: 6px;
  background: #f3ece7;
  color: var(--muted);
  font-weight: 900;
}
.product-order-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-order-copy {
  min-width: 0;
}
.product-order-copy strong,
.product-order-copy span,
.product-order-copy em {
  display: block;
}
.product-order-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-order-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}
.product-order-copy em {
  width: max-content;
  margin-top: 5px;
  color: #b2254a;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}
.product-order-buttons {
  display: flex;
  gap: 4px;
}
.product-order-buttons button {
  border-color: #e5ddd7;
  background: #fff;
}
.product-order-buttons button:disabled {
  opacity: .25;
  cursor: default;
}
.product-order-save {
  position: sticky;
  z-index: 18;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #dcd4cf;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 38px rgba(44, 36, 33, .14);
  backdrop-filter: blur(14px);
}
.product-order-save strong,
.product-order-save span {
  display: block;
}
.product-order-save strong {
  color: #178356;
}
.product-order-save span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}
.product-order-save .btn {
  min-width: 160px;
}
.product-order-save .btn:disabled {
  opacity: .45;
}
.has-unsaved-order .product-order-save {
  border-color: #d9aac0;
}
.has-unsaved-order .product-order-save strong {
  color: #a63163;
}
@media (max-width: 760px) {
  .product-order-page {
    width: min(100% - 20px, 1040px);
  }
  .product-order-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }
  .product-order-toolbar form {
    width: 100%;
  }
  .product-order-summary {
    justify-content: space-between;
  }
  .product-order-tip {
    align-items: flex-start;
  }
  .product-order-item {
    grid-template-columns: 30px 58px minmax(0, 1fr) auto;
    min-height: 78px;
    gap: 9px;
    padding: 9px;
  }
  .product-order-handle {
    display: none;
  }
  .product-order-position {
    grid-column: 1;
    font-size: 17px;
  }
  .product-order-image {
    grid-column: 2;
    width: 58px;
    height: 58px;
  }
  .product-order-copy {
    grid-column: 3;
  }
  .product-order-copy strong {
    font-size: 15px;
  }
  .product-order-copy span {
    font-size: 12px;
  }
  .product-order-buttons {
    grid-column: 4;
    flex-direction: column;
    gap: 2px;
  }
  .product-order-buttons button {
    width: 32px;
    height: 28px;
  }
  .product-order-save {
    bottom: calc(8px + env(safe-area-inset-bottom));
    padding: 12px;
  }
  .product-order-save span {
    display: none;
  }
  .product-order-save .btn {
    min-width: 132px;
  }
}

@media print {
  @page { size: A6 landscape; margin: 8mm; }
  .gift-card-page {
    display: block;
    padding: 0;
    background: #fff;
  }
  .gift-card-sheet {
    width: auto;
    gap: 0;
  }
  .gift-card-face {
    min-height: 130mm;
    border: 0;
    border-radius: 0;
    padding: 4mm;
    box-shadow: none;
  }
  .gift-card-logo {
    width: 25mm;
    height: 25mm;
  }
  .gift-card-message {
    min-height: 48mm;
  }
  .gift-card-message p {
    font-size: 21pt;
  }
  .gift-card-qr-block {
    grid-template-columns: 30mm 1fr;
    padding: 3mm;
  }
  .gift-card-qr {
    width: 30mm;
    height: 30mm;
  }
  .gift-card-pack,
  .gift-card-actions {
    display: none !important;
  }
}

/* v2.1 dashboard, recipient card, and A6 card polish */
.order-list {
  grid-template-columns: 1fr !important;
}
.order-card,
.order-main,
.order-meta,
.dashboard-item-row,
.item-line {
  min-width: 0;
}
.order-main {
  overflow: hidden;
}
.order-meta {
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: start;
}
.order-meta .photo-badge {
  justify-self: end;
}
.dashboard-item-row {
  grid-template-columns: 58px minmax(0, 1fr);
}
.item-title,
.gift-line,
.note-line,
.addons-line {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recipient-card h2 {
  margin-bottom: 14px;
}
.recipient-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.recipient-detail-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf5;
  padding: 12px;
}
.recipient-detail-card span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.recipient-detail-card strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.recipient-map-link {
  position: relative;
  color: inherit;
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.recipient-map-link em {
  display: inline-block;
  margin-top: 7px;
  color: #7b4ad9;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.recipient-map-link:hover {
  border-color: #cdb9ff;
  background: #fff;
  transform: translateY(-1px);
}
.inline-map-link {
  color: #7b4ad9;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.gift-card-page {
  display: block;
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at 38% 20%, rgba(255, 218, 94, .14), transparent 24%),
    radial-gradient(circle at 60% 70%, rgba(236, 99, 162, .11), transparent 26%),
    #fffaf1;
}
.gift-card-shell {
  width: min(760px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.gift-card-face {
  position: relative;
  overflow: hidden;
  aspect-ratio: 148 / 105;
  min-height: auto;
  border: 1px solid #eadfd5;
  border-radius: 18px;
  background: #fff;
  padding: 0;
  box-shadow: 0 18px 46px rgba(39,31,61,.12);
}
.gift-card-inner {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: center;
  padding: 26px 34px 24px;
  text-align: center;
}
.gift-card-soft-shape {
  position: absolute;
  z-index: 1;
  width: 58%;
  height: 32%;
  border-radius: 999px;
  filter: blur(2px);
  opacity: .58;
  pointer-events: none;
}
.gift-card-soft-shape--pink {
  left: 30%;
  top: 16%;
  background: radial-gradient(circle, rgba(242,106,162,.18), transparent 68%);
}
.gift-card-soft-shape--yellow {
  left: 35%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(255,226,122,.24), transparent 68%);
}
.gift-card-logo {
  width: 70px;
  height: 70px;
}
.gift-card-kicker {
  margin: 7px 0 0;
  color: #746d82;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gift-card-message {
  width: 100%;
  min-height: 0;
  margin: 12px 0 8px;
  border: 0;
  display: grid;
  place-items: center;
}
.gift-card-message p {
  max-width: 560px;
  color: #2f2540;
  font-family: "Snell Roundhand", "Apple Chancery", "Segoe Script", "Lucida Handwriting", cursive;
  font-size: clamp(34px, 5.2vw, 52px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}
.gift-card-qr-block {
  width: min(520px, 82%);
  justify-self: start;
  align-self: end;
  grid-template-columns: 84px minmax(0, 1fr);
  background: rgba(255, 250, 244, .88);
  border-radius: 14px;
  padding: 9px 12px;
}
.gift-card-qr {
  width: 84px;
  height: 84px;
}
.gift-card-pack,
.gift-card-actions {
  width: 100%;
}

@media (max-width: 640px) {
  .order-meta {
    grid-template-columns: 1fr auto;
  }
  .order-meta .stage-pill,
  .order-meta .order-small-price,
  .order-meta .photo-badge {
    justify-self: start;
  }
  .recipient-detail-grid {
    grid-template-columns: 1fr;
  }
  .gift-card-page {
    padding: 14px;
  }
  .gift-card-inner {
    padding: 20px 18px 18px;
  }
  .gift-card-qr-block {
    width: 88%;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }
  .gift-card-qr {
    width: 72px;
    height: 72px;
  }
  .gift-card-message p {
    font-size: 34px;
  }
}

@media print {
  @page { size: A6 landscape; margin: 0; }
  html,
  body,
  .gift-card-page {
    width: 148mm;
    height: 105mm;
    min-width: 148mm;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff !important;
  }
  .gift-card-shell {
    width: 148mm;
    height: 104.5mm;
    margin: 0;
    gap: 0;
    overflow: hidden;
    page-break-after: avoid;
    break-after: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .gift-card-face {
    width: 148mm;
    height: 104.5mm;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    page-break-after: avoid;
    break-after: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .gift-card-inner {
    padding: 7mm 10mm 7mm;
  }
  .gift-card-logo {
    width: 17mm;
    height: 17mm;
  }
  .gift-card-kicker {
    margin-top: 2mm;
    font-size: 7pt;
  }
  .gift-card-message {
    margin: 3mm 0 2mm;
  }
  .gift-card-message p {
    max-width: 112mm;
    font-size: 25pt;
    line-height: 1.04;
  }
  .gift-card-qr-block {
    width: 94mm;
    grid-template-columns: 20mm 1fr;
    gap: 3mm;
    padding: 2.5mm 3mm;
    border-radius: 4mm;
  }
  .gift-card-qr-block strong {
    font-size: 9pt;
    line-height: 1.05;
  }
  .gift-card-qr-block span {
    margin-top: 1mm;
    font-size: 7.2pt;
    line-height: 1.25;
  }
  .gift-card-qr {
    width: 20mm;
    height: 20mm;
  }
  .gift-card-soft-shape--pink {
    left: 48mm;
    top: 22mm;
    width: 52mm;
    height: 28mm;
  }
  .gift-card-soft-shape--yellow {
    left: 55mm;
    bottom: 18mm;
    width: 50mm;
    height: 28mm;
  }
  .gift-card-pack,
  .gift-card-actions {
    display: none !important;
  }
}

/* v2.3 driver proof and admin email studio */
/* v2.4 readable status colors and icons */
.stage-pill,
.status-chip {
  gap: 6px;
}
.stage-pill svg,
.status-chip svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.stage-pill i,
.status-chip i {
  display: none;
}
.round-action svg,
.round-done svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.stage-work {
  background: #fff3df;
  color: #8a5a08;
  border-color: #f2d097;
}
.stage-courier {
  background: #fff7d8;
  color: #846012;
  border-color: #efd27c;
}
.stage-out {
  background: #e7f4ff;
  color: #176b9c;
  border-color: #b9dcf5;
}
.stage-bg-work {
  background: #f2a93b;
  color: #fff;
}
.stage-bg-courier {
  background: #f5c542;
  color: #3f2f06;
}
.stage-bg-out {
  background: #35a7db !important;
  color: #fff;
}
.stage-bg-ready {
  background: #26c767 !important;
  color: #fff;
}
.stage-bg-delivered {
  background: #8b56df !important;
  color: #fff;
}
.quick-col:has(.stage-bg-work) {
  background: linear-gradient(180deg,#fff6e8,#fff);
}
.quick-col:has(.stage-bg-courier) {
  background: linear-gradient(180deg,#fff9db,#fff);
}
.quick-col:has(.stage-bg-out) {
  background: linear-gradient(180deg,#e9f7ff,#fff);
}
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}
.email-studio-hero {
  align-items: end;
}
.email-studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 22px;
  align-items: start;
}
.email-studio-form-panel {
  border-top: 6px solid #ff4fa3;
  background: #fffdf8;
}
.email-form {
  display: grid;
  gap: 18px;
}
.email-form-section {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e8ddca;
}
.email-form-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #123728;
}
.email-form-section-title span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffd65a;
  color: #123728;
  font-size: 12px;
  font-weight: 900;
}
.email-form-section-title strong {
  font-size: 16px;
}
.email-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.email-form input[type="file"] {
  min-height: 48px;
  background: #fff4e2;
}
.email-send-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.email-send-row .btn {
  min-width: 180px;
}
.email-preview-panel {
  position: sticky;
  top: 86px;
  border: 1px solid #e8ddca;
  background: #fff4e2;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(18,55,40,.10);
}
.email-preview-label {
  margin: 0 0 10px;
  color: #607264;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.email-preview-canvas {
  overflow: hidden;
  border: 1px solid #e8ddca;
  background: #fffdf8;
  color: #123728;
}
.email-preview-accent {
  height: 6px;
  background: #ff4fa3;
}
.email-preview-accent-bottom {
  background: #ff6b2e;
}
.email-preview-head {
  padding: 26px 24px 18px;
  text-align: center;
}
.email-preview-head img {
  display: block;
  width: min(100%, 250px);
  height: auto;
  margin: 0 auto 20px;
}
.email-preview-head p {
  margin: 0;
  color: #7a8f4a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.email-preview-head h2 {
  margin: 8px 0;
  color: #123728;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: 0;
}
.email-preview-intro {
  color: #607264;
  font-size: 15px;
  line-height: 1.5;
}
.email-preview-body {
  padding: 0 24px 26px;
  text-align: center;
}
.email-preview-image {
  display: block;
  width: 100%;
  max-height: 260px;
  margin: 0 auto 16px;
  border: 1px solid #e8ddca;
  object-fit: cover;
}
.email-preview-image[hidden],
.email-preview-button[hidden] {
  display: none;
}
.email-preview-message {
  min-height: 74px;
  padding: 16px;
  border: 1px solid #e8ddca;
  background: #fff4e2;
  color: #607264;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
  white-space: pre-wrap;
}
.email-preview-button {
  display: inline-flex;
  margin-top: 18px;
  border-radius: 999px;
  padding: 12px 22px;
  background: #ff4fa3;
  color: #123728;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.email-preview-footer {
  display: grid;
  gap: 3px;
  padding: 18px 22px;
  background: #123728;
  color: #fff4e2;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.email-preview-footer span {
  color: #ffd65a;
}
#delivery-proof {
  scroll-margin-top: 78px;
}
@media (max-width: 980px) {
  .email-studio-layout {
    grid-template-columns: 1fr;
  }
  .email-preview-panel {
    position: static;
  }
}
@media (max-width: 640px) {
  .email-form-grid {
    grid-template-columns: 1fr;
  }
  .email-send-row .btn {
    width: 100%;
  }
  .email-preview-panel {
    padding: 8px;
  }
  .email-preview-head,
  .email-preview-body {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* v2.5 custom phone orders */
.custom-order-form,
.custom-order-public-card {
  display: grid;
  gap: 20px;
}
.custom-order-section {
  display: grid;
  gap: 12px;
}
.custom-order-section h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 0;
}
.custom-order-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.custom-order-section-head p {
  margin: 3px 0 0;
}
.custom-order-add-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.custom-order-grid,
.custom-order-public-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.custom-order-public-grid {
  grid-template-columns: 1fr 1fr 120px;
}
.custom-order-form select,
.custom-order-public-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.custom-product-picker {
  display: grid;
  gap: 8px;
}
.custom-product-picker input[type="search"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fffefb;
  color: var(--ink);
  font: inherit;
}
.custom-product-picker input[type="search"]::placeholder {
  color: rgba(18, 55, 40, .46);
}
.product-search-count {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.custom-order-items {
  display: grid;
  gap: 10px;
}
.custom-order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px auto;
  gap: 10px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: #fffaf5;
}
.custom-order-custom-item {
  grid-template-columns: minmax(0, 1fr) 120px 90px auto;
}
.custom-order-custom-item .span-2 {
  grid-column: 1 / span 3;
}
.custom-order-custom-item textarea {
  min-height: 92px;
  background: #fff;
}
.custom-order-summary,
.custom-order-public-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.custom-order-public-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.custom-order-summary div,
.custom-order-public-summary div {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px;
  background: #fffaf5;
}
.custom-order-summary span,
.custom-order-public-summary span,
.custom-order-link-box span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.custom-order-summary strong,
.custom-order-public-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.15;
}
.custom-order-summary p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.custom-order-result h1 {
  margin-bottom: 8px;
}
.custom-order-link-box {
  display: grid;
  gap: 5px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px;
  background: #fffaf5;
}
.custom-order-link-box a {
  color: #7b4ad9;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.custom-order-mini-list {
  display: grid;
  gap: 8px;
  text-align: left;
}
.custom-order-mini-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.custom-order-mini-list div:first-child {
  border-top: 0;
  padding-top: 0;
}
.custom-order-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.custom-order-public-wrap {
  width: min(820px, calc(100% - 28px));
}
.custom-order-public-card {
  padding: 24px;
}
.custom-order-public-items {
  display: grid;
  gap: 10px;
}
.custom-order-public-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
  background: #fffaf5;
}
.custom-order-public-item img,
.custom-order-public-item .item-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  object-fit: cover;
}
.custom-order-public-item strong,
.custom-order-public-item b {
  font-weight: 950;
}
.custom-order-public-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-weight: 800;
}
.custom-order-public-form {
  display: grid;
  gap: 12px;
}
.custom-order-payment-ready {
  box-shadow: none;
  margin: 0;
}
.custom-order-wait-card {
  min-height: min(640px, calc(100vh - 80px));
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 205, 73, .20), transparent 24%),
    radial-gradient(circle at 50% 72%, rgba(227, 105, 165, .16), transparent 26%),
    #fff;
}
.custom-order-wait-card h1 {
  margin: 2px 0 0;
  max-width: 560px;
  font-size: clamp(42px, 8vw, 68px);
  line-height: .95;
  letter-spacing: 0;
}
.custom-order-wait-card p:not(.eyebrow) {
  max-width: 440px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.checkout-spinner {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 6px solid rgba(139, 86, 223, .16);
  border-top-color: #8b56df;
  border-right-color: #e369a5;
  animation: checkout-spin .82s linear infinite;
}
.checkout-submit-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 205, 73, .28), transparent 32%),
    radial-gradient(circle at 80% 18%, rgba(227, 105, 165, .20), transparent 34%),
    rgba(255, 250, 241, .92);
  backdrop-filter: blur(14px);
}
.checkout-submit-overlay[hidden] {
  display: none;
}
.checkout-submit-overlay > div {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px 22px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}
.checkout-submit-overlay img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}
.checkout-submit-overlay strong {
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
}
.checkout-submit-overlay p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}
body.checkout-loading {
  overflow: hidden;
}
@keyframes checkout-spin {
  to { transform: rotate(360deg); }
}

/* v2.6 product management */
.product-admin-layout {
  display: grid;
  gap: 16px;
  align-items: start;
}
.product-admin-list {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.product-admin-card {
  scroll-margin-top: 110px;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 28px rgba(39,31,61,.05);
}
.product-admin-card.is-draft {
  background: #fffaf7;
}
.product-admin-media {
  position: relative;
  width: 108px;
  height: 108px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(140deg, #fff7dd, #fff0f8);
  display: grid;
  place-items: center;
  color: #8b56df;
  font-weight: 950;
}
.product-admin-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-admin-download {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255,255,255,.9);
  box-shadow: 0 5px 16px rgba(31,25,47,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.product-admin-download:hover,
.product-admin-download:focus-visible {
  color: var(--ink);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 7px 20px rgba(31,25,47,.24);
}
.product-admin-download svg {
  width: 17px;
  height: 17px;
}
.product-admin-main {
  min-width: 0;
  display: grid;
  gap: 10px;
}
.product-admin-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.product-admin-top h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0;
}
.product-admin-top p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
}
.product-variant-list,
.product-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.product-variant-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fffaf5;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.product-variant-list strong {
  color: var(--ink);
}
.product-variant-list em {
  color: var(--muted);
  font-style: normal;
}
.product-variant-list .is-sale em {
  color: #c23c55;
}
.product-variant-list del {
  color: #aaa0ad;
}
.product-tag-row span,
.product-tag-row button {
  border: 1px solid #eadff0;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff3fa;
  color: #7f3562;
  font-size: 11px;
  font-weight: 900;
}
.product-tag-row button {
  cursor: pointer;
}
.product-tag-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 28px rgba(39,31,61,.05);
}
.product-tag-panel h2,
.product-image-field h2,
.product-variants h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}
.product-tag-panel h3 {
  margin: 16px 0 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.product-tag-library {
  margin-top: 10px;
}
.product-tag-create {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffaf7;
}
.product-tag-create label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}
.product-tag-create input,
.product-tag-create select {
  min-width: 0;
  min-height: 42px;
  border: 1px solid #ded7cf;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.product-tag-library-groups {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.product-tag-library-group + .product-tag-library-group {
  padding-top: 14px;
  border-top: 1px solid #eee8e1;
}
.product-tag-library-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}
.product-tag-row .product-tag-library-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 5px 4px 9px;
}
.product-tag-row .product-tag-library-item > span {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}
.product-tag-library-item form { margin: 0; }
.product-tag-row .product-tag-library-item button {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: #c83e52;
  color: #fff;
  font: 800 14px/1 Arial, sans-serif;
}
.product-tag-row .product-tag-library-item button:hover { background: #a7283c; }
.product-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.product-admin-actions form {
  margin: 0;
}
.product-delete-button {
  min-height: 39px;
  padding-inline: 14px;
}
.btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}
.weekly-drop-admin {
  display: grid;
  gap: 12px;
}
.weekly-drop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.weekly-drop-head h2 {
  margin: 0 0 4px;
  font-size: 24px;
  letter-spacing: 0;
}
.weekly-drop-head p {
  margin: 0;
}
.weekly-count {
  min-width: 62px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff7d8;
  color: #7b5a17;
  border: 1px solid #f2dc8a;
  font-weight: 950;
}
.weekly-count.is-complete {
  background: #e9ffe8;
  color: #1f5b2f;
  border-color: #bfe9c0;
}
.weekly-count.is-over {
  background: #ffe7eb;
  color: #8b1d31;
  border-color: #ffc7d1;
}
.compact-alert {
  margin: 0;
}
.weekly-selected-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.weekly-selected-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fffaf5;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}
.weekly-selected-row .is-empty {
  color: var(--muted);
}
.weekly-warning {
  margin: 0;
}
.product-catalog-tools {
  display: grid;
  gap: 14px;
}
.product-catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 14px;
  align-items: end;
}
.product-catalog-head h2 {
  margin: 0 0 4px;
  font-size: 24px;
  letter-spacing: 0;
}
.product-catalog-head p {
  margin: 0;
}
.product-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.product-search-form input {
  min-height: 44px;
}
.product-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-filter-tabs a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-filter-tabs a.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.product-filter-tabs strong {
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f2ebff;
  color: var(--ink);
  font-size: 11px;
}
.product-filter-tabs a.is-active strong {
  background: rgba(255,255,255,.24);
  color: #fff;
}
.product-admin-card.is-weekly {
  border-color: #eac363;
  box-shadow: 0 12px 32px rgba(150, 105, 20, .09);
}
.stage-weekly {
  background: #fff7d8;
  color: #7b5a17;
  border-color: #f2dc8a;
}
.stage-bestseller,
.btn-bestseller {
  border-color: #efbbca;
  background: #d94a72;
  color: #fff;
}
.stage-bestseller {
  background: #fff0f5;
  color: #a82e53;
}
.legacy-tags span {
  background: #f7f5f1;
  border-color: #ded8ce;
  color: #6f6b66;
}
.product-form {
  display: grid;
  gap: 22px;
}
.product-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.product-form .span-2 {
  grid-column: 1 / -1;
}
.product-form select,
.product-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.product-form textarea {
  resize: vertical;
  min-height: 128px;
}
.product-tag-selector {
  display: grid;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.product-tag-selector__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.product-tag-selector__head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}
.product-tag-selector__head p {
  margin: 4px 0 0;
}
.product-tag-count {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  background: #edf8f1;
  color: #176b45;
  font-size: 12px;
  font-weight: 900;
}
.product-tag-group {
  display: grid;
  gap: 10px;
}
.product-tag-group + .product-tag-group {
  padding-top: 16px;
  border-top: 1px solid #eee8e1;
}
.product-tag-group__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.product-tag-group__head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0;
}
.product-tag-group__head p,
.product-tag-group__hint {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.product-tag-group__mark {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  border: 2px solid currentColor;
  color: #8b58ce;
}
.product-tag-group__mark--store { border-radius: 4px; color: #7a51c7; }
.product-tag-group__mark--occasion { border-radius: 50% 50% 50% 2px; color: #d64e78; transform: rotate(-45deg); }
.product-tag-group__mark--format { border-radius: 50%; color: #d48d32; }
.product-tag-group__mark--color { border-radius: 50%; border-style: double; border-width: 4px; color: #4f8fa8; }
.product-tag-group__mark--style { transform: rotate(45deg); border-radius: 3px; color: #27875b; }
.product-tag-group__mark--flowers { border-radius: 50% 2px 50% 50%; color: #aa4d91; }
.product-tag-group__mark--greens { border-radius: 2px 50% 50% 50%; color: #27875b; transform: rotate(35deg); }
.product-tag-group__mark--advanced { border-radius: 50%; color: #77716a; }
.product-tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-tag-choice {
  position: relative;
  display: inline-flex;
}
.product-tag-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ded7cf;
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  color: #55504b;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.product-tag-toggle:hover {
  border-color: #a997bc;
  transform: translateY(-1px);
}
.product-tag-toggle.is-active {
  border-color: #513d70;
  background: #f2ecfb;
  color: #2d2145;
  box-shadow: inset 0 0 0 1px rgba(81,61,112,.08);
}
.product-tag-toggle__check {
  display: none;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: #21875b;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.product-tag-toggle.is-active .product-tag-toggle__check { display: inline-grid; }
.product-tag-delete {
  position: absolute;
  z-index: 2;
  top: -6px;
  right: -6px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #c83e52;
  color: #fff;
  font: 800 14px/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(105, 28, 45, .2);
}
.product-tag-delete:hover { background: #a7283c; }
.product-tag-delete:disabled { opacity: .5; cursor: wait; }
.product-tag-swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid rgba(45,33,69,.18);
  border-radius: 50%;
  background: #aaa;
}
.product-tag-swatch--white { background: #fff; }
.product-tag-swatch--ivory { background: #fff2c9; }
.product-tag-swatch--pink { background: #ee8fb5; }
.product-tag-swatch--blue { background: #78a9dc; }
.product-tag-swatch--purple { background: #9c79c9; }
.product-tag-swatch--yellow { background: #f2ca42; }
.product-tag-swatch--red { background: #d64e58; }
.product-tag-swatch--green { background: #5f9a68; }
.product-tag-swatch--neutral { background: #aaa096; }
.product-tag-group--advanced summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.product-tag-group--advanced[open] summary { margin-bottom: 8px; }
.product-image-field p,
.product-variants p {
  margin: 4px 0 0;
}
.product-image-field {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(140deg, #fff, #fffaf4);
}
.product-image-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.product-image-slot {
  min-width: 0;
  display: grid;
  gap: 9px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #fff;
}
.product-image-slot__picker {
  min-width: 0;
  display: grid;
  gap: 9px;
  cursor: pointer;
}
.product-image-slot > strong {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.product-image-role__hint {
  display: block;
  color: #718071;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}
.product-image-role {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-image-role select {
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffaf7;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.detail-item__properties{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.detail-item__properties span{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:999px;background:#fff7fb;padding:5px 9px;color:#6a5e79;font-size:12px;line-height:1.2}.detail-item__properties strong{color:var(--ink)}
.product-image-slot__preview {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  place-items: center;
  border: 1px dashed #d9cedf;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff7dc, #fff0f6);
  color: #9b8fa4;
  font-size: 28px;
  font-weight: 950;
}
.product-image-slot__preview.has-image {
  border-style: solid;
  background: #f6f3f0;
}
.product-image-slot__preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.product-image-slot input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.product-image-slot__button {
  width: 100%;
  min-height: 42px;
  pointer-events: none;
}
.product-image-slot small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-media-delete {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  padding: 7px 10px;
  background: #fff0f3;
  color: #af2844;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.product-media-delete:hover { background: #ffe3e9; }
.product-media-delete-state {
  color: #af2844;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}
.product-image-slot.is-pending-delete .product-image-slot__preview,
.product-model-slot.is-pending-delete .product-model-slot__picker {
  opacity: .35;
  filter: grayscale(1);
}
.product-model-field {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  gap: 16px;
  align-items: center;
  border-top: 1px solid #eee8e1;
  padding-top: 16px;
}
.product-model-field__copy {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.product-model-field__copy h3 { margin: 0; color: var(--ink); font-size: 16px; }
.product-model-field__copy p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.product-model-field__badge,
.product-model-slot__cube {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: #29213d;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .05em;
}
.product-model-field__badge { width: 40px; height: 40px; }
.product-model-slot {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px;
  background: #fff;
}
.product-model-slot__picker {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
}
.product-model-slot__preview {
  width: 72px;
  aspect-ratio: 1;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid #ded7cf;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff7dc, #eee7ff);
}
.product-model-slot__preview img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-model-slot__cube { width: 46px; height: 46px; box-shadow: 0 8px 18px rgba(41,33,61,.16); }
.product-model-slot__details { min-width: 0; display: grid; gap: 3px; }
.product-model-slot__details strong { color: var(--ink); font-size: 13px; }
.product-model-slot__details small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.product-model-slot input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.product-model-slot__button { min-width: 126px; pointer-events: none; }
.product-model-slot > .product-media-delete { grid-column: 2; grid-row: 2; }
.product-model-slot > .product-media-delete-state { grid-column: 1; grid-row: 2; }
.product-variants {
  display: grid;
  gap: 12px;
}
.product-variant-rows {
  display: grid;
  gap: 10px;
}
.product-variant-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 132px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: #fffaf5;
}
.product-variant-row .mini-danger {
  min-height: 44px;
  padding-inline: 14px;
}
.product-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.product-form-actions .btn {
  min-width: 160px;
  text-align: center;
}
@media (min-width: 1120px) {
  .product-admin-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .product-tag-panel {
    position: sticky;
    top: 22px;
  }
}
@media (max-width: 720px) {
  .custom-order-section-head {
    align-items: stretch;
    flex-direction: column;
  }
  .custom-order-section-head .btn {
    width: 100%;
  }
  .custom-order-add-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .custom-order-grid,
  .custom-order-public-grid,
  .custom-order-summary,
  .custom-order-public-summary {
    grid-template-columns: 1fr;
  }
  .custom-order-item {
    grid-template-columns: 1fr 92px;
  }
  .custom-order-custom-item {
    grid-template-columns: 1fr;
  }
  .custom-order-custom-item .span-2 {
    grid-column: 1 / -1;
  }
  .custom-order-item .mini-danger {
    grid-column: 1 / -1;
    width: 100%;
  }
  .custom-order-public-card {
    padding: 18px;
  }
  .custom-order-public-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .custom-order-public-item b {
    grid-column: 2;
    justify-self: start;
  }
  .custom-order-public-item img,
  .custom-order-public-item .item-placeholder {
    width: 52px;
    height: 52px;
  }
  .product-admin-card {
    grid-template-columns: 78px minmax(0, 1fr);
    padding: 10px;
  }
  .product-admin-media {
    width: 78px;
    height: 78px;
    border-radius: 16px;
  }
  .product-admin-download {
    top: 5px;
    right: 5px;
    width: 29px;
    height: 29px;
  }
  .product-admin-download svg {
    width: 15px;
    height: 15px;
  }
  .product-admin-top {
    display: grid;
  }
  .product-admin-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .product-admin-actions .btn,
  .product-admin-actions .mini-danger {
    width: 100%;
    text-align: center;
  }
  .weekly-drop-head {
    display: grid;
  }
  .product-form-grid,
  .product-image-field,
  .product-variant-row {
    grid-template-columns: 1fr;
  }
  .product-tag-selector__head {
    display: grid;
  }
  .product-tag-count {
    justify-self: start;
  }
  .product-tag-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-tag-choice {
    width: 100%;
  }
  .product-tag-toggle {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }
  .product-tag-toggle__check { margin-left: auto; }
  .product-image-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-image-slot {
    gap: 7px;
    padding: 8px;
  }
  .product-image-slot > strong {
    min-height: 28px;
    font-size: 10px;
    line-height: 1.2;
  }
  .product-image-slot__button {
    min-height: 38px;
    padding-inline: 6px;
    font-size: 10px;
  }
  .product-image-slot small {
    display: none;
  }
  .product-media-delete {
    min-height: 30px;
    padding-inline: 5px;
    font-size: 9px;
  }
  .product-media-delete-state { font-size: 9px; }
  .product-model-field { grid-template-columns: 1fr; }
  .product-model-slot { grid-template-columns: 1fr; }
  .product-model-slot__picker { grid-template-columns: 60px minmax(0,1fr); }
  .product-model-slot__preview { width: 60px; }
  .product-model-slot__button { grid-column: 1 / -1; width: 100%; }
  .product-model-slot > .product-media-delete,
  .product-model-slot > .product-media-delete-state { grid-column: 1; grid-row: auto; }
  .product-form-actions {
    display: grid;
  }
  .product-form-actions .btn {
    width: 100%;
  }
}

/* v2.5 admin clarity, customer memory, safe theme sync, A6 adaptive card */
.admin-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: #211936;
  background: linear-gradient(135deg, rgba(255,226,122,.42), rgba(227,105,165,.2));
  border: 1px solid rgba(234,223,213,.9);
}
.admin-card .admin-icon { font-size: 0; }
.admin-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.admin-card:hover .admin-icon {
  color: #7b4ad9;
  background: linear-gradient(135deg, rgba(255,226,122,.55), rgba(123,74,217,.16));
}
.notice {
  border-radius: 18px;
  padding: 12px 14px;
  margin: 12px 0;
  font-weight: 850;
  border: 1px solid var(--line);
}
.notice.good { color: #4c4844; background: #f6f3ee; border-color: #ddd6ce; }
.notice.bad { color: #9d2340; background: #fff0f3; border-color: #f2cad3; }
.theme-sync-panel,
.theme-file-list,
.theme-backups,
.customer-search-card { margin-top: 14px; }
.theme-sync-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.theme-sync-head h2,
.theme-backups h2 { margin: 0 0 6px; }
.theme-picker,
.customer-search {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
  align-items: end;
}
.theme-picker select,
.customer-search input,
.theme-backup-row input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 11px 12px;
  background: #fffaf5;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}
.safety-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #efe4db;
  border-radius: 16px;
  padding: 12px;
  background: #fffaf5;
  color: #5f586b;
  font-weight: 850;
  line-height: 1.35;
  margin-bottom: 12px;
}
.safety-check input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
}
.theme-file-rows { display: grid; gap: 8px; }
.theme-file-row {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 12px;
  background: #fff;
}
.theme-file-row input { width: 18px; height: 18px; }
.theme-file-main { min-width: 0; }
.theme-file-main strong,
.theme-file-main small {
  display: block;
  overflow-wrap: anywhere;
}
.theme-file-main small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.theme-status {
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: #f4efe8;
  color: #5f586b;
}
.theme-file-changed .theme-status { background: #fff4d9; color: #8a5a00; }
.theme-file-missing .theme-status { background: #edf8ff; color: #1f5c85; }
.theme-file-same { opacity: .76; }
.theme-file-same .theme-status { background: #f6f3ee; color: #4c4844; }
.theme-backup-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(250px,auto);
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 13px 0;
}
.theme-backup-row:first-of-type { border-top: 0; }
.theme-backup-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 800;
}
.theme-backup-row form {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
  margin: 0;
}
.theme-pages-form {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
  margin: 0 0 10px;
}
.theme-pages-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 11px 12px;
  background: #fffaf5;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}
.scope-note {
  border: 1px solid #f0d7e1;
  border-radius: 18px;
  padding: 12px 14px;
  margin: 10px 0 12px;
  background: #fff7fb;
}
.scope-note strong {
  display: block;
  margin-bottom: 4px;
}
.scope-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 820;
  line-height: 1.35;
}
.scope-note b {
  color: #302A4A;
}
.customer-search { grid-template-columns: minmax(0,1fr) auto auto; }
.customer-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.customer-row {
  display: grid;
  grid-template-columns: 50px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(39,31,61,.05);
  color: inherit;
}
.customer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffe27a, #e369a5);
  color: #211936;
  font-weight: 950;
  font-size: 20px;
}
.customer-main { min-width: 0; }
.customer-main strong,
.customer-main span,
.customer-main small {
  display: block;
  overflow-wrap: anywhere;
}
.customer-main span,
.customer-main small {
  color: var(--muted);
  font-weight: 800;
  margin-top: 3px;
}
.customer-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(95px,1fr));
  gap: 8px;
}
.customer-stats span {
  background: #fffaf5;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.customer-stats b {
  display: block;
  color: var(--ink);
  font-size: 16px;
}
.customer-product-grid,
.customer-reminder-list,
.customer-order-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.customer-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.customer-product,
.customer-order-row,
.customer-reminder-list div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf5;
  padding: 11px;
}
.customer-product {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 10px;
  align-items: center;
}
.customer-product img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}
.customer-product strong,
.customer-product span,
.customer-product small,
.customer-reminder-list strong,
.customer-reminder-list span,
.customer-reminder-list small { display: block; }
.customer-product span,
.customer-product small,
.customer-reminder-list span,
.customer-reminder-list small {
  color: var(--muted);
  font-weight: 800;
  margin-top: 3px;
}
.customer-order-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
  color: inherit;
}
.customer-order-row span,
.customer-order-row small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-top: 4px;
}
.customer-order-row > div:last-child {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.customer-detail-hero { margin-top: 6px; }
.gift-card-face {
  background:
    radial-gradient(ellipse at 36% 35%, rgba(242,106,162,.18), transparent 30%),
    radial-gradient(ellipse at 62% 58%, rgba(255,205,55,.22), transparent 28%),
    #fff;
}
.gift-card-soft-shape {
  opacity: .78;
  filter: blur(1.5px);
}
.gift-card-soft-shape--pink { background: radial-gradient(circle, rgba(242,106,162,.28), transparent 68%); }
.gift-card-soft-shape--yellow { background: radial-gradient(circle, rgba(255,205,55,.34), transparent 68%); }
.gift-card-inner {
  grid-template-rows: auto auto minmax(0,1fr) auto;
  align-items: start;
}
.gift-card-message {
  align-self: stretch;
  margin: 8px 0 4px;
}
.gift-card-message p {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #2b2238;
  letter-spacing: 0;
  text-wrap: balance;
}
.gift-card-message-short .gift-card-message p {
  font-size: clamp(42px, 7vw, 66px);
  max-width: 610px;
}
.gift-card-message-medium .gift-card-message p {
  font-size: clamp(32px, 5.1vw, 48px);
  max-width: 620px;
}
.gift-card-message-long .gift-card-message p {
  font-size: clamp(24px, 3.8vw, 36px);
  line-height: 1.12;
  max-width: 650px;
}
.gift-card-qr-block {
  width: min(470px, 76%);
  justify-self: start;
  margin-left: 8px;
  grid-template-columns: 70px minmax(0,1fr);
  gap: 11px;
  padding: 8px 11px;
}
.gift-card-qr { width: 70px; height: 70px; }
.gift-card-qr-block strong { font-size: 15px; }
.gift-card-qr-block span {
  font-size: 12px;
  line-height: 1.28;
}
@media (max-width: 760px) {
  .theme-picker,
  .theme-backup-row,
  .theme-backup-row form,
  .theme-pages-form,
  .customer-row,
  .customer-search,
  .customer-order-row { grid-template-columns: 1fr; }
  .theme-sync-head { display: grid; }
  .customer-stats,
  .customer-product-grid { grid-template-columns: 1fr; }
.customer-order-row > div:last-child { justify-items: start; }
}
@media print {
  .gift-card-face {
    background:
      radial-gradient(ellipse at 31% 34%, rgba(242,106,162,.24), transparent 31%),
      radial-gradient(ellipse at 62% 60%, rgba(255,205,55,.30), transparent 30%),
      #fff !important;
  }
  .gift-card-message-short .gift-card-message p {
    font-size: 34pt;
    max-width: 116mm;
  }
  .gift-card-message-medium .gift-card-message p {
    font-size: 25pt;
    max-width: 118mm;
  }
  .gift-card-message-long .gift-card-message p {
    font-size: 18pt;
    line-height: 1.12;
    max-width: 122mm;
  }
  .gift-card-qr-block {
    width: 92mm;
    grid-template-columns: 17mm 1fr;
    margin-left: 0;
    padding: 2mm 2.6mm;
  }
  .gift-card-qr {
    width: 17mm;
    height: 17mm;
  }
  .gift-card-qr-block strong { font-size: 8pt; }
  .gift-card-qr-block span {
    font-size: 6.5pt;
    line-height: 1.2;
  }
  .gift-card-inner { padding: 7mm 9mm 6mm; }
  .gift-card-soft-shape--pink {
    left: 33mm;
    top: 22mm;
    width: 66mm;
    height: 34mm;
  }
  .gift-card-soft-shape--yellow {
    left: 52mm;
    bottom: 17mm;
    width: 62mm;
    height: 32mm;
  }
}

/* v2.6 envelope name A6 print */
.print-card-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin-top: 10px;
}
.envelope-card-face {
  position: relative;
  overflow: hidden;
  aspect-ratio: 148 / 105;
  border: 1px solid #eadfd5;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 32% 35%, rgba(242,106,162,.20), transparent 31%),
    radial-gradient(ellipse at 68% 60%, rgba(255,205,55,.24), transparent 30%),
    #fff;
  box-shadow: 0 18px 46px rgba(39,31,61,.12);
}
.envelope-card-inner {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  justify-items: center;
  align-items: start;
  padding: 26px 34px 24px;
  text-align: center;
}
.envelope-name-block {
  align-self: center;
  display: grid;
  gap: 6px;
  width: 100%;
}
.envelope-name-block span {
  color: #746d82;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.envelope-name-block strong {
  color: #211936;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 400;
  line-height: .98;
  overflow-wrap: anywhere;
}
.envelope-name-short .envelope-name-block strong {
  font-size: clamp(58px, 9.2vw, 88px);
}
.envelope-name-medium .envelope-name-block strong {
  font-size: clamp(44px, 7vw, 66px);
}
.envelope-name-long .envelope-name-block strong {
  font-size: clamp(34px, 5.3vw, 50px);
  line-height: 1.05;
}
.envelope-card-foot {
  margin: 0;
  color: #746d82;
  font-size: 12px;
  font-weight: 850;
}
@media (max-width: 640px) {
  .print-card-actions {
    grid-template-columns: 1fr;
  }
}
@media print {
  .envelope-card-page,
  .envelope-card-page html,
  body.envelope-card-page {
    width: 148mm;
    height: 105mm;
  }
  .envelope-card-face {
    width: 148mm;
    height: 104.5mm;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background:
      radial-gradient(ellipse at 31% 34%, rgba(242,106,162,.26), transparent 31%),
      radial-gradient(ellipse at 66% 62%, rgba(255,205,55,.32), transparent 30%),
      #fff !important;
  }
  .envelope-card-inner {
    padding: 7mm 10mm 6mm;
  }
  .envelope-name-short .envelope-name-block strong {
    font-size: 47pt;
  }
  .envelope-name-medium .envelope-name-block strong {
    font-size: 36pt;
  }
  .envelope-name-long .envelope-name-block strong {
    font-size: 27pt;
  }
  .envelope-card-foot {
    font-size: 7pt;
  }
}

/* v2.6 admin cleanup and frictionless photo upload */
.mini-icon-danger,
.icon-danger {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(157, 35, 64, .18);
  border-radius: 999px;
  background: rgba(255, 240, 243, .72);
  color: #9d2340;
  cursor: pointer;
}
.mini-icon-danger svg,
.icon-danger svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mini-icon-danger:hover,
.icon-danger:hover {
  background: #ffe5ec;
  border-color: rgba(157, 35, 64, .34);
}
.quiet-danger-form {
  margin: 0;
  align-self: center;
}
.gallery-media,
.photo-thumb {
  position: relative;
}
.gallery-media .mini-icon-danger,
.photo-thumb .icon-danger {
  position: absolute;
  top: 8px;
  right: 8px;
  box-shadow: 0 8px 18px rgba(39,31,61,.12);
}
.photo-thumb form,
.gallery-media form {
  margin: 0;
}
.photo-grid {
  align-items: start;
}
.photo-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}
.auto-photo-form {
  gap: 10px;
}
.photo-picker {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  border: 1px dashed rgba(123,74,217,.34);
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(135deg,#fffaf5,#fff);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}
.photo-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.photo-picker__icon {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,226,122,.52), rgba(227,105,165,.24));
  color: #211936;
}
.photo-picker__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photo-picker strong {
  font-size: 15px;
  color: var(--ink);
}
.photo-picker small,
.photo-upload-state {
  color: var(--muted);
  font-weight: 800;
}
.photo-upload-state {
  margin: 0;
  font-size: 12px;
}
.auto-photo-form.is-uploading .photo-picker {
  opacity: .68;
  pointer-events: none;
}
.auto-photo-form.is-uploading .photo-upload-state {
  color: #7b4ad9;
}
.delivery-location-picker {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(18,55,40,.12);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,253,248,.74);
}
.delivery-location-picker > strong {
  color: #123728;
  font-size: 13px;
}
.delivery-location-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.delivery-location-options label {
  display: inline-flex;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}
.delivery-location-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.delivery-location-options span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(18,55,40,.16);
  border-radius: 999px;
  padding: 8px 11px;
  background: #fff;
  color: #496158;
  font-weight: 900;
}
.delivery-location-options input:checked + span {
  border-color: #123728;
  background: #123728;
  color: #FFF4E2;
}
.delivery-location-other[hidden] {
  display: none;
}
.photo-thumb-caption {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
}
.email-test-actions {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  margin-top: 12px;
}
.email-test-actions form {
  margin: 0;
}
.email-test-actions .btn {
  width: 100%;
}
.customer-row--with-actions {
  grid-template-columns: minmax(0,1fr) auto;
  padding: 8px 10px 8px 8px;
}
.customer-row-link {
  display: grid;
  grid-template-columns: 50px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.customer-row--with-actions form {
  margin: 0;
}
.customer-detail-hero {
  align-items: flex-start;
}
.customer-detail-hero form {
  margin: 0;
}
@media (max-width:640px) {
  .customer-row--with-actions,
  .customer-row-link {
    grid-template-columns: 1fr;
  }
  .customer-row--with-actions form {
    justify-self: end;
  }
  .photo-picker {
    grid-template-columns: 38px minmax(0,1fr);
    padding: 12px;
  }
  .photo-picker__icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }
  .email-test-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* v2.7 graphite palette + brand colors */
:root {
  --green: #3f3c39;
  --green-soft: #f1eee9;
}
body {
  background: linear-gradient(140deg, #fffaf1, #fbf8f2 45%, #fff0f8);
}
.side-nav {
  background: linear-gradient(180deg, #3f3c39, #272522);
}
.side-nav {
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding-bottom: max(18px, env(safe-area-inset-bottom));
}
.side-brand {
  flex: 0 0 auto;
}
.side-links {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
  scrollbar-width: thin;
  align-content: start;
}
.side-user {
  flex: 0 0 auto;
}
.side-bottom {
  flex: 0 0 auto;
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(63,60,57,0), rgba(39,37,34,.92) 18%, rgba(39,37,34,1));
}
.side-links a.active {
  color: #3f3c39;
}
.side-links a.active svg {
  color: #3f3c39;
}
.back-chip,
.detail-price,
.reminder-saved-list strong {
  color: #3f3c39;
}
.pill.green,
.stage-ready,
.theme-file-same .theme-status {
  background: #f1eee9;
  color: #4c4844;
  border-color: #ddd6ce;
}
.order-card.status-manager_notified,
.order-card.status-ready {
  background: #fbf8f2;
  border-color: #ddd6ce;
}
.quick-col,
.quick-col:has(.stage-bg-ready) {
  background: linear-gradient(180deg, #fbf8f2, #fff);
}
.round-done,
.btn-green,
.round-action.stage-bg-ready {
  background: #6f6b66;
  color: #fff;
}
.mobile-menu-toggle em {
  background: #6f6b66;
  box-shadow: 0 0 0 4px rgba(111,107,102,.16);
}
.notice.good {
  color: #4c4844;
  background: #f6f3ee;
  border-color: #ddd6ce;
}
.brand-color-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.brand-color-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(39,31,61,.05);
}
.brand-color-swatch {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(39,31,61,.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28);
}
.brand-color-card strong,
.brand-color-card p {
  display: block;
}
.brand-color-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 780;
  line-height: 1.35;
}
.copy-color {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf5;
  color: #3f3c39;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .05em;
  cursor: pointer;
}
@media (max-width: 640px) {
  .brand-color-grid {
    grid-template-columns: 1fr;
  }
}

/* v2.8 A6 gift card watercolor brush background */
.gift-card-face {
  background: #fff !important;
}
.gift-card-soft-shape {
  display: none;
}
.gift-card-watercolor {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 47%;
  width: min(580px, 78%);
  height: 46%;
  transform: translate(-50%, -50%) rotate(-5deg);
  pointer-events: none;
  opacity: .9;
}
.gift-card-watercolor span {
  position: absolute;
  display: block;
  left: 50%;
  width: 86%;
  height: 30%;
  border-radius: 52% 38% 54% 44% / 42% 60% 35% 58%;
  transform-origin: center;
  filter: blur(.35px);
  mix-blend-mode: multiply;
}
.gift-card-watercolor span::before,
.gift-card-watercolor span::after {
  content: "";
  position: absolute;
  inset: 8% -4%;
  border-radius: inherit;
  background: inherit;
  opacity: .38;
  transform: translateY(18%) skewX(-14deg);
}
.gift-card-watercolor span::after {
  inset: 18% 7%;
  opacity: .28;
  transform: translateY(-18%) skewX(18deg);
}
.gift-card-watercolor span:nth-child(1) {
  top: 2%;
  background: linear-gradient(90deg, transparent 0%, rgba(246,139,165,.12) 8%, rgba(246,139,165,.38) 32%, rgba(245,197,184,.28) 72%, transparent 100%);
  transform: translateX(-48%) rotate(-9deg);
}
.gift-card-watercolor span:nth-child(2) {
  top: 19%;
  background: linear-gradient(90deg, transparent 0%, rgba(220,213,203,.20) 5%, rgba(176,178,172,.34) 36%, rgba(239,199,176,.24) 76%, transparent 100%);
  transform: translateX(-50%) rotate(4deg);
}
.gift-card-watercolor span:nth-child(3) {
  top: 37%;
  width: 92%;
  background: linear-gradient(90deg, transparent 0%, rgba(241,180,198,.16) 7%, rgba(239,157,183,.34) 38%, rgba(245,218,188,.28) 72%, transparent 100%);
  transform: translateX(-48%) rotate(-3deg);
}
.gift-card-watercolor span:nth-child(4) {
  top: 55%;
  width: 78%;
  background: linear-gradient(90deg, transparent 0%, rgba(213,204,194,.16) 6%, rgba(191,180,166,.32) 45%, rgba(244,200,181,.25) 82%, transparent 100%);
  transform: translateX(-42%) rotate(8deg);
}
.gift-card-watercolor span:nth-child(5) {
  top: 70%;
  width: 70%;
  background: linear-gradient(90deg, transparent 0%, rgba(238,138,174,.10) 8%, rgba(236,135,172,.28) 38%, rgba(237,223,207,.24) 76%, transparent 100%);
  transform: translateX(-58%) rotate(-11deg);
}
.gift-card-inner {
  z-index: 2;
}
.gift-card-kicker,
.gift-card-message,
.gift-card-qr-block {
  position: relative;
}
@media print {
  .gift-card-watercolor {
    left: 74mm;
    top: 45mm;
    width: 108mm;
    height: 52mm;
    opacity: .92;
  }
  .gift-card-watercolor span {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* v2.9 selectable A6 gift message styles */
.gift-card-style-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(39,31,61,.05);
}
.gift-card-style-panel h2 {
  margin: 0 0 10px;
}
.gift-card-style-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.gift-card-style-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.gift-card-style-grid button {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf5;
  color: var(--ink);
  padding: 10px 8px;
  font-weight: 950;
  font-size: 11px;
  letter-spacing: .04em;
  cursor: pointer;
}
.gift-card-style-grid button span {
  display: block;
  margin-bottom: 4px;
  color: #8d8494;
  font-size: 10px;
  letter-spacing: .12em;
}
.gift-card-style-grid button[aria-pressed="true"] {
  border-color: #d6c4ee;
  background: linear-gradient(135deg, #fff7dd, #fff0f7);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 10px 20px rgba(39,31,61,.06);
}
.gift-card-style-brush .gift-card-message p {
  font-family: "Snell Roundhand", "Apple Chancery", "Segoe Script", "Lucida Handwriting", cursive;
  font-weight: 500;
  letter-spacing: 0;
}
.gift-card-style-paint .gift-card-message p {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  letter-spacing:0;
}
.gift-card-style-bands .gift-card-message p {
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-weight: 500;
  letter-spacing: 0;
}
.gift-card-style-paper .gift-card-message p {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing:0;
}
.gift-card-style-cloud .gift-card-message p {
  font-family: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
  font-style: normal;
  font-weight: 750;
  letter-spacing:0;
}
.gift-card-style-paint .gift-card-watercolor {
  top: 48%;
  width: min(610px, 80%);
  height: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
}
.gift-card-style-paint .gift-card-watercolor span {
  height: 38%;
  border-radius: 42% 58% 45% 55% / 52% 36% 64% 44%;
  filter: blur(.15px) drop-shadow(0 4px 0 rgba(255,255,255,.16));
}
.gift-card-style-paint .gift-card-watercolor span:nth-child(1) {
  top: 4%;
  width: 90%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,144,178,.30) 10%, rgba(255,190,203,.56) 40%, rgba(175,226,239,.42) 82%, transparent 100%);
  transform: translateX(-49%) rotate(-8deg);
}
.gift-card-style-paint .gift-card-watercolor span:nth-child(2) {
  top: 28%;
  width: 94%;
  background: linear-gradient(90deg, transparent 0%, rgba(177,226,240,.50) 12%, rgba(255,244,182,.52) 50%, rgba(249,171,191,.48) 86%, transparent 100%);
  transform: translateX(-51%) rotate(3deg);
}
.gift-card-style-paint .gift-card-watercolor span:nth-child(3) {
  top: 50%;
  width: 86%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,210,128,.38) 8%, rgba(232,210,245,.50) 52%, rgba(178,235,239,.42) 88%, transparent 100%);
  transform: translateX(-47%) rotate(-2deg);
}
.gift-card-style-paint .gift-card-watercolor span:nth-child(4),
.gift-card-style-paint .gift-card-watercolor span:nth-child(5) {
  display: none;
}
.gift-card-style-bands .gift-card-watercolor {
  top: 50%;
  width: min(560px, 74%);
  height: 68%;
  transform: translate(-50%, -50%) rotate(0deg);
}
.gift-card-style-bands .gift-card-watercolor span {
  left: 50%;
  width: 92%;
  height: 16%;
  border-radius: 28% 18% 26% 16% / 52% 41% 48% 39%;
  filter: blur(.25px);
}
.gift-card-style-bands .gift-card-watercolor span::before,
.gift-card-style-bands .gift-card-watercolor span::after {
  opacity: .22;
}
.gift-card-style-bands .gift-card-watercolor span:nth-child(1) {
  top: 5%;
  background: linear-gradient(90deg, transparent, rgba(160,215,244,.46), rgba(160,215,244,.30), transparent);
  transform: translateX(-50%) rotate(-1deg);
}
.gift-card-style-bands .gift-card-watercolor span:nth-child(2) {
  top: 22%;
  background: linear-gradient(90deg, transparent, rgba(207,176,245,.42), rgba(222,195,247,.34), transparent);
  transform: translateX(-50%) rotate(1deg);
}
.gift-card-style-bands .gift-card-watercolor span:nth-child(3) {
  top: 39%;
  background: linear-gradient(90deg, transparent, rgba(255,198,203,.42), rgba(255,224,221,.32), transparent);
  transform: translateX(-50%) rotate(-1deg);
}
.gift-card-style-bands .gift-card-watercolor span:nth-child(4) {
  top: 56%;
  background: linear-gradient(90deg, transparent, rgba(162,235,217,.42), rgba(176,239,224,.32), transparent);
  transform: translateX(-50%) rotate(1.5deg);
}
.gift-card-style-bands .gift-card-watercolor span:nth-child(5) {
  top: 73%;
  background: linear-gradient(90deg, transparent, rgba(255,215,167,.40), rgba(231,226,217,.30), transparent);
  transform: translateX(-50%) rotate(-1deg);
}
.gift-card-style-paper .gift-card-watercolor {
  top: 49%;
  width: min(500px, 66%);
  height: 58%;
  border-radius: 2px;
  background:
    radial-gradient(circle at 18% 18%, rgba(249,193,204,.36), transparent 31%),
    radial-gradient(circle at 70% 26%, rgba(238,206,196,.30), transparent 32%),
    radial-gradient(circle at 64% 82%, rgba(101,133,103,.28), transparent 38%),
    radial-gradient(circle at 20% 80%, rgba(222,218,210,.34), transparent 32%),
    rgba(255,246,246,.62);
  box-shadow: inset 0 -10px 0 rgba(76,92,72,.14);
  opacity: .86;
  transform: translate(-50%, -50%) rotate(0deg);
}
.gift-card-style-paper .gift-card-watercolor span {
  display: none;
}
.gift-card-style-cloud .gift-card-watercolor {
  top: 48%;
  width: min(560px, 74%);
  height: 58%;
  background:
    radial-gradient(circle at 18% 24%, rgba(238,111,129,.24), transparent 34%),
    radial-gradient(circle at 44% 20%, rgba(169,217,232,.28), transparent 34%),
    radial-gradient(circle at 72% 28%, rgba(236,129,151,.22), transparent 35%),
    radial-gradient(circle at 30% 70%, rgba(255,205,156,.22), transparent 35%),
    radial-gradient(circle at 58% 72%, rgba(150,205,226,.25), transparent 36%),
    radial-gradient(circle at 83% 72%, rgba(189,169,230,.22), transparent 35%);
  opacity: .86;
  transform: translate(-50%, -50%) rotate(0deg);
}
.gift-card-style-cloud .gift-card-watercolor span {
  display: none;
}
@media (max-width: 640px) {
  .gift-card-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media print {
  .gift-card-style-panel {
    display: none !important;
  }
  .gift-card-style-paint .gift-card-watercolor {
    left: 74mm;
    top: 47mm;
    width: 114mm;
    height: 52mm;
  }
  .gift-card-style-bands .gift-card-watercolor {
    left: 74mm;
    top: 50mm;
    width: 106mm;
    height: 64mm;
  }
  .gift-card-style-paper .gift-card-watercolor {
    left: 74mm;
    top: 48mm;
    width: 96mm;
    height: 58mm;
  }
  .gift-card-style-cloud .gift-card-watercolor {
    left: 74mm;
    top: 48mm;
    width: 106mm;
    height: 60mm;
  }
}

/* v3.0 polished selectable A6 gift cards */
.gift-card-face {
  background: #fff !important;
}
.gift-card-inner {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: 24px 36px 22px;
}
.gift-card-logo {
  width: 58px;
  height: 58px;
}
.gift-card-kicker {
  margin-top: 6px;
  color: #5f586b;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .18em;
}
.gift-card-message {
  align-self: stretch;
  margin: 4px 0 8px;
  z-index: 3;
}
.gift-card-message p {
  max-width: 620px;
  color: #2a2238;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
}
.gift-card-message-short .gift-card-message p {
  font-size: clamp(38px, 5.4vw, 54px);
}
.gift-card-message-medium .gift-card-message p {
  font-size: clamp(30px, 4.45vw, 44px);
}
.gift-card-message-long .gift-card-message p {
  font-size: clamp(22px, 3.45vw, 34px);
  line-height: 1.14;
  max-width: 650px;
}
.gift-card-watercolor {
  left: 50%;
  top: 46%;
  width: min(570px, 76%);
  height: 50%;
  opacity: .96;
  transform: translate(-50%, -50%);
  filter: saturate(1.04);
  overflow: visible;
}
.gift-card-watercolor::before,
.gift-card-watercolor::after {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}
.gift-card-watercolor span {
  display: block;
  height: 23%;
  border-radius: 38% 52% 43% 57% / 56% 38% 62% 42%;
  filter: blur(.25px);
  opacity: .84;
  mix-blend-mode: multiply;
}
.gift-card-watercolor span::before,
.gift-card-watercolor span::after {
  opacity: .22;
}
.gift-card-qr-block {
  width: min(410px, 66%);
  margin-left: 8px;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 252, 247, .88);
  box-shadow: 0 8px 22px rgba(39,31,61,.045);
}
.gift-card-qr {
  width: 62px;
  height: 62px;
}
.gift-card-qr-block strong {
  font-size: 13px;
}
.gift-card-qr-block span {
  margin-top: 2px;
  font-size: 10.5px;
  line-height: 1.22;
}
.gift-card-style-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.gift-card-style-grid button {
  min-height: 52px;
}
.gift-card-style-brush .gift-card-message p {
  font-family: "Segoe Script", "Lucida Handwriting", "Brush Script MT", cursive !important;
  font-style: normal;
  font-weight: 500;
}
.gift-card-style-brush .gift-card-watercolor {
  transform: translate(-50%, -49%) rotate(-5deg);
}
.gift-card-style-brush .gift-card-watercolor span:nth-child(1) {
  top: 4%;
  width: 88%;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 144, 174, .28) 8%, rgba(255, 197, 201, .50) 44%, rgba(255, 222, 197, .30) 78%, transparent 100%);
  transform: translateX(-48%) rotate(-7deg);
}
.gift-card-style-brush .gift-card-watercolor span:nth-child(2) {
  top: 20%;
  width: 82%;
  background: linear-gradient(90deg, transparent 0%, rgba(227, 209, 199, .24) 9%, rgba(192, 184, 174, .32) 45%, rgba(255, 214, 193, .26) 78%, transparent 100%);
  transform: translateX(-51%) rotate(3deg);
}
.gift-card-style-brush .gift-card-watercolor span:nth-child(3) {
  top: 37%;
  width: 92%;
  background: linear-gradient(90deg, transparent 0%, rgba(244, 159, 190, .24) 8%, rgba(244, 180, 197, .42) 48%, rgba(247, 218, 185, .30) 82%, transparent 100%);
  transform: translateX(-48%) rotate(-2deg);
}
.gift-card-style-brush .gift-card-watercolor span:nth-child(4) {
  top: 55%;
  width: 70%;
  background: linear-gradient(90deg, transparent 0%, rgba(216, 206, 193, .22) 8%, rgba(200, 186, 170, .32) 45%, rgba(239, 196, 180, .24) 80%, transparent 100%);
  transform: translateX(-43%) rotate(8deg);
}
.gift-card-style-brush .gift-card-watercolor span:nth-child(5) {
  top: 70%;
  width: 62%;
  background: linear-gradient(90deg, transparent 0%, rgba(238, 143, 181, .18) 10%, rgba(240, 162, 191, .28) 46%, rgba(232, 220, 207, .22) 80%, transparent 100%);
  transform: translateX(-56%) rotate(-10deg);
}
.gift-card-style-paint .gift-card-message p {
  font-family: Georgia, "Times New Roman", serif !important;
  font-style: italic;
  font-weight: 500;
}
.gift-card-style-paint .gift-card-watercolor {
  height: 47%;
  transform: translate(-50%, -48%) rotate(-4deg);
}
.gift-card-style-paint .gift-card-watercolor span:nth-child(1) {
  top: 4%;
  width: 86%;
  height: 29%;
  background: repeating-linear-gradient(172deg, rgba(255,255,255,.26) 0 3px, transparent 3px 8px), linear-gradient(90deg, transparent 0%, rgba(245, 137, 181, .44) 8%, rgba(172, 229, 241, .48) 75%, transparent 100%);
  transform: translateX(-48%) rotate(-8deg);
}
.gift-card-style-paint .gift-card-watercolor span:nth-child(2) {
  top: 28%;
  width: 94%;
  height: 32%;
  background: repeating-linear-gradient(170deg, rgba(255,255,255,.23) 0 2px, transparent 2px 7px), linear-gradient(90deg, transparent 0%, rgba(183, 232, 242, .48) 9%, rgba(255, 232, 150, .46) 46%, rgba(249, 170, 198, .48) 86%, transparent 100%);
  transform: translateX(-52%) rotate(2deg);
}
.gift-card-style-paint .gift-card-watercolor span:nth-child(3) {
  top: 51%;
  width: 80%;
  height: 28%;
  background: repeating-linear-gradient(168deg, rgba(255,255,255,.23) 0 2px, transparent 2px 8px), linear-gradient(90deg, transparent 0%, rgba(225, 210, 246, .45) 10%, rgba(179, 237, 230, .38) 82%, transparent 100%);
  transform: translateX(-47%) rotate(-1deg);
}
.gift-card-style-paint .gift-card-watercolor span:nth-child(4),
.gift-card-style-paint .gift-card-watercolor span:nth-child(5) {
  display: none;
}
.gift-card-style-bands .gift-card-message p {
  font-family: "Lucida Handwriting", "Segoe Script", "Brush Script MT", cursive !important;
  font-style: normal;
  font-weight: 500;
}
.gift-card-style-bands .gift-card-watercolor {
  height: 64%;
  transform: translate(-50%, -50%);
}
.gift-card-style-bands .gift-card-watercolor span {
  width: 88%;
  height: 14%;
  border-radius: 22% 12% 20% 12% / 55% 40% 58% 42%;
}
.gift-card-style-bands .gift-card-watercolor span:nth-child(1) {
  top: 8%;
  background: linear-gradient(90deg, transparent, rgba(157, 217, 244, .42), rgba(157, 217, 244, .22), transparent);
  transform: translateX(-50%) rotate(-1deg);
}
.gift-card-style-bands .gift-card-watercolor span:nth-child(2) {
  top: 25%;
  background: linear-gradient(90deg, transparent, rgba(214, 185, 245, .38), rgba(226, 199, 247, .28), transparent);
  transform: translateX(-49%) rotate(1deg);
}
.gift-card-style-bands .gift-card-watercolor span:nth-child(3) {
  top: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 205, .40), rgba(255, 222, 220, .25), transparent);
  transform: translateX(-51%) rotate(-1deg);
}
.gift-card-style-bands .gift-card-watercolor span:nth-child(4) {
  top: 59%;
  background: linear-gradient(90deg, transparent, rgba(167, 235, 219, .39), rgba(186, 241, 227, .25), transparent);
  transform: translateX(-50%) rotate(1.5deg);
}
.gift-card-style-bands .gift-card-watercolor span:nth-child(5) {
  top: 76%;
  background: linear-gradient(90deg, transparent, rgba(255, 216, 168, .34), rgba(236, 226, 212, .24), transparent);
  transform: translateX(-49%) rotate(-1deg);
}
.gift-card-style-paper .gift-card-message p {
  font-family: Garamond, "Times New Roman", serif !important;
  font-style: italic;
  font-weight: 500;
}
.gift-card-style-paper .gift-card-watercolor {
  width: min(500px, 66%);
  height: 55%;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(247, 183, 198, .34), transparent 31%),
    radial-gradient(circle at 70% 25%, rgba(230, 200, 190, .28), transparent 34%),
    radial-gradient(circle at 65% 82%, rgba(112, 139, 111, .25), transparent 39%),
    radial-gradient(circle at 20% 78%, rgba(226, 222, 212, .32), transparent 34%),
    rgba(255, 247, 247, .42);
  box-shadow: inset 0 -8px 0 rgba(76,92,72,.10);
  clip-path: polygon(1% 3%, 98% 0, 100% 94%, 96% 99%, 3% 96%, 0 8%);
  transform: translate(-50%, -49%) rotate(-1deg);
}
.gift-card-style-paper .gift-card-watercolor span {
  display: none;
}
.gift-card-style-cloud .gift-card-message p {
  font-family: Corbel, Candara, "Trebuchet MS", Arial, sans-serif !important;
  font-style: normal;
  font-weight: 500;
  letter-spacing:0;
}
.gift-card-style-cloud .gift-card-watercolor {
  width: min(550px, 72%);
  height: 58%;
  background:
    radial-gradient(circle at 18% 24%, rgba(238, 111, 129, .21), transparent 34%),
    radial-gradient(circle at 44% 20%, rgba(169, 217, 232, .26), transparent 34%),
    radial-gradient(circle at 72% 28%, rgba(236, 129, 151, .19), transparent 35%),
    radial-gradient(circle at 30% 70%, rgba(255, 205, 156, .20), transparent 35%),
    radial-gradient(circle at 58% 72%, rgba(150, 205, 226, .22), transparent 36%),
    radial-gradient(circle at 83% 72%, rgba(189, 169, 230, .19), transparent 35%);
  transform: translate(-50%, -50%);
}
.gift-card-style-cloud .gift-card-watercolor span {
  display: none;
}
.gift-card-style-vellum .gift-card-message p {
  font-family: "Baskerville Old Face", Baskerville, Georgia, serif !important;
  font-style: italic;
  font-weight: 400;
}
.gift-card-style-vellum .gift-card-watercolor {
  width: min(545px, 72%);
  height: 50%;
  border: 1px solid rgba(205, 184, 143, .28);
  border-radius: 34px;
  background:
    linear-gradient(115deg, transparent 4%, rgba(255, 238, 189, .30) 17%, rgba(255, 247, 224, .20) 44%, rgba(246, 201, 217, .18) 74%, transparent 96%),
    radial-gradient(circle at 24% 45%, rgba(255, 225, 149, .24), transparent 38%);
  transform: translate(-50%, -48%) rotate(-.8deg);
}
.gift-card-style-vellum .gift-card-watercolor span {
  display: none;
}
.gift-card-style-petal .gift-card-message p {
  font-family: "Brush Script MT", "Segoe Script", cursive !important;
  font-style: normal;
  font-weight: 500;
}
.gift-card-style-petal .gift-card-watercolor {
  width: min(560px, 74%);
  height: 58%;
  background:
    radial-gradient(ellipse at 19% 20%, rgba(255, 158, 183, .27), transparent 19%),
    radial-gradient(ellipse at 31% 34%, rgba(255, 217, 120, .20), transparent 18%),
    radial-gradient(ellipse at 78% 25%, rgba(142, 220, 232, .20), transparent 20%),
    radial-gradient(ellipse at 66% 72%, rgba(211, 180, 244, .22), transparent 20%),
    radial-gradient(ellipse at 27% 74%, rgba(255, 184, 204, .19), transparent 20%);
  transform: translate(-50%, -49%) rotate(1deg);
}
.gift-card-style-petal .gift-card-watercolor span {
  display: none;
}
.gift-card-style-sunrise .gift-card-message p {
  font-family: "Book Antiqua", Palatino, Georgia, serif !important;
  font-style: italic;
  font-weight: 500;
}
.gift-card-style-sunrise .gift-card-watercolor {
  height: 52%;
  transform: translate(-50%, -48%) rotate(-8deg);
}
.gift-card-style-sunrise .gift-card-watercolor span:nth-child(1) {
  top: 6%;
  width: 86%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 200, 92, .28) 8%, rgba(255, 154, 121, .34) 48%, rgba(255, 205, 175, .20) 82%, transparent 100%);
  transform: translateX(-50%) rotate(-5deg);
}
.gift-card-style-sunrise .gift-card-watercolor span:nth-child(2) {
  top: 24%;
  width: 92%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 224, 132, .30) 8%, rgba(249, 172, 122, .35) 55%, rgba(239, 142, 170, .24) 86%, transparent 100%);
  transform: translateX(-49%) rotate(4deg);
}
.gift-card-style-sunrise .gift-card-watercolor span:nth-child(3) {
  top: 44%;
  width: 78%;
  background: linear-gradient(90deg, transparent 0%, rgba(241, 156, 191, .24) 8%, rgba(251, 203, 169, .28) 48%, rgba(255, 237, 173, .20) 80%, transparent 100%);
  transform: translateX(-46%) rotate(-2deg);
}
.gift-card-style-sunrise .gift-card-watercolor span:nth-child(4) {
  top: 63%;
  width: 62%;
  background: linear-gradient(90deg, transparent 0%, rgba(244, 196, 148, .20) 10%, rgba(255, 221, 154, .22) 55%, transparent 100%);
  transform: translateX(-58%) rotate(7deg);
}
.gift-card-style-sunrise .gift-card-watercolor span:nth-child(5) {
  display: none;
}
.gift-card-style-lavender .gift-card-message p {
  font-family: Constantia, Georgia, serif !important;
  font-style: italic;
  font-weight: 500;
}
.gift-card-style-lavender .gift-card-watercolor {
  height: 52%;
  transform: translate(-50%, -48%) rotate(5deg);
}
.gift-card-style-lavender .gift-card-watercolor span:nth-child(1) {
  top: 6%;
  width: 88%;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 177, 244, .30) 8%, rgba(216, 197, 247, .38) 52%, rgba(169, 220, 237, .22) 86%, transparent 100%);
  transform: translateX(-50%) rotate(4deg);
}
.gift-card-style-lavender .gift-card-watercolor span:nth-child(2) {
  top: 25%;
  width: 78%;
  background: linear-gradient(90deg, transparent 0%, rgba(168, 223, 240, .28) 10%, rgba(226, 198, 246, .35) 58%, rgba(255, 191, 210, .18) 86%, transparent 100%);
  transform: translateX(-47%) rotate(-5deg);
}
.gift-card-style-lavender .gift-card-watercolor span:nth-child(3) {
  top: 43%;
  width: 92%;
  background: linear-gradient(90deg, transparent 0%, rgba(233, 196, 246, .24) 8%, rgba(194, 180, 240, .34) 51%, rgba(255, 221, 237, .19) 86%, transparent 100%);
  transform: translateX(-50%) rotate(2deg);
}
.gift-card-style-lavender .gift-card-watercolor span:nth-child(4) {
  top: 62%;
  width: 68%;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 229, 242, .22) 8%, rgba(210, 190, 239, .24) 55%, transparent 100%);
  transform: translateX(-56%) rotate(-8deg);
}
.gift-card-style-lavender .gift-card-watercolor span:nth-child(5) {
  display: none;
}
.gift-card-style-editorial .gift-card-message p {
  font-family: Cambria, Georgia, serif !important;
  font-style: italic;
  font-weight: 500;
  letter-spacing:0;
}
.gift-card-style-editorial .gift-card-watercolor {
  width: min(540px, 71%);
  height: 54%;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 248, 234, .34), rgba(255,255,255,.10), rgba(255, 241, 249, .28)),
    radial-gradient(circle at 10% 20%, rgba(255, 214, 110, .20), transparent 26%),
    radial-gradient(circle at 90% 28%, rgba(241, 137, 183, .18), transparent 28%),
    radial-gradient(circle at 50% 88%, rgba(160, 219, 237, .18), transparent 28%);
  transform: translate(-50%, -49%);
}
.gift-card-style-editorial .gift-card-watercolor span {
  display: none;
}
@media (max-width: 640px) {
  .gift-card-style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gift-card-qr-block {
    width: 78%;
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .gift-card-qr {
    width: 58px;
    height: 58px;
  }
  .gift-card-message-short .gift-card-message p,
  .gift-card-message-medium .gift-card-message p {
    font-size: 31px;
  }
  .gift-card-message-long .gift-card-message p {
    font-size: 24px;
  }
}
@media print {
  .gift-card-inner {
    padding: 6mm 9mm 6mm;
  }
  .gift-card-logo {
    width: 15mm;
    height: 15mm;
  }
  .gift-card-kicker {
    margin-top: 1.5mm;
    font-size: 6.5pt;
  }
  .gift-card-message {
    margin: 1mm 0 2mm;
  }
  .gift-card-message-short .gift-card-message p {
    font-size: 31pt;
    max-width: 112mm;
  }
  .gift-card-message-medium .gift-card-message p {
    font-size: 23pt;
    max-width: 116mm;
  }
  .gift-card-message-long .gift-card-message p {
    font-size: 17pt;
    max-width: 120mm;
  }
  .gift-card-qr-block {
    width: 82mm;
    grid-template-columns: 16mm 1fr;
    gap: 2.5mm;
    padding: 2mm 2.5mm;
    margin-left: 0;
  }
  .gift-card-qr {
    width: 16mm;
    height: 16mm;
  }
  .gift-card-qr-block strong {
    font-size: 7.4pt;
  }
  .gift-card-qr-block span {
    font-size: 5.9pt;
    line-height: 1.18;
  }
  .gift-card-watercolor,
  .gift-card-style-brush .gift-card-watercolor,
  .gift-card-style-paint .gift-card-watercolor,
  .gift-card-style-bands .gift-card-watercolor,
  .gift-card-style-paper .gift-card-watercolor,
  .gift-card-style-cloud .gift-card-watercolor,
  .gift-card-style-vellum .gift-card-watercolor,
  .gift-card-style-petal .gift-card-watercolor,
  .gift-card-style-sunrise .gift-card-watercolor,
  .gift-card-style-lavender .gift-card-watercolor,
  .gift-card-style-editorial .gift-card-watercolor {
    left: 74mm;
    top: 45mm;
    width: 104mm;
    height: 50mm;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .gift-card-watercolor span,
  .gift-card-watercolor::before,
  .gift-card-watercolor::after {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* v3.1 stronger A6 style separation */
.gift-card-style-brush .gift-card-message p {
  font-family: "Segoe Script", "Lucida Handwriting", "Brush Script MT", cursive !important;
}
.gift-card-style-paint .gift-card-message p {
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 600;
}
.gift-card-style-bands .gift-card-message p {
  font-family: "Lucida Handwriting", "Segoe Script", cursive !important;
}
.gift-card-style-paper .gift-card-message p {
  font-family: "High Tower Text", Garamond, Georgia, serif !important;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .01em;
}
.gift-card-style-cloud .gift-card-message p {
  font-family: "Segoe Print", "Comic Sans MS", "Trebuchet MS", sans-serif !important;
  font-style: normal;
  font-weight: 400;
  letter-spacing:0;
  line-height: 1.18;
}
.gift-card-style-vellum .gift-card-message p {
  font-family: "Baskerville Old Face", Baskerville, Georgia, serif !important;
  font-style: italic;
  font-weight: 500;
}
.gift-card-style-petal .gift-card-message p {
  font-family: "Brush Script MT", "Segoe Script", cursive !important;
}
.gift-card-style-sunrise .gift-card-message p {
  font-family: "Book Antiqua", Palatino, Georgia, serif !important;
}
.gift-card-style-lavender .gift-card-message p {
  font-family: Constantia, Georgia, serif !important;
}
.gift-card-style-editorial .gift-card-message p {
  font-family: "Century Gothic", "Avenir Next", Arial, sans-serif !important;
  font-style: normal;
  font-weight: 400;
  letter-spacing:0;
  line-height: 1.12;
}
.gift-card-style-paper .gift-card-watercolor {
  width: min(560px, 74%);
  height: 60%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: none;
  background:
    radial-gradient(ellipse at 18% 22%, rgba(247, 157, 181, .28), transparent 28%),
    radial-gradient(ellipse at 78% 24%, rgba(255, 211, 142, .24), transparent 26%),
    radial-gradient(ellipse at 35% 74%, rgba(176, 203, 165, .26), transparent 30%),
    radial-gradient(ellipse at 70% 78%, rgba(155, 213, 230, .22), transparent 29%);
  transform: translate(-50%, -49%) rotate(-2deg);
}
.gift-card-style-paper .gift-card-watercolor::before,
.gift-card-style-paper .gift-card-watercolor::after {
  display: block;
}
.gift-card-style-paper .gift-card-watercolor::before {
  inset: 14% 8% 28% 5%;
  border-radius: 58% 42% 55% 45% / 42% 60% 40% 58%;
  background: linear-gradient(95deg, transparent, rgba(255, 238, 224, .34), rgba(236, 247, 232, .20), transparent);
  transform: rotate(-8deg);
}
.gift-card-style-paper .gift-card-watercolor::after {
  inset: 44% 12% 16% 18%;
  border-radius: 48% 52% 42% 58% / 62% 39% 61% 38%;
  background: linear-gradient(90deg, transparent, rgba(244, 196, 214, .24), rgba(184, 225, 213, .22), transparent);
  transform: rotate(7deg);
}
.gift-card-style-paper .gift-card-watercolor span {
  display: none;
}
.gift-card-style-cloud .gift-card-watercolor {
  width: min(555px, 73%);
  height: 60%;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 12% 24%, rgba(242, 106, 162, .20), transparent 16%),
    radial-gradient(ellipse at 24% 17%, rgba(255, 205, 55, .22), transparent 15%),
    radial-gradient(ellipse at 37% 25%, rgba(139, 86, 223, .18), transparent 15%),
    radial-gradient(ellipse at 84% 28%, rgba(28, 169, 183, .17), transparent 18%),
    linear-gradient(180deg, transparent 0 34%, rgba(255, 250, 241, .42) 35% 66%, transparent 67% 100%);
  transform: translate(-50%, -50%) rotate(0deg);
}
.gift-card-style-cloud .gift-card-watercolor::before {
  display: block;
  inset: 16% 4% 18% 48%;
  border-radius: 62% 38% 48% 52% / 58% 40% 60% 42%;
  background: radial-gradient(ellipse at 50% 50%, rgba(169, 217, 232, .28), transparent 65%);
}
.gift-card-style-cloud .gift-card-watercolor::after {
  display: block;
  inset: 56% 16% 8% 3%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 225, 160, .22), rgba(244, 177, 201, .16), transparent);
  transform: rotate(-3deg);
}
.gift-card-style-cloud .gift-card-watercolor span {
  display: none;
}
.gift-card-style-vellum .gift-card-watercolor {
  width: min(575px, 76%);
  height: 60%;
  border: 0;
  border-radius: 0;
  background: none;
  transform: translate(-50%, -50%) rotate(-1deg);
}
.gift-card-style-vellum .gift-card-watercolor::before,
.gift-card-style-vellum .gift-card-watercolor::after {
  display: block;
}
.gift-card-style-vellum .gift-card-watercolor::before {
  inset: 4% 8% 18% 6%;
  border-radius: 999px;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 226, 122, .22) 14%, rgba(255, 250, 241, .48) 43%, rgba(242, 106, 162, .18) 75%, transparent 100%);
  transform: rotate(-8deg);
}
.gift-card-style-vellum .gift-card-watercolor::after {
  inset: 40% 2% 14% 14%;
  border-radius: 999px;
  background: linear-gradient(100deg, transparent 0%, rgba(144, 219, 228, .18) 20%, rgba(255, 244, 210, .28) 50%, rgba(139, 86, 223, .14) 78%, transparent 100%);
  transform: rotate(6deg);
}
.gift-card-style-vellum .gift-card-watercolor span {
  display: none;
}
.gift-card-style-editorial .gift-card-watercolor {
  width: min(535px, 71%);
  height: 58%;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 205, 55, .14), transparent 26%, transparent 73%, rgba(242, 106, 162, .14)),
    linear-gradient(180deg, transparent 0 24%, rgba(255, 250, 241, .46) 25% 75%, transparent 76% 100%);
  transform: translate(-50%, -50%);
}
.gift-card-style-editorial .gift-card-watercolor::before {
  display: block;
  inset: 10% 72% 10% 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(242, 106, 162, .30), rgba(255, 205, 55, .26), rgba(28, 169, 183, .18));
}
.gift-card-style-editorial .gift-card-watercolor::after {
  display: block;
  inset: 18% 0 18% 74%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(139, 86, 223, .20), rgba(242, 106, 162, .20));
}
.gift-card-style-editorial .gift-card-watercolor span {
  display: none;
}
.gift-card-style-petal .gift-card-watercolor {
  background:
    radial-gradient(ellipse at 16% 20%, rgba(242, 106, 162, .30), transparent 18%),
    radial-gradient(ellipse at 28% 36%, rgba(255, 205, 55, .24), transparent 16%),
    radial-gradient(ellipse at 82% 24%, rgba(28, 169, 183, .22), transparent 17%),
    radial-gradient(ellipse at 68% 70%, rgba(139, 86, 223, .20), transparent 18%),
    radial-gradient(ellipse at 30% 78%, rgba(255, 149, 96, .18), transparent 18%);
}
.gift-card-style-lavender .gift-card-watercolor {
  width: min(580px, 76%);
}
.gift-card-style-sunrise .gift-card-watercolor {
  width: min(590px, 78%);
}
@media print {
  .gift-card-style-paper .gift-card-watercolor,
  .gift-card-style-cloud .gift-card-watercolor,
  .gift-card-style-vellum .gift-card-watercolor,
  .gift-card-style-editorial .gift-card-watercolor {
    left: 74mm;
    top: 45mm;
    width: 106mm;
    height: 56mm;
  }
}

/* v3.2 editorial cleanup */
.gift-card-style-editorial .gift-card-message p {
  font-family: "Century Gothic", "Avenir Next", Arial, sans-serif !important;
  font-style: normal;
  font-weight: 400;
  letter-spacing:0;
  line-height: 1.14;
  max-width: 570px;
}
.gift-card-style-editorial .gift-card-watercolor {
  width: min(535px, 71%);
  height: 58%;
  background:
    linear-gradient(90deg, rgba(255, 205, 55, .10), transparent 28%, transparent 72%, rgba(242, 106, 162, .10)),
    linear-gradient(180deg, transparent 0 27%, rgba(255, 250, 241, .50) 28% 72%, transparent 73% 100%);
}
.gift-card-style-editorial .gift-card-watercolor::before {
  inset: 18% 78% 18% 4%;
  background: linear-gradient(180deg, rgba(242, 106, 162, .24), rgba(255, 205, 55, .20), rgba(28, 169, 183, .14));
}
.gift-card-style-editorial .gift-card-watercolor::after {
  inset: 22% 5% 22% 80%;
  background: linear-gradient(180deg, rgba(139, 86, 223, .16), rgba(242, 106, 162, .16));
}

/* v3.3 anti-crop safety for wide/script variants */
.gift-card-message,
.gift-card-message p {
  overflow: visible;
}
.gift-card-face.gift-card-style-paper .gift-card-message p,
.gift-card-face.gift-card-style-cloud .gift-card-message p,
.gift-card-face.gift-card-style-petal .gift-card-message p,
.gift-card-face.gift-card-style-editorial .gift-card-message p {
  box-sizing: border-box;
  max-width: 540px;
  padding: 0 22px;
}
.gift-card-face.gift-card-style-paper.gift-card-message-short .gift-card-message p,
.gift-card-face.gift-card-style-editorial.gift-card-message-short .gift-card-message p {
  font-size: clamp(34px, 4.7vw, 46px);
}
.gift-card-face.gift-card-style-cloud.gift-card-message-short .gift-card-message p {
  font-size: clamp(31px, 4.35vw, 42px);
  line-height: 1.24;
}
.gift-card-face.gift-card-style-petal.gift-card-message-short .gift-card-message p {
  font-size: clamp(32px, 4.45vw, 43px);
  line-height: 1.23;
}
.gift-card-face.gift-card-style-paper.gift-card-message-medium .gift-card-message p,
.gift-card-face.gift-card-style-cloud.gift-card-message-medium .gift-card-message p,
.gift-card-face.gift-card-style-petal.gift-card-message-medium .gift-card-message p,
.gift-card-face.gift-card-style-editorial.gift-card-message-medium .gift-card-message p {
  font-size: clamp(25px, 3.7vw, 36px);
  line-height: 1.22;
}
.gift-card-face.gift-card-style-paper.gift-card-message-long .gift-card-message p,
.gift-card-face.gift-card-style-cloud.gift-card-message-long .gift-card-message p,
.gift-card-face.gift-card-style-petal.gift-card-message-long .gift-card-message p,
.gift-card-face.gift-card-style-editorial.gift-card-message-long .gift-card-message p {
  font-size: clamp(19px, 2.9vw, 28px);
  line-height: 1.24;
  max-width: 580px;
}
@media print {
  .gift-card-face.gift-card-style-paper .gift-card-message p,
  .gift-card-face.gift-card-style-cloud .gift-card-message p,
  .gift-card-face.gift-card-style-petal .gift-card-message p,
  .gift-card-face.gift-card-style-editorial .gift-card-message p {
    max-width: 105mm;
    padding: 0 6mm;
  }
  .gift-card-face.gift-card-style-paper.gift-card-message-short .gift-card-message p,
  .gift-card-face.gift-card-style-editorial.gift-card-message-short .gift-card-message p {
    font-size: 26pt;
  }
  .gift-card-face.gift-card-style-cloud.gift-card-message-short .gift-card-message p,
  .gift-card-face.gift-card-style-petal.gift-card-message-short .gift-card-message p {
    font-size: 24pt;
    line-height: 1.22;
  }
  .gift-card-face.gift-card-style-paper.gift-card-message-medium .gift-card-message p,
  .gift-card-face.gift-card-style-cloud.gift-card-message-medium .gift-card-message p,
  .gift-card-face.gift-card-style-petal.gift-card-message-medium .gift-card-message p,
  .gift-card-face.gift-card-style-editorial.gift-card-message-medium .gift-card-message p {
    font-size: 20pt;
    line-height: 1.22;
  }
  .gift-card-face.gift-card-style-paper.gift-card-message-long .gift-card-message p,
  .gift-card-face.gift-card-style-cloud.gift-card-message-long .gift-card-message p,
  .gift-card-face.gift-card-style-petal.gift-card-message-long .gift-card-message p,
  .gift-card-face.gift-card-style-editorial.gift-card-message-long .gift-card-message p {
    font-size: 15.5pt;
    line-height: 1.24;
  }
}

/* v3.4 remove hard watercolor edges and fix the small script card */
.gift-card-face.gift-card-style-paper .gift-card-watercolor,
.gift-card-face.gift-card-style-cloud .gift-card-watercolor,
.gift-card-face.gift-card-style-editorial .gift-card-watercolor {
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: none;
}

.gift-card-face.gift-card-style-paper .gift-card-watercolor::before,
.gift-card-face.gift-card-style-paper .gift-card-watercolor::after,
.gift-card-face.gift-card-style-cloud .gift-card-watercolor::before,
.gift-card-face.gift-card-style-cloud .gift-card-watercolor::after,
.gift-card-face.gift-card-style-editorial .gift-card-watercolor::before,
.gift-card-face.gift-card-style-editorial .gift-card-watercolor::after,
.gift-card-face.gift-card-style-paper .gift-card-watercolor span,
.gift-card-face.gift-card-style-cloud .gift-card-watercolor span,
.gift-card-face.gift-card-style-editorial .gift-card-watercolor span {
  display: none !important;
}

.gift-card-face.gift-card-style-paper .gift-card-watercolor {
  width: min(630px, 84%);
  height: 66%;
  background:
    radial-gradient(ellipse at 19% 29%, rgba(242, 106, 162, .18), transparent 35%),
    radial-gradient(ellipse at 81% 24%, rgba(255, 205, 55, .17), transparent 36%),
    radial-gradient(ellipse at 42% 72%, rgba(28, 169, 183, .13), transparent 38%),
    radial-gradient(ellipse at 69% 69%, rgba(139, 86, 223, .10), transparent 36%);
  transform: translate(-50%, -50%) rotate(-2deg);
}

.gift-card-face.gift-card-style-cloud .gift-card-watercolor {
  width: min(640px, 86%);
  height: 68%;
  background:
    radial-gradient(ellipse at 17% 24%, rgba(242, 106, 162, .15), transparent 34%),
    radial-gradient(ellipse at 32% 20%, rgba(255, 205, 55, .14), transparent 31%),
    radial-gradient(ellipse at 44% 26%, rgba(139, 86, 223, .12), transparent 32%),
    radial-gradient(ellipse at 78% 29%, rgba(28, 169, 183, .14), transparent 36%),
    radial-gradient(ellipse at 40% 72%, rgba(255, 205, 55, .10), transparent 37%),
    radial-gradient(ellipse at 56% 70%, rgba(242, 106, 162, .09), transparent 37%);
  transform: translate(-50%, -50%);
}

.gift-card-face.gift-card-style-editorial .gift-card-watercolor {
  width: min(640px, 86%);
  height: 68%;
  background:
    radial-gradient(ellipse at 19% 45%, rgba(255, 205, 55, .16), transparent 35%),
    radial-gradient(ellipse at 81% 43%, rgba(242, 106, 162, .15), transparent 35%),
    radial-gradient(ellipse at 50% 68%, rgba(28, 169, 183, .10), transparent 38%);
  transform: translate(-50%, -50%);
}

.gift-card-style-petal .gift-card-message p {
  font-family: "Lucida Calligraphy", "Segoe Script", "Lucida Handwriting", cursive !important;
  font-weight: 500;
  letter-spacing: 0;
}

.gift-card-face.gift-card-style-petal .gift-card-message p {
  max-width: 640px;
  padding: 0 8px;
}

.gift-card-face.gift-card-style-petal.gift-card-message-short .gift-card-message p {
  font-size: clamp(40px, 5.7vw, 56px);
  line-height: 1.16;
}

.gift-card-face.gift-card-style-petal.gift-card-message-medium .gift-card-message p {
  font-size: clamp(30px, 4.4vw, 43px);
  line-height: 1.18;
}

.gift-card-face.gift-card-style-petal.gift-card-message-long .gift-card-message p {
  font-size: clamp(23px, 3.3vw, 32px);
  line-height: 1.22;
}

@media print {
  .gift-card-face.gift-card-style-paper .gift-card-watercolor,
  .gift-card-face.gift-card-style-cloud .gift-card-watercolor,
  .gift-card-face.gift-card-style-editorial .gift-card-watercolor {
    left: 74mm;
    top: 45mm;
    width: 118mm;
    height: 62mm;
  }

  .gift-card-face.gift-card-style-petal .gift-card-message p {
    max-width: 116mm;
    padding: 0 2mm;
  }

  .gift-card-face.gift-card-style-petal.gift-card-message-short .gift-card-message p {
    font-size: 30pt;
    line-height: 1.16;
  }

  .gift-card-face.gift-card-style-petal.gift-card-message-medium .gift-card-message p {
    font-size: 23pt;
    line-height: 1.18;
  }

  .gift-card-face.gift-card-style-petal.gift-card-message-long .gift-card-message p {
    font-size: 17pt;
    line-height: 1.22;
  }
}

/* v3.5 edge-proof watercolor fields for styles 04, 05, and 10 */
.gift-card-face.gift-card-style-paper .gift-card-watercolor,
.gift-card-face.gift-card-style-cloud .gift-card-watercolor,
.gift-card-face.gift-card-style-editorial .gift-card-watercolor {
  background-repeat: no-repeat;
  -webkit-mask-image: none;
  mask-image: none;
}

.gift-card-face.gift-card-style-paper .gift-card-watercolor {
  background:
    radial-gradient(ellipse 30% 24% at 26% 35%, rgba(242, 106, 162, .18) 0%, transparent 72%),
    radial-gradient(ellipse 30% 25% at 72% 35%, rgba(255, 205, 55, .17) 0%, transparent 72%),
    radial-gradient(ellipse 32% 26% at 44% 66%, rgba(28, 169, 183, .13) 0%, transparent 72%),
    radial-gradient(ellipse 30% 24% at 67% 65%, rgba(139, 86, 223, .10) 0%, transparent 74%);
}

.gift-card-face.gift-card-style-cloud .gift-card-watercolor {
  background:
    radial-gradient(ellipse 22% 18% at 22% 30%, rgba(242, 106, 162, .15) 0%, transparent 72%),
    radial-gradient(ellipse 20% 17% at 36% 29%, rgba(255, 205, 55, .14) 0%, transparent 72%),
    radial-gradient(ellipse 22% 18% at 50% 32%, rgba(139, 86, 223, .12) 0%, transparent 72%),
    radial-gradient(ellipse 26% 20% at 76% 34%, rgba(28, 169, 183, .14) 0%, transparent 74%),
    radial-gradient(ellipse 28% 22% at 43% 68%, rgba(255, 205, 55, .10) 0%, transparent 74%),
    radial-gradient(ellipse 28% 22% at 58% 68%, rgba(242, 106, 162, .09) 0%, transparent 74%);
}

.gift-card-face.gift-card-style-editorial .gift-card-watercolor {
  background:
    radial-gradient(ellipse 27% 29% at 24% 52%, rgba(255, 205, 55, .16) 0%, transparent 74%),
    radial-gradient(ellipse 27% 29% at 76% 52%, rgba(242, 106, 162, .15) 0%, transparent 74%),
    radial-gradient(ellipse 34% 26% at 50% 68%, rgba(28, 169, 183, .10) 0%, transparent 75%);
}

@media print {
  .gift-card-face.gift-card-style-paper .gift-card-watercolor {
    background:
      radial-gradient(ellipse 30% 24% at 26% 35%, rgba(242, 106, 162, .18) 0%, transparent 72%),
      radial-gradient(ellipse 30% 25% at 72% 35%, rgba(255, 205, 55, .17) 0%, transparent 72%),
      radial-gradient(ellipse 32% 26% at 44% 66%, rgba(28, 169, 183, .13) 0%, transparent 72%),
      radial-gradient(ellipse 30% 24% at 67% 65%, rgba(139, 86, 223, .10) 0%, transparent 74%);
  }

  .gift-card-face.gift-card-style-cloud .gift-card-watercolor {
    background:
      radial-gradient(ellipse 22% 18% at 22% 30%, rgba(242, 106, 162, .15) 0%, transparent 72%),
      radial-gradient(ellipse 20% 17% at 36% 29%, rgba(255, 205, 55, .14) 0%, transparent 72%),
      radial-gradient(ellipse 22% 18% at 50% 32%, rgba(139, 86, 223, .12) 0%, transparent 72%),
      radial-gradient(ellipse 26% 20% at 76% 34%, rgba(28, 169, 183, .14) 0%, transparent 74%),
      radial-gradient(ellipse 28% 22% at 43% 68%, rgba(255, 205, 55, .10) 0%, transparent 74%),
      radial-gradient(ellipse 28% 22% at 58% 68%, rgba(242, 106, 162, .09) 0%, transparent 74%);
  }

  .gift-card-face.gift-card-style-editorial .gift-card-watercolor {
    background:
      radial-gradient(ellipse 27% 29% at 24% 52%, rgba(255, 205, 55, .16) 0%, transparent 74%),
      radial-gradient(ellipse 27% 29% at 76% 52%, rgba(242, 106, 162, .15) 0%, transparent 74%),
      radial-gradient(ellipse 34% 26% at 50% 68%, rgba(28, 169, 183, .10) 0%, transparent 75%);
  }
}

/* v3.6 Uber, reminder QR, business cards, and mobile polish */
.integration-card {
  display: grid;
  gap: 10px;
}
.integration-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: #fffaf5;
}
.integration-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.integration-row strong {
  color: var(--ink);
}
.integration-row a {
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.integration-row small,
.integration-row em {
  grid-column: 2 / -1;
  color: var(--muted);
  font-size: 12px;
}
.integration-row em {
  color: #9d2340;
  font-style: normal;
}
.reminder-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.reminder-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}
.reminder-logo-link:focus-visible {
  outline: 3px solid rgba(116,70,232,.28);
  outline-offset: 4px;
}
.reminder-general-hero {
  margin-bottom: 20px;
}
.reminder-shop-cta {
  min-width: min(100%, 270px);
  margin-top: 14px;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(116,70,232,.18);
}
.reminder-general-card {
  box-shadow: 0 22px 50px rgba(39,31,61,.10);
}
.reminder-contact-error {
  margin-bottom: 14px;
  text-align: center;
}
.reminder-site-link,
.reminder-shop-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  font-weight: 950;
  color: #3f3c39;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.reminder-shop-link {
  text-decoration: none;
  color: #fff;
}
.reminder-fineprint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.reminder-admin-qr {
  margin-bottom: 12px;
}
.reminder-admin-qr a {
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}
.business-card-admin {
  max-width: 1120px;
}
.business-card-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 8px 22px rgba(39,31,61,.04);
}
.business-card-note strong {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.business-card-note span {
  color: var(--muted);
  font-weight: 850;
}
.business-card-grid {
  display: grid;
  gap: 22px;
  margin-top: 18px;
}
.business-card-pair {
  display: grid;
  grid-template-columns: 110px repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.business-card-label {
  display: grid;
  gap: 4px;
  padding-top: 10px;
}
.business-card-label span {
  color: var(--muted);
  font-weight: 950;
  letter-spacing: .12em;
}
.business-card-label strong {
  font-size: 18px;
}
.business-card-side {
  position: relative;
  overflow: hidden;
  width: 3.75in;
  height: 2.25in;
  max-width: 100%;
  aspect-ratio: 3.75 / 2.25;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(39,31,61,.08);
  padding: .25in;
  display: grid;
  align-content: center;
  color: #211936;
}
.business-card-side h2 {
  position: relative;
  margin: 8px 0 6px;
  font-size: 24px;
  line-height: .98;
  letter-spacing:0;
}
.business-card-side p {
  position: relative;
  margin: 0;
  color: #5f586b;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 750;
}
.business-card-brand {
  position: relative;
  color: #211936 !important;
  font-size: 8px !important;
  font-weight: 950 !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.business-card-logo {
  position: relative;
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.business-card-qr {
  width: .86in;
  height: .86in;
  border-radius: 10px;
  border: 1px solid #efe4db;
  padding: 6px;
  background: #fff;
}
.business-card-back {
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.business-card-back span {
  display: block;
  margin-top: 8px;
  color: #7a7188;
  font-size: 9px;
  font-weight: 900;
}
.business-card-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.business-card-soft .business-card-art {
  background:
    radial-gradient(circle at 18% 20%, rgba(242,106,162,.20), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(255,205,55,.22), transparent 24%),
    radial-gradient(circle at 62% 80%, rgba(28,169,183,.14), transparent 25%);
}
.business-card-bold .business-card-side {
  background: #302a4a;
  color: #fff;
}
.business-card-bold .business-card-side p,
.business-card-bold .business-card-brand,
.business-card-bold .business-card-back span {
  color: rgba(255,255,255,.78) !important;
}
.business-card-bold .business-card-art {
  background:
    radial-gradient(circle at 82% 22%, rgba(242,106,162,.40), transparent 24%),
    radial-gradient(circle at 18% 88%, rgba(255,205,55,.32), transparent 28%);
}
.business-card-minimal .business-card-side {
  background: #fffdf8;
}
.business-card-minimal .business-card-side h2 {
  font-family: Georgia, serif;
  font-weight: 500;
}
.business-card-paint .business-card-art {
  background:
    linear-gradient(110deg, transparent 12%, rgba(242,106,162,.16) 22%, rgba(255,205,55,.14) 40%, rgba(28,169,183,.13) 58%, transparent 76%);
  transform: rotate(-8deg) scale(1.15);
}
.business-card-datebook .business-card-side {
  background:
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(236,226,216,.7) 28px 29px),
    #fff;
}
.business-card-datebook .business-card-side h2 {
  font-family: "Trebuchet MS", Arial, sans-serif;
}

@media (max-width: 720px) {
  .hero-line {
    align-items: flex-start;
  }
  .calendar-grid {
    border-radius: 18px;
    grid-template-columns: repeat(7, minmax(38px, 1fr));
  }
  .cal-head,
  .cal-day {
    min-height: 56px;
    padding: 6px 4px;
  }
  .cal-head {
    font-size: 9px;
  }
  .cal-date {
    font-size: 16px;
    line-height: 1;
  }
  .cal-chip {
    font-size: 8px;
    padding: 2px 3px;
    margin-top: 3px;
  }
  .detail-actions {
    grid-template-columns: 1fr;
  }
  .integration-row,
  .reminder-contact-grid {
    grid-template-columns: 1fr;
  }
  .integration-row small,
  .integration-row em {
    grid-column: auto;
  }
  .business-card-pair {
    grid-template-columns: 1fr;
  }
  .business-card-side {
    width: 100%;
    height: auto;
  }
}

@media print {
  .business-card-admin .hero-line,
  .business-card-note,
  .business-card-label,
  .mobile-menu-toggle,
  .side-nav,
  .drawer-overlay {
    display: none !important;
  }
  .business-card-admin,
  .business-card-grid,
  .business-card-pair {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .business-card-side {
    width: 3.75in;
    height: 2.25in;
    border-radius: 0;
    box-shadow: none;
    break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 .18in;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* v3.7 custom request intake */
.custom-request-wrap {
  width: min(1040px, calc(100% - 32px));
}
.custom-request-hero {
  max-width: 820px;
}
.custom-request-split {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
}
.custom-request-call {
  min-height: 360px;
  display: grid;
  align-content: center;
  gap: 10px;
  text-align: left;
  text-decoration: none;
  background:
    radial-gradient(circle at 82% 14%, rgba(255,205,55,.30), transparent 32%),
    radial-gradient(circle at 18% 78%, rgba(242,106,162,.18), transparent 30%),
    #ffffff;
}
.custom-request-call span,
.custom-request-message span,
.custom-request-link span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.custom-request-call strong {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 54px);
  line-height: .95;
  letter-spacing:0;
}
.custom-request-call em {
  color: #3f3c39;
  font-style: normal;
  font-size: 20px;
  font-weight: 950;
}
.custom-request-call p,
.custom-request-note {
  margin: 0;
  color: var(--muted);
  font-weight: 780;
  line-height: 1.45;
}
.custom-request-form {
  display: grid;
  gap: 14px;
}
.custom-request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.custom-request-form select,
.custom-request-form textarea,
.custom-request-status-form select,
.custom-request-status-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
}
.custom-request-form textarea {
  min-height: 148px;
  resize: vertical;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.custom-request-done {
  max-width: 660px;
  margin-inline: auto;
}
.custom-requests-page {
  max-width: 1080px;
}
.request-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.request-inbox-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.request-inbox-summary article {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 15px 16px;
  background:
    radial-gradient(circle at 88% 12%, rgba(222, 91, 150, .10), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,250,244,.78));
  box-shadow: 0 12px 28px rgba(39,31,61,.04);
}
.request-inbox-summary span,
.request-type-badge {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.request-inbox-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -.04em;
}
.request-inbox-summary small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
}
.custom-request-filters {
  flex-wrap: wrap;
}
.custom-request-list {
  display: grid;
  gap: 14px;
}
.custom-request-admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(39,31,61,.05);
}
.custom-request-admin-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.request-card-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.request-type-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  border: 1px solid rgba(32, 60, 43, .13);
  background: #fff;
  color: #203c2b;
}
.request-type-contact {
  color: #7a4d1f;
  background: #fff7e9;
}
.request-type-custom {
  color: #3a245f;
  background: #fff2f8;
}
.request-type-yelp {
  color: #9b271e;
  background: #fff0ed;
}
.sms-chat-list {
  max-width: 980px;
}
.sms-chat-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.sms-chat-card:hover {
  border-color: rgba(222, 91, 150, .32);
  box-shadow: 0 16px 34px rgba(39,31,61,.08);
  transform: translateY(-1px);
}
.custom-request-admin-top h2 {
  margin: 8px 0 4px;
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1;
  letter-spacing:0;
}
.custom-request-admin-top p {
  margin: 0;
  color: var(--muted);
  font-weight: 780;
}
.custom-request-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.custom-request-admin-grid div,
.custom-request-message,
.custom-request-link {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf5;
  padding: 11px 12px;
}
.custom-request-admin-grid span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.custom-request-admin-grid strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.custom-request-message,
.custom-request-link {
  margin-top: 10px;
}
.custom-request-message p {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.45;
  white-space: pre-wrap;
}
.custom-request-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.custom-request-quick-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}
.custom-request-quick-actions a:hover {
  border-color: rgba(32, 60, 43, .34);
  transform: translateY(-1px);
}
.custom-request-link a {
  display: inline-block;
  margin-top: 5px;
  color: #7446e8;
  font-weight: 950;
  overflow-wrap: anywhere;
}
.custom-request-status-form {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}
.custom-order-source {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.custom-order-source h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}
.custom-order-source p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  white-space: pre-wrap;
}

@media (max-width: 760px) {
  .custom-request-wrap {
    width: min(100% - 24px, 1040px);
  }
  .custom-request-split,
  .custom-request-grid,
  .custom-request-admin-grid,
  .request-inbox-summary,
  .custom-request-status-form {
    grid-template-columns: 1fr;
  }
  .custom-request-call {
    min-height: 260px;
  }
  .custom-request-admin-top,
  .custom-order-source {
    display: grid;
  }
  .custom-request-admin-top .btn,
  .custom-request-status-form .btn,
  .custom-order-source .btn {
    width: 100%;
  }
}

/* v3.8 storefront-aligned custom request page */
.custom-request-public {
  --ink: #302a4a;
  --muted: #6d6684;
  --line: #e7ded5;
  --cream: #fffaf4;
  --green: #403d39;
  --shadow: 0 14px 36px rgba(32,26,50,.07);
  background: #fffdf9;
  color: var(--ink);
  font-family: "Assistant", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.custom-request-public .reminder-wrap {
  width: min(1080px, calc(100% - 32px));
  padding: 22px 0 56px;
}
.custom-request-public .reminder-logo {
  width: 54px;
  height: 54px;
}
.custom-request-public .reminder-hero h1,
.custom-request-public .reminder-done h1 {
  max-width: 760px;
  margin: 7px auto 10px;
  color: #2b2545;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing:0;
}
.custom-request-public .reminder-hero p,
.custom-request-public .reminder-done p {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}
.custom-request-public .eyebrow,
.custom-request-public .reminder-label {
  letter-spacing: .06em;
}
.custom-request-public .reminder-label,
.custom-request-public .custom-request-call span {
  font-size: 11px;
  font-weight: 700;
}
.custom-request-public .custom-request-call em {
  font-weight: 700;
}
.custom-request-public .custom-request-call p,
.custom-request-public .custom-request-note {
  font-weight: 600;
}
.custom-request-public .reminder-card {
  border-color: var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.custom-request-public input,
.custom-request-public select,
.custom-request-public textarea {
  min-height: 50px;
  border-color: var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.custom-request-public textarea {
  line-height: 1.42;
}
.custom-request-public .btn-primary {
  min-height: 52px;
  background: var(--green);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 24px rgba(47,58,33,.14);
}
.custom-request-public .custom-request-call {
  min-height: 300px;
  border-top: 4px solid #f3c84b;
  background: #fffaf1;
}
.custom-request-public .custom-request-call strong {
  color: #2b2545;
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 600;
  letter-spacing:0;
}
.custom-request-public .custom-request-call em {
  color: var(--green);
}
.df-date-picker {
  position: relative;
}
.df-date-picker__button {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  text-align: left;
}
.df-date-picker__panel {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 18px 42px rgba(48,42,74,.14);
}
.df-date-picker__panel[hidden] {
  display: none;
}
.df-date-picker__head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
}
.df-date-picker__head strong {
  text-align: center;
  color: var(--ink);
}
.df-date-picker__head button {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 900;
}
.df-date-picker__head button:disabled {
  opacity: .35;
}
.df-date-picker__weekdays,
.df-date-picker__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.df-date-picker__weekdays span {
  text-align: center;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.df-date-picker__grid button {
  aspect-ratio: 1;
  border: 0;
  border-radius: 6px;
  background: #fffaf5;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.df-date-picker__grid button:hover {
  background: #f2ebff;
}
.df-date-picker__grid button:disabled {
  opacity: .25;
  cursor: not-allowed;
  text-decoration: line-through;
}
.df-date-picker__grid button.is-selected {
  background: linear-gradient(90deg, #7447ff, #f26aa2);
  color: #fff;
}

@media (max-width: 760px) {
  .custom-request-public .reminder-wrap {
    width: min(100% - 20px, 1080px);
    padding-top: 14px;
  }
  .custom-request-public .reminder-hero h1,
  .custom-request-public .reminder-done h1 {
    font-size: clamp(30px, 8vw, 38px);
  }
  .custom-request-public .reminder-hero p,
  .custom-request-public .reminder-done p {
    font-size: 16px;
  }
  .custom-request-public .custom-request-call {
    min-height: 190px;
  }
  .df-date-picker__panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    max-height: 72vh;
    overflow: auto;
  }
}

/* v3.9 Uber Direct review and calmer order actions */
.order-detail {
  display: flex;
  flex-direction: column;
}
.order-detail .integration-card {
  order: 80;
  background: rgba(255,255,255,.78);
}
.order-detail .timeline,
.order-detail .wide[href*="myshopify"],
.order-detail .wide[href*="/admin/orders"] {
  order: 90;
}
.detail-actions .btn {
  min-height: 44px;
  border-color: #dfd6cc;
  box-shadow: 0 8px 18px rgba(39,31,61,.04);
}
.detail-actions .action-start,
.detail-actions .action-neutral {
  background: #fff;
  color: var(--ink);
}
.detail-actions .btn-green {
  background: #6f6b66;
  color: #fff;
}
.detail-actions .btn-courier {
  background: #f7f4ef;
  color: #403b36;
  border-color: #ddd4ca;
}
.detail-actions .btn-delivered {
  background: #eaf7ef;
  color: #1f6f42;
  border-color: #cfead9;
}
.detail-actions .action-track {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fffaf5;
  color: #302a4a;
  border-color: #d9cfc4;
}
.action-hint {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  padding: 12px 14px;
  font-weight: 850;
  text-align: center;
}
.btn-uber {
  background: linear-gradient(135deg, #211f1d, #57514a);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(33,31,29,.15);
}
.btn-uber:disabled {
  opacity: .65;
}
.uber-dialog,
.issue-dialog {
  width: min(960px, calc(100vw - 28px));
  max-height: min(86vh, 900px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fffaf5;
  color: var(--ink);
  padding: 0;
  box-shadow: 0 26px 80px rgba(39,31,61,.24);
}
.uber-dialog::backdrop,
.issue-dialog::backdrop {
  background: rgba(39,31,61,.42);
  backdrop-filter: blur(4px);
}
.uber-review-form,
.issue-review-form {
  display: grid;
  gap: 16px;
  padding: 20px;
}
.issue-dialog {
  width: min(620px, calc(100vw - 28px));
}
.issue-review-form label {
  display: grid;
  gap: 8px;
}
.issue-review-form select,
.issue-review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}
.issue-review-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}
.issue-checkline {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #ffd1dc;
  border-radius: 18px;
  background: #fff0f3;
  padding: 12px 13px;
  color: #8b1d31;
  letter-spacing: 0;
  text-transform: none;
}
.issue-checkline input {
  width: auto;
  margin-top: 2px;
}
.issue-checkline span {
  font-size: 14px;
  line-height: 1.35;
}
.uber-dialog__head,
.uber-dialog__actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.uber-dialog__head h2 {
  margin: 2px 0 6px;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1;
  letter-spacing:0;
}
.uber-dialog__head .icon-danger {
  flex: 0 0 auto;
}
.uber-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.uber-form-grid section {
  min-width: 0;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 14px;
}
.uber-form-grid h3 {
  margin: 0 0 2px;
  font-size: 18px;
}
.uber-timing-card {
  align-content: start;
}
.uber-timing-card strong {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: #fff3c7;
  color: #5e4310;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.uber-timing-card p {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 820;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}
.uber-timing-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}
.uber-form-grid input,
.uber-form-grid select,
.uber-form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffaf5;
  color: var(--ink);
  padding: 11px 12px;
}
.uber-form-grid textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}
.uber-mini-grid,
.uber-schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.uber-schedule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.uber-source-box {
  border: 1px solid #ece2d8;
  border-radius: 16px;
  background: #fffaf5;
  padding: 10px 12px;
}
.uber-source-box span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.uber-source-box p {
  margin: 5px 0 0;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.35;
  white-space: pre-wrap;
}
.uber-dialog__actions {
  justify-content: flex-end;
  align-items: center;
}
.uber-dialog__actions .btn {
  min-width: 160px;
}

@media (max-width: 760px) {
  .uber-dialog,
  .issue-dialog {
    width: calc(100vw - 18px);
    max-height: 90vh;
    border-radius: 22px;
  }
  .uber-review-form,
  .issue-review-form {
    padding: 14px;
  }
  .uber-dialog__head,
  .uber-dialog__actions {
    display: grid;
  }
  .uber-form-grid,
  .uber-mini-grid,
  .uber-schedule-grid {
    grid-template-columns: 1fr;
  }
  .uber-dialog__actions .btn {
    width: 100%;
  }
}

/* v3.2 Twilio calls and messages */
.comms-status-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin: 12px 0;
}
.comms-status-grid--bottom {
  margin-top: 16px;
}
.comms-status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(39,31,61,.04);
}
.comms-status-card span,
.comms-row small,
.comms-webhooks span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.comms-status-card strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.05;
}
.comms-status-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}
.comms-status-card.is-ready {
  background: #f7f5ef;
  border-color: #ddd6ce;
}
.comms-status-card.is-missing {
  background: #fff0f3;
  border-color: #f2cad3;
}
.comms-workspace {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 12px;
  align-items: start;
}
.softphone-head,
.comms-history-head,
.comms-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.softphone-state {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fbf8f2;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.softphone-state[data-tone="ok"] { background: #f1eee9; color: #4c4844; }
.softphone-state[data-tone="warn"] { background: #fff7d8; color: #87631e; }
.softphone-state[data-tone="bad"] { background: #fff0f3; color: #9d2340; }
.call-screen {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 142px;
  margin: 12px 0 14px;
  border: 1px solid #ddd6ce;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(242,106,162,.16), transparent 38%),
    linear-gradient(135deg,#fffaf1,#f7f3ec);
  text-align: center;
}
.call-screen span {
  max-width: 100%;
  color: var(--muted);
  font-weight: 900;
  overflow-wrap: anywhere;
}
.call-screen strong {
  color: var(--ink);
  font-size: clamp(42px, 9vw, 72px);
  line-height: .95;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.call-screen small {
  max-width: 260px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}
.softphone-actions,
.contact-action-row {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 8px;
  margin-top: 12px;
}
.softphone-audio-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  margin-top: 8px;
  align-items: center;
}
.softphone-audio-actions span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-align: center;
}
.contact-action-row {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.softphone-actions .btn,
.softphone-audio-actions .btn,
.contact-action-row .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
}
.incoming-call-card {
  margin-top: 12px;
  border: 1px solid #ddd6ce;
  border-radius: 18px;
  padding: 12px;
  background: #fbf8f2;
}
.incoming-call-card strong {
  display: block;
  margin-bottom: 10px;
}
.incoming-call-card div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sms-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: #fff;
  resize: vertical;
  min-height: 130px;
}
.comms-history-list {
  display: grid;
  gap: 10px;
}
.comms-row {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.comms-row:first-child { border-top: 0; }
.comms-row-icon {
  display: grid;
  place-items: center;
  height: 42px;
  border-radius: 14px;
  background: #f2ebff;
  color: #4d367d;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.comms-row.is-inbound .comms-row-icon {
  background: #fff0f8;
  color: #9d2a61;
}
.comms-row-main {
  min-width: 0;
}
.comms-row-main p {
  margin: 7px 0;
  color: #3f3c39;
  line-height: 1.45;
  white-space: pre-wrap;
}
.comms-row-top strong,
.comms-row-top span {
  min-width: 0;
}
.comms-row-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: right;
}
.comms-row-context {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
  border-radius: 999px;
  background: #fbf8f2;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}
.comms-row-context em {
  color: var(--muted);
  font-style: normal;
}
.comms-error {
  display: block;
  margin-top: 7px;
  color: #9d2340;
  font-style: normal;
  font-size: 12px;
  font-weight: 850;
}
.comms-webhooks {
  display: grid;
  grid-template-columns: 140px minmax(0,1fr);
  gap: 9px 12px;
  align-items: center;
}
.comms-webhooks code {
  display: block;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 10px;
  background: #fbf8f2;
  font-size: 12px;
}
.call-ear-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #000;
  color: #fff;
  touch-action: manipulation;
}
.call-ear-overlay[hidden] {
  display: none;
}
.call-ear-overlay div {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
}
.call-ear-overlay span,
.call-ear-overlay small {
  color: rgba(255,255,255,.56);
  font-weight: 850;
}
.call-ear-overlay strong {
  font-size: clamp(48px, 16vw, 96px);
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
}
body.call-ear-mode .side-nav,
body.call-ear-mode .mobile-menu-toggle {
  visibility: hidden;
}

@media (max-width: 680px) {
  .comms-status-grid,
  .comms-workspace,
  .softphone-actions,
  .softphone-audio-actions,
  .contact-action-row,
  .comms-webhooks {
    grid-template-columns: 1fr;
  }
  .comms-row {
    grid-template-columns: 48px minmax(0,1fr);
  }
  .comms-row-top {
    display: grid;
    gap: 3px;
  }
  .comms-row-top span {
    text-align: left;
  }
}

/* v3.3 global phone layer */
.phone-console-head,
.comms-setup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.phone-console .subtle {
  margin-bottom: 0;
}
.softphone-actions--main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.phone-reconnect {
  width: 100%;
  margin-top: 10px;
}
.df-phone-layer {
  position: relative;
  z-index: 150;
}
.df-phone-toast,
.df-active-call-bar {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  top: calc(12px + env(safe-area-inset-top));
  z-index: 180;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(39, 31, 61, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  padding: 10px;
  box-shadow: 0 18px 52px rgba(39,31,61,.22);
  backdrop-filter: blur(18px);
}
.df-phone-toast[hidden],
.df-active-call-bar[hidden] {
  display: none;
}
.df-phone-toast-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eaf8ef;
  color: #167247;
}
.df-phone-toast-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.df-phone-toast-copy {
  min-width: 0;
}
.df-phone-toast-copy strong,
.df-active-call-bar strong {
  display: block;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.df-phone-toast-copy span,
.df-active-call-bar span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.df-phone-answer,
.df-phone-decline {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.df-phone-answer {
  background: #16834f;
}
.df-phone-decline {
  background: #443e39;
}
.df-active-call-bar {
  grid-template-columns: minmax(0, 1fr) auto;
}
.df-active-call-bar span {
  color: #167247;
  font-variant-numeric: tabular-nums;
}
body.has-sidebar .df-phone-toast,
body.has-sidebar .df-active-call-bar {
  top: calc(76px + env(safe-area-inset-top));
}
@media (min-width: 980px) {
  body.has-sidebar .df-phone-toast,
  body.has-sidebar .df-active-call-bar {
    left: calc(292px + env(safe-area-inset-left));
    top: calc(14px + env(safe-area-inset-top));
  }
}

.comms-row {
  appearance: none;
  cursor: pointer;
  border-radius: 18px;
  padding: 12px;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.comms-row:hover,
.comms-row:focus-visible {
  background: #fffaf5;
  box-shadow: inset 0 0 0 1px #eee2d8;
  outline: none;
}
.comms-row:active {
  transform: scale(.995);
}
.comms-row-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}
.comms-row-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.comms-row.is-inbound .comms-row-icon {
  background: #eaf8ef;
  color: #167247;
}
.comms-row.is-outbound .comms-row-icon {
  background: #ebf4ff;
  color: #1c66a2;
}
.comms-row.is-bad .comms-row-icon {
  background: #fff0f3;
  color: #ad2548;
}
.comms-row.is-neutral .comms-row-icon {
  background: #f2ebff;
  color: #4d367d;
}
.comms-row-top > div:first-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.comms-row-top strong {
  display: block;
  overflow-wrap: anywhere;
}
.comms-row-top span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
  text-align: left;
  overflow-wrap: anywhere;
}
.comms-row-signals {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.comms-row-signals span {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}
.comms-signal {
  display: none;
}
.comms-row-context {
  pointer-events: auto;
}

.phone-action-dialog {
  width: min(430px, calc(100vw - 24px));
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  color: var(--ink);
  padding: 20px;
  box-shadow: 0 28px 72px rgba(39,31,61,.24);
}
.phone-action-dialog::backdrop {
  background: rgba(39, 31, 61, .46);
  backdrop-filter: blur(4px);
}
.phone-action-dialog h2 {
  margin: 4px 42px 4px 0;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.phone-action-dialog label {
  margin-top: 14px;
}
.phone-action-dialog input {
  min-height: 48px;
}
.phone-action-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
}
.phone-action-dialog .wide {
  margin-top: 12px;
}

@media (max-width: 680px) {
  .phone-console-head,
  .comms-setup-head {
    display: grid;
  }
  .softphone-actions--main,
  .contact-action-row {
    grid-template-columns: 1fr;
  }
  .df-phone-toast {
    grid-template-columns: 52px minmax(0, 1fr) 104px;
    gap: 10px;
    padding: 12px;
  }
  .df-phone-toast-icon {
    grid-column: 1;
    grid-row: 1;
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }
  .df-phone-toast-copy {
    grid-column: 2 / 4;
    grid-row: 1;
  }
  .df-phone-toast-copy strong {
    font-size: 18px;
  }
  .df-phone-toast-copy span {
    font-size: 14px;
  }
  .df-phone-toast .df-phone-answer,
  .df-phone-toast .df-phone-decline {
    width: 100%;
  }
  .df-phone-toast .df-phone-answer {
    grid-column: 1 / 3;
    grid-row: 2;
    min-height: 58px;
    font-size: 15px;
  }
  .df-phone-toast .df-phone-decline {
    grid-column: 3 / 4;
    grid-row: 2;
    min-height: 50px;
    align-self: center;
    border: 1px solid #eedfe0;
    background: #fff0f3;
    color: #9d2340;
  }
}

/* v3.11 phone recordings, product mobile cleanup, reminder public polish */
.comms-row-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
.comms-row-signals {
  min-width: 46px;
}
.comms-duration {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 26px;
  border-radius: 999px;
  background: #f7f2ec;
  color: #5c5665 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.phone-recording-box {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf5;
}
.phone-recording-box[hidden] {
  display: none;
}
.phone-recording-box p {
  margin: 0;
}
.df-audio-player {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 1px solid #eadfd5;
  border-radius: 18px;
  background: #fff;
  padding: 8px;
}
.df-audio-player audio {
  display: none;
}
.df-audio-play,
.df-audio-trash,
.df-audio-seek {
  appearance: none;
  border: 0;
  font: inherit;
}
.df-audio-play,
.df-audio-trash {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: var(--ink);
  cursor: pointer;
}
.df-audio-play {
  background: #3f3935;
  color: #fff;
}
.df-audio-trash {
  background: #fff0f3;
  color: #ad2548;
}
.df-audio-play svg,
.df-audio-trash svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.df-audio-trash svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.df-audio-icon-pause,
.df-audio-player.is-playing .df-audio-icon-play {
  display: none;
}
.df-audio-player.is-playing .df-audio-icon-pause {
  display: block;
}
.df-audio-meter {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.df-audio-seek {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #f2ece5;
  overflow: hidden;
  cursor: pointer;
}
.df-audio-seek span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7a45e5, #e85e9d);
}
.df-audio-times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.df-audio-trash[disabled],
.df-audio-play[disabled] {
  opacity: .58;
  cursor: wait;
}
.recording-vault .subtle {
  max-width: 600px;
  margin: 6px 0 0;
}
.recording-vault-count {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbf8f2;
  color: var(--ink);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}
.recording-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.recording-row {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 12px;
}
.recording-row-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.recording-row-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #fff7e5;
  color: #9b6b15;
}
.recording-row-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.recording-row strong,
.recording-row span,
.recording-row small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}
.recording-row strong {
  color: var(--ink);
  line-height: 1.12;
}
.recording-row span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}
.recording-row small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
@media (max-width: 680px) {
  .df-audio-player {
    grid-template-columns: 42px minmax(0, 1fr) 38px;
    gap: 8px;
  }
  .recording-row {
    padding: 11px;
  }
  .recording-row-head {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .recording-row-icon {
    width: 42px;
    height: 42px;
  }
}
.phone-action-dialog .contact-action-row .btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
}
.product-admin-actions .btn,
.product-admin-actions .mini-danger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
  text-align: center;
  white-space: normal;
}
.product-admin-actions .btn-primary,
.product-admin-actions .btn-green,
.product-admin-actions .btn-bestseller {
  color: #fff;
}
.product-admin-actions .btn[disabled] {
  opacity: 1;
  border-color: #eadfd5;
  background: #fbf8f2;
  color: #aaa0ad;
  box-shadow: none;
}
@media (max-width: 720px) {
  .product-catalog-head,
  .product-search-form {
    grid-template-columns: 1fr;
  }
  .product-filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .product-filter-tabs a {
    flex: 0 0 auto;
  }
  .product-admin-top h2 {
    font-size: 25px;
  }
  .product-admin-actions {
    gap: 9px;
  }
  .product-admin-actions .btn,
  .product-admin-actions .mini-danger {
    width: 100%;
    min-height: 48px;
  }
}
.reminder-public {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 210, 90, .28), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(242, 106, 162, .18), transparent 30%),
    linear-gradient(165deg, #fffaf2 0%, #fffff8 48%, #fff7fb 100%);
  color: var(--ink);
}
.reminder-public .eyebrow,
.reminder-public .wheel-field legend,
.reminder-public .reminder-label {
  letter-spacing: 0;
}
.reminder-wrap {
  width: min(720px, calc(100% - 30px));
  padding: 28px 0 54px;
}
.reminder-hero {
  margin: 0 auto 18px;
  text-align: center;
}
.reminder-logo {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}
.reminder-hero h1,
.reminder-done h1 {
  max-width: 650px;
  margin: 8px auto 12px;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}
.reminder-hero p,
.reminder-done p {
  max-width: 610px;
  font-size: clamp(17px, 3.2vw, 22px);
  line-height: 1.38;
}
.reminder-shop-cta {
  width: fit-content;
  min-width: 0;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
}
.reminder-card {
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 20px 54px rgba(39,31,61,.10);
}
.reminder-general-card {
  margin-top: 16px;
}
.reminder-contact-grid {
  gap: 12px;
}
.reminder-wheel-row {
  grid-template-columns: minmax(0, 1.15fr) minmax(190px, .85fr) auto;
  gap: 12px;
  border-radius: 22px;
  padding: 14px;
}
.reminder-wheel-grid {
  grid-template-columns: minmax(0, 1fr) 86px;
}
.date-wheel {
  height: 142px;
  border-radius: 16px;
}
.date-wheel-option {
  min-height: 36px;
  border-radius: 12px;
}
.reminder-label input {
  min-height: 50px;
  border-radius: 16px;
  font-size: 16px;
}
.reminder-card-actions {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
}
@media (max-width: 760px) {
  .reminder-wrap {
    width: min(100% - 24px, 720px);
    padding-top: 18px;
  }
  .reminder-logo {
    width: 58px;
    height: 58px;
  }
  .reminder-hero h1,
  .reminder-done h1 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.04;
  }
  .reminder-card {
    padding: 16px;
    border-radius: 24px;
  }
  .reminder-contact-grid,
  .reminder-wheel-row,
  .reminder-card-actions {
    grid-template-columns: 1fr;
  }
  .reminder-wheel-grid {
    grid-template-columns: minmax(0, 1fr) 76px;
  }
  .date-wheel {
    height: 128px;
    padding: 7px;
  }
  .reminder-shop-cta,
  .reminder-card-actions .btn {
    width: 100%;
  }
}

/* Keep Final Bloom public form styling last so legacy public-page rules cannot override it. */
.reminder-public {
  --fb-forest: #123728;
  --fb-cream: #fff4e2;
  --fb-paper: #fffdf8;
  --fb-pink: #ff4fa3;
  --fb-palm: #5f7438;
  --fb-line: rgba(18, 55, 40, .16);
  position: relative;
  overflow-x: clip;
  color: var(--fb-forest);
  background-color: var(--fb-cream);
  background-image:
    linear-gradient(rgba(255, 244, 226, .86), rgba(255, 253, 248, .92)),
    url("/public/brand/df-final-paper.webp");
  background-position: center top;
  background-size: auto, 1280px auto;
  font-family: Inter, "Avenir Next", "Segoe UI", system-ui, sans-serif;
}
.reminder-public::before,
.reminder-public::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
}
.reminder-public::before {
  inset: 0;
  background: url("/public/brand/df-final-checker.svg") 50% 0 / 190px auto repeat;
  opacity: .045;
}
.reminder-public::after {
  top: 8vh;
  right: -54px;
  width: min(28vw, 320px);
  aspect-ratio: 1;
  background: url("/public/brand/df-final-petals.svg") center / contain no-repeat;
  opacity: .07;
}
.reminder-public .reminder-wrap {
  position: relative;
  z-index: 1;
  width: min(840px, calc(100% - 32px));
  padding: 38px 0 64px;
}
.reminder-public .reminder-hero {
  max-width: 710px;
  margin: 0 auto 24px;
}
.reminder-public .reminder-logo-link {
  width: min(260px, 72vw);
  margin: 0 auto 20px;
}
.reminder-public .reminder-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78px;
  margin: 0;
  object-fit: contain;
}
.reminder-public .eyebrow {
  margin: 0 0 12px;
  color: #a82e63;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.reminder-public .reminder-hero h1,
.reminder-public .reminder-done h1 {
  max-width: 680px;
  margin: 0 auto 14px;
  color: var(--fb-forest);
  font-family: "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  font-size: clamp(36px, 6vw, 54px);
  font-weight: 700;
  line-height: 1.04;
}
.reminder-public .reminder-hero p,
.reminder-public .reminder-done p {
  max-width: 610px;
  color: rgba(18, 55, 40, .74);
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
}
.reminder-public .reminder-hero p strong,
.reminder-public .reminder-done p strong {
  color: var(--fb-forest);
}
.reminder-public .reminder-shop-cta,
.reminder-public .btn-primary {
  border-color: var(--fb-forest);
  color: #fffdf8;
  background: var(--fb-forest);
  box-shadow: 0 10px 26px rgba(18, 55, 40, .16);
}
.reminder-public .reminder-card {
  border: 1px solid var(--fb-line);
  border-radius: 20px;
  padding: 24px;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 24px 64px rgba(18, 55, 40, .12);
}
.reminder-public .reminder-label,
.reminder-public .wheel-field legend {
  color: var(--fb-forest);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
}
.reminder-public .reminder-label input,
.reminder-public .reminder-label textarea,
.reminder-public .reminder-label select {
  min-height: 52px;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  color: var(--fb-forest);
  background: #fffdfa;
  box-shadow: none;
  font-size: 16px;
  font-weight: 650;
}
.reminder-public .reminder-label input:focus,
.reminder-public .reminder-label textarea:focus,
.reminder-public .reminder-label select:focus {
  border-color: var(--fb-pink);
  outline: 3px solid rgba(255, 79, 163, .13);
}
.reminder-public .reminder-wheel-row {
  grid-template-columns: minmax(0, 1.18fr) minmax(210px, .82fr) auto;
  gap: 14px;
  border: 1px solid rgba(18, 55, 40, .11);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 244, 226, .42);
}
.reminder-public .reminder-wheel-grid {
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 8px;
}
.reminder-public .date-wheel {
  height: 148px;
  border: 1px solid var(--fb-line);
  border-radius: 12px;
  background: #fffdfa;
  scrollbar-color: rgba(18, 55, 40, .34) transparent;
}
.reminder-public .date-wheel-option {
  min-height: 38px;
  border-radius: 9px;
  color: rgba(18, 55, 40, .72);
  font-weight: 700;
}
.reminder-public .date-wheel-option.active {
  color: var(--fb-forest);
  background: #ffe3a0;
  box-shadow: inset 0 0 0 1px rgba(255, 79, 163, .3);
}
.reminder-public .date-preview {
  color: var(--fb-palm);
  font-weight: 800;
}
.reminder-public .btn-outline {
  border-color: var(--fb-line);
  color: var(--fb-forest);
  background: #fffdfa;
}

@media (max-width: 760px) {
  .reminder-public::after {
    top: 2vh;
    right: -92px;
    width: 250px;
    opacity: .045;
  }
  .reminder-public .reminder-wrap {
    width: min(100% - 24px, 840px);
    padding: 24px 0 42px;
  }
  .reminder-public .reminder-logo-link {
    width: min(226px, 68vw);
    margin-bottom: 18px;
  }
  .reminder-public .reminder-logo {
    width: 100%;
    height: auto;
    max-height: 68px;
  }
  .reminder-public .reminder-hero h1,
  .reminder-public .reminder-done h1 {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.06;
  }
  .reminder-public .reminder-card {
    padding: 16px;
    border-radius: 16px;
  }
  .reminder-public .reminder-contact-grid,
  .reminder-public .reminder-wheel-row,
  .reminder-public .reminder-card-actions {
    grid-template-columns: 1fr;
  }
  .reminder-public .reminder-wheel-grid {
    grid-template-columns: minmax(0, 1fr) 80px;
  }
  .reminder-public .date-wheel {
    height: 140px;
  }
  .reminder-public .reminder-shop-cta,
  .reminder-public .reminder-card-actions .btn {
    width: 100%;
  }
}
