/* ===== Linkopy UI 2026 — tokens ===== */
:root {
  /* Linkopy brand (10.10.2026): deep green #0b3033, lime #a9cf38, mist #eef2f5. Lime is a surface/accent colour —
     never text on a light background (contrast 1.7); text on lime is deep green. */
  --deep: #0b3033;
  --deep-2: #164a4e;
  --lime: #a9cf38;
  --lime-2: #98bf27;
  --lime-soft: #eef6d8;
  --lime-ink: #4a6b0c;
  --mist: #eef2f5;
  --ink: #0e2a2d;
  --ink-2: #36504f;
  --muted: #5c7072;
  --line: rgba(11, 48, 51, .09);
  --line-strong: rgba(11, 48, 51, .16);
  --paper: #ffffff;
  --surface: rgba(255, 255, 255, .72);
  --canvas: #eef2f5;
  --fill: rgba(11, 48, 51, .045);
  --brand: #0b3033;
  --brand-2: #a9cf38;
  --brand-3: #a9cf38;
  --brand-ink: #ffffff;
  --brand-soft: color-mix(in srgb, var(--brand) 11%, transparent);
  --accent: #a9cf38;
  --ok: #0e9f6e;
  --warn: #d98a00;
  --danger: #e0394a;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(17, 17, 24, .06);
  --shadow: 0 1px 2px rgba(17, 17, 24, .04), 0 6px 24px -6px rgba(17, 17, 24, .08);
  --shadow-lg: 0 2px 4px rgba(17, 17, 24, .04), 0 24px 48px -12px rgba(17, 17, 24, .16);
  --hi: inset 0 1px 0 rgba(255, 255, 255, .7);
  --ring: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Inter Variable", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, sans-serif;
  --mesh: radial-gradient(900px 500px at 0% -10%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 60%),
          radial-gradient(700px 420px at 100% 0%, color-mix(in srgb, var(--brand-3) 9%, transparent), transparent 60%);
  /* Film grain as an inline SVG (data: is allowed by img-src). */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef4f1; --ink-2: #c3d3d0; --muted: #8fa5a3;
    --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .14);
    --paper: #0f2a2d; --surface: rgba(15, 42, 45, .72); --canvas: #071b1d; --fill: rgba(255, 255, 255, .05);
    --brand: #b9dc52; --brand-2: #a9cf38; --brand-3: #2f7f78; --brand-ink: #0b3033;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px -8px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 28px 56px -14px rgba(0, 0, 0, .7);
    --hi: inset 0 1px 0 rgba(255, 255, 255, .06);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #eef4f1; --ink-2: #c3d3d0; --muted: #8fa5a3;
  --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .14);
  --paper: #0f2a2d; --surface: rgba(15, 42, 45, .72); --canvas: #071b1d; --fill: rgba(255, 255, 255, .05);
  --brand: #b9dc52; --brand-2: #a9cf38; --brand-3: #2f7f78; --brand-ink: #0b3033;
  --hi: inset 0 1px 0 rgba(255, 255, 255, .06);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-feature-settings: "cv11", "ss01", "ss03"; color: var(--ink); line-height: 1.5;
  background: var(--mesh), var(--canvas); background-attachment: fixed; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: color-mix(in srgb, var(--brand) 28%, transparent); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 750; }
p { margin: 0 0 1em; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 16px; }
[hidden] { display: none !important; }

/* ===== Buttons ===== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 10px 18px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-xs), var(--hi);
  font: 600 .93rem/1.2 var(--font); letter-spacing: -.005em; cursor: pointer; white-space: nowrap; text-decoration: none !important; isolation: isolate;
  transition: transform .35s var(--spring), box-shadow .25s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s; }
.btn:hover { border-color: color-mix(in srgb, var(--ink) 22%, transparent); box-shadow: var(--shadow), var(--hi); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn:focus-visible { box-shadow: var(--ring); border-radius: 999px; }
.btn-primary { border: 0; color: var(--brand-ink); background: linear-gradient(180deg, color-mix(in srgb, var(--brand-2) 85%, #fff) -40%, var(--brand) 55%, color-mix(in srgb, var(--brand) 85%, #000) 140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -1px 0 rgba(0, 0, 0, .12) inset, 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent), 0 1px 2px rgba(17, 17, 24, .2); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 -1px 0 rgba(0, 0, 0, .12) inset, 0 12px 28px -8px color-mix(in srgb, var(--brand) 75%, transparent), 0 1px 2px rgba(17, 17, 24, .2); filter: saturate(1.08) brightness(1.04); }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--fill); box-shadow: none; border-color: transparent; }
.btn-danger { color: var(--danger); }
.btn-danger:hover { background: color-mix(in srgb, var(--danger) 8%, var(--paper)); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.btn-sm { min-height: 34px; padding: 6px 13px; font-size: .84rem; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.02rem; }
.btn-icon { min-height: 0; padding: 0; width: 32px; height: 32px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; transform: none; filter: none; }

/* ===== Forms ===== */
label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 7px; color: var(--ink-2); }
.field { margin-bottom: 18px; }
.input, textarea.input, select.input { width: 100%; min-height: 44px; padding: 11px 14px; border: 1px solid transparent; border-radius: 12px; background: var(--fill);
  color: var(--ink); font: 400 .98rem/1.4 var(--font); outline: none; transition: background .2s var(--ease), border-color .2s, box-shadow .25s var(--ease); }
.input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.input:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.input:focus { background: var(--paper); border-color: var(--brand); box-shadow: var(--ring); }
select.input { appearance: none; padding-right: 40px; background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374748a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
textarea.input { resize: vertical; min-height: 96px; }
input[type="file"] { font: inherit; font-size: .88rem; color: var(--muted); }
input[type="file"]::file-selector-button { font: 600 .84rem var(--font); margin-right: 12px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); cursor: pointer; }
.input-prefix { display: flex; align-items: stretch; border: 1px solid transparent; border-radius: 12px; background: var(--fill); overflow: hidden; transition: box-shadow .25s var(--ease), background .2s; }
.input-prefix span { padding: 11px 0 11px 14px; color: var(--muted); white-space: nowrap; }
.input-prefix .input { border: 0; padding-left: 2px; border-radius: 0; box-shadow: none; background: transparent; }
.input-prefix:focus-within { background: var(--paper); border-color: var(--brand); box-shadow: var(--ring); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.error { color: var(--danger); font-size: .84rem; margin-top: 7px; font-weight: 500; }
.hint { color: var(--muted); font-size: .83rem; margin-top: 7px; }

.alert { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; font-size: .93rem;
  border: 1px solid transparent; animation: lz-drop .45s var(--spring) both; }
.alert::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.alert-ok { background: color-mix(in srgb, var(--ok) 10%, var(--paper)); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 22%, transparent); }
.alert-err { background: color-mix(in srgb, var(--danger) 8%, var(--paper)); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 22%, transparent); }

/* ===== Surfaces ===== */
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow), var(--hi); }
.card h2 { font-size: 1.08rem; letter-spacing: -.015em; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .01em;
  background: var(--fill); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.badge-ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, transparent); border-color: color-mix(in srgb, var(--ok) 20%, transparent); }
.badge-danger { color: var(--danger); background: color-mix(in srgb, var(--danger) 9%, transparent); border-color: color-mix(in srgb, var(--danger) 20%, transparent); }
.badge-ok::before, .badge-danger::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ===== Site header (marketing) ===== */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  background: color-mix(in srgb, var(--canvas) 72%, transparent); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.035em; text-decoration: none !important; }
.logo-mark { width: 30px; height: 30px; border-radius: 10px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-3) 60%, var(--accent) 100%); display: grid; place-items: center; color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 6px 14px -4px color-mix(in srgb, var(--brand) 60%, transparent); }
.logo-mark svg { width: 17px; height: 17px; }

/* ===== Landing ===== */
.hero { padding: 80px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 850; letter-spacing: -.05em; line-height: 1.02; }
.hero h1 em { font-style: normal; background: linear-gradient(95deg, var(--brand) 10%, var(--brand-3) 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 34em; }
.claim { display: flex; gap: 8px; max-width: 500px; margin-top: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow-lg), var(--hi); }
.claim .input-prefix { flex: 1; border: 0; background: transparent; }
.claim .input-prefix:focus-within { box-shadow: none; background: transparent; border-color: transparent; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual .phone { transform: rotate(-3deg); animation: lz-float 7s ease-in-out infinite; }
.features { padding: 48px 0 88px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { transition: transform .4s var(--spring), box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--hi); }
.feature .icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-3)); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 20px -8px var(--brand); }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; }
.feature p { color: var(--ink-2); margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .9rem; }

/* ===== Auth ===== */
.auth-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 440px; padding: 32px; box-shadow: var(--shadow-lg), var(--hi); }
.auth-card h1 { font-size: 1.85rem; }

/* ===== App shell (dashboard + admin) ===== */
.dash { display: grid; grid-template-columns: 264px minmax(0, 1fr) 392px; min-height: 100vh; }
.dash-nav { position: sticky; top: 12px; height: calc(100vh - 24px); margin: 12px 0 12px 12px; padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; scrollbar-width: none;
  background: var(--surface); backdrop-filter: saturate(1.6) blur(22px); -webkit-backdrop-filter: saturate(1.6) blur(22px);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow), var(--hi); }
.dash-nav::-webkit-scrollbar { display: none; }
.dash-nav .logo { padding: 4px 10px 16px; }
.nav-group { margin: 14px 12px 6px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nav-link { position: relative; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 12px; color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none !important;
  transition: background .2s var(--ease), color .2s, transform .3s var(--spring); }
.nav-link .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--fill); color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.nav-link svg { width: 17px; height: 17px; flex: none; }
.nav-link:hover { background: var(--fill); color: var(--ink); }
.nav-link:active { transform: scale(.98); }
.nav-link.active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-xs), 0 0 0 1px var(--line); }
.nav-link.active .ico { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-3)); box-shadow: 0 6px 14px -6px var(--brand); }
.nav-link .count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.dash-nav .bottom { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.dash-main { padding: 32px 36px 72px; min-width: 0; }
.dash-main > header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.dash-main > header h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; letter-spacing: -.035em; }
.dash-preview { position: sticky; top: 0; height: 100vh; padding: 28px 24px; overflow: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.share-bar { display: flex; align-items: center; gap: 8px; background: var(--surface); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; width: 100%; max-width: 320px; box-shadow: var(--shadow), var(--hi); }
.share-bar a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: .88rem; }
.mobile-nav { display: none; }
.nav-btn { width: 100%; border: 0; background: none; cursor: pointer; font: inherit; text-align: left; }

/* Lists of editable items */
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.link-list > li { min-width: 0; animation: lz-rise .5s var(--spring) backwards; }
.link-list > li:nth-child(2) { animation-delay: .03s; } .link-list > li:nth-child(3) { animation-delay: .06s; } .link-list > li:nth-child(4) { animation-delay: .09s; }
.link-list > li:nth-child(5) { animation-delay: .12s; } .link-list > li:nth-child(n+6) { animation-delay: .15s; }
.link-item { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-xs), var(--hi); transition: box-shadow .25s var(--ease), border-color .2s, transform .35s var(--spring); }
.link-item:hover { box-shadow: var(--shadow), var(--hi); border-color: var(--line-strong); }
.link-item[open] { box-shadow: var(--shadow-lg), var(--hi); }
.link-item.off { opacity: .55; }
.link-item summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.link-item summary::-webkit-details-marker { display: none; }
.link-item .grip { display: flex; flex-direction: column; gap: 0; }
.link-item .grip .btn-icon { width: 26px; height: 22px; border-radius: 7px; }
.link-item .meta { flex: 1; min-width: 0; }
.link-item .meta > strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.link-item .meta > span { display: block; color: var(--muted); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-item .clicks { color: var(--muted); font-size: .78rem; font-weight: 600; white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: var(--fill); font-variant-numeric: tabular-nums; }
.link-item .body { padding: 18px 16px 16px; border-top: 1px solid var(--line); }
.inline-form { display: inline; margin: 0; }
.switch { position: relative; width: 44px; height: 26px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 16%, transparent); border: 0; cursor: pointer; flex: none; padding: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12); transition: background .25s var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  transition: transform .45s var(--spring), width .2s; }
.switch:active::after { width: 24px; }
.switch.on { background: linear-gradient(135deg, #16b981, var(--ok)); }
.switch.on::after { transform: translateX(18px); }
.switch.on:active::after { transform: translateX(14px); }
.add-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; align-items: start; }
.add-form .field { margin: 0; }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); background: color-mix(in srgb, var(--paper) 50%, transparent); }

.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; }
.theme-opt { position: relative; }
.theme-opt input { position: absolute; opacity: 0; }
.theme-opt label { margin: 0; cursor: pointer; border: 1px solid var(--line); background: var(--paper); border-radius: 18px; padding: 8px; font-weight: 600; font-size: .84rem; text-align: center; color: var(--ink);
  transition: transform .35s var(--spring), box-shadow .25s, border-color .2s; }
.theme-opt label:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.theme-opt input:checked + label { border-color: var(--brand); box-shadow: var(--ring); }
.theme-opt input:focus-visible + label { box-shadow: var(--ring); }
.theme-swatch { height: 96px; border-radius: 12px; margin-bottom: 8px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 14px; background: var(--p-bg); }
.theme-swatch i { display: block; height: 12px; border-radius: 6px; background: var(--p-btn); border: 1px solid var(--p-btn-line); }
.avatar-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatar-lg { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg, var(--brand), var(--brand-3)); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 800; flex: none;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px color-mix(in srgb, var(--brand) 30%, transparent); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* KPI bento */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { overflow: hidden; }
.kpi .v { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi .l { color: var(--muted); font-size: .8rem; font-weight: 650; letter-spacing: .01em; }
.chart-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: .74rem; margin-top: 8px; font-variant-numeric: tabular-nums; }
.legend { display: flex; gap: 16px; font-size: .84rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Segmented controls */
.seg, .tabs { display: inline-flex; gap: 2px; padding: 4px; background: var(--fill); border: 1px solid var(--line); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs { display: flex; width: fit-content; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.seg::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
.seg a, .tabs a { padding: 7px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .86rem; white-space: nowrap; text-decoration: none !important; border: 0; margin: 0;
  transition: background .2s var(--ease), color .2s, box-shadow .25s; }
.seg a:hover, .tabs a:hover { color: var(--ink); }
.seg a.active, .tabs a.active { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-xs), 0 0 0 1px var(--line); }
.tabs .count { font-size: .7rem; background: var(--brand); color: #fff; border-radius: 999px; padding: 1px 7px; margin-left: 4px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; }
.table th, .table td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; background: var(--fill); border-bottom: 0; }
.table th:first-child { border-radius: 10px 0 0 10px; } .table th:last-child { border-radius: 0 10px 10px 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 30%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--danger) 4%, var(--paper)), var(--paper)); }

/* ===== Phone mockup ===== */
.phone { width: 300px; height: 612px; border-radius: 48px; padding: 11px; background: linear-gradient(145deg, #2b2a33, #0c0b10 60%); flex: none;
  box-shadow: 0 40px 80px -24px rgba(17, 17, 24, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 0 0 2px #1b1a21; position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 88px; height: 24px; margin-left: -44px; border-radius: 999px; background: #000; z-index: 2; }
.phone-screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden auto; scrollbar-width: none; }
.phone-screen::-webkit-scrollbar { display: none; }
.phone .lt { min-height: 100%; padding: 58px 16px 30px; font-size: .9rem; }
.phone .lt-avatar { width: 76px; height: 76px; font-size: 1.8rem; }
.phone .lt-name { font-size: 1.05rem; }
.phone .lt-btn { min-height: 48px; padding: 13px 40px; font-size: .86rem; }
.phone .lt-btn::after { right: 14px; }

/* ===== Public profile (themed) — 2026 ===== */
.lt { --bg: #f3f1ea; --fg: #16151d; --sub: #5e5b6b; --btn: #ffffff; --btn-fg: #16151d; --btn-line: rgba(22, 21, 29, .06);
  --btn-shadow: 0 1px 1px rgba(22, 21, 29, .04), 0 8px 24px -10px rgba(22, 21, 29, .18);
  --btn-hi: inset 0 1px 0 rgba(255, 255, 255, .8); --glow: rgba(169, 207, 56, .4);
  position: relative; isolation: isolate; background: var(--bg); color: var(--fg); min-height: 100vh; padding: 64px 16px 44px; display: flex; flex-direction: column; align-items: center; }
/* Film grain over every theme background */
.lt::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: .14; mix-blend-mode: overlay; }
.lt-inner { width: 100%; max-width: 580px; display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Avatar with gradient ring */
.lt-avatar { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; display: grid; place-items: center; font-size: 2.4rem; font-weight: 800;
  background: var(--btn); color: var(--btn-fg); padding: 0;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px color-mix(in srgb, var(--fg) 16%, transparent), 0 18px 40px -16px rgba(0, 0, 0, .45);
  animation: lz-pop .6s var(--spring) both; }
.lt-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; overflow-wrap: anywhere; animation: lz-rise .6s var(--spring) .05s backwards; }
.lt-bio { color: var(--sub); margin: 0 0 20px; max-width: 30em; white-space: pre-line; overflow-wrap: anywhere; font-size: .97rem; animation: lz-rise .6s var(--spring) .1s backwards; }

/* Social icons in glass chips */
.lt-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; animation: lz-rise .6s var(--spring) .14s backwards; }
.lt-socials a { width: 42px; height: 42px; display: grid; place-items: center; color: var(--fg); border-radius: 14px;
  background: color-mix(in srgb, var(--fg) 7%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .4s var(--spring), background .2s; }
.lt-socials a:hover { transform: translateY(-3px) scale(1.06); background: color-mix(in srgb, var(--fg) 13%, transparent); }
.lt-socials a:active { transform: scale(.94); }
.lt-socials svg { width: 21px; height: 21px; }

/* Link buttons */
.lt-links { width: 100%; display: grid; gap: 12px; }
.lt-links > * { animation: lz-rise .6s var(--spring) backwards; }
.lt-links > :nth-child(1) { animation-delay: .18s; } .lt-links > :nth-child(2) { animation-delay: .22s; } .lt-links > :nth-child(3) { animation-delay: .26s; }
.lt-links > :nth-child(4) { animation-delay: .3s; } .lt-links > :nth-child(5) { animation-delay: .34s; } .lt-links > :nth-child(6) { animation-delay: .38s; }
.lt-links > :nth-child(n+7) { animation-delay: .42s; }
.lt-btn { position: relative; display: block; width: 100%; min-height: 58px; padding: 17px 52px; background: var(--btn); color: var(--btn-fg) !important;
  border: 1px solid var(--btn-line); box-shadow: var(--btn-shadow), var(--btn-hi); border-radius: 18px; overflow: hidden; isolation: isolate;
  font-weight: 650; font-size: .98rem; letter-spacing: -.01em; line-height: 1.35; text-decoration: none !important; overflow-wrap: anywhere; cursor: pointer;
  transition: transform .45s var(--spring), box-shadow .3s var(--ease), background-color .2s; -webkit-tap-highlight-color: transparent; }
/* Sheen that sweeps across on hover */
.lt-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 66%); transform: translateX(-110%); transition: transform .8s var(--ease); }
/* Trailing arrow, appears on hover */
.lt-btn::after { content: ""; position: absolute; right: 20px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: currentColor; opacity: 0; transform: translateX(-6px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity .25s, transform .45s var(--spring); }
.lt-btn:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 18px 36px -14px rgba(0, 0, 0, .35), var(--btn-hi); }
.lt-btn:hover::before { transform: translateX(110%); }
.lt-btn:hover::after { opacity: .7; transform: translateX(0); }
.lt-btn:active { transform: translateY(0) scale(.975); transition-duration: .1s; }
.lt-btn:focus-visible { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--fg); }
.lt-btn small { display: block; font-weight: 600; opacity: .62; font-size: .76em; margin-top: 3px; letter-spacing: 0; }
summary.lt-btn::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); opacity: .5; transform: none; }
.lt-block[open] > summary.lt-btn::after { transform: rotate(180deg); }

/* ---- Button styles ---- */
.btn-style-pill .lt-btn { border-radius: 999px; }
.btn-style-square .lt-btn { border-radius: 4px; }
.btn-style-outline .lt-btn { background: transparent; color: var(--fg) !important; border: 1.5px solid var(--fg); box-shadow: none; }
.btn-style-outline .lt-btn:hover { background: var(--cta); color: var(--cta-fg) !important; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .4); }
/* Liquid glass: translucent, blurred, specular rim */
.btn-style-glass .lt-btn { border-radius: 22px; color: var(--fg) !important;
  background: linear-gradient(180deg, color-mix(in srgb, #fff 26%, transparent), color-mix(in srgb, #fff 8%, transparent));
  border: 1px solid rgba(255, 255, 255, .38); backdrop-filter: blur(18px) saturate(1.8); -webkit-backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(255, 255, 255, .12), 0 10px 30px -12px rgba(0, 0, 0, .35); }
.btn-style-glass .lt-btn:hover { background: linear-gradient(180deg, color-mix(in srgb, #fff 34%, transparent), color-mix(in srgb, #fff 12%, transparent)); }
.btn-style-glass .lt-avatar, .btn-style-glass .lt-embed, .btn-style-glass .lt-product, .btn-style-glass .lt-form { backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); }
/* Soft 3D / tactile */
.btn-style-soft .lt-btn { border-radius: 20px; border: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--btn) 100%, #fff 18%), var(--btn));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), inset 0 -3px 0 rgba(0, 0, 0, .1), 0 1px 0 rgba(0, 0, 0, .06), 0 10px 22px -10px rgba(0, 0, 0, .4); }
.btn-style-soft .lt-btn:active { box-shadow: inset 0 3px 6px rgba(0, 0, 0, .15), 0 1px 0 rgba(0, 0, 0, .04); transform: translateY(2px) scale(.99); }
/* Neo-brutal */
.btn-style-brutal .lt-btn { border-radius: 10px; border: 2px solid #0b0b0f; background: var(--btn); box-shadow: 5px 5px 0 #0b0b0f; font-weight: 800; }
.btn-style-brutal .lt-btn::before { display: none; }
.btn-style-brutal .lt-btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #0b0b0f; }
.btn-style-brutal .lt-btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 #0b0b0f; }

.lt-empty { color: var(--sub); font-size: .9rem; }
.lt-foot { margin-top: 44px; animation: lz-rise .6s var(--spring) .5s backwards; }
.lt-foot a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; font-weight: 700; font-size: .78rem; text-decoration: none !important;
  background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--fg); border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .4s var(--spring); }
.lt-foot a:hover { transform: translateY(-2px); }

/* ---- Themes ---- */
.theme-classic  { --bg: #f3f1ea; --fg: #16151d; --sub: #5e5b6b; --btn: #ffffff; --btn-fg: #16151d; }
.theme-midnight { --bg: radial-gradient(120% 80% at 20% 0%, #33268a 0%, #120f2b 45%, #07060d 100%); --fg: #f4f2ff; --sub: #aaa5c7;
  --btn: rgba(255, 255, 255, .07); --btn-fg: #f4f2ff; --btn-line: rgba(255, 255, 255, .12); --btn-hi: inset 0 1px 0 rgba(255, 255, 255, .1); --btn-shadow: 0 12px 30px -16px rgba(0, 0, 0, .8); }
.theme-sunset   { --bg: linear-gradient(160deg, #b93a0a 0%, #be185d 45%, #6d28d9 100%); --fg: #ffffff; --sub: rgba(255, 255, 255, .92);
  --btn: #ffffff; --btn-fg: #2b1a3d; --btn-line: transparent; --btn-shadow: 0 14px 30px -14px rgba(70, 10, 70, .5); }
.theme-forest   { --bg: radial-gradient(100% 70% at 50% 0%, #2d5a40 0%, #1a3326 60%, #11231a 100%); --fg: #eef7ea; --sub: #b7d0b9;
  --btn: #d6f28a; --btn-fg: #1a3326; --btn-line: transparent; --btn-shadow: 0 4px 0 #8fae45, 0 14px 26px -12px rgba(0, 0, 0, .5); }
.theme-ocean    { --bg: linear-gradient(180deg, #e3f7ff 0%, #9bd9f6 60%, #62bde8 100%); --fg: #06324a; --sub: #1f4a60;
  --btn: #06324a; --btn-fg: #ffffff; --btn-line: transparent; --btn-hi: inset 0 1px 0 rgba(255, 255, 255, .15); --btn-shadow: 0 14px 30px -14px rgba(6, 50, 74, .6); }
.theme-mono     { --bg: #ffffff; --fg: #0a0a0a; --sub: #666666; --btn: #ffffff; --btn-fg: #0a0a0a; --btn-line: #0a0a0a; --btn-hi: 0 0 #0000; --btn-shadow: 4px 4px 0 #0a0a0a; }
/* Slow-moving aurora for gradient themes */
.theme-sunset, .theme-ocean, .theme-aurora, .theme-pastel { background-size: 160% 160%; animation: lz-aurora 18s ease-in-out infinite alternate; }
.theme-swatch.theme-classic, .theme-swatch.theme-midnight, .theme-swatch.theme-sunset, .theme-swatch.theme-forest, .theme-swatch.theme-ocean, .theme-swatch.theme-mono { --p-bg: var(--bg); --p-btn: var(--btn); --p-btn-line: var(--btn-line); animation: none; }

/* ===== Motion ===== */
@keyframes lz-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes lz-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes lz-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes lz-float { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-12px); } }
@keyframes lz-aurora { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ===== Misc helpers ===== */
.mt { margin-top: 16px; }
.center { text-align: center; }
.grow { flex: 1; min-width: 180px; width: auto; }
.nowrap { flex-wrap: nowrap; justify-content: flex-end; gap: 6px; }
.kpis-4 { grid-template-columns: repeat(4, 1fr); }
.chart-svg { width: 100%; height: 190px; display: block; margin-top: 14px; }
.chart-svg rect { transition: opacity .2s; }
.chart-svg:hover rect { opacity: .55; }
.chart-svg rect:hover { opacity: 1; }
.chart-svg .bar-v { fill: color-mix(in srgb, var(--brand) 26%, var(--paper)); }
.chart-svg .bar-c { fill: var(--brand); }
.legend .lg-v { background: color-mix(in srgb, var(--brand) 26%, var(--paper)); }
.legend .lg-c { background: var(--brand); }
.progress-svg { display: block; width: 100%; max-width: 320px; height: 6px; margin-top: 6px; }
.progress-svg .track { fill: var(--fill); }
.progress-svg .fill { fill: var(--brand); }
.lt-foot svg { width: 16px; height: 16px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.codes { columns: 2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; padding: 12px 16px 12px 32px; background: var(--fill); border-radius: 12px; }
.secret { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; word-break: break-all; }
.legal fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.legal fieldset legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.legal fieldset .check { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; }
.report-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.report-row:last-child { border-bottom: 0; }
.report-row .row { flex-wrap: wrap; gap: 8px; }
.pre-line { white-space: pre-line; }
.verify-banner { justify-content: space-between; flex-wrap: wrap; }
.warn-card { max-width: 520px; margin: 12vh auto; padding: 32px 24px; text-align: center; }
.lt-report { margin: 18px 0 0; font-size: .72rem; opacity: .7; }
.lt-report a { color: inherit; }

/* Link form: normal vs app link (pure CSS toggle) */
.type-switch { display: inline-flex; background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-bottom: 16px; }
.type-switch input { position: absolute; opacity: 0; pointer-events: none; }
.type-switch label { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 14px; border-radius: 999px; cursor: pointer; color: var(--ink-2); font-size: .88rem; }
.type-switch label svg { width: 16px; height: 16px; }
.type-switch input:checked + label { background: var(--brand); color: var(--brand-ink); box-shadow: var(--shadow); }
.type-switch input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 1px; }
.type-switch { flex-wrap: wrap; border-radius: 16px; }
.link-form .app-fields, .link-form .map-fields, .link-form .lbl-app, .link-form .lbl-embed, .link-form .lock-pw { display: none; }
.link-form:has(input[name="type"][value="app"]:checked) .app-fields { display: block; }
.link-form:has(input[name="type"][value="app"]:checked) .lbl-app { display: inline; }
.link-form:has(input[name="type"][value="embed"]:checked) .lbl-embed { display: inline; }
.link-form:has(input[name="type"][value="embed"]:checked) div.lbl-embed { display: block; }
.link-form:has(input[name="type"][value="app"]:checked) .lbl-url,
.link-form:has(input[name="type"][value="embed"]:checked) .lbl-url { display: none; }
.link-form:has(input[name="type"][value="map"]:checked) .map-fields { display: block; }
.link-form:has(input[name="type"][value="map"]:checked) .url-field,
.link-form:has(input[name="type"][value="map"]:checked) .clickable-only,
.link-form:has(input[name="type"][value="embed"]:checked) .clickable-only { display: none; }
.link-form:has(select[name="lock_type"] option[value="password"]:checked) .lock-pw { display: block; }
.link-form:has(input[name="type"][value="map"]:checked) .lock-pw,
.link-form:has(input[name="type"][value="embed"]:checked) .lock-pw { display: none; }
.advanced { border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; margin-bottom: 16px; }
.advanced summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.advanced[open] summary { margin-bottom: 4px; }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.link-item .meta .badge { font-size: .68rem; padding: 0 7px; margin-right: 4px; vertical-align: 1px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: var(--canvas); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
pre.code { background: #16151d; color: #e9e6f5; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: .82rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 8px 0 16px; white-space: pre; }
.key-box { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: color-mix(in srgb, var(--ok) 10%, var(--paper)); border: 1px solid color-mix(in srgb, var(--ok) 40%, var(--line)); padding: 12px; border-radius: 12px; margin-bottom: 12px; }
.key-box code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .9rem; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 36px; margin-bottom: 12px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.manual-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 0 12px; }
.lt-btn small { display: block; font-weight: 600; opacity: .7; font-size: .75em; margin-top: 2px; }
.chooser-stores { display: grid; gap: 12px; width: 100%; }
@media (max-width: 860px) { .store-grid, .manual-grid, .adv-grid { grid-template-columns: 1fr; } }
.btn-icon svg, .btn svg { width: 16px; height: 16px; }
.kpi .v-sm { font-size: 1.1rem; } .kpi .cur { font-size: .55em; color: var(--muted); font-weight: 700; }
/* Embeds */
.lt-embed { margin: 0; width: 100%; background: var(--btn); border: 1px solid var(--btn-line); box-shadow: var(--btn-shadow), var(--btn-hi); border-radius: 20px; overflow: hidden; }
.lt-embed iframe { display: block; width: 100%; border: 0; aspect-ratio: 16 / 9; background: #000; }
.lt-embed-spotify iframe { aspect-ratio: auto; height: 152px; background: transparent; }
.lt-embed-tiktok iframe { aspect-ratio: 9 / 16; max-height: 740px; }
.lt-embed-map iframe { aspect-ratio: 4 / 3; background: #e8e8e8; }
.lt-embed figcaption { padding: 10px 14px; font-weight: 700; color: var(--btn-fg); font-size: .9rem; }
.lt-embed-ph { display: flex; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 16 / 9; background: rgba(0,0,0,.08); color: var(--btn-fg); font-weight: 700; }
.lt-embed-ph svg { width: 22px; height: 22px; }
.lt-embed-spotify .lt-embed-ph { aspect-ratio: auto; height: 80px; }
.btn-style-pill .lt-embed { border-radius: 24px; }
.btn-style-square .lt-embed { border-radius: 2px; }
/* Highlighted links */
.lt-btn { position: relative; }
.lt-lock { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); opacity: .6; display: inline-flex; }
.lt-lock svg { width: 16px; height: 16px; }
.hl-pulse { animation: lz-pulse 1.8s ease-in-out infinite; }
.hl-shake { animation: lz-shake 3.2s ease-in-out infinite; }
.hl-glow { animation: lz-glow 2.2s ease-in-out infinite; }
@keyframes lz-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes lz-shake { 0%, 84%, 100% { transform: rotate(0); } 87% { transform: rotate(-2.5deg); } 90% { transform: rotate(2.5deg); } 93% { transform: rotate(-1.5deg); } 96% { transform: rotate(1.5deg); } }
@keyframes lz-glow { 0%, 100% { box-shadow: var(--btn-shadow), 0 0 0 0 rgba(255, 190, 60, 0); } 50% { box-shadow: var(--btn-shadow), 0 0 22px 4px rgba(255, 190, 60, .75); } }
@media (prefers-reduced-motion: reduce) { .hl-pulse, .hl-shake, .hl-glow { animation: none; outline: 3px solid rgba(255, 190, 60, .8); outline-offset: 2px; } }
/* vCard button */
.lt-save { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  color: var(--fg); border: 2px solid currentColor; text-decoration: none !important; }
.lt-save svg { width: 18px; height: 18px; }
/* Lock screen */
.lock-card { width: 100%; background: var(--btn); color: var(--btn-fg); border: 1px solid var(--btn-line); border-radius: 24px; padding: 26px; box-shadow: var(--btn-shadow), var(--btn-hi); text-align: left; animation: lz-rise .6s var(--spring) both; }
.lock-card .lock-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.08); margin: 0 auto 12px; }
.lock-card .lock-icon svg { width: 22px; height: 22px; }
.lock-card h2 { text-align: center; font-size: 1.1rem; }
.lock-card p { text-align: center; opacity: .8; }
.lock-card .input { background: #fff; color: #16151d; }
.lock-card .error { color: #d93b3b; }
.lock-card .btn { width: 100%; margin-top: 8px; background: var(--cta); color: var(--cta-fg); border: 0; }
.theme-sunset .lock-card .btn, .theme-midnight .lock-card .btn, .theme-forest .lock-card .btn, .theme-ocean .lock-card .btn { background: #16151d; color: #fff; }
/* Consent banner */
.lz-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin: 0 auto; background: #16151d; color: #f2f0f8; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: .88rem; z-index: 50; }
.lz-consent p { margin: 0; flex: 1 1 240px; }
.lz-consent button { border: 0; border-radius: 999px; padding: 8px 14px; font: 600 .85rem var(--font); cursor: pointer; }
.lz-consent .yes { background: #fff; color: #16151d; }
.lz-consent .no { background: transparent; color: #c9c5d8; border: 1px solid #4a4858; }
/* Share page */
.qr-grid { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.qr-img { width: 200px; height: 200px; background: #fff; border-radius: 16px; padding: 10px; border: 1px solid var(--line); }
.qr-small { width: 56px; height: 56px; background: #fff; border-radius: 8px; padding: 3px; border: 1px solid var(--line); flex: none; }
.qr-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.qr-row:last-child { border-bottom: 0; }
.qr-row .meta { flex: 1; min-width: 0; }
.qr-row .meta strong, .qr-row .meta span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 860px) { .qr-grid, .contact-grid { grid-template-columns: 1fr; } .qr-img { margin: 0 auto; } }
/* Profile extras: shop, tip, forms */
.lt-extras { margin-top: 14px; }
.lt-extras:empty { display: none; }
.lt-section { font-size: 1rem; margin: 10px 0 4px; }
.lt-shop { width: 100%; }
.lt-products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lt-product { background: var(--btn); color: var(--btn-fg); border: 1px solid var(--btn-line); box-shadow: var(--btn-shadow), var(--btn-hi); border-radius: 20px; transition: transform .45s var(--spring), box-shadow .3s; overflow: hidden; display: flex; flex-direction: column; text-align: left; }
.lt-product img, .lt-product-ph { width: 100%; aspect-ratio: 1; object-fit: cover; background: rgba(0,0,0,.06); }
.lt-product-ph { display: grid; place-items: center; font-size: 2rem; font-weight: 800; opacity: .5; }
.lt-product-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.lt-product h3 { font-size: .92rem; margin: 0; overflow-wrap: anywhere; }
.lt-product p { font-size: .8rem; opacity: .75; margin: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lt-price { font-weight: 800; font-size: .95rem; }
.lt-buy { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 10px; border-radius: 12px; transition: transform .4s var(--spring), filter .2s; background: var(--cta); color: var(--cta-fg) !important; font-weight: 700; font-size: .8rem; text-decoration: none !important; text-align: center; }
.theme-sunset .lt-buy, .theme-midnight .lt-buy, .theme-ocean .lt-buy, .theme-forest .lt-buy { background: #16151d; color: #fff !important; }
.lt-buy svg { width: 15px; height: 15px; }
.lt-buy-wa { background: #25d366 !important; color: #07361b !important; }
.lt-block { width: 100%; }
.lt-block > summary { list-style: none; cursor: pointer; }
.lt-block > summary::-webkit-details-marker { display: none; }
.lt-block[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.lt-form, .lt-ok { background: var(--btn); color: var(--btn-fg); border: 1px solid var(--btn-line); border-top: 0; border-radius: 0 0 18px 18px; padding: 14px; display: grid; gap: 10px; text-align: left; margin: 0; }
.lt-form .input { background: #fff; color: #16151d; border-color: rgba(0,0,0,.12); }
.lt-form .btn { background: var(--cta); color: var(--cta-fg); border: 0; width: 100%; }
.theme-sunset .lt-form .btn, .theme-midnight .lt-form .btn, .theme-ocean .lt-form .btn, .theme-forest .lt-form .btn { background: #16151d; color: #fff; }
.lt-form .error { color: #d93b3b; margin: 0; }
.lt-ok { font-weight: 700; text-align: center; }
.lt-consent { display: flex; gap: 8px; font-size: .78rem; font-weight: 500; margin: 0; opacity: .85; align-items: flex-start; }
.lt-consent input { margin-top: 2px; }
.lt-amounts { display: flex; gap: 8px; flex-wrap: wrap; }
.lt-amounts label { margin: 0; flex: 1; }
.lt-amounts input { position: absolute; opacity: 0; }
.lt-amounts span { display: block; text-align: center; padding: 10px; border-radius: 10px; border: 2px solid rgba(0,0,0,.15); font-weight: 800; cursor: pointer; }
.lt-amounts input:checked + span { background: var(--cta); color: var(--cta-fg); border-color: var(--cta); }
.lt-amounts input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 2px; }
.lt-note { font-size: .8rem; opacity: .8; }
.phone .lt-products { gap: 8px; }
.phone .lt-product-body { padding: 8px; }
.lt-form-card { border-top: 1px solid var(--btn-line); border-radius: 20px; width: 100%; margin-top: 14px; box-shadow: var(--btn-shadow); }
.lt-form-card label { margin: 0; font-size: .82rem; }
.lt-product-lg { width: 100%; }
.lt-product-lg img { aspect-ratio: 4 / 3; }
.lt-product-lg .lt-name { font-size: 1.2rem; }
.lt-desc { white-space: pre-line; }
.lock-card .btn { display: flex; text-decoration: none !important; }
.bk-step { width: 100%; text-align: left; margin-bottom: 8px; }
.bk-list, .bk-slots { display: grid; gap: 8px; }
.bk-slots { grid-template-columns: repeat(4, 1fr); }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.bk-opt, .bk-day, .bk-slot { background: var(--btn); color: var(--btn-fg) !important; border: 2px solid var(--btn-line); box-shadow: var(--btn-shadow); border-radius: 12px; text-decoration: none !important; }
.bk-opt { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; }
.bk-opt span { opacity: .7; font-size: .85rem; white-space: nowrap; }
.bk-day { flex: none; width: 58px; padding: 8px 0; display: flex; flex-direction: column; align-items: center; }
.bk-day strong { font-size: 1.2rem; }
.bk-day small { font-size: .7rem; opacity: .7; }
.bk-slot { text-align: center; padding: 10px 0; font-weight: 700; }
.bk-opt.on, .bk-day.on, .bk-slot.on { outline: 3px solid var(--fg); outline-offset: 1px; }
.product-form .kind-link, .product-form .kind-digital { display: none; }
.product-form:has(input[name="kind"][value="link"]:checked) .kind-link { display: block; }
.product-form:has(input[name="kind"][value="digital"]:checked) .kind-digital { display: block; }
.thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--canvas); }
.thumb-ph { display: grid; place-items: center; font-weight: 800; color: var(--muted); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 14px; font-weight: 600; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none !important; }
.tabs a.active { color: var(--brand); border-bottom-color: var(--brand); }
.tabs .count { font-size: .75rem; background: var(--brand); color: #fff; border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.msg { border-bottom: 1px solid var(--line); padding: 14px 0; }
.msg:last-child { border-bottom: 0; }
.msg.unread strong.who::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 6px; vertical-align: 1px; }
.msg-body { white-space: pre-line; overflow-wrap: anywhere; margin: 8px 0; }
.hours-grid { display: grid; grid-template-columns: 160px 1fr; gap: 8px 12px; align-items: center; }
@media (max-width: 860px) { .hours-grid { grid-template-columns: 1fr; } }
.w-sm { width: 110px; flex: none; }
.svc-row { padding: 8px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .w-sm { width: 90px; } }
/* Premium themes */
.theme-aurora { --bg: linear-gradient(135deg, #0f2027 0%, #203a43 40%, #2c5364 70%, #6a3093 100%); --fg: #eafcff; --sub: #b6d9e0; --btn: rgba(255,255,255,.1); --btn-fg: #eafcff; --btn-line: rgba(160,255,230,.35); --btn-shadow: 0 0 18px rgba(120,255,220,.15); }
.theme-noir { --bg: radial-gradient(circle at 50% 0%, #2a2418 0%, #0b0a08 70%); --fg: #f3e7c9; --sub: #b9a77f; --btn: transparent; --btn-fg: #f3e7c9; --btn-line: #c9a54c; --btn-shadow: none; }
.theme-pastel { --bg: linear-gradient(180deg, #fde2f3 0%, #e0e7ff 50%, #d1fae5 100%); --fg: #3b2f4a; --sub: #6b5c7b; --btn: rgba(255,255,255,.75); --btn-fg: #3b2f4a; --btn-line: transparent; --btn-shadow: 0 4px 14px rgba(120,90,160,.12); }
.theme-neon { --bg: #07060d; --fg: #f7f7ff; --sub: #a7a4c7; --btn: #07060d; --btn-fg: #39ff14; --btn-line: #39ff14; --btn-shadow: 0 0 12px rgba(57,255,20,.45), inset 0 0 8px rgba(57,255,20,.2); }
.theme-swatch.theme-aurora, .theme-swatch.theme-noir, .theme-swatch.theme-pastel, .theme-swatch.theme-neon { --p-bg: var(--bg); --p-btn: var(--btn); --p-btn-line: var(--btn-line); }
.theme-opt label.locked { opacity: .55; cursor: not-allowed; }
/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.plan-card.current { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.plan-card .price { font-size: 2rem; font-weight: 850; letter-spacing: -.03em; }
.plan-card .price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .92rem; }
.plan-card li::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.plan-card li.off { color: var(--muted); }
.plan-card li.off::before { content: "— "; color: var(--muted); }
.plan-card form { margin-top: auto; display: grid; gap: 8px; }
.ribbon { position: absolute; top: -10px; right: 16px; }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 20px; }
.bar-row { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: .92rem; }
.bar-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upsell { background: color-mix(in srgb, var(--brand) 8%, var(--paper)); }
.w-md { width: 180px; flex: none; }
.adm-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0 10px; }
@media (max-width: 1180px) { .adm-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .adm-grid { grid-template-columns: 1fr 1fr; } .w-md { width: 100%; } }

/* ===== 2026 extras ===== */
.lt-product:hover { transform: translateY(-3px); }
.lt-buy:hover { transform: translateY(-1px); filter: brightness(1.08); }
.lt-buy:active { transform: scale(.96); }
.lt-lock { left: 18px; }
.btn-style-glass .lt-form, .btn-style-glass .lt-ok, .btn-style-glass .lt-product, .btn-style-glass .lt-embed, .btn-style-glass .lock-card {
  background: linear-gradient(180deg, color-mix(in srgb, #fff 24%, transparent), color-mix(in srgb, #fff 8%, transparent)); color: var(--fg); border-color: rgba(255, 255, 255, .35); }
.btn-style-brutal .lt-product, .btn-style-brutal .lt-embed, .btn-style-brutal .lock-card { border: 2px solid #0b0b0f; box-shadow: 5px 5px 0 #0b0b0f; border-radius: 10px; }

/* ===== Responsive ===== */
@media (max-width: 1280px) {
  .dash { grid-template-columns: 248px minmax(0, 1fr); }
  .dash-preview { display: none; }
}
@media (max-width: 860px) {
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features { grid-template-columns: 1fr; padding-top: 16px; }
  .claim { flex-direction: column; border-radius: 22px; }
  .claim .btn { width: 100%; }

  .dash { grid-template-columns: 1fr; }
  .dash-nav { display: none; }
  .dash-main { padding: 22px 16px 120px; }
  /* Floating glass tab bar at the bottom (thumb-reachable) */
  .mobile-nav { display: flex; position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 30; gap: 2px; padding: 6px;
    overflow-x: auto; scrollbar-width: none; align-items: stretch; border-radius: 22px;
    background: var(--surface); backdrop-filter: saturate(1.8) blur(24px); -webkit-backdrop-filter: saturate(1.8) blur(24px);
    border: 1px solid var(--line); box-shadow: var(--shadow-lg), var(--hi); }
  .mobile-nav::-webkit-scrollbar { display: none; }
  .mobile-nav .nav-link { flex-direction: column; gap: 3px; padding: 6px 10px; min-width: 64px; font-size: .66rem; font-weight: 650; border-radius: 16px; white-space: nowrap; text-align: center; }
  .mobile-nav .nav-link .ico { width: 30px; height: 26px; background: transparent; }
  .mobile-nav .nav-link.active { box-shadow: none; background: var(--fill); }
  .mobile-nav .nav-link .count { position: absolute; top: 2px; right: 8px; margin: 0; min-width: 16px; height: 16px; font-size: .6rem; }

  .add-form { grid-template-columns: 1fr; }
  .kpis, .kpis-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 16px; }
  .kpi .v { font-size: 1.5rem; }
  .social-grid { grid-template-columns: 1fr; }
  .card { padding: 18px; border-radius: 20px; }
  .tabs, .seg { width: 100%; }
}
.nav-upsell { display: block; margin: 0 4px 10px; padding: 12px 14px; border-radius: 16px; color: #fff !important; text-decoration: none !important; font-size: .8rem; line-height: 1.35;
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand-3) 75%, transparent), transparent 55%), linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #140a4a));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 28px -14px var(--brand); transition: transform .4s var(--spring); }
.nav-upsell:hover { transform: translateY(-2px); }
.nav-upsell strong { display: block; font-size: .92rem; margin-bottom: 2px; }
.nav-upsell span { opacity: .8; }
.mobile-nav .nav-link { position: relative; }
/* Button style picker */
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.style-opt { position: relative; }
.style-opt input { position: absolute; opacity: 0; }
.style-opt label { margin: 0; cursor: pointer; border: 1px solid var(--line); background: var(--paper); border-radius: 18px; padding: 8px; text-align: center; font-size: .84rem; color: var(--ink);
  transition: transform .35s var(--spring), box-shadow .25s, border-color .2s; }
.style-opt label:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.style-opt input:checked + label { border-color: var(--brand); box-shadow: var(--ring); }
.style-opt input:focus-visible + label { box-shadow: var(--ring); }
.style-sample { display: flex; min-height: 0; padding: 18px 12px; border-radius: 12px; margin-bottom: 8px; pointer-events: none; }
.style-sample .lt-btn { min-height: 0; padding: 10px 12px; font-size: .8rem; animation: none; }
.style-sample .lt-btn::after { display: none; }
.style-sample::before { opacity: .1; }

/* ===== UX fixes from flow test ===== */
/* 1. Themed pages must inherit the theme colour, not the app's label colour. */
.lt label, .lt .check { color: inherit; }
/* Primary call-to-action colour per theme (high contrast on that theme's cards). */
.lt { --cta: #16151d; --cta-fg: #ffffff; }
.theme-midnight { --cta: #ffffff; --cta-fg: #120f2b; }
.theme-sunset   { --cta: #2b1a3d; --cta-fg: #ffffff; }
.theme-forest   { --cta: #d6f28a; --cta-fg: #1a3326; }
.theme-ocean    { --cta: #06324a; --cta-fg: #ffffff; }
.theme-mono     { --cta: #0a0a0a; --cta-fg: #ffffff; }
.theme-aurora   { --cta: #a0ffe6; --cta-fg: #0f2027; }
.theme-noir     { --cta: #c9a54c; --cta-fg: #0b0a08; }
.theme-pastel   { --cta: #3b2f4a; --cta-fg: #ffffff; }
.theme-neon     { --cta: #39ff14; --cta-fg: #07060d; }
.lt .lt-form .btn, .lt .lock-card .btn, .theme-sunset .lt-form .btn, .theme-midnight .lt-form .btn, .theme-ocean .lt-form .btn, .theme-forest .lt-form .btn,
.theme-sunset .lock-card .btn, .theme-midnight .lock-card .btn, .theme-forest .lock-card .btn, .theme-ocean .lock-card .btn {
  background: var(--cta); color: var(--cta-fg); border: 0; box-shadow: 0 10px 24px -12px var(--cta), inset 0 1px 0 rgba(255, 255, 255, .25); font-weight: 700; }
.lt .lt-buy:not(.lt-buy-wa), .theme-sunset .lt-buy:not(.lt-buy-wa), .theme-midnight .lt-buy:not(.lt-buy-wa), .theme-ocean .lt-buy:not(.lt-buy-wa), .theme-forest .lt-buy:not(.lt-buy-wa) {
  background: var(--cta); color: var(--cta-fg) !important; }
.lt-amounts span { color: inherit; border-color: color-mix(in srgb, currentColor 28%, transparent); background: color-mix(in srgb, currentColor 6%, transparent); }
.lt-amounts input:checked + span { background: var(--cta); color: var(--cta-fg); border-color: var(--cta); }
.lt-consent { opacity: 1; color: inherit; }
.lt-consent, .lt-note { color: color-mix(in srgb, currentColor 82%, transparent); }
.bk-opt.on, .bk-day.on, .bk-slot.on { outline-color: var(--cta); }
/* Anchor targets land below the top edge. */
.lt [id], .bk-step, .lt-form-card { scroll-margin-top: 24px; }
/* 13. Link list meta: badges and URL may wrap on phones. */
.link-item .meta > span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.5; }
/* 16. Bottom bar: fade hint that more items scroll in. */
@media (max-width: 860px) {
  .mobile-nav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}
/* 12. Password reveal */
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover { background: var(--fill); color: var(--ink); }
.pw-toggle svg { width: 18px; height: 18px; }
/* 5. Live username check */
.name-status { font-size: .83rem; margin-top: 7px; font-weight: 600; min-height: 1.2em; }
.name-status.ok { color: var(--ok); }
.name-status.bad { color: var(--danger); }
/* 9. Onboarding checklist */
.onboard { margin-bottom: 18px; }
.onboard .bar { height: 8px; border-radius: 999px; background: var(--fill); overflow: hidden; margin: 10px 0 14px; }
.onboard .bar svg { display: block; width: 100%; height: 8px; }
.onboard .bar rect.f { fill: var(--brand); }
.onboard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.onboard li a, .onboard li span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--fill); color: var(--ink); font-weight: 600; font-size: .88rem; text-decoration: none !important; transition: transform .3s var(--spring), background .2s; }
.onboard li a:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--brand) 9%, transparent); }
.onboard li i { width: 22px; height: 22px; border-radius: 50%; flex: none; border: 2px solid var(--line-strong); display: grid; place-items: center; font-style: normal; font-size: .72rem; }
.onboard li.done i { background: var(--ok); border-color: var(--ok); color: #fff; }
.onboard li.done a, .onboard li.done span { color: var(--muted); text-decoration: line-through !important; }
/* 15. Pricing on landing */
.pricing { padding: 8px 0 88px; }
.pricing h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; }
.pricing > .container > p { text-align: center; color: var(--ink-2); margin-bottom: 28px; }
.pricing .plan-grid { max-width: 820px; margin: 0 auto; }
.plan-card.featured { border-color: transparent; box-shadow: 0 0 0 2px var(--brand), var(--shadow-lg); }
/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 16px 88px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.15rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink-2); }
.site-footer .row a { color: var(--muted); }
.claim-status { max-width: 500px; padding-left: 18px; }
.err-code { font-family: var(--font-display); font-size: 4rem; font-weight: 850; letter-spacing: -.06em; line-height: 1; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center-row { justify-content: center; }
.adv-section { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 4px; }
.adv-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 16px 0 10px; }
.utm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 10px; }
.og-thumb { width: 240px; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 10px; margin-bottom: 8px; border: 1px solid var(--line); }
@media (max-width: 860px) { .utm-grid { grid-template-columns: 1fr 1fr; } }
.badge-brand { color: var(--brand); background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.qr-opt { display: flex; align-items: center; gap: 8px; margin: 0; }
.qr-opt input[type="color"] { width: 42px; height: 34px; padding: 2px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--paper); cursor: pointer; }
.qr-opt select.input { min-height: 36px; padding-top: 6px; padding-bottom: 6px; width: auto; }
.link-item .meta > .short-url { display: flex; align-items: center; gap: 4px; margin-top: 6px; flex-wrap: wrap; white-space: normal; -webkit-line-clamp: unset; }
.short-url code { background: var(--brand-soft); color: var(--brand); border-color: transparent; font-size: .8rem; padding: 3px 8px; }
.short-url .btn { min-height: 28px; padding: 3px 10px; font-size: .78rem; }
.short-row { padding: 2px 0 4px; }


/* =====================================================================
   Admin shell — Shopify-admin style (dashboard + super admin).
   Scoped to .adm-ui so the public profile preview keeps its own look.
   ===================================================================== */
body.adm { background: #f1f1f1; background-image: none; }
.adm-ui {
  --ink: #303030; --ink-2: #4a4a4a; --muted: #616161; --paper: #ffffff; --canvas: #f1f1f1; --nav: #ebebeb; --top: #1a1a1a;
  --line: #e3e3e3; --line-2: #ebebeb; --line-input: #8a8a8a; --fill: rgba(0, 0, 0, .05); --hover: #f7f7f7; --sub: #f7f7f7;
  --focus: #005bd3; --link: #005bd3; --r: 12px; --r-lg: 12px; --r-sm: 8px;
  --card-shadow: 0 1px 0 0 rgba(26, 26, 26, .07), 0 0 0 1px rgba(0, 0, 0, .07);
  --pri: #303030; --pri-fg: #ffffff;
  --b-ok: #affebf; --b-ok-fg: #014b40; --b-bad: #fed1d7; --b-bad-fg: #8e0b21; --b-info: #e0f0ff; --b-info-fg: #00527c; --b-warn: #ffef9d; --b-warn-fg: #4f4700;
  font-size: .8125rem; color: var(--ink); letter-spacing: 0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.adm { background: #141414; }
  :root:not([data-theme="light"]) .adm-ui {
    --ink: #e3e3e3; --ink-2: #cccccc; --muted: #a1a1a1; --paper: #222222; --canvas: #141414; --nav: #1b1b1b; --top: #0b0b0b;
    --line: #333333; --line-2: #2c2c2c; --line-input: #5c5c5c; --fill: rgba(255, 255, 255, .07); --hover: #2a2a2a; --sub: #1c1c1c;
    --focus: #4b9bff; --link: #6fb1ff; --card-shadow: 0 0 0 1px rgba(255, 255, 255, .08); --pri: #e3e3e3; --pri-fg: #1a1a1a;
    --b-ok: #0c3b2e; --b-ok-fg: #7ff0b5; --b-bad: #4a1520; --b-bad-fg: #ffb3c0; --b-info: #0d2c47; --b-info-fg: #9fd0ff; --b-warn: #3d3500; --b-warn-fg: #ffe88a;
  }
}
:root[data-theme="dark"] body.adm { background: #141414; }
:root[data-theme="dark"] .adm-ui {
  --ink: #e3e3e3; --ink-2: #cccccc; --muted: #a1a1a1; --paper: #222222; --canvas: #141414; --nav: #1b1b1b; --top: #0b0b0b;
  --line: #333333; --line-2: #2c2c2c; --line-input: #5c5c5c; --fill: rgba(255, 255, 255, .07); --hover: #2a2a2a; --sub: #1c1c1c;
  --focus: #4b9bff; --link: #6fb1ff; --card-shadow: 0 0 0 1px rgba(255, 255, 255, .08); --pri: #e3e3e3; --pri-fg: #1a1a1a;
  --b-ok: #0c3b2e; --b-ok-fg: #7ff0b5; --b-bad: #4a1520; --b-bad-fg: #ffb3c0; --b-info: #0d2c47; --b-info-fg: #9fd0ff; --b-warn: #3d3500; --b-warn-fg: #ffe88a;
}
.adm-ui :focus-visible { box-shadow: none; outline: 2px solid var(--focus); outline-offset: 1px; border-radius: 8px; }
.adm-ui a { color: var(--link); }
.adm-ui a:hover { text-decoration: underline; text-underline-offset: 2px; }
.adm-ui h1, .adm-ui h2, .adm-ui h3 { font-family: var(--font-display); letter-spacing: -.01em; color: var(--ink); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 40; height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 16px; background: var(--top); color: #e3e3e3; }
.topbar .logo { color: #fff; font-size: 1.05rem; width: 216px; flex: none; }
.topbar .logo-mark { width: 28px; height: 28px; border-radius: 8px; box-shadow: none; }
.topbar .logo-mark svg { width: 16px; height: 16px; }
.tb-search { position: relative; flex: 0 1 480px; display: flex; align-items: center; height: 36px; margin: 0 auto 0 0; padding: 0 10px; gap: 8px; border-radius: 10px;
  background: #303030; box-shadow: inset 0 0 0 1px #4a4a4a; color: #b5b5b5; transition: background .15s, box-shadow .15s; }
.tb-search:focus-within { background: #fff; color: #616161; box-shadow: 0 0 0 2px var(--focus); }
.tb-search svg { width: 16px; height: 16px; flex: none; }
.tb-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #e3e3e3; font: 450 .8125rem var(--font); }
.tb-search:focus-within input { color: #303030; }
.tb-search input::placeholder { color: #9a9a9a; }
.tb-search kbd { font: 600 .68rem var(--font); color: #9a9a9a; border: 1px solid #4a4a4a; border-radius: 5px; padding: 1px 5px; }
.tb-search:focus-within kbd { display: none; }
.tb-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #e3e3e3 !important;
  font: 550 .8125rem var(--font); text-decoration: none !important; cursor: pointer; white-space: nowrap; }
.tb-btn:hover { background: #303030; }
.tb-btn svg { width: 16px; height: 16px; }
.tb-icon { width: 32px; padding: 0; justify-content: center; }
.tb-user { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 4px; border-radius: 10px; color: #e3e3e3 !important; text-decoration: none !important; }
.tb-user:hover { background: #303030; }
.tb-av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #1a1a1a; background: #7ff0b5; flex: none; }
.tb-name { display: flex; flex-direction: column; font-size: .8125rem; font-weight: 550; line-height: 1.2; max-width: 180px; }
.tb-name, .tb-name small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-name small { font-size: .7rem; color: #a1a1a1; font-weight: 450; }

/* Frame: grey sidebar + light canvas */
.adm .dash { grid-template-columns: 240px minmax(0, 1fr) 360px; min-height: calc(100vh - 56px); }
.dash-nav.adm-ui { position: sticky; top: 56px; height: calc(100vh - 56px); margin: 0; padding: 12px 8px; gap: 1px; border: 0; border-radius: 0; box-shadow: none;
  background: var(--nav); backdrop-filter: none; -webkit-backdrop-filter: none; }
.adm-ui .nav-group { margin: 16px 8px 4px; font-size: .75rem; font-weight: 550; letter-spacing: 0; text-transform: none; color: var(--muted); }
.adm-ui .nav-link { gap: 8px; min-height: 32px; padding: 4px 8px; border-radius: 8px; font-size: .8125rem; font-weight: 550; color: var(--ink); transition: background .12s; }
.adm-ui .nav-link .ico { width: 20px; height: 20px; border-radius: 0; background: none !important; color: var(--ink-2); box-shadow: none !important; }
.adm-ui .nav-link svg { width: 18px; height: 18px; }
.adm-ui .nav-link:hover { background: var(--fill); color: var(--ink); text-decoration: none; }
.adm-ui .nav-link:active { transform: none; background: rgba(0, 0, 0, .08); }
.adm-ui .nav-link.active { background: var(--paper); font-weight: 650; box-shadow: none; }
.adm-ui .nav-link.active .ico { color: var(--ink); }
.adm-ui .nav-link .count { min-width: 20px; height: 20px; border-radius: 8px; background: var(--line); color: var(--ink); font-size: .72rem; font-weight: 650; }
.adm-ui .nav-link .pill { margin-left: auto; font-size: .68rem; font-weight: 550; color: var(--muted); }
.nav-sub { display: grid; gap: 1px; margin: 1px 0 4px; }
.nav-sub a { display: block; padding: 5px 8px 5px 36px; border-radius: 8px; color: var(--ink-2) !important; font-size: .8125rem; font-weight: 450; text-decoration: none !important; }
.nav-sub a:hover { background: var(--fill); }
.nav-sub a.active { background: var(--paper); color: var(--ink) !important; font-weight: 650; }
.adm-ui.dash-nav .bottom { border-top: 0; }
.adm-ui .nav-upsell { margin: 0; padding: 12px; border-radius: 12px; background: var(--paper); color: var(--ink) !important; box-shadow: var(--card-shadow); font-size: .75rem; }
.adm-ui .nav-upsell:hover { transform: none; background: var(--hover); }
.adm-ui .nav-upsell strong { font-size: .8125rem; }
.adm-ui .nav-upsell span { color: var(--muted); opacity: 1; }

.dash-main.adm-ui { width: 100%; max-width: 1040px; justify-self: center; padding: 20px 24px 64px; }
.dash-main.adm-ui > header { gap: 8px; margin-bottom: 16px; min-height: 32px; }
.dash-main.adm-ui > header h1 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.adm-subnav { display: none; }
.adm .dash-preview { padding: 20px 20px 20px 4px; top: 56px; height: calc(100vh - 56px); }
.adm .share-bar { background: #fff; backdrop-filter: none; border-color: #e3e3e3; border-radius: 12px; box-shadow: 0 1px 0 rgba(26, 26, 26, .07); }

/* Cards */
.adm-ui .card { padding: 16px; border: 0; border-radius: 12px; background: var(--paper); box-shadow: var(--card-shadow); }
.adm-ui .card + .card, .adm-ui .card + form, .adm-ui form + .card, .adm-ui .kpis + .card { margin-top: 16px; }
.adm-ui .card h2 { font-size: .875rem; font-weight: 650; letter-spacing: 0; margin: 0 0 12px; }
.adm-ui .card h3 { font-size: .8125rem; font-weight: 650; }
.adm-ui .card > .row:first-child h2 { margin: 0; }
.adm-ui .card > .row:first-child { margin-bottom: 12px; }
.adm-ui .stack > * + * { margin-top: 12px; }
.adm-ui .mt { margin-top: 12px; }
.adm-ui .store-grid { gap: 16px; }
.adm-ui :is(.store-grid, .plan-grid, .manual-grid, .adv-grid, .contact-grid) > .card { margin-top: 0; }
.adm-ui .store-grid.mt, .adm-ui .store-grid + .store-grid { margin-top: 16px; }
.adm-ui p { margin-bottom: .75em; }
.adm-ui .muted, .adm-ui .hint { color: var(--muted); }
.adm-ui .small { font-size: .75rem; }
.adm-ui .hint { font-size: .75rem; margin-top: 4px; }
.adm-ui .danger-zone { background: var(--paper); box-shadow: var(--card-shadow), inset 3px 0 0 #e51c00; }
.adm-ui .empty { padding: 40px 20px; border: 0; border-radius: 12px; background: var(--paper); box-shadow: var(--card-shadow); }
.adm-ui .upsell { background: var(--b-info); box-shadow: none; color: var(--b-info-fg); }
.adm-ui .upsell h2 { color: inherit; }

/* Buttons (Polaris bevel) */
.adm-ui .btn { min-height: 32px; padding: 6px 12px; gap: 6px; border: 0; border-radius: 8px; font: 550 .8125rem/1.2 var(--font); color: var(--ink); background: var(--paper);
  box-shadow: inset 0 -1px 0 0 #b5b5b5, inset 0 0 0 1px rgba(0, 0, 0, .1), inset 0 .5px 0 1.5px #fff; transition: background .12s; filter: none; }
.adm-ui .btn:hover { transform: none; background: var(--hover); box-shadow: inset 0 -1px 0 0 #b5b5b5, inset 0 0 0 1px rgba(0, 0, 0, .12), inset 0 .5px 0 1.5px #fff; }
.adm-ui .btn:active { transform: none; background: #f0f0f0; box-shadow: inset -1px 0 1px 0 rgba(26, 26, 26, .12), inset 1px 0 1px 0 rgba(26, 26, 26, .12), inset 0 2px 1px 0 rgba(26, 26, 26, .2); }
.adm-ui .btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-radius: 8px; }
.adm-ui .btn-primary { color: #fff; background: linear-gradient(180deg, rgba(48, 48, 48, 0) 63%, rgba(255, 255, 255, .15)), #303030;
  box-shadow: inset 0 -1px 0 1px rgba(0, 0, 0, .8), inset 0 0 0 1px #303030, inset 0 .5px 0 1.5px rgba(255, 255, 255, .25); }
.adm-ui .btn-primary:hover { background: linear-gradient(180deg, rgba(48, 48, 48, 0) 63%, rgba(255, 255, 255, .15)), #1a1a1a;
  box-shadow: inset 0 -1px 0 1px rgba(0, 0, 0, .8), inset 0 0 0 1px #1a1a1a, inset 0 .5px 0 1.5px rgba(255, 255, 255, .25); filter: none; }
.adm-ui .btn-primary:active { background: #1a1a1a; box-shadow: inset 0 3px 0 0 #000; }
.adm-ui .btn-danger { color: #fff; background: linear-gradient(180deg, rgba(229, 28, 0, 0) 63%, rgba(255, 255, 255, .15)), #c70a24;
  box-shadow: inset 0 -1px 0 1px #8e0b21, inset 0 0 0 1px #a30c22, inset 0 .5px 0 1.5px rgba(255, 255, 255, .25); }
.adm-ui .btn-danger:hover { background: #a30c22; border-color: transparent; box-shadow: inset 0 -1px 0 1px #8e0b21, inset 0 0 0 1px #a30c22; }
.adm-ui .btn-ghost { background: transparent; box-shadow: none; }
.adm-ui .btn-ghost:hover { background: var(--fill); box-shadow: none; }
.adm-ui .btn-ghost.btn-danger { color: #c70a24; background: transparent; box-shadow: none; }
.adm-ui .btn-ghost.btn-danger:hover { background: var(--b-bad); }
.adm-ui .btn-sm { min-height: 28px; padding: 4px 10px; font-size: .75rem; }
.adm-ui .btn-lg { min-height: 40px; padding: 10px 16px; font-size: .875rem; }
.adm-ui .btn-icon { width: 28px; height: 28px; min-height: 0; padding: 0; }
.adm-ui .btn[disabled] { opacity: 1; color: #b5b5b5; background: #f0f0f0; box-shadow: none; }
.adm-ui .btn-back { width: 28px; height: 28px; font-size: 1rem; }
.adm-ui input[type="file"]::file-selector-button { border: 0; border-radius: 8px; padding: 6px 12px; font: 550 .75rem var(--font); background: var(--paper);
  box-shadow: inset 0 -1px 0 0 #b5b5b5, inset 0 0 0 1px rgba(0, 0, 0, .1); }

/* Form controls */
.adm-ui label { font-size: .8125rem; font-weight: 450; margin-bottom: 4px; color: var(--ink); }
.adm-ui .field { margin-bottom: 12px; }
.adm-ui .input, .adm-ui textarea.input, .adm-ui select.input { min-height: 32px; padding: 5px 12px; border-radius: 8px; font: 450 .8125rem/1.45 var(--font);
  background: var(--paper); border: 1px solid var(--line-input); border-top-color: #898f94; box-shadow: none; color: var(--ink); }
.adm-ui .input:hover { background: var(--hover); border-color: #616161; }
.adm-ui .input:focus { background: var(--paper); border-color: var(--line-input); box-shadow: none; outline: 2px solid var(--focus); outline-offset: 1px; }
.adm-ui select.input { padding-right: 32px; background-position: right 10px center; background-size: 12px; }
.adm-ui textarea.input { min-height: 72px; }
.adm-ui .input-prefix { border-radius: 8px; background: var(--paper); border: 1px solid var(--line-input); }
.adm-ui .input-prefix span { padding: 5px 0 5px 12px; font-size: .8125rem; line-height: 1.45; }
.adm-ui .input-prefix .input { border: 0; outline: 0; min-height: 30px; background: transparent; }
.adm-ui .input-prefix:focus-within { background: var(--paper); border-color: var(--line-input); box-shadow: none; outline: 2px solid var(--focus); outline-offset: 1px; }
.adm-ui .check { font-weight: 450; gap: 8px; }
.adm-ui .check input { width: 16px; height: 16px; margin-top: 1px; accent-color: #303030; }
.adm-ui .error { font-size: .75rem; margin-top: 4px; color: #8e0b21; }
.adm-ui .switch { width: 32px; height: 20px; box-shadow: none; background: #b5b5b5; }
.adm-ui .switch::after { top: 2px; left: 2px; width: 16px; height: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.adm-ui .switch:active::after { width: 18px; }
.adm-ui .switch.on { background: #303030; }
.adm-ui .switch.on::after { transform: translateX(12px); }
.adm-ui .switch.on:active::after { transform: translateX(10px); }
.adm-ui .adv-title { font-size: .75rem; font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 14px 0 8px; }
.adm-ui .adv-section { border-top-color: var(--line-2); }

/* Banners and toast */
.adm-ui .alert { padding: 10px 12px; border-radius: 12px; margin-bottom: 16px; font-size: .8125rem; font-weight: 550; border: 0; animation: none; }
.adm-ui .alert::before { box-shadow: none; }
.adm-ui .alert-err { background: var(--b-bad); color: var(--b-bad-fg); }
.adm-ui .alert-ok { background: var(--b-ok); color: var(--b-ok-fg); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; max-width: min(460px, calc(100vw - 32px)); padding: 10px 16px; border-radius: 12px;
  background: #1a1a1a; color: #fff; font: 550 .8125rem/1.4 var(--font); box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transform: translateX(-50%); animation: tst-in .25s var(--ease) both, tst-out .3s ease 5s forwards; pointer-events: none; }
@keyframes tst-in { from { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes tst-out { to { opacity: 0; transform: translate(-50%, 12px); visibility: hidden; } }

/* Badges */
.adm-ui .badge { height: 20px; padding: 0 8px; border: 0; border-radius: 8px; font-size: .75rem; font-weight: 550; letter-spacing: 0; background: var(--line); color: var(--ink); }
.adm-ui .badge-ok, .adm-ui .badge-danger { gap: 4px; }
.adm-ui .badge-ok { background: var(--b-ok); color: var(--b-ok-fg); }
.adm-ui .badge-danger { background: var(--b-bad); color: var(--b-bad-fg); }
.adm-ui .badge-brand { background: var(--b-info); color: var(--b-info-fg); }
.adm-ui .badge-ok::before, .adm-ui .badge-danger::before { width: 6px; height: 6px; }
.adm-ui code { font-size: .75rem; }

/* Tabs / segmented */
.adm-ui .tabs, .adm-ui .seg { gap: 2px; padding: 0; background: transparent; border: 0; border-radius: 0; }
.adm-ui .tabs { margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--line); width: 100%; }
.adm-ui .tabs a, .adm-ui .seg a { border: 0; margin: 0; padding: 6px 12px; border-radius: 8px; font-size: .8125rem; font-weight: 550; color: var(--muted); }
.adm-ui .tabs a:hover, .adm-ui .seg a:hover { background: var(--fill); color: var(--ink); }
.adm-ui .tabs a.active, .adm-ui .seg a.active { background: rgba(0, 0, 0, .08); color: var(--ink); box-shadow: none; }
.adm-ui .seg { padding: 2px; border-radius: 10px; background: var(--paper); box-shadow: var(--card-shadow); }
.adm-ui .seg a { padding: 4px 10px; font-size: .75rem; }
.adm-ui .tabs .count { background: var(--line); color: var(--ink); border-radius: 8px; }

/* Tables: edge-to-edge inside cards */
.adm-ui .table-wrap { margin: 0 -16px; padding: 0; }
.adm-ui .card > .table-wrap:last-child { margin-bottom: -16px; }
.adm-ui .table th, .adm-ui .table td { padding: 8px 12px; border-bottom: 1px solid var(--line-2); font-size: .8125rem; }
.adm-ui .table th:first-child, .adm-ui .table td:first-child { padding-left: 16px; }
.adm-ui .table th:last-child, .adm-ui .table td:last-child { padding-right: 16px; }
.adm-ui .table th { background: var(--sub); font-size: .75rem; font-weight: 550; letter-spacing: 0; text-transform: none; color: var(--muted); border-bottom: 1px solid var(--line); border-radius: 0 !important; }
.adm-ui .table tbody tr:hover { background: var(--hover); }
.adm-ui .table td strong { font-weight: 650; }
.adm-ui .table td .small { font-size: .75rem; }

/* Metrics bar: one card split by dividers (Shopify home). */
.adm-ui .kpis { gap: 0; margin-bottom: 16px; border-radius: 12px; background: var(--paper); box-shadow: var(--card-shadow); overflow: hidden; }
.adm-ui .kpis > .kpi { padding: 12px 16px; border-radius: 0; box-shadow: none; background: transparent; border-left: 1px solid var(--line-2); }
.adm-ui .kpis > .kpi:first-child { border-left: 0; }
.adm-ui .kpi .l { font-size: .8125rem; font-weight: 550; color: var(--ink); text-decoration: underline dotted #b5b5b5; text-underline-offset: 3px; }
.adm-ui .kpi .v { font-family: var(--font); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin-top: 4px; }
.adm-ui .kpi .v-sm { font-size: 1rem; }
.adm-ui .kpi .hint { margin-top: 2px; }
.adm-ui .chart-svg { height: 150px; margin-top: 4px; }
.adm-ui .chart-svg .bar-c { fill: #303030; }
.adm-ui .chart-svg .bar-v { fill: #91d0ff; }
.adm-ui .legend .lg-c { background: #303030; }
.adm-ui .legend .lg-v { background: #91d0ff; }
.adm-ui .legend { font-size: .75rem; }
.adm-ui .progress-svg .fill, .adm-ui .onboard .bar rect.f { fill: #303030; }
.adm-ui .bar-row { margin-top: 0; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: .8125rem; }
.adm-ui .card > .row:first-child + .bar-row { border-top: 0; }

/* Resource list (links, products, etc.) */
.adm-ui .link-list { gap: 0; border-radius: 12px; background: var(--paper); box-shadow: var(--card-shadow); overflow: hidden; }
.adm-ui .link-list > li { animation: none; }
.adm-ui .link-list > li + li { border-top: 1px solid var(--line-2); }
.adm-ui .link-item { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.adm-ui .link-item:hover { box-shadow: none; background: var(--hover); }
.adm-ui .link-item[open] { box-shadow: none; background: var(--paper); }
.adm-ui .link-item summary { gap: 10px; padding: 8px 12px; }
.adm-ui .link-item .meta > strong { font-weight: 650; font-size: .8125rem; }
.adm-ui .link-item .meta > span { font-size: .75rem; }
.adm-ui .link-item .clicks { font-size: .75rem; font-weight: 550; border-radius: 8px; background: var(--line); color: var(--ink); }
.adm-ui .link-item .body { padding: 12px 16px 16px; border-top-color: var(--line-2); background: var(--paper); }
.adm-ui .link-item .grip .btn-icon { width: 24px; height: 20px; border-radius: 6px; box-shadow: none; background: transparent; }
.adm-ui .link-item .grip .btn-icon:hover { background: var(--fill); }
.adm-ui .short-url code { background: var(--b-info); color: var(--b-info-fg); border-radius: 6px; }
.adm-ui .short-url .btn { min-height: 24px; padding: 2px 8px; font-size: .72rem; }

/* Pickers, plans, onboarding */
.adm-ui .theme-opt label, .adm-ui .style-opt label { border-radius: 12px; border-color: var(--line); padding: 6px; font-size: .75rem; font-weight: 550; }
.adm-ui .theme-opt label:hover, .adm-ui .style-opt label:hover { transform: none; box-shadow: none; border-color: #b5b5b5; }
.adm-ui .theme-opt input:checked + label, .adm-ui .style-opt input:checked + label { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
.adm-ui .theme-swatch { height: 72px; border-radius: 8px; }
.adm-ui .theme-grid, .adm-ui .style-grid { gap: 8px; }
.adm-ui .avatar-lg { width: 64px; height: 64px; font-size: 1.4rem; box-shadow: none; border-radius: 12px; background: #303030; }
.adm-ui .plan-card .price { font-size: 1.5rem; font-weight: 700; }
.adm-ui .plan-card.current, .adm-ui .plan-card.featured { box-shadow: 0 0 0 2px var(--focus); }
.adm-ui .plan-card ul { font-size: .8125rem; }
.adm-ui .onboard .bar { height: 6px; margin: 8px 0 12px; }
.adm-ui .onboard li a, .adm-ui .onboard li span { padding: 8px 10px; border-radius: 8px; font-size: .8125rem; font-weight: 550; background: var(--sub); }
.adm-ui .onboard li a:hover { transform: none; background: var(--hover); box-shadow: inset 0 0 0 1px var(--line); }
.adm-ui .onboard li i { width: 18px; height: 18px; border-style: dashed; border-color: #8a8a8a; }
.adm-ui .onboard li.done i { background: #303030; border: 0; }

/* Progress: segmented setup-guide meter + clipped breakdown bars */
.ob-progress { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: .75rem; font-weight: 550; color: var(--muted); white-space: nowrap; }
.ob-seg { display: flex; gap: 3px; }
.ob-seg i { width: 18px; height: 6px; border-radius: 3px; background: var(--line); transition: background .3s; }
.ob-seg i.on { background: var(--ink); }
.onboard .row > div > h2 { margin-bottom: 2px; }
.onboard .row > div > p { margin: 0; }
.onboard > .row { margin-bottom: 12px; align-items: flex-start; }
.progress-svg { border-radius: 999px; overflow: hidden; }
.adm-ui .progress-svg { height: 6px; max-width: none; margin: 0 0 6px; }
.adm-ui .progress-svg .track { fill: var(--line-2); }
.adm-ui .card:has(.progress-svg) .bar-row { border-top: 0; padding: 6px 0 4px; }
@media (max-width: 860px) { .ob-progress { align-items: flex-start; } .onboard > .row { flex-direction: column; gap: 8px; } .onboard > .row .spacer { display: none; } }

/* Remaining widgets in admin palette */
.adm-ui .input.w-md { width: 180px; }
.adm-ui .input.w-sm { width: 110px; }
.adm-ui .input.grow { width: auto; }
@media (max-width: 860px) { .adm-ui .input.w-md { width: 100%; } .adm-ui .input.w-sm { width: 90px; } }
.adm-ui .type-switch { gap: 2px; padding: 2px; margin-bottom: 12px; border: 0; border-radius: 10px; background: var(--sub); box-shadow: inset 0 0 0 1px var(--line); }
.adm-ui .type-switch label { padding: 5px 10px; border-radius: 8px; font-size: .8125rem; font-weight: 550; color: var(--muted); }
.adm-ui .type-switch label:hover { color: var(--ink); background: var(--fill); }
.adm-ui .type-switch input:checked + label { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .08), 0 0 0 1px var(--line); }
.adm-ui .type-switch input:focus-visible + label { outline-color: var(--focus); }
.adm-ui .key-box { border: 0; border-radius: 8px; padding: 10px 12px; background: var(--b-ok); color: var(--b-ok-fg); }
.adm-ui .steps li::before { background: #303030; width: 22px; height: 22px; font-size: .72rem; }
.adm-ui .qr-img { border-radius: 12px; width: 180px; height: 180px; }
.adm-ui .qr-grid { grid-template-columns: 180px 1fr; }
.adm-ui .qr-row, .adm-ui .msg, .adm-ui .svc-row { border-bottom-color: var(--line-2); }
.adm-ui .qr-row { padding: 8px 0; }
.adm-ui .msg { padding: 10px 0; }
.adm-ui .msg.unread strong.who::before { background: var(--focus); }
.adm-ui .thumb { width: 40px; height: 40px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); background: var(--sub); }
.adm-ui .qr-opt input[type="color"] { width: 36px; height: 30px; border-radius: 8px; border-color: var(--line-input); }
.adm-ui .qr-opt select.input { min-height: 30px; }
.adm .dash-preview .share-bar a { color: var(--ink); }
.adm .dash-preview .share-bar .btn { border-radius: 8px; }

@media (max-width: 1280px) { .adm .dash { grid-template-columns: 240px minmax(0, 1fr); } }
@media (max-width: 1100px) { .tb-name { display: none; } }
@media (max-width: 860px) {
  .topbar { height: 52px; padding: 0 8px 0 12px; gap: 6px; }
  .topbar .logo { width: auto; }
  .tb-search { flex: 1; margin: 0; height: 34px; }
  .tb-search kbd, .tb-btn span { display: none; }
  .tb-btn { width: 32px; padding: 0; justify-content: center; }
  .tb-user { padding: 0 4px; }
  .topbar .spacer { display: none; }
  .adm .dash { grid-template-columns: 1fr; }
  .dash-main.adm-ui { padding: 16px 12px 104px; }
  .adm-subnav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: -4px -12px 12px; padding: 0 12px 8px; border-bottom: 1px solid var(--line); }
  .adm-subnav::-webkit-scrollbar { display: none; }
  .adm-subnav a { padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-weight: 550; color: var(--muted) !important; text-decoration: none !important; }
  .adm-subnav a.active { background: rgba(0, 0, 0, .08); color: var(--ink) !important; }
  .mobile-nav.adm-ui { left: 0; right: 0; bottom: 0; padding: 4px 4px max(4px, env(safe-area-inset-bottom)); border-radius: 0; border: 0; border-top: 1px solid var(--line);
    background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .mobile-nav.adm-ui .nav-link { min-width: 62px; padding: 4px 6px; font-size: .66rem; border-radius: 8px; }
  /* Five tabs share the bar evenly (centred, no right-edge fade). */
  .mobile-nav.adm-ui { justify-content: space-around; -webkit-mask-image: none; mask-image: none; }
  .mobile-nav.adm-ui .nav-link { flex: 1 1 0; min-width: 0; }
  .mobile-nav.adm-ui .nav-link .ico { width: 24px; height: 22px; }
  .mobile-nav.adm-ui .nav-link.active { background: var(--fill); }
  .adm-ui .kpis, .adm-ui .kpis-4 { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(140px, 1fr); overflow-x: auto; scrollbar-width: none; gap: 0; }
  .adm-ui .kpis::-webkit-scrollbar { display: none; }
  .adm-ui .kpis > .kpi { padding: 10px 14px; }
  .adm-ui .kpi .v { font-size: 1.1rem; }
  .adm-ui .card { padding: 14px; border-radius: 12px; }
  .adm-ui .table-wrap { margin: 0 -14px; }
  .adm-ui .card > .table-wrap:last-child { margin-bottom: -14px; }
  .toast { bottom: 84px; }
}
@media (max-width: 480px) { .topbar .logo { font-size: 0; gap: 0; } }

/* Admin shell — dark mode controls */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .adm-ui .btn, :root:not([data-theme="light"]) .adm-ui .btn:hover { box-shadow: inset 0 0 0 1px #4a4a4a, inset 0 1px 0 rgba(255, 255, 255, .06); }
  :root:not([data-theme="light"]) .adm-ui .btn:hover { background: #2e2e2e; }
  :root:not([data-theme="light"]) .adm-ui .btn:active { background: #1c1c1c; }
  :root:not([data-theme="light"]) .adm-ui .btn-primary, :root:not([data-theme="light"]) .adm-ui .btn-primary:hover { color: #1a1a1a; background: #e3e3e3; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); }
  :root:not([data-theme="light"]) .adm-ui .btn-primary:hover { background: #ffffff; }
  :root:not([data-theme="light"]) .adm-ui .btn-danger, :root:not([data-theme="light"]) .adm-ui .btn-danger:hover { color: #fff; background: #c70a24; box-shadow: none; }
  :root:not([data-theme="light"]) .adm-ui .btn-ghost, :root:not([data-theme="light"]) .adm-ui .btn-ghost:hover { box-shadow: none; }
  :root:not([data-theme="light"]) .adm-ui .btn-ghost.btn-danger { color: #ff8a9b; background: transparent; }
  :root:not([data-theme="light"]) .adm-ui .btn[disabled] { color: #6b6b6b; background: #262626; box-shadow: none; }
  :root:not([data-theme="light"]) .adm-ui .switch { background: #5c5c5c; }
  :root:not([data-theme="light"]) .adm-ui .switch.on { background: #e3e3e3; }
  :root:not([data-theme="light"]) .adm-ui .switch.on::after { background: #1a1a1a; }
  :root:not([data-theme="light"]) .adm-ui .check input { accent-color: #e3e3e3; }
  :root:not([data-theme="light"]) .adm-ui .tabs a.active, :root:not([data-theme="light"]) .adm-ui .adm-subnav a.active { background: rgba(255, 255, 255, .1); }
  :root:not([data-theme="light"]) .adm-ui .chart-svg .bar-c, :root:not([data-theme="light"]) .adm-ui .progress-svg .fill, :root:not([data-theme="light"]) .adm-ui .onboard .bar rect.f { fill: #e3e3e3; }
  :root:not([data-theme="light"]) .adm-ui .legend .lg-c { background: #e3e3e3; }
  :root:not([data-theme="light"]) .adm-ui .avatar-lg, :root:not([data-theme="light"]) .adm-ui .steps li::before, :root:not([data-theme="light"]) .adm-ui .onboard li.done i { background: #e3e3e3; color: #1a1a1a; }
  :root:not([data-theme="light"]) .adm-ui .input { border-top-color: var(--line-input); }
  :root:not([data-theme="light"]) .adm-ui .input:hover { border-color: #7a7a7a; }
  :root:not([data-theme="light"]) .adm-ui input[type="file"]::file-selector-button { color: var(--ink); box-shadow: inset 0 0 0 1px #4a4a4a; }
}
:root[data-theme="dark"] .adm-ui .btn, :root[data-theme="dark"] .adm-ui .btn:hover { box-shadow: inset 0 0 0 1px #4a4a4a, inset 0 1px 0 rgba(255, 255, 255, .06); }
:root[data-theme="dark"] .adm-ui .btn:hover { background: #2e2e2e; }
:root[data-theme="dark"] .adm-ui .btn:active { background: #1c1c1c; }
:root[data-theme="dark"] .adm-ui .btn-primary, :root[data-theme="dark"] .adm-ui .btn-primary:hover { color: #1a1a1a; background: #e3e3e3; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); }
:root[data-theme="dark"] .adm-ui .btn-primary:hover { background: #ffffff; }
:root[data-theme="dark"] .adm-ui .btn-danger, :root[data-theme="dark"] .adm-ui .btn-danger:hover { color: #fff; background: #c70a24; box-shadow: none; }
:root[data-theme="dark"] .adm-ui .btn-ghost, :root[data-theme="dark"] .adm-ui .btn-ghost:hover { box-shadow: none; }
:root[data-theme="dark"] .adm-ui .btn-ghost.btn-danger { color: #ff8a9b; background: transparent; }
:root[data-theme="dark"] .adm-ui .btn[disabled] { color: #6b6b6b; background: #262626; box-shadow: none; }
:root[data-theme="dark"] .adm-ui .switch { background: #5c5c5c; }
:root[data-theme="dark"] .adm-ui .switch.on { background: #e3e3e3; }
:root[data-theme="dark"] .adm-ui .switch.on::after { background: #1a1a1a; }
:root[data-theme="dark"] .adm-ui .check input { accent-color: #e3e3e3; }
:root[data-theme="dark"] .adm-ui .tabs a.active, :root[data-theme="dark"] .adm-ui .adm-subnav a.active { background: rgba(255, 255, 255, .1); }
:root[data-theme="dark"] .adm-ui .chart-svg .bar-c, :root[data-theme="dark"] .adm-ui .progress-svg .fill, :root[data-theme="dark"] .adm-ui .onboard .bar rect.f { fill: #e3e3e3; }
:root[data-theme="dark"] .adm-ui .legend .lg-c { background: #e3e3e3; }
:root[data-theme="dark"] .adm-ui .avatar-lg, :root[data-theme="dark"] .adm-ui .steps li::before, :root[data-theme="dark"] .adm-ui .onboard li.done i { background: #e3e3e3; color: #1a1a1a; }
:root[data-theme="dark"] .adm-ui .input { border-top-color: var(--line-input); }
:root[data-theme="dark"] .adm-ui .input:hover { border-color: #7a7a7a; }
:root[data-theme="dark"] .adm-ui input[type="file"]::file-selector-button { color: var(--ink); box-shadow: inset 0 0 0 1px #4a4a4a; }

/* =====================================================================
   Landing — soft grey, green gradient, dark cards (body.pt)
   ===================================================================== */
body.pt {
  --pt-bg: #eef2f5; --pt-card: #e2e9ed; --pt-white: #ffffff; --pt-dark: #0b3033; --pt-ink: #0b3033; --pt-muted: #52676a; --pt-line: #d9e2e7;
  --pt-green: #a9cf38; --pt-green-2: #bfe05a; --pt-grad: linear-gradient(135deg, #c4e267 0%, #a9cf38 55%, #95bd27 100%);
  --pt-green-text: #4a6b0c; /* lime-family text that is readable on light backgrounds */
  /* Base tokens back to their light values: shared components (.input, .muted, .btn…) must not follow a dark OS theme here. */
  --ink: #0e2a2d; --ink-2: #36504f; --muted: #5c7072; --line: rgba(11, 48, 51, .09); --line-strong: rgba(11, 48, 51, .16);
  --paper: #ffffff; --surface: rgba(255, 255, 255, .72); --canvas: #eef2f5; --fill: rgba(11, 48, 51, .045);
  --brand: #0b3033; --brand-2: #a9cf38; --brand-3: #a9cf38; --brand-ink: #ffffff; --hi: inset 0 1px 0 rgba(255, 255, 255, .7);
  --shadow-xs: 0 1px 2px rgba(17, 17, 24, .06); --shadow: 0 1px 2px rgba(17, 17, 24, .04), 0 6px 24px -6px rgba(17, 17, 24, .08);
  --shadow-lg: 0 2px 4px rgba(17, 17, 24, .04), 0 24px 48px -12px rgba(17, 17, 24, .16);
  color-scheme: light;
  background: var(--pt-bg); background-image: none; color: var(--pt-ink); letter-spacing: -.01em;
}
/* The landing page is always light, whatever the system theme. */
html:has(body.pt) { color-scheme: light; }
body.pt h1, body.pt h2, body.pt h3 { font-weight: 500; letter-spacing: -.03em; color: inherit; }
body.pt a:hover { text-decoration: none; }
.pt-center { text-align: center; }

/* Nav */
.pt-top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--pt-bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
@supports (animation-timeline: scroll()) {
  .pt-top { animation: pt-top-line linear both; animation-timeline: scroll(); animation-range: 0 80px; }
  @keyframes pt-top-line { to { border-bottom-color: var(--pt-line); } }
}
.pt-nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.pt-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.1rem; color: var(--pt-ink) !important; letter-spacing: -.02em; }
.pt-logo > span { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--pt-dark); color: var(--pt-green-2); }
.pt-logo > span svg { width: 17px; height: 17px; }
.pt-logo-light { color: #fff !important; }
.pt-links { display: flex; gap: 30px; margin: 0 auto; }
.pt-links a { color: var(--pt-muted); font-size: .92rem; }
.pt-links a:hover { color: var(--pt-ink); }
.pt-nav-end { display: flex; align-items: center; gap: 18px; }
.pt-login { color: var(--pt-ink); font-size: .92rem; font-weight: 500; }
.pt-login.on { color: var(--pt-green); }

/* Buttons */
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 10px;
  font: 500 .9rem/1.1 var(--font); cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.pt-btn:hover { transform: translateY(-1px); }
.pt-btn-dark { background: #0b3033; color: #fff !important; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.pt-btn-green { background: var(--pt-grad); color: #fff !important; box-shadow: 0 8px 20px -10px var(--pt-green); }
.pt-btn-block { width: 100%; }

/* Hero */
.pt-hero { padding: 28px 0 80px; }
.pt-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.pt-hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.12; margin: 0 0 20px; }
.pt-sub { color: var(--pt-muted); font-size: 1rem; line-height: 1.65; max-width: 30em; margin: 0 0 22px; }
.pt-intro { display: inline-flex; align-items: center; gap: 10px; color: var(--pt-ink) !important; font-weight: 500; font-size: .95rem; margin-bottom: 36px; }
.pt-intro span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pt-grad); color: #fff; }
.pt-intro svg { width: 16px; height: 16px; }
.pt-claim-box { position: relative; max-width: 520px; padding: 30px 18px 18px; border-radius: 16px; background: var(--pt-card); }
.pt-chip { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 16px; border-radius: 8px; background: var(--pt-white); font-size: .8rem; color: var(--pt-ink); white-space: nowrap; box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .2); }
.pt-claim { display: flex; gap: 10px; flex-wrap: wrap; }
.pt-claim-field { flex: 1 1 220px; display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; background: var(--pt-white); border: 1px solid var(--pt-line); }
.pt-claim-field:focus-within { border-color: var(--pt-green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pt-green) 20%, transparent); }
.pt-claim-field span { color: var(--pt-muted); font-size: .92rem; white-space: nowrap; }
.pt-claim-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--pt-ink); font: 500 .95rem var(--font); }
.pt-claim .pt-btn { min-height: 48px; }
.pt .claim-status { margin-top: 8px; }

.pt-hero-side { position: relative; }
.pt-proof { position: absolute; top: -26px; right: 0; z-index: 2; display: flex; align-items: center; gap: 12px; }
.pt-proof strong { display: block; font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.pt-proof small { color: var(--pt-muted); font-size: .8rem; }
.pt-avs { display: flex; }
.pt-avs i { width: 36px; height: 36px; margin-left: -10px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: .8rem;
  border: 2px solid var(--pt-bg); background: #ffd9b8; color: #5a2e0e; }
.pt-avs i:nth-child(2) { background: #c9e8b3; color: #214412; } .pt-avs i:nth-child(3) { background: #d6d3f7; color: #2c2766; }
.pt-stage { position: relative; height: 470px; margin-top: 40px; border-radius: 22px; background: var(--pt-grad); overflow: visible; }
.pt-phone.phone { position: absolute; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .15); transform-origin: bottom center; }
.pt-phone .phone-screen { overflow: hidden; pointer-events: none; }
.pt-phone .lt { animation: none; }
.pt-phone .lt * { animation: none !important; }
.pt-phone-a { left: 4%; bottom: 0; transform: scale(.82); z-index: 1; }
.pt-phone-b { right: 2%; bottom: -10px; transform: scale(.7) rotate(5deg); }
.pt-screen { height: 100%; border-radius: 27px; background: #fff; color: #0b3033; padding: 30px 14px 14px; overflow: hidden; font-size: .72rem; }
.pt-hi { margin: 0 0 12px; color: #52676a; font-size: .66rem; }
.pt-hi b { display: block; color: #0b3033; font-size: .82rem; font-weight: 600; }
.pt-balance { position: relative; padding: 14px; border-radius: 14px; background: var(--pt-grad); color: #fff; display: flex; flex-direction: column; }
.pt-balance small { opacity: .85; font-size: .64rem; margin-top: 12px; }
.pt-balance strong { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.pt-tag { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 3px 8px; border-radius: 6px; background: #0b3033; color: #fff; font-size: .6rem; }
.pt-tag svg { width: 10px; height: 10px; }
.pt-prog { display: flex; align-items: center; gap: 8px; margin: 10px 0 14px; font-size: .6rem; color: #52676a; }
.pt-prog i { flex: 1; height: 5px; border-radius: 3px; background: #eceef0; overflow: hidden; }
.pt-prog b { display: block; width: 64%; height: 100%; background: var(--pt-grad); }
.pt-row-t { font-weight: 600; font-size: .7rem; margin: 0 0 8px; }
.pt-people { display: flex; justify-content: space-between; margin-bottom: 14px; }
.pt-people i, .pt-with i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: .66rem; background: #f0e3d8; color: #5a2e0e; }
.pt-people i:nth-child(2n) { background: #dcefcf; color: #214412; }
.pt-act { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; background: #eef2f5; }
.pt-act b { color: var(--pt-green); }
.pt-big { display: flex; flex-direction: column; margin: 10px 0; }
.pt-big strong { font-size: 1.3rem; font-weight: 600; }
.pt-big small { color: #52676a; font-size: .62rem; }
.pt-line { width: 100%; height: 90px; color: var(--pt-green); display: block; }
.pt-line circle { fill: #fff; stroke: #0b3033; stroke-width: 2; }
.pt-mini-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.pt-mini-kpis div { padding: 8px; border-radius: 10px; background: #eef2f5; display: flex; flex-direction: column; }
.pt-mini-kpis small { color: #52676a; font-size: .6rem; }

/* Generic sections */
.pt-sec { padding: 80px 0; }
.pt-tight { padding-top: 20px; }
.pt-sec h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.25; margin: 0 0 18px; }
.pt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pt-facts { display: flex; gap: 38px; margin-top: 30px; }
.pt-facts strong { display: block; font-size: 2rem; font-weight: 500; letter-spacing: -.03em; color: var(--pt-green); line-height: 1.1; }
.pt-facts small { color: var(--pt-muted); font-size: .85rem; }
.pt-feats { display: grid; }
.pt-feat { display: flex; gap: 14px; padding: 22px 0; }
.pt-feat + .pt-feat { border-top: 1px solid var(--pt-line); }
.pt-feat h3 { font-size: 1.05rem; margin: 6px 0 8px; }
.pt-feat p { color: var(--pt-muted); font-size: .9rem; line-height: 1.65; margin: 0; }
.pt-ico { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--pt-dark); color: #fff; }
.pt-ico svg { width: 19px; height: 19px; }
.pt-ico-soft { background: var(--pt-white); color: var(--pt-green); }

/* Dark card */
.pt-dark { position: relative; padding: 64px 44px 44px; border-radius: 22px 22px 0 0; background: var(--pt-dark); color: #fff; }
.pt-dark-tab { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 7px 26px 9px; border-radius: 0 0 12px 12px; background: var(--pt-bg); color: var(--pt-green); font-weight: 600; font-size: .92rem; }
.pt-dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.pt-dark h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 12px; }
.pt-dark p { color: #a9bcbb; font-size: .92rem; margin: 0 0 26px; }
.pt-dark-mock { padding: 18px; border-radius: 18px; background: #34343a; max-width: 380px; justify-self: end; width: 100%; }
.pt-balance-lg { padding: 18px 18px 22px; }
.pt-balance-lg strong { font-size: 1.7rem; }
.pt-balance-lg small { font-size: .74rem; }
.pt-with { position: absolute; right: -10px; top: 12px; display: flex; flex-direction: column; gap: 6px; padding: 8px 6px; border-radius: 14px; background: #0b3033; }
.pt-with i { width: 28px; height: 28px; font-size: .62rem; }
.pt-prog-card { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff; }
.pt-prog-card b { width: 50%; }
.pt-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.pt-grey { padding: 28px; border-radius: 0 0 18px 18px; background: var(--pt-card); }
.pt-grey:first-child { border-radius: 0 0 0 18px; } .pt-grey:last-child { border-radius: 0 0 18px 0; }
.pt-grey h3 { font-size: 1.2rem; margin: 18px 0 6px; }
.pt-grey p { color: var(--pt-muted); font-size: .88rem; margin: 0 0 18px; }
.pt-more { color: var(--pt-green) !important; font-weight: 500; font-size: .92rem; }

/* Hub */
.pt-hub { position: relative; width: 100%; max-width: 440px; aspect-ratio: 400 / 320; }
.pt-hub::before { content: ""; position: absolute; inset: 6% 12%; border-radius: 50%; background: var(--pt-card); }
.pt-hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--pt-line); }
.pt-hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 16px; display: grid; place-items: center;
  background: var(--pt-dark); color: var(--pt-green-2); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); }
.pt-hub-core svg { width: 34px; height: 34px; }
.pt-node { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--pt-white); color: var(--pt-ink);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .35); border: 4px solid var(--pt-bg); }
.pt-node svg { width: 20px; height: 20px; }
.pt-node-a { left: 16%; top: 14%; } .pt-node-b { left: 70%; top: 12%; } .pt-node-c { left: 76%; top: 52%; } .pt-node-d { left: 44%; top: 80%; } .pt-node-e { left: 10%; top: 60%; }

/* Pricing */
.pt-pricing { display: grid; grid-template-columns: .8fr 2fr; gap: 40px; align-items: start; }
.pt-pricing > input { position: absolute; }
.pt-toggle { display: flex; width: fit-content; padding: 4px; border-radius: 12px; background: var(--pt-card); margin-bottom: 20px; }
.pt-toggle label { margin: 0; padding: 8px 18px; border-radius: 9px; color: var(--pt-muted); font-weight: 500; font-size: .88rem; cursor: pointer; }
#pt-pm:checked ~ .pt-pricing-head .pt-toggle label[for="pt-pm"], #pt-py:checked ~ .pt-pricing-head .pt-toggle label[for="pt-py"] { background: var(--pt-white); color: var(--pt-ink); box-shadow: 0 2px 6px -3px rgba(0, 0, 0, .25); }
#pt-pm:focus-visible ~ .pt-pricing-head .pt-toggle label[for="pt-pm"], #pt-py:focus-visible ~ .pt-pricing-head .pt-toggle label[for="pt-py"] { outline: 2px solid var(--pt-green); }
.pt-price.pt-y { display: none; }
#pt-py:checked ~ .pt-plans .pt-price.pt-y { display: flex; }
#pt-py:checked ~ .pt-plans .pt-price.pt-m { display: none; }
.pt-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.pt-plan { display: flex; flex-direction: column; padding: 28px; border-radius: 18px; background: var(--pt-card); }
.pt-plan .row { gap: 10px; }
.pt-plan h3 { font-size: 1.3rem; margin: 0; }
.pt-badge { font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 7px; background: color-mix(in srgb, var(--pt-green) 16%, transparent); color: #4a6b0c; }
.pt-plan-desc { color: var(--pt-muted); font-size: .88rem; margin: 6px 0 16px; }
.pt-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pt-price strong { font-size: 2.6rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.pt-price small { color: var(--pt-muted); }
.pt-price em { font-style: normal; font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 7px; background: var(--pt-grad); color: #fff; }
.pt-plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; font-size: .9rem; flex: 1; }
.pt-plan li { display: flex; gap: 10px; }
.pt-plan li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: .66rem; font-weight: 800; background: var(--pt-grad); color: #fff; }
.pt-plan li.off { color: var(--pt-muted); }
.pt-plan li.off::before { content: "–"; background: var(--pt-line); color: var(--pt-muted); }
.pt-plan-hot { background: var(--pt-dark); color: #fff; }
.pt-plan-hot .pt-badge { background: rgba(154, 217, 107, .16); color: var(--pt-green-2); }
.pt-plan-hot .pt-plan-desc, .pt-plan-hot .pt-price small { color: #a9bcbb; }
.pt-plan-hot li.off { color: #6e6e78; }
.pt-plan-hot li.off::before { background: #1d4a4d; color: #52676a; }

/* Use-case carousel */
.pt-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pt-head-row h2 { max-width: 13em; }
.pt-arrows { display: flex; gap: 12px; margin-bottom: 20px; }
.pt-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--pt-line); background: transparent; color: var(--pt-ink); font-size: 1.2rem; cursor: pointer; transition: transform .2s; }
.pt-arrow:hover { transform: scale(1.06); }
.pt-arrow-dark { background: var(--pt-dark); color: #fff; border-color: transparent; }
.pt-cases { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 14px;
  padding: 0 max(16px, calc((100vw - 1160px) / 2 + 16px)) 6px; scroll-padding-left: max(16px, calc((100vw - 1160px) / 2 + 16px)); }
.pt-cases::-webkit-scrollbar { display: none; }
.pt-case { flex: 0 0 340px; scroll-snap-align: start; padding: 24px; border-radius: 18px; background: var(--pt-card); }
.pt-case-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pt-case h3 { font-size: 1.05rem; margin: 0; }
.pt-case p { color: var(--pt-muted); font-size: .9rem; line-height: 1.65; margin: 0; }

/* CTA + footer */
.pt-cta-wrap { position: relative; padding-top: 30px; background: linear-gradient(180deg, var(--pt-bg) 0 45%, var(--pt-dark) 45% 100%); }
.pt-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 230px; padding: 40px 44px;
  border-radius: 22px; background: var(--pt-grad); color: #fff; }
.pt-cta h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 14em; margin: 0 0 22px; }
.pt-bubbles { position: relative; width: 340px; height: 230px; flex: none; margin: -40px -44px -40px 0; }
.pt-bub { position: absolute; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .28); color: #fff; }
.pt-bub svg { width: 24px; height: 24px; }
.pt-bub-0 { left: 18%; top: 8%; } .pt-bub-1 { left: 50%; top: 2%; } .pt-bub-2 { left: 78%; top: 14%; } .pt-bub-3 { left: 6%; top: 42%; }
.pt-bub-4 { left: 38%; top: 36%; width: 66px; height: 66px; background: rgba(255, 255, 255, .4); } .pt-bub-5 { left: 70%; top: 48%; }
.pt-bub-6 { left: 24%; top: 74%; } .pt-bub-7 { left: 56%; top: 78%; }
.pt-foot { background: var(--pt-dark); color: #a9bcbb; padding: 60px 0 30px; }
.pt-foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid #1d4a4d; }
.pt-foot p { font-size: .88rem; line-height: 1.6; max-width: 26em; margin: 14px 0 0; }
.pt-foot h4 { color: #fff; font-weight: 500; font-size: .95rem; margin: 4px 0 16px; }
.pt-foot-grid a:not(.pt-logo) { display: block; padding: 5px 0; color: #a9bcbb; font-size: .88rem; }
.pt-foot-grid a:not(.pt-logo):hover { color: #fff; }
.pt-copy { text-align: center; font-size: .8rem; margin: 24px 0 0; color: #6e6e78; }

@media (max-width: 960px) {
  .pt-links, .pt-login { display: none; }
  .pt-nav { justify-content: space-between; height: 70px; }
  .pt-hero-grid, .pt-split, .pt-dark-grid, .pt-pricing { grid-template-columns: 1fr; }
  .pt-pricing { gap: 12px; }
  .pt-hero { padding-bottom: 50px; }
  .pt-stage { height: 400px; }
  .pt-phone-a { left: 2%; transform: scale(.72); } .pt-phone-b { right: 0; transform: scale(.62) rotate(5deg); }
  .pt-sec { padding: 56px 0; }
  .pt-split { gap: 36px; }
  .pt-hub { margin: 0 auto; }
  .pt-dark { padding: 56px 24px 28px; }
  .pt-dark-mock { justify-self: stretch; }
  .pt-foot-grid { grid-template-columns: 1fr 1fr; }
  .pt-cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .pt-bubbles { display: none; }
}
@media (max-width: 560px) {
  .pt-phone-a { left: -8%; transform: scale(.6); } .pt-phone-b { right: -10%; transform: scale(.52) rotate(5deg); }
  .pt-stage { height: 340px; }
  .pt-proof { position: static; margin-bottom: 8px; }
  .pt-duo { grid-template-columns: 1fr; }
  .pt-grey, .pt-grey:first-child, .pt-grey:last-child { border-radius: 0 0 18px 18px; }
  .pt-duo .pt-grey:first-child { border-radius: 0; }
  .pt-facts { gap: 24px; }
  .pt-case { flex-basis: 82%; }
  .pt-arrows { display: none; }
  .pt-foot-grid { grid-template-columns: 1fr; }
  .pt-claim .pt-btn { width: 100%; }
}

/* ---- Landing polish: eyebrows, trust strip, steps, FAQ, motion ---- */
body.pt h1, body.pt h2 { text-wrap: balance; }
body.pt { font-variant-numeric: tabular-nums; }
.pt-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: #4a6b0c; }
.pt-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--pt-grad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pt-green) 18%, transparent); }
.pt-eyebrow-light { color: #eaffdc; }
.pt-trust { padding: 0 0 20px; }
.pt-trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pt-trust-row span { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--pt-white); border: 1px solid var(--pt-line);
  font-size: .86rem; font-weight: 500; color: var(--pt-ink); }
.pt-trust-row svg { width: 18px; height: 18px; color: var(--pt-green); flex: none; }
.pt-head-center { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.pt-head-center .pt-sub { margin-left: auto; margin-right: auto; }
.pt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.pt-steps li { position: relative; padding: 28px; border-radius: 18px; background: var(--pt-white); border: 1px solid var(--pt-line); }
.pt-steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--pt-muted); border-right: 2px solid var(--pt-muted); transform: rotate(45deg); opacity: .5; }
.pt-steps span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--pt-dark); color: var(--pt-green-2); font-weight: 600; font-size: .9rem; }
.pt-steps h3 { font-size: 1.15rem; margin: 20px 0 8px; }
.pt-steps p { color: var(--pt-muted); font-size: .9rem; line-height: 1.6; margin: 0; }
.pt-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.pt-faq { display: grid; gap: 10px; }
.pt-q { border-radius: 14px; background: var(--pt-white); border: 1px solid var(--pt-line); transition: border-color .2s; }
.pt-q[open] { border-color: color-mix(in srgb, var(--pt-green) 45%, var(--pt-line)); }
.pt-q summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 500; }
.pt-q summary::-webkit-details-marker { display: none; }
.pt-q summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--pt-ink); border-bottom: 2px solid var(--pt-ink); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.pt-q[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.pt-q summary:focus-visible { outline: 2px solid var(--pt-green); outline-offset: 2px; border-radius: 14px; box-shadow: none; }
.pt-q p { margin: 0; padding: 0 20px 18px; color: var(--pt-muted); font-size: .92rem; line-height: 1.65; }
.pt :focus-visible { outline: 2px solid var(--pt-green); outline-offset: 2px; box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  html:has(body.pt) { scroll-behavior: smooth; }
}
.pt-sec[id], .pt-hero { scroll-margin-top: 76px; }
.pt-copy { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; text-align: left; }

/* ---- Other public pages in the same look (login, register, legal, errors) ---- */
.pt-page-main { min-height: calc(100vh - 76px - 280px); }
.pt-page .input, .pt-page select.input, .pt-page textarea.input { min-height: 48px; border-radius: 10px; background: var(--pt-white); border: 1px solid var(--pt-line); font-size: .95rem; }
.pt-page .input:hover { background: var(--pt-white); border-color: #cfcfd6; }
.pt-page .input:focus { border-color: var(--pt-green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pt-green) 20%, transparent); }
.pt-page .input-prefix { border-radius: 10px; background: var(--pt-white); border: 1px solid var(--pt-line); }
.pt-page .input-prefix span { padding-top: 13px; padding-bottom: 13px; }
.pt-page .input-prefix .input { border: 0; box-shadow: none; }
.pt-page .input-prefix:focus-within { background: var(--pt-white); border-color: var(--pt-green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pt-green) 20%, transparent); }
.pt-page label { color: var(--pt-ink); font-weight: 500; }
.pt-page .check input { accent-color: var(--pt-green); }
.pt-page .btn { border-radius: 10px; box-shadow: none; font-weight: 500; }
.pt-page .btn-primary { background: #0b3033; color: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.pt-page .btn-primary:hover { background: #1a1a1e; filter: none; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.pt-page a:not(.pt-btn):not(.pt-logo):not(.btn) { color: #0f5a5e; }
.pt-page .pt-links a, .pt-page .pt-foot a { color: inherit !important; }
.pt-page .pt-login { color: var(--pt-ink) !important; }
.pt-page .muted, .pt-page .hint { color: var(--pt-muted); }

.pt-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; padding-top: 32px; padding-bottom: 64px; }
.pt-auth-form { padding: 44px; border-radius: 22px; background: var(--pt-white); border: 1px solid var(--pt-line); }
.pt-auth-form h1 { font-size: 2rem; margin: 0 0 6px; }
.pt-auth-form > .muted:first-of-type { margin-bottom: 26px; }
.pt-auth-aside { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 44px; border-radius: 22px; background: var(--pt-grad); color: #fff; }
.pt-auth-aside h2 { font-size: 1.8rem; line-height: 1.2; margin: 0 0 24px; color: #fff; }
.pt-auth-aside ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 14px; }
.pt-auth-aside li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.pt-auth-aside li svg { width: 20px; height: 20px; padding: 8px; box-sizing: content-box; border-radius: 10px; background: rgba(255, 255, 255, .2); flex: none; }
.pt-auth-card { margin-top: auto; width: min(300px, 100%); padding: 18px; border-radius: 16px; background: #0b3033; color: #fff; display: flex; flex-direction: column;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); transform: rotate(-3deg); }
.pt-auth-card small { color: #a9bcbb; margin-top: 12px; font-size: .75rem; }
.pt-auth-card strong { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; }

.pt-page .auth-wrap { min-height: auto; padding: 56px 16px 80px; }
.pt-page .auth-card { border-radius: 22px; box-shadow: none; border: 1px solid var(--pt-line); background: var(--pt-white); padding: 40px; }
.pt-page .err-code { background: var(--pt-grad); -webkit-background-clip: text; background-clip: text; font-weight: 600; }
.pt-page .legal { max-width: 820px; margin: 32px auto 72px; padding: 48px; border-radius: 22px; background: var(--pt-white); border: 1px solid var(--pt-line); }
.pt-page .legal h1 { font-size: 2.2rem; }
.pt-page .legal h2 { font-size: 1.2rem; margin-top: 30px; }
.pt-page .legal p, .pt-page .legal li { color: #55555f; line-height: 1.75; }

@media (max-width: 960px) {
  .pt-trust-row, .pt-steps { grid-template-columns: 1fr 1fr; }
  .pt-steps li::after { display: none; }
  .pt-faq-grid, .pt-auth { grid-template-columns: 1fr; gap: 20px; }
  .pt-auth-aside { display: none; }
}
@media (max-width: 560px) {
  .pt-trust-row, .pt-steps { grid-template-columns: 1fr; }
  .pt-auth-form, .pt-page .legal, .pt-page .auth-card { padding: 26px 20px; }
  .pt-page .legal { margin: 16px auto 48px; }
  .pt-copy { justify-content: center; text-align: center; }
}

/* ---- Landing: richer content blocks ---- */
.pt-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; font-size: .86rem; color: var(--pt-muted); }
.pt-checks li { display: flex; align-items: center; gap: 7px; }
.pt-checks li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .62rem; font-weight: 800; color: #fff; background: var(--pt-grad); }

.pt-vision { padding-top: 64px; }
.pt-statement { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.4; letter-spacing: -.02em; font-weight: 400; color: var(--pt-muted); max-width: 30em; margin: 0 0 44px; text-wrap: pretty; }
.pt-statement span { color: var(--pt-ink); }
.pt-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pt-pillars article { padding: 26px; border-radius: 18px; background: var(--pt-white); border: 1px solid var(--pt-line); }
.pt-pillars h3 { font-size: 1.15rem; margin: 18px 0 8px; }
.pt-pillars p { color: var(--pt-muted); font-size: .9rem; line-height: 1.6; margin: 0; }

.pt-catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pt-cat { padding: 24px; border-radius: 18px; background: var(--pt-card); }
.pt-cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.pt-cat h3 { font-size: 1.1rem; margin: 0; }
.pt-cat ul, .pt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.pt-cat li, .pt-list li { position: relative; padding-left: 24px; font-size: .88rem; line-height: 1.5; color: var(--pt-ink); }
.pt-cat li::before, .pt-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 4px; background: var(--pt-grad); }
.pt-cat li::after, .pt-list li::after { content: ""; position: absolute; left: 4px; top: 6px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }

/* Audience tabs */
.pt-sol { position: relative; }
.pt-tabs { display: flex; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin: -8px auto 28px; padding: 4px; border-radius: 12px; background: var(--pt-card); }
.pt-tabs label { margin: 0; padding: 10px 18px; border-radius: 9px; color: var(--pt-muted); font-weight: 500; font-size: .9rem; cursor: pointer; white-space: nowrap; }
#aud-1:checked ~ .pt-tabs label[for="aud-1"], #aud-2:checked ~ .pt-tabs label[for="aud-2"], #aud-3:checked ~ .pt-tabs label[for="aud-3"] { background: var(--pt-white); color: var(--pt-ink); box-shadow: 0 2px 6px -3px rgba(0, 0, 0, .25); }
#aud-1:focus-visible ~ .pt-tabs label[for="aud-1"], #aud-2:focus-visible ~ .pt-tabs label[for="aud-2"], #aud-3:focus-visible ~ .pt-tabs label[for="aud-3"] { outline: 2px solid var(--pt-green); }
.pt-panel { display: none; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px; border-radius: 22px; background: var(--pt-white); border: 1px solid var(--pt-line); }
#aud-1:checked ~ .pt-panel-aud-1, #aud-2:checked ~ .pt-panel-aud-2, #aud-3:checked ~ .pt-panel-aud-3 { display: grid; animation: pt-fade .35s var(--ease); }
@keyframes pt-fade { from { opacity: 0; transform: translateY(8px); } }
.pt-panel h3 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 12px; }
.pt-panel > div > p { color: var(--pt-muted); line-height: 1.65; margin: 0 0 22px; }
.pt-panel .pt-list { margin-bottom: 28px; }
.pt-panel-mock { position: relative; min-height: 420px; border-radius: 18px; background: var(--pt-grad); overflow: hidden; }
.pt-phone.pt-phone-panel { left: 50%; top: 36px; transform: translateX(-50%) scale(.78); transform-origin: top center; }
.pt-mock-card { position: absolute; left: 12%; top: 14%; width: 200px; padding: 12px; border-radius: 16px; background: #fff; color: #0b3033; display: flex; flex-direction: column; gap: 3px;
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .45); transform: rotate(-4deg); }
.pt-mock-card-2 { left: auto; right: 10%; top: 34%; transform: rotate(5deg); background: #0b3033; color: #fff; }
.pt-mock-img { height: 90px; border-radius: 10px; margin-bottom: 8px; background: linear-gradient(135deg, #f1efe9, #dedad0); }
.pt-mock-card-2 .pt-mock-img { background: linear-gradient(135deg, #1d4a4d, #2c2c33); }
.pt-mock-card strong { font-size: .9rem; font-weight: 600; }
.pt-mock-card small { color: #52676a; font-size: .78rem; }
.pt-mock-card b { margin-top: 8px; padding: 8px; border-radius: 9px; text-align: center; font-size: .78rem; font-weight: 600; background: #0b3033; color: #fff; }
.pt-mock-card-2 b { background: var(--pt-grad); }

/* Comparison table */
.pt-table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--pt-line); background: var(--pt-white); }
.pt-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.pt-table th, .pt-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--pt-line); }
.pt-table tbody tr:last-child > * { border-bottom: 0; }
.pt-table thead th { font-weight: 600; font-size: .9rem; color: var(--pt-muted); background: var(--pt-bg); }
.pt-table tbody th { text-align: left; font-weight: 500; color: var(--pt-ink); }
.pt-table td { color: var(--pt-muted); }
.pt-table .pt-us { background: color-mix(in srgb, var(--pt-green) 7%, transparent); color: var(--pt-ink); font-weight: 500; }
.pt-table thead .pt-us { background: var(--pt-dark); color: #fff; }
.pt-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pt-grad); color: #fff; font-size: .72rem; font-weight: 800; }
.pt-no { color: #c4c4cc; }

/* Security */
.pt-sec-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 22px; background: var(--pt-dark); color: #fff; }
.pt-sec-card h2 { color: #fff; }
.pt-sec-card p { color: #a9bcbb; line-height: 1.65; margin: 0 0 26px; }
.pt-sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pt-sec-list li { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: #313137; }
.pt-sec-list svg { width: 22px; height: 22px; flex: none; color: var(--pt-green-2); margin-top: 2px; }
.pt-sec-list strong { display: block; font-weight: 500; margin-bottom: 2px; }
.pt-sec-list span { color: #a9bcbb; font-size: .86rem; }

/* Roadmap */
.pt-road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pt-road-col { padding: 24px; border-radius: 18px; background: var(--pt-white); border: 1px solid var(--pt-line); }
.pt-road-tag { display: inline-block; margin-bottom: 16px; padding: 5px 12px; border-radius: 8px; font-size: .78rem; font-weight: 600; background: var(--pt-card); color: var(--pt-muted); }
.pt-road-on .pt-road-tag { background: var(--pt-grad); color: #fff; }
.pt-road-next .pt-road-tag { background: var(--pt-dark); color: #fff; }
.pt-road ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pt-road li { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.pt-road li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--pt-line); }
.pt-road-on li::before { background: var(--pt-green); }
.pt-road-next li::before { background: var(--pt-dark); }

@media (max-width: 960px) {
  .pt-pillars, .pt-road { grid-template-columns: 1fr; }
  .pt-catalog { grid-template-columns: 1fr 1fr; }
  .pt-panel, .pt-sec-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .pt-panel-mock { min-height: 260px; }
}
@media (max-width: 560px) {
  .pt-catalog { grid-template-columns: 1fr; }
  .pt-panel, .pt-sec-card { padding: 22px; }
  .pt-mock-card { width: 160px; }
  .pt-tabs { margin-left: 0; }
  .pt-table { min-width: 480px; font-size: .82rem; }
  .pt-table th, .pt-table td { padding: 12px 10px; }
  .pt-table tbody th, .pt-table thead th:first-child { position: sticky; left: 0; z-index: 1; width: 130px; background: var(--pt-white); box-shadow: 1px 0 0 var(--pt-line); }
  .pt-table thead th:first-child { background: var(--pt-bg); }
}

/* One focus ring on combined "prefix + input" fields: the wrapper shows it, the inner input doesn't. */
.pt-claim-field input:focus, .pt-claim-field input:focus-visible,
.pt-page .input-prefix .input:focus, .pt-page .input-prefix .input:focus-visible { outline: none; box-shadow: none; border: 0; }
.pt-claim-field { transition: border-color .15s, box-shadow .15s; }
.pt-claim-field input { font-weight: 500; padding: 0 0 0 1px; }
.pt-claim-field input::placeholder { color: #b3b3bc; font-weight: 400; }
.pt-claim-field span { color: #52676a; }

/* Touch targets: admin-shell buttons are Polaris-compact on desktop, at least 40px tall on phones and tablets. */
@media (max-width: 820px) {
  .adm-ui .btn, .adm-ui .btn-sm { min-height: 40px; }
}

/* ===== Content blocks (profile) — colours come from the theme variables ===== */
.lt-block-heading { margin: 18px 0 2px; text-align: center; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; color: var(--fg); overflow-wrap: anywhere; }
.lt-h-lg { font-size: 1.35rem; } .lt-h-md { font-size: 1.08rem; }
.lt-block-text { margin: 0; padding: 4px 6px; text-align: center; white-space: pre-line; color: var(--sub); line-height: 1.6; font-size: .97rem; overflow-wrap: anywhere; }
.lt-block-divider { width: 100%; border: 0; margin: 10px 0; }
.lt-hr-line { border-top: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); }
.lt-hr-dots { height: 6px; background: radial-gradient(circle, color-mix(in srgb, var(--fg) 45%, transparent) 1.5px, transparent 2px) center / 16px 6px repeat-x; }
.lt-hr-space { height: 18px; }
.lt-block-label { margin: 6px 0 8px; text-align: center; font-weight: 700; font-size: .95rem; color: var(--fg); overflow-wrap: anywhere; }
.lt-block-faq, .lt-block-prices, .lt-block-features, .lt-block-msgs, .lt-block-countdown, .lt-block-carousel { width: 100%; min-width: 0; }
.lt-faq-item { background: var(--btn); color: var(--btn-fg); border: 1px solid var(--btn-line, transparent); border-radius: 16px; margin-bottom: 8px; box-shadow: var(--btn-shadow); }
.lt-faq-item summary { list-style: none; cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 650; position: relative; text-align: left; overflow-wrap: anywhere; }
.lt-faq-item summary::-webkit-details-marker { display: none; }
.lt-faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.2rem; opacity: .7; }
.lt-faq-item[open] summary::after { content: "−"; }
.lt-faq-item p { margin: 0; padding: 0 18px 16px; line-height: 1.6; white-space: pre-line; opacity: .85; text-align: left; overflow-wrap: anywhere; }
.lt-block-image { margin: 0; width: 100%; }
.lt-block-image img, .lt-car-slide img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: var(--btn-shadow); }
.lt-block-image figcaption { margin-top: 8px; text-align: center; font-size: .9rem; color: var(--sub); }
.lt-car-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.lt-car-track::-webkit-scrollbar { display: none; }
.lt-car-slide { flex: 0 0 86%; margin: 0; scroll-snap-align: center; }
.lt-car-slide img { aspect-ratio: 4 / 3; object-fit: cover; }
.lt-car-nav { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.lt-car-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--btn-line, transparent); background: var(--btn); color: var(--btn-fg); font-size: 1.3rem; line-height: 1; cursor: pointer; box-shadow: var(--btn-shadow); }
.lt-block-prices ul, .lt-block-features ul { list-style: none; margin: 0; padding: 0; }
.lt-block-prices ul { background: var(--btn); color: var(--btn-fg); border: 1px solid var(--btn-line, transparent); border-radius: 18px; padding: 6px 18px; box-shadow: var(--btn-shadow); }
.lt-block-prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed color-mix(in srgb, currentColor 20%, transparent); }
.lt-block-prices li:last-child { border-bottom: 0; }
.lt-block-prices li span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; text-align: left; }
.lt-block-prices small { opacity: .7; font-size: .8rem; margin-top: 2px; }
.lt-block-prices strong { white-space: nowrap; font-weight: 800; }
.lt-block-features ul { display: grid; gap: 8px; }
.lt-block-features li { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 16px; border-radius: 16px; background: color-mix(in srgb, var(--fg) 7%, transparent); color: var(--fg); overflow-wrap: anywhere; }
.lt-block-features svg { width: 20px; height: 20px; flex: none; }
.lt-msgs-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lt-msg { max-width: 100%; overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: var(--btn); color: var(--btn-fg) !important; border: 1px solid var(--btn-line, transparent);
  font-weight: 650; font-size: .9rem; text-decoration: none; box-shadow: var(--btn-shadow); transition: transform .25s var(--ease); }
.lt-msg:hover { transform: translateY(-2px); text-decoration: none; }
.lt-msg svg { width: 18px; height: 18px; }
.lt-block-countdown { text-align: center; }
.lt-cd-units { display: flex; justify-content: center; gap: 8px; }
.lt-cd-units span { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding: 12px 8px; border-radius: 16px; background: var(--btn); color: var(--btn-fg); border: 1px solid var(--btn-line, transparent); box-shadow: var(--btn-shadow); }
.lt-cd-units b { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; }
.lt-cd-units small { font-size: .72rem; opacity: .75; }
.lt-cd-date { margin: 8px 0 0; font-size: .82rem; color: var(--sub); }
.lt-cd-done { margin: 0; font-weight: 800; font-size: 1.2rem; color: var(--fg); overflow-wrap: anywhere; }
.phone .lt-cd-units span { min-width: 48px; padding: 8px 4px; } .phone .lt-cd-units b { font-size: 1.1rem; }

/* ===== Dashboard: block form (type → fields via CSS), templates, fonts, kits ===== */
.block-card > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.block-card > summary::-webkit-details-marker { display: none; }
.block-card > summary h2 { margin: 0; }
.block-card > summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; color: var(--muted); }
.block-card[open] > summary::after { content: "−"; }
.block-form .bf { display: none; }
.block-form .bf-rows .bf-row { display: none; gap: 8px; margin-bottom: 8px; }
.block-form .bf-row-2 { grid-template-columns: minmax(0, 1fr); } .block-form .bf-row-3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr); } .block-form .bf-row-kv { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.block-form .bf-row-kv .error { grid-column: 1 / -1; }
.block-form .error-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
/* Row n+1 appears once row n has text; filled rows always show. */
.block-form .bf-rows .bf-row:first-of-type, .block-form .bf-rows .bf-row:has(input:not(:placeholder-shown)),
.block-form .bf-rows .bf-row:has(input:not(:placeholder-shown)) + .bf-row { display: grid; }
.block-form .bf-slide { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; margin-bottom: 8px; align-items: center; }
.block-form .bf-slide .check { grid-column: 1 / -1; }
@media (max-width: 640px) { .block-form .bf-row-3, .block-form .bf-slide { grid-template-columns: minmax(0, 1fr); } }
.block-form:has(input[name=block_type][value=heading]:checked) .bf-title,
.block-form.bt-heading .bf-title,
.block-form:has(input[name=block_type][value=heading]:checked) .bf-heading,
.block-form.bt-heading .bf-heading { display: block; }
.block-form:has(input[name=block_type][value=text]:checked) .bf-title,
.block-form.bt-text .bf-title,
.block-form:has(input[name=block_type][value=text]:checked) .bf-text,
.block-form.bt-text .bf-text { display: block; }
.block-form:has(input[name=block_type][value=divider]:checked) .bf-divider,
.block-form.bt-divider .bf-divider { display: block; }
.block-form:has(input[name=block_type][value=faq]:checked) .bf-title,
.block-form.bt-faq .bf-title,
.block-form:has(input[name=block_type][value=faq]:checked) .bf-faq,
.block-form.bt-faq .bf-faq { display: block; }
.block-form:has(input[name=block_type][value=image]:checked) .bf-title,
.block-form.bt-image .bf-title,
.block-form:has(input[name=block_type][value=image]:checked) .bf-image,
.block-form.bt-image .bf-image { display: block; }
.block-form:has(input[name=block_type][value=carousel]:checked) .bf-title,
.block-form.bt-carousel .bf-title,
.block-form:has(input[name=block_type][value=carousel]:checked) .bf-carousel,
.block-form.bt-carousel .bf-carousel { display: block; }
.block-form:has(input[name=block_type][value=prices]:checked) .bf-title,
.block-form.bt-prices .bf-title,
.block-form:has(input[name=block_type][value=prices]:checked) .bf-prices,
.block-form.bt-prices .bf-prices { display: block; }
.block-form:has(input[name=block_type][value=countdown]:checked) .bf-title,
.block-form.bt-countdown .bf-title,
.block-form:has(input[name=block_type][value=countdown]:checked) .bf-countdown,
.block-form.bt-countdown .bf-countdown { display: block; }
.block-form:has(input[name=block_type][value=messengers]:checked) .bf-title,
.block-form.bt-messengers .bf-title,
.block-form:has(input[name=block_type][value=messengers]:checked) .bf-messengers,
.block-form.bt-messengers .bf-messengers { display: block; }
.block-form:has(input[name=block_type][value=features]:checked) .bf-title,
.block-form.bt-features .bf-title,
.block-form:has(input[name=block_type][value=features]:checked) .bf-features,
.block-form.bt-features .bf-features { display: block; }
.block-form:has(input[name=block_type][value=heading]:checked) .bf-opt, .block-form.bt-heading .bf-opt,
.block-form:has(input[name=block_type][value=countdown]:checked) .bf-opt, .block-form.bt-countdown .bf-opt { display: none; }
.tpl-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.tpl-filter label { margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--fill); color: var(--ink-2); font-size: .8125rem; font-weight: 550; cursor: pointer; }
.tpl-filter input:checked + label { background: var(--ink); color: var(--paper); }
.tpl-filter input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }
.tpl-card:has(#tf-minimal:checked) .theme-opt:not(.cat-minimal) { display: none; }
.tpl-card:has(#tf-pastel:checked) .theme-opt:not(.cat-pastel) { display: none; }
.tpl-card:has(#tf-gradient:checked) .theme-opt:not(.cat-gradient) { display: none; }
.tpl-card:has(#tf-dark:checked) .theme-opt:not(.cat-dark) { display: none; }
.tpl-card:has(#tf-nature:checked) .theme-opt:not(.cat-nature) { display: none; }
.tpl-card:has(#tf-business:checked) .theme-opt:not(.cat-business) { display: none; }
.tpl-card:has(#tf-creative:checked) .theme-opt:not(.cat-creative) { display: none; }
.tpl-card:has(#tf-luxe:checked) .theme-opt:not(.cat-luxe) { display: none; }
.tpl-card .theme-grid { max-height: 560px; overflow-y: auto; padding: 4px; }
.font-grid, .kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.font-opt { position: relative; }
.font-opt input { position: absolute; opacity: 0; }
.font-opt label { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 12px 8px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .8125rem; }
.font-opt input:checked + label { border-color: var(--brand); box-shadow: var(--ring); }
.font-opt input:focus-visible + label { box-shadow: var(--ring); }
.font-sample.lt { min-height: 0; padding: 0; background: none; display: block; color: inherit; font-size: 1.5rem; font-weight: 700; }
.kit { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.kit .theme-swatch { height: 56px; margin: 0 0 4px; }
.kit .btn { margin-top: auto; }

/* ===== Dashboard: custom design form (fields shown per choice with :has(), no JS) ===== */
.custom-form .cd-group { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.custom-form legend { font-weight: 650; margin-bottom: 8px; }
.custom-form .cd-bg-color, .custom-form .cd-bg-gradient, .custom-form .cd-bg-gradient-only, .custom-form .cd-bg-image, .custom-form .cd-fg, .custom-form .cd-btn, .custom-form .cd-radius,
.custom-form .cd-font-google, .custom-form .cd-font-upload { display: none; }
.custom-form:has(#bg-color:checked) .cd-bg-color, .custom-form:has(#bg-gradient:checked) .cd-bg-gradient { display: grid; }
.custom-form:has(#bg-gradient:checked) .cd-bg-gradient-only, .custom-form:has(#bg-image:checked) .cd-bg-image { display: block; }
.custom-form:has([name=fg_on]:checked) .cd-fg, .custom-form:has([name=radius_on]:checked) .cd-radius,
.custom-form:has(#ft-google:checked) .cd-font-google, .custom-form:has(#ft-upload:checked) .cd-font-upload { display: block; }
.custom-form:has([name=btn_on]:checked) .cd-btn { display: grid; }
.input-color { min-height: 40px; padding: 4px; width: 100%; max-width: 160px; cursor: pointer; }
.custom-form input[type=range] { width: 100%; accent-color: var(--brand); }

/* ===== Motion 2026 — public site (body.pt), profile, dashboard =====
   Load entrances: CSS-only keyframes that end visible, no JS needed.
   Scroll reveals + marquee: hidden state only under html.pt-motion (set by app.js when motion is allowed). */
@keyframes mo-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mo-scale { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes mo-float-a { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes mo-float-b { 0%, 100% { translate: 0 -6px; } 50% { translate: 0 4px; } }
@keyframes mo-glow { 0%, 100% { transform: translate(-6%, 0) scale(1); opacity: .55; } 50% { transform: translate(6%, -4%) scale(1.08); opacity: .8; } }
@keyframes mo-sweep { from { transform: scaleX(0); } to { transform: none; } }
@keyframes mo-marquee { to { transform: translateX(calc(-100% - var(--mq-gap))); } }
@keyframes mo-shine { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(220%) skewX(-18deg); } }

/* Static styling that is fine with or without motion */
.pt-hero h1 { isolation: isolate; }
.pt-hl { position: relative; padding: 0 .06em; }
.pt-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .38em; z-index: -1; border-radius: 4px; transform-origin: left center;
  background: linear-gradient(90deg, color-mix(in srgb, var(--pt-green) 45%, transparent), color-mix(in srgb, var(--pt-green-2) 55%, transparent)); }
.pt-top { transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.pt-top.is-scrolled { background: color-mix(in srgb, var(--pt-bg) 92%, transparent); box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .25); }
/* One row in every mode, so starting the marquee does not change the strip's height: static = swipeable row. */
.pt-marquee { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.pt-marquee::-webkit-scrollbar { display: none; }
.pt-marquee:focus-visible { outline: 2px solid var(--pt-green); outline-offset: 4px; border-radius: 14px; }
/* Static row: fade the right edge so it reads as "more to swipe". */
.pt-marquee:not(.is-running) { mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
.pt-marquee .pt-trust-row { display: flex; flex: none; gap: 12px; min-width: 100%; }
.pt-marquee .pt-trust-row span { flex: 1 0 auto; white-space: nowrap; }
.pt-marquee .pt-trust-dup { display: none; }
.pt-cat, .pt-plan, .pt-case, .pt-pillars > *, .pt-feats > *, .pt-steps > li, .pt-sec-card, .pt-road > * {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s var(--ease); }
.pt-btn { transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s, filter .2s; }
.pt-btn:active { transform: scale(.98); }
.pt-btn svg, .pt-intro span { transition: transform .25s var(--ease); }
.pt-btn:hover svg { transform: translateX(3px); }
.pt-btn-green { position: relative; overflow: hidden; isolation: isolate; }
.pt-btn-green::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-120%) skewX(-18deg); }
.pt-links a { position: relative; }
.pt-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; border-radius: 1px;
  transform: scaleX(0); transform-origin: left center; transition: transform .25s var(--ease); }
.pt-links a:hover::after { transform: none; }

@media (hover: hover) and (pointer: fine) {
  .pt-cat:hover, .pt-plan:hover, .pt-case:hover, .pt-pillars > :hover, .pt-feats > :hover, .pt-steps > li:hover, .pt-sec-card:hover, .pt-road > :hover {
    transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(20, 40, 20, .35); }
  .pt-intro:hover span { transform: scale(1.1); }
}

@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance (load) */
  .pt-hero-copy > * { animation: mo-rise .7s var(--ease) both; }
  .pt-hero-copy > :nth-child(2) { animation-delay: .08s; } .pt-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .pt-hero-copy > :nth-child(4) { animation-delay: .24s; } .pt-hero-copy > :nth-child(5) { animation-delay: .32s; }
  .pt-hero-copy > :nth-child(n+6) { animation-delay: .4s; }
  .pt-hl::after { animation: mo-sweep .9s var(--ease) .55s backwards; }
  .pt-hero-side { animation: mo-fade .9s var(--ease) .2s both; }
  .pt-stage::before { content: ""; position: absolute; inset: 12% 10%; border-radius: 50%; z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent); filter: blur(20px); animation: mo-glow 12s ease-in-out infinite; }
  .pt-stage .pt-phone-a { animation: mo-float-a 6s ease-in-out infinite; }
  .pt-stage .pt-phone-b { animation: mo-float-b 7s ease-in-out infinite; }
  .pt-btn-green:hover::after { opacity: 1; animation: mo-shine .8s var(--ease); }

  /* Auth + error pages (load) */
  .pt-auth-form, .pt-page .auth-card { animation: mo-rise .6s var(--ease) both; }
  .pt-auth-aside { animation: mo-fade .8s var(--ease) .1s both; }
  .pt-auth-card { animation: mo-float-a 7s ease-in-out infinite; }
  .pt-page .err-code { animation: mo-scale .7s var(--spring) .1s both; }

  /* Tabs, pricing, FAQ */
  #pt-pm:checked ~ .pt-plans .pt-price.pt-m, #pt-py:checked ~ .pt-plans .pt-price.pt-y { animation: mo-rise .35s var(--ease) both; }
  .pt-q[open] > :not(summary) { animation: mo-rise .35s var(--ease) both; }

  /* Scroll reveals — keep the selector list in sync with app.js */
  html.pt-motion :is(.pt-head-center, .pt-head-row, .pt-pricing-head, .pt-vision .pt-eyebrow, .pt-statement, .pt-sec .container > div:not([class]),
    .pt-pillars > *, .pt-feats > *, .pt-catalog > *, .pt-dark, .pt-duo > *, .pt-hub, .pt-tabs, .pt-steps > li, .pt-plans > *, .pt-table-wrap,
    .pt-sec-card, .pt-cases, .pt-road > *, .pt-faq > *, .pt-cta, .pt-calc):not(.is-in) { opacity: 0; transform: translateY(22px); }
  html.pt-motion .is-in { animation: mo-rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
  html.pt-motion :is(.pt-pillars, .pt-feats, .pt-catalog, .pt-duo, .pt-steps, .pt-plans, .pt-road, .pt-faq) > .is-in:nth-child(2) { animation-delay: .06s; }
  html.pt-motion :is(.pt-pillars, .pt-feats, .pt-catalog, .pt-duo, .pt-steps, .pt-plans, .pt-road, .pt-faq) > .is-in:nth-child(3) { animation-delay: .12s; }
  html.pt-motion :is(.pt-pillars, .pt-feats, .pt-catalog, .pt-duo, .pt-steps, .pt-plans, .pt-road, .pt-faq) > .is-in:nth-child(4) { animation-delay: .18s; }
  html.pt-motion :is(.pt-pillars, .pt-feats, .pt-catalog, .pt-duo, .pt-steps, .pt-plans, .pt-road, .pt-faq) > .is-in:nth-child(5) { animation-delay: .24s; }
  html.pt-motion :is(.pt-pillars, .pt-feats, .pt-catalog, .pt-duo, .pt-steps, .pt-plans, .pt-road, .pt-faq) > .is-in:nth-child(n+6) { animation-delay: .3s; }

  /* Trust marquee */
  html.pt-motion .pt-marquee.is-running { --mq-gap: 12px; overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  html.pt-motion .pt-marquee.is-running .pt-trust-row { animation: mo-marquee 40s linear infinite; }
  html.pt-motion .pt-marquee.is-running .pt-trust-dup { display: flex; }
  html.pt-motion .pt-marquee.is-running .pt-trust-row span { flex: none; }
  html.pt-motion .pt-marquee.is-running:focus-within .pt-trust-row { animation-play-state: paused; }
  @media (hover: hover) { html.pt-motion .pt-marquee.is-running:hover .pt-trust-row { animation-play-state: paused; } }

  /* Public profile: remaining blocks fade in after the links */
  .lt-extras { animation: mo-rise .6s var(--ease) .45s backwards; }
  .lt-save { animation: mo-rise .6s var(--ease) .5s backwards; }

  /* Dashboard: light page fade */
  body.adm .dash-main { animation: mo-fade .15s ease-out backwards; }
}

/* No motion inside the dashboard phone preview and the landing mockups. */
[data-preview-theme], [data-preview-theme] *, .pt-stage .lt, .pt-stage .lt *, .pt-panel-mock .lt, .pt-panel-mock .lt * { animation: none !important; }

/* Print: everything visible and still, the trust strip as a plain list. */
@media print {
  html.pt-motion :is(.pt-head-center, .pt-head-row, .pt-pricing-head, .pt-vision .pt-eyebrow, .pt-statement, .pt-sec .container > div:not([class]),
    .pt-pillars > *, .pt-feats > *, .pt-catalog > *, .pt-dark, .pt-duo > *, .pt-hub, .pt-tabs, .pt-steps > li, .pt-plans > *, .pt-table-wrap,
    .pt-sec-card, .pt-cases, .pt-road > *, .pt-faq > *, .pt-cta) { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pt-trust-dup, html.pt-motion .pt-marquee.is-running .pt-trust-dup { display: none !important; }
  .pt-marquee, html.pt-motion .pt-marquee.is-running { overflow: visible !important; mask-image: none !important; -webkit-mask-image: none !important; }
  .pt-marquee .pt-trust-row, html.pt-motion .pt-marquee.is-running .pt-trust-row { flex: 1 1 100% !important; flex-wrap: wrap !important; min-width: 0 !important; width: 100%; }
  .pt-marquee .pt-trust-row span, html.pt-motion .pt-marquee.is-running .pt-trust-row span { flex: 0 1 auto !important; white-space: normal !important; }
}

/* Option tiles ("Aa" cards) and switches */
.opt-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; }
.adm-ui .toggle { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; flex: none; border-radius: 999px; background: var(--line-input); position: relative; cursor: pointer;
  transition: background .15s; margin: 0; }
.adm-ui .toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.adm-ui .toggle:checked { background: #303030; }
.adm-ui .toggle:checked::after { transform: translateX(16px); }
:root[data-theme="dark"] .adm-ui .toggle:checked { background: #7ff0b5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .adm-ui .toggle:checked { background: #7ff0b5; } }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.setting-row:first-of-type { border-top: 0; }
.setting-row strong { display: block; font-size: .85rem; }
.setting-row span { color: var(--muted); font-size: .78rem; }

/* Empty states */
.empty-state { text-align: center; padding: 36px 20px; border: 1px dashed var(--line-input); border-radius: 14px; background: var(--paper); }
.empty-state .es-ico { width: 52px; height: 52px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 14px; background: var(--paper); box-shadow: var(--card-shadow); color: var(--ink-2); }
.empty-state .es-ico svg { width: 22px; height: 22px; }
.empty-state strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.empty-state p { margin: 0 auto 14px; max-width: 46ch; color: var(--muted); font-size: .85rem; }

/* Social icon rows (Başlıq) */
.soc-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); }
.soc-row:first-child { border-top: 0; }
.soc-row .soc-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--sub); }
.soc-row .soc-ico svg { width: 18px; height: 18px; }
.soc-row .soc-move { display: flex; gap: 2px; }
.soc-add { display: grid; grid-template-columns: 180px 1fr auto; gap: 10px; margin-top: 14px; }
.counter { float: right; font-size: .75rem; color: var(--muted); font-weight: 500; }
html.js .js-hide { display: none; }

/* Collapsible cards (add forms, kits, shop settings) */
details.card > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary h2 { margin: 0; }
details.card > summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; line-height: 1; color: var(--muted); }
details.card[open] > summary::after { content: "−"; }
details.card[open] > summary { margin-bottom: 16px; }
.dash-v3 .dash-content > .card + .card, .dash-v3 .dash-content > details + details, .dash-v3 .dash-content > .card + details,
.dash-v3 .dash-content > details + .card, .dash-v3 .dash-content > form + form { margin-top: 14px; }
.toast-bad { background: #8e0b21; }

/* =====================================================================
   Dashboard v3 (07.10.2026): always light, one calm sidebar, airy content.
   body.adm-light pins the light palette even when the OS is dark.
   ===================================================================== */
html:has(body.adm-light) { color-scheme: light; }
body.adm-light, body.adm-light .adm-ui {
  --ink: #0e2a2d; --ink-2: #36504f; --muted: #5c7072; --paper: #ffffff; --canvas: #eef2f5; --nav: #ffffff; --top: #ffffff;
  --line: #e3e9ec; --line-2: #edf1f3; --line-input: #cdd7db; --fill: rgba(11, 48, 51, .04); --hover: #f3f6f7; --sub: #f3f6f7;
  --focus: #0b3033; --link: #0f5a5e; --pri: #0b3033; --pri-fg: #ffffff;
  --brand: #0b3033; --brand-2: #a9cf38; --brand-3: #a9cf38; --brand-ink: #ffffff;
  --card-shadow: 0 1px 2px rgba(11, 48, 51, .05), 0 0 0 1px #e3e9ec;
  --b-ok: #e3f8ec; --b-ok-fg: #0d6b45; --b-bad: #fde8eb; --b-bad-fg: #a3142c; --b-info: #e8f1ff; --b-info-fg: #1d4f91; --b-warn: #fff4d6; --b-warn-fg: #6b5000;
  --surface: rgba(255, 255, 255, .8);
}
body.adm-light { background: #eef2f5; color: var(--ink); }
body.adm-light .adm-ui { font-size: .875rem; }

/* Top bar: white, quiet */
body.adm-light .topbar { height: 60px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); padding: 0 20px; gap: 14px; }
body.adm-light .topbar .logo { color: var(--ink); width: 220px; }
body.adm-light .tb-search { flex: 0 1 280px; background: var(--sub); box-shadow: none; color: var(--muted); }
body.adm-light .tb-search input { color: var(--ink); }
body.adm-light .tb-search:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--focus); }
body.adm-light .tb-btn { color: var(--ink-2) !important; }
body.adm-light .tb-btn:hover, body.adm-light .tb-user:hover { background: var(--sub); }
body.adm-light .tb-user { color: var(--ink) !important; }
body.adm-light .tb-name small { color: var(--muted); }
body.adm-light .tb-av { background: #ece8ff; color: #4b32d6; }
.my-link { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 14px; border-radius: 999px; background: var(--sub); border: 1px solid var(--line); max-width: 360px; }
.my-link .my-url { font-weight: 650; font-size: .85rem; color: var(--ink) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-link .btn { border-radius: 999px; }

/* Frame */
.adm .dash-v3 { grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 60px); }
.adm .dash-v3.has-preview { grid-template-columns: 248px minmax(0, 1fr) 400px; }

/* Sidebar */
.dash-v3 .dash-nav.adm-ui { position: sticky; top: 60px; height: calc(100vh - 60px); padding: 20px 14px; gap: 2px; background: #fff; border-right: 1px solid var(--line); }
body.adm-light .dash-v3 .nav-cta { justify-content: center; width: 100%; min-height: 44px; margin-bottom: 18px; border-radius: 12px; font-size: .9rem; font-weight: 650;
  background: #a9cf38 !important; color: #0b3033 !important; border: 0; box-shadow: 0 6px 16px -8px rgba(11, 48, 51, .45); text-decoration: none !important; }
body.adm-light .dash-v3 .nav-cta:hover { background: #98bf27 !important; }
.dash-v3 .nav-list { display: grid; gap: 2px; }
.dash-v3 .nav-link { min-height: 40px; padding: 8px 12px; gap: 12px; border-radius: 10px; font-size: .9rem; font-weight: 550; color: var(--ink-2); }
.dash-v3 .nav-link .ico { color: var(--muted); }
.dash-v3 .nav-link:hover { background: var(--sub); }
.dash-v3 .nav-link.active { background: #eef6d8; color: #0b3033; font-weight: 650; }
.dash-v3 .nav-link.active .ico { color: #4a6b0c; }
.dash-v3 .nav-link .count { margin-left: auto; background: #0b3033; color: #fff; border-radius: 999px; }
.dash-v3 .nav-list-sm .nav-link { min-height: 34px; font-size: .84rem; }
.dash-v3 .nav-group { margin: 20px 12px 6px; font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dash-v3 .bottom { margin-top: auto; padding-top: 16px; }
body.adm-light .nav-upsell { background: linear-gradient(135deg, #eef6d8, #e6f0f0); box-shadow: none; border: 1px solid #d9e9a6; }

/* Content: centred, airy */
.dash-v3 .dash-main.adm-ui { padding: 8px 40px 80px; position: relative; }
.dash-v3 .dash-content { max-width: 720px; margin: 0 auto; }
.dash-v3 .dash-content > header { margin: 32px 0 22px; display: block; }
.dash-v3 .dash-content > header h1 { font-size: 1.75rem; font-weight: 750; letter-spacing: -.025em; margin: 0; color: var(--ink); }
.dash-v3 .dash-content > header .lead { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.dash-v3 .dash-content > header.row-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.dash-v3 .card { padding: 24px; border-radius: 16px; }
.dash-v3 .card h2 { font-size: 1.02rem; margin-bottom: 4px; }
.dash-v3 .card > .card-desc, .dash-v3 .card .card-desc { margin: 0 0 18px; color: var(--muted); font-size: .86rem; }
.dash-v3 .dash-content > .card + .card, .dash-v3 .dash-content > * + .card, .dash-v3 .dash-content > * + details, .dash-v3 .dash-content > * + form { margin-top: 16px; }
body.adm-light .adm-ui .btn-primary { background: #1d1d24; color: #fff; }
body.adm-light .adm-ui .input { border-color: var(--line-input); border-radius: 10px; min-height: 42px; }
body.adm-light .adm-ui .alert { border-radius: 12px; }

/* Quick add (Linklər) */
.quick-add { padding: 22px 24px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(17, 17, 24, .04), 0 0 0 1px #d9e9a6, 0 12px 32px -18px rgba(11, 48, 51, .35); }
.quick-add h2 { font-size: 1.1rem; margin: 0 0 4px; }
.quick-add .qa-row { display: flex; gap: 10px; margin-top: 14px; }
.quick-add .qa-row .input { flex: 1; min-height: 50px; font-size: 1rem; padding: 0 16px; border-radius: 12px; }
.quick-add .qa-row .btn { min-height: 50px; padding: 0 22px; border-radius: 12px; font-size: .95rem; background: #a9cf38 !important; color: #0b3033 !important; }
.quick-add .qa-more { margin-top: 12px; font-size: .84rem; }
.quick-add .qa-more > summary { cursor: pointer; color: var(--link); font-weight: 600; list-style: none; }
.quick-add .qa-more > summary::-webkit-details-marker { display: none; }
.quick-add .qa-more[open] > summary { margin-bottom: 14px; }
.section-title { margin: 32px 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.section-title .spacer { flex: 1; }
.extra-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.extra-actions > details { margin: 0 !important; }
.extra-actions > details[open] { grid-column: 1 / -1; }

/* Preview: plain, no chrome */
.dash-v3 .dash-preview.adm-ui { position: sticky; top: 60px; height: calc(100vh - 60px); padding: 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: #f6f7f9; border-left: 1px solid var(--line); overflow: auto; }
.dash-v3 .dash-preview .phone { width: 300px; height: 612px; box-shadow: 0 30px 60px -30px rgba(17, 17, 24, .35); }
.preview-open { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ink-2) !important; text-decoration: none !important; }
.preview-open svg { width: 15px; height: 15px; }
.phone-screen.is-loading { opacity: .6; transition: opacity .15s; }
.toast[hidden] { display: none; }
.pv-open, .pv-close, .pv-toggle { display: none; }
.pv-toggle:focus-visible ~ .dash-v3 .pv-open, .pv-toggle:focus-visible ~ .dash-v3 .pv-close { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Phone menu page */
.menu-list { display: grid; padding: 6px !important; }
.menu-list a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; color: var(--ink) !important; text-decoration: none !important; }
.menu-list a:hover { background: var(--sub); }
.menu-list .ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: #eef6d8; color: #4a6b0c; flex: none; }
.menu-list .ico svg { width: 18px; height: 18px; }
.menu-list strong { display: block; font-size: .95rem; }
.menu-list small { color: var(--muted); font-size: .8rem; }

@media (max-width: 1280px) {
  .adm .dash-v3, .adm .dash-v3.has-preview { grid-template-columns: 232px minmax(0, 1fr); }
  .dash-v3 .dash-preview.adm-ui { display: none; }
  .pv-toggle { display: block; }
  .pv-open { display: inline-flex; position: absolute; top: 34px; right: 40px; z-index: 5; }
  .pv-toggle:checked ~ .dash-v3 .dash-preview.adm-ui { display: flex; position: fixed; inset: 60px 0 0 auto; width: min(400px, 100vw); z-index: 50; box-shadow: -20px 0 40px rgba(0, 0, 0, .12); }
  .pv-toggle:checked ~ .dash-v3 .pv-close { display: inline-flex; align-self: flex-end; }
  .my-link { max-width: 240px; }
}
@media (max-width: 860px) {
  body.adm-light .topbar { height: 56px; padding: 0 12px; }
  body.adm-light .topbar .logo { width: auto; }
  body.adm-light .tb-search, .tb-name { display: none; }
  .my-link { flex: 1; min-width: 0; max-width: none; }
  .adm .dash-v3, .adm .dash-v3.has-preview { grid-template-columns: 1fr; }
  .dash-v3 .dash-nav.adm-ui { display: none; }
  .dash-v3 .dash-main.adm-ui { padding: 4px 16px 104px; }
  .dash-v3 .dash-content > header { margin: 22px 0 16px; }
  .dash-v3 .dash-content > header h1 { font-size: 1.45rem; }
  .pv-open { top: 24px; right: 16px; }
  .pv-toggle:checked ~ .dash-v3 .dash-preview.adm-ui { inset: 56px 0 0 0; width: 100vw; }
  .dash-v3 .card, .quick-add { padding: 18px; }
  .quick-add .qa-row { flex-direction: column; }
  .extra-actions { grid-template-columns: 1fr; }
  body.adm-light .mobile-nav.adm-ui { background: #fff; border-top: 1px solid var(--line); }
  body.adm-light .mobile-nav .nav-link.active { background: #eef6d8; color: #0b3033; }
}

/* Dashboard v3 — compact pass */
body.adm-light .topbar { height: 52px; padding: 0 16px; }
body.adm-light .topbar .logo { width: 200px; font-size: .98rem; }
body.adm-light .tb-search { height: 34px; flex-basis: 240px; }
.my-link { padding: 3px 3px 3px 12px; }
.my-link .my-url { font-size: .8rem; }
.adm .dash-v3 { grid-template-columns: 216px minmax(0, 1fr); min-height: calc(100vh - 52px); }
.adm .dash-v3.has-preview { grid-template-columns: 216px minmax(0, 1fr) 360px; }
.dash-v3 .dash-nav.adm-ui { top: 52px; height: calc(100vh - 52px); padding: 14px 10px; }
body.adm-light .dash-v3 .nav-cta { min-height: 38px; margin-bottom: 12px; border-radius: 10px; font-size: .84rem; }
.dash-v3 .nav-link { min-height: 34px; padding: 6px 10px; gap: 10px; font-size: .84rem; border-radius: 8px; }
.dash-v3 .nav-link svg { width: 17px; height: 17px; }
.dash-v3 .nav-list-sm .nav-link { min-height: 30px; font-size: .8rem; }
.dash-v3 .nav-group { margin: 14px 10px 4px; font-size: .66rem; }
body.adm-light .nav-upsell { padding: 10px; font-size: .72rem; }
.dash-v3 .dash-main.adm-ui { padding: 0 32px 64px; }
.dash-v3 .dash-content { max-width: 680px; }
.dash-v3 .dash-content > header { margin: 22px 0 14px; }
.dash-v3 .dash-content > header h1 { font-size: 1.35rem; }
.dash-v3 .dash-content > header .lead { font-size: .85rem; margin-top: 2px; }
.dash-v3 .card { padding: 18px; border-radius: 14px; }
.dash-v3 .card h2 { font-size: .92rem; }
.dash-v3 .card > .card-desc, .dash-v3 .card .card-desc { margin-bottom: 12px; font-size: .8rem; }
.dash-v3 .dash-content > * + .card, .dash-v3 .dash-content > * + details, .dash-v3 .dash-content > * + form, .dash-v3 .dash-content > .card + .card { margin-top: 12px; }
body.adm-light .adm-ui .input { min-height: 38px; }
body.adm-light .adm-ui { font-size: .84rem; }

/* Quick add: one tidy row */
.quick-add { padding: 10px; border-radius: 14px; }
.quick-add .qa-row { margin: 0; gap: 8px; align-items: center; position: relative; }
.quick-add .qa-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; display: flex; }
.quick-add .qa-ico svg { width: 17px; height: 17px; }
.quick-add .qa-row .input { min-height: 44px; padding-left: 40px; font-size: .92rem; border-radius: 10px; }
.quick-add .qa-row .btn { min-height: 44px; padding: 0 18px; border-radius: 10px; font-size: .86rem; }
.quick-add .qa-more { margin: 8px 6px 2px; font-size: .8rem; }
.quick-add .qa-more > summary { display: flex; justify-content: space-between; }
.quick-add .error { margin: 6px 6px 0; }

/* Onboarding: one line of remaining steps */
.ob-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: var(--card-shadow); font-size: .78rem; }
.ob-count { color: var(--muted); }
.ob-count strong { color: var(--ink); }
.ob-bar { width: 64px; height: 6px; margin-right: 4px; }
.ob-bar .ob-bg { fill: #ececf0; }
.ob-bar .ob-fg { fill: #a9cf38; }
.ob-chip { padding: 3px 10px; border-radius: 999px; background: #eef6d8; color: #0b3033 !important; font-weight: 600; text-decoration: none !important; }
.ob-chip:hover { background: #e6e0ff; }

/* Link list: denser */
.tabs-compact { margin: 18px 0 8px !important; border-bottom: 0 !important; gap: 4px; }
.tabs-compact a { padding: 5px 10px !important; border: 0 !important; border-radius: 8px; font-size: .8rem; }
.tabs-compact a.active { background: #fff; box-shadow: var(--card-shadow); color: var(--ink) !important; }
.dash-v3 .link-list summary { padding-top: 10px; padding-bottom: 10px; }
.extra-actions { margin-top: 16px; gap: 10px; }

/* Preview: a bit smaller */
.dash-v3 .dash-preview.adm-ui { top: 52px; height: calc(100vh - 52px); padding: 20px 16px; gap: 10px; }
.dash-v3 .dash-preview .phone { width: 270px; height: 552px; }
@media (max-width: 1280px) {
  .adm .dash-v3, .adm .dash-v3.has-preview { grid-template-columns: 208px minmax(0, 1fr); }
  .pv-open { top: 20px; right: 32px; }
  .pv-toggle:checked ~ .dash-v3 .dash-preview.adm-ui { inset: 52px 0 0 auto; }
}
@media (max-width: 860px) {
  .adm .dash-v3, .adm .dash-v3.has-preview { grid-template-columns: 1fr; }
  .dash-v3 .dash-main.adm-ui { padding: 0 12px 96px; }
  .dash-v3 .dash-content > header { margin: 16px 0 10px; }
  .pv-open { top: 14px; right: 12px; }
  .quick-add .qa-row { flex-direction: row; }
  .quick-add .qa-row .btn { padding: 0 14px; }
  .dash-v3 .card { padding: 14px; }
}
.dash-v3 .theme-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.dash-v3 .theme-swatch { height: 58px; gap: 4px; padding: 0 10px; margin-bottom: 5px; border-radius: 8px; }
.dash-v3 .theme-swatch i { height: 8px; }
.dash-v3 .theme-opt label { border-radius: 10px; padding: 5px; font-size: .72rem; }
.dash-v3 .tpl-filter label { padding: 4px 10px; font-size: .76rem; }
.dash-v3 .font-grid, .dash-v3 .style-grid { gap: 8px; }
.my-link .my-url { flex: 1; min-width: 0; }
.topbar .pv-open { position: static !important; }
.pv-toggle:focus-visible ~ .topbar .pv-open { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 860px) { .topbar .pv-open { padding: 4px 10px; } body.adm-light .topbar { gap: 8px; } }
/* Phones: the link text hides, Kopyala + Aç stay (every page, with or without the preview). */
.my-link .my-open { display: none; }
@media (max-width: 860px) {
  .my-link { flex: none; gap: 6px; padding: 0; border: 0; background: none; }
  .my-link .btn, .topbar .pv-open { flex: none; }
  body.adm-light .topbar .logo { flex: 0 1 auto; min-width: 0; }
  .my-link .my-url { display: none; }
  .my-link .my-open { display: inline-flex; }
  .my-link .btn { padding: 4px 10px; }
  body.adm-light .topbar .spacer { display: block; flex: 1; }
}
@media (max-width: 860px) { body.adm-light .tb-user { display: none; } }

/* Bigger live preview: the phone fills the preview column's height (keeps the 300:612 ratio). */
@media (min-width: 1281px) { .adm .dash-v3.has-preview { grid-template-columns: 216px minmax(0, 1fr) minmax(380px, 30vw); } }
.dash-v3 .dash-preview.adm-ui { justify-content: center; padding: 16px 20px; }
.dash-v3 .dash-preview .phone { height: min(calc(100vh - 52px - 76px), 780px); width: auto; aspect-ratio: 300 / 612; max-width: 100%; border-radius: 52px; padding: 12px; }
.dash-v3 .dash-preview .phone-screen { border-radius: 42px; }
.dash-v3 .dash-preview .phone .lt { font-size: .95rem; }
.dash-v3 .dash-preview .phone .lt-avatar { width: 84px; height: 84px; }
.dash-v3 .dash-preview .phone .lt-btn { min-height: 52px; font-size: .9rem; }
@media (max-height: 760px) { .dash-v3 .dash-preview .phone { height: calc(100vh - 52px - 60px); } }
@media (max-width: 1280px) { .pv-toggle:checked ~ .dash-v3 .dash-preview.adm-ui { width: min(440px, 100vw); } }

/* Segmented switches (link type, background/font source): even 3px inset, equal-height segments, symmetric selected state. */
.adm-ui .type-switch { display: inline-flex; align-items: stretch; gap: 2px; padding: 3px; border: 1px solid var(--line); box-shadow: none; border-radius: 12px; background: var(--sub); line-height: 1; }
.adm-ui .type-switch label { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 9px; line-height: 1; white-space: nowrap; transition: background .12s, color .12s; }
.adm-ui .type-switch label svg { width: 16px; height: 16px; flex: none; }
.adm-ui .type-switch label:hover { background: transparent; color: var(--ink); }
.adm-ui .type-switch input:checked + label { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(17, 17, 24, .06); }
@media (max-width: 860px) { .adm-ui .type-switch { display: flex; flex-wrap: wrap; } .adm-ui .type-switch label { flex: 1 1 auto; justify-content: center; } }
.adm-ui .type-switch label { margin: 0 !important; } /* the shell's generic label margin made the bar 4px taller at the bottom */

/* Funnel (Statistika) */
.funnel-steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.funnel-step .bar-row { margin-bottom: 4px; }
.funnel-bar { height: 8px; }
.funnel-rate { margin-left: 6px; font-size: .78rem; font-weight: 650; color: var(--lime-ink, #4a6b0c); }
.funnel-actions { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.funnel-actions li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--sub); font-size: .85rem; }
.funnel-revenue { margin: 12px 0 0; font-size: .9rem; }

/* =====================================================================
   Linkopy brand layer (10.10.2026): logo + deep green / lime / mist.
   Text on lime surfaces is deep green; lime is never text on light.
   ===================================================================== */
.brand-link { color: var(--deep) !important; text-decoration: none !important; }
.brand-logo { display: block; height: 26px; width: auto; }
.brand-mark { display: block; width: 18px; height: 18px; flex: none; }
.pt-logo .brand-logo { height: 28px; }
.pt-logo-light.brand-link, .pt-logo-light { color: #ffffff !important; }
body.adm-light .topbar .logo.brand-link { font-size: 0; }
body.adm-light .topbar .logo .brand-logo { height: 24px; }
.pt-hub-core { color: #ffffff; }
.pt-hub-core .brand-mark { width: 36px; height: 36px; }
.lt-foot .brand-mark { width: 16px; height: 16px; }

/* Primary buttons: solid deep green (no purple/lime gradient). */
.btn-primary { background: linear-gradient(180deg, var(--deep-2), var(--deep)); color: #fff; }
.btn-primary:hover { background: var(--deep-2); }
body.adm-light .btn-primary { background: var(--deep) !important; color: #fff !important; }
body.adm-light .btn-primary:hover { background: var(--deep-2) !important; }
body.adm-light .dash-v3 .nav-cta, body.adm-light .quick-add .qa-row .btn { background: var(--lime) !important; color: var(--deep) !important; }
body.adm-light .dash-v3 .nav-cta:hover, body.adm-light .quick-add .qa-row .btn:hover { background: var(--lime-2) !important; }
.funnel .progress-svg .fill { fill: var(--lime); }
.funnel .progress-svg .track { fill: #e6edf0; }

/* Landing: everything sitting on the lime gradient uses deep-green text and icons. */
.pt-btn-green, .pt-intro span, .pt-balance, .pt-price em, .pt-plan li:not(.off)::before, .pt-cta, .pt-cta h2, .pt-auth-aside, .pt-auth-aside h2,
.pt-checks li::before, .pt-yes, .pt-road-on .pt-road-tag, .pt-bub { color: var(--pt-dark) !important; }
.pt-bub { background: rgba(255, 255, 255, .45); }
.pt-auth-aside li svg { background: rgba(255, 255, 255, .45); }
.pt-btn-green { box-shadow: 0 8px 20px -10px rgba(11, 48, 51, .45); }
.pt-btn-green:hover { filter: brightness(.97); }
/* Lime-family text on light backgrounds → readable olive. */
.pt-login.on, .pt-act b, .pt-facts strong, .pt-ico-soft, .pt-dark-tab, .pt-more, .pt-trust-row svg, .pt-badge { color: var(--pt-green-text) !important; }
/* …but on the dark paid-plan card and in the footer the text must be light. */
.pt-plan-hot .pt-badge { color: var(--pt-green-2) !important; }
.pt-copy { color: #a9bcbb; }
/* Focus indicators must reach 3:1 on light: deep green outlines. */
.pt :focus-visible, .pt-q summary:focus-visible, .pt-marquee:focus-visible,
#pt-pm:focus-visible ~ .pt-pricing-head .pt-toggle label[for="pt-pm"], #pt-py:focus-visible ~ .pt-pricing-head .pt-toggle label[for="pt-py"],
#aud-1:focus-visible ~ .pt-tabs label[for="aud-1"], #aud-2:focus-visible ~ .pt-tabs label[for="aud-2"], #aud-3:focus-visible ~ .pt-tabs label[for="aud-3"] { outline-color: var(--pt-dark); }
.pt-claim-field:focus-within, .pt-page .input:focus, .pt-page .input-prefix:focus-within { border-color: var(--pt-dark); }
.pt-dark :focus-visible, .pt-foot :focus-visible, .pt-plan-hot :focus-visible, .pt-sec-card :focus-visible { outline-color: var(--pt-green); }
.pt-foot { color: #a9bcbb; }
.pt-foot-grid a:not(.pt-logo) { color: #a9bcbb; }
.pt-auth-card { background: var(--pt-dark); }
.pt-auth-card small { color: #a9bcbb; }

/* Referral (Paylaş) */
.referral .ref-link { display: flex; gap: 8px; align-items: center; padding: 4px; }
.referral .ref-link .input { flex: 1; min-width: 0; border: 0; background: transparent; }
.ref-stats { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ref-stats li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: var(--lime-soft); }
.ref-stats strong { font-size: 1.15rem; color: var(--deep); }
.ref-stats span { font-size: .75rem; color: var(--ink-2); }
@media (max-width: 560px) { .ref-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.invite-note { margin: -10px 0 18px; padding: 10px 14px; border-radius: 12px; background: var(--lime-soft); color: var(--deep); font-size: .9rem; }

/* Unavailable features on the dark paid-plan card: light text and marker (≥ 4.5:1 on #0b3033). */
.pt-plan-hot li.off { color: #a9bcbb; }
.pt-plan-hot li.off::before { background: #1d4a4d; color: #cfdcdb; }

/* Sponsored (campaign) link marker on public profiles — inherits the theme colours. */
.lt-ad { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 6px; border: 1px solid currentColor; font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .8; vertical-align: middle; }

/* Campaigns + public campaign report */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.camp-list { list-style: none; margin: 0; padding: 0; }
.camp-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.camp-list li:first-child { border-top: 0; }
.camp-list a { color: var(--ink) !important; }
.camp-list .muted.small { flex: 1; }
.pill-on { background: var(--lime-soft) !important; color: var(--deep) !important; }
.cr-page { padding-top: 32px; padding-bottom: 72px; max-width: 920px; }
.cr-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 6px 0; }
.cr-page .card { background: #fff; border-radius: 18px; padding: 20px; border: 1px solid var(--pt-line); }
.cr-page .kpis { margin-top: 20px; }
.cr-page .chart-svg .bar-c, .dash-v3 .cr-kpis ~ .card .chart-svg .bar-c { fill: var(--deep); }
.cr-page .progress-svg .fill { fill: var(--lime); }
@media (max-width: 640px) { .cr-kpis { grid-template-columns: 1fr; } }

/* Promo codes (Mağaza) */
.promo-list { list-style: none; margin: 0; padding: 0; }
.promo-list li { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.promo-list li:first-child { border-top: 0; }
.promo-list li.off { opacity: .6; }
.promo-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.promo-stats { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--ink-2); }
.promo-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.field .label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; }

.lt-promo-row { display: flex; gap: 8px; }
.lt-promo-row .input { flex: 1; min-width: 0; text-transform: uppercase; }
.lt-promo { margin-bottom: 12px; }

/* =====================================================================
   Headings: Onest (Google Fonts, OFL; self-hosted variable 100–900, latin + latin-ext + cyrillic).
   Covers ə Ə ğ ı İ ş ç ö ü, Turkish and Russian/Azerbaijani Cyrillic. Platform pages only:
   public profiles keep their own heading font (.lt resets --font-display; profile font choices override it).
   ===================================================================== */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/onest/onest-cyrillic-ext.woff2") format("woff2"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/onest/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/onest/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/onest/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root, body.pt, body.adm-light, body.adm-light .adm-ui { --font-display: "Onest", "Inter Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.lt { --font-display: "Inter Display", ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, sans-serif; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-feature-settings: normal; }
h1, h2 { letter-spacing: -.03em; }
h4, h5 { line-height: 1.25; letter-spacing: -.01em; }

/* Progress bars (partials/bar): unscaled line + round caps → round ends at any width. The caps stick out by half the
   thickness at both ends, so the SVG is inset by that much and may overflow. */
.pbar { --t: 8px; display: block; height: var(--t); width: calc(100% - var(--t)); margin: 6px calc(var(--t) / 2); overflow: visible; }
.pbar line { stroke-width: var(--t); stroke-linecap: round; }
.pbar-track { stroke: var(--line-2, #e6edf0); }
.pbar-fill { stroke: var(--deep, #0b3033); }
.pbar-lime .pbar-fill { stroke: var(--lime, #a9cf38); }
.pbar-sm { --t: 6px; }
.funnel .pbar { margin-top: 2px; }
.pbar-ob { --t: 6px; width: 58px; flex: none; margin: 0 6px 0 3px; }
.cr-page .pbar-fill, .adm-ui .card .pbar:not(.pbar-lime) .pbar-fill { stroke: var(--deep, #0b3033); }

/* Media kit (dashboard editor + public page) */
.kit-row { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr .8fr; gap: 8px; margin-bottom: 8px; }
.kit-row-rate { grid-template-columns: 2fr 1fr 2fr; }
@media (max-width: 640px) { .kit-row, .kit-row-rate { grid-template-columns: 1fr 1fr; } }
.inq { padding: 14px 0; border-top: 1px solid var(--line); }
.inq:first-of-type { border-top: 0; }
.inq-new strong { color: var(--deep); }
.inq-new::before { content: "Yeni"; display: inline-block; margin-bottom: 6px; padding: 1px 8px; border-radius: 999px; background: var(--lime-soft); color: var(--deep); font-size: .7rem; font-weight: 700; }
.inq-msg { white-space: pre-line; margin: 8px 0; }
.mk-page { max-width: 880px; padding-top: 32px; padding-bottom: 72px; }
.mk-head { display: flex; gap: 20px; align-items: center; }
.mk-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 4px 0; }
.mk-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; background: var(--deep); color: #fff; font-size: 2rem; font-weight: 700; }
.mk-headline { font-size: 1.05rem; margin: 8px 0 0; color: var(--ink-2); }
.mk-about { margin: 20px 0 0; white-space: pre-line; color: var(--ink-2); line-height: 1.65; }
.mk-card { margin-top: 18px; background: #fff; border-radius: 18px; padding: 22px; border: 1px solid var(--pt-line, #d9e2e7); }
.mk-card h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.25rem; }
.mk-card h3 { font-size: .95rem; margin: 16px 0 6px; }
.mk-badge { padding: 2px 10px; border-radius: 999px; background: var(--lime-soft); color: var(--deep); font-size: .72rem; font-weight: 650; }
.mk-badge-self { background: #eef2f5; color: var(--ink-2); }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 4px; }
.mk-stats div { padding: 14px; border-radius: 14px; background: #eef2f5; display: flex; flex-direction: column; }
.mk-stats strong { font-family: var(--font-display); font-size: 1.8rem; color: var(--deep); }
.mk-stats span { font-size: .8rem; color: var(--ink-2); }
.mk-aud, .mk-rates { list-style: none; margin: 0; padding: 0; }
.mk-aud li, .mk-rates li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.mk-aud li:first-child, .mk-rates li:first-child { border-top: 0; }
.mk-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eef2f5; color: var(--deep); flex: none; }
.mk-ico svg { width: 18px; height: 18px; }
.mk-num, .mk-price { margin-left: auto; font-weight: 650; color: var(--deep); white-space: nowrap; }
.mk-rates small { display: block; color: var(--ink-2); font-size: .8rem; }
@media (max-width: 560px) { .mk-stats { grid-template-columns: 1fr; } .mk-head { flex-direction: column; align-items: flex-start; } }

/* Affiliate */
.aff-fields { border: 0; padding: 0; margin: 0 0 12px; }
.aff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; }
@media (max-width: 640px) { .aff-grid { grid-template-columns: 1fr; } }
.product-form .aff-fields { display: none; }
.product-form:has(input[name="kind"][value="link"]:checked) .aff-fields { display: block; }
.lt-disclosure { margin-top: 10px; font-size: .78rem; opacity: .8; text-align: center; }

/* Language switcher */
.lang-switch { display: flex; justify-content: center; gap: 2px; margin-top: 10px; font-size: .74rem; }
.lang-switch a { padding: 3px 7px; border-radius: 6px; color: inherit !important; opacity: .7; text-decoration: none !important; font-weight: 600; letter-spacing: .03em; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current] { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.lt .lang-switch { color: var(--sub); }
.pt-foot .lang-switch { justify-content: flex-start; margin-top: 14px; color: #cfdcdb; }
.legal-note { padding: 10px 14px; border-radius: 12px; background: var(--lime-soft); color: var(--deep); font-size: .9rem; }

/* Header language menu (partials/site/lang-menu) */
.pt-lang { position: relative; flex: none; }
.pt-lang summary { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; cursor: pointer; list-style: none;
  color: var(--pt-ink); font-size: .86rem; font-weight: 600; letter-spacing: .02em; transition: background-color .15s; }
.pt-lang summary::-webkit-details-marker { display: none; }
.pt-lang summary:hover, .pt-lang[open] summary { background: var(--mist); }
.pt-lang summary:focus-visible { outline: 2px solid var(--deep); outline-offset: 2px; }
.pt-lang-caret { opacity: .6; transition: transform .15s; }
.pt-lang[open] .pt-lang-caret { transform: rotate(180deg); }
.pt-lang ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 190px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid #dfe6ea; border-radius: 14px; box-shadow: 0 12px 32px rgba(11, 48, 51, .14); }
.pt-lang a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px;
  color: var(--pt-ink); text-decoration: none; font-size: .92rem; }
.pt-lang a:hover { background: var(--mist); }
.pt-lang a small { color: var(--pt-muted); font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.pt-lang a[aria-current] { background: var(--lime-soft); font-weight: 600; }
.pt-lang a[aria-current] small { color: var(--deep); }
@media (max-width: 960px) { .pt-lang { margin-left: auto; } .pt-lang summary { padding: 8px; } }
@media (prefers-reduced-motion: no-preference) { .pt-lang[open] ul { animation: pt-lang-in .14s ease-out; } }
@keyframes pt-lang-in { from { opacity: 0; transform: translateY(-4px); } }

/* Pay-link checkout (shop/return, gateway "link") */
.lock-card .pay-steps { margin: 14px 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: .92rem; line-height: 1.45; }
.lock-card .pay-ref { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.05rem; letter-spacing: .06em; background: color-mix(in srgb, currentColor 12%, transparent); user-select: all; }
.lock-card .pay-note { white-space: pre-line; }
.lock-card .lt-form { margin-top: 14px; }
.pay-link-fields { border: 1px solid var(--line, #e3e8ec); border-radius: 14px; padding: 12px 16px 4px; margin: 0 0 16px; }
.pay-link-fields legend { padding: 0 6px; font-weight: 600; font-size: .92rem; }
.card-warn { border-color: #e9b949; background: #fffaeb; }

/* Landing — "switch from other platforms" section (home.blade.php #kecid) */
.pt-switch-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: start; }
.pt-calc { padding: 28px; border-radius: 22px; background: var(--pt-dark); color: #fff; box-shadow: 0 24px 48px -28px rgba(11, 48, 51, .55); }
.pt-calc h3 { margin: 0 0 18px; font-size: 1.25rem; color: #fff; }
.pt-calc label { display: block; font-size: .92rem; color: #c7d6d5; margin-bottom: 12px; }
.pt-calc label strong { color: #fff; font-size: 1.05rem; }
.pt-calc input[type="range"] { --fill: 10%; width: 100%; height: 8px; margin: 0 0 22px; border-radius: 999px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(to right, var(--pt-green) var(--fill), rgba(255, 255, 255, .16) var(--fill)); }
.pt-calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--pt-green); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.pt-calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--pt-green); }
.pt-calc input[type="range"]:focus-visible { outline: 2px solid var(--pt-green); outline-offset: 6px; }
.pt-calc-rows { display: grid; gap: 8px; }
.pt-calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: .9rem; color: #c7d6d5; }
.pt-calc-row strong { color: #fff; font-size: 1.15rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pt-calc-row small { font-size: .75rem; color: #a9bcbb; font-weight: 500; }
.pt-calc-them strong { color: #ffb4a8; }
.pt-calc-us { background: var(--pt-green); color: var(--pt-dark); font-weight: 600; }
.pt-calc-us strong { color: var(--pt-dark); font-size: 1.35rem; }
.pt-calc-note { margin: 14px 0 0; font-size: .76rem; line-height: 1.5; color: #8fa5a4; }
.pt-table-2 { min-width: 0; }
.pt-table-2 th[scope="row"] { text-align: left; font-weight: 500; }
.pt-table-2 td, .pt-table-2 th { padding: 14px 16px; }
.pt-table-note { margin: 0; padding: 12px 16px; font-size: .74rem; line-height: 1.5; color: var(--pt-muted); border-top: 1px solid var(--pt-line); }
.pt-switch-head { margin: 52px auto 20px; }
.pt-switch-head h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 0; }
.pt-switch-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin-top: 28px; font-size: .9rem; color: var(--pt-muted); }
@media (max-width: 960px) {
  .pt-switch-grid { grid-template-columns: 1fr; }
  .pt-calc { padding: 22px; }
}
@media (max-width: 520px) {
  .pt-calc-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pt-table-2 td, .pt-table-2 th { padding: 12px 10px; font-size: .84rem; }
}
.pt-table-2 td.pt-us { white-space: nowrap; }
@media (max-width: 520px) {
  .pt-nav { gap: 8px; }
  .pt-nav .pt-btn { padding: 8px 14px; min-height: 40px; font-size: .88rem; }
  .pt-lang summary { padding: 6px; gap: 4px; }
  .pt-lang-caret { display: none; }
}

/* Link button icons (LinkIcon; layout from users.icon_pos/icon_style via .ico-left|right + .ico-brand|mono on .lt) */
.lt-ico { position: absolute; top: 50%; left: 10px; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; pointer-events: none; }
.lt-ico svg { width: 20px; height: 20px; }
.lt.ico-right .lt-ico { left: auto; right: 10px; }
.lt.ico-left .lt-btn.has-ico .lt-lock { left: auto; right: 18px; }
.lt.ico-mono .lt-ico { background: none; color: currentColor; }
.lt.ico-brand .lt-ico { background: color-mix(in srgb, currentColor 13%, transparent); color: currentColor; }
.lt.ico-brand .lt-ico-brand { color: #fff; }
.lt.ico-brand .lt-ico-instagram { background: radial-gradient(circle at 30% 107%, #fdd56d 0%, #f7744a 40%, #d6249f 65%, #6c3cdb 100%); }
.lt.ico-brand .lt-ico-tiktok { background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.lt.ico-brand .lt-ico-youtube { background: #ff0000; }
.lt.ico-brand .lt-ico-facebook { background: #1877f2; }
.lt.ico-brand .lt-ico-x { background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.lt.ico-brand .lt-ico-linkedin { background: #0a66c2; }
.lt.ico-brand .lt-ico-telegram { background: #229ed9; }
.lt.ico-brand .lt-ico-whatsapp { background: #25d366; }
.lt.ico-brand .lt-ico-messenger { background: #0084ff; }
.lt.ico-brand .lt-ico-viber { background: #7360f2; }
.lt.ico-brand .lt-ico-spotify { background: #1db954; }
.lt.ico-brand .lt-ico-github { background: #24292f; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.lt .lt-ico-emoji { background: none !important; font-size: 22px; line-height: 1; }

/* Link form: icon picker (CSS-only; radios + labels) */
.icon-pick { border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; margin-bottom: 16px; }
.icon-pick summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; padding-bottom: 12px; }
.icon-grid input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.icon-opt { display: grid; place-items: center; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
.icon-opt svg { width: 20px; height: 20px; }
.icon-opt:hover { border-color: var(--deep, #0b3033); }
.icon-opt-wide { grid-column: span 2; display: flex; justify-content: center; gap: 6px; padding: 0 8px; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.icon-grid input:checked + .icon-opt { border-color: var(--deep, #0b3033); background: var(--lime-soft, #eef6d8); box-shadow: inset 0 0 0 1px var(--deep, #0b3033); }
.icon-grid input:focus-visible + .icon-opt { outline: 2px solid var(--deep, #0b3033); outline-offset: 2px; }
.icon-emoji-field { display: none; }
.icon-pick:has(input[value="emoji"]:checked) .icon-emoji-field { display: block; }
.icon-pick .icon-emoji-field .input { max-width: 120px; font-size: 1.3rem; text-align: center; }
/* Dizayn → link icons: radio segmented controls */
.seg-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.seg-label { min-width: 64px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label { padding: 7px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .86rem; white-space: nowrap; cursor: pointer; margin: 0; }
.seg input:checked + label { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg input:focus-visible + label { outline: 2px solid var(--deep, #0b3033); outline-offset: 2px; }
