/* CoreKitly Platform customer screens.
   Brand tokens match the marketing site so every CoreKitly app can share them:
   navy #0F3B74, sky #63A0E6, pale #C7D8ED, ice #EBF2FA, action #245B91, ivory #FAF9F5, ink #202C2C.
   One family for everything: system sans. No web fonts, no CDN, no serif. */

/* Cross-Document View Transitions: instant app-shell feel for sidebar navigation */
@view-transition {
  navigation: auto;
}

/* Smooth 150ms crossfade for main content */
::view-transition-old(main-content),
::view-transition-new(main-content) {
  animation-duration: 150ms;
}

:root {
  color-scheme: light;
  /* These values are the CoreKitly brand. The canonical copy lives in ck-tokens.css, which every
     app links first and which a test guards; these mirror it so this sheet also stands alone. */
  --brand: var(--ck-navy, #0F3B74);
  --sky: #63A0E6;
  --pale: #C7D8ED;
  --ice: #EBF2FA;
  --footer: #152B43;
  --action: #245B91;
  --hover: #1C4773;
  --ivory: #FAF9F5;
  --ink: #202C2C;
  --muted: #4A5958;
  --border: #D5DDE4;
  --focus: #0F3B74;
  --ok-bg: #E7F6EA;
  --ok-ink: #1E5A33;
  --ok-line: #B7D4B7;
  --warn-bg: #FDF1EE;
  --warn-ink: #7A2415;
  --warn-line: #E3B7AC;
  --sage: #EEF0E8;
}
* { box-sizing: border-box; }
html { height: 100%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 420px at 100% -10%, #d7e7f8 0%, transparent 58%),
    radial-gradient(900px 380px at 0% 110%, #e4eef8 0%, transparent 55%),
    var(--ivory);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a {
  color: var(--brand);
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--hover); }
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  background: white;
  padding: 12px 20px;
  z-index: 20;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---- Top bar and language switch ---- */
.header { background: transparent; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 16px 4px 8px;
}
.guest .header-inner,
.guest main {
  width: min(960px, calc(100% - 32px));
  margin-inline: auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  min-height: 44px;
}
.logo img {
  width: 180px;
  aspect-ratio: 962 / 224;
  height: auto;
}
.languages {
  display: flex;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
  flex-shrink: 0;
}
.languages a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  border-radius: 999px;
}
.languages a[aria-current="true"] {
  background: var(--brand);
  color: white;
}
.languages a:hover { background: var(--ice); color: var(--brand); }
.languages a[aria-current="true"]:hover { background: var(--brand); color: white; }
.header-signout form,
.header-signout { margin: 0; }
.header-signout button.text { min-height: 44px; }

/* ---- Menu (sidebar on desktop, simple Menu button on phone) ---- */
.sidebar { background: white; }
.account-nav { display: flex; flex-direction: column; gap: 2px; }
.account-nav a,
.phone-nav a,
.sidebar button.sign-out,
.phone-menu button.sign-out {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 10px;
  color: #172033;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  border-radius: 12px;
}
.account-nav svg,
.phone-nav svg,
.sidebar button.sign-out svg,
.phone-menu button.sign-out svg,
.phone-menu summary svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-nav a:hover,
.phone-nav a:hover,
.sidebar button.sign-out:hover,
.phone-menu button.sign-out:hover {
  color: #172033;
  background: var(--ice);
}
.account-nav a[aria-current="page"],
.phone-nav a[aria-current="page"] {
  color: #172033;
  background: var(--ice);
}
.sidebar button.sign-out,
.phone-menu button.sign-out { width: 100%; text-align: left; }

/* ---- Two-level navigation: which business, then its steps ---- */
.nav-business { padding: 4px 4px 10px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.nav-business-name {
  margin: 0;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  background: var(--ice);
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.nav-switch { margin: 0; }
.nav-switch select {
  width: 100%;
  min-height: 48px;
  padding: 10px 36px 10px 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--pale);
  border-radius: 12px;
  appearance: none;
  background-color: var(--ice);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 12px;
}
.nav-section {
  margin: 12px 0 4px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--action);
}
.account-nav .nav-label { flex: 1 1 auto; min-width: 0; }
.account-nav .nav-num {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
}
.account-nav .nav-num.done { background: var(--ok-ink, #1E5A33); border-color: var(--ok-ink, #1E5A33); color: #fff; font-size: 12px; }
.account-nav a[aria-current="page"] .nav-num { border-color: var(--action); color: var(--action); }
.account-nav a[aria-current="page"] .nav-num.done { color: #fff; }
.account-nav .nav-optional {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.phone-menu {
  display: none;
  margin: 0 16px 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}
.phone-menu summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand);
  border-radius: 16px;
}
.phone-menu summary::-webkit-details-marker { display: none; }
.phone-menu[open] summary { border-bottom: 1px solid var(--border); border-radius: 16px 16px 0 0; }
.phone-nav { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.phone-menu form { padding: 0 8px 8px; border-top: 1px solid var(--border); margin-top: 4px; padding-top: 8px; }

/* ---- Page card ---- */
main { padding: 8px 0 48px; }
.sheet {
  position: relative;
  overflow: hidden;
  padding: 36px 36px 56px;
  background: white;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(15, 59, 116, 0.08);
}
.sheet > * { position: relative; z-index: 1; }
.sheet::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -2px;
  width: min(420px, 70%);
  height: 120px;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 80% 120%, #cfe3f7 0%, transparent 70%),
    radial-gradient(90% 80% at 40% 130%, #e7f1fb 0%, transparent 65%);
}
.sheet-narrow { max-width: 560px; margin-inline: auto; }

/* ---- Type ---- */
h1, h2, h3 {
  font-family: var(--ck-font-ui);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--brand);
  margin: 0;
}
h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; margin: 8px 0 16px; }
h2 { font-size: clamp(25px, 3vw, 32px); line-height: 1.2; margin: 0 0 12px; }
h3 { font-size: 21px; line-height: 1.25; margin: 20px 0 8px; }
p { margin: 0 0 16px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 38rem; margin-top: 8px; }
.note { font-size: 16px; color: var(--muted); }
.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--action);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Forms ---- */
form { margin: 0; }
label { display: block; font-weight: 650; margin: 18px 0 6px; }
input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
}
input:hover { border-color: var(--pale); }
.hint { margin: 6px 0 0; font-size: var(--ck-text-sm); color: var(--muted); }
.field-error { margin: 6px 0 0; font-size: var(--ck-text-sm); font-weight: 600; color: var(--ck-error-ink); }
.field-error::before { content: "\26A0\FE0E  "; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--ck-error-red); background: var(--ck-error-bg); }
[hidden] { display: none !important; }
.form-grid { display: grid; gap: 0 16px; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
button:not(.text),
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 44px;
  margin-top: 20px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--action);
  color: white;
  font: inherit;
  font-size: 17px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.actions .button { margin-top: 0; }
button:not(.text):hover,
.button:hover { background: var(--hover); color: white; }
.button.secondary,
button.secondary { background: white; color: var(--action); border-color: var(--action); }
.button.secondary:hover,
button.secondary:hover { background: var(--ice); color: var(--hover); }
.button.wide, form.wide .button, form.wide button:not(.text) { width: 100%; }
button.text {
  margin: 0;
  padding: 8px 10px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
button.text:hover { color: var(--hover); }
.sidebar button.text,
.phone-menu button.text { text-decoration: none; }
.link-row { margin: 18px 0 0; }
.link-row a { display: inline-block; padding: 8px 0; font-weight: 600; }

/* ---- Messages ---- */
.notice {
  padding: 14px 16px;
  background: var(--ice);
  border: 1px solid var(--pale);
  border-radius: 12px;
  margin: 0 0 20px;
}
.notice.ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }
.notice[role="alert"] { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); font-weight: 600; }
.notice p:last-child { margin-bottom: 0; }

/* ---- Cards, panels, chips ---- */
.panel {
  margin-top: 24px;
  padding: 28px;
  background: var(--ice);
  border-radius: 18px;
}
.panel > h2 { margin-bottom: 8px; }
.panel form + form { margin-top: 12px; }
.card-list { display: grid; gap: 16px; margin-top: 20px; }
.info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
}
.info-card h3, .info-card h2 { margin: 0; font-size: 22px; }
.info-card p { margin: 0; color: var(--muted); }
.info-card .button, .info-card button:not(.text) { margin-top: 8px; align-self: flex-start; }
.info-card.soon { background: var(--ivory); border-style: dashed; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ice);
  color: var(--action);
  display: grid;
  place-items: center;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}
.status.on, .status.live { background: var(--ok-bg); color: var(--ok-ink); }
.status.soon { background: #FFF4D6; color: #6A4A00; }
.status.off { background: #EEF0F2; color: #3F4B4B; }
.tips {
  margin: 20px 0 8px;
  padding: 20px 22px;
  background: var(--ice);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.tips p:last-child { margin-bottom: 0; }

/* ---- Home ---- */
.home-hero { display: grid; gap: 28px; align-items: center; }
.home-copy .kicker { font-size: clamp(26px, 3vw, 34px); font-family: var(--ck-font-ui); color: var(--ink); margin: 0 0 12px; }
.hero-art { position: relative; min-height: 220px; display: grid; place-items: center; }
.hero-browser {
  width: min(100%, 280px);
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background: linear-gradient(180deg, #f4f8fd 0%, #d7e6f6 100%);
  border: 1px solid var(--pale);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px rgba(15, 59, 116, 0.12);
}
.hero-browser img { width: 42%; height: auto; }
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  background: white;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(15, 59, 116, 0.12);
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
}
.hero-chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero-chip.sites { top: 12px; right: 8px; }
.hero-chip.bookings { top: 46%; right: 0; }
.hero-chip.team { bottom: 18px; right: 28px; }
.steps { margin-top: 32px; }
.step-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}
.step.next { border-color: var(--action); background: var(--ice); }
.step-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--brand);
  background: var(--ice);
  border: 2px solid var(--pale);
}
.step.done .step-mark { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-ink); }
.step-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.step strong { display: block; color: var(--brand); }
.step span.step-hint { display: block; color: var(--muted); font-size: 16px; }
.step .button { margin-top: 0; min-height: 48px; padding: 8px 18px; }
.step .status { justify-self: start; }
.quick-actions { margin-top: 32px; padding: 20px; background: var(--ice); border-radius: 20px; }
.quick-actions h2 { font-size: 19px; font-family: inherit; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; color: var(--ink); }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.quick-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  background: white;
}
.quick-card:hover { border-color: var(--sky); background: white; color: var(--brand); box-shadow: 0 8px 20px rgba(15, 59, 116, 0.1); }
.quick-card strong { color: var(--brand); font-size: 17px; }
.quick-card span { color: var(--muted); font-size: 15px; }
.home-businesses { display: grid; gap: 10px; margin-top: 28px; }
.home-business {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--ice);
  text-decoration: none;
  font-weight: 700;
}

/* ---- Confirm your email ---- */
.verify-grid, .reset-grid { display: grid; gap: 28px; }
.inbox-card { padding: 24px; border-radius: 20px; background: linear-gradient(180deg, #f7fbff 0%, #e7f1fb 100%); text-align: center; align-self: start; }
.inbox-mark {
  width: 72px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: white;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(15, 59, 116, 0.12);
}
.inbox-mark svg { width: 36px; height: 36px; fill: none; stroke: var(--action); stroke-width: 1.8; }
.otp { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.otp input {
  width: 46px;
  min-width: 40px;
  min-height: 56px;
  padding: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
}
.resend-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.resend-row button { margin-top: 0; }
.tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--muted); font-size: 16px; text-align: left; }
.tip svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--action); stroke-width: 1.8; }
.change-email { margin-top: 24px; padding-top: 8px; }
.change-email summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 650; color: var(--action); }
.reset-success { text-align: center; padding: 24px 8px 8px; }
.check {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ok-bg);
  color: #2f7a45;
  display: grid;
  place-items: center;
}
.check svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.4; }

/* ---- Websites ---- */
.sites-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: space-between; }
.sites-head .button, .sites-head button:not(.text) { margin-top: 0; }
.site-grid { display: grid; gap: 16px; margin-top: 20px; }
.site-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
}
.site-art {
  width: 96px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, #245B91 0%, #63A0E6 55%, #EBF2FA 100%);
  display: grid;
  place-items: center;
}
.site-art svg { width: 30px; height: 30px; fill: none; stroke: white; stroke-width: 1.8; }
.site-card h2, .site-card h3 { margin: 0 0 4px; font-size: 22px; }
.site-card p { margin: 0; }
.site-card .site-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.site-card .site-side .button { margin-top: 0; min-height: 48px; }
.websites { padding: 0; list-style: none; }
.business-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.business-picks a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ice);
  text-decoration: none;
  font-weight: 650;
}
.business-picks a[aria-current="true"] { background: var(--brand); color: white; }
.section-gap { margin-top: 36px; }
.plan-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 6px 0 14px; }
.plan-line p { margin: 0; }
.business-card { margin-top: 24px; padding: 26px; border: 1px solid var(--border); border-radius: 20px; background: white; }
.business-card > h2 { margin-bottom: 4px; }
.business-card hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0 8px; }
.team-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.team-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--ivory); }
.team-list form { display: inline; }
/* ---- Slice 2: profile, business information, tools, team, billing, help ---- */
.notice.info { background: var(--ice); border-color: var(--pale); }
select {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 7px 36px 7px 12px;
  border: 1px solid #dce5f0;
  border-radius: 9px;
  color: #1e3048;
  font: 500 12px/1.3 var(--ck-font-ui, inherit);
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 12px;
  cursor: pointer;
}
select:hover,
select:focus-visible {
  outline: none;
  border-color: #b7c9e2;
  box-shadow: 0 0 0 3px rgba(15, 59, 116, 0.08);
}
input[type="file"] { padding: 10px 12px; }
input[type="checkbox"] { display: inline-block; width: 28px; height: 28px; min-height: 28px; padding: 0; margin: 0; accent-color: var(--brand); flex: none; }
input[type="radio"] { display: inline-block; width: 22px; height: 22px; min-height: 22px; padding: 0; margin: 0; accent-color: var(--brand); flex: none; border-radius: 50%; }
.tick { display: flex; align-items: center; gap: 12px; margin: 8px 0; min-height: 44px; font-weight: 650; }
.tool-boxes { border: 0; margin: 14px 0 6px; padding: 0; }
.tool-boxes legend { padding: 0; font-weight: 650; }
.tool-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.tool { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--ivory); }
.tool-main { flex: 1 1 280px; }
.tool-main h3 { margin: 0 0 4px; }
.tool-main p { margin: 4px 0 0; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tool-actions .button, .tool-actions button:not(.text) { margin-top: 0; min-height: 48px; }
.tool-actions form { display: inline; }
.team-who { display: flex; flex-direction: column; gap: 2px; }
.team-edit { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.team-edit fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.team-edit .tool-boxes { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.team-edit .button, .team-edit button:not(.text) { margin-top: 0; min-height: 48px; }
.activity-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.activity-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.activity-list .note { display: block; font-size: 14px; }
.bill-lines { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.bill-lines li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--ivory); }
.bill-total { margin: 16px 0 6px; font-size: 20px; }
button:disabled, button[disabled] { opacity: 0.55; cursor: not-allowed; }
.faq { border: 1px solid var(--border); border-radius: 14px; background: var(--ivory); padding: 4px 16px; margin: 10px 0; }
.faq summary { cursor: pointer; font-weight: 650; padding: 12px 0; min-height: 44px; }
.faq p { margin: 0 0 14px; }
.logo-box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 8px 0 16px; }
.logo-preview { width: 120px; height: 120px; object-fit: contain; border: 1px solid var(--border); border-radius: 16px; background: white; padding: 6px; }
.logo-empty { display: grid; place-items: center; width: 120px; height: 120px; border: 2px dashed var(--pale); border-radius: 16px; color: var(--muted); font-size: 15px; text-align: center; padding: 8px; }
.brand-fields { display: grid; gap: 4px 16px; grid-template-columns: 1fr; }
.brand-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: white; margin: 12px 0 18px; }
.brand-swatch { width: 96px; height: 56px; border-radius: 12px; border: 1px solid var(--border); flex: none; }
.brand-card-body { flex: 1 1 200px; }
.brand-name { margin: 0; font-family: var(--ck-font-ui); font-size: 22px; font-weight: 700; }
.remove-box { margin-top: 10px; }
.remove-box summary { cursor: pointer; font-weight: 650; padding: 10px 0; min-height: 44px; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.privacy-actions form { display: inline; }
.privacy-actions .button, .privacy-actions button:not(.text) { margin-top: 0; }
@media (min-width: 720px) {
  .brand-fields { grid-template-columns: 1fr 1fr; }
}
.lang-choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.lang-choice a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: white;
  font-weight: 650;
  text-decoration: none;
}
.lang-choice a[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: white; }

/* ---- Keyboard focus: always visible ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px white;
}
input:focus { border-color: var(--action); }
main:focus { outline: none; }

/* ---- Layout by screen size ---- */
@media (min-width: 720px) {
  .home-hero, .verify-grid { grid-template-columns: 1.15fr 0.85fr; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid.two .full { grid-column: 1 / -1; }
  .filter-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 16px;
    align-items: end;
  }
  .filter-row .filter-actions { grid-column: 1 / -1; }
  .card-list.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .card-list.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 900px) {
  .logo-phone { display: inline-flex; }
  .signed-in .sidebar { display: none; }
  .phone-menu { display: block; }
  .header-inner { padding: 12px 16px 8px; gap: 12px; min-height: 64px; }
  .logo img { width: 150px; }
  .sheet { padding: 24px 18px 44px; border-radius: 22px; margin: 0 8px; }
  .sheet-narrow { margin-inline: 8px; }
  .guest .sheet { margin-inline: 0; }
  .guest .header-inner { padding-inline: 0; }
  .site-card { grid-template-columns: 72px 1fr; }
  .site-art { width: 72px; height: 56px; }
  .site-card .site-side { grid-column: 1 / -1; align-items: stretch; }
  .site-card .site-side .button { width: 100%; }
  .step { grid-template-columns: 44px 1fr; }
  .step .button, .step .status { grid-column: 1 / -1; }
  .step .button { width: 100%; }
  .panel, .business-card { padding: 20px; }
  .actions .button { width: 100%; }
}
@media (max-width: 719px) {
  .hero-art { min-height: 200px; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .lead { font-size: 18px; }
  .logo img { width: 128px; }
  .languages a { min-width: 44px; padding: 6px 8px; }
  .sheet { padding: 22px 16px 40px; }
  .otp { gap: 6px; }
  .otp input { width: 38px; min-width: 36px; font-size: 22px; }
  button:not(.text), .button { width: 100%; }
  .resend-row button { width: auto; }
}
@media (min-width: 901px) {
  .logo-phone { display: none; }
  /* Full bleed. The body's decorative gradients were showing as a grey frame around the whole app, which read as
     wasted space. A signed-in customer gets a plain background and the app fills the window. */
  body.signed-in {
    display: grid;
    grid-template-columns: var(--nav-width, 320px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: var(--ice);
  }
  /* The menu runs the full height, edge to edge, with no inset margin and no rounded corner floating above the
     content. It scrolls on its own if the step list is taller than the window. */
  body.signed-in .sidebar {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border-right: 1px solid var(--border);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    min-height: 0;
    overflow: visible;
    background: #fff;
  }
  body.signed-in .nav-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 22px 16px 18px;
  }
  body.signed-in .sidebar .logo { padding-left: 6px; }
  /* A real gap between the menu and the content, rather than the two touching. */
  body.signed-in .app {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-left: 1px solid var(--border);
  }
  /* The header sits inside the content column, on white, so the top of the card below it lines up with the top
     of the menu rather than starting lower. */
  body.signed-in .header { flex: 0 0 auto; background: #fff; }
  body.signed-in .header-inner { min-height: 56px; padding: 10px 24px 6px; }
  body.signed-in main {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    /* No top padding: the sheet must begin where the header ends, not 20px below it, or its top edge sits lower
       than the menu's. */
    padding: 0 24px 0;
    min-height: 0;
    overflow-y: auto;
  }
  /* The page card sits inside the scroll area and no longer floats with its own lifted shadow and huge radius,
     so its top lines up with the menu and its bottom reaches the window edge. */
  body.signed-in.ck-workspace main,
  body.signed-in.ck-workspace .app { padding: 0; background: #f6f7f9; }
  body.signed-in.ck-workspace .sheet {
    border-radius: 0;
    box-shadow: none;
    padding: 28px 42px 48px;
    min-height: 0;
    background: #f6f7f9;
  }
  body.signed-in .sheet {
    border-radius: 16px 16px 0 0;
    box-shadow: 0 1px 3px rgba(15, 59, 116, .06);
    /* Space inside for the content, and the card reaches the bottom of the window instead of stopping short with
       a grey band beneath it. */
    padding: 24px 26px 28px;
    min-height: 100%;
    border-bottom: 0;
  }
  body.signed-in .sheet::after { display: none; }
  body.signed-in .sidebar form { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
  .signed-in .header-inner { justify-content: flex-end; }
}
/* Saved message and the "you have unsaved changes" question. One pair for every form that opts in
   with data-ck-form, in every CoreKitly app. */
.ck-toast {
  position: fixed;
  top: 68px;
  right: 24px;
  left: auto;
  z-index: 80;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: min(420px, calc(100% - 32px));
  padding: 14px 14px 14px 18px;
  border-radius: 14px;
  background: #0f3b74;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(15, 59, 116, .25);
}
.ck-toast .ck-toast-close {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  min-height: 36px;
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.ck-toast[hidden] { display: none; }
.ck-toast.is-warn { background: var(--ck-warn-ink); }
.ck-dialog {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 30, 50, .35);
}
.ck-dialog[hidden] { display: none; }
.ck-dialog.ck-idle { z-index: 2147483000; }
.ck-idle-clock { font-variant-numeric: tabular-nums; }
.ck-dialog-card {
  width: min(420px, 100%);
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 30, 50, .2);
}
.ck-dialog-head { cursor: move; touch-action: none; user-select: none; }
.ck-dialog-card h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; color: var(--ck-navy); }
.ck-dialog-card p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--footer); }
.ck-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.ck-idle .ck-dialog-actions { margin-top: 18px; }
.ck-idle .ck-dialog-actions button { margin-top: 0; }
.ck-dialog-actions .button,
.ck-dialog-actions button { width: auto; min-width: 6.5rem; margin: 0; }

/* Save and Cancel. One bar, the same place, on every form that opts in with data-ck-form.
   Fixed to the window because the page card clips a sticky bar. */
form[data-ck-form] .ck-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 24px;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(15, 30, 50, .05);
}
form[data-ck-form] .ck-actions .button,
form[data-ck-form] .ck-actions a.button,
form[data-ck-form] .ck-actions button {
  width: auto;
  min-width: 7.5rem;
  margin: 0;
}
form[data-ck-form]:not(.is-dirty) [data-ck-cancel] { display: none; }
@media (min-width: 901px) {
  form[data-ck-form] .ck-actions { left: var(--nav-width, 320px); }
  body.signed-in.nav-collapsed { --nav-width: 76px; grid-template-columns: 76px minmax(0, 1fr); }
  body.signed-in.nav-collapsed form[data-ck-form] .ck-actions { left: 76px; }
  body.signed-in.nav-collapsed .nav-scroll { overflow: visible; align-items: center; gap: 10px; padding: 18px 8px; }
  body.signed-in.nav-collapsed .logo-full,
  body.signed-in.nav-collapsed .nav-section,
  body.signed-in.nav-collapsed .nav-business,
  body.signed-in.nav-collapsed .nav-children,
  body.signed-in.nav-collapsed .nav-caret,
  body.signed-in.nav-collapsed .nav-caret-btn,
  body.signed-in.nav-collapsed .nav-caret-space { display: none; }
  body.signed-in .logo-mark { display: none; width: 36px; height: 36px; }
  body.signed-in.nav-collapsed .logo-mark { display: block; }
  body.signed-in.nav-collapsed .nav-branch-summary,
  body.signed-in.nav-collapsed .nav-leaf,
  body.signed-in.nav-collapsed .sign-out {
    position: relative;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
  }
  body.signed-in.nav-collapsed .nav-label {
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 6px 10px;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .18);
    z-index: 30;
  }
  body.signed-in.nav-collapsed .nav-leaf:hover .nav-label,
  body.signed-in.nav-collapsed .nav-branch-summary:hover .nav-label,
  body.signed-in.nav-collapsed .sign-out:hover .nav-label { opacity: 1; }
  body.signed-in button.nav-edge,
  body.signed-in button.nav-edge:hover {
    position: absolute;
    top: 22px;
    right: -13px;
    z-index: 8;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    margin: 0;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #0f3b74;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .16);
  }
  body.signed-in.nav-collapsed button.nav-edge svg { transform: rotate(180deg); }
  .nav-resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    cursor: col-resize;
    z-index: 6;
  }
  .nav-resizer:hover { background: rgba(15, 59, 116, 0.18); }
  body.signed-in.nav-collapsed .nav-resizer { display: none; }
}
/* The page card gives every block the same layer, so a later block (Add a business) paints over a
   fixed bar that lives inside an earlier block. Lift the block that holds the form. */
.sheet > *:has(form[data-ck-form]) { z-index: 5; }
body.signed-in .sheet > *:has(.wiz-confirm-backdrop, #czCardPreview, #bc-preview-modal, #wiz-card-guided-modal) { z-index: 4100; }
body.signed-in:has(form[data-ck-form]) main { padding-bottom: 84px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .account-nav a[aria-current="page"], .phone-nav a[aria-current="page"] { border: 2px solid CanvasText; }
}

.site-list { display: grid; gap: 12px; margin-top: 16px; }
.site-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.site-thumb {
  width: 96px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--ice);
}
.site-row h3 { margin: 0 0 4px; font-size: 22px; }
.biz-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.biz-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--ice); }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.pill.live { background: #E5F6EA; color: #146C36; }
.pill.draft { background: #FFF4D6; color: #6A4A00; }
.pill.inactive { background: #EEF0F2; color: #3F4B4B; }
.row-menu { position: relative; }
.row-menu summary {
  list-style: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 22px;
  letter-spacing: 1px;
}
.row-menu summary::-webkit-details-marker { display: none; }
.row-menu[open] summary { background: var(--ice); }
.menu-panel {
  position: absolute;
  right: 0;
  z-index: 2;
  min-width: 220px;
  margin-top: 6px;
  padding: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 59, 116, 0.12);
  display: grid;
  gap: 4px;
}
.menu-panel .button, .menu-panel button, .menu-panel a { width: 100%; text-align: left; }
.menu-panel form { margin: 0; }
.info-bar {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--ice);
  border-radius: 14px;
  font-size: 16px;
}
.hours-grid { display: grid; gap: 8px; margin: 12px 0; }
.hours-row { display: grid; grid-template-columns: 7.5rem repeat(4, minmax(0, 1fr)) auto; gap: 8px; align-items: end; }
.switch-row { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; }
.switch-row input { width: 22px; height: 22px; margin-top: 4px; }
@media (max-width: 719px) {
  .site-row { grid-template-columns: 72px 1fr; }
  .site-thumb { width: 72px; height: 54px; }
  .row-menu { grid-column: 1 / -1; justify-self: end; }
  .hours-row, .filter-row { grid-template-columns: 1fr; }
  .filter-row .filter-actions { grid-column: auto; }
  .menu-panel { position: static; min-width: 0; box-shadow: none; }
}

/* ---------- Home dashboard ----------
   The shape the founder approved in Prototypes/preview-home.png: a greeting, a card per business, then only the
   work that is unfinished. Not a linear checklist, because a customer with several businesses needs the overview. */
.dash-hello {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  margin: 0 0 26px;
  background: linear-gradient(135deg, #EDF3FA, #FBF9F4);
  border: 1px solid var(--pale);
  border-radius: 18px;
}
.dash-hello-art { flex: 0 0 auto; }
.dash-hello h1 { margin: 0 0 4px; font-size: 24px; }
.dash-hello .lead { margin: 0; font-size: 16px; }

.dash-section { margin: 0 0 28px; }
.dash-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
}
.dash-head h2 { margin: 0; font-size: 18px; font-weight: 600; }
.dash-count { font-size: 14px; color: var(--muted); }
.dash-add { margin: 16px 0 0; }

.dash-biz-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
  gap: 14px;
}
.dash-biz {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dash-biz:hover { border-color: var(--pale); box-shadow: 0 2px 10px rgba(15,59,116,.06); }
.dash-biz-top { display: flex; align-items: center; gap: 11px; }
.dash-biz-mark {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--ice);
  color: var(--navy);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700;
}
.dash-biz h3 { margin: 0; font-size: 16px; font-weight: 600; }
.dash-biz-kind { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

.dash-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #F1F4F7;
  color: var(--muted);
  white-space: nowrap;
}
.dash-badge.on { background: #E7F6EA; border-color: #B7D4B7; color: #1E5A33; }
.dash-badge.warn { background: #FDF0DC; border-color: #EBD3A8; color: #8A5A16; }
.dash-badge.off { background: #F1F4F7; border-color: var(--border); color: var(--muted); }

.dash-links { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 2px; }
.dash-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--action);
  text-decoration: none;
  padding: 6px 9px;
  border-radius: 8px;
}
.dash-links a:hover { background: var(--ice); }

.dash-needs { display: flex; flex-direction: column; gap: 10px; }
.dash-need {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.dash-need-mark {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: #FDF0DC;
  color: #8A5A16;
  display: grid; place-items: center;
  font-weight: 800;
}
.dash-need div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dash-need strong { font-size: 15px; }
.dash-need span { font-size: 14px; color: var(--muted); }

.dash-done {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-done strong { font-size: 15px; }
.dash-done span { font-size: 14px; color: var(--muted); }

@media (max-width: 719px) {
  .dash-hello { flex-direction: column; align-items: flex-start; gap: 14px; }
  .dash-biz-row { grid-template-columns: 1fr; }
  .dash-need { flex-wrap: wrap; }
}

/* ---------- Navigation tree ----------
   Each depth has its own colour and its own indent, so she can see at a glance what is a parent and what belongs to
   it: 0 the account pages, 1 a business, 2 a group, 3 an item, 4 a record.

   The arrow is a real button and the only thing that opens or closes a branch. The name beside it is a link to that
   node's own page. Clicking a name never folds its branch — the founder asked for exactly that on 2026-11-02.

   Note: the SetupWizard has no level colours; its sidebar is a flat list. This scheme is the founder's.

   Branches use native <details>, so several can be open at once and the open state needs no JavaScript. */
.account-nav { --nav-caret: 28px; }
.nav-branch { margin: 1px 0; }

.nav-branch > summary.nav-branch-summary {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 30px;
  padding: 2px 8px 2px 4px;
  border-radius: 10px;
  list-style: none;
  cursor: default;
}
.nav-branch > summary.nav-branch-summary::-webkit-details-marker { display: none; }
.nav-branch > summary.nav-branch-summary:hover { background: var(--ice); }

/* The arrow. Always visible when a branch has children, so she can see which rows open.

   Three attempts went into this. The first drew a text glyph "▸" and it rendered a few pixels wide. The second drew a
   chevron in a 16-unit box, where the mark itself was only 4.5 units wide — a 26px button with a 5px mark inside it,
   which still read as "SUPER SMALL". The mark is now drawn across two thirds of a 24-unit box, at 20px, with a
   heavier stroke and a tinted tile behind it, so the control is the size of the eye's expectation and not of its box.

   The doubled class is deliberate: customer.css line 328 gives every button a navy fill, and a single class loses to
   that rule — which is why an even earlier attempt rendered a big navy square with a tiny white triangle inside it. */
button.nav-caret-btn.nav-caret-btn {
  flex: 0 0 auto;
  width: var(--nav-caret);
  height: var(--nav-caret);
  min-width: var(--nav-caret);
  min-height: var(--nav-caret);
  display: grid;
  place-items: center;
  /* The global button rule adds padding and a 44px minimum height and filled the arrow navy. */
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: #7d8da3;
  box-shadow: none;
}
button.nav-caret-btn.nav-caret-btn:hover {
  background: transparent;
  color: var(--navy);
}
button.nav-caret-btn.nav-caret-btn:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 1px;
}
.nav-caret,
.account-nav .nav-mark {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease-out;
}
.nav-caret { will-change: transform; }
.nav-caret-space { color: #7d8da3; }
.nav-branch[open]:not(.is-closing) > summary .nav-caret { transform: rotate(90deg); }

/* The name. A link where the node has a page; plain text where it does not.
   The words sit a step in from the arrow, so the title is not tight against it. */
/* The words sit well clear of the arrow. The founder circled that gap on 2026-11-02. */
.nav-label { flex: 1 1 auto; min-width: 0; margin-left: 18px; padding-left: 0; }

/* A root row's own drawing, copied from the original flat menu so the links look the way they used to. */
.account-nav .nav-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* A row with nothing to fold keeps the arrow's width as blank space, so every name in the column starts on the same
   x whether or not its row happens to open. Without it the flat rows sat 28px to the left of the branches. */
.nav-caret-space {
  flex: 0 0 auto;
  width: var(--nav-caret, 28px);
  height: var(--nav-caret, 28px);
  display: grid;
  place-items: center;
}
a.nav-label-link {
  text-decoration: none;
  color: inherit;
  border-radius: 6px;
  padding: 2px 4px;
  margin: -2px 0;
}
a.nav-label-link:hover,
a.nav-label-link:focus { text-decoration: none; }
a.nav-label-link:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; }
a.nav-label-link.is-current { font-weight: 500; color: var(--brand); }

.nav-children { display: flex; flex-direction: column; gap: 1px; }
/* display:flex above beats the browser's own "hide a closed details" rule, which is why opening
   Businesses painted Lucie Massage's groups, and opening Lucie Massage painted every item under them.
   A closed branch shows its title only. */
details.nav-branch:not([open]) > .nav-children { display: none; }

a.nav-leaf {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 3px 8px 3px 4px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  color: #172033;
}
a.nav-leaf:hover { background: var(--ice); }
a.nav-leaf:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.nav-leaf-dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pale);
}
a.nav-leaf[aria-current="page"] { background: var(--ice); font-weight: 650; color: #172033; }
a.nav-leaf[aria-current="page"] .nav-leaf-dot { background: var(--action); }
a.nav-leaf[aria-current="page"] .nav-label { color: #172033; }

/* ---- Level colours, and the indent that shows who belongs to whom ----
   Four small steps, not a staircase. In a 320px menu the label must keep most of the width, so each level adds only
   8px and the depth is carried mostly by the colour and the left border. An earlier version stepped 16px a level and
   by the fifth the labels had barely 60px to live in.
   level 0 root pages · 1 a business · 2 a group · 3 an item · 4 a record */
.account-nav a.nav-label-link,
.account-nav a.nav-leaf,
.account-nav .nav-label {
  font-size: 13px;
  font-weight: 650;
  color: #172033;
}

.nav-branch[data-level="0"] > summary,
a.nav-leaf[data-level="0"] {
  color: #172033;
  font-size: 13px;
  font-weight: 650;
  border-left: 0;
  padding-left: 6px;
}

/* A business. Indent only — the coloured bar read as a bracket. */
.nav-branch[data-level="1"] > summary,
a.nav-leaf[data-level="1"] {
  color: #172033;
  font-size: 13px;
  font-weight: 650;
  border-left: 0;
  padding-left: 16px;
}

/* A group: a child of the business, one step in.
   Same type as the logo layer buttons. */
.nav-branch[data-level="2"] > summary,
a.nav-leaf[data-level="2"] {
  color: #172033;
  font-size: 13px;
  font-weight: 650;
  border-left: 0;
  padding-left: 48px;
}

/* An item inside a group. */
.nav-branch[data-level="3"] > summary,
a.nav-leaf[data-level="3"] {
  color: #172033;
  font-size: 13px;
  font-weight: 650;
  border-left: 0;
  padding-left: 64px;
}

/* A record: the deepest thing there is. */
.nav-branch[data-level="4"] > summary,
a.nav-leaf[data-level="4"] {
  color: #172033;
  font-size: 13px;
  font-weight: 650;
  border-left: 0;
  padding-left: 80px;
}

.nav-branch[data-level="2"] > summary:hover,
.nav-branch[data-level="3"] > summary:hover,
.nav-branch[data-level="4"] > summary:hover,
a.nav-leaf[data-level="2"]:hover,
a.nav-leaf[data-level="3"]:hover,
a.nav-leaf[data-level="4"]:hover {
  color: #172033;
  background: var(--ice);
}
.ck-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; font-size: 0.95rem; }
.ck-crumbs a { color: #0f3b74; }

/* Services page. Source: CoreKitly-Animated-Hint.html. */
body.ck-services .app,
body.ck-services main,
body.ck-services .sheet,
body.ck-workspace .app,
body.ck-workspace main,
body.ck-workspace .sheet { background: #f6f7f9; }
body.ck-services .sheet { box-shadow: none; }
body.ck-workspace .sheet {
  box-shadow: none;
  border-radius: 0;
  padding: 28px 42px 48px;
  overflow: visible;
  min-height: 0;
  max-width: none;
}
body.ck-workspace .ws-overview-host,
body.ck-workspace .ws-overview-host.business-card {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
body.ck-workspace .ck-workspace-page {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
}
body.ck-workspace .ck-page-head h1,
body.ck-workspace main h1 {
  margin: 0;
  color: #293d53;
  font-size: 27px;
  font-weight: 550;
  letter-spacing: -0.8px;
  line-height: 1.25;
}
body.ck-workspace .ck-page-head p { margin: 5px 0 0; }
body.ck-services .business-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-top: 0;
  padding: 0 0 28px;
}
.ck-top-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.ck-globe, .ck-top-divider { display: none; }
.ck-account { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
body.ck-zen .languages,
body.ck-zen button.ck-account {
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
  margin-top: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  align-items: center;
}
body.ck-zen .languages { display: flex; padding: 0 4px; }
body.ck-zen .languages a { box-sizing: border-box; min-height: 0; height: 28px; padding: 0 9px; }
body.ck-zen button.ck-account { padding: 0 10px 0 12px; }
.ck-account-name { font-size: 13px; font-weight: 600; color: #1e3048; }
.ck-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 35px; height: 35px; border-radius: 50%;
  background: #0F3B74; color: #fff; font-size: 11px; font-weight: 700;
}
body.ck-services .ck-crumbs { gap: 8px; margin: 0 0 25px; font-size: 11px; font-weight: 400; color: #768396; }
body.ck-services .ck-crumbs a { color: #768396; text-decoration: none; }
body.ck-services .ck-crumbs a:hover { color: #123e72; text-decoration: underline; }
body.ck-services .ck-crumbs strong { color: #42546a; font-weight: 500; }
body.ck-services .ck-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
body.ck-services .ck-title-line { display: flex; align-items: center; gap: 10px; }
body.ck-services .ck-heading h1 {
  margin: 0; color: #293d53; font-size: 27px; font-weight: 550;
  letter-spacing: -0.8px; line-height: 1.25;
}
body.ck-services .ck-heading p { margin: 5px 0 0; color: #718096; font-size: 12px; }
body.ck-services .ck-title-count {
  min-width: 25px; height: 23px; display: grid; place-items: center; padding: 0 6px;
  border: 1px solid #e1e6ed; border-radius: 7px; background: #edf0f4; color: #68788d; font-size: 11px;
}
body.ck-services .ck-page-small { margin-top: 7px; color: #7d8796; font-size: 11px; }
.ck-hint { margin: 0 0 25px; border: 1px solid #dde5ee; border-radius: 12px; background: #f0f4f8; overflow: hidden; }
.ck-hint-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 7px 15px; cursor: pointer;
}
.ck-hint-label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ck-hint-icon {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: #e5ecf5; color: #6281a0;
}
.ck-hint-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ck-hint-title { font-size: 12px; font-weight: 500; color: #445d79; }
.ck-hint-meta { padding-left: 10px; border-left: 1px solid #ced9e5; font-size: 12px; color: #697d93; }
button.ck-hint-toggle {
  display: inline-flex; align-items: center; gap: 7px; width: auto; min-height: 32px; margin: 0;
  padding: 5px 9px; border: 1px solid transparent; border-radius: 18px; background: transparent; color: #60738b;
  font: 400 12px/1.2 var(--ck-font-ui, inherit); cursor: pointer;
}
button.ck-hint-toggle:hover { background: #e5ebf2; border-color: #d6dfea; color: #314d6c; }
button.ck-hint-toggle:focus-visible { outline: 2px solid #497dad; outline-offset: 3px; }
.ck-hint-chevron { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .22s; }
.ck-hint.is-open .ck-hint-chevron { transform: rotate(180deg); }
.ck-hint-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.ck-hint.is-open .ck-hint-body { grid-template-rows: 1fr; }
.ck-hint-body > div { overflow: hidden; min-height: 0; }
.ck-hint-copy { padding: 0 18px 15px 51px; opacity: 0; transition: opacity .18s; }
.ck-hint.is-open .ck-hint-copy { opacity: 1; }
.ck-hint-copy h2 { margin: 1px 0 3px; color: #445c76; font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.65; }
.ck-hint-copy p { margin: 0; max-width: 830px; color: #5c718a; font-size: 12px; font-weight: 400; line-height: 1.7; }
.ck-hint-copy strong { color: #405d7c; font-weight: 500; }
@media (max-width: 700px) {
  body.ck-services .ck-crumbs { font-size: 10px; gap: 6px; }
  body.ck-services .ck-heading h1 { font-size: 25px; }
  .ck-hint-meta { display: none; }
  .ck-hint-copy { padding: 0 14px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-hint-body, .ck-hint-copy, .ck-hint-chevron { transition: none; }
}
[data-ck-move]{cursor:grab;touch-action:none}
.wiz-confirm-head{min-height:22px}
[data-ck-move]:active{cursor:grabbing}
[data-ck-move]::before{content:"";display:inline-block;width:12px;height:10px;margin-right:8px;vertical-align:middle;background-image:radial-gradient(circle,#64748b 1.1px,transparent 1.2px);background-size:4px 4px}
@media (max-width: 720px){
  [data-ck-placed]{position:static !important;left:auto !important;top:auto !important;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px)}
}
main .fine{font-size:0.8125rem;color:#64748b;margin-top:1rem;text-align:center;word-break:break-all}

/* Batch #18 — Studio-Zen account pages (Profile, Activity, Deleted, Help). */
.sheet:has(.ck-studio-account),
body.ck-zen .sheet:has(.ck-studio-account) {
  padding: 0;
  background: #f6f7f9;
  box-shadow: none;
  border-radius: 0;
  overflow-x: hidden;
}
.sheet.sheet-narrow:has(.ck-help-page) { max-width: 820px; }
.ck-studio-account,
body.ck-zen .ck-studio-account.ck-account-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 32px 56px;
  box-sizing: border-box;
  min-width: 0;
  color: #111827;
  font-size: 15px;
  line-height: 1.5;
}
.ck-help-page.ck-studio-account,
body.ck-zen .ck-help-page.ck-studio-account { max-width: 820px; }
.ck-studio-account > .eyebrow {
  margin: 0 0 8px;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}
.ck-studio-account > h1 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.ck-studio-account > .lead {
  max-width: 40rem;
  margin: 0 0 22px;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.55;
}
.ck-studio-account .ck-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  border-bottom: 0;
}
.ck-studio-account .ck-account-tab {
  padding: 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}
.ck-studio-account .ck-account-tab:hover {
  border-color: #d1d5db;
  background: #f9fafb;
  color: #111827;
}
.ck-studio-account .ck-account-tab.active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}
.ck-studio-account .ck-zen-card,
.ck-studio-account .ck-zen-accordion-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.ck-studio-account .ck-zen-accordion-card { margin: 0 0 16px; }
.ck-studio-account .ck-zen-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
}
.ck-studio-account .ck-zen-accordion-summary::-webkit-details-marker { display: none; }
.ck-studio-account .ck-zen-accordion-summary h2 {
  margin: 0;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.ck-studio-account .ck-zen-accordion-summary::after,
.ck-studio-account .ck-zen-filter-summary::after,
.ck-studio-account .ck-help-faq-toggle {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  margin-top: -4px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg);
  transition: transform .18s ease;
}
.ck-studio-account .ck-zen-accordion-card[open] > .ck-zen-accordion-summary::after,
.ck-studio-account .ck-zen-filter-drawer[open] > .ck-zen-filter-summary::after,
.ck-studio-account .ck-help-faq-item[open] .ck-help-faq-toggle {
  margin-top: 4px;
  transform: rotate(225deg);
}
.ck-studio-account .ck-zen-accordion-body { padding: 4px 28px 24px; }
.ck-studio-account .ck-zen-accordion-card[open] > .ck-zen-accordion-summary {
  padding-bottom: 16px;
}
.ck-studio-account h3,
.ck-studio-account .ck-profile-subhead {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.ck-studio-account hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 20px 0;
}
.ck-studio-account .hint { color: #6b7280; font-size: 0.85rem; }
.ck-studio-account label {
  margin: 0 0 6px;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 650;
}
.ck-studio-account form > label { margin-top: 14px; }
.ck-studio-account .form-grid { gap: 16px; }
.ck-studio-account .form-grid label,
.ck-studio-account .filter-row label,
.ck-studio-account .switch-row { margin-top: 0; }
.ck-studio-account .switch-row { margin-bottom: 14px; align-items: flex-start; }
.ck-studio-account .form-grid .note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
  color: #111827;
  font-size: 0.95rem;
}
.ck-studio-account input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.ck-select__input),
.ck-studio-account select,
.ck-studio-account textarea,
body.ck-zen .ck-studio-account input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.ck-select__input),
body.ck-zen .ck-studio-account select,
body.ck-zen .ck-studio-account textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #fff;
  color: #111827;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
}
.ck-studio-account select,
body.ck-zen .ck-studio-account select {
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 36px 10px 14px;
  cursor: pointer;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 12px;
}
.ck-studio-account textarea,
body.ck-zen .ck-studio-account textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}
.ck-studio-account input[type="date"],
body.ck-zen .ck-studio-account input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  min-height: 42px;
  padding: 10px 14px;
  font-family: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' fill='none' stroke='%236b7280' stroke-width='1.7'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4' fill='none' stroke='%236b7280' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
}
.ck-studio-account input[type="date"]::-webkit-calendar-picker-indicator {
  margin-left: 8px;
  cursor: pointer;
  opacity: 0.01;
  width: 22px;
  height: 22px;
}
.ck-studio-account input:not([type="checkbox"]):not([type="radio"]):hover,
.ck-studio-account select:hover,
.ck-studio-account textarea:hover {
  border-color: #9ca3af;
}
.ck-studio-account input:focus,
.ck-studio-account select:focus,
.ck-studio-account textarea:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}
.ck-studio-account .switch-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: #111827;
}
.ck-deleted-page input[name="code"] {
  padding: 12px 14px;
  letter-spacing: 0.18em;
}
.ck-studio-account button:not(.text),
.ck-studio-account .button,
body.ck-zen .ck-studio-account button:not(.text),
body.ck-zen .ck-studio-account .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 40px;
  height: auto;
  margin-top: 0;
  padding: 0 18px;
  border: 1px solid #111827;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  box-shadow: none;
  text-decoration: none;
}
.ck-studio-account button:not(.text):hover,
.ck-studio-account .button:hover,
body.ck-zen .ck-studio-account button:not(.text):hover,
body.ck-zen .ck-studio-account .button:hover {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
}
.ck-studio-account .button.secondary,
.ck-studio-account button.secondary,
.ck-studio-account button.btn-outline-secondary,
body.ck-zen .ck-studio-account .button.secondary,
body.ck-zen .ck-studio-account button.secondary,
body.ck-zen .ck-studio-account button.btn-outline-secondary {
  background: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
}
.ck-studio-account .button.secondary:hover,
.ck-studio-account button.secondary:hover,
.ck-studio-account button.btn-outline-secondary:hover,
body.ck-zen .ck-studio-account .button.secondary:hover,
body.ck-zen .ck-studio-account button.secondary:hover,
body.ck-zen .ck-studio-account button.btn-outline-secondary:hover {
  background: #f9fafb;
  color: #111827;
  border-color: #9ca3af;
}
.ck-studio-account button.btn-outline-danger,
body.ck-zen .ck-studio-account button.btn-outline-danger {
  background: #fff;
  color: #9f1239;
  border: 1px solid #e4b4ae;
}
.ck-studio-account button.btn-outline-danger:hover,
body.ck-zen .ck-studio-account button.btn-outline-danger:hover {
  background: #fdf2f2;
  color: #9f1239;
  border-color: #e4b4ae;
}
.ck-studio-account .ck-select button,
body.ck-zen .ck-studio-account .ck-select button {
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5a718d;
  box-shadow: none;
}
.ck-studio-account .ck-select button:hover,
body.ck-zen .ck-studio-account .ck-select button:hover {
  background: #f3f4f6;
  border-color: transparent;
  color: #111827;
}
.ck-studio-account .ck-profile-actions,
.ck-studio-account .ck-profile-actions-lg,
.ck-studio-account .privacy-actions,
.ck-studio-account .filter-actions,
.ck-studio-account .ck-deleted-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.ck-studio-account .ck-profile-actions,
.ck-studio-account .ck-profile-actions-lg { justify-content: flex-end; margin-top: 18px; }
.ck-studio-account .privacy-actions { margin-top: 8px; }
.ck-studio-account .privacy-actions form,
.ck-studio-account .ck-deleted-actions form { display: inline-flex; margin: 0; }
.ck-activity-toolbar { padding: 18px 22px 8px; margin: 0 0 16px; }
.ck-activity-toolbar .ck-filter-pills { margin: 0 0 8px; }
.ck-studio-account .ck-pill {
  border-color: #e5e7eb;
  background: #fff;
  color: #374151;
  font-weight: 650;
}
.ck-studio-account .ck-pill:hover {
  border-color: #d1d5db;
  background: #f9fafb;
  color: #111827;
}
.ck-studio-account .ck-pill.active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}
.ck-zen-filter-drawer {
  border-top: 1px solid #e5e7eb;
  margin: 12px -22px 0;
}
.ck-zen-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 22px;
  cursor: pointer;
  list-style: none;
  color: #111827;
  font-weight: 650;
}
.ck-zen-filter-summary::-webkit-details-marker { display: none; }
.ck-zen-filter-drawer form.filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px 16px;
  align-items: end;
  padding: 4px 22px 18px;
  margin: 0;
}
.ck-zen-filter-drawer form.filter-row > div { min-width: 0; }
.ck-zen-filter-drawer .filter-actions { grid-column: 1 / -1; }
.ck-studio-account .activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.ck-studio-account .activity-list li,
.ck-studio-account .ck-activity-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 18px 24px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.ck-studio-account .activity-list li:last-child { border-bottom: 0; }
.ck-studio-account .ck-activity-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  min-width: 0;
}
.ck-studio-account .activity-list .note { display: inline; color: #6b7280; font-size: 13px; }
.ck-studio-account .ck-activity-time,
.ck-studio-account .ck-activity-actor-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f9fafb;
  color: #374151;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.ck-studio-account .ck-activity-actor { margin: 0; }
.ck-studio-account .ck-activity-changes { margin-top: 2px; }
.ck-studio-account .ck-diff-chip {
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f9fafb;
  color: #374151;
  font-size: 13px;
}
.ck-studio-account .ck-diff-chip .before { color: #6b7280; }
.ck-studio-account .ck-diff-chip .arrow { color: #111827; }
.ck-studio-account .ck-diff-chip .after { color: #111827; font-weight: 650; }
.ck-studio-account .ck-zen-empty { padding: 24px 28px; margin: 0; }
.ck-studio-account .ck-zen-empty p { margin: 0; color: #6b7280; }
.ck-deleted-page .team-list {
  display: grid;
  gap: 16px;
  margin-top: 0;
}
.ck-deleted-page .team-list li {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  padding: 24px 28px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.ck-deleted-page .team-list li > div:first-child strong {
  display: block;
  color: #111827;
  font-size: 1rem;
  font-weight: 650;
}
.ck-deleted-page .team-list .note { display: block; margin-top: 4px; color: #6b7280; }
.ck-deleted-page form.wide {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
}
.ck-deleted-page form.wide button:not(.text),
body.ck-zen .ck-deleted-page form.wide button:not(.text) {
  justify-self: start;
  background: #9f1239;
  border-color: #9f1239;
  color: #fff;
}
.ck-deleted-page form.wide button:not(.text):hover,
body.ck-zen .ck-deleted-page form.wide button:not(.text):hover {
  background: #881337;
  border-color: #881337;
  color: #fff;
}
.ck-deleted-page button.text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #e4b4ae;
  border-radius: 8px;
  background: #fff;
  color: #9f1239;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}
.ck-deleted-page button.text:hover {
  background: #fdf2f2;
  color: #9f1239;
}
.ck-help-page .ck-help-section-title {
  margin: 8px 0 14px;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.ck-help-page .ck-help-faq-item,
.ck-help-page .faq {
  margin: 0 0 12px;
  padding: 18px 22px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.ck-help-page .ck-help-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0;
  color: #111827;
  font-size: 1rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.ck-help-page .ck-help-faq-summary::-webkit-details-marker { display: none; }
.ck-help-page .ck-help-faq-toggle { display: inline-block; }
.ck-help-page .ck-help-faq-answer,
.ck-help-page .faq p {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
}
.ck-help-page .ck-help-contact {
  margin-top: 8px;
  padding: 24px 28px;
}
.ck-help-page .ck-help-contact-body { color: #374151; font-size: 0.95rem; line-height: 1.6; }
.ck-help-page a.ck-help-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #111827;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
}
.ck-help-page a.ck-help-email:hover { background: #1f2937; color: #fff; }
.ck-help-page .ck-help-ref {
  margin: 16px 0 0;
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #6b7280;
  text-align: left;
  word-break: break-all;
}
.ck-help-page .ck-help-ref code {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #111827;
  font-size: 0.85rem;
}
.ck-help-page .ck-help-ref-note { margin-top: 8px; }

/* Batch #19 — Studio-Zen My Tools and Billing. */
.ck-tools-page.ck-studio-account .ck-tools-business { margin: 0 0 28px; }
.ck-tools-page.ck-studio-account .ck-tools-business-title,
.ck-billing-page.ck-studio-account .ck-billing-section-title {
  margin: 0 0 14px;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.ck-tools-page.ck-studio-account .ck-tool-row,
.ck-billing-page.ck-studio-account .ckp-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: center;
  margin: 0 0 12px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.ck-billing-page.ck-studio-account .ckp-card { display: block; }
.ck-tools-page.ck-studio-account .ck-tool-row-muted { opacity: 1; }
.ck-tools-page.ck-studio-account .tool-main { min-width: 0; }
.ck-tools-page.ck-studio-account .ck-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}
.ck-tools-page.ck-studio-account .ck-tool-name {
  margin: 0;
  min-width: 0;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.ck-tools-page.ck-studio-account .ck-tool-blurb {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.55;
}
.ck-tools-page.ck-studio-account .ck-tool-status-line { margin: 8px 0 0; }
.ck-tools-page.ck-studio-account .status {
  flex: 0 0 auto;
  min-height: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.ck-tools-page.ck-studio-account .status.on { background: #ecfdf3; color: #166534; }
.ck-tools-page.ck-studio-account .status.off,
.ck-tools-page.ck-studio-account .status.soon { background: #f3f4f6; color: #6b7280; }
.ck-tools-page.ck-studio-account .ck-tool-actions {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.ck-tools-page.ck-studio-account .ck-tool-actions form,
.ck-billing-page.ck-studio-account .ck-billing-actions form { display: inline-flex; margin: 0; }
.ck-tools-page.ck-studio-account a.btn,
.ck-billing-page.ck-studio-account a.btn,
.ck-billing-page.ck-studio-account a.ck-billing-tools-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 40px;
  height: 40px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid #111827;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}
.ck-tools-page.ck-studio-account a.btn:hover,
.ck-billing-page.ck-studio-account a.btn:hover,
.ck-billing-page.ck-studio-account a.ck-billing-tools-link:hover {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
}
.ck-billing-page.ck-studio-account a.btn-outline-secondary,
.ck-billing-page.ck-studio-account a.ck-billing-tools-link {
  background: #fff;
  color: #111827;
  border-color: #d1d5db;
}
.ck-billing-page.ck-studio-account a.btn-outline-secondary:hover,
.ck-billing-page.ck-studio-account a.ck-billing-tools-link:hover {
  background: #f9fafb;
  color: #111827;
  border-color: #9ca3af;
}
.ck-tools-page.ck-studio-account button.ck-tool-soon-btn,
body.ck-zen .ck-tools-page.ck-studio-account button.ck-tool-soon-btn {
  height: 40px;
  background: #fff;
  color: #9ca3af;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}
.ck-tools-page.ck-studio-account button.ck-tool-soon-btn:hover,
body.ck-zen .ck-tools-page.ck-studio-account button.ck-tool-soon-btn:hover {
  background: #fff;
  color: #9ca3af;
  border-color: #e5e7eb;
}
.ck-tools-page.ck-studio-account button.ck-tool-muted {
  min-height: 40px;
  padding: 0 8px;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}
.ck-tools-page.ck-studio-account .ck-tools-footer { margin: 8px 0 0; text-align: left; }
.ck-tools-page.ck-studio-account .ck-tools-billing-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}
.ck-tools-page.ck-studio-account .ck-tools-billing-link:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}
.ck-tools-page.ck-studio-account .notice,
.ck-billing-page.ck-studio-account .notice {
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  color: #374151;
  font-weight: 400;
}
.ck-billing-page.ck-studio-account .notice.ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.ck-billing-page.ck-studio-account .notice[role="alert"] {
  background: #fdf2f2;
  border-color: #fecaca;
  color: #9f1239;
}
.ck-billing-page.ck-studio-account .ckp-card .notice { margin-top: 16px; }
.ck-billing-page.ck-studio-account .bill-lines {
  margin: 0;
  padding: 0;
  gap: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.ck-billing-page.ck-studio-account .bill-lines li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  background: transparent;
  color: #111827;
}
.ck-billing-page.ck-studio-account .bill-lines li:last-child { border-bottom: 0; }
.ck-billing-page.ck-studio-account .ck-billing-total {
  margin: 4px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #e5e7eb;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.ck-billing-page.ck-studio-account .ck-billing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.ck-billing-page.ck-studio-account button:disabled,
body.ck-zen .ck-billing-page.ck-studio-account button:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: #f3f4f6;
  color: #9ca3af;
  border-color: #e5e7eb;
}
.ck-billing-page.ck-studio-account button.btn-outline-secondary:disabled,
body.ck-zen .ck-billing-page.ck-studio-account button.btn-outline-secondary:disabled {
  background: #fff;
}
.ck-billing-page.ck-studio-account .activity-list {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.ck-billing-page.ck-studio-account .activity-list li {
  padding: 18px 0;
  background: transparent;
}
.ck-billing-page.ck-studio-account .hint { margin-top: 12px; }
@media (min-width: 640px) {
  .ck-zen-filter-drawer form.filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .ck-zen-filter-drawer form.filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ck-studio-account,
  body.ck-zen .ck-studio-account.ck-account-page { padding: 20px 16px 40px; }
  .ck-studio-account .ck-zen-accordion-summary,
  .ck-studio-account .ck-zen-accordion-body,
  .ck-deleted-page .team-list li,
  .ck-help-page .ck-help-contact,
  .ck-studio-account .ck-zen-empty { padding-left: 18px; padding-right: 18px; }
  .ck-studio-account .ck-zen-accordion-summary { padding-top: 18px; }
  .ck-studio-account .ck-zen-accordion-body { padding-bottom: 18px; }
  .ck-studio-account .activity-list li,
  .ck-studio-account .ck-activity-item { padding: 18px 16px; }
  .ck-zen-filter-drawer { margin-left: -18px; margin-right: -18px; }
  .ck-activity-toolbar { padding-left: 18px; padding-right: 18px; }
  .ck-tools-page.ck-studio-account .ck-tool-row,
  .ck-billing-page.ck-studio-account .ckp-card { padding: 20px 18px; }
  .ck-tools-page.ck-studio-account .ck-tool-row { grid-template-columns: minmax(0, 1fr); }
  .ck-tools-page.ck-studio-account .ck-tool-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-studio-account .ck-zen-accordion-summary::after,
  .ck-studio-account .ck-zen-filter-summary::after,
  .ck-studio-account .ck-help-faq-toggle { transition: none; }
}
