/* offscan.app/pro: the professional dashboard. Same tokens, fonts and buttons as landing.css (kept in step by hand),
   self-hosted, nothing loaded from another site, no inline style (CSP style-src 'self'). */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --page: #ECEDEE;
  --panel: #F4F5F5;
  --white: #FFFFFF;
  --ink: #141414;
  --ink-2: #2E3034;
  --muted: #5B5D63;
  --soft: #8A8C91;
  --line: rgba(20, 20, 20, .08);
  --accent: #F25A2E;
  --from: #FF7A45;
  --to: #EE4A2B;
  --grad: linear-gradient(135deg, var(--from), var(--to));
  --night: #0E0E10;
  --night-2: #17171A;
  --r-xl: 40px;
  --r-lg: 28px;
  --r-md: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow-lift: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 60px -30px rgba(35,36,39,.28);
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
mark { background: rgba(242, 90, 46, .22); color: inherit; border-radius: 4px; padding: 0 .12em; box-shadow: 0 0 0 1px rgba(242,90,46,.18); }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; font-weight: 600; color: var(--ink-2); }
p { margin: 0; }
em, .serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico .fillme { fill: currentColor; stroke: none; }
::selection { background: rgba(242, 90, 46, .25); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 10px; }

.grad-text {
  background: linear-gradient(100deg, #FF8A55 0%, #F25A2E 45%, #D9381F 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .08em;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 550; font-size: 15px; letter-spacing: -.01em;
  padding: 12px 20px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
  will-change: transform;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-dark {
  background: #171719; color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 12px 24px -12px rgba(23,23,25,.75);
}
.btn-dark:hover { box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 18px 32px -12px rgba(23,23,25,.85); }
.btn-dark::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255,122,69,.45), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn-dark:hover::after { opacity: 1; }
.btn-accent {
  background: var(--grad); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 12px 26px -12px rgba(238,74,43,.7);
}
.btn-accent:hover { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 18px 34px -12px rgba(238,74,43,.8); }
.btn-accent:disabled { opacity: .85; cursor: default; }
.btn-glass {
  background: rgba(255,255,255,.72); color: var(--ink-2);
  border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 8px 22px -14px rgba(35,36,39,.35);
}
.btn-glass:hover { background: #fff; }
.btn-glass:hover .ico-play { transform: scale(1.12); }
.ico-play { width: 14px; height: 14px; fill: var(--accent); stroke: none; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--soft); line-height: 1.5; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; color: var(--ink-2); word-break: break-all; line-height: 1.45; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.lead { margin-top: 14px; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6; color: var(--muted); }
.btn { cursor: pointer; }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.wide { width: 100%; margin-top: 18px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.actions.end { justify-content: flex-end; }

/* ---------- Background: the landing's warm mesh, in CSS ---------- */
body.pro { min-height: 100vh; background: var(--page); }
.pro-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: linear-gradient(180deg, #F4F5F5, var(--page)); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s var(--ease-io) infinite alternate; }
.b1 { width: 46vw; height: 46vw; right: -12vw; top: -14vw; background: radial-gradient(circle, rgba(255,122,69,.55), rgba(238,74,43,0) 70%); }
.b2 { width: 34vw; height: 34vw; left: -10vw; bottom: -12vw; background: radial-gradient(circle, rgba(255,170,130,.5), rgba(255,170,130,0) 70%); animation-duration: 28s; }
.b3 { width: 22vw; height: 22vw; left: 40vw; top: 30vh; background: radial-gradient(circle, rgba(255,255,255,.9), rgba(255,255,255,0) 70%); animation-duration: 18s; }
@keyframes drift { to { transform: translate3d(-4vw, 3vw, 0) scale(1.08); } }

/* ---------- Top bar ---------- */
.pro-top { position: sticky; top: 0; z-index: 60; display: flex; justify-content: center; padding: 14px 12px 0; }
.nav {
  display: flex; align-items: center; gap: 12px;
  width: 100%; max-width: 1180px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 30px -14px rgba(35,36,39,.25);
}
.nav-logo img { height: 26px; width: auto; }
.pro-tag { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--grad); padding: 4px 8px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(238,74,43,.7); }
.pro-nav-mid { flex: 1; display: flex; justify-content: center; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav-lang { font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 10px; border-radius: 999px; transition: background-color .25s, color .25s; }
.nav-lang:hover { background: rgba(20,20,20,.06); color: var(--ink); }
.meter { display: none; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); transition: background-color .25s; }
.meter:hover { background: rgba(20,20,20,.05); }
.meter-bar { width: 72px; height: 6px; border-radius: 99px; background: rgba(20,20,20,.08); overflow: hidden; }
.meter-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .8s var(--ease); }
.meter.full .meter-label { color: #C63F1F; }
@media (min-width: 720px) { .meter { display: inline-flex; } }
.account { position: relative; }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); color: var(--ink); transition: background-color .25s, box-shadow .3s var(--ease); }
.acct-btn:hover, .acct-btn[aria-expanded="true"] { background: #fff; box-shadow: 0 10px 24px -16px rgba(35,36,39,.5); }
.acct-btn > .ico { width: 18px; height: 18px; }
.acct-btn .avatar { width: 34px; height: 34px; font-size: 13.5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-sep { border: 0; border-top: 1px solid var(--line); margin: 6px 8px; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; font-size: 14.5px; font-weight: 500; }
.menu a:hover { background: rgba(20,20,20,.05); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 15px; color: #fff; background: #171719; box-shadow: 0 8px 18px -10px rgba(23,23,25,.8); }
.menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 290px; max-width: calc(100vw - 32px); padding: 8px; border-radius: 22px;
  background: #fff; border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 50px -24px rgba(35,36,39,.45); animation: pop .35s var(--ease);
}
.menu-mail { padding: 10px 12px 8px; font-size: 13px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; font-size: 14.5px; font-weight: 500; text-align: left; }
.menu button:hover { background: rgba(20,20,20,.05); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

/* ---------- Layout ---------- */
.pro-main { max-width: 1180px; margin: 0 auto; padding: 28px var(--gutter) 80px; }
.view { animation: viewIn .7s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } }
.card {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 24px 50px -36px rgba(35,36,39,.4);
}
.loading { display: none; justify-content: center; padding: 80px 0; }
.is-loading .loading { display: flex; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid rgba(242,90,46,.2); border-top-color: var(--accent); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 7px; margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .pieces-edit input {
  width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid rgba(20,20,20,.1); background: #fff;
  font-size: 15.5px; font-weight: 450; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field textarea:focus, .pieces-edit input:focus { outline: none; border-color: rgba(242,90,46,.6); box-shadow: 0 0 0 4px rgba(242,90,46,.14); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.error { margin-top: 14px; padding: 11px 14px; border-radius: 14px; background: #FFF0EC; color: #B4321A; font-size: 14px; font-weight: 500; }
.link-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.link-back:hover { color: var(--ink); }
.grid2 { display: grid; gap: 0 16px; }
@media (min-width: 680px) { .grid2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Sign in ---------- */
.auth { display: grid; gap: 40px; align-items: center; min-height: calc(100vh - 160px); padding-top: 20px; }
@media (min-width: 980px) { .auth { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.9);
  font-size: 13.5px; font-weight: 550; color: #C63F1F; box-shadow: 0 6px 16px -8px rgba(35,36,39,.25);
}
.badge .dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.badge .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--accent); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.auth h1 { margin-top: 24px; font-size: clamp(40px, 5.4vw, 74px); line-height: 1; letter-spacing: -.045em; font-weight: 620; }
.auth h1 em { font-size: 1.06em; line-height: 1.05; }
.auth .lead { max-width: 33em; }
.auth-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.auth-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.auth-points b { display: block; color: var(--ink-2); font-weight: 620; }
.tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; flex: none; color: #fff; background: #171719; box-shadow: 0 10px 20px -10px rgba(23,23,25,.7); }
.auth-points li:first-child .tile { background: var(--grad); }
.auth-points li:last-child .tile { background: #2BA36B; }
.auth-card { padding: clamp(26px, 3vw, 40px); max-width: 480px; width: 100%; justify-self: center; }
.auth-card h2 { font-size: 28px; line-height: 1.15; letter-spacing: -.03em; }
.auth-card .fine { margin-top: 14px; text-align: center; }
.auth-card .muted { margin-top: 8px; font-size: 15px; }
.otp { margin-top: 22px; }
.otp input { width: 100%; padding: 16px 18px; text-align: center; font: 600 28px/1.2 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .32em; border-radius: 16px; border: 1px solid rgba(20,20,20,.12); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.otp input::placeholder { color: rgba(20,20,20,.18); }
.otp input:focus { outline: none; border-color: rgba(242,90,46,.7); box-shadow: 0 0 0 4px rgba(242,90,46,.14); transform: translateY(-2px); }
.otp.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- Onboarding ---------- */
.setup { display: grid; gap: 22px; justify-items: center; padding-top: 18px; }
.rail { list-style: none; margin: 0; padding: 6px; display: flex; gap: 4px; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); }
.rail li { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--soft); transition: background-color .4s var(--ease), color .4s; }
.rail-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; background: rgba(20,20,20,.06); transition: background .4s, color .4s; }
.rail li.is-now { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(35,36,39,.4); }
.rail li.is-now .rail-dot { background: var(--grad); color: #fff; }
.rail li.is-done { color: var(--ink-2); }
.rail li.is-done .rail-dot { background: #2BA36B; color: #fff; }
@media (max-width: 560px) { .rail li > span:last-child { display: none; } .rail li { padding: 7px; } }
.setup-card { width: 100%; max-width: 660px; padding: clamp(26px, 4vw, 46px); animation: viewIn .6s var(--ease); }
.setup-card h2 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.05; letter-spacing: -.04em; }
.setup-card h2 em { font-size: 1.06em; }
.step-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; color: #fff; background: var(--grad); box-shadow: 0 16px 30px -14px rgba(238,74,43,.8); }
.step-icon .ico { width: 26px; height: 26px; }
.how { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 640px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how > div { display: grid; gap: 6px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.75); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.how b { color: var(--ink-2); font-size: 15px; }
.how-n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #171719; color: #fff; font-size: 13px; font-weight: 700; }
.how > div:nth-child(2) .how-n { background: var(--grad); }
.how > div:nth-child(3) .how-n { background: #2BA36B; }
.strength { height: 5px; margin-top: 10px; border-radius: 99px; background: rgba(20,20,20,.07); overflow: hidden; }
.strength span { display: block; height: 100%; width: 0; border-radius: inherit; background: #E0533A; transition: width .4s var(--ease), background-color .4s; }
.strength span.mid { background: #E9A23B; }
.strength span.ok { background: #2BA36B; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.ticks .ico { color: #2BA36B; margin-top: 3px; stroke-width: 2.2; }
.drop { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 22px; border-radius: 18px; border: 1.5px dashed rgba(242,90,46,.45); background: rgba(255,240,232,.5); font-weight: 550; color: var(--ink-2); cursor: pointer; transition: background-color .2s; }
.drop:hover { background: rgba(255,240,232,.9); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .ico { color: var(--accent); width: 22px; height: 22px; }

/* ---------- Dashboard ---------- */
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: 18px; }
.dash-head h1 { margin-top: 10px; font-size: clamp(34px, 4.4vw, 58px); line-height: 1; letter-spacing: -.045em; font-weight: 620; }
.dash-head h1 em { font-size: 1.06em; color: var(--accent); }
.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; padding: 14px 16px 14px 20px; border-radius: 20px; background: linear-gradient(120deg, rgba(255,240,232,.95), rgba(255,255,255,.85)); border: 1px solid rgba(242,90,46,.2); font-size: 14.5px; color: var(--ink-2); }
.banner > .ico { color: var(--accent); width: 22px; height: 22px; }
.banner p { flex: 1; min-width: 220px; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.kpi { display: grid; gap: 4px; padding: 20px; border-radius: 24px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 20px 40px -34px rgba(35,36,39,.5); font-size: 13.5px; color: var(--muted); }
.kpi b { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; letter-spacing: -.04em; color: var(--ink-2); font-weight: 620; font-variant-numeric: tabular-nums; }
.kpi-ico { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 11px; background: #171719; color: #fff; }
.kpi-ico .ico { width: 16px; height: 16px; }
.kpi-ico.ok { background: #2BA36B; }
.kpi-ico.late { background: var(--grad); }
.list-card { margin-top: 16px; padding: 10px; }
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 6px 10px; }
.tabs { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(20,20,20,.05); overflow-x: auto; max-width: 100%; }
.tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background-color .3s var(--ease), color .3s; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(35,36,39,.35); }
.count { font-size: 11.5px; min-width: 18px; padding: 1px 6px; border-radius: 99px; background: rgba(20,20,20,.07); }
.count:empty { display: none; }
.search { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--soft); min-width: 0; flex: 1; max-width: 280px; }
.search input { border: 0; outline: 0; background: none; width: 100%; font-size: 14px; color: var(--ink); }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.7); cursor: pointer; transition: background-color .25s, transform .4s var(--ease), box-shadow .4s var(--ease); animation: rowIn .6s var(--ease) both; }
.row:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px -24px rgba(35,36,39,.5); }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
.row-av { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-weight: 650; color: #fff; background: #171719; }
.row-av.c1 { background: linear-gradient(135deg, #FF7A45, #EE4A2B); } .row-av.c2 { background: linear-gradient(135deg, #3A3B40, #141414); }
.row-av.c3 { background: linear-gradient(135deg, #39B27A, #1E8A58); } .row-av.c4 { background: linear-gradient(135deg, #F0A04B, #D9741F); }
.row-main { min-width: 0; }
.row-title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.row-title b { font-size: 15.5px; font-weight: 620; color: var(--ink-2); }
.row-title span { font-size: 13px; color: var(--soft); }
.row-bar { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { flex: 1; max-width: 220px; height: 6px; border-radius: 99px; background: rgba(20,20,20,.07); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: 0 50%; animation: grow 1s var(--ease) both; }
.bar span.full { background: #2BA36B; }
@keyframes grow { from { transform: scaleX(0); } }
.row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: rgba(20,20,20,.06); color: var(--ink-2); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.chip.sent { color: #5B5D63; }
.chip.opened { background: #EEF3FF; color: #3557C9; }
.chip.partial { background: #FFF3E3; color: #B96A12; }
.chip.done { background: #E7F6EE; color: #1E8A58; }
.chip.late { background: #FFECE6; color: #C63F1F; }
.chip.archived { color: var(--soft); }
.due { font-size: 12px; color: var(--soft); font-weight: 550; }
.due.soon { color: #B96A12; } .due.late { color: #C63F1F; }
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 56px 20px 60px; }
.empty h3 { font-size: 22px; letter-spacing: -.03em; margin-top: 10px; }
.empty .muted { max-width: 30em; margin-bottom: 10px; }
.empty-art { position: relative; width: 120px; height: 90px; }
.empty-art span { position: absolute; width: 70px; height: 88px; border-radius: 10px; background: #fff; box-shadow: 0 14px 30px -18px rgba(35,36,39,.6); }
.empty-art span:nth-child(1) { left: 6px; transform: rotate(-10deg); }
.empty-art span:nth-child(2) { left: 44px; transform: rotate(8deg); }
.empty-art span:nth-child(3) { left: 25px; top: -6px; background: var(--grad); animation: float 4s var(--ease-io) infinite alternate; }
@keyframes float { to { transform: translateY(-8px) rotate(-2deg); } }
/* ---------- Pro tools hub (dashboard) ---------- */
.hub { position: relative; overflow: hidden; overflow: clip; display: grid; gap: 22px; margin-top: 16px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); background: linear-gradient(160deg, #1E1E21, #0F0F11); color: #fff; }
.hub::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,69,.45), transparent 70%); pointer-events: none; }
.hub.is-paid { background: linear-gradient(160deg, #FFFFFF, #F6F6F7); color: var(--ink); border: 1px solid rgba(255,255,255,.95); box-shadow: var(--shadow-lift); }
.hub.is-paid::before { opacity: .35; }
.hub-head { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.hub .eyebrow { color: #FF9A6B; }
.hub.is-paid .eyebrow { color: var(--accent); }
.hub h3 { margin-top: 8px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.035em; line-height: 1.1; max-width: 22em; color: inherit; }
.hub-sub { margin-top: 6px; font-size: 14.5px; color: rgba(255,255,255,.68); max-width: 40em; }
.hub.is-paid .hub-sub { color: var(--muted); }
.hub-meter { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.hub-ring { position: relative; display: grid; place-items: center; width: 44px; height: 44px; }
.hub-ring svg { position: absolute; inset: 0; width: 44px; height: 44px; transform: rotate(-90deg); }
.hub-ring circle { fill: none; stroke-width: 3.4; }
.hr-bg { stroke: rgba(20,20,20,.08); }
.hr-fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .9s var(--ease); }
.hub-ring b { font-size: 12px; color: var(--ink); }
.hub-grid { position: relative; z-index: 1; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); }
.tool { position: relative; display: grid; align-content: start; gap: 4px; min-height: 128px; padding: 16px; border-radius: 20px; text-align: left; color: inherit; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); transition: transform .4s var(--ease), background-color .25s, border-color .25s, box-shadow .4s var(--ease); }
.tool:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
.tool:focus-visible { outline: 2px solid var(--from); outline-offset: 2px; }
.hub.is-paid .tool { background: #fff; border-color: var(--line); }
.hub.is-paid .tool:hover { border-color: rgba(242,90,46,.35); box-shadow: 0 20px 36px -26px rgba(238,74,43,.55); }
.tool b { margin-top: 8px; font-size: 15px; letter-spacing: -.01em; }
.tool small { font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.6); }
.hub.is-paid .tool small { color: var(--soft); }
.tool-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.1); color: #FF9A6B; }
.hub.is-paid .tool-ic, .export-tile .tool-ic { background: #FFF0E8; color: var(--accent); }
.tool .lock { position: absolute; top: 14px; right: 14px; }
.tool-ok { position: absolute; top: 14px; right: 14px; display: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #2BA36B; color: #fff; animation: burst .5s var(--ease); }
.tool-ok .ico { width: 14px; height: 14px; stroke-width: 2.6; }
.tool.is-done .tool-ok { display: grid; }
.tool.is-done .tool-ic { background: #E7F6EE; color: #1E8A58; }
.lock { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 99px; background: var(--grad); color: #fff; }
.is-pro .lock { display: none; }

/* ---------- Automatic reminders (drawer and new request) ---------- */
.auto-card { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.auto-card.is-on { border-color: rgba(242,90,46,.35); background: linear-gradient(120deg, #FFF6F1, #fff); }
.auto-card.is-off .switch { opacity: .45; pointer-events: none; }
.auto-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(20,20,20,.05); color: var(--muted); }
.auto-card.is-on .auto-ic { background: var(--grad); color: #fff; }
.auto-txt { display: grid; gap: 2px; min-width: 0; }
.auto-txt b { font-size: 14.5px; color: var(--ink-2); }
.auto-txt small { font-size: 12.5px; color: var(--soft); line-height: 1.4; }
.auto-card select, .pane-grid select { appearance: none; -webkit-appearance: none; padding: 8px 30px 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: #F6F6F7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B5D63' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.auto-card .lock { grid-column: 4; }
.is-pro .auto-card .lock { display: none; }
body:not(.is-pro) .auto-card .switch, body:not(.is-pro) .auto-card select { display: none; }
body:not(.is-pro) .auto-card { cursor: pointer; }
.switch { position: relative; width: 46px; height: 28px; border-radius: 99px; background: rgba(20,20,20,.16); transition: background-color .3s; flex: none; }
.switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(14,14,16,.25); transition: transform .35s var(--ease); }
.switch[aria-checked="true"] { background: var(--accent); }
.switch[aria-checked="true"] span { transform: translateX(18px); }
.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch:disabled { opacity: .5; }
.mini-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; margin-right: -8px; border-radius: 10px; font-size: 13px; font-weight: 650; color: var(--accent); transition: background-color .2s; }
.link-btn:hover { background: #FFF0E8; }
.link-btn:disabled { opacity: .5; }
.link-btn .lock { margin-left: 2px; }
.d-by { margin-top: 4px; font-size: 13px; color: var(--soft); }

/* ---------- New request: saved templates ---------- */
.tpl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.templates.mine { margin-top: 12px; }
.templates.mine .tpl-ic { background: #FFF0E8 !important; color: var(--accent); }
#myTplBox + .templates { margin-top: 12px; }
.actions.split { justify-content: space-between; }
.tpl-save { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; margin-top: 14px; padding: 10px; border-radius: 18px; background: #FFF6F1; border: 1px solid rgba(242,90,46,.25); animation: rowIn .4s var(--ease) both; }
.tpl-save input { min-width: 0; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; }
.tpl-save input:focus { outline: none; border-color: rgba(242,90,46,.6); box-shadow: 0 0 0 4px rgba(242,90,46,.14); }

/* ---------- Pro tools window ---------- */
.tools-card { max-width: 760px; }
.modal { grid-template-columns: minmax(0, 1fr); }
.plain-list > li { min-width: 0; }
.tools-tabs { display: flex; gap: 6px; margin: 20px -4px 0; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 16px; background: rgba(20,20,20,.05); }
.tools-tabs::-webkit-scrollbar { display: none; }
.tools-tabs button { display: inline-flex; flex: 1 0 auto; justify-content: center; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s; }
.tools-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(14,14,16,.45); }
.tools-tabs button[aria-selected="true"] .ico { color: var(--accent); }
.tools-tabs button span { display: none; }
.tools-tabs button small { font: inherit; }
.tool-pane { animation: viewIn .45s var(--ease); }
.pane-lead { margin-top: 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.pane-grid { display: flex; flex-wrap: wrap; align-items: end; gap: 6px 24px; }
.pane-grid .field select { justify-self: start; padding: 11px 34px 11px 14px; font-size: 14.5px; }
.pane-grid .check { margin-bottom: 10px; }
.pane-empty { margin-top: 10px; padding: 18px; border-radius: 16px; border: 1.5px dashed rgba(20,20,20,.12); text-align: center; font-size: 14px; color: var(--soft); }
.plain-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.pl-item { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); animation: rowIn .4s var(--ease) both; }
.pl-txt { flex: 1; min-width: 0; display: grid; gap: 2px; justify-items: start; }
.pl-txt b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; color: var(--ink-2); }
.pl-txt small { font-size: 12.5px; color: var(--soft); line-height: 1.4; }
.pl-txt .chip { margin-top: 4px; }
.pl-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.pl-item.member { padding-left: 12px; }
.pl-item .c-av { width: 38px; height: 38px; border-radius: 13px; font-size: 13px; flex: none; }
.btn.btn-sm .ico { width: 16px; height: 16px; }

.brand-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .brand-grid { grid-template-columns: 1fr 250px; gap: 28px; align-items: start; } }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--sw, #EE4A2B); box-shadow: 0 0 0 1px rgba(20,20,20,.08) inset; transition: transform .3s var(--ease), box-shadow .3s; }
.swatch:hover { transform: scale(1.08); }
.swatch.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sw, #EE4A2B); }
.swatch.custom { display: grid; place-items: center; overflow: hidden; background: conic-gradient(#EE4A2B, #F0A04B, #2BA36B, #1D4ED8, #7C3AED, #BE185D, #EE4A2B); cursor: pointer; }
.swatch.custom input { width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.logo-drop { margin-top: 0; padding: 16px; }
.field .link-btn { justify-self: start; margin-right: 0; }
.brand-preview .mini { margin-top: 4px; }
.bp-page { margin-top: 10px; padding: 18px; border-radius: 20px; background: #F6F6F7; border: 1px solid var(--line); display: grid; gap: 10px; }
.bp-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bp-head b { font-size: 14px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-logo { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; overflow: hidden; background: var(--brand, #EE4A2B); color: #fff; font-size: 13px; font-weight: 700; }
.bp-logo.has-img { background: #fff; border: 1px solid var(--line); }
.bp-logo img { width: 100%; height: 100%; object-fit: contain; }
.bp-title { font-size: 16px; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.bp-line { height: 8px; border-radius: 99px; background: rgba(20,20,20,.08); }
.bp-line.short { width: 60%; }
.bp-btn { justify-self: start; margin-top: 4px; padding: 9px 16px; border-radius: 99px; background: var(--brand, #EE4A2B); color: #fff; font-size: 13px; font-weight: 650; }

.export-grid { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 560px) { .export-grid { grid-template-columns: 1fr 1fr; } }
.export-tile { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.export-tile:hover { transform: translateY(-2px); border-color: rgba(242,90,46,.35); box-shadow: 0 20px 36px -26px rgba(238,74,43,.55); }
.export-tile b { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.export-tile small { font-size: 13px; color: var(--soft); }

.invite { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 18px; }
.invite input { min-width: 0; padding: 12px 15px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; }
.invite input:focus { outline: none; border-color: rgba(242,90,46,.6); box-shadow: 0 0 0 4px rgba(242,90,46,.14); }
#teamSeats { margin-top: 8px; }

/* ---------- Team: join, wait, safety code ---------- */
.safety { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 20px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--muted); }
.safety .mono { font-size: 19px; font-weight: 650; letter-spacing: .14em; color: var(--ink); word-break: normal; }
.safety + .fine { margin-top: 8px; }
.wait-icon { animation: pulse 2.4s var(--ease-io) infinite; }
@keyframes pulse { 50% { box-shadow: 0 16px 30px -14px rgba(238,74,43,.8), 0 0 0 12px rgba(242,90,46,.1); } }
.wait-live { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #2BA36B; box-shadow: 0 0 0 0 rgba(43,163,107,.5); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(43,163,107,0); } 100% { box-shadow: 0 0 0 0 rgba(43,163,107,0); } }
.error.info { background: #F1F4FF; color: #3557C9; }
#gWho { display: block; margin-top: 4px; font-size: .78em; overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .auto-card { grid-template-columns: auto 1fr auto; }
  .auto-card select { grid-column: 2 / 4; grid-row: 2; justify-self: start; }
  .auto-card .lock { grid-column: 3; }
  .pl-item { flex-wrap: wrap; }
  .pl-acts { width: 100%; justify-content: flex-start; }
  .pl-item.member .pl-acts { padding-left: 50px; }
  .actions.split { flex-direction: column-reverse; align-items: stretch; }
  .actions.split .btn { justify-content: center; }
  .tools-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; margin-left: 0; margin-right: 0; overflow: visible; }
  .tools-tabs button { flex-direction: column; gap: 3px; padding: 8px 2px 7px; font-size: 11.5px; }
  .tools-tabs button small { display: block; font-size: 11.5px; }
  .hub-grid { grid-template-columns: 1fr 1fr; }
  .tool { min-height: 118px; padding: 14px; }
}

/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(14,14,16,.28); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; z-index: 71; top: 10px; right: 10px; bottom: 10px; width: min(520px, calc(100% - 20px));
  overflow-y: auto; padding: 24px clamp(20px, 3vw, 32px) 28px; border-radius: 30px;
  background: rgba(250,250,250,.97); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 40px 80px -40px rgba(14,14,16,.6); animation: slide .55s var(--ease);
}
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); transition: background-color .2s; }
.icon-btn:hover { background: #F4F5F5; }
.drawer h2 { margin-top: 10px; font-size: 30px; letter-spacing: -.04em; line-height: 1.05; }
.drawer .muted { margin-top: 6px; font-size: 14.5px; }
.progress-line { height: 6px; margin-top: 18px; border-radius: 99px; background: rgba(20,20,20,.07); overflow: hidden; }
.progress-line span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width .9s var(--ease); }
.mini { margin-top: 26px; font-size: 12.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.pieces { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.piece { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 12px 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.piece-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px dashed rgba(20,20,20,.2); color: transparent; }
.piece.received .piece-dot { border: 0; background: #2BA36B; color: #fff; }
.piece.redo .piece-dot { border: 0; background: #F0A04B; color: #fff; }
.piece-dot .ico { width: 15px; height: 15px; stroke-width: 2.4; }
.piece b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.piece small { display: block; font-size: 12.5px; color: var(--soft); }
.piece-acts { display: flex; gap: 4px; }
.piece-acts button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--muted); transition: background-color .2s, color .2s; }
.piece-acts button:hover { background: #F4F5F5; color: var(--ink); }
.piece-acts button.primary { background: #171719; color: #fff; }
.timeline { list-style: none; margin: 10px 0 0; padding: 0 0 0 6px; display: grid; gap: 12px; border-left: 1.5px solid rgba(20,20,20,.08); }
.timeline li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.timeline li.wait { color: var(--soft); }
.timeline li.wait::before { border-color: rgba(20,20,20,.2); }
.timeline time { display: block; font-size: 12px; color: var(--soft); }
.linkbox { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; margin-top: 12px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.linkbox .actions { margin-top: 12px; }
.linkbox.big { grid-template-columns: 1fr; justify-items: center; text-align: center; margin-top: 22px; }
.linkbox.big .actions { justify-content: center; }
@media (min-width: 640px) { .linkbox.big { grid-template-columns: 180px 1fr; justify-items: start; text-align: left; } .linkbox.big .actions { justify-content: flex-start; } }
.qr { width: 100%; aspect-ratio: 1; border-radius: 12px; background: #fff; }
.qr svg { width: 100%; height: 100%; }
.linkbox.big .qr { width: 180px; }
.drawer-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(14,14,16,.32); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); overflow-y: auto; animation: fade .3s; }
.modal-card { width: 100%; max-width: 560px; padding: clamp(24px, 3.4vw, 40px); background: rgba(252,252,252,.98); animation: rise .55s var(--ease); }
.wide-card { max-width: 820px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal-card h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.04em; line-height: 1.08; padding-right: 40px; }
.modal-card .muted { margin-top: 8px; }
.close { position: absolute; top: 16px; right: 16px; }
.steps-mini { display: flex; gap: 6px; margin-bottom: 18px; }
.steps-mini span { width: 26px; height: 4px; border-radius: 99px; background: rgba(20,20,20,.1); transition: background .4s, width .4s var(--ease); }
.steps-mini span.on { background: var(--grad); width: 40px; }
.templates { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 640px) { .templates { grid-template-columns: repeat(3, 1fr); } }
.tpl { display: grid; gap: 6px; text-align: left; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.tpl:hover { transform: translateY(-3px); border-color: rgba(242,90,46,.35); box-shadow: 0 20px 36px -26px rgba(238,74,43,.55); }
.tpl-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #171719; color: #fff; margin-bottom: 6px; }
.tpl:nth-child(3n+1) .tpl-ic { background: var(--grad); }
.tpl:nth-child(3n+2) .tpl-ic { background: #2BA36B; }
.tpl b { font-size: 15.5px; color: var(--ink-2); }
.tpl small { font-size: 13px; color: var(--soft); line-height: 1.4; }
.pieces-edit { margin-top: 20px; }
.pe-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pe-head .mini { margin-top: 0; }
.pieces-edit ul { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 8px; }
.pe-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; animation: rowIn .4s var(--ease) both; }
.pe-row input { padding: 11px 14px; font-size: 15px; }
.pe-opt { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 9px 11px; border-radius: 12px; background: rgba(20,20,20,.04); cursor: pointer; white-space: nowrap; }
.pe-opt input { accent-color: var(--accent); width: 15px; height: 15px; padding: 0; }
.pe-del { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--soft); }
.pe-del:hover { background: #FFF0EC; color: #C63F1F; }
.sealed-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: #F1F8F4; color: #1E6B47; font-size: 13.5px; }
.sealed-note .ico { margin-top: 2px; }
.done-burst { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #2BA36B; color: #fff; margin-bottom: 16px; box-shadow: 0 0 0 10px rgba(43,163,107,.12), 0 0 0 22px rgba(43,163,107,.06); animation: burst .7s var(--ease); }
.done-burst .ico { width: 30px; height: 30px; stroke-width: 2.4; }
@keyframes burst { from { transform: scale(.4); opacity: 0; } }
.pro-card { overflow: hidden; overflow: clip; }
.pro-glow { position: absolute; width: 420px; height: 420px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,69,.4), transparent 70%); pointer-events: none; }
.pro-card h2 { margin-top: 12px; }
.up-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.up-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.up-price b { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
.up-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.up-list .ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--grad); color: #fff; stroke-width: 2.6; }
.pro-card .fine { margin-top: 14px; }

/* ---------- Guided tour ---------- */
.tour { position: fixed; inset: 0; z-index: 90; }
.tour-hole { position: fixed; border-radius: 26px; box-shadow: 0 0 0 9999px rgba(14,14,16,.55), 0 0 0 2px rgba(255,122,69,.9), 0 0 40px 6px rgba(255,122,69,.35); transition: all .55s var(--ease); pointer-events: none; }
.tour-tip { position: fixed; width: min(360px, calc(100% - 32px)); padding: 22px; background: rgba(255,255,255,.98); transition: top .55s var(--ease), left .55s var(--ease); animation: rise .5s var(--ease); }
.tour-tip h3 { margin-top: 8px; font-size: 20px; letter-spacing: -.03em; }
.tour-tip p:not(.eyebrow) { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.tour-tip .actions { margin-top: 16px; justify-content: flex-end; }

/* ---------- Voice-over (ElevenLabs clips served by this site) ---------- */
.voice-btn { position: fixed; z-index: 92; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 14px 30px -16px rgba(35,36,39,.55); font-size: 13.5px; font-weight: 600; color: var(--ink-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: rise .5s var(--ease); }
.voice-btn .ico { color: var(--accent); }
.voice-wave { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.voice-wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--accent); }
.voice-btn.is-speaking .voice-wave i { animation: wave .9s var(--ease-io) infinite alternate; }
.voice-btn.is-speaking .voice-wave i:nth-child(2) { animation-delay: .15s; }
.voice-btn.is-speaking .voice-wave i:nth-child(3) { animation-delay: .3s; }
.voice-btn[aria-pressed="false"] .voice-wave { display: none; }
.voice-btn[aria-pressed="false"] .ico { color: var(--soft); }
@keyframes wave { to { height: 12px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translateX(-50%); padding: 12px 18px; border-radius: 999px; background: #171719; color: #fff; font-size: 14px; font-weight: 550; box-shadow: 0 18px 40px -16px rgba(14,14,16,.7); animation: toastIn .45s var(--ease); max-width: calc(100% - 32px); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Footer: the landing's .final card, without its call to action ---------- */
.pro-foot { padding: 0 8px 8px; }
@media (min-width: 640px) { .pro-foot { padding: 0 14px 14px; } }
.is-loading .pro-foot { display: none; }
.pro-foot .final-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--panel); box-shadow: var(--shadow-lift); padding: clamp(28px, 5vw, 56px) var(--gutter) 26px; }
@media (min-width: 640px) { .pro-foot .final-card { border-radius: var(--r-xl); } }
.pro-foot .wordmark { margin: 0 auto; max-width: 1100px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 92%); mask-image: linear-gradient(180deg, #000 30%, transparent 92%); opacity: .95; }
.pro-foot .wordmark-img { display: block; width: 100%; height: auto; }
.pro-foot .foot { max-width: 1180px; margin: 10px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--soft); }
.pro-foot .foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pro-foot .foot a, .pro-foot .foot-lang { color: #55575C; text-decoration: none; transition: color .25s; }
.pro-foot .foot a:hover, .pro-foot .foot-lang:hover { color: var(--ink); }
.foot-lang { appearance: none; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }

/* ---------- Phone: the four filters on a 2 × 2 grid, the search across the card ---------- */
@media (max-width: 560px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 20px; overflow: visible; }
  .tabs button { justify-content: center; padding: 9px 10px; border-radius: 16px; }
  .search { max-width: none; flex-basis: 100%; }
}

/* ---------- The Android app: shown until the account has been used in the app ---------- */
.app-ok { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: 13px; font-weight: 550; color: var(--ink-2); }
.app-ok .ico { width: 15px; height: 15px; }
.app-ok-dot { width: 8px; height: 8px; border-radius: 50%; background: #2BA36B; box-shadow: 0 0 0 4px rgba(43,163,107,.16); }
.app-card {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate; display: grid; gap: 28px; margin-top: 24px;
  padding: clamp(26px, 4vw, 52px); border-radius: var(--r-xl);
  background: linear-gradient(150deg, #FFFFFF 0%, #F7F7F8 55%, #FFF3EC 100%);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 1px 0 rgba(255,255,255,.95) inset, 0 40px 80px -50px rgba(35,36,39,.45);
  animation: viewIn .8s var(--ease);
}
.app-glow { position: absolute; z-index: -1; right: -12%; bottom: -40%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,122,69,.28), rgba(255,122,69,.06) 60%, transparent); pointer-events: none; }
.app-copy h2 { margin-top: 12px; font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -.045em; font-weight: 620; }
.app-copy h2 em { display: block; font-size: 1.06em; color: var(--accent); }
.app-lead { margin-top: 14px; max-width: 34em; font-size: 16px; line-height: 1.55; color: var(--muted); }
.app-perks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.app-perks li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.perk-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: #171719; color: #fff; box-shadow: 0 10px 20px -12px rgba(23,23,25,.8); }
.app-perks li:nth-child(odd) .perk-ic { background: var(--grad); box-shadow: 0 10px 20px -12px rgba(238,74,43,.8); }
.perk-ic .ico { width: 18px; height: 18px; }
.app-perks b { display: block; font-size: 15.5px; font-weight: 620; color: var(--ink-2); letter-spacing: -.01em; }
.app-perks div span { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.app-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.app-ctas .btn:hover .ico { transform: translateY(2px); }
.app-fine { font-size: 13px; color: var(--soft); }
.app-visual { position: relative; display: none; justify-items: center; align-items: center; }
@media (min-width: 900px) {
  .app-card { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .app-visual { display: grid; min-height: 520px; }
  .app-perks { grid-template-columns: 1fr 1fr; gap: 20px 26px; }
}
/* The phone: drawn in CSS, nothing loaded. */
.phone {
  position: relative; width: 252px; height: 516px; padding: 11px; border-radius: 46px;
  background: linear-gradient(145deg, #2A2A2E, #0C0C0E);
  box-shadow: 0 0 0 1.5px #3A3A3F inset, 0 50px 80px -40px rgba(14,14,16,.7), 0 30px 40px -30px rgba(238,74,43,.35);
  transform: rotate(-4deg); animation: phoneIn 1.1s var(--ease) both, phoneBob 6s var(--ease-io) 1.1s infinite alternate;
}
@keyframes phoneIn { from { opacity: 0; transform: translateY(30px) rotate(-8deg); } }
@keyframes phoneBob { to { transform: translateY(-10px) rotate(-3deg); } }
.phone-screen { position: relative; height: 100%; overflow: hidden; padding: 14px 14px 0; border-radius: 36px; background: linear-gradient(180deg, #F6F6F7, #ECEDEE); }
.ph-bar { display: flex; align-items: center; justify-content: space-between; height: 22px; padding: 0 6px; font-size: 11px; font-weight: 650; color: var(--ink); }
.ph-isl { width: 74px; height: 20px; border-radius: 99px; background: #0C0C0E; }
.ph-sig { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid var(--ink); }
.ph-hello { margin-top: 16px; font-size: 22px; font-weight: 650; letter-spacing: -.04em; color: var(--ink-2); }
.ph-hero { margin-top: 12px; padding: 14px; border-radius: 20px; background: var(--grad); color: #fff; box-shadow: 0 18px 30px -18px rgba(238,74,43,.9); }
.ph-eyebrow { display: block; font-size: 9.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ph-hero b { display: block; margin-top: 4px; font-size: 15px; letter-spacing: -.02em; }
.ph-count { display: flex; align-items: baseline; gap: 3px; margin-top: 10px; }
.ph-num { font-size: 30px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.ph-unit { margin-right: 8px; font-size: 12px; font-weight: 600; opacity: .85; }
.ph-track { height: 5px; margin-top: 12px; border-radius: 99px; background: rgba(255,255,255,.3); overflow: hidden; }
.ph-track span { display: block; width: 62%; height: 100%; border-radius: inherit; background: #fff; animation: track 2.4s var(--ease) .8s both; }
@keyframes track { from { width: 8%; } }
.ph-row { display: grid; grid-template-columns: 30px 1fr 12px; gap: 10px; align-items: center; margin-top: 8px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.85); }
.ph-av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; font-size: 10px; font-weight: 700; color: #fff; }
.ph-av.c1 { background: linear-gradient(135deg, #FF7A45, #EE4A2B); } .ph-av.c2 { background: linear-gradient(135deg, #3A3B40, #141414); } .ph-av.c3 { background: linear-gradient(135deg, #39B27A, #1E8A58); }
.ph-lines i { display: block; height: 6px; border-radius: 9px; background: rgba(20,20,20,.12); }
.ph-lines i + i { width: 60%; margin-top: 5px; background: rgba(20,20,20,.07); }
.ph-chip { width: 10px; height: 10px; border-radius: 50%; background: rgba(20,20,20,.15); }
.ph-chip.ok { background: #2BA36B; }
.ph-fab { position: absolute; right: 16px; bottom: 18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #171719; color: #fff; box-shadow: 0 14px 24px -12px rgba(23,23,25,.9); }
.ph-fab .ico { width: 20px; height: 20px; }
.app-qr { position: absolute; left: -4px; bottom: 26px; display: grid; justify-items: center; gap: 8px; padding: 12px 12px 10px; border-radius: 20px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 40px -24px rgba(35,36,39,.55); font-size: 11.5px; font-weight: 600; color: var(--muted); animation: viewIn 1s var(--ease) .4s both; }
.app-qr .qr { width: 104px; }

/* ---------- Requests / Clients switch ---------- */
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 360px); margin-top: 28px; padding: 4px; border-radius: 999px; background: rgba(20,20,20,.06); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #fff; box-shadow: 0 6px 16px -8px rgba(35,36,39,.4), 0 1px 0 rgba(255,255,255,.9) inset; transition: transform .5s var(--ease); }
.seg.on-clients .seg-pill { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s; }
.seg button[aria-selected="true"] { color: var(--ink); }
.seg .ico { width: 16px; height: 16px; }
.seg + .card { margin-top: 12px; }

/* ---------- Clients ---------- */
.clients-card { margin-top: 12px; padding: 10px; }
.clients-head h3 { font-size: 18px; letter-spacing: -.02em; }
.clients-head p { font-size: 13.5px; margin-top: 2px; }
.clients { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.client {
  display: grid; gap: 16px; padding: 18px; border-radius: 22px; cursor: pointer;
  background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 36px -30px rgba(35,36,39,.55);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background-color .25s;
  animation: rowIn .6s var(--ease) both;
}
.client:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 28px 46px -30px rgba(35,36,39,.6); }
.client-top { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; }
.c-av { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; font-weight: 680; font-size: 15px; color: #fff; background: #171719; box-shadow: 0 10px 20px -12px rgba(23,23,25,.6); }
.c-av.c1 { background: linear-gradient(135deg, #FF7A45, #EE4A2B); } .c-av.c2 { background: linear-gradient(135deg, #3A3B40, #141414); }
.c-av.c3 { background: linear-gradient(135deg, #39B27A, #1E8A58); } .c-av.c4 { background: linear-gradient(135deg, #F0A04B, #D9741F); }
.client-who { min-width: 0; }
.client-who b, .client-who span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-who b { font-size: 15.5px; font-weight: 620; color: var(--ink-2); letter-spacing: -.01em; }
.client-who span { margin-top: 1px; font-size: 13px; color: var(--soft); }
.client-mid { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: rgba(20,20,20,.035); }
.ring-wrap { position: relative; width: 52px; height: 52px; }
.ring { width: 52px; height: 52px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; stroke-linecap: round; }
.ring-bg { stroke: rgba(20,20,20,.08); }
.ring-fg { stroke: var(--accent); transition: stroke-dashoffset 1s var(--ease); }
.ring.full .ring-fg { stroke: #2BA36B; }
.ring-n { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.client-facts b { display: block; font-size: 14.5px; font-weight: 620; color: var(--ink-2); }
.client-facts span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.client-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--soft); }
.client-foot .ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.client:hover .client-foot .ico { transform: translateX(3px); color: var(--ink); }
.clients-note { display: flex; align-items: center; gap: 8px; margin: 14px 8px 6px; font-size: 12.5px; color: var(--soft); }
.clients-note .ico { flex: none; width: 14px; height: 14px; }

/* Client drawer */
.c-hero { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.c-av.xl { width: 68px; height: 68px; border-radius: 22px; font-size: 22px; }
.c-hero h2 { margin-top: 0; }
.c-hero .muted { overflow-wrap: anywhere; }
.c-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.c-stats div { padding: 14px 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.c-stats b { display: block; font-size: 24px; letter-spacing: -.04em; font-weight: 640; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.c-stats span { display: block; margin-top: 2px; font-size: 12px; color: var(--soft); }
.c-reqs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.c-req { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.c-req:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -24px rgba(35,36,39,.5); }
.c-req-main { min-width: 0; }
.c-req-main b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-req .row-bar { margin-top: 8px; }
@media (max-width: 560px) {
  .seg { width: 100%; }
  .clients { grid-template-columns: 1fr; }
  .c-stats b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .ph-track span, .app-qr, .client { animation: none; }
}

/* Offscan Passport: one month of Pro offered with a new account. */
.gift-pill { margin: 14px 0 4px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(242, 90, 46, .10); color: var(--ink-2, #2E3034); font-size: 14px; font-weight: 600; }
.gift-pill .ico { width: 18px; height: 18px; color: var(--accent); flex: none; }
