/* Nunito (SIL Open Font License, public/fonts/OFL.txt) from this site, not Google Fonts: no third-party request and no
   visitor IP sent elsewhere. One variable file per script covers every weight; the browser fetches only what a page uses. */
@font-face { font-family: Nunito; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-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: Nunito; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Nunito; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-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: Nunito; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(/fonts/nunito-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; }
/* Design language shared with hizmethane.com: Nunito, teal brand, orange accent, warm off-white, soft rounded cards. */
:root {
  --bg: #fbfaf7; --surface: #ffffff; --surface-2: #f2f5f4; --text: #16232b; --muted: #55656d; --border: #e4e9ec;
  --brand: #0f766e; --brand-dark: #0b5953; --brand-2: #14b8a6; --brand-soft: #e6f4f1;
  --accent: #f97316; --accent-dark: #ea580c; --accent-soft: #fff1e8; --gold: #f5a524; --heading: #0f2340; --logo-a: #0b5953;
  --ok: #0f9d58; --warn: #c77700; --bad: #d93025;
  --radius: 18px; --shadow: 0 1px 2px rgba(16,35,43,.06), 0 8px 24px rgba(16,35,43,.06); --shadow-lg: 0 20px 50px rgba(16,35,43,.14);
  font-family: Nunito, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
/* Dark palette: follows the OS unless the visitor picked a theme (data-theme set by theme.js). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d171c; --surface: #13222a; --surface-2: #1a2d36; --text: #e6efed; --muted: #9db0ab; --border: #26383f;
    --brand: #2dd4bf; --brand-dark: #5eead4; --brand-2: #5eead4; --brand-soft: #10302e;
    --accent: #fb923c; --accent-dark: #f97316; --accent-soft: #3a2414; --heading: #f1f5f4; --logo-a: #e6efed;
    --ok: #34d399; --warn: #fbbf24; --bad: #f87171; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d171c; --surface: #13222a; --surface-2: #1a2d36; --text: #e6efed; --muted: #9db0ab; --border: #26383f;
  --brand: #2dd4bf; --brand-dark: #5eead4; --brand-2: #5eead4; --brand-soft: #10302e;
  --accent: #fb923c; --accent-dark: #f97316; --accent-soft: #3a2414; --heading: #f1f5f4; --logo-a: #e6efed;
  --ok: #34d399; --warn: #fbbf24; --bad: #f87171; color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }
html.i18n-wait body { visibility: hidden; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 18px; font: inherit; font-weight: 800;
  cursor: pointer; background: var(--accent); color: #fff; text-decoration: none !important; white-space: nowrap;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 30%, transparent); transition: background .15s, box-shadow .15s, transform .15s; }
.btn:not(:disabled):hover { background: var(--accent-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); box-shadow: none; }
.btn.ghost:not(:disabled):hover { background: var(--surface); border-color: var(--brand); color: var(--brand-dark); }
.btn.sm { padding: 6px 12px; font-size: 14px; }
.btn.danger { background: var(--bad); }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; width: 100%; }
textarea { min-height: 90px; resize: vertical; }
label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 6px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.muted { color: var(--muted); }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.pill.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.pill.bad { background: color-mix(in srgb, var(--bad) 15%, transparent); color: var(--bad); }
.pill.brand { background: var(--brand-soft); color: var(--brand); }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.table-wrap { overflow-x: auto; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 50; max-width: calc(100% - 32px); }

/* ---------- landing ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.logo { font-weight: 900; font-size: 22px; color: var(--logo-a); letter-spacing: -.045em; }
/* Two-tone wordmark: "AutoAi" in the brand colour, "Seo" in an orange-gold gradient over a slanted brush stroke. */
.logo span { position: relative; margin-left: .02em; background: linear-gradient(95deg, var(--accent) 0%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo span::after { content: ""; position: absolute; left: 4%; right: -6%; bottom: -.12em; height: .18em; border-radius: 99px;
  background: linear-gradient(95deg, var(--accent), var(--gold)); opacity: .5; transform: rotate(-2.5deg); transform-origin: left; transition: transform .35s ease, opacity .35s ease; }
.logo:hover span::after { transform: rotate(-2.5deg) scaleX(1.08); opacity: .75; }
.logo:hover { text-decoration: none; }
.nav .links { display: flex; gap: 20px; align-items: center; }
.nav .links a:not(.btn) { color: var(--muted); }
.hero { padding: 56px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(32px, 5.5vw, 58px); letter-spacing: -.03em; max-width: 900px; margin: 0 auto 18px; }
.hero p.lead { font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 720px; margin: 0 auto 28px; }
.audit-form { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; }
.audit-form input { padding: 14px 16px; font-size: 16px; }
.section { padding: 56px 0; }
.section h2 { font-size: clamp(26px, 3.5vw, 38px); text-align: center; letter-spacing: -.02em; }
.section .sub { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.feature h3 { font-size: 18px; }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 20px; margin-bottom: 12px; }
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 44px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 14px; left: 20px; font-weight: 800; color: var(--brand); }
.compare td:nth-child(2), .compare td:nth-child(3), .compare th:nth-child(2), .compare th:nth-child(3) { text-align: center; }
.price { text-align: left; }
.price.featured { outline: 2px solid var(--brand); }
.price .amount { font-size: 38px; font-weight: 800; }
.price ul { padding-left: 18px; color: var(--muted); }
details.faq { border-bottom: 1px solid var(--border); padding: 14px 0; }
details.faq summary { font-weight: 600; cursor: pointer; }
.score-ring { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 800; margin: 0 auto;
  background: conic-gradient(var(--c, var(--brand)) calc(var(--p) * 1%), var(--surface-2) 0); position: relative; }
.score-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--surface); }
.score-ring b { position: relative; z-index: 1; }
.check { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.check .i { flex: none; width: 20px; text-align: center; }
footer.site { padding: 32px 0; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }

/* ---------- app ---------- */
.app { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--border); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.side .brand-block { padding: 2px 10px 10px; font-size: 20px; }
.side .tab { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 8px; color: var(--muted); cursor: pointer; font-weight: 500; font-size: 14px;
  border: 0; background: none; font-family: inherit; text-align: left; line-height: 1.3; }
.side .tab > span[aria-hidden] { width: 18px; flex: none; text-align: center; }
.side .tab:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
/* The page you are on: tinted, bold and marked with a bar, so it is found at a glance. */
.side .tab.active { background: var(--brand-soft); color: var(--brand); font-weight: 700; box-shadow: inset 3px 0 0 var(--brand); }
[dir="rtl"] .side .tab.active { box-shadow: inset -3px 0 0 var(--brand); }
.side select { margin: 2px 0 6px; padding-block: 7px; font-size: 14px; }
.main { padding: 24px; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.kpi .v { font-size: 28px; font-weight: 800; }
.kpi .l { color: var(--muted); font-size: 13px; }
.bar { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.auth-box { max-width: 420px; margin: 8vh auto; }
.editor { min-height: 420px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.preview { max-height: 70vh; overflow: auto; border: 1px solid var(--border); border-radius: 10px; padding: 16px; background: var(--surface); }
.preview a { background: color-mix(in srgb, var(--brand) 12%, transparent); padding: 0 2px; border-radius: 3px; }
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: grid; place-items: center; z-index: 40; padding: 16px; }
.modal { width: min(1100px, 100%); max-height: 92vh; overflow: auto; }
.spinner { width: 18px; height: 18px; border: 3px solid var(--surface-2); border-top-color: var(--brand); border-radius: 50%; animation: spin 1s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.empty { text-align: center; padding: 40px; color: var(--muted); }

@media (max-width: 820px) {
  .nav .links a:not(.btn) { display: none; }
  .audit-form { flex-direction: column; }
  .app { grid-template-columns: 1fr; }
  .side { flex-direction: row; align-items: center; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); padding: 10px; scrollbar-width: thin; }
  .side .tab { flex: none; white-space: nowrap; } /* one line each: the strip scrolls sideways instead of growing taller */
  .side .brand-block, .side .foot { display: none; }
  .side select { margin: 0; min-width: 160px; }
  .main { padding: 16px; }
  /* iPhones zoom the page into a field whose text is under 16px as soon as it is tapped. */
  :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="range"]) { font-size: 16px; }
}

/* ---------- onboarding wizard ---------- */
.wizard { max-width: 880px; padding-bottom: 48px; }
.wiz-card { padding: 28px; }
.wiz-intel { margin: 16px 0 4px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.wiz-scores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wiz-scores div { display: grid; }
.wiz-scores b { font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wiz-scores span { font-size: 12px; color: var(--muted); }
.wiz-opps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; font-size: 13px; }
.wiz-opps li { padding-inline-start: 14px; position: relative; }
.wiz-opps li::before { content: ""; position: absolute; inset-inline-start: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.wiz-opps li.high::before { background: var(--bad); }
@media (max-width: 600px) { .wiz-scores { grid-template-columns: 1fr 1fr; } }
.stepper { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 20px; overflow-x: auto; }
.stepper li { flex: 1; min-width: 110px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); white-space: nowrap; }
.stepper li span { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--surface-2); }
.stepper li.current { color: var(--text); border-color: var(--brand); font-weight: 600; }
.stepper li.current span { background: var(--brand); color: #fff; }
.stepper li.done span { background: color-mix(in srgb, var(--ok) 20%, transparent); color: var(--ok); }
.sect { margin: 28px 0 4px; font-size: 16px; padding-top: 20px; border-top: 1px solid var(--border); }
.auto { font-size: 11px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 1px 7px; border-radius: 99px; margin-left: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: text; }
.tags input { border: 0; padding: 4px; flex: 1; min-width: 140px; width: auto; background: transparent; }
.tags input:focus { outline: none; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--brand-soft); color: var(--brand); border-radius: 99px; padding: 3px 4px 3px 10px; font-size: 13px; font-weight: 500; }
.chip button { border: 0; background: none; color: inherit; cursor: pointer; font-size: 15px; line-height: 1; padding: 0 4px; }
.money { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.choices { margin-top: 6px; }
.choice { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; cursor: pointer; margin: 0; font-weight: 400; font-size: 14px; }
.choice input { width: auto; margin: 0 0 4px; }
.choice:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.toggle { align-items: flex-start; flex-wrap: nowrap; font-weight: 400; margin-top: 16px; }
.toggle input { width: auto; margin-top: 4px; }
@media (max-width: 820px) { .wiz-card { padding: 18px; } .money { align-items: flex-start; } }

/* ---------- article images ---------- */
img.thumb { width: 72px; height: 38px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); flex: none; }
.img-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 12px 0; align-items: start; }
.img-row figure { margin: 0; }
.img-row img { width: 100%; height: auto; max-height: 260px; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--border); }
.img-row figcaption { font-size: 13px; margin-top: 6px; }

/* ---------- login / register popup ---------- */
html.am-lock { overflow: hidden; }
.am-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background: rgba(12, 10, 30, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s ease; }
.am-backdrop.show { opacity: 1; }
.am-backdrop[hidden] { display: none; }
.am-dialog { position: relative; width: min(400px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 40px 100px -30px rgba(20, 10, 60, .6);
  transform: translateY(12px) scale(.98); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.am-backdrop.show .am-dialog { transform: none; }
.am-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 10px; border: 0; background: none; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.am-close:hover { background: var(--surface-2); color: var(--text); }
.am-dialog h2 { font-size: 21px; margin: 0 0 2px; padding-inline-end: 34px; letter-spacing: -0.02em; line-height: 1.25; }
.am-sub { color: var(--muted); margin: 0 0 14px; font-size: 14px; line-height: 1.45; }
.am-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--surface-2); border-radius: 11px; padding: 3px; margin-bottom: 12px; }
.am-tabs button { border: 0; background: none; font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); padding: 7px; border-radius: 9px; cursor: pointer; }
.am-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px -2px rgba(0,0,0,.18); }
.am-google { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 14px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: 15px; transition: background .15s, border-color .15s, box-shadow .2s; }
.am-last { position: absolute; inset-inline-end: 10px; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px;
  background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.am-attn { border-color: var(--brand) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.am-google:hover:not(:disabled) { background: var(--surface-2); border-color: color-mix(in srgb, var(--text) 25%, var(--border)); }
.am-google:disabled { opacity: .7; cursor: wait; }
.am-hint { font-size: 13px; color: var(--warn); margin: 8px 0 0; }
.am-or { display: flex; align-items: center; gap: 12px; margin: 12px 0 2px; color: var(--muted); font-size: 12px; }
.am-or::before, .am-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.am-field { margin-top: 10px; }
.am-field label { margin: 0 0 4px; font-size: 13px; }
.am-field input { padding-block: 9px; }
.am-check { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; font-size: 14px; cursor: pointer; }
.am-check input { width: auto; margin: 0; }
.am-help { display: block; color: var(--muted); font-size: 12.5px; }
#amCode { font-size: 20px; letter-spacing: .2em; text-align: center; }
.am-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.am-forgot { font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: none; }
.am-forgot:hover, .am-forgot.am-attn { text-decoration: underline; box-shadow: none; }
.am-pass { position: relative; }
.am-pass input { padding-right: 44px; }
.am-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none;
  color: var(--muted); cursor: pointer; border-radius: 8px; }
.am-eye:hover, .am-eye[aria-pressed="true"] { color: var(--brand); }
.am-suggest { display: block; margin-top: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--brand); cursor: pointer; text-align: start; }
.am-suggest:hover { text-decoration: underline; }
.am-meter { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.am-bar { flex: 1; height: 4px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.am-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--muted); transition: width .2s, background .2s; }
.am-meter.bad i { background: var(--bad); }
.am-meter.warn i { background: var(--warn); }
.am-meter.brand i { background: var(--brand); }
.am-meter.ok i { background: var(--ok); }
.am-meter.bad small { color: var(--bad); }
.am-meter.ok small { color: var(--ok); }
.am-caps { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--warn); }
.am-note { font-size: 13px; margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--text); }
.am-err { color: var(--bad); font-size: 13px; margin: 10px 0 0; }
.am-err[hidden], .am-note[hidden] { display: none; }
.am-submit { width: 100%; justify-content: center; margin-top: 14px; padding: 11px; font-size: 15px; }
.am-sent { text-align: center; padding: 6px 0 2px; }
.am-sent-ic { width: 52px; height: 52px; margin: 4px auto 10px; border-radius: 16px; display: grid; place-items: center; font-size: 24px;
  background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.am-sent-t { margin: 0 0 6px; font-size: 14px; line-height: 1.5; }
.am-sent-s { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.am-switch { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.am-legal { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }
.am-legal:empty { display: none; }
.co-consent { display: block; margin: 14px 0 0; font-size: 14px; font-weight: 500; line-height: 1.5; }
.co-consent input { width: auto; margin: 0 6px 0 0; vertical-align: -2px; }
.co-company { display: block; margin: 12px 0 4px; font-size: 14px; font-weight: 500; }
.co-company input { width: auto; margin: 0 6px 0 0; vertical-align: -2px; }
.inv-head { margin: 4px 0 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.inv-list { margin-bottom: 14px; }
.pay-note { margin: 8px 0; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); font-size: 14px; }
.pay-note.bad { color: var(--bad); }
.ses-list { list-style: none; margin: 0 0 10px; padding: 0; }
.ses-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ses-row:last-child { border-bottom: 0; }
.inv-list td { vertical-align: top; }
.inv-list td:nth-child(2), .inv-list td:nth-child(3) { white-space: nowrap; }
.am-notme { text-align: center; margin: 6px 0 0; }
.am-link { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; text-decoration: underline; }
.am-dialog [hidden] { display: none !important; }
.auth-bg { min-height: 100vh; background:
  radial-gradient(600px 400px at 15% 10%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
  radial-gradient(600px 420px at 85% 90%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%), var(--bg); }
@media (max-width: 480px) { .am-dialog { padding: 20px 16px 16px; border-radius: 18px; } .am-backdrop { padding: 10px; } }
@media (max-height: 640px) { .am-sub { margin-bottom: 10px; } .am-field { margin-top: 8px; } .am-or { margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { .am-backdrop, .am-dialog { transition: none; } }


/* ---------- theme + language controls ---------- */
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; flex: none; }
.theme-toggle:hover { background: var(--surface-2); }
.lang-select { width: auto; padding: 8px 30px 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer;
  appearance: none; -webkit-appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; }
[dir="rtl"] .lang-select { padding: 8px 10px 8px 30px; background-position: left 10px center; }
.prefs { display: flex; gap: 8px; align-items: center; }

/* ---------- right-to-left (Arabic) ---------- */
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
[dir="rtl"] .am-close { right: auto; left: 12px; }
[dir="rtl"] .am-eye { right: auto; left: 4px; }
[dir="rtl"] .am-pass input { padding-right: 12px; padding-left: 44px; }
[dir="rtl"] .side { border-right: 0; border-left: 1px solid var(--border); }

/* ---------- charts (public/js/charts.js) ---------- */
.rkc { position: relative; }
.rkc-svg { width: 100%; height: auto; display: block; overflow: visible; }
.rkc-grid { stroke: var(--border); stroke-width: 1; }
.rkc-axis { fill: var(--muted); font-size: 11px; }
.slot-skel { min-height: 260px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .slot-skel { animation: none; } }
/* Plugin sections stacked under a screen: a card never touches the one above it (a module's own margin still wins). */
:where(.slot + .slot > .card:first-child) { margin-top: 16px; }
.rkc-guide { stroke: var(--muted); stroke-dasharray: 3 3; opacity: .6; }
.rkc-mark { stroke: var(--brand-2); stroke-dasharray: 2 4; opacity: .45; }
.rkc-tip-mark { color: var(--brand-2); font-weight: 600; }
.rkc-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.rkc-legend i, .rkc-tip i, .rkc-dlegend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-inline-end: 6px; vertical-align: middle; }
.rkc-tip { position: absolute; top: 0; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px;
  font-size: 12px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); pointer-events: none; display: grid; gap: 3px; white-space: nowrap; z-index: 5; }
.rkc-tip[hidden] { display: none; }
.rkc-donut { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; }
.rkc-center { position: absolute; top: 0; left: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.rkc-center b { font-size: 22px; }
.rkc-center small { color: var(--muted); font-size: 11px; }
.rkc-empty { stroke: var(--surface-2); }
.rkc-dlegend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; flex: 1; min-width: 160px; }
.rkc-dlegend li { display: flex; align-items: center; gap: 6px; }
.rkc-dlegend span { flex: 1; }
.rkc-dlegend em { font-style: normal; color: var(--muted); font-size: 12px; min-width: 38px; text-align: end; }
.rkc-spark { display: block; }
.rkc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rkc-row { display: flex; align-items: baseline; gap: 8px; font-size: 13px; }
.rkc-k { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rkc-sub { font-size: 12px; }
.rkc-bar { height: 6px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-top: 4px; }
.rkc-bar.big { height: 12px; border-radius: 6px; }
.rkc-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.rkc-none { margin: 6px 0; font-size: 14px; }
.rkc-funnel { display: grid; gap: 12px; }
.rkc-step small { font-size: 11px; }
.rkc-hgrid { display: grid; grid-template-columns: 34px repeat(24, 1fr); gap: 3px; align-items: center; }
.rkc-hgrid i { display: block; aspect-ratio: 1; border-radius: 3px; background: var(--brand); min-width: 6px; }
.rkc-hd, .rkc-hh { font-size: 10px; color: var(--muted); }
.rkc-hh { text-align: center; }

/* ---------- member panel: account, progress, services, calendar ---------- */
.seg { display: inline-flex; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); padding: 7px 13px; border-radius: 9px; cursor: pointer; }
.seg button[aria-selected="true"], .seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 2px 8px -2px rgba(0,0,0,.18); }
.imp-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 8px 16px; font-size: 14px;
  background: linear-gradient(90deg, #b45309, #be123c); color: #fff; }
.imp-bar .btn { background: #fff; color: #9f1239; }
.demo-bar { background: linear-gradient(90deg, #0f766e, #155e75); }
.demo-bar .btn { color: #0f766e; }
.demo-bar .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
@media (max-width: 820px) { .demo-bar { gap: 8px; padding: 6px 10px; flex-wrap: nowrap; } .demo-bar-t { display: none; } .demo-bar .btn { padding: 5px 10px; font-size: 13px; } }
.side-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 2px; }
.nav-sec { display: flex; flex-direction: column; gap: 2px; }
.nav-sec-h { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 9px 10px 3px; border: 0; background: none; font: inherit;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); cursor: pointer; text-align: start; border-radius: 6px; opacity: .85; }
.nav-sec.has-active > .nav-sec-h { color: var(--brand); opacity: 1; }
.nav-sec-h:hover { opacity: 1; color: var(--text); }
.nav-sec-h span { font-size: 10px; transition: transform .15s; }
.nav-sec.closed .nav-sec-h span { transform: rotate(-90deg); }
[dir="rtl"] .nav-sec.closed .nav-sec-h span { transform: rotate(90deg); }
.nav-sec.closed .nav-sec-b { display: none; }
.nav-sec-b { display: flex; flex-direction: column; gap: 2px; }
/* Desktop: the menu scrolls on its own so a long menu never stretches the page. */
@media (min-width: 821px) { .app > .side { position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; } }
/* account menu: top right of every panel screen (public/js/app.js buildAccountMenu) */
.hdr { display: flex; align-items: center; gap: 8px; }
.topbar > .hdr { margin-inline-start: auto; }
.topbar > .row + .hdr { margin-inline-start: 0; }
@media (max-width: 820px) { .topbar > .hdr { order: -1; width: 100%; justify-content: flex-end; } }
.hdr-tools { position: relative; display: flex; align-items: center; gap: 8px; }
.acct { position: relative; }
.topbar > .row { margin-inline-start: auto; } /* actions and the header stay at the right, also when the bar wraps */
.acct-btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--border); border-radius: 99px;
  background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.acct-btn:hover, .acct-btn[aria-expanded="true"] { border-color: var(--brand); }
.acct-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-2, var(--brand))); }
.acct-car { font-size: 11px; color: var(--muted); }
.acct-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60; width: 270px; padding: 8px; margin: 0;
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .35); display: grid; gap: 2px; }
.acct-menu[hidden] { display: none; }
.acct-head { display: grid; gap: 2px; padding: 8px 10px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.acct-head b { font-size: 15px; }
.acct-head small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.acct-head .pill { justify-self: start; margin-top: 4px; }
.acct-menu .tab { display: flex; gap: 10px; align-items: center; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px; background: none; color: var(--text);
  font: inherit; font-size: 14px; font-weight: 500; text-align: start; cursor: pointer; text-decoration: none; }
.acct-menu .tab span[aria-hidden] { width: 18px; text-align: center; color: var(--muted); }
.acct-menu .tab:hover, .acct-menu .tab:focus-visible, .acct-menu .tab.active { background: var(--brand-soft); color: var(--brand); }
.acct-items { display: grid; gap: 2px; }
.acct-prefs { padding: 8px 10px; border-top: 1px solid var(--border); margin-top: 4px; }
.acct-out { color: var(--muted) !important; }
@media (max-width: 820px) { .acct-l { display: none; } .acct-btn { padding-inline-end: 8px; } }
.card-sub { font-size: 13px; margin: -6px 0 10px; }
.sec-h { font-size: 20px; margin: 28px 0 12px; display: flex; align-items: center; gap: 8px; }
.empty.small { padding: 24px 12px; font-size: 14px; }
.btn.attn { border-color: var(--warn); color: var(--warn); }

.acc-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; }
.plan-card .usage { margin-top: 14px; font-size: 14px; }
.plan-card .usage small { display: block; margin-top: 4px; font-size: 12px; }
.bar.full > i { background: linear-gradient(90deg, var(--warn), #f59e0b); }
.wallet-line { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); font-size: 14px; }
.wallet-line b { font-size: 20px; color: var(--brand); }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.stat-tile { background: var(--surface-2); border-radius: 12px; padding: 14px; display: grid; gap: 2px; }
.stat-tile b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.stat-tile span { color: var(--muted); font-size: 13px; }

.site-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.site-card { display: grid; gap: 14px; align-content: start; }
.sc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.sc-title { display: grid; min-width: 0; }
.sc-title b { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-title span { font-size: 13px; }
.sc-score { display: flex; align-items: center; gap: 12px; }
.sc-score-t { display: grid; gap: 4px; flex: 1; font-size: 14px; }
.sc-spark { flex: none; }
.score-ring.sm { width: 58px; height: 58px; font-size: 18px; margin: 0; flex: none; }
.score-ring.sm::after { inset: 6px; }
.sc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.sc-stats div { background: var(--surface-2); border-radius: 10px; padding: 8px 4px; display: grid; }
.sc-stats b { font-size: 18px; }
.sc-stats span { font-size: 11px; color: var(--muted); }
.sc-foot { font-size: 13px; margin: 0; }
.add-site { display: grid; place-content: center; gap: 4px; text-align: center; min-height: 240px; border: 2px dashed var(--border); background: transparent; box-shadow: none; cursor: pointer; font: inherit; font-weight: 600; color: var(--text); }
.add-site span { font-size: 34px; color: var(--brand); line-height: 1; }
.add-site:hover { border-color: var(--brand); }

.cmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cmp-card { display: grid; gap: 4px; padding: 16px; }
.cmp-card > span { font-size: 13px; }
.cmp-v { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.cmp-v b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.cmp-card small { font-size: 12px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-height: 360px; overflow: auto; }
.timeline li { display: flex; gap: 12px; padding: 8px 0; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 6px; top: 22px; bottom: -8px; width: 2px; background: var(--border); }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); flex: none; margin-top: 3px; box-shadow: 0 0 0 4px var(--brand-soft); }
.tl-article .tl-dot { background: var(--brand-2); }
.tl-backlink .tl-dot, .tl-network .tl-dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 15%, transparent); }
.tl-score .tl-dot { background: #f59e0b; box-shadow: 0 0 0 4px color-mix(in srgb, #f59e0b 18%, transparent); }
.timeline li div { display: grid; font-size: 14px; }
.timeline small { font-size: 12px; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.svc-card { display: flex; gap: 12px; padding: 16px; align-items: flex-start; }
.svc-card > div { display: grid; gap: 2px; min-width: 0; }
.svc-card > div > span { font-size: 13px; }
.svc-card b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.svc-card small { font-size: 12px; }
.svc-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 18px; flex: none; }
.num-table td:not(:first-child), .num-table th:not(:first-child) { text-align: end; }
.num-table tfoot th { color: var(--text); font-size: 13px; text-transform: none; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.chip { border: 1px solid var(--border); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 13px; cursor: pointer; }
.chip span { font-weight: 700; margin-inline-start: 4px; }
.chip.on { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.history { list-style: none; margin: 8px 0 0; padding: 0; }
.history li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.history li > div { display: grid; gap: 2px; min-width: 0; }
.history small { font-size: 12px; }
.h-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); flex: none; font-size: 13px; }
.h-article .h-ic, .h-strategy .h-ic { background: var(--brand-soft); color: var(--brand); }
.h-publish .h-ic, .h-backlink .h-ic, .h-reward .h-ic { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.h-warning .h-ic { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.h-error .h-ic { background: color-mix(in srgb, var(--bad) 15%, transparent); color: var(--bad); }
.pager { justify-content: center; margin-top: 12px; }

.cal-head { margin-bottom: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-wd { font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; padding: 4px 0; text-transform: capitalize; }
.cal-day { min-height: 96px; border: 1px solid var(--border); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; gap: 3px; background: var(--surface); min-width: 0; }
.cal-day.out { opacity: .45; }
.cal-day.today { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.cal-n { font-size: 12px; font-weight: 700; color: var(--muted); }
.cal-item { display: block; width: 100%; text-align: start; border: 0; border-inline-start: 3px solid var(--muted); background: var(--surface-2); color: var(--text); border-radius: 6px; padding: 3px 6px;
  font: inherit; font-size: 11px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.cal-item.ok { border-color: var(--ok); }
.cal-item.brand { border-color: var(--brand); }
.cal-item.warn { border-color: var(--warn); }
.cal-item.bad { border-color: var(--bad); }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; margin-top: 10px; }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--muted); margin-inline-end: 5px; vertical-align: middle; }
.cal-legend i.ok { background: var(--ok); } .cal-legend i.brand { background: var(--brand); } .cal-legend i.bad { background: var(--bad); }

@media (max-width: 980px) { .acc-top { grid-template-columns: 1fr; } }
@media (max-width: 820px) {
  .side-label { display: none; }
  .nav-sec, .nav-sec-b, .nav-sec.closed .nav-sec-b { display: contents; }
  .nav-sec-h { display: none; }
  .site-cards { grid-template-columns: 1fr; }
  .cal-day { min-height: 64px; padding: 4px; }
  .cal-item { font-size: 0; padding: 0; height: 6px; border-inline-start-width: 0; }
  .cal-item.ok { background: var(--ok); } .cal-item.brand { background: var(--brand); } .cal-item.bad { background: var(--bad); } .cal-item.warn { background: var(--warn); }
}

@media print {
  .side, .imp-bar, .topbar .row, .chips, #svcQ, .pager, .toast { display: none !important; }
  .app { display: block; }
  .main { padding: 0; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; break-inside: avoid; border-color: #ddd; }
}
/* language suggestion on public pages ("English ›"), public/js/i18n.js */
.lang-hint { position: fixed; z-index: 60; inset-block-end: 18px; inset-inline-start: 18px; transition: inset-block-end .3s cubic-bezier(.2,.8,.2,1); display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: 0 18px 40px -20px rgba(30,20,90,.45); font-size: 14px; }
.lang-hint a { font-weight: 600; }
.lang-hint button { border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; padding: 4px 8px; cursor: pointer; border-radius: 999px; }
.lang-hint button:hover { background: var(--surface-2); color: var(--text); }

/* Cancellation flow (cancelModal in public/js/app.js) */
/* Account-wide notices above every panel screen (failed renewal, pending deletion) and the failed renewal box on the billing screen. */
.notice-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 8px 16px; font-size: 14px;
  background: color-mix(in srgb, var(--bad) 14%, var(--surface)); color: var(--text); border-bottom: 1px solid color-mix(in srgb, var(--bad) 35%, transparent); }
.pay-issue { margin: 12px 0; padding: 12px 14px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent);
  background: color-mix(in srgb, var(--bad) 8%, var(--surface)); }
.pay-issue p { margin: 6px 0 10px; }
.pay-issue small { display: block; margin-top: 8px; }
.acc-data { margin-top: 22px; }
.nps-card { margin-bottom: 18px; }
.nps-card h3 { margin: 0 0 12px; font-size: 17px; }
.nps-scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; }
.nps-scale button { padding: 9px 0; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.nps-scale button:hover, .nps-scale button[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); }
.nps-ends { display: flex; justify-content: space-between; margin: 6px 0 10px; }
.nps-card textarea { width: 100%; box-sizing: border-box; margin: 6px 0 8px; }
.nps-quote { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; font-size: 14px; font-weight: 400; cursor: pointer; }
.nps-quote input { width: auto; flex: none; margin: 3px 0 0; }
.nps-thanks { margin: 0; font-weight: 600; }
@media (max-width: 560px) { .nps-scale { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* "Yenilikler": the mark on the account button and in the menu, and the list (services/news.js). */
.acct-av { position: relative; }
.acct-dot { position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
.acct-count { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.news-modal { width: min(560px, 100%); }
.news-list { list-style: none; margin: 8px 0 0; padding: 0; }
.news-list li { padding: 14px 0; border-top: 1px solid var(--border); }
.news-list h4 { margin: 4px 0 6px; font-size: 16px; color: var(--heading); }
.news-meta { display: flex; gap: 8px; align-items: center; }
.news-body p { margin: 0 0 8px; line-height: 1.55; }
.tf-head { gap: 10px; align-items: center; margin-bottom: 4px; }
#accSec .tf-head:not(:first-of-type) { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.tf-warn { color: var(--warn); font-size: 14px; }
.tf-steps { margin: 0 0 8px; padding-left: 20px; }
.tf-steps > li { margin-bottom: 14px; }
.tf-qr { width: 196px; margin: 10px 0 6px; padding: 6px; background: #fff; border-radius: 10px; border: 1px solid var(--border); }
.tf-qr svg { display: block; width: 100%; height: auto; }
.tf-key code, .tf-codes code { font-size: 15px; letter-spacing: .06em; word-break: break-all; }
.tf-codes { columns: 2; margin: 8px 0 14px; padding-left: 24px; line-height: 1.9; }
.tf-modal .tf-code { width: 100%; box-sizing: border-box; margin-top: 6px; font-size: 20px; letter-spacing: .2em; text-align: center; }
.acc-data p { margin: 4px 0 12px; }
.del-list { margin: 0 0 12px; padding-left: 20px; line-height: 1.55; }
.del-list li { margin-bottom: 6px; }
.cx-modal input[name="confirm"] { width: 100%; box-sizing: border-box; margin-top: 6px; }
.cx-modal { width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: hidden auto; }
.cx-modal textarea { width: 100%; box-sizing: border-box; }
.cx-modal h3 { margin-top: 0; }
.cx-reasons { border: 0; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.cx-reasons legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cx-reason { display: flex; gap: 10px; align-items: center; margin: 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; font-weight: 600; }
.cx-reason:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.cx-reason input { width: auto; margin: 0; }
.cx-plans { display: grid; gap: 8px; margin: 0 0 12px; }
.cx-plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; }
.cx-plan small { display: block; }
.cx-note { font-size: 14px; }
.cx-err { color: var(--bad); margin: 0; }
.cx-err:empty { display: none; }
.cx-actions { flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn.ghost.danger { background: none; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--border)); }
