/* Shared mockup chrome: preview ribbon, personalize panel, phone + SMS demo.
   Each site sets --kit-accent / --kit-ink / --kit-paper. */
#kit-ribbon { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none;
  font: 500 13px/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; }
#kit-ribbon > * { pointer-events: auto; }
#kit-ribbon[hidden], .kit-panel[hidden] { display: none !important; }
.kit-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: #111316; color: #f3f4f6; padding: 8px 8px 8px 14px; border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25); max-width: 100%; }
.kit-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.kit-msg b { font-weight: 700; }
.kit-btn { font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: 7px 14px; cursor: pointer;
  background: #f3f4f6; color: #111316; }
.kit-btn.ghost { background: transparent; color: #f3f4f6; border: 1px solid #4b5058; }
.kit-btn:focus-visible { outline: 2px solid #3ddc84; outline-offset: 2px; }
.kit-panel { background: #111316; color: #f3f4f6; border-radius: 14px; padding: 14px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(520px, 100%);
  box-shadow: 0 12px 40px rgba(0,0,0,.35); }
.kit-panel label { display: grid; gap: 4px; font-size: 12px; color: #aab0b8; }
.kit-panel input { font: 500 14px/1.2 system-ui, sans-serif; padding: 8px 10px; border-radius: 8px;
  border: 1px solid #353a41; background: #1b1e22; color: #f3f4f6; min-width: 0; }
.kit-row { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.kit-out { grid-column: 1 / -1; font-size: 12px; color: #3ddc84; word-break: break-all; }
@media (max-width: 520px) { .kit-panel { grid-template-columns: 1fr; } .kit-msg { font-size: 12px; } }

/* Phone used by the instant-reply demo */
.phone { width: min(300px, 100%); aspect-ratio: 9 / 17; max-width: 100%; border-radius: 38px; padding: 12px;
  background: #0d0f12; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), inset 0 0 0 2px #2a2e34; }
.phone-screen { height: 100%; border-radius: 28px; background: #f4f5f7; overflow: hidden; display: flex; flex-direction: column;
  font: 14px/1.35 system-ui, -apple-system, sans-serif; color: #111; }
.phone-top { padding: 14px 14px 10px; background: #fff; border-bottom: 1px solid #e3e5e8; display: flex; align-items: center; gap: 10px; }
.phone-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px;
  background: var(--kit-accent, #2563eb); }
.phone-name { font-weight: 600; font-size: 13px; }
.phone-sub { font-size: 11px; color: #6b7280; }
.sms-clock { margin-left: auto; font: 600 12px/1 ui-monospace, Menlo, monospace; color: #6b7280; font-variant-numeric: tabular-nums; }
.phone.is-live .sms-clock { color: #059669; }
.sms-thread { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow: auto; }
.sms-empty { margin: auto; text-align: center; color: #8b9098; font-size: 12px; max-width: 18ch; }
.sms { max-width: 85%; padding: 9px 12px; border-radius: 18px; animation: smsIn .25s ease-out; }
.sms.in { align-self: flex-start; background: #e5e7eb; border-bottom-left-radius: 6px; }
.sms.typing { letter-spacing: 2px; color: #6b7280; }
@keyframes smsIn { from { transform: translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sms { animation: none; } }
.sample-note { font: 500 11px/1.3 system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; opacity: .6; }
