/* The portal's design system. One typeface (the device's own: SF Pro on Apple), one spacing scale,
   neutral surfaces, and the client's brand color only where it carries meaning: the main action and key numbers. */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --bg: #f5f5f7; --surface: #ffffff; --surface-2: #fbfbfd; --fill: rgba(0, 0, 0, .045); --fill-2: rgba(0, 0, 0, .07);
  --ink: #1d1d1f; --ink-2: #6e6e73; --ink-3: #86868b; --line: rgba(0, 0, 0, .09); --line-strong: rgba(0, 0, 0, .14);
  /* the client's color, made readable by app.js: --brand-l passes 4.5:1 on white (and under white text), --brand-d on dark cards */
  --accent: var(--brand-l, #0071e3); --accent-fill: var(--brand-l, #0071e3); --accent-ink: #fff; --accent-soft: color-mix(in srgb, var(--accent) 11%, transparent);
  --good: #1f9d55; --good-soft: color-mix(in srgb, #34c759 16%, transparent);
  --warn: #c76a00; --warn-soft: color-mix(in srgb, #ff9f0a 18%, transparent);
  --bad: #d70015; --bad-soft: color-mix(in srgb, #ff3b30 14%, transparent);
  --bar: color-mix(in srgb, var(--bg) 74%, transparent);
  --shadow-pop: 0 18px 50px rgba(0, 0, 0, .14), 0 2px 8px rgba(0, 0, 0, .06);
  --seg-on: #fff; --r-card: 18px; --r-ctl: 12px; --ease: cubic-bezier(.2, .8, .2, 1);
  --tab-h: 58px; --side-w: 252px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000; --surface: #1c1c1e; --surface-2: #232326; --fill: rgba(255, 255, 255, .07); --fill-2: rgba(255, 255, 255, .11);
    --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #8e8e93; --line: rgba(255, 255, 255, .1); --line-strong: rgba(255, 255, 255, .16);
    --good: #32d74b; --warn: #ffb340; --bad: #ff6961;
    --seg-on: #5a5a5f; --accent: var(--brand-d, #0a84ff);   /* text and icons lighten; filled buttons keep white text on the deeper tone */
    --shadow-pop: 0 18px 50px rgba(0, 0, 0, .6), 0 0 0 .5px rgba(255, 255, 255, .08);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.47 var(--font); letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent;
}
@media (min-width: 900px) { body { font-size: 15px; } }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i.sm { width: 17px; height: 17px; } svg.i.lg { width: 26px; height: 26px; }

/* ---------- frame: sidebar on wide screens, a frosted tab bar on phones ---------- */
.frame { min-height: 100dvh; }
.side { display: none; }
.main { padding: max(14px, env(safe-area-inset-top)) 18px calc(var(--tab-h) + 34px + env(safe-area-inset-bottom)); max-width: 1040px; margin: 0 auto; }
.tabbar {
  position: fixed; inset: auto 0 0; z-index: 30; display: flex; justify-content: space-around; padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: var(--bar); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); border-top: .5px solid var(--line);
}
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 0 3px; border: 0; background: none; color: var(--ink-3);
  font-size: 10.5px; font-weight: 600; letter-spacing: .01em; position: relative; border-radius: 12px; }
.tab[aria-current="page"] { color: var(--accent); }
.tab .dot { position: absolute; top: 1px; left: calc(50% + 7px); min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--bad);
  color: #fff; font-size: 11px; line-height: 17px; font-weight: 700; text-align: center; }
@media (min-width: 900px) {
  .tabbar { display: none; }
  .side {
    display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: var(--side-w); padding: 22px 14px; gap: 4px; z-index: 20;
    background: var(--bar); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); border-right: .5px solid var(--line);
  }
  .main { margin-left: var(--side-w); padding: 46px 48px 64px; max-width: none; }
  .main > .page { max-width: 980px; margin: 0 auto; }
  .nav { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; border: 0; background: none; width: 100%; text-align: left; }
  .nav:hover { background: var(--fill); color: var(--ink); }
  .nav[aria-current="page"] { background: var(--fill-2); color: var(--ink); }
  .nav[aria-current="page"] svg { color: var(--accent); }
  .nav .count { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--ink-2); }
  .side .foot { margin-top: auto; padding: 12px; font-size: 12px; color: var(--ink-3); }
}

/* brand block: their logo, or their initial on their color */
.brand { display: flex; align-items: center; gap: 11px; padding: 6px 10px 18px; border: 0; background: none; text-align: left; width: 100%; border-radius: 12px; }
.brand:hover { background: var(--fill); }
.mark { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-fill); color: var(--accent-ink); display: grid; place-items: center;
  font: 700 16px var(--font-display); flex: none; overflow: hidden; }
.mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.brand b { display: block; font-size: 15px; line-height: 1.2; } .brand small { color: var(--ink-3); font-size: 12px; }

/* ---------- page header ---------- */
.head { display: flex; align-items: flex-end; gap: 14px; margin: 18px 2px 22px; }
.head h1 { margin: 0; font: 700 34px/1.12 var(--font-display); letter-spacing: -.028em; }
.head p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.head .grow { flex: 1; min-width: 0; }
@media (min-width: 900px) { .head { margin-top: 0; } .head h1 { font-size: 32px; } }
.mobile-brand { display: flex; align-items: center; gap: 9px; padding: 4px 2px; font-weight: 600; font-size: 15px; border: 0; background: none; }
.mobile-brand .mark { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
@media (min-width: 900px) { .mobile-brand { display: none; } }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border-radius: var(--r-card); padding: 20px; border: .5px solid var(--line); }
.card + .card, .group + .card, .card + .group { margin-top: 16px; }
.card h2, .section-title { margin: 0 0 4px; font: 600 19px/1.25 var(--font-display); letter-spacing: -.016em; }
.section-title { margin: 30px 4px 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); } .small { font-size: 13px; }
.grid { display: grid; gap: 14px; }
.grid > * { margin: 0 !important; }   /* the grid gap is the only spacing between cards in a grid */
.grid.pair { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .grid.three { grid-template-columns: repeat(3, 1fr); } .grid.two { grid-template-columns: 1.3fr 1fr; } .grid.two > .grid.pair { grid-template-columns: 1fr; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 30px 4px 10px; }
.section-head .section-title { margin: 0; }
.section-head a { color: var(--accent); font-size: 15px; font-weight: 500; }
.section-head a:hover { text-decoration: underline; }

/* hero: the one number that matters today */
.hero { position: relative; overflow: hidden; padding: 26px 24px; }
.hero::after { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent); pointer-events: none; }
.big { font: 700 56px/1 var(--font-display); letter-spacing: -.04em; color: var(--accent); margin: 8px 0 6px; font-variant-numeric: tabular-nums; }
.tile .num { font: 600 30px/1.1 var(--font-display); letter-spacing: -.03em; margin: 6px 0 2px; font-variant-numeric: tabular-nums; }
.tile .label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.tile .note { font-size: 13px; color: var(--ink-3); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 980px; border: 0;
  background: var(--fill-2); color: var(--ink); font-weight: 600; font-size: 15px; transition: transform .15s var(--ease), background .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent-fill); color: var(--accent-ink); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent-fill) 90%, #000); }
.btn.ghost { background: none; color: var(--accent); padding: 0 10px; }
.btn.danger { color: var(--bad); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.sm { min-height: 34px; padding: 0 14px; font-size: 14px; }

/* round action buttons, like a contact card */
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 4px; }
.action { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 13px 6px 11px; border-radius: 14px; background: var(--fill);
  color: var(--accent); font-size: 12.5px; font-weight: 600; border: 0; transition: transform .15s var(--ease); }
.action:active { transform: scale(.96); }
.action[aria-disabled="true"] { color: var(--ink-3); pointer-events: none; opacity: .6; }

/* ---------- grouped lists, iOS-style ---------- */
.group { background: var(--surface); border-radius: var(--r-card); border: .5px solid var(--line); overflow: hidden; }
.row { display: flex; align-items: center; gap: 13px; padding: 13px 16px; min-height: 60px; position: relative; width: 100%; border: 0; background: none; text-align: left; }
.row { --inset: 69px; }
.row:has(> .ico) { --inset: 61px; }
.row + .row::before { content: ""; position: absolute; top: 0; left: var(--inset); right: 0; border-top: .5px solid var(--line); }
.row.plain + .row.plain::before { left: 16px; }
a.row:hover, button.row:hover { background: var(--fill); }
a.row[aria-current="true"] { background: var(--accent-soft); }
.row .grow { flex: 1; min-width: 0; }
.row .title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .sub { color: var(--ink-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .meta { color: var(--ink-3); font-size: 13px; white-space: nowrap; align-self: flex-start; margin-top: 2px; }
.row .chev { color: var(--ink-3); }
.row.new .title::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 7px; vertical-align: 2px; }
/* a person: a Contacts-style monogram */
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 600 15px var(--font-display);
  background: linear-gradient(180deg, #a6acb8, #858a96); color: #fff; letter-spacing: .02em; }
.avatar.lg { width: 84px; height: 84px; font-size: 32px; }
@media (prefers-color-scheme: dark) { .avatar { background: linear-gradient(180deg, #6e6e73, #48484a); } }
/* a thing: a small rounded square, like Settings */
.ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.kv { display: flex; gap: 16px; padding: 13px 16px; position: relative; }
.kv + .kv::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: .5px solid var(--line); }
.kv dt { color: var(--ink-2); width: 34%; flex: none; font-size: 14px; padding-top: 1px; }
.kv dd { margin: 0; flex: 1; min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
@media (max-width: 599px) {   /* label above value on a phone, like a contact card */
  .kv { flex-direction: column; gap: 1px; padding: 11px 16px 12px; }
  .kv dt { width: auto; font-size: 13px; }
}
.day { margin: 22px 4px 8px; font-size: 13px; font-weight: 600; color: var(--ink-3); }

/* pills for status */
.pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pill.new { background: var(--accent-soft); color: var(--accent); }
.pill.replied, .pill.open, .pill.received { background: var(--fill-2); color: var(--ink-2); }
.pill.booked, .pill.done, .pill.live { background: var(--good-soft); color: var(--good); }
.pill.lost { background: var(--fill); color: var(--ink-3); }
.pill.progress, .pill.attention { background: var(--warn-soft); color: var(--warn); }
.pill.problem { background: var(--bad-soft); color: var(--bad); }

/* segmented control */
.seg { display: flex; gap: 2px; padding: 3px; background: var(--fill-2); border-radius: 11px; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: 1; min-width: max-content; border: 0; background: none; padding: 7px 13px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: background .2s, color .2s, box-shadow .2s; }
.seg button[aria-pressed="true"] { background: var(--seg-on); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 0 0 .5px var(--line); }
.seg .n { margin-left: 5px; color: var(--ink-3); font-weight: 500; }
@media (max-width: 599px) { .seg .n { display: none; } .seg button { padding: 7px 6px; } }   /* five words fit a phone; the counts live in the header and the tab badge */

/* fields */
.field { display: block; }
.field span { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0 0 6px 2px; }
.input, textarea.input { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface);
  transition: border-color .2s, box-shadow .2s; font-size: 17px; }
@media (min-width: 900px) { .input, textarea.input { font-size: 15px; } }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.search { position: relative; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search .input { padding-left: 40px; background: var(--fill-2); border-color: transparent; min-height: 40px; border-radius: 11px; }
.search .input:focus { background: var(--surface); }
.saved { font-size: 13px; color: var(--ink-3); min-height: 18px; transition: opacity .3s; }

/* ---------- inbox: two panes on wide screens, a pushed page on phones ---------- */
.inbox-tools { display: grid; gap: 12px; margin-bottom: 4px; }
.split { display: block; }
@media (min-width: 1100px) {
  .split { display: grid; grid-template-columns: minmax(320px, 400px) 1fr; gap: 22px; align-items: start; }
  .split .detail-pane { position: sticky; top: 24px; }
}
.detail-head { text-align: center; padding: 10px 0 2px; }
.detail-head h2 { margin: 12px 0 2px; font: 700 26px/1.15 var(--font-display); letter-spacing: -.024em; }
.detail-head .facts { color: var(--ink); font-size: 15px; font-weight: 500; margin: 2px 0 3px; }
.back { display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font-weight: 500; border: 0; background: none; padding: 6px 4px; margin-left: -6px; }
.empty { text-align: center; padding: 54px 24px; color: var(--ink-2); }
.empty svg { width: 54px; height: 54px; color: var(--ink-3); stroke-width: 1.3; }
.empty h3 { margin: 14px 0 4px; color: var(--ink); font: 600 19px var(--font-display); }

/* ---------- stats chart ---------- */
.chart { width: 100%; height: 190px; margin-top: 14px; }
.chart rect.bar { fill: var(--accent); }
.chart rect.bar.zero { fill: var(--fill-2); }
.chart text { fill: var(--ink-3); font-size: 11px; font-family: var(--font); }
.meter { height: 8px; border-radius: 4px; background: var(--fill-2); overflow: hidden; margin-top: 7px; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }

/* ---------- sign in ---------- */
.signin { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.signin .card { width: min(420px, 100%); padding: 34px 28px 28px; text-align: center; box-shadow: var(--shadow-pop); border: 0; }
.signin h1 { margin: 18px 0 6px; font: 700 30px/1.15 var(--font-display); letter-spacing: -.026em; }
.signin p { margin: 0 0 24px; color: var(--ink-2); }
.signin form { display: grid; gap: 12px; text-align: left; }
.logo-bmm { width: 56px; height: 56px; margin: 0 auto; border-radius: 15px; background: linear-gradient(145deg, #1d1d1f, #3a3a3c); color: #fff;
  display: grid; place-items: center; font: 700 19px var(--font-display); letter-spacing: -.02em; }
.notice { border-radius: 12px; padding: 11px 14px; font-size: 14px; background: var(--warn-soft); color: var(--warn); text-align: left; }

/* ---------- sheets, toasts, skeletons ---------- */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .32); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s var(--ease); }
.sheet { width: min(520px, 100%); max-height: 86dvh; overflow: auto; background: var(--surface); border-radius: 22px 22px 0 0; padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-pop); animation: rise .32s var(--ease); }
.sheet .grabber { width: 38px; height: 5px; border-radius: 3px; background: var(--fill-2); margin: 0 auto 14px; }
@media (min-width: 900px) { .scrim { align-items: center; } .sheet { border-radius: 22px; padding-bottom: 22px; } }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 26px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60;
  background: color-mix(in srgb, var(--ink) 92%, transparent); color: var(--bg); padding: 11px 18px; border-radius: 980px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-pop); animation: pop .28s var(--ease); display: flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); }
@media (min-width: 900px) { .toast { bottom: 28px; left: calc(50% + var(--side-w) / 2); } }
.skel { border-radius: 10px; background: linear-gradient(90deg, var(--fill) 0%, var(--fill-2) 50%, var(--fill) 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }
.page { animation: enter .34s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 10px) scale(.96); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
/* Owner workspace: neutral surfaces keep client identities easy to scan. */
.studio { min-height:100dvh; }
.studio-top { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px max(22px,calc((100vw - 1240px)/2));background:var(--surface);border-bottom:1px solid var(--line); }
.studio-brand { display:flex;align-items:center;gap:11px; }.studio-brand b { display:block;font-size:18px; }.studio-brand small { color:var(--ink-2);font-size:12px; }
.studio-monogram { display:grid;place-items:center;background:var(--ink);color:var(--surface);width:40px;height:40px;border-radius:12px;font-weight:750;font-size:13px;letter-spacing:-.04em; }
.studio-account { display:flex;align-items:center;gap:16px;color:var(--ink-2);font-size:13px; }
.studio-main { max-width:1240px;margin:auto;padding:58px 22px 30px; }.studio-heading { display:flex;align-items:flex-end;justify-content:space-between;gap:28px; }.studio-heading h1 { font-size:clamp(30px,3.5vw,46px);line-height:1.13;letter-spacing:-.04em;margin:12px 0 18px; }.studio-heading h1 span { color:var(--ink-2); }.studio-heading p:not(.studio-eyebrow) { color:var(--ink-2);margin:0; }.studio-eyebrow { color:var(--ink-2);text-transform:uppercase;font-size:11px;font-weight:650;letter-spacing:.14em;margin:0; }
.studio-stats { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:38px 0 22px;border:1px solid var(--line);border-radius:var(--r-card);background:var(--surface); }.studio-stats div { padding:22px 26px; }.studio-stats div+div { border-left:1px solid var(--line); }.studio-stats b { display:block;font-size:30px;letter-spacing:-.04em;font-weight:650; }.studio-stats span { color:var(--ink-2);font-size:13px; }
.studio-private { display:flex;align-items:center;gap:8px;color:var(--ink-2);font-size:13px;margin:18px 2px 24px; }.studio-tools { display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0 18px; }.studio-tools h2 { margin:0;font-size:23px;letter-spacing:-.02em; }.studio-filters { display:flex;gap:12px; }.studio-filters .search { max-width:260px; }.studio-filters select { width:auto;min-height:40px;padding-block:7px;background:var(--surface); }
.studio-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px; }.studio-grid > .card { margin:0; }.studio-client { padding:22px;min-width:0; }.studio-client-head { display:flex;align-items:center;gap:12px; }.studio-client-head>div { flex:1;min-width:0; }.studio-client-head h3 { margin:0;font-size:17px;letter-spacing:-.02em;overflow-wrap:anywhere; }.studio-client-head p { margin:4px 0 0;color:var(--ink-2);font-size:12px;text-transform:capitalize; }.studio-client-head .btn { padding-inline:8px;font-size:12px; }.studio-site-state { margin:26px 0 18px;display:flex;align-items:center;gap:7px;font-size:13px;color:var(--ink-2); }.studio-state-dot { width:6px;height:6px;border-radius:50%;background:var(--ink-3); }.studio-state-dot.saved { background:var(--good); }.studio-client-counts { display:flex;gap:18px;flex-wrap:wrap;color:var(--ink-2);font-size:12px; }.studio-client-counts b { color:var(--ink);font-weight:600; }.studio-client-counts a:hover { text-decoration:underline; }.studio-client-actions { display:flex;gap:8px;margin-top:24px; }.studio-client-actions .btn { flex:1;padding-inline:10px;font-size:12px;white-space:nowrap; }
.studio-form { display:grid;gap:16px; }.studio-form input[type=color] { padding:7px; }.studio-error { color:var(--bad); }.studio-footer { color:var(--ink-3);font-size:12px;padding:34px 0 0; }.studio-empty { padding:34px; }.owner-return { display:inline-flex;align-items:center;gap:3px;color:var(--accent);font-size:13px;margin-bottom:22px; }
@media(max-width:1050px){.studio-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:650px){.studio-main{padding-top:32px;}.studio-heading{display:block;}.studio-heading>.btn{margin-top:22px;}.studio-heading h1{font-size:32px;}.studio-account>span{display:none;}.studio-top{padding:14px 18px;}.studio-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:28px;}.studio-stats div{padding:18px 20px;}.studio-stats div:nth-child(3){border-left:0;}.studio-stats div:nth-child(n+3){border-top:1px solid var(--line);}.studio-grid{grid-template-columns:1fr;}.studio-tools{display:block;}.studio-filters{margin-top:14px;flex-wrap:wrap;}.studio-filters .search{max-width:none;flex:1 1 180px;}.studio-filters select{flex:1 1 130px;}.studio-client-actions .btn{font-size:14px;}.studio-private{align-items:flex-start;}.studio-private svg{margin-top:2px;}}
