/* Sanad One — public link page */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.pub {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  color: var(--text); background: var(--bg1);
  background-image: linear-gradient(170deg, var(--bg1), var(--bg2));
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.pub-wrap {
  width: min(100%, 560px); margin: 0 auto;
  padding: max(44px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: stretch; gap: 22px;
}

.pub-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.pub-avatar {
  width: 104px; height: 104px; border-radius: 50%; overflow: hidden; margin-bottom: 8px;
  display: grid; place-items: center;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--text) 14%, transparent);
  background: color-mix(in srgb, var(--text) 10%, transparent);
}
.pub-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-avatar span { font-size: 2.6rem; font-weight: 800; }
.pub-head h1 { margin: 0; font-size: 1.45rem; font-weight: 800; line-height: 1.35; }
.pub-bio { margin: 0; max-width: 42ch; opacity: .82; font-size: .98rem; }

.pub-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pub-social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  transition: background-color .15s, transform .15s;
}
.pub-social a:hover { background: color-mix(in srgb, var(--text) 12%, transparent); }
.pub-social a:active { transform: scale(.94); }
.pub-social svg { width: 24px; height: 24px; }

.pub-links { display: flex; flex-direction: column; gap: 12px; }
.pub-sec { margin: 10px 0 0; font-size: .95rem; font-weight: 700; text-align: center; opacity: .8; }

.pub-btn {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px;
  padding: 10px 16px; text-decoration: none; font-weight: 700; font-size: 1rem;
  background: var(--btn-bg); color: var(--btn-text);
  border: 2px solid transparent; border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.pub-btn:hover { transform: translateY(-2px); }
.pub-btn:active { transform: scale(.985); }
.pb-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; }
.pb-ic svg { width: 22px; height: 22px; }
.pb-t { flex: 1; text-align: center; line-height: 1.4; padding-inline-end: 36px; }
.pb-tag {
  position: absolute; inset-inline-end: 14px; font-size: .68rem; font-weight: 800; letter-spacing: .04em;
  padding: 2px 6px; border-radius: 5px; border: 1.5px solid currentColor; opacity: .7;
}
.pub-btn:has(.pb-tag) .pb-t { padding-inline-end: 44px; }

/* Button styles */
.st-pill .pub-btn { border-radius: 999px; }
.st-square .pub-btn { border-radius: 0; }
.st-outline .pub-btn { background: transparent; border-color: var(--btn-line); color: var(--text); }
.st-outline .pub-btn:hover { background: color-mix(in srgb, var(--text) 10%, transparent); }
.st-soft .pub-btn { border-radius: 16px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .28); }
.st-soft .pub-btn:hover { box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .34); }
.st-rounded .pub-btn:hover, .st-pill .pub-btn:hover, .st-square .pub-btn:hover { box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35); }

.pub-menu { min-height: 64px; font-size: 1.05rem; box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-bg) 35%, transparent); }
.st-outline .pub-menu { box-shadow: none; border-width: 2.5px; }
.pub-vcard { border-style: dashed; border-color: color-mix(in srgb, var(--btn-text) 30%, transparent); }
.st-outline .pub-menu { min-height: 64px; font-size: 1.05rem; box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-bg) 35%, transparent); }
.st-outline .pub-menu { box-shadow: none; border-width: 2.5px; }
.pub-vcard { border-color: var(--btn-line); }

.pub-empty { text-align: center; opacity: .7; }

.pub-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; }
.pub-foot .pub-report { background: none; padding: 2px 6px; font-size: .72rem; font-weight: 600; opacity: .55; text-decoration: underline; text-underline-offset: 3px; }
.pub-foot a {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  font-size: .8rem; font-weight: 700; text-decoration: none; opacity: .75;
  background: color-mix(in srgb, var(--text) 8%, transparent);
}
.pub-foot a:hover { opacity: 1; }
.pub-foot img { border-radius: 5px; }

.pub-share {
  position: fixed; top: max(14px, env(safe-area-inset-top)); inset-inline-end: 14px; z-index: 5;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  color: var(--text); background: color-mix(in srgb, var(--text) 12%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pub-share svg { width: 20px; height: 20px; }
.pub-lang {
  position: fixed; top: max(14px, env(safe-area-inset-top)); inset-inline-start: 14px; z-index: 5;
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 99px;
  font-weight: 800; font-size: .95rem; text-decoration: none; letter-spacing: .02em;
  color: var(--text); background: color-mix(in srgb, var(--text) 12%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pub-brand { font-weight: 700; }
.pub-note { position: sticky; top: 0; z-index: 6; padding: 8px 16px; text-align: center; font-size: .85rem; font-weight: 700; background: #F2B632; color: #1B1F3B; }
.pub-toast {
  position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  padding: 10px 18px; border-radius: 99px; background: #1B1F3B; color: #fff; font-weight: 700; font-size: .9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

/* Branches */
.pub-branches { display: flex; flex-direction: column; gap: 10px; }
.br-card { padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--text) 7%, transparent); display: grid; gap: 8px; }
.br-card header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.br-card h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.br-addr { margin: 0; font-size: .88rem; opacity: .8; }
.br-status { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 800; padding: 2px 10px; border-radius: 99px; background: color-mix(in srgb, var(--text) 9%, transparent); }
.br-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.br-open i { background: #22B35E; box-shadow: 0 0 0 3px rgba(34, 179, 94, .25); }
.br-closed i { background: #D64545; }
.br-temp i { background: #E3A008; }
.br-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.br-actions a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; font-weight: 700; font-size: .88rem; text-decoration: none; background: var(--btn-bg); color: var(--btn-text); border: 1.5px solid transparent; }
.st-outline .br-actions a { background: transparent; color: var(--text); border-color: var(--btn-line); }
.br-actions svg { width: 16px; height: 16px; }
.br-hours summary { cursor: pointer; font-weight: 700; font-size: .88rem; opacity: .85; }
.br-hours table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .86rem; }
.br-hours th, .br-hours td { text-align: start; padding: 5px 4px; border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent); font-weight: 600; }
.br-hours th { width: 34%; vertical-align: top; }
.br-shift { display: block; white-space: nowrap; unicode-bidi: isolate; }
.br-hours tr.today th, .br-hours tr.today td { font-weight: 800; }
.br-hours tr.today th::after { content: ' •'; }

/* Review page */
.rv { gap: 18px; }
[hidden] { display: none !important; }
.rv-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.rv-q { margin: 0; font-size: 1.2rem; font-weight: 800; }
.rv-text { margin: 0; opacity: .82; max-width: 40ch; }
.rv-stars { display: flex; gap: 6px; direction: ltr; }
.rv-star { width: 54px; height: 54px; display: grid; place-items: center; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--text) 8%, transparent); color: color-mix(in srgb, var(--text) 35%, transparent); cursor: pointer; transition: transform .12s, color .12s; }
.rv-star svg { width: 32px; height: 32px; }
.rv-star.on { color: #F5B301; }
.rv-star.on svg { fill: #F5B301; }
.rv-star:active { transform: scale(.92); }
.rv-hint { margin: 0; font-size: .85rem; opacity: .7; }
.rv-google { width: 100%; }
.rv-link { background: none; border: 0; color: inherit; font: inherit; font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; opacity: .85; }
.rv-form { width: 100%; display: grid; gap: 12px; text-align: start; }
.rv-form label { display: grid; gap: 5px; font-weight: 700; font-size: .9rem; }
.rv-form textarea, .rv-form input { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--text) 18%, transparent); background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); font: inherit; }
.rv-send { width: 100%; cursor: pointer; font: inherit; font-weight: 800; }
.rv-send .pb-t { padding: 0; }
.rv-err { margin: 0; padding: 8px 12px; border-radius: 10px; background: #FBEAE6; color: #8E2B14; font-weight: 700; font-size: .88rem; }
.rv-alt { margin: 0; font-size: .85rem; opacity: .8; }
.rv-alt a { font-weight: 700; }
.rv-done { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #22B35E; color: #fff; }
.rv-done svg { width: 32px; height: 32px; }
.rv-google .pb-ic svg { fill: #F5B301; color: #F5B301; }

/* Inside the dashboard phone preview */
.is-preview .pub-wrap { padding-top: 36px; }

/* Entrance: one orchestrated reveal */
@media (prefers-reduced-motion: no-preference) {
  .pub-head, .pub-social, .pub-links > * { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
  .pub-social { animation-delay: .06s; }
  .pub-links > :nth-child(1) { animation-delay: .1s; }
  .pub-links > :nth-child(2) { animation-delay: .14s; }
  .pub-links > :nth-child(3) { animation-delay: .18s; }
  .pub-links > :nth-child(4) { animation-delay: .22s; }
  .pub-links > :nth-child(5) { animation-delay: .26s; }
  .pub-links > :nth-child(n+6) { animation-delay: .3s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } }
  .is-preview .pub-head, .is-preview .pub-social, .is-preview .pub-links > * { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pub-btn, .pub-social a { transition: none; }
}

/* Highlighted link */
.pub-hl { position: relative; animation: hl-nudge 4s ease-in-out infinite; box-shadow: 0 0 0 0 color-mix(in srgb, var(--btn-bg) 60%, transparent); }
.st-outline .pub-hl { box-shadow: 0 0 0 0 color-mix(in srgb, var(--text) 40%, transparent); }
@keyframes hl-nudge {
  0%, 70%, 100% { transform: none; box-shadow: 0 0 0 0 color-mix(in srgb, var(--btn-bg) 0%, transparent); }
  76% { transform: scale(1.03); box-shadow: 0 0 0 6px color-mix(in srgb, var(--btn-bg) 35%, transparent); }
  82% { transform: scale(.99); }
  88% { transform: scale(1.02); }
}

/* Contact form */
.pub-lead { display: block; }
.pub-lead > summary { list-style: none; cursor: pointer; }
.pub-lead > summary::-webkit-details-marker { display: none; }
.lead-form, .lead-done { margin-top: 10px; padding: 16px; border-radius: 16px; background: color-mix(in srgb, var(--text) 7%, transparent); display: grid; gap: 10px; text-align: start; }
.lead-note { margin: 0; font-size: .9rem; opacity: .85; }
.lead-form label { display: grid; gap: 4px; font-size: .85rem; font-weight: 700; }
.lead-form input, .lead-form textarea {
  font: inherit; font-weight: 600; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--text) 18%, transparent);
  background: color-mix(in srgb, var(--bg1) 92%, #fff); color: var(--text);
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--text); }
.lead-form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.lead-send { font: inherit; font-weight: 800; padding: 12px; border-radius: 12px; border: 0; cursor: pointer; background: var(--text); color: var(--bg1); }
.lead-send:disabled { opacity: .6; }
.lead-err { margin: 0; padding: 8px 12px; border-radius: 10px; background: #FBEAE6; color: #B8341F; font-size: .85rem; font-weight: 700; }
.lead-done { grid-auto-flow: column; justify-content: center; align-items: center; font-weight: 800; }
.lead-done svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) { .pub-hl { animation: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-bg) 45%, transparent); } }

/* Text & video blocks */
.pub-text { text-align: center; padding: 6px 4px; }
.pub-text h3 { margin: 0 0 4px; font-size: 1.02rem; font-weight: 800; }
.pub-text p { margin: 0; font-size: .95rem; line-height: 1.8; opacity: .88; }
.pub-video { margin: 0; display: grid; gap: 6px; }
.pub-video .pv-play, .pub-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; display: block; }
.pv-play { position: relative; cursor: pointer; background: #111 center / cover no-repeat; padding: 0; }
.pv-play::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .35)); }
.pv-icon { position: absolute; inset: 0; margin: auto; z-index: 1; width: 64px; height: 44px; border-radius: 12px; background: #FF0033; color: #fff; display: grid; place-items: center; }
.pv-icon svg { width: 24px; height: 24px; }
.pub-video figcaption { font-size: .85rem; font-weight: 700; opacity: .8; text-align: center; }

/* Booking pages */
.pub-avatar.sm { width: 72px; height: 72px; }
.bkp .pub-head h1 { font-size: 1.25rem; }
.bk-step { margin-top: 18px; }
.bk-step .pub-sec { margin-bottom: 10px; }
.svc-list { display: grid; gap: 8px; }
.svc-opt, .date-opt { display: block; position: relative; }
.svc-opt input, .date-opt input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.svc-box { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; cursor: pointer; text-align: start;
  background: color-mix(in srgb, var(--text) 7%, transparent); border: 2px solid transparent; }
.svc-opt input:checked + .svc-box { border-color: var(--text); background: color-mix(in srgb, var(--text) 11%, transparent); }
.svc-opt input:focus-visible + .svc-box, .date-opt input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.svc-meta { font-size: .85rem; font-weight: 700; opacity: .75; }
.svc-desc { font-size: .85rem; opacity: .8; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.date-opt { flex: none; scroll-snap-align: start; }
.date-opt span { display: grid; justify-items: center; min-width: 64px; padding: 8px 6px; border-radius: 14px; cursor: pointer;
  background: color-mix(in srgb, var(--text) 7%, transparent); border: 2px solid transparent; line-height: 1.3; }
.date-opt small { font-size: .72rem; font-weight: 700; opacity: .75; white-space: nowrap; }
.date-opt strong { font-size: 1.25rem; }
.date-opt input:checked + span { background: var(--text); color: var(--bg1); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { font: inherit; font-weight: 800; font-size: .9rem; padding: 10px 6px; border-radius: 12px; cursor: pointer; color: var(--text);
  background: color-mix(in srgb, var(--text) 7%, transparent); border: 2px solid transparent; }
.slot:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.slot.on { background: var(--text); color: var(--bg1); }
.slot-wait { grid-column: 1 / -1; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--text) 7%, transparent); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .4; } }
.bk-summary { margin: 0 0 8px; font-weight: 800; text-align: center; }
.bk-badge { width: 64px; height: 64px; margin: 8px auto 4px; border-radius: 50%; display: grid; place-items: center; background: #22B35E; color: #fff; }
.bk-badge svg { width: 30px; height: 30px; }
.st-pending .bk-badge { background: #E3A008; }
.st-cancelled .bk-badge, .st-noshow .bk-badge { background: #8A8FA3; }
.bk-h { margin: 6px 0 0; font-size: 1.3rem; text-align: center; }
.bk-sub { margin: 4px 0 0; text-align: center; opacity: .8; }
.bk-card { margin: 16px 0; padding: 6px 16px; border-radius: 16px; background: color-mix(in srgb, var(--text) 7%, transparent); }
.bk-card div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.bk-card div:last-child { border-bottom: 0; }
.bk-card dt { opacity: .7; font-weight: 600; }
.bk-card dd { margin: 0; font-weight: 800; text-align: end; }
.bk-cancel { text-align: center; margin-top: 14px; }
.bk-cancel button { font: inherit; font-weight: 700; background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; opacity: .75; }

/* ---- Loyalty card ---- */
.loyp { gap: 18px; }
.loyp .pub-avatar.sm { width: 72px; height: 72px; margin-bottom: 4px; }
.loy-card {
  position: relative; overflow: hidden; padding: 22px 20px 20px; border-radius: 22px; text-align: center;
  background: var(--btn-bg); color: var(--btn-text);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
}
.st-outline .loy-card { background: color-mix(in srgb, var(--text) 10%, transparent); color: var(--text); }
.loy-card::after {
  content: ''; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: color-mix(in srgb, currentColor 8%, transparent); pointer-events: none;
}
.loy-kicker { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .04em; opacity: .75; }
.loy-name, .loy-h { margin: 2px 0 14px; font-size: 1.3rem; font-weight: 800; line-height: 1.35; }
.pub-head .loy-h { margin: 0; }
.loy-stamps { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 10px; max-width: 330px; margin: 0 auto; }
.loy-stamps span {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  border: 2px dashed color-mix(in srgb, currentColor 45%, transparent);
}
.loy-stamps span.on { border: 0; background: currentColor; }
.loy-stamps span.on svg { color: var(--btn-bg); }
.st-outline .loy-stamps span.on svg { color: var(--bg1); }
.loy-stamps span.gift { border-style: solid; }
.loy-stamps svg { width: 52%; height: 52%; }
.loy-stamps span.pop { animation: loy-pop .6s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes loy-pop { 0% { transform: scale(.2); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.loy-left { margin: 14px 0 0; font-weight: 700; font-size: .92rem; opacity: .9; }
.loy-ready-msg {
  margin: 16px 0 0; padding: 10px 12px; border-radius: 14px; font-weight: 800;
  background: color-mix(in srgb, currentColor 16%, transparent); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.loy-ready-msg svg { width: 22px; height: 22px; flex: none; }
.is-ready .loy-stamps span.gift { background: currentColor; }
.is-ready .loy-stamps span.gift svg { color: var(--btn-bg); }
.loy-demo .loy-h { margin-bottom: 16px; }
.loy-how-pub { margin: 0; padding: 0 22px; display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.loy-note { margin: 0; text-align: center; opacity: .8; font-size: .9rem; }
.loy-welcome {
  margin: 0; padding: 10px 14px; border-radius: 14px; font-weight: 700; display: flex; gap: 8px; align-items: center;
  background: color-mix(in srgb, #22B35E 18%, transparent);
}
.loy-welcome svg { width: 20px; height: 20px; flex: none; }
.loy-qr { display: grid; justify-items: center; gap: 8px; text-align: center; }
.loy-qr-box { width: 220px; height: 220px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .35); }
.loy-qr-box svg { width: 100%; height: 100%; display: block; }
.loy-qr p { margin: 0; font-weight: 700; }
.loy-code { opacity: .6; font-weight: 700; }
.loy-save { display: grid; gap: 10px; padding: 14px 16px; border-radius: 16px; background: color-mix(in srgb, var(--text) 7%, transparent); }
.loy-save p { margin: 0; font-size: .9rem; display: flex; gap: 8px; align-items: flex-start; }
.loy-save p svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.loy-share, .loy-undo {
  font: inherit; font-weight: 800; cursor: pointer; border-radius: 12px; padding: 10px 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--text); border: 1.5px solid color-mix(in srgb, var(--text) 35%, transparent);
}
.loy-share svg { width: 18px; height: 18px; }
.loy-undo { border: 0; text-decoration: underline; padding: 6px; font-weight: 700; opacity: .8; width: 100%; }
.loy-staff { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: color-mix(in srgb, var(--text) 8%, transparent); }
.loy-staff-who { display: grid; gap: 2px; font-size: .9rem; }
.loy-staff-who strong { font-size: 1rem; }
.loy-stamp-form { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.loy-staff .lead-send { width: 100%; font-size: 1.05rem; padding: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.lead-send.alt { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.lead-send.gift { background: #22B35E; color: #fff; }
.lead-send svg { width: 20px; height: 20px; }
.loy-flash { margin: 0; padding: 10px 12px; border-radius: 12px; font-weight: 800; }
.loy-flash.success { background: color-mix(in srgb, #22B35E 20%, transparent); }
.loy-flash.error { background: #FBEAE6; color: #B8341F; }
.loy-hist { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: .84rem; }
.loy-hist li { display: flex; justify-content: space-between; gap: 10px; opacity: .85; }
.loy-hist li.undone span { text-decoration: line-through; opacity: .6; }
.loy-hist time { opacity: .7; white-space: nowrap; }
.loy-back { text-align: center; font-weight: 700; font-size: .9rem; }
.loy-out { text-align: center; }
