/* COPIED FROM editor-kit/client/kit.css + demo/demo.css (kit abc556a3fa52). Do not edit here. */
/* First Connect Studio editor kit. Phone first. Each site can set --ek-brand and --ek-brand-ink in its editor page. */
:root {
  --ek-brand: #1f4fd1;
  --ek-brand-ink: #ffffff;
  --ek-bg: #f4f5f7;
  --ek-card: #ffffff;
  --ek-ink: #16181d;
  --ek-muted: #5b616e;
  --ek-line: #d8dbe2;
  --ek-ok: #11733a;
  --ek-ok-bg: #e7f5ec;
  --ek-err: #b3261e;
  --ek-err-bg: #fdecea;
  --ek-radius: 12px;
  --ek-font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.ek-body { margin: 0; background: var(--ek-bg); color: var(--ek-ink); font: 16px/1.5 var(--ek-font); -webkit-text-size-adjust: 100%; }
.ek-body *, .ek-body *::before, .ek-body *::after { box-sizing: border-box; }
.ek-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; background: var(--ek-card); border-bottom: 1px solid var(--ek-line); }
.ek-top img { height: 36px; width: auto; display: block; }
.ek-top__title { font-weight: 700; color: var(--ek-muted); font-size: 15px; }
.ek-top__account { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.ek-top__account a { color: var(--ek-ink); }
.ek-wrap { max-width: 760px; margin: 0 auto; padding: 20px 16px 40px; }
.ek-card { background: var(--ek-card); border: 1px solid var(--ek-line); border-radius: var(--ek-radius); padding: 20px 16px; margin: 0 0 16px; }
.ek-card h1, .ek-card h2 { margin: 0 0 8px; line-height: 1.2; }
.ek-card h1 { font-size: 24px; }
.ek-card h2 { font-size: 19px; }
.ek-help { color: var(--ek-muted); margin: 0 0 14px; }
.ek-field { display: block; margin: 0 0 14px; font-weight: 600; }
.ek-field > span.ek-label { display: block; margin-bottom: 6px; }
.ek-field small, .ek-hint { display: block; font-weight: 400; color: var(--ek-muted); font-size: 14px; margin-top: 4px; }
.ek-body input[type=text], .ek-body input[type=email], .ek-body input[type=password], .ek-body input[type=number], .ek-body input[type=date], .ek-body input[type=time], .ek-body input[type=search], .ek-body select, .ek-body textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--ek-ink); background: #fff; border: 1.5px solid #b9bec9; border-radius: 10px; padding: 11px 12px; min-height: 48px;
}
.ek-body textarea { min-height: 96px; resize: vertical; }
.ek-body input:focus-visible, .ek-body select:focus-visible, .ek-body textarea:focus-visible, .ek-body button:focus-visible, .ek-body a:focus-visible, .ek-body summary:focus-visible { outline: 3px solid var(--ek-brand); outline-offset: 2px; }
.ek-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 18px; border-radius: 10px; border: 1.5px solid var(--ek-line); background: #fff; color: var(--ek-ink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.ek-btn--main { background: var(--ek-brand); border-color: var(--ek-brand); color: var(--ek-brand-ink); }
.ek-btn--danger { color: var(--ek-err); border-color: #e7b4b0; }
.ek-btn--small { min-height: 40px; padding: 6px 12px; font-size: 14px; }
.ek-btn--link { border: 0; background: none; padding: 6px 0; min-height: 0; text-decoration: underline; font-weight: 600; }
.ek-btn[disabled] { opacity: .6; cursor: default; }
.ek-btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.ek-msg { margin: 12px 0 0; padding: 0; min-height: 1px; }
.ek-msg.ok, .ek-msg.err { padding: 10px 12px; border-radius: 10px; }
.ek-msg.ok { background: var(--ek-ok-bg); color: var(--ek-ok); }
.ek-msg.err { background: var(--ek-err-bg); color: var(--ek-err); }
.ek-show-pw { display: flex; gap: 8px; align-items: center; font-weight: 400; margin: -6px 0 14px; }
.ek-show-pw input { width: 22px; height: 22px; }
.ek-meter { height: 6px; border-radius: 3px; background: var(--ek-line); overflow: hidden; margin-top: 6px; }
.ek-meter i { display: block; height: 100%; width: 0; background: var(--ek-err); transition: width .2s; }
.ek-meter[data-ok="1"] i { background: var(--ek-ok); }

/* sections */
.ek-section { background: var(--ek-card); border: 1px solid var(--ek-line); border-radius: var(--ek-radius); margin: 0 0 14px; }
.ek-section > summary { list-style: none; cursor: pointer; padding: 16px; font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; min-height: 56px; }
.ek-section > summary::-webkit-details-marker { display: none; }
.ek-section > summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.ek-section[open] > summary::after { transform: rotate(-135deg); }
.ek-section__body { padding: 0 16px 16px; }
.ek-items { list-style: none; margin: 0 0 12px; padding: 0; }
.ek-item { border: 1px solid var(--ek-line); border-radius: 10px; margin: 0 0 10px; background: #fafbfc; }
.ek-item > summary { list-style: none; cursor: pointer; padding: 12px; display: flex; gap: 8px; align-items: center; min-height: 52px; font-weight: 600; }
.ek-item > summary::-webkit-details-marker { display: none; }
.ek-item > summary .ek-item__sub { margin-left: auto; color: var(--ek-muted); font-weight: 400; white-space: nowrap; }
.ek-item__body { padding: 4px 12px 12px; }
.ek-item__tools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ek-toggle { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 0 0 14px; min-height: 44px; }
.ek-toggle input { width: 24px; height: 24px; }
.ek-hours { width: 100%; border-collapse: collapse; }
.ek-day { border-top: 1px solid var(--ek-line); padding: 10px 0; }
.ek-day:first-child { border-top: 0; }
.ek-day__head { display: flex; align-items: center; gap: 12px; justify-content: space-between; font-weight: 700; }
.ek-day__head label { font-weight: 400; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; cursor: pointer; } /* the whole label is the tap target */
.ek-day__head input { width: 24px; height: 24px; }
.ek-day__times { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; margin-top: 8px; }
.ek-day__times span { color: var(--ek-muted); }
.ek-day[data-closed="1"] .ek-day__times, .ek-day[data-closed="1"] .ek-day__more { display: none; }
.ek-photos { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.ek-photos li { border: 1px solid var(--ek-line); border-radius: 10px; overflow: hidden; background: #fff; }
.ek-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ek-line); }
.ek-photos .ek-photo__tools { display: flex; }
.ek-photos .ek-photo__tools button { flex: 1; min-height: 44px; border: 0; border-top: 1px solid var(--ek-line); background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.ek-photos .ek-photo__tools button + button { border-left: 1px solid var(--ek-line); }
.ek-photos .ek-busy { display: grid; place-items: center; min-height: 120px; color: var(--ek-muted); font-size: 14px; padding: 8px; text-align: center; }
.ek-upload { position: relative; overflow: hidden; }
.ek-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* save bar */
/* sits under the sections and sticks to the bottom of the screen while they are on screen */
.ek-savebar { position: sticky; bottom: 0; z-index: 20; margin: 16px 0 0; background: var(--ek-card); border: 1px solid var(--ek-line); border-radius: var(--ek-radius) var(--ek-radius) 0 0; box-shadow: 0 -6px 18px rgba(0,0,0,.08); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
.ek-savebar__in { display: flex; gap: 12px; align-items: center; }
.ek-savebar__note { flex: 1; font-size: 14px; color: var(--ek-muted); }
.ek-savebar[data-dirty="1"] .ek-savebar__note { color: var(--ek-ink); font-weight: 700; }
.ek-savebar .ek-btn { flex: 0 0 auto; }
.ek-saved-at { color: var(--ek-muted); font-size: 14px; margin: 0 0 12px; }

@media (min-width: 700px) {
  .ek-card { padding: 28px; }
  .ek-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .ek-body * { transition: none !important; } }
[hidden] { display: none !important; }

/* ---------- stats ---------- */
.ek-tabs { display: flex; gap: 6px; padding: 5px; margin: 0 0 16px; background: var(--ek-card); border: 1px solid var(--ek-line); border-radius: 999px; width: fit-content; max-width: 100%; }
.ek-tabs button { font: inherit; font-weight: 700; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ek-ink); cursor: pointer; }
.ek-tabs button[aria-selected="true"] { background: var(--ek-brand); color: var(--ek-brand-ink); }
.ek-stat h2 { font-size: 18px; margin: 0 0 10px; }
.ek-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
.ek-kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-radius: 10px; background: var(--ek-bg); border: 1px solid var(--ek-line); min-width: 0; }
.ek-kpi span { font-size: 13px; color: var(--ek-muted); font-weight: 600; }
.ek-kpi b { font-size: clamp(24px, 7vw, 34px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.ek-kpi small { font-size: 12px; color: var(--ek-muted); }
.ek-change { margin: 0 0 12px; font-weight: 600; }
.ek-chart { display: block; width: 100%; height: auto; }
.ek-chart rect { fill: var(--ek-brand); opacity: .55; }
.ek-chart rect.today { opacity: 1; }
.ek-chart rect.none { fill: var(--ek-line); opacity: 1; }
.ek-chart__axis { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ek-muted); margin-top: 6px; }
.ek-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ek-bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: baseline; }
.ek-bars__label { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.ek-bars__n { color: var(--ek-muted); font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ek-bars__track { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: var(--ek-bg); overflow: hidden; }
.ek-bars__track i { display: block; height: 100%; background: var(--ek-brand); border-radius: 4px; }
.ek-stat-note { font-size: 14px; }

/* The public editor demo: the real editor (kit.css) in a window beside a phone showing a made-up café's website.
   Sits on First Connect's dark pages; uses its colours when they're there, with fallbacks. Phone first. */
.demo { --d-accent: var(--spark, #ffa24c); --d-cool: var(--kf, #1aa7dc); --d-ink: var(--ink-0, #04070b); --d-text: var(--text, #eef3f6); --d-muted: var(--muted, #a3b1bd); margin: 0 auto; max-width: 72rem; }

/* tabs and reset */
.demo-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin: 0 0 1.25rem; }
.demo-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.demo-tabs button { appearance: none; border: 0; background: transparent; color: var(--d-text); font: inherit; font-weight: 700; padding: .65rem 1.1rem; border-radius: 999px; cursor: pointer; min-height: 44px; }
.demo-tabs button[aria-selected="true"] { background: var(--d-accent); color: var(--d-ink); }
.demo-tabs button:focus-visible, .demo-reset:focus-visible { outline: 3px solid var(--d-cool); outline-offset: 2px; }
.demo-reset { appearance: none; background: transparent; color: var(--d-muted); border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: .55rem 1rem; font: inherit; font-size: .9375rem; cursor: pointer; min-height: 44px; }
.demo-reset:hover { color: var(--d-text); border-color: rgba(255, 255, 255, .4); }

/* the editor tab: phone above the editor on phones, side by side on bigger screens */
.demo-edit { display: grid; gap: 1.5rem; align-items: start; }
.demo-edit[hidden], .demo-stats[hidden] { display: none; }
@media (min-width: 900px) { .demo-edit { grid-template-columns: 22rem minmax(0, 1fr); } .demo-phone { position: sticky; top: 6rem; } }

.demo-phone { margin: 0 auto; width: min(22rem, 100%); }
.demo-phone__screen { height: 30rem; overflow-y: auto; overscroll-behavior: contain; border-radius: 2.2rem; border: 10px solid #0b0f14; background: #fbf6ee; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -20px rgba(0, 0, 0, .7); transition: box-shadow .5s; }
@media (min-width: 900px) { .demo-phone__screen { height: min(40rem, 78vh); } }
.demo-phone__screen:focus-visible { outline: 3px solid var(--d-cool); outline-offset: 3px; }
.demo-phone figcaption { text-align: center; color: var(--d-muted); font-size: .875rem; margin-top: .6rem; }
.demo-phone.is-updated .demo-phone__screen { animation: demo-glow 1.6s var(--ease, ease-out); }
@keyframes demo-glow { 0%, 30% { box-shadow: 0 0 0 4px var(--d-accent), 0 0 40px 6px rgba(255, 162, 76, .55), 0 30px 60px -20px rgba(0, 0, 0, .7); } 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -20px rgba(0, 0, 0, .7); } }
@media (prefers-reduced-motion: reduce) { .demo-phone.is-updated .demo-phone__screen { animation: none; box-shadow: 0 0 0 4px var(--d-accent), 0 30px 60px -20px rgba(0, 0, 0, .7); } }

/* the editor's window (kit.css styles everything inside .ek-body), in the café's own colour as a client's would be */
.demo .ek-body { --ek-brand: #a3402c; --ek-brand-ink: #ffffff; }
.demo-app {border-radius: 18px; overflow: clip; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 50px -24px rgba(0, 0, 0, .8); text-align: left; }
.demo-app__top { display: flex; gap: .6rem; align-items: baseline; padding: .8rem 1rem; background: #fff; border-bottom: 1px solid #e3e6ea; color: #14181d; }
.demo-app__top span { color: #5b6672; }
.demo-app__in { padding: 1rem .85rem 0; }
.demo-app__in > div:last-child { padding-bottom: .5rem; }
@media (min-width: 600px) { .demo-app__in { padding: 1.25rem 1.25rem 0; } }

/* the visitors tab */
.demo-stats { max-width: 46rem; margin: 0 auto; }
.demo-example { margin: 0 0 1rem; padding: .75rem 1rem; border-radius: 14px; background: rgba(255, 162, 76, .12); border: 1px solid rgba(255, 162, 76, .45); color: var(--d-text); }
.demo-example b { color: var(--d-accent); }

/* ---------- the made-up café's website ---------- */
.hc { --hc-ink: #2a211c; --hc-soft: #6f625a; --hc-accent: #a3402c; --hc-sea: #1f4e66; color: var(--hc-ink); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; min-height: 100%; background: #fbf6ee; }
.hc *, .hc *::before, .hc *::after { box-sizing: border-box; }
.hc-notice { margin: 0; padding: .55rem .9rem; background: var(--hc-accent); color: #fff; font-weight: 700; font-size: .85rem; text-align: center; }
.hc-top { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; }
.hc-logo { font: 700 1.15rem/1 Georgia, "Times New Roman", serif; letter-spacing: .01em; }
.hc-logo i { color: var(--hc-accent); }
.hc-menu { display: grid; gap: 5px; }
.hc-menu i { display: block; width: 22px; height: 2px; background: var(--hc-ink); border-radius: 2px; }
.hc-hero { position: relative; margin: 0 .6rem; border-radius: 18px; overflow: hidden; min-height: 17rem; display: flex; align-items: flex-end; background: var(--hc-sea); }
.hc-hero img, .hc-hero .hc-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(20, 12, 8, .78)); }
.hc-hero__in { position: relative; z-index: 1; padding: 1rem 1rem 1.1rem; color: #fff; }
.hc-hero h3 { margin: .35rem 0 .3rem; font: 700 1.7rem/1.1 Georgia, "Times New Roman", serif; overflow-wrap: anywhere; }
.hc-hero p { margin: 0 0 .8rem; font-size: .92rem; opacity: .92; }
.hc-today { display: inline-flex; gap: .4rem; align-items: center; margin: 0 !important; padding: .2rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: .78rem !important; font-weight: 700; }
.hc-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd38d; box-shadow: 0 0 0 3px rgba(95, 211, 141, .3); }
.hc-btn { display: inline-block; padding: .55rem 1rem; border-radius: 999px; background: #fff; color: var(--hc-ink); font-weight: 700; font-size: .85rem; }
.hc-sec { padding: 1.2rem 1rem .4rem; }
.hc-sec h4 { margin: 0 0 .6rem; font: 700 1.2rem/1.2 Georgia, "Times New Roman", serif; }
.hc-menu-list { list-style: none; margin: 0; padding: 0; }
.hc-menu-list li { display: flex; gap: .6rem; align-items: baseline; padding: .45rem 0; border-bottom: 1px dashed #e2d6c6; }
.hc-menu-list li span { flex: 1; overflow-wrap: anywhere; }
.hc-menu-list li b { color: var(--hc-accent); white-space: nowrap; }
.hc-hours { margin: 0; display: grid; gap: .25rem; }
.hc-hours div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.hc-hours dt { color: var(--hc-soft); }
.hc-hours dd { margin: 0; font-weight: 600; }
.hc-muted { color: var(--hc-soft); padding: 1rem; margin: 0; }
.hc-foot { margin-top: 1rem; padding: 1rem; font-size: .78rem; color: var(--hc-soft); text-align: center; border-top: 1px solid #eadfcf; }

/* First Connect's phones show a fixed "Book a free chat" bar (.phone-bar, up to 620px wide, about 87px tall):
   keep the editor's Save button just above it, so it can always be pressed */
@media (max-width: 620px) { .demo .ek-savebar { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }
