/* =====================================================================
   HostPanel v1.0 - interface
   Regras: sem cantos arredondados, cores vindas do banco (variáveis :root
   injetadas pelo index.php), ícones SVG.
   ===================================================================== */

:root {
  --primary-hover: color-mix(in srgb, var(--primary) 86%, #000);
  --primary-soft: color-mix(in srgb, var(--primary) 9%, var(--surface));
  --primary-line: color-mix(in srgb, var(--primary) 30%, var(--surface));
  --text-2: color-mix(in srgb, var(--text) 78%, var(--surface));
  --hover: color-mix(in srgb, var(--text) 4%, var(--surface));
  --sk-a: color-mix(in srgb, var(--border) 70%, var(--surface));
  --sk-b: color-mix(in srgb, var(--border) 30%, var(--surface));
  --header-2: color-mix(in srgb, var(--on-header) 10%, var(--header));
  --header-line: color-mix(in srgb, var(--on-header) 14%, var(--header));
  --header-muted: color-mix(in srgb, var(--on-header) 62%, var(--header));
  --shadow: 0 1px 2px rgba(12, 14, 20, .04), 0 8px 24px rgba(12, 14, 20, .06);
  --h-top: 64px;
  --w-side: 252px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
a, button, label, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }
body {
  margin: 0;
  font-family: var(--font), 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }

.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 26px; height: 26px; }
.ic-google { width: 20px; height: 20px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.strike { text-decoration: line-through; color: var(--muted); }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 12px; }
.stack > * + * { margin-top: 16px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; white-space: nowrap; user-select: none;
  transition: background .15s, border-color .15s, color .15s, opacity .15s;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-dark { background: var(--text); color: var(--surface); }
.btn-dark:hover { opacity: .9; }
.btn-outline { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { background: var(--hover); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; padding: 0; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn { --spin: var(--text); position: relative; }
.btn-primary { --spin: var(--on-primary); }
.btn-dark { --spin: var(--surface); }
.btn-danger { --spin: #fff; }
.btn.is-loading { color: transparent !important; pointer-events: none; opacity: 1; }
.btn.is-loading > * { visibility: hidden; }
.btn.is-loading::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid var(--spin); border-right-color: transparent; border-radius: 50% !important;
  animation: spin .65s linear infinite;
}
.btn-sm.is-loading::after { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Formulários ---------- */
.field { display: block; }
.field + .field { margin-top: 14px; }
.label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text-2); }
.input, .select {
  width: 100%; height: 44px; padding: 0 14px; background: var(--surface);
  border: 1px solid var(--border); outline: 0; transition: border-color .15s, box-shadow .15s;
}
.select { appearance: none; padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.input:focus, .select:focus { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.input::placeholder { color: color-mix(in srgb, var(--muted) 75%, var(--surface)); }
.input[readonly] { background: var(--bg); }
.field.has-error .input, .field.has-error .select { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.field-error { display: none; color: var(--danger); font-size: 12px; margin-top: 6px; }
.field.has-error .field-error { display: block; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 46px; }
.input-wrap .eye { position: absolute; right: 0; top: 0; height: 44px; width: 44px; display: grid; place-items: center; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.grid-2 .field + .field, .grid-3 .field + .field { margin-top: 0; }
.form-row { margin-top: 14px; }

.seg { display: inline-flex; border: 1px solid var(--border); background: var(--surface); }
.seg button { height: 38px; padding: 0 16px; font-size: 13px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--text); color: var(--surface); }

.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: var(--border); transition: background .15s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; transition: transform .15s; }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::after { transform: translateX(20px); }

/* ---------- Cartões / blocos ---------- */
.card { background: var(--surface); border: 1px solid var(--border); }
.card-pad { padding: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.card-head h3 { font-size: 15px; }
.card-body { padding: 24px; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px;
  font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  background: var(--muted); color: #fff;
}
.badge-success { background: var(--success); }
.badge-warning { background: var(--warning); }
.badge-danger { background: var(--danger); }
.badge-primary { background: var(--primary); color: var(--on-primary); }
.badge-dark { background: var(--text); color: var(--surface); }
.badge-soft { background: var(--primary-soft); color: var(--primary); }
.dot { width: 8px; height: 8px; background: currentColor; display: inline-block; }
.dot.pulse { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border); border-left: 3px solid var(--primary); background: var(--surface); font-size: 14px; }
.notice .ic { color: var(--primary); margin-top: 1px; }
.notice-warning { border-left-color: var(--warning); }
.notice-warning .ic { color: var(--warning); }
.notice-danger { border-left-color: var(--danger); }
.notice-danger .ic { color: var(--danger); }

/* ---------- Skeleton ---------- */
.sk {
  display: block; background: linear-gradient(90deg, var(--sk-a) 0%, var(--sk-b) 45%, var(--sk-a) 90%);
  background-size: 300% 100%; animation: sk 1.2s ease-in-out infinite; height: 14px;
}
.sk + .sk { margin-top: 10px; }
.sk-h { height: 28px; }
.sk-btn { height: 44px; }
.sk-dark { --sk-a: var(--header-2); --sk-b: var(--header-line); }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
/* página nova montando por trás da atual (troca sem piscar) */
.view-hold { position: absolute !important; visibility: hidden !important; pointer-events: none !important; z-index: -1; }


/* =====================================================================
   SITE PÚBLICO
   ===================================================================== */
.top { position: sticky; top: 0; z-index: 40; background: var(--header); color: var(--on-header); border-bottom: 1px solid var(--header-line); }
.top-in { height: var(--h-top); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; flex: none; }
.brand img { height: 30px; width: auto; }
.brand-mark { width: 30px; height: 30px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-size: 15px; font-weight: 800; }
.nav { display: flex; gap: 4px; }
.nav a { height: var(--h-top); display: flex; align-items: center; padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--header-muted); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--on-header); }
.nav a.on { color: var(--on-header); border-bottom-color: var(--primary); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top .btn-ghost { color: var(--header-muted); }
.top .btn-ghost:hover { background: var(--header-2); color: var(--on-header); }
.top .btn-outline { background: transparent; border-color: var(--header-line); color: var(--on-header); }
.top .btn-outline:hover { border-color: var(--on-header); }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; background: var(--primary); color: var(--on-primary); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; }

.lang-pick { position: relative; }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; min-width: 170px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 6px 0;
}
.lang-menu button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; font-size: 14px; text-align: left; }
.lang-menu button:hover { background: var(--hover); }
.lang-menu button.on { color: var(--primary); font-weight: 600; }
.lang-code { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.mobile-nav { display: none; }

/* Hero */
.hero { background: var(--header); color: var(--on-header); padding: 72px 0 84px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--header-line) 1px, transparent 1px), linear-gradient(90deg, var(--header-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 80% at 70% 10%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero .wrap { position: relative; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--header-muted); }
.hero-kicker::before { content: ''; width: 18px; height: 2px; background: var(--primary); }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -.035em; max-width: 780px; margin-top: 18px; }
.hero p.lead { font-size: 18px; color: var(--header-muted); max-width: 620px; margin-top: 16px; }

.dsearch { display: flex; max-width: 760px; margin-top: 34px; background: var(--surface); border: 1px solid var(--surface); }
.dsearch .ic { color: var(--muted); margin-left: 18px; align-self: center; }
.dsearch input { flex: 1; min-width: 0; height: 60px; border: 0; outline: 0; padding: 0 16px; font-size: 17px; background: transparent; color: var(--text); }
.dsearch .btn { height: 60px; padding: 0 30px; font-size: 15px; }
.dsearch-light { border-color: var(--border); }
.dsearch-light:focus-within { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }

.tld-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tld-chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px; border: 1px solid var(--header-line); background: var(--header-2); font-size: 13px; color: var(--header-muted); }
.tld-chip b { color: var(--on-header); font-size: 14px; }

/* Seções */
.section { padding: 76px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.025em; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 560px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); background: var(--surface); }
.feature { padding: 28px 24px; }
.feature + .feature { border-left: 1px solid var(--border); }
.feature .fi { width: 44px; height: 44px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; }
.feature h3 { font-size: 16px; }
.feature p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); background: var(--surface); }
.plan { padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan + .plan { border-left: 1px solid var(--border); }
.plan.featured { box-shadow: inset 0 3px 0 var(--primary); background: color-mix(in srgb, var(--primary) 3%, var(--surface)); }
.plan-badge { position: absolute; top: 18px; right: 18px; }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan .pdesc { color: var(--muted); font-size: 14px; margin-top: 4px; min-height: 42px; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.price .cur { font-size: 16px; font-weight: 700; }
.price .val { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price .per { color: var(--muted); font-size: 14px; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 20px; }
.plan .btn { margin-top: 22px; }
.plan ul { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--border); }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 5px 0; }
.plan li .ic { color: var(--success); width: 18px; height: 18px; margin-top: 1px; }

.cta-band { background: var(--header); color: var(--on-header); padding: 56px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.cta-band p { color: var(--header-muted); margin-top: 6px; }

.foot { background: var(--header); color: var(--header-muted); border-top: 1px solid var(--header-line); padding: 34px 0; font-size: 13px; }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot a:hover { color: var(--on-header); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Página interna do site */
.page-head { background: var(--header); color: var(--on-header); padding: 44px 0 40px; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.03em; }
.page-head p { color: var(--header-muted); margin-top: 8px; }
.page-body { padding-top: 36px; padding-bottom: 72px; }

/* Resultado da busca */
.exact { display: flex; align-items: center; gap: 20px; padding: 26px; border: 1px solid var(--border); background: var(--surface); margin-bottom: 18px; }
.exact.ok { box-shadow: inset 4px 0 0 var(--success); }
.exact.no { box-shadow: inset 4px 0 0 var(--danger); }
.exact .dname { font-size: 24px; font-weight: 800; letter-spacing: -.02em; word-break: break-all; }
.exact .st { font-size: 14px; font-weight: 600; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.exact.ok .st { color: var(--success); }
.exact.no .st { color: var(--danger); }
.results { border: 1px solid var(--border); background: var(--surface); }
.result { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.result + .result { border-top: 1px solid var(--border); }
.result .dname { font-weight: 600; font-size: 16px; word-break: break-all; }
.result .dname span { color: var(--muted); font-weight: 500; }
.result.off .dname { color: var(--muted); }
.result .pr, .exact .pr { text-align: right; }
.pr small, .pr b { display: block; }
.exact .pr b { font-size: 22px; font-weight: 800; }
.result .pr b { font-size: 16px; display: block; }
.result .pr small { color: var(--muted); font-size: 12px; }
.result .act { width: 150px; display: flex; justify-content: flex-end; }

/* Carrinho / checkout */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.sticky { position: sticky; top: calc(var(--h-top) + 20px); }
.line { display: flex; gap: 16px; padding: 20px 24px; align-items: center; }
.line + .line { border-top: 1px solid var(--border); }
.line .li { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.line .lt { font-weight: 600; word-break: break-word; }
.line .ls { color: var(--muted); font-size: 13px; margin-top: 2px; }
.line .la { text-align: right; font-weight: 700; white-space: nowrap; }
.line .ln { color: var(--success); font-size: 12px; font-weight: 600; }
.line .select { height: 36px; width: auto; min-width: 120px; font-size: 13px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 6px 0; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; margin-top: 10px; border-top: 1px solid var(--border); }
.sum-total b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }

.empty { text-align: center; padding: 56px 24px; }
.empty .ei { width: 56px; height: 56px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.empty h3 { font-size: 18px; }
.empty p { color: var(--muted); margin: 6px auto 20px; max-width: 380px; }

/* =====================================================================
   AUTENTICAÇÃO
   ===================================================================== */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--header); color: var(--on-header); padding: 40px 48px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-side::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--header-line) 1px, transparent 1px), linear-gradient(90deg, var(--header-line) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(160deg, #000 10%, transparent 70%); opacity: .6;
}
.auth-side > * { position: relative; }
.auth-side .big { margin-top: auto; font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; max-width: 520px; }
.auth-side .sub { color: var(--header-muted); margin-top: 14px; max-width: 460px; }
.auth-points { margin-top: 30px; display: grid; gap: 12px; }
.auth-points div { display: flex; gap: 10px; align-items: center; color: var(--header-muted); font-size: 14px; }
.auth-points .ic { color: var(--primary); }
.auth-main { display: flex; flex-direction: column; background: var(--surface); }
.auth-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: var(--h-top); padding: 0 32px; flex: none; }
.auth-bar .brand { display: none; color: var(--text); }
.auth-box { width: 100%; max-width: 420px; margin: 0 auto; padding: clamp(28px, 9vh, 96px) 24px 48px; }
.auth-box h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.auth-box > p.muted { margin-top: 8px; }
.auth-box form { margin-top: 28px; }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin: 20px 0; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-alt { margin-top: 24px; font-size: 14px; color: var(--muted); text-align: center; }
.auth-alt a, .link { color: var(--primary); font-weight: 600; }
.auth-alt a:hover, .link:hover { text-decoration: underline; }
.form-foot { display: flex; justify-content: flex-end; margin-top: 10px; font-size: 13px; }
.result-ic { width: 60px; height: 60px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 22px; }
.result-ic.ok { background: color-mix(in srgb, var(--success) 12%, var(--surface)); color: var(--success); }
.result-ic.bad { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); }

/* =====================================================================
   PAINEL DO CLIENTE
   ===================================================================== */
.panel { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: var(--w-side) minmax(0, 1fr); }
.side { background: var(--surface); border-right: 1px solid var(--border); position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; }
.side-brand { height: var(--h-top); display: flex; align-items: center; padding: 0 22px; border-bottom: 1px solid var(--border); }
.side-nav { padding: 14px 0; flex: 1; overflow: auto; }
.side-label { padding: 14px 22px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side-nav a { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 22px; font-size: 14px; font-weight: 500; color: var(--text-2); box-shadow: inset 3px 0 0 transparent; }
.side-nav a:hover { background: var(--hover); color: var(--text); }
.side-nav a.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; box-shadow: inset 3px 0 0 var(--primary); }
.side-nav a .pill { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--danger); color: #fff; }
.side-foot { padding: 16px; border-top: 1px solid var(--border); }
.side-user { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; }
.avatar { width: 36px; height: 36px; background: var(--text); color: var(--surface); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.side-user .nm { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .em { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main { min-width: 0; display: flex; flex-direction: column; }
.mtop { height: var(--h-top); display: flex; align-items: center; gap: 14px; padding: 0 28px; border-bottom: 1px solid var(--border); background: var(--surface); position: sticky; top: 0; z-index: 30; }
.mtop .ttl { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtop .back { display: none; }
.mtop-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.mtop .brand { display: none; }
.content { padding: 28px; max-width: 1180px; width: 100%; }

.hello h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.hello p { color: var(--muted); margin-top: 4px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); background: var(--surface); }
.stat { padding: 20px 22px; display: block; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat:hover { background: var(--hover); }
.stat .sl { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.stat .sv { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-top: 10px; line-height: 1.1; }
.stat .sv.sm { font-size: 22px; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 15px 24px; }
.list-row + .list-row { border-top: 1px solid var(--border); }
a.list-row:hover { background: var(--hover); }
.list-row .lic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: var(--bg); color: var(--text-2); }
.list-row .lt { font-weight: 600; word-break: break-all; }
.list-row .ls { font-size: 13px; color: var(--muted); }
.list-row .chev { color: var(--muted); }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 12px 24px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 60%, var(--surface)); }
.tbl td { padding: 15px 24px; border-bottom: 1px solid var(--border); font-size: 14px; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: var(--hover); }
.tbl .strong { font-weight: 600; }

.kv { display: grid; grid-template-columns: repeat(3, 1fr); }
.kv > div { padding: 18px 24px; border-bottom: 1px solid var(--border); }
.kv > div:not(:nth-child(3n+1)) { border-left: 1px solid var(--border); }
.kv .k { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kv .v { font-weight: 600; margin-top: 4px; word-break: break-word; }

.detail-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.detail-head .di { width: 52px; height: 52px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.detail-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; word-break: break-all; }

.ns-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.code-box { display: flex; align-items: stretch; border: 1px solid var(--border); background: var(--bg); }
.code-box .code { flex: 1; min-width: 0; padding: 12px 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; max-height: 92px; overflow: auto; }
.code-box .btn { height: auto; border-left: 1px solid var(--border); }

/* Fatura / PIX */
.pay { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.qr { width: 260px; height: 260px; padding: 14px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; }
.qr img, .qr svg { width: 100% !important; height: auto !important; display: block; image-rendering: pixelated; }
.pay-steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: s; }
.pay-steps li { counter-increment: s; display: flex; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--text-2); }
.pay-steps li::before { content: counter(s); width: 22px; height: 22px; flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--text); color: var(--surface); }
.waiting { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--warning); }
.paid-box { text-align: center; padding: 44px 24px; }
.paid-box .result-ic { margin: 0 auto 18px; }

.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 20px; gap: 4px; overflow-x: auto; }
.tabs button { height: 44px; padding: 0 16px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button.on { color: var(--text); border-bottom-color: var(--primary); }

.tabbar { display: none; }

/* ---------- Modal / folha ---------- */
.modal-back { position: fixed; inset: 0; z-index: 100; background: rgba(8, 9, 12, .55); display: grid; place-items: center; padding: 20px; animation: fadeIn .15s ease-out; }
.modal { width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow: auto; background: var(--surface); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); animation: modalIn .2s ease-out; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 17px; }
.modal-body { padding: 22px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 50%, var(--surface)); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Toast (preto, centro da tela) ---------- */
.hp-toast-root { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; z-index: 1000; display: grid; place-items: center; pointer-events: none; padding: 24px; contain: layout; }
.hp-toast {
  grid-area: 1 / 1;   /* todos no mesmo lugar: o que sai não empurra o que entra */
  display: flex; align-items: center; gap: 10px; max-width: min(86vw, 420px);
  padding: 14px 20px; background: rgba(10, 10, 12, .94); color: #fff;
  font-size: 14px; font-weight: 500; line-height: 1.4; text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .18s ease; will-change: opacity;
}
.hp-toast.is-in { opacity: 1; }
.hp-toast.is-out { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hp-toast { transition: none; } }
.hp-toast svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: square; }
.hp-toast--success svg { color: #4ade80; }
.hp-toast--error svg { color: #f87171; }
.hp-toast--info svg { color: #a5b4fc; }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--border); }
  .split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .cols-2 { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav, .top-actions .hide-m { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav.open { display: block; position: fixed; top: var(--h-top); left: 0; right: 0; bottom: 0; z-index: 39; background: var(--header); color: var(--on-header); padding: 12px 20px 28px; overflow: auto; animation: fadeIn .15s; }
  .mobile-nav a { display: flex; align-items: center; gap: 12px; height: 54px; border-bottom: 1px solid var(--header-line); font-size: 16px; font-weight: 600; }
  .mobile-nav .btn { margin-top: 18px; width: 100%; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--border); }
  .auth { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-bar .brand { display: flex; }

  .panel { grid-template-columns: 1fr; }
  .mtop { padding: 0 12px; }
  .mtop .back { display: inline-flex; }
  .content { padding: 20px 16px calc(32px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--surface); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a { height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--muted); position: relative; }
  .tabbar a.on { color: var(--primary); }
  .tabbar a.on::before { content: ''; position: absolute; top: 0; left: 25%; right: 25%; height: 2px; background: var(--primary); }
  .tabbar .pill { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; font-size: 10px; display: grid; place-items: center; background: var(--danger); color: #fff; }
  .kv { grid-template-columns: 1fr 1fr; }
  .kv > div:not(:nth-child(3n+1)) { border-left: 0; }
  .kv > div:nth-child(2n) { border-left: 1px solid var(--border); }
  .pay { grid-template-columns: 1fr; }
  .qr { margin: 0 auto; }
  .tbl-wrap { overflow-x: auto; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 56px; }
  .hero p.lead { font-size: 16px; }
  .dsearch { flex-wrap: wrap; }
  .dsearch input { height: 54px; }
  .dsearch .btn { width: 100%; height: 52px; }
  .section { padding: 52px 0; }
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--border); }
  .grid-2, .grid-3, .ns-list { grid-template-columns: 1fr; }
  .grid-2 .field + .field, .grid-3 .field + .field { margin-top: 14px; }
  .result { flex-wrap: wrap; padding: 16px; }
  .result .act { width: 100%; }
  .result .act .btn { width: 100%; }
  .exact { flex-direction: column; align-items: stretch; padding: 20px; }
  .line { flex-wrap: wrap; padding: 18px 16px; }
  .card-head, .card-body, .list-row { padding-left: 16px; padding-right: 16px; }
  .card-pad { padding: 18px; }
  .tbl th, .tbl td { padding-left: 16px; padding-right: 16px; }
  .tbl .hide-s { display: none; }
  .stat { padding: 16px; }
  .stat .sv { font-size: 24px; }
  .kv { grid-template-columns: 1fr; }
  .kv > div:nth-child(2n) { border-left: 0; }
  .modal-back { align-items: end; padding: 0; }
  .modal { max-width: none; max-height: 90vh; }
  .top-in { gap: 12px; }
  .top .btn-sm.hide-xs { display: none; }
}

/* =====================================================================
   PAINEL DO SITE (ferramentas)
   ===================================================================== */
.usage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.usage-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.usage-top b { color: var(--text); font-size: 14px; white-space: nowrap; }
.bar { height: 6px; background: var(--bg); margin-top: 10px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--primary); transition: width .25s; }
.bar span.hot { background: var(--danger); }
.tool-row .lic { background: var(--primary-soft); color: var(--primary); }

.prefixed { display: flex; border: 1px solid var(--border); background: var(--surface); }
.prefixed:focus-within { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.prefixed > span { display: flex; align-items: center; padding: 0 12px; background: var(--bg); color: var(--muted); font-size: 13px; white-space: nowrap; border-right: 1px solid var(--border); }
.prefixed.suffix > span { border-right: 0; border-left: 1px solid var(--border); }
.prefixed .input { border: 0; box-shadow: none !important; min-width: 0; flex: 1; }
.field.has-error .prefixed { border-color: var(--danger); }
.pass-wrap .eye { color: var(--primary); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--border); font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.chip .ic { color: var(--success); }

.radio-row { cursor: pointer; }
.radio-row input { position: absolute; opacity: 0; pointer-events: none; }
.radio-row .radio { width: 18px; height: 18px; border: 2px solid var(--border); flex: none; position: relative; }
.radio-row.on { background: var(--primary-soft); }
.radio-row.on .radio { border-color: var(--primary); }
.radio-row.on .radio::after { content: ''; position: absolute; inset: 3px; background: var(--primary); }

.dns-form { display: grid; grid-template-columns: 1.2fr .8fr 2fr .7fr .8fr auto; gap: 12px; align-items: end; }
.dns-form .field + .field { margin-top: 0; }
.dns-btn .btn { height: 44px; }
.dns-val { word-break: break-all; max-width: 420px; }
.cron-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cron-grid .field + .field { margin-top: 0; }
.mono-in .input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-align: center; }
.cron-cmd { word-break: break-all; }
.ssl-box { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* Gerenciador de arquivos */
.fm { position: relative; }
.fm-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; flex: 1; min-width: 0; font-size: 14px; }
.crumbs button { height: 32px; padding: 0 8px; display: inline-flex; align-items: center; color: var(--text-2); font-weight: 500; }
.crumbs button:hover { background: var(--hover); color: var(--text); }
.crumbs button:last-child { color: var(--text); font-weight: 700; }
.crumbs .sep { color: var(--muted); }
.fm-actions { display: flex; gap: 8px; }
.fm-sel { display: flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--text); color: var(--surface); font-size: 13px; }
.fm-sel .btn-ghost { color: var(--surface); }
.fm-sel .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: var(--surface); }
.fm-head, .fm-row { display: flex; align-items: center; gap: 12px; padding: 0 16px; min-height: 46px; }
.fm-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: color-mix(in srgb, var(--bg) 60%, var(--surface)); border-bottom: 1px solid var(--border); }
.fm-row { border-bottom: 1px solid var(--border); font-size: 14px; }
.fm-row:hover { background: var(--hover); }
.fm-row.on { background: var(--primary-soft); }
.fm-up { cursor: pointer; color: var(--muted); }
.fm-col { width: 96px; flex: none; }
.fm-date { width: 196px; white-space: nowrap; }
.fm-name { text-align: left; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; padding: 12px 0; }
.fm-name:hover { color: var(--primary); }
.fm-ic { width: 22px; height: 22px; color: var(--muted); flex: none; }
.fm-ic.dir { color: var(--primary); }
.fm-perm { text-align: left; font-size: 13px; color: var(--muted); }
.fm-perm:hover { color: var(--primary); text-decoration: underline; }
.fm-check { position: relative; width: 18px; height: 18px; flex: none; cursor: pointer; }
.fm-check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.fm-check span { position: absolute; inset: 0; border: 2px solid var(--border); background: var(--surface); }
.fm-check input:checked + span { background: var(--primary); border-color: var(--primary); }
.fm-check input:checked + span::after { content: ''; position: absolute; left: 4px; top: 0; width: 5px; height: 10px; border: solid var(--on-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fm-check-sp { width: 18px; flex: none; }
.fm-empty { padding: 36px 16px; text-align: center; }
.fm-drop { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: color-mix(in srgb, var(--primary) 10%, var(--surface)); border: 2px dashed var(--primary); color: var(--primary); z-index: 5; pointer-events: none; }
.fm.dragging .fm-drop { display: flex; }

.menu-pop { position: absolute; z-index: 120; min-width: 190px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 6px 0; animation: fadeIn .12s; }
.menu-pop button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 14px; text-align: left; }
.menu-pop button:hover { background: var(--hover); }
.menu-pop button.danger { color: var(--danger); }

.uploads { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 340px; max-width: calc(100vw - 32px); background: var(--surface); border: 1px solid var(--border); box-shadow: 0 16px 48px rgba(0, 0, 0, .18); }
.uploads-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; background: var(--text); color: var(--surface); font-size: 13px; }
.uploads-head .btn-ghost { color: var(--surface); }
.uploads-list { max-height: 280px; overflow: auto; }
.up { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.up-top { display: flex; justify-content: space-between; gap: 10px; }
.up-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-pct { color: var(--muted); white-space: nowrap; }
.up .bar { margin-top: 8px; }
.up.ok .bar span { background: var(--success); }
.up.ok .up-pct { color: var(--success); }
.up.err .bar span { background: var(--danger); width: 100% !important; }
.up.err .up-pct { color: var(--danger); }

.modal-wide { max-width: 1100px; }
.editor-wrap { border: 1px solid var(--border); background: #0e1016; }
.editor { display: block; width: 100%; height: min(62vh, 640px); resize: vertical; border: 0; outline: 0; padding: 16px; background: #0e1016; color: #e6e8ee; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 4; white-space: pre; }
.modal-foot .grow { margin-right: auto; }

@media (max-width: 1080px) {
  .usage-grid { grid-template-columns: repeat(2, 1fr); }
  .dns-form { grid-template-columns: 1fr 1fr; }
  .dns-btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hide-s { display: none !important; }
  .detail-head .grow { flex: 1 1 calc(100% - 70px); }
  .detail-head h2 { font-size: 20px; word-break: break-word; }
  .fm-actions .btn { padding: 0 12px; }
  .usage-grid { grid-template-columns: 1fr; gap: 18px; }
  .dns-form { grid-template-columns: 1fr; }
  .cron-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .cron-grid .label { font-size: 11px; }
  .fm-bar { padding: 10px 12px; }
  .fm-head, .fm-row { padding: 0 12px; gap: 10px; }
  .fm-actions { width: 100%; }
  .fm-actions .btn-primary { flex: 1; }
  .uploads { right: 8px; left: 8px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; }
  .editor { height: 60vh; }
}

/* Botões do topo grudados, com linha separando */
.mtop-actions, .top-actions { gap: 0; align-self: stretch; }
.mtop-actions > *, .top-actions > * { display: flex; align-items: center; padding: 0 4px; }
.mtop-actions > * + * { border-left: 1px solid var(--border); }
.top-actions > * + * { border-left: 1px solid var(--header-line); }
.top-actions > .btn-sm { margin-left: 8px; border-left: 0; }
.top-actions > .btn-sm + .btn-sm { margin-left: 8px; }

/* Minha conta: layout de configurações */
.account { max-width: 1040px; }
.acc-hero { display: flex; align-items: center; gap: 20px; padding: 24px; }
.acc-avatar { width: 64px; height: 64px; flex: none; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-size: 22px; font-weight: 800; }
.acc-hero h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; word-break: break-word; }
.acc-hero .muted { margin-top: 2px; word-break: break-all; }
.acc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.acc-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; font-size: 12px; font-weight: 600; border: 1px solid var(--border); color: var(--text-2); }
.acc-chip .ic-google { width: 14px; height: 14px; }
.acc-chip.ok { color: var(--success); border-color: color-mix(in srgb, var(--success) 35%, var(--surface)); background: color-mix(in srgb, var(--success) 6%, var(--surface)); }
.acc-chip.warn { color: var(--warning); border-color: color-mix(in srgb, var(--warning) 35%, var(--surface)); background: color-mix(in srgb, var(--warning) 6%, var(--surface)); }
.set { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--border); }
.set:last-child { border-bottom: 0; }
.set-info h3 { font-size: 16px; font-weight: 700; }
.set-info p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.lang-opts { display: grid; grid-template-columns: 1fr 1fr; }
.lang-opt { display: flex; align-items: center; gap: 12px; padding: 16px 20px; text-align: left; font-weight: 500; border-bottom: 1px solid var(--border); }
.lang-opt:nth-child(odd) { border-right: 1px solid var(--border); }
.lang-opt:nth-last-child(-n+2) { border-bottom: 0; }
.lang-opt:hover { background: var(--hover); }
.lang-opt .lang-code { width: 34px; height: 26px; display: grid; place-items: center; background: var(--bg); font-size: 11px; }
.lang-opt.on { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.lang-opt.on .lang-code { background: var(--primary); color: var(--on-primary); }
.lang-modal { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) {
  .set { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
}
@media (max-width: 640px) {
  .acc-hero { padding: 18px; gap: 14px; align-items: flex-start; }
  .acc-avatar { width: 52px; height: 52px; font-size: 18px; }
  .acc-hero h2 { font-size: 19px; }
  .lang-opt { padding: 14px 16px; }
}

/* Folha que sobe de baixo (editar perfil) */
.modal-back.sheet { align-items: end; padding: 0; }
.modal-back.sheet .modal { max-width: 720px; max-height: 92vh; animation: sheetUp .28s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 -12px 48px rgba(0, 0, 0, .28); }
.modal-back.sheet .modal-head { position: sticky; top: 0; background: var(--surface); z-index: 2; }
.modal-back.sheet .modal-head::before { content: ''; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; background: var(--border); }
.modal-back.sheet.closing { animation: fadeOut .22s forwards; }
.modal-back.sheet.closing .modal { animation: sheetDown .22s forwards; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetDown { to { transform: translateY(100%); } }
@keyframes fadeOut { to { opacity: 0; } }

/* Folha no celular: teclado aberto ocupa a área visível inteira */
.modal-back.sheet .modal { max-height: min(92vh, calc(100% - 24px)); overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); }
.modal-back.sheet .modal { will-change: transform; backface-visibility: hidden; }
.modal-back.sheet .chip { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.chip[data-amt] { font-family: inherit; font-weight: 600; height: 40px; padding: 0 14px; font-variant-numeric: tabular-nums; touch-action: manipulation; transition: border-color .12s, color .12s; }
.chip[data-amt]:active { transform: scale(.97); }
.modal-back.sheet.kb .modal { max-height: 100%; }
.modal-back.sheet .modal-head { touch-action: none; }

/* Telas de acesso: formulário logo abaixo do topo */
.auth-box h1 { line-height: 1.15; }
@media (max-width: 900px) {
  .auth-bar { background: var(--header); color: var(--on-header); border-bottom: 1px solid var(--header-line); padding: 0 16px; position: sticky; top: 0; z-index: 40; }
  .auth-bar .brand { color: var(--on-header); }
  .auth-bar .btn-ghost { color: var(--on-header); }
  .auth-bar .btn-ghost:hover { background: var(--header-2); }
  .auth-box { padding: 28px 20px 40px; }
  .auth-box h1 { font-size: 24px; }
  .auth-box form { margin-top: 22px; }
}
/* Campo com 16px no toque: o iPhone não dá zoom ao tocar */
@media (hover: none) and (pointer: coarse) { .input, .select, textarea.input { font-size: 16px; } }

/* Menu do usuário (topo) */
.umenu { position: relative; }
.umenu-btn { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 6px 0 4px; background: none; border: 0; color: inherit; cursor: pointer; }
.umenu-av { width: 32px; height: 32px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 13px; letter-spacing: .02em; flex: none; }
.umenu-av.lg { width: 42px; height: 42px; font-size: 15px; }
.umenu-chev { opacity: .6; transition: transform .15s; }
.umenu.open .umenu-chev { transform: rotate(180deg); }
.umenu-btn:hover .umenu-av, .umenu.open .umenu-av { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--primary); }
.top .umenu-btn:hover .umenu-av, .top .umenu.open .umenu-av { box-shadow: 0 0 0 2px var(--header), 0 0 0 4px var(--primary); }
.umenu-pop {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; width: 280px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow);
  animation: umenuIn .14s ease-out;
}
@keyframes umenuIn { from { opacity: 0; transform: translateY(-4px); } }
.umenu-head { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--border); }
.umenu-head .nm { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.umenu-head .em { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.umenu-head .grow { min-width: 0; }
.umenu-list { padding: 6px 0; }
.umenu-list a, .umenu-list button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 16px; font-size: 14px; color: var(--text); background: none; border: 0; text-align: left; cursor: pointer; }
.umenu-list a .ic, .umenu-list button .ic { color: var(--muted); }
.umenu-list a:hover, .umenu-list button:hover { background: var(--hover); }
.umenu-foot { border-top: 1px solid var(--border); }
.umenu-list .danger, .umenu-list .danger .ic { color: var(--danger); }
@media (max-width: 640px) {
  .umenu-chev { display: none; }
  .umenu-pop { position: fixed; top: var(--h-top); left: 0; right: 0; width: auto; border-left: 0; border-right: 0; box-shadow: 0 16px 40px rgba(0, 0, 0, .18); }
}

/* =====================================================================
   SUPPORT TICKETS
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.55; resize: vertical; display: block; }
.tk-tabs { padding: 0 16px; margin-bottom: 0; }
.tk-tabs button { display: inline-flex; align-items: center; gap: 8px; }
.tk-count:empty { display: none; }
.tk-count { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--bg); color: var(--muted); }
.tabs button.on .tk-count { background: var(--primary); color: var(--on-primary); }
.tk-row .lt .muted { font-weight: 500; margin-right: 2px; }
.tk-row.is-new .lic { background: var(--primary-soft); color: var(--primary); }
.tk-new form > .field { margin-top: 14px; }

.tk-attach { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tk-attach .field-error { flex-basis: 100%; }
.tk-attach.has-error .field-error { display: block; }
.tk-files { flex-basis: 100%; display: grid; gap: 8px; }
.tk-files:empty { display: none; }
.tk-file { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border: 1px solid var(--border); background: var(--bg); min-width: 0; }
.tk-file .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.tk-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }

.tk-subject { word-break: break-word !important; }
.tk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.tk-side { position: sticky; top: calc(var(--h-top) + 24px); }
.tk-kv > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; font-size: 14px; }
.tk-kv > div + div { border-top: 1px solid var(--border); }
.tk-kv > div > span:first-child { color: var(--muted); }
.tk-kv b { font-weight: 600; text-align: right; word-break: break-word; }
.prio-high { color: var(--danger); }
.prio-low { color: var(--muted); }

.tk-thread { display: grid; gap: 16px; }
.tk-msg { display: flex; gap: 14px; align-items: flex-start; }
.tk-av { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--text); color: var(--surface); font-weight: 700; font-size: 14px; }
.tk-av.staff { background: var(--primary); color: var(--on-primary); }
.tk-bubble { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--border); }
.tk-msg.staff .tk-bubble { border-left: 3px solid var(--primary); }
.tk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 13px; }
.tk-meta b { font-size: 14px; }
.tk-meta .muted { margin-left: auto; }
.tk-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; background: var(--primary-soft); color: var(--primary); }
.tk-body { padding: 16px 18px; white-space: pre-wrap; word-break: break-word; line-height: 1.6; font-size: 15px; }
.tk-atts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 18px 16px; }
.tk-att { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--border); background: var(--bg); font-size: 13px; }
.tk-att:hover { border-color: var(--primary); }
.tk-att .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.tk-att.img { flex-direction: column; align-items: stretch; padding: 0; width: 150px; }
.tk-att.img img { width: 100%; height: 100px; object-fit: cover; display: block; background: var(--surface); }
.tk-att.img span { padding: 6px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 1080px) {
  .tk-grid { grid-template-columns: 1fr; }
  .tk-side { position: static; order: -1; }
}
@media (max-width: 640px) {
  .tk-tabs { padding: 0 8px; }
  .tk-msg { gap: 0; }
  .tk-av { display: none; }
  .tk-meta, .tk-body { padding-left: 14px; padding-right: 14px; }
  .tk-atts { padding: 0 14px 14px; }
  .tk-actions { flex-direction: column-reverse; }
  .tk-actions .btn { width: 100%; }
  .tk-kv > div { padding: 12px 16px; }
}

/* =====================================================================
   PAYMENT METHODS (PIX / BITCOIN)
   ===================================================================== */
.pm-tabs { display: flex; border-bottom: 1px solid var(--border); padding: 0 16px; gap: 4px; overflow-x: auto; }
.pm-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; font-weight: 600; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.pm-tabs button.on { color: var(--text); border-bottom-color: var(--primary); }
.pm-tabs button.on .ic { color: var(--primary); }
.pay-amount { font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; word-break: break-all; }
.pay-unit { font-size: 18px; font-weight: 700; color: var(--muted); }
.pay-notes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.pay-notes li { display: flex; gap: 10px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.pay-notes .ic { color: var(--muted); margin-top: 2px; flex: none; }
.btc-conf { margin-top: 14px; padding: 14px; border: 1px solid var(--border); background: var(--bg); }
.pay-sbx { margin-top: 18px; }
.pm-opts { display: grid; gap: 10px; }
.pm-opt { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--border); cursor: pointer; text-align: left; width: 100%; background: var(--surface); }
.pm-opt:hover { border-color: color-mix(in srgb, var(--primary) 50%, var(--border)); }
.pm-opt .li { width: 40px; height: 40px; display: grid; place-items: center; background: var(--bg); color: var(--text); flex: none; }
.pm-opt .ck { width: 20px; height: 20px; border: 1px solid var(--border); flex: none; display: grid; place-items: center; color: transparent; }
.pm-opt.on { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); background: var(--primary-soft); }
.pm-opt.on .li { background: var(--primary); color: var(--on-primary); }
.pm-opt.on .ck { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.pm-logo { width: 20px; height: 20px; object-fit: contain; flex: none; }
.pm-logo.ic-sm { width: 18px; height: 18px; }
.pm-opt .li .pm-logo { width: 26px; height: 26px; }
.pm-opt.on .li.has-logo { background: var(--surface); box-shadow: inset 0 0 0 1px var(--primary); }
.ps-ic.has-logo { background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.ps-ic .pm-logo { width: 38px; height: 38px; }
@media (max-width: 640px) {
  .pm-tabs { padding: 0 8px; }
  .pay-amount { font-size: 26px; }
}

/* Conteúdo sendo atualizado: fica no lugar, só esmaece (nada pula) */
.is-busy { opacity: .45; pointer-events: none; transition: opacity .15s; }

/* Busca: no celular o campo fica em cima e o botão embaixo, separados */
.msearch { display: flex; }
.msearch .input { flex: 1; min-width: 0; }
.msearch .btn { flex: none; }
@media (max-width: 640px) {
  .dsearch { flex-direction: column; flex-wrap: nowrap; gap: 12px; background: transparent; border: 0; box-shadow: none; }
  .dsearch > .ic { display: none; }
  .dsearch input { width: 100%; flex: none; height: 56px; padding: 0 16px; font-size: 16px; background: var(--surface); border: 1px solid var(--surface); }
  .dsearch-light input { border-color: var(--border); }
  .dsearch input:focus { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
  .dsearch-light:focus-within { box-shadow: none; }
  .dsearch .btn { width: 100%; height: 54px; font-size: 16px; }
  .msearch { flex-direction: column; gap: 10px; }
  .msearch .input { flex: none; height: 52px; }
  .msearch .btn { width: 100%; height: 50px; }
}

/* Corpo das páginas do site: respiro em cima e embaixo (o .wrap do celular não zera mais) */
.wrap.page-body { padding-top: 36px; padding-bottom: 72px; }
/* Rodapé sempre no fim da tela, mesmo com pouco conteúdo */
#app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
#app > main { flex: 1 0 auto; }
#app > .panel, #app > .auth { flex: 1 0 auto; }
@media (max-width: 640px) {
  .wrap.page-body { padding-top: 24px; padding-bottom: 48px; }
}

/* =====================================================================
   LOGIN CODE (MFA)
   ===================================================================== */
.code-input { height: 60px; font-size: 28px !important; font-weight: 700; letter-spacing: .5em; text-align: center; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding-left: .5em; }
.mfa-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; }
.mfa-foot .link { background: none; border: 0; padding: 0; cursor: pointer; }
.mfa-foot .link:disabled { color: var(--muted); cursor: default; text-decoration: none; font-weight: 500; }
.muted-link { color: var(--muted) !important; font-weight: 500 !important; }

/* =====================================================================
   ACCOUNT SHARING
   ===================================================================== */
.acting-bar { display: flex; align-items: center; gap: 12px; padding: 10px 28px; background: var(--primary); color: var(--on-primary); font-size: 14px; position: sticky; top: 0; z-index: 31; }
.acting-bar .em { opacity: .8; font-size: 13px; }
.acting-bar .btn { background: var(--on-primary); color: var(--primary); flex: none; }
.imp-bar { background: var(--warning); color: #fff; }
.imp-bar .btn { color: var(--warning); background: #fff; }
.imp-bar + .acting-bar { top: 44px; }
.is-acting .mtop { top: 44px; }
.set-action { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.acc-row { align-items: flex-start; flex-wrap: wrap; }
.acc-row .grow { min-width: 0; flex: 1 1 220px; }
.acc-av { background: var(--text) !important; color: var(--surface) !important; font-weight: 700; font-size: 13px; }
.acc-acts { display: flex; gap: 8px; flex-wrap: wrap; align-self: center; }
.acc-scopes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.scope-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; font-size: 12px; font-weight: 600; background: var(--bg); border: 1px solid var(--border); color: var(--text-2); }
.scope-chip .ic { color: var(--muted); }
.btn-danger-o { color: var(--danger); }
.btn-danger-o:hover { border-color: var(--danger); }
.invite-card { display: flex; gap: 18px; padding: 22px; margin-bottom: 8px; border-left: 3px solid var(--primary); }
.invite-card h3 { font-size: 17px; }
.invite-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.perm-list { display: grid; gap: 8px; }
.perm { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--border); cursor: pointer; background: var(--surface); }
.perm input, .site-opt input { position: absolute; opacity: 0; pointer-events: none; }
.perm small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.perm-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: var(--bg); color: var(--text); }
.perm .ck, .site-opt .ck { width: 20px; height: 20px; flex: none; border: 1px solid var(--border); display: grid; place-items: center; color: transparent; }
.perm:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); background: var(--primary-soft); }
.perm:has(input:checked) .perm-ic { background: var(--primary); color: var(--on-primary); }
.perm:has(input:checked) .ck, .site-opt:has(input:checked) .ck { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.site-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.site-opt { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--border); cursor: pointer; font-size: 14px; word-break: break-all; }
.site-opt:has(input:checked) { border-color: var(--primary); }
[data-err-scopes], [data-err-sites] { margin-top: 8px; }
.act-list { display: grid; }
.act-row { padding: 12px 0; border-bottom: 1px solid var(--border); }
.act-row .lt { font-weight: 600; font-size: 14px; }
.act-row .ls { color: var(--muted); font-size: 13px; margin-top: 2px; word-break: break-all; }
.umenu-accs { border-bottom: 1px solid var(--border); }
.umenu-label { padding: 8px 16px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.umenu-accs button .grow { display: grid; min-width: 0; }
.umenu-accs button .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.umenu-accs button .em { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.umenu-accs button.on { color: var(--primary); }
.umenu-accs button.on .ic { color: var(--primary); }
@media (max-width: 640px) {
  .acting-bar { padding: 10px 16px; flex-wrap: wrap; }
  .acting-bar .em { display: none; }
  .is-acting .mtop { top: 0; position: relative; }
  .acc-acts { width: 100%; justify-content: flex-end; }
  .site-pick { grid-template-columns: 1fr; }
  .invite-card { flex-direction: column; padding: 18px; }
}

.stats-1, .stats-2 { grid-template-columns: repeat(2, 1fr); }
.stats-0 { display: none; }

/* =====================================================================
   SITE PANEL v1.14 (domains, apps, security, cache, backups, logs...)
   ===================================================================== */
.site-sel { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--border); background: var(--surface); position: relative; max-width: 100%; }
.site-sel .ic { color: var(--muted); flex: none; }
.site-sel select { appearance: none; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--text); padding-right: 4px; min-width: 0; max-width: 60vw; text-overflow: ellipsis; cursor: pointer; outline: 0; }
.fm-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; flex-wrap: wrap; }
.fm-left .site-sel { height: 34px; }
.split-btn { display: inline-flex; }
.split-btn .btn-caret { padding: 0 8px; border-left: 1px solid color-mix(in srgb, var(--on-primary) 30%, transparent); }
.fm-search { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--bg); }
.fm-search input { flex: 1; min-width: 0; height: 36px; border: 1px solid var(--border); background: var(--surface); padding: 0 12px; outline: 0; }
.fm-search input:focus { border-color: var(--primary); }
.fm-search-ic { color: var(--muted); display: flex; }
.fm-results { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--primary-soft); font-size: 14px; }
.fm-results .link { background: none; border: 0; cursor: pointer; }
.check-row { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.check-row .cbox { width: 20px; height: 20px; flex: none; border: 1px solid var(--border); display: grid; place-items: center; color: transparent; margin-top: 1px; }
.check-row input:checked + .cbox { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.check-row small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.row-acts { display: flex; align-items: center; gap: 6px; flex: none; }
.kv-1 { grid-template-columns: 1fr !important; }
.kv-1 > div + div { border-left: 0 !important; border-top: 1px solid var(--border); }
.mset { padding: 18px 0; border-bottom: 1px solid var(--border); }
.mset:first-child { padding-top: 0; }
.mset:last-child { border-bottom: 0; padding-bottom: 0; }
.mset-h { margin-bottom: 10px; }
.mset-h b { display: block; font-size: 15px; }
.mset-h small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.mset-h.row { display: flex; align-items: center; gap: 12px; }
.fwd-row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border: 1px solid var(--border); background: var(--bg); margin-top: 6px; font-size: 14px; }
.pick-file { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed var(--border); text-align: center; cursor: pointer; color: var(--muted); }
.pick-file:hover { border-color: var(--primary); color: var(--primary); }
.pick-file b { color: var(--text); word-break: break-all; }
.pick-file small { font-size: 13px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.app-card { display: flex; align-items: center; gap: 16px; padding: 20px; }
.app-card h3 { font-size: 16px; }
.app-card p { margin-top: 4px; }
.app-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.red-form { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 14px; }
.red-form .field + .field { margin-top: 0; }
.log-tabs { display: flex; align-items: center; padding: 0 12px; margin-bottom: 0; gap: 4px; }
.log-lines { width: auto; height: 34px; padding-right: 32px; margin-right: 4px; }
.log-view { margin: 0; max-height: 65vh; overflow: auto; padding: 16px; background: #0e1016; color: #c9ced8; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.log-view .l-err { color: #ff8b8b; }
.log-view .l-warn { color: #f5c26b; }
.chip-x { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 2px; color: var(--muted); background: none; border: 0; cursor: pointer; }
.chip-x:hover { color: var(--danger); }
.web-row { align-items: flex-start; }
.web-row .ls { word-break: break-all; }
.sub-parent { width: auto; max-width: 55%; border: 0; border-left: 1px solid var(--border); height: auto; background-color: var(--bg); }
.dns-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dns-edit .field + .field { margin-top: 0; }
.dns-edit .field:nth-child(3) { grid-column: 1 / -1; }
.db-row { flex-wrap: wrap; }

/* Editor de código (CodeMirror) - quadrado, escuro */
.editor-wrap .CodeMirror { height: min(62vh, 640px); background: #0e1016; color: #e6e8ee; font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.editor-wrap .CodeMirror-gutters { background: #12141b; border-right: 1px solid #23262f; }
.editor-wrap .CodeMirror-linenumber { color: #5b6170; }
.editor-wrap .CodeMirror-cursor { border-left-color: #fff; }
.editor-wrap .CodeMirror-selected, .editor-wrap .CodeMirror-focused .CodeMirror-selected { background: #2b3350; }
.editor-wrap .CodeMirror-activeline-background { background: #171a23; }
.editor-wrap .CodeMirror-matchingbracket { color: #fff !important; background: #3a4258; }
.editor-wrap .cm-keyword { color: #c792ea; } .editor-wrap .cm-def { color: #82aaff; } .editor-wrap .cm-variable, .editor-wrap .cm-variable-2 { color: #e6e8ee; }
.editor-wrap .cm-variable-3, .editor-wrap .cm-type { color: #ffcb6b; } .editor-wrap .cm-string, .editor-wrap .cm-string-2 { color: #c3e88d; } .editor-wrap .cm-number { color: #f78c6c; }
.editor-wrap .cm-comment { color: #697098; font-style: italic; } .editor-wrap .cm-tag { color: #f07178; } .editor-wrap .cm-attribute { color: #ffcb6b; }
.editor-wrap .cm-property { color: #89ddff; } .editor-wrap .cm-atom, .editor-wrap .cm-builtin { color: #f78c6c; } .editor-wrap .cm-meta, .editor-wrap .cm-qualifier { color: #89ddff; } .editor-wrap .cm-operator { color: #89ddff; }

@media (max-width: 640px) {
  .fm-left { width: 100%; }
  .site-sel { width: 100%; }
  .site-sel select { flex: 1; max-width: none; }
  .red-form, .dns-edit { grid-template-columns: 1fr; }
  .red-form .field + .field, .dns-edit .field + .field { margin-top: 14px; }
  .app-card { flex-wrap: wrap; }
  .app-card .btn { width: 100%; }
  .row-acts { width: 100%; justify-content: flex-end; }
  .editor-wrap .CodeMirror { height: 60vh; }
  .log-tabs { padding: 0 4px; flex-wrap: wrap; }
}
.web-row, .db-row { flex-wrap: wrap; }
.web-row > .grow, .db-row > .grow { flex: 1 1 200px; min-width: 0; }
@media (max-width: 640px) {
  .card-head { flex-wrap: wrap; gap: 10px; }
  .card-head > .row, .card-head > div:last-child:not(:first-child) { flex-wrap: wrap; }
  .web-row > .grow, .db-row > .grow { flex-basis: calc(100% - 60px); }
  .web-row .lt .badge { margin-top: 4px; }
}
.list-row:has(> .row-acts) { flex-wrap: wrap; }
.list-row:has(> .row-acts) > .grow { flex: 1 1 200px; min-width: 0; }
@media (max-width: 640px) {
  .list-row:has(> .row-acts) > .grow { flex-basis: calc(100% - 60px); }
}

/* =====================================================================
   v1.16 - carteira, reembolso, convide amigos, domínio (trava/EPP), transferência
   ===================================================================== */
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stat + .stat { border-left: 1px solid var(--border); }
.ref-top { display: flex; align-items: center; gap: 16px; }
.ref-top h2 { font-size: 20px; }
.ri { width: 56px; height: 56px; flex: none; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); }
.ref-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ref-share .muted { margin-left: auto; }
.ref-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ref-step { position: relative; padding: 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.ref-step + .ref-step { border-left: 1px solid var(--border); }
.ref-step .n { position: absolute; top: 14px; right: 16px; font-size: 28px; font-weight: 800; color: var(--border); line-height: 1; }
.ref-step p { color: var(--text-2); font-size: 14px; }
.credit-box { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--primary-line); background: var(--primary-soft); margin-bottom: 20px; flex-wrap: wrap; }
.credit-box .ci { width: 40px; height: 40px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); flex: none; }
.credit-box b { color: var(--primary); }
.chk-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--border); cursor: pointer; font-size: 14px; }
.chk-row input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.chk-row.on { border-color: var(--primary); background: var(--primary-soft); }
.epp { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 1px; }
.tag-transfer { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 6px; background: var(--primary-soft); color: var(--primary); margin-left: 6px; vertical-align: middle; }
@media (max-width: 760px) {
  .stats-3 { grid-template-columns: 1fr; }
  .stats-3 .stat + .stat { border-left: 0; border-top: 1px solid var(--border); }
  .ref-step + .ref-step { border-left: 0; }
  .ref-share .muted { margin-left: 0; width: 100%; }
  .ref-top .ri { width: 46px; height: 46px; }
}

/* =====================================================================
   Cantos arredondados (valor do banco: settings.ui_radius -> --radius)
   ===================================================================== */
:root { --radius-sm: calc(var(--radius, 6px) * .7); --radius-lg: var(--radius, 6px); }   /* --radius vem do banco (ui_radius) */
.btn, .input, .select, .textarea, .dsearch, .dsearch input, .fm-search, .fm-search input, .code-box, .prefixed, .seg, .seg button,
.notice, .badge, .chip, .tld-chip, .scope-chip, .acc-chip, .tag-transfer, .tk-tag, .tk-count, .cart-count, .hero-kicker,
.pm-opt, .perm, .site-opt, .radio-row, .chk-row, .credit-box, .exact, .result, .pick-file, .fwd-row, .lang-opt,
.lang-menu, .menu-pop, .umenu-pop, .umenu-list a, .umenu-list button, .menu-pop button, .lang-menu button,
.tk-bubble, .tk-file, .tk-att, .tk-att.img img, .btc-conf, .qr, .qr img, .editor-wrap, .fm-drop, .fm-results, .uploads,
.side-nav a, .tabs button, .pm-tabs button, .crumbs button, .log-view, .ssl-box, .invite-card, .app-card, .acc-hero, .pay-sbx { border-radius: var(--radius); }
.card, .modal, .stats, .plans, .features, .results, .site-sel, .empty, .auth-main { border-radius: var(--radius-lg); }
.stats, .plans, .features, .results, .site-sel { overflow: hidden; }
.card > :first-child { border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg); }
.card > :last-child { border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }
.modal-head { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal-back.sheet .modal { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.avatar, .umenu-av, .acc-av, .acc-avatar, .tk-av, .brand-mark, .lic, .li, .di, .fi, .ei, .ri, .ci, .app-ic, .perm-ic, .invite-ic, .result-ic,
.list-row .lic, .line .li, .detail-head .di, .feature .fi, .empty .ei, .credit-box .ci, .pm-opt .li { border-radius: var(--radius); }
.pm-opt .ck, .perm .ck, .site-opt .ck, .check-row .cbox, .fm-check span, .lang-code { border-radius: var(--radius-sm); }
.switch span { border-radius: 999px; }
.switch span::after { border-radius: 50%; }
.radio-row .radio, .radio-row .radio::after, .dot, .pay-steps li::before { border-radius: 50%; }
.bar, .bar span, .usage .bar, .sk { border-radius: var(--radius-sm); }
.toast, .hp-toast { border-radius: var(--radius); }
.input-wrap .eye { border-radius: var(--radius-sm); }
.dsearch .btn { border-radius: var(--radius-sm); }

/* ---------- Botões: hover, clique e carregando mais suaves ---------- */
.btn {
  transition: background-color .18s cubic-bezier(.2, .8, .2, 1), border-color .18s cubic-bezier(.2, .8, .2, 1), color .18s ease,
    box-shadow .2s cubic-bezier(.2, .8, .2, 1), transform .12s cubic-bezier(.2, .8, .2, 1), opacity .18s ease;
  -webkit-tap-highlight-color: transparent; will-change: transform;
}
.btn .ic { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.btn:active:not([disabled]):not(.is-loading) { transform: scale(.97); transition-duration: .06s; }
.btn-primary:hover { box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-primary:active { box-shadow: 0 2px 8px -4px color-mix(in srgb, var(--primary) 70%, transparent); }
.btn-outline:hover { box-shadow: 0 4px 12px -8px rgba(14, 16, 22, .35); }
.btn:hover .ic-arrow, .btn:hover [data-ic="arrow"] { transform: translateX(2px); }
.btn:focus-visible { outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 28%, transparent); }
.btn.is-loading { transition: color .12s ease, background-color .18s ease; }
.btn > * { transition: opacity .15s ease, transform .15s ease; }
.btn.is-loading > * { visibility: visible; opacity: 0; transform: scale(.92); }
.btn.is-loading::after { animation: spin .65s linear infinite, btnSpinIn .2s ease-out; }
@keyframes btnSpinIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn > *, .btn .ic { transition: none; }
  .btn:active:not([disabled]) { transform: none; }
}

/* =====================================================================
 * Busca de domínio (v1.23): visual mais limpo, estilo lista
 * ===================================================================== */
.dsearch { align-items: center; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius-lg) + 4px); box-shadow: 0 10px 30px -18px rgba(14, 16, 22, .35); transition: border-color .18s, box-shadow .18s; }
.dsearch:focus-within { border-color: color-mix(in srgb, var(--primary) 55%, var(--border)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent), 0 10px 30px -18px rgba(14, 16, 22, .35); }
.dsearch .ic { margin-left: 12px; }
.dsearch input { height: 52px; padding: 0 10px; font-size: 16px; }
.dsearch .btn { height: 52px; padding: 0 26px; border-radius: var(--radius); }

/* correspondência exata */
.dx { position: relative; padding: 26px 28px; background: color-mix(in srgb, var(--text) 3%, var(--surface)); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 26px; }
.dx.ok { background: color-mix(in srgb, var(--success) 5%, var(--surface)); border-color: color-mix(in srgb, var(--success) 22%, var(--border)); }
.dx-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.dx-tag.ok { background: var(--success); color: #fff; }
.dx-tag.no { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); color: var(--danger); }
.dx-tag .ic { width: 14px; height: 14px; }
.dx-name { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; word-break: break-all; line-height: 1.2; }
.dx .dp { margin-top: 10px; }
.dx .dp b { font-size: 24px; }
.dx-act { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.dx-act .btn { min-width: 180px; height: 48px; font-size: 15px; }
.dx-in { color: var(--success); border-color: color-mix(in srgb, var(--success) 40%, var(--border)); }
.dx-tr { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-2, var(--text)); }
.dx-tr span { flex: 1; min-width: 180px; }

/* preço */
.dp { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.dp b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.dp s { color: var(--muted); font-size: 13px; }
.dp span { color: var(--muted); font-size: 13px; margin-left: -4px; }
.dren { color: var(--muted); font-size: 12.5px; margin-top: 3px; }

/* lista das outras extensões */
.dl-h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px 2px; }
.dl { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.dr { display: flex; align-items: center; gap: 16px; padding: 18px 22px; transition: background .18s; }
.dr + .dr { border-top: 1px solid var(--border); }
.dr:hover { background: color-mix(in srgb, var(--text) 2%, var(--surface)); }
.dr.in { background: color-mix(in srgb, var(--primary) 4%, var(--surface)); }
.dn { font-size: 17px; font-weight: 700; word-break: break-all; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.dn i { font-style: normal; color: var(--primary); font-weight: 700; }
.dpill { font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--success) 12%, var(--surface)); color: var(--success); }
.dr .dp { margin-top: 6px; }
.dr.off .dn { color: var(--muted); font-weight: 600; }
.dbtn { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border: 1.5px solid color-mix(in srgb, var(--primary) 45%, var(--border)); color: var(--primary); background: var(--surface); border-radius: var(--radius); cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .12s; }
.dbtn:hover { background: color-mix(in srgb, var(--primary) 8%, var(--surface)); border-color: var(--primary); }
.dbtn:active { transform: scale(.94); }
.dbtn.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.dbtn .ic { width: 22px; height: 22px; }
.dlink { flex: none; background: none; border: 0; padding: 6px 2px; color: var(--primary); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.dlink:hover { text-decoration: underline; }

/* barra do carrinho (fica presa embaixo) */
.dcart { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 12px 12px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 16px 40px -18px rgba(14, 16, 22, .45); animation: dcartIn .22s cubic-bezier(.2, .8, .2, 1); }
.dcart b { font-size: 14px; }
@keyframes dcartIn { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 640px) {
  .dsearch { flex-direction: row; flex-wrap: nowrap; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 8px 24px -16px rgba(14, 16, 22, .35); }
  .dsearch > .ic { display: block; margin-left: 10px; }
  .dsearch input, .dsearch-light input { flex: 1; width: auto; height: 48px; padding: 0 8px; border: 0 !important; box-shadow: none !important; background: transparent; }
  .dsearch .btn { width: auto; height: 46px; padding: 0 16px; font-size: 14px; }
  .dsearch-light:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
  .dx { padding: 20px 18px; }
  .dx-name { font-size: 22px; }
  .dx-act .btn { width: 100%; }
  .dr { padding: 16px; gap: 12px; }
  .dn { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .dcart { animation: none; } }

/* =====================================================================
 * Pagamento da fatura (v1.27): PIX gerado no clique, cronômetro e aprovação animada
 * ===================================================================== */
.pay-start { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 8px 8px; gap: 10px; }
.ps-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); animation: psPop .35s cubic-bezier(.2, .8, .2, 1); }
.ps-amt { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.ps-amt b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.ps-amt s { color: var(--muted); font-size: 16px; }
.ps-save { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--success) 12%, var(--surface)); color: var(--success); font-weight: 700; font-size: 13px; }
.ps-go { margin-top: 8px; min-width: 260px; height: 54px; font-size: 16px; }
.ps-note { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
@keyframes psPop { from { transform: scale(.6); opacity: 0; } }

.pay-timer { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.pt-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pt-top .waiting { margin: 0; }
.pt-left { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.pt-left b { font-size: 18px; font-weight: 800; }
.pt-bar { height: 6px; margin-top: 10px; background: var(--hover); border-radius: 999px; overflow: hidden; }
.pt-bar span { display: block; height: 100%; width: 100%; background: var(--primary); border-radius: 999px; transition: width 1s linear, background-color .3s; }
.pt-bar.low span { background: var(--danger); }
.pay-timer:has(.pt-bar.low) .pt-left { color: var(--danger); animation: ptBlink 1s steps(2) infinite; }
@keyframes ptBlink { 50% { opacity: .55; } }

.pay-exp { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 26px 8px; }
.pay-exp > .ic { color: var(--warning); width: 40px; height: 40px; }
.pay-exp .btn { margin-top: 8px; }

.pay-ok { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(6px); animation: fadeIn .2s ease; }
.pay-ok.out { opacity: 0; transition: opacity .3s; }
.po-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 34px; text-align: center; box-shadow: 0 30px 60px -30px rgba(14, 16, 22, .45); animation: psPop .4s cubic-bezier(.2, .8, .2, 1); }
.po-box h3 { font-size: 20px; margin-top: 12px; }
.po-box p { color: var(--muted); margin-top: 4px; }
.po-check { width: 76px; height: 76px; }
.po-check circle { stroke: var(--success); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: poDraw .6s ease forwards; }
.po-check path { stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: poDraw .35s .5s ease forwards; }
@keyframes poDraw { to { stroke-dashoffset: 0; } }
@media (max-width: 640px) { .ps-go { width: 100%; min-width: 0; } .ps-amt b { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .ps-ic, .po-box, .po-check circle, .po-check path { animation: none; stroke-dashoffset: 0; } }

/* =====================================================================
 * Assistente IA
 * =================================================================== */
.ai-btn .ic { color: var(--primary); }
.ai-btn:hover .ic { animation: ai-twinkle .9s ease; }
@keyframes ai-twinkle { 0% { transform: scale(1) rotate(0); } 40% { transform: scale(1.18) rotate(12deg); } 100% { transform: scale(1) rotate(0); } }
.aiw { position: fixed; inset: 0; z-index: 90; }
.aiw-back { position: absolute; inset: 0; background: rgba(10, 12, 18, .38); opacity: 0; transition: opacity .2s ease; }
.aiw-box { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); border-left: 1px solid var(--border); display: flex; flex-direction: column; transform: translateX(24px); opacity: 0; transition: transform .24s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; box-shadow: -18px 0 48px rgba(12, 14, 20, .12); }
.aiw.on .aiw-back { opacity: 1; }
.aiw.on .aiw-box { transform: none; opacity: 1; }
body.ai-open { overflow: hidden; }
.aiw-h { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.aiw-h b { display: block; font-size: 15px; }
.aiw-h small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.aiw-h small.bad { color: var(--danger); }
.aiw-ic { width: 34px; height: 34px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); border-radius: var(--radius-sm, 0); flex: none; }
.aiw-list { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.aiw-in { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--surface); }
.aiw-in textarea { flex: 1; resize: none; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; line-height: 1.45; padding: 9px 12px; min-height: 42px; max-height: 140px; border-radius: var(--radius, 0); outline: none; transition: border-color .15s; }
.aiw-in textarea:focus { border-color: var(--primary); }
.aiw-in .btn { height: 42px; width: 42px; flex: none; }
/* v1.13: conversas na barra lateral do assistente (compacta, estilo lista de chats) */
.aiw-box { overflow: hidden; }
.aiw-h { gap: 6px; padding-left: 8px; }
.aiw-hb { width: 36px; height: 36px; flex: none; color: var(--text-2); }
.aiw-side-back { position: absolute; inset: 0; z-index: 3; background: rgba(10, 12, 18, .28); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.aiw-side { position: absolute; top: 0; left: 0; bottom: 0; z-index: 4; width: min(300px, 86%); display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--border); box-shadow: 12px 0 32px rgba(12, 14, 20, .12); transform: translateX(-104%); transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.aiw.side-on .aiw-side { transform: none; }
.aiw.side-on .aiw-side-back { opacity: 1; pointer-events: auto; }
.aiw-side-h { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 6px 14px; }
.aiw-side-h b { font-size: 15px; }
.aiw-new { display: flex; align-items: center; gap: 10px; margin: 2px 8px 6px; padding: 9px 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--text); background: none; border: 0; border-radius: var(--radius, 6px); cursor: pointer; text-align: left; -webkit-tap-highlight-color: transparent; }
.aiw-new .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: var(--on-primary); background: var(--primary); }
.aiw-new:hover { background: var(--hover); }
.aiw-new:active { transform: scale(.98); }
.aiw-search { display: flex; align-items: center; gap: 8px; margin: 0 10px 8px; padding: 0 10px; height: 36px; color: var(--muted); background: var(--bg); border: 1px solid transparent; border-radius: var(--radius, 6px); }
.aiw-search:focus-within { border-color: var(--primary-line); background: var(--surface); }
.aiw-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--text); }
.aiw-search input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: #333 !important; transition: background-color 5000s ease-in-out 0s; }
.aiw-chats { flex: 1; overflow-y: auto; padding: 2px 6px 14px; overscroll-behavior: contain; }
.aiw-grp { margin-top: 6px; }
.aiw-gh { display: inline-flex; align-items: center; gap: 4px; padding: 6px 8px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer; }
.aiw-gh .ic { width: 13px; height: 13px; transition: transform .15s; }
.aiw-grp.shut .aiw-gh .ic { transform: rotate(-90deg); }
.aiw-grp.shut .aiw-gl { display: none; }
.aiw-ci { position: relative; display: flex; align-items: center; border-radius: var(--radius, 6px); }
.aiw-ci:hover, .aiw-ci.on { background: var(--hover); }
.aiw-ci.on { background: color-mix(in srgb, var(--text) 7%, var(--surface)); }
.aiw-ci-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 8px 4px 8px 10px; font: inherit; font-size: 14px; color: var(--text); text-align: left; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.aiw-ci-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aiw-pin { flex: none; width: 13px; height: 13px; color: var(--muted); }
.aiw-ci-m { flex: none; width: 30px; height: 30px; margin-right: 3px; display: grid; place-items: center; color: var(--muted); background: none; border: 0; border-radius: var(--radius-sm, 4px); cursor: pointer; opacity: 0; transition: opacity .12s; }
.aiw-ci:hover .aiw-ci-m, .aiw-ci.on .aiw-ci-m, .aiw-ci-m:focus-visible { opacity: 1; }
.aiw-ci-m:hover { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
@media (hover: none) { .aiw-ci-m { opacity: 1; } }
.aiw-ren { flex: 1; min-width: 0; margin: 4px; padding: 5px 8px; font: inherit; font-size: 14px; color: var(--text); background: var(--surface); border: 1px solid var(--primary); border-radius: var(--radius-sm, 4px); outline: 0; }
.aiw-menu { position: absolute; right: 4px; top: calc(100% - 2px); z-index: 6; min-width: 170px; padding: 5px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 8px); box-shadow: 0 12px 32px rgba(12, 14, 20, .16); animation: ai-in .14s ease; }
.aiw-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; font: inherit; font-size: 13.5px; color: var(--text); text-align: left; background: none; border: 0; border-radius: var(--radius-sm, 4px); cursor: pointer; }
.aiw-menu button:hover { background: var(--hover); }
.aiw-menu button .ic { color: var(--muted); }
.aiw-menu button.bad, .aiw-menu button.bad .ic { color: var(--danger); }
.aiw-none { margin: 14px 10px; font-size: 13px; color: var(--muted); }
.aiw-foot { font-size: 11.5px; color: var(--muted); text-align: center; padding: 0 12px 10px; background: var(--surface); }
.aim { display: flex; gap: 8px; max-width: 100%; }
.aim.enter { animation: ai-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes ai-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.aim-u { justify-content: flex-end; }
.aim-u .aim-b { background: var(--primary); color: var(--on-primary); padding: 9px 13px; max-width: 85%; border-radius: var(--radius-lg, 0); border-bottom-right-radius: 3px; font-size: 14.5px; line-height: 1.5; word-break: break-word; animation: ai-in .22s ease; }
.aim-av { width: 26px; height: 26px; flex: none; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: var(--radius-sm, 0); margin-top: 2px; }
.aim-ai .aim-b { background: var(--surface); border: 1px solid var(--border); padding: 10px 13px; max-width: 92%; border-radius: var(--radius-lg, 0); border-top-left-radius: 3px; font-size: 14.5px; line-height: 1.55; word-break: break-word; }
.aim-err .aim-b { border-color: color-mix(in srgb, var(--danger) 40%, var(--border)); color: var(--danger); }
.md p { margin: 0 0 8px; } .md p:last-child { margin-bottom: 0; }
.md ul, .md ol { margin: 4px 0 8px; padding-left: 20px; } .md li { margin: 2px 0; }
.md code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; background: var(--hover); padding: 1px 5px; }
.md pre { background: var(--hover); padding: 10px; overflow-x: auto; margin: 6px 0; } .md pre code { background: none; padding: 0; }
.md a { color: var(--primary); text-decoration: underline; }
.aiw-dots { display: inline-flex; gap: 4px; padding: 4px 0; }
.aiw-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .4; animation: ai-dot 1.1s infinite ease-in-out; }
.aiw-dots i:nth-child(2) { animation-delay: .15s; } .aiw-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ai-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.aim-wait small { display: block; color: var(--muted); font-size: 12px; }
.aiw-load { display: grid; place-items: center; padding: 40px 0; }
.aiw-err { display: flex; gap: 8px; color: var(--danger); padding: 20px 4px; }
.aiw-hi { text-align: center; padding: 26px 8px 10px; margin: auto 0; }
.aiw-hi-ic { width: 54px; height: 54px; margin: 0 auto 14px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); border-radius: 50%; animation: ai-pulse 2.4s ease-in-out infinite; }
@keyframes ai-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 30%, transparent); } 50% { box-shadow: 0 0 0 12px transparent; } }
.aiw-hi h3 { margin: 0 0 6px; font-size: 18px; }
.aiw-hi p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.aiw-sug { display: grid; gap: 8px; text-align: left; }
.aiw-sug button { font: inherit; font-size: 14px; text-align: left; padding: 11px 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; border-radius: var(--radius, 0); transition: border-color .15s, background .15s, transform .12s; }
.aiw-sug button:hover { border-color: var(--primary); background: var(--primary-soft); }
.aiw-sug button:active { transform: scale(.985); }
.aim-a { padding-left: 0; }
.aic-card { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--primary-line); border-radius: var(--radius-lg, 0); overflow: hidden; }
.aic-card.danger { border-color: color-mix(in srgb, var(--danger) 45%, var(--border)); }
.aic-card.is-cancelled { opacity: .7; }
.aic-t { display: flex; align-items: center; gap: 8px; padding: 10px 13px; background: var(--primary-soft); font-size: 14px; }
.aic-t .ic { color: var(--primary); }
.aic-card.danger .aic-t { background: color-mix(in srgb, var(--danger) 9%, var(--surface)); }
.aic-card.danger .aic-t .ic { color: var(--danger); }
.aic-rows { padding: 6px 13px; }
.aic-r { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 13.5px; border-bottom: 1px dashed var(--border); }
.aic-r:last-child { border-bottom: 0; }
.aic-r > span { color: var(--muted); flex: none; }
.aic-r > b { text-align: right; word-break: break-all; font-weight: 600; min-width: 0; }
.aic-sec { display: inline-flex; align-items: center; gap: 2px; }
.aic-sec code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; background: var(--hover); padding: 2px 6px; }
.aic-act { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 13px; border-top: 1px solid var(--border); }
.aic-act .btn { gap: 6px; }
.aic-st { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-top: 1px solid var(--border); font-size: 13.5px; font-weight: 600; }
.aic-st.ok { color: var(--success); } .aic-st.bad { color: var(--danger); } .aic-st.mute { color: var(--muted); }
.aic-extra { border-top: 1px solid var(--border); background: color-mix(in srgb, var(--success) 6%, var(--surface)); }
.aic-open .aic-t { background: var(--surface); }
.aic-open .aic-act { border-top: 0; padding-top: 0; }
.aim.flash .aic-card { animation: ai-in .25s ease; }
.aic-pay { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px 13px; border-top: 1px solid var(--border); min-width: 0; }
.aic-pay > * { min-width: 0; }
.aic-qr { justify-self: center; width: 180px; height: 180px; max-width: 100%; padding: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius, 6px); }
.aic-qr:empty { display: none; }
.aic-qr img, .aic-qr svg { display: block; width: 100%; height: 100%; }
.aic-pay-r { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--muted); }
.aic-pay-r b { font-size: 18px; color: var(--text); font-variant-numeric: tabular-nums; }
.aic-pay-l { font-size: 12px; font-weight: 600; color: var(--muted); }
.aic-pay-code { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius, 6px); }
.aic-pay-code code { flex: 1; min-width: 0; font: 12px ui-monospace, Menlo, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aic-pay-code .btn { flex: none; gap: 5px; }
.aic-pay-wait { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.aic-pay-msg { display: flex; gap: 8px; margin: 0; font-size: 13px; color: var(--warning); }
.aic-pay-ok { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 6px 0; font-weight: 700; color: var(--success); }
@media (max-width: 720px) {
  .aiw-box { width: 100%; border-left: 0; transform: translateY(18px); }
  .aiw-back { display: none; }
  .aiw-in { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .aim-u .aim-b { max-width: 88%; }
}
@media (prefers-reduced-motion: reduce) {
  .aiw-box, .aiw-back, .aim.enter, .aiw-hi-ic, .aiw-dots i { transition: none; animation: none; }
}

/* busca: melhor custo */
.dbest { font-style: normal; display: inline-flex; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; line-height: 1; padding: 3px 6px; color: var(--success); background: color-mix(in srgb, var(--success) 11%, var(--surface)); border-radius: var(--radius-sm, 0); letter-spacing: .01em; vertical-align: middle; margin-left: 6px; white-space: nowrap; }
.dbest .ic, .ic-xs { width: 11px; height: 11px; }
.dx-name .dbest { font-size: 11px; }
/* saldo no menu do usuário */
.ubal { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; color: var(--text); text-decoration: none; }
.ubal-ic { width: 13px; height: 13px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; background: var(--primary); color: var(--on-primary); line-height: 1; }
.ubal b { font-weight: 700; }
.ubal:hover b { color: var(--primary); }
/* carrinho compacto */
.line { gap: 14px; padding: 16px 20px; align-items: flex-start; }
.line .li { width: 38px; height: 38px; }
.line .lb { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.line .lh { display: flex; align-items: flex-start; gap: 8px; }
.line .lh .grow { min-width: 0; }
.line .lt { font-weight: 600; font-size: 15px; line-height: 1.35; word-break: normal; overflow-wrap: anywhere; }
.line .ls { font-size: 12.5px; overflow-wrap: anywhere; }
.line .lrm { margin: -6px -8px 0 0; color: var(--muted); flex: none; }
.line .lrm:hover { color: var(--danger); }
.line .lf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.line .lf .select { height: 34px; min-width: 0; width: auto; max-width: 60%; }
.line .la { font-size: 15px; }
.line .link.small { font-size: 12.5px; align-self: flex-start; }
@media (max-width: 720px) {
  .line { flex-wrap: nowrap; padding: 14px; gap: 12px; }
  .line .li { width: 34px; height: 34px; }
}

/* =====================================================================
 * VPS
 * =================================================================== */
.vps-plans { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.vps-specs li b { font-weight: 700; }
.vps-specs .ic { color: var(--primary); }
.vcfg { display: grid; gap: 18px; }
.vcfg-t { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.vcfg-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.vcfg-opts button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-align: left; border-radius: var(--radius, 0); transition: border-color .15s, background .15s, box-shadow .15s; }
.vcfg-opts button small { color: var(--muted); font-size: 12px; }
.vcfg-opts button:hover { border-color: var(--primary-line); }
.vcfg-opts button.on { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.vcfg-opts.os button { flex-direction: row; align-items: center; gap: 8px; }
.os-ic { width: 24px; height: 24px; flex: none; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; background: #64748b; border-radius: 50%; }
.os-ubuntu { background: #e95420; } .os-debian { background: #a80030; } .os-almalinux { background: #0f4266; } .os-rockylinux { background: #10b981; } .os-centos { background: #932279; } .os-fedora { background: #294172; }
.vcfg-sum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius, 0); }
.vcfg-sum small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.vcfg-price { text-align: right; white-space: nowrap; }
.vcfg-price b { font-size: 18px; display: block; }
.vcfg-price small { color: var(--muted); font-size: 12px; }
.vps-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.vps-acts .btn { gap: 6px; }
.vps-copy { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; word-break: break-all; }
.vps-wait { align-items: center; }
.vps-wait .spin { width: 16px; height: 16px; border: 2px solid var(--primary-line); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; }
@media (max-width: 720px) {
  .vcfg-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vps-acts .btn { flex: 1 1 auto; justify-content: center; }
}
.vps-pan { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vps-pan > .ic { color: var(--primary); flex: none; }
.vps-pan.ok > .ic { color: var(--success); }
.vps-pan.bad > .ic { color: var(--danger); }
.vps-pan small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; line-height: 1.45; }
.vps-pan .spin { width: 18px; height: 18px; border: 2px solid var(--primary-line); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
.vps-pan .grow { min-width: 200px; }
.vps-pan + .kv { margin-top: 12px; }
.vcfg-pnote { display: block; margin-top: 8px; font-size: 12.5px; }

/* ---- Início do painel (v1.37) ---- */
.qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.qa-1 { grid-template-columns: 1fr; } .qa-2 { grid-template-columns: repeat(2, 1fr); }
.qa-it { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: border-color .15s, background .15s; }
.qa-it:hover { border-color: var(--primary); background: var(--primary-soft); }
.qa-it .qa-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.qa-it b { display: block; font-size: 14px; font-weight: 700; }
.qa-it small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; line-height: 1.35; }
.qa-it .chev { color: var(--muted); flex: none; }
.stats-c .stat { padding: 16px 18px; }
.stats-c .stat .sl { font-size: 12.5px; }
.stats-c .stat .sv { font-size: 24px; margin-top: 8px; }
.stats-c .stat .ss { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.stats-c .stat.warn .sv { color: var(--warning); }
.stats-c.stats-3 { grid-template-columns: repeat(3, 1fr); } .stats-c.stats-2 { grid-template-columns: repeat(2, 1fr); } .stats-c.stats-1 { grid-template-columns: 1fr; }
.home-cols { margin-top: 18px; }
.mini-empty { display: flex; align-items: center; gap: 10px; padding: 18px 24px; color: var(--muted); font-size: 13.5px; }
.list-row .ls.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-row .grow { min-width: 0; }
@media (max-width: 760px) {
  .qa, .qa-2 { grid-template-columns: 1fr; gap: 8px; }
  .qa-it { padding: 12px 14px; }
  .stats-c, .stats-c.stats-3, .stats-c.stats-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-c .stat { padding: 14px; }
  .stats-c .stat + .stat { border-left: 0; }
  .stats-c .stat:nth-child(2n) { border-left: 1px solid var(--border); }
  .stats-c .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stats-c.stats-3 .stat:last-child { grid-column: 1 / -1; }
  .stats-c .stat .sv { font-size: 22px; }
  .mini-empty { padding: 16px; }
}
.qa-it { border-radius: var(--radius-lg); }
.qa-it .qa-ic { border-radius: var(--radius-sm); }
@media (max-width: 760px) { .stats-c .stat:nth-child(-n+2) { border-top: 0; } }
.home-cols > .card { min-width: 0; }
.home-cols.cols-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .home-cols.cols-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---- Telas bem pequenas (v1.39): nada passa da largura em 320px ---- */
.set > * { min-width: 0; }
.set-info h3, .set-info p { overflow-wrap: anywhere; }
.mtop-actions { min-width: 0; }
@media (max-width: 380px) {
  .mtop { gap: 8px; padding: 0 10px; }
  .mtop-actions > * { padding: 0 2px; }
  .mtop .lang-code { display: none; }
  .umenu-btn { padding: 0 2px; }
  .umenu-chev { display: none; }
  .fm-actions { flex-wrap: wrap; gap: 6px; }
  .tabbar a { font-size: 10px; }
}
.lang-opts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lang-opt { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 380px) { .lang-opt { padding: 12px 10px; gap: 8px; } }

/* atalhos do início: quebram sozinhos conforme o espaço (sidebar + tablet) */
.qa, .qa-2, .qa-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.qa-1 { grid-template-columns: 1fr; }
/* aviso com botão ao lado: no celular o botão desce */
@media (max-width: 640px) {
  .notice { flex-wrap: wrap; }
  .notice > .btn { margin-left: 0; }
}
@media (max-width: 640px) {
  .notice > .grow { flex: 1 1 200px; min-width: 0; }
  .notice > .btn { margin-left: 32px; }
}
@media (max-width: 1180px) {
  .qa-it { gap: 10px; padding: 12px 14px; }
  .qa-it .chev { display: none; }
}
@media (max-width: 640px) {
  .qa-it .chev { display: block; }
  .detail-head h2 { font-size: 18px; }
}

/* ---- v1.40: botão de copiar dentro do campo, planos em cards separados, status de fatura alinhado ---- */
.code-box { align-items: center; gap: 8px; padding: 6px 6px 6px 0; border-radius: var(--radius-lg); }
.code-box .code { padding: 8px 14px; }
.code-box .btn { flex: none; height: 34px; min-height: 0; padding: 0 12px; gap: 6px; font-size: 13px; border-left: 0; border-radius: var(--radius-sm); align-self: center; }
.code-box .btn-outline { background: var(--surface); }
.code-box .btn .ic { width: 15px; height: 15px; }

.plans { gap: 20px; border: 0; background: transparent; border-radius: 0; overflow: visible; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgb(0 0 0 / .04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.plan + .plan { border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.plan:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); box-shadow: 0 14px 34px -20px rgb(0 0 0 / .25); }
.plan.featured { border: 2px solid var(--primary); background: var(--surface); box-shadow: none; }
.plan.featured:hover { border-color: var(--primary); box-shadow: 0 14px 34px -20px rgb(0 0 0 / .25); }
.plan.featured + .plan { border-left: 1px solid var(--border); }
.plan-badge { top: 16px; right: 16px; }
@media (max-width: 900px) {
  .plans { gap: 16px; }
  .plan + .plan { border-top: 1px solid var(--border); }
  .plan.featured + .plan { border-top: 1px solid var(--border); }
}
@media (max-width: 640px) { .plan { padding: 24px 20px; } }

.inv-st { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.inv-st .badge { min-width: 96px; justify-content: center; text-align: center; }
.inv-ic { width: 30px; height: 30px; flex: none; display: inline-grid; place-items: center; color: var(--muted); border-radius: var(--radius-sm); }
a.inv-ic:hover { background: var(--hover); color: var(--text); }
.inv-ic.wait { color: var(--warning); background: color-mix(in srgb, var(--warning) 10%, transparent); }

/* painéis na configuração da VPS: logo + nome */
.vcfg-opts button.pn-opt { flex-direction: row; align-items: center; gap: 10px; }
.pn-logo { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--bg); color: var(--muted); overflow: hidden; }
.pn-logo img { width: 24px; height: 24px; object-fit: contain; }
.pn-opt .pn-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pn-opt .pn-tx b { font-size: 14px; }
.pn-opt.on .pn-logo { background: var(--surface); }
.vps-pan .pn-logo { width: 38px; height: 38px; }
.vps-pan .pn-logo img { width: 28px; height: 28px; }
@media (max-width: 640px) {
  .inv-st { gap: 4px; }
  .inv-st .badge { min-width: 0; padding: 0 7px; font-size: 10px; }
  .inv-ic { width: 26px; height: 26px; }
}
@media (max-width: 420px) {
  .tbl th, .tbl td { padding-left: 10px; padding-right: 10px; }
}
.inv-d { display: none; }
@media (max-width: 480px) {
  .tbl .hide-xs { display: none; }
  .inv-d { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
}
@media (max-width: 360px) {
  .tbl th, .tbl td { padding-left: 7px; padding-right: 7px; }
  .inv-ic { width: 24px; height: 24px; }
  .inv-st .badge { padding: 0 5px; letter-spacing: 0; }
}
@media (max-width: 640px) { .inv-st .badge { min-width: 82px; justify-content: center; } }
@media (max-width: 360px) { .inv-st .badge { min-width: 74px; } }

/* ---- v1.41 gerenciador de arquivos: ícones cheios coloridos (cores vêm do banco: fm_icons) ---- */
.fm-row .fm-ic { width: 26px; height: 26px; }
.fm-row.fm-dot .fm-ic, .fm-row.fm-dot .fm-name { opacity: var(--fm-hid, .45); }
.fm-row .fm-name { font-weight: 500; }

/* ---- v1.41 painel do site estilo hPanel ---- */
.crumbs-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs-nav a { color: var(--text-2); display: inline-flex; align-items: center; }
.crumbs-nav a:hover { color: var(--primary); }
.crumbs-nav .sep { opacity: .6; }
.crumbs-nav > span { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.cp-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cp-title h1 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.cp-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.cp-main, .cp-side { display: grid; gap: 20px; min-width: 0; }
.cp-side > .card { margin-top: 0 !important; }

.sc-card .sc-top { display: flex; align-items: center; gap: 16px; padding: 20px 24px; }
.sc-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--bg); border-radius: var(--radius-lg); color: var(--text); }
.sc-ic .ic { width: 26px; height: 26px; }
.sc-dom { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; min-width: 0; }
.sc-dom span { overflow-wrap: anywhere; }
.sc-dom a { color: var(--text-2); display: inline-flex; }
.sc-dom a:hover { color: var(--primary); }
.sc-sub { color: var(--muted); font-size: 14px; margin-top: 3px; }
.sc-body { border-top: 1px solid var(--border); padding: 16px 24px 20px; display: grid; gap: 14px; }
.sc-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-btn { flex: 1 1 180px; justify-content: center; border-radius: 999px; }
.sc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.sc-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 8px; border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--text); background: var(--surface); }
.sc-chip.ok .ic { color: #fff; background: var(--success); border-radius: 50%; padding: 2px; width: 18px; height: 18px; stroke-width: 2.6; }
.sc-chip.ok .ic circle { display: none; }
.sc-chip.off .ic { color: var(--warning); }
a.sc-chip:hover { border-color: var(--primary-line, var(--primary)); }

.ess-card .card-head h3, .use-card .card-head h3 { font-size: 17px; font-weight: 600; }
.ess-row { display: flex; align-items: center; gap: 16px; padding: 16px 24px; }
.ess-row + .ess-row { border-top: 1px solid var(--border); }
.ess-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; color: var(--text-2); }
.ess-ic .ic { width: 24px; height: 24px; }
.ess-row .lt { font-weight: 600; font-size: 15px; }
.ess-row .ls { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.ess-row .grow { min-width: 0; }
.ess-btn { flex: none; border-radius: 999px; padding: 0 18px; gap: 6px; }

.use-wrap { display: flex; align-items: center; gap: 22px; }
.use-ring { width: 128px; height: 128px; flex: none; }
.use-list { display: grid; gap: 12px; min-width: 0; flex: 1; }
.use-it { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.use-k { color: var(--muted); font-size: 13px; }
.use-v { color: var(--muted); }
.use-it b { font-size: 15px; }
.use-it.u0 b { color: var(--primary); } .use-it.u1 b { color: var(--success); } .use-it.u2 b { color: var(--text); } .use-it.u3 b { color: var(--warning); }

@media (max-width: 1100px) { .cp-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .cp-title h1 { font-size: 21px; }
  .sc-card .sc-top { padding: 18px 16px; gap: 14px; }
  .sc-body { padding: 14px 16px 18px; }
  .sc-btn { flex-basis: 100%; }
  .ess-row { flex-wrap: wrap; padding: 16px; gap: 12px 14px; }
  .ess-row .grow { flex: 1 1 calc(100% - 60px); }
  .ess-btn { flex: 1 1 100%; justify-content: center; height: 40px; }
  .use-wrap { gap: 16px; }
  .use-ring { width: 108px; height: 108px; }
}

/* ---- v1.41 bancos de dados estilo hPanel ---- */
.sec-h { font-size: 20px; font-weight: 600; margin: 28px 0 14px; letter-spacing: -.01em; }
.db-new-h { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.db-new-h h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.db-new-h .ic { flex: none; width: 22px; height: 22px; }
.db-new-b { padding: 20px 24px 24px; display: grid; gap: 18px; max-width: 720px; }
.db-new-b .field { margin: 0; }
.db-new-b .label { font-weight: 600; color: var(--text); margin-bottom: 8px; }
.pfx-stack { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.pfx-stack:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.pfx-stack .pfx { padding: 12px 16px; background: var(--bg); color: var(--muted); border-bottom: 1px solid var(--border); font-size: 15px; overflow-wrap: anywhere; }
.pfx-stack .input { border: 0 !important; box-shadow: none !important; border-radius: 0; height: 50px; font-size: 15px; }
.field.has-error .pfx-stack { border-color: var(--danger); }
.pass2 .input { padding-right: 88px; height: 50px; border-radius: var(--radius-lg); }
.pass2 .eye { height: 50px; width: 40px; }
.pass2 [data-gen2] { right: 42px; color: var(--primary); }
.pass2 [data-eye] { right: 4px; color: var(--text-2); }
.db-go { height: 48px; border-radius: var(--radius-lg); gap: 8px; }
.db-list { display: grid; gap: 14px; }
.db-card { padding: 4px 0 0; }
.db-kv { display: grid; gap: 0; padding: 12px 24px 4px; }
.db-kv > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding: 10px 0; align-items: start; }
.db-kv .k { color: var(--text-2); font-size: 14.5px; }
.db-kv .v { font-size: 14.5px; overflow-wrap: anywhere; display: grid; gap: 2px; }
.db-kv .v small { color: var(--muted); font-size: 13px; }
.db-foot { display: flex; gap: 12px; align-items: center; padding: 12px 24px 20px; }
.db-pma { flex: 1; justify-content: center; color: var(--primary); font-weight: 600; border-radius: var(--radius-lg); height: 42px; }
.db-more { width: 46px; height: 46px; border-radius: var(--radius-lg); flex: none; }
@media (max-width: 640px) {
  .db-new-h { padding: 18px 16px; }
  .db-new-b { padding: 16px 16px 20px; }
  .db-kv { padding: 10px 16px 2px; }
  .db-foot { padding: 10px 16px 16px; }
  .sec-h { font-size: 18px; }
}

/* ---- v1.41 lista de sites estilo "Seu negócio" ---- */
.biz-list { display: grid; gap: 16px; }
.biz-top { display: flex; align-items: center; gap: 16px; padding: 20px 24px; }
.biz-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--text); color: var(--surface); border-radius: var(--radius-lg); }
.biz-ic .ic { width: 26px; height: 26px; }
.biz-top .grow { min-width: 0; }
.biz-dom { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; }
.biz-dom > a:first-child { color: var(--text); overflow-wrap: anywhere; }
.biz-dom > a:first-child:hover { color: var(--primary); }
.biz-ext { color: var(--text-2); display: inline-flex; flex: none; }
.biz-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.biz-go { flex: none; border-radius: 999px; padding: 0 20px; height: 42px; }
.biz-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 24px 18px; border-top: 1px solid var(--border); }
.biz-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-weight: 600; font-size: 14px; }
.biz-chip:hover { background: color-mix(in srgb, var(--primary) 16%, var(--surface)); }
@media (max-width: 640px) {
  .biz-top { flex-wrap: wrap; padding: 18px 16px; gap: 12px 14px; }
  .biz-top .grow { flex: 1 1 calc(100% - 70px); }
  .biz-go { flex: 1 1 100%; justify-content: center; }
  .biz-chips { padding: 12px 16px 16px; gap: 8px; }
  .biz-chip { font-size: 13.5px; }
}


/* ---- v1.42 navegação do painel: menu lateral que abre pelo botão (celular/tablet), sem barra de abas ---- */
.tabbar { display: none !important; }
.m-burger, .side-x, .side-back { display: none; }
.umenu-lang [data-ulang] { width: 100%; }
.umenu-lang [data-ulang] .muted { font-size: 13px; }
.umenu-lang .ulang-chev { transition: transform .15s; opacity: .6; }
.umenu-lang [data-ulang].open .ulang-chev { transform: rotate(180deg); }
.ulang-opts { padding: 2px 0 6px 34px; display: grid; }
.ulang-opts button { justify-content: space-between; }
.ulang-opts button.on { color: var(--primary); font-weight: 600; }
html.no-scroll, html.no-scroll body { overflow: hidden; }
@media (max-width: 900px) {
  .m-burger { display: inline-flex; margin-left: -4px; }
  .side {
    display: flex; position: fixed; top: 0; left: 0; bottom: 0; z-index: 70; width: min(84vw, 320px); height: 100%;
    transform: translateX(-102%); transition: transform .22s ease; box-shadow: none; overscroll-behavior: contain;
  }
  .side-back { display: block; position: fixed; inset: 0; z-index: 69; background: rgb(0 0 0 / .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .side-x {
    display: grid; place-items: center; position: fixed; z-index: 71; top: 14px; left: calc(min(84vw, 320px) + 12px);
    width: 42px; height: 42px; border-radius: 50%; background: var(--surface); color: var(--text); border: 0;
    opacity: 0; pointer-events: none; transform: scale(.8); transition: opacity .2s, transform .2s;
  }
  .panel.side-open .side { transform: none; box-shadow: 0 0 40px rgb(0 0 0 / .25); }
  .panel.side-open .side-back { opacity: 1; pointer-events: auto; }
  .panel.side-open .side-x { opacity: 1; pointer-events: auto; transform: none; }
  .side-brand { height: 64px; }
  .side-nav a { height: 48px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .side, .side-back, .side-x { transition: none; } }

/* ---- v1.44 topo do painel igual hPanel: botões redondos, perfil com bonequinho e menu flutuante ---- */
.mtop .mtop-actions { gap: 10px; align-self: center; }
.mtop .mtop-actions > * { padding: 0; border-left: 0 !important; }
.mtop .mtop-actions > .btn-icon, .mtop .mtop-actions > .ai-btn, .mtop .cart-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); }
.mtop .mtop-actions > .btn-icon:hover, .mtop .cart-btn:hover { border-color: var(--primary-line); background: var(--hover); }
.mtop .umenu-btn { height: 40px; padding: 0; }
.umenu-ico { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; transition: border-color .15s, color .15s; }
.umenu-ico .ic { width: 20px; height: 20px; }
.umenu-btn:hover .umenu-ico, .umenu.open .umenu-ico { border-color: var(--primary); color: var(--primary); }
.umenu-float .umenu-pop {
  position: absolute; top: calc(100% + 10px); right: 0; left: auto; bottom: auto;
  width: min(300px, calc(100vw - 24px)); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px -12px rgb(0 0 0 / .28); overflow: hidden; z-index: 60;
}
.umenu-float .umenu-head { padding: 16px 18px 14px; }
.umenu-float .umenu-head .nm { font-size: 16px; font-weight: 600; }
.umenu-float .umenu-head .em { font-size: 13px; }
.umenu-float .umenu-list a, .umenu-float .umenu-list button { padding: 12px 18px; font-size: 15px; }
.umenu-float .umenu-list a .ic, .umenu-float .umenu-list button .ic { color: var(--text-2); }
.umenu-float .umenu-lang { border-top: 1px solid var(--border); }

/* menu lateral mais compacto (não ocupa a tela toda) */
@media (max-width: 900px) {
  .side { width: min(66vw, 272px); }
  .side-x { left: calc(min(66vw, 272px) + 12px); }
  .side-brand { height: 60px; padding: 0 18px; }
  .side-nav { padding: 8px 0; }
  .side-label { padding: 12px 18px 4px; }
  .side-nav a { height: 44px; padding: 0 18px; font-size: 15px; gap: 14px; }
  .side-foot { padding: 12px; }
  .side-user { padding: 2px 4px 10px; }
}

/* =====================================================================
   Sino de notificações (views/notifications.js)
   ===================================================================== */
.bell-btn { position: relative; }
.bell-btn .ic { transform-origin: 50% 2px; }
.bell-btn.on .ic { color: var(--primary); }
.bell-btn.ring .ic { animation: bellRing .9s cubic-bezier(.36, .07, .19, .97); }
@keyframes bellRing { 0% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(9deg); } 60% { transform: rotate(-6deg); } 75% { transform: rotate(3deg); } 100% { transform: rotate(0); } }
.bell-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px var(--surface); pointer-events: none; }
.top .bell-count { box-shadow: 0 0 0 2px var(--header); }
.bell-count.pop { animation: bellPop .35s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes bellPop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
.mtop .bell-count { top: -3px; right: -3px; }

.np-back { display: none; }
.np {
  position: fixed; z-index: 95; width: 400px; max-width: calc(100vw - 16px); max-height: min(640px, calc(100vh - 90px));
  display: flex; flex-direction: column; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(12, 14, 20, .08), 0 24px 56px rgba(12, 14, 20, .18); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .18s ease, transform .2s cubic-bezier(.2, .8, .2, 1), visibility 0s .2s;
}
.np.on { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .2s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.np-grab { display: none; }
.np-head { display: flex; align-items: center; gap: 6px; padding: 14px 10px 10px 18px; }
.np-head > b { font-size: 16px; font-weight: 700; }
.np-n { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--primary); color: var(--on-primary); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.np-h { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 50%; cursor: pointer; transition: background .15s, color .15s; }
.np-h:hover { background: var(--hover); color: var(--text); }
.np-tabs { display: flex; gap: 4px; padding: 0 14px; border-bottom: 1px solid var(--border); }
.np-tabs button { position: relative; height: 38px; padding: 0 10px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 13.5px; cursor: pointer; }
.np-tabs button::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.np-tabs button.on { color: var(--text); }
.np-tabs button.on::after { transform: none; }
.np-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.np-it { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); transition: height .26s cubic-bezier(.2, .8, .2, 1), margin .26s; }
.np-it:last-of-type { border-bottom: 0; }
.np-bg { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; padding: 0 22px; background: var(--danger); color: #fff; font-weight: 600; font-size: 13px; opacity: 0; transition: background .15s; }
.np-bg-r { justify-content: flex-end; }
.np-it.drag .np-bg-l { opacity: 1; }
.np-it.drag.to-l .np-bg-l { opacity: 0; }
.np-it.drag.to-l .np-bg-r { opacity: 1; }
.np-it.arm .np-bg { background: color-mix(in srgb, var(--danger) 82%, #000); }
.np-it.arm .np-bg .ic { animation: bellPop .3s; }
.np-card { position: relative; display: flex; gap: 12px; padding: 14px 16px; background: var(--surface); cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; transition: background .15s; }
.np-card:hover { background: var(--hover); }
.np-card:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.np-it.unread .np-card { background: var(--primary-soft); }
.np-it.unread .np-card:hover { background: color-mix(in srgb, var(--primary) 13%, var(--surface)); }
.np-ic { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, currentColor 13%, transparent); }
.np-info .np-ic { color: #2563eb; } .np-success .np-ic { color: var(--success); } .np-warning .np-ic { color: var(--warning); }
.np-danger .np-ic { color: var(--danger); } .np-promo .np-ic { color: #9333ea; }
.np-tx { flex: 1; min-width: 0; }
.np-tx b { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.np-it.unread .np-tx b { font-weight: 700; }
.np-tx p { margin: 2px 0 4px; font-size: 13px; color: var(--text-2); line-height: 1.4; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-tx small { font-size: 12px; color: var(--muted); }
.np-acts { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: -6px -8px -6px 0; }
.np-a { width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); border-radius: 50%; cursor: pointer; transition: background .15s, color .15s, opacity .15s; }
.np-a:hover { background: color-mix(in srgb, var(--text) 8%, transparent); color: var(--text); }
.np-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); transition: transform .15s; }
.np-a:hover .np-dot { transform: scale(1.3); }
@media (hover: hover) {
  .np-a[data-np-del] { opacity: 0; }
  .np-card:hover .np-a[data-np-del], .np-card:focus-within .np-a[data-np-del] { opacity: 1; }
}
.np-it.swept .np-card { transform: translateX(110%); opacity: 0; transition: transform .26s cubic-bezier(.4, 0, .2, 1), opacity .26s; }
.np-it.back-in .np-card { animation: npIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes npIn { from { transform: translateX(-24px); opacity: 0; } }
.np-more { display: block; width: 100%; height: 44px; border: 0; border-top: 1px solid var(--border); background: none; color: var(--primary); font-weight: 600; cursor: pointer; }
.np-more:hover { background: var(--hover); }
.np-sk { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.np-sk .grow { display: grid; gap: 8px; }
.np-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 42px 24px; text-align: center; }
.np-empty b { font-size: 15px; }
.np-empty p { color: var(--muted); font-size: 13px; max-width: 260px; }
.np-empty .btn { margin-top: 8px; }
.np-empty-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 6px; animation: npFloat 3s ease-in-out infinite; }
@keyframes npFloat { 50% { transform: translateY(-4px); } }
.np-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.np-foot > * { display: inline-flex; align-items: center; gap: 6px; }
.np-foot a { color: var(--text-2); font-weight: 600; }
.np-foot a:hover { color: var(--primary); }
.np-undo { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--radius); background: #16181d; color: #fff; font-size: 13.5px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.np-undo span { flex: 1; }
.np-undo button { border: 0; background: none; color: #a5b4fc; font-weight: 700; cursor: pointer; padding: 4px 6px; }
.np-undo.in { animation: npUp .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes npUp { from { transform: translateY(16px); opacity: 0; } }
.np-push { display: flex; gap: 12px; margin: 12px 12px 4px; padding: 14px; border: 1px solid var(--primary-line); border-radius: var(--radius); background: linear-gradient(135deg, var(--primary-soft), var(--surface)); animation: npIn .3s cubic-bezier(.2, .8, .2, 1); transition: opacity .2s, transform .2s; }
.np-push.out { opacity: 0; transform: scale(.97); }
.np-push b { display: block; font-size: 14px; }
.np-push p { margin: 3px 0 10px; font-size: 13px; color: var(--text-2); line-height: 1.4; }
.np-push-ic { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); }
.np-push-ic .ic { animation: bellRing 1.2s 1s cubic-bezier(.36, .07, .19, .97) 2; transform-origin: 50% 2px; }
.np-push-b { display: flex; gap: 6px; flex-wrap: wrap; }
.np-push.warn, .np-push.ok { align-items: center; padding: 11px 14px; font-size: 13px; background: var(--bg); border-color: var(--border); color: var(--text-2); }
.np-push.ok { color: var(--success); border-color: color-mix(in srgb, var(--success) 30%, var(--surface)); }

/* celular: gaveta de baixo para cima */
@media (max-width: 640px) {
  .np-back { display: block; position: fixed; inset: 0; z-index: 94; background: rgba(8, 9, 12, .5); opacity: 0; pointer-events: none; transition: opacity .22s; }
  .np-back.on { opacity: 1; pointer-events: auto; }
  .np.sheet { left: 0 !important; right: 0 !important; top: auto !important; bottom: 0; width: auto; max-width: none; max-height: 86vh; max-height: 86svh; border-radius: 18px 18px 0 0; border-bottom: 0;
    transform: translateY(100%); opacity: 1; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s; padding-bottom: env(safe-area-inset-bottom); }
  .np.sheet.on { transform: none; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .np.sheet .np-grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--border); margin: 8px auto 0; flex: none; }
  .np.sheet .np-head { padding-top: 8px; }
  .np-card { padding: 14px; }
  .np-undo { bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .bell-btn.ring .ic, .bell-count.pop, .np-empty-ic, .np-push-ic .ic, .np-push, .np-undo.in { animation: none; }
  .np, .np.on, .np.sheet, .np.sheet.on { transition: none; }
}
/* Conta > Notificações */
[data-push-acc] .list-row .lt { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  [data-push-acc] .list-row { flex-wrap: wrap; }
  [data-push-acc] [data-push-acts] { width: 100%; justify-content: flex-start !important; padding-left: 52px; }
}

/* ---------------------------------------------------------------------
 * Rodapé da landing (Produtos / Ajuda / Legal)  - v1.0.12
 * ------------------------------------------------------------------- */
.foot { padding: 48px 0 0; }
.foot .wrap.foot-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr)); gap: 32px; align-items: start; }
.foot-brand p { margin-top: 12px; max-width: 300px; line-height: 1.5; font-size: 13.5px; }
.foot-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 8px; width: fit-content; word-break: break-all; }
.foot-col h4 { color: var(--on-header); font-size: 13px; font-weight: 700; letter-spacing: .02em; margin-bottom: 14px; }
.foot-col a { display: block; padding: 5px 0; font-size: 13.5px; transition: color .15s; }
.foot .wrap.foot-bottom { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--header-line); font-size: 12.5px; }
@media (max-width: 900px) {
  .foot .wrap.foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 380px) { .foot .wrap.foot-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
 * Páginas públicas (Termos, Privacidade, Suporte...)
 * ------------------------------------------------------------------- */
.legal-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-grid.no-toc { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.legal-toc { position: sticky; top: 84px; }
.legal-toc-in { display: flex; flex-direction: column; gap: 2px; }
.legal-toc b { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 8px 12px; }
.legal-toc button { text-align: left; border: 0; background: none; padding: 7px 12px; border-left: 2px solid var(--border); color: var(--text-2); font: inherit; font-size: 13.5px; line-height: 1.35; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.legal-toc button:hover { color: var(--text); background: var(--primary-soft); }
.legal-toc button.on { color: var(--primary); border-left-color: var(--primary); font-weight: 600; }
.legal-toc .legal-print { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; border-left: 0; color: var(--muted); }
.legal { padding: clamp(22px, 4vw, 44px); font-size: 15.5px; line-height: 1.7; color: var(--text-2); overflow-wrap: anywhere; }
.legal > :first-child { margin-top: 0; }
.legal h2 { color: var(--text); font-size: clamp(18px, 2.2vw, 21px); font-weight: 750; letter-spacing: -.015em; line-height: 1.3; margin: 34px 0 10px; scroll-margin-top: 90px; }
.legal h3 { color: var(--text); font-size: 16px; font-weight: 700; margin: 22px 0 6px; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 6px 0; padding-left: 2px; }
.legal li::marker { color: var(--primary); }
.legal strong { color: var(--text); font-weight: 650; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.legal blockquote { margin: 18px 0; padding: 12px 16px; border-left: 3px solid var(--primary); background: var(--primary-soft); color: var(--text); font-size: 14.5px; }
.legal hr { border: 0; border-top: 1px solid var(--border); margin: 26px 0; }
.legal-more { margin-top: 28px; }
.legal-more h4 { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.legal-more > div { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-more a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 14px; border-radius: var(--radius); transition: border-color .15s, color .15s; }
.legal-more a:hover { border-color: var(--primary); color: var(--primary); }

/* cartões de contato (Suporte / Abuse) */
.pcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 24px; }
.pcs-1 { grid-template-columns: 1fr; }
.pc { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); min-width: 0; transition: border-color .15s, transform .15s, box-shadow .15s; }
a.pc:hover { border-color: var(--primary); box-shadow: 0 6px 20px rgba(12, 14, 20, .06); transform: translateY(-1px); }
.pc b { display: block; font-size: 14.5px; }
.pc p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.pc-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--primary-soft); color: var(--primary); }
.pc-main { align-items: flex-start; padding: 22px; border-color: color-mix(in srgb, var(--danger) 30%, var(--border)); }
.pc-main .pc-ic { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); }
.pc-main b { font-size: 16px; }
.pc-mail { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 14px; }
.pc-mail code { padding: 7px 12px; background: var(--bg); border: 1px solid var(--border); font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .legal-toc { position: static; }
  .legal-toc-in { flex-direction: row; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .legal-toc-in::-webkit-scrollbar { display: none; }
  .legal-toc b { display: none; }
  .legal-toc button { flex: none; border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; background: var(--surface); white-space: nowrap; font-size: 13px; }
  .legal-toc button.on { border-color: var(--primary); }
  .legal-toc .legal-print { display: none; }
  .legal { font-size: 15px; }
}
@media print {
  .top, .mobile-nav, .foot, .legal-toc, .legal-more, .pcs, .hp-toast { display: none !important; }
  .page-head { background: none; color: #000; padding: 0 0 12px; }
  .page-head p { color: #444; }
  .legal { border: 0; padding: 0; color: #000; }
  .legal-grid { display: block; }
}

/* =====================================================================
 * Landing v1.0.13 - "noite no planalto": serras em camadas com araucárias.
 * Todas as cores saem do banco (header, primary, bg, surface).
 * =================================================================== */
.hx { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, var(--header) 38%, color-mix(in srgb, var(--primary) 30%, var(--header)) 100%); color: var(--on-header); padding: clamp(52px, 9vh, 104px) 0 0; }
.hx::before { content: ''; position: absolute; z-index: -1; left: -10%; right: -10%; top: -25%; height: 95%; pointer-events: none; background: radial-gradient(55% 55% at 74% 42%, color-mix(in srgb, var(--primary) 32%, transparent), transparent 72%); }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; fill: var(--on-header); opacity: .5; pointer-events: none; }
.hx-in { position: relative; z-index: 1; padding-bottom: clamp(190px, 25vw, 340px); }
.hx-tag { font-size: 15px; font-weight: 500; color: var(--header-muted); }
.hx h1 { font-size: clamp(40px, 6.8vw, 86px); font-weight: 300; letter-spacing: -.048em; line-height: 1.02; max-width: 14ch; margin-top: 14px; text-wrap: balance; }
.hx-lead { font-size: clamp(16px, 1.55vw, 19px); line-height: 1.55; color: var(--header-muted); max-width: 52ch; margin-top: 22px; }
.hx .dsearch { margin-top: 34px; max-width: 680px; border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: 0 22px 60px rgba(0, 0, 0, .38); transition: box-shadow .2s; }
.hx .dsearch:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 50%, transparent), 0 22px 60px rgba(0, 0, 0, .38); }
.hx-tlds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; min-height: 34px; }
.hx-tld { display: inline-flex; align-items: baseline; gap: 8px; padding: 7px 13px; border: 1px solid var(--header-line); border-radius: 999px; background: color-mix(in srgb, var(--on-header) 5%, transparent); color: var(--header-muted); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.hx-tld b { color: var(--on-header); font-size: 14px; font-weight: 600; }
.hx-tld:hover { border-color: var(--primary); color: var(--on-header); background: color-mix(in srgb, var(--primary) 20%, transparent); }
.hx-tld:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* a cena: camadas mais distantes ficam mais "nebulosas" (mais roxo), as próximas mais escuras */
.scene { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(200px, 30vw, 430px); display: block; pointer-events: none; }
.sc-g { will-change: transform; }
.sc-l1 { fill: color-mix(in srgb, var(--primary) 42%, var(--header)); }
.sc-l2 { fill: color-mix(in srgb, var(--primary) 22%, var(--header)); }
.sc-l3 { fill: color-mix(in srgb, var(--primary) 8%, var(--header)); }
.scene.to-bg .sc-front { fill: var(--bg); }
.scene.to-header .sc-front { fill: var(--header); }
.scene.to-surface .sc-front { fill: var(--surface); }

/* vantagens: sem cartões, separadas por fio */
.hx-feat { background: var(--bg); padding: clamp(16px, 3vw, 36px) 0 clamp(64px, 8vw, 104px); }
.hx-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.hx-f { padding: 6px 28px 6px 0; }
.hx-f + .hx-f { padding-left: 28px; border-left: 1px solid var(--border); }
.hx-fi { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--primary) 38%, var(--border)); background: var(--surface); color: var(--primary); margin-bottom: 18px; }
.hx-f h3 { font-size: 17px; font-weight: 650; letter-spacing: -.012em; }
.hx-f p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-top: 6px; max-width: 34ch; }

/* planos: faixa clara com corte diagonal em cima e embaixo */
.hx-plans { position: relative; background: var(--surface); padding: calc(clamp(56px, 7vw, 96px) + 5vw) 0; clip-path: polygon(0 5vw, 100% 0, 100% calc(100% - 5vw), 0 100%); }
.hx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 38px; }
.hx-head h2, .hx-pay h2, .hx-cta h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 300; letter-spacing: -.045em; line-height: 1.04; max-width: 17ch; text-wrap: balance; }
.hx-head p, .hx-pay p { color: var(--muted); font-size: 16px; line-height: 1.55; margin-top: 12px; max-width: 50ch; }

/* pagamento: moedas em círculo, ícones do banco */
.hx-pay { background: var(--bg); padding: clamp(40px, 6vw, 80px) 0 calc(clamp(56px, 7vw, 96px) + 5vw); }
.hx-pay-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 56px; align-items: center; }
.hx-coins { display: flex; flex-wrap: wrap; gap: 20px; }
.hx-coin { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hx-coin-c { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: var(--header); color: var(--on-header); }
.hx-coin-c .ic { width: 34px; height: 34px; }
.hx-coin-c.img { background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.hx-coin-c img { width: 60%; height: 60%; object-fit: contain; }
.hx-coin em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--text-2); }

/* chamada final: escura, entra em diagonal e termina numa serra que vira o rodapé */
.hx-cta { position: relative; z-index: 1; overflow: hidden; margin-top: -5vw; background: var(--header); color: var(--on-header); text-align: center; padding: calc(clamp(64px, 8vw, 112px) + 5vw) 0 clamp(150px, 19vw, 250px); clip-path: polygon(0 0, 100% 5vw, 100% 100%, 0 100%); }
.hx-cta .wrap { position: relative; z-index: 1; }
.hx-cta h2 { margin: 0 auto; }
.hx-cta p { color: var(--header-muted); font-size: 16px; margin: 14px auto 30px; max-width: 46ch; }
.hx-cta .scene { height: clamp(120px, 16vw, 230px); }
main:has(.hx-cta) + .foot { border-top-color: transparent; }

@media (max-width: 900px) {
  .hx { min-height: 0; }
  .hx-in { padding-bottom: clamp(150px, 42vw, 240px); }
  .hx .dsearch { box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
  .hx-feats { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .hx-f:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hx-pay-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hx .dsearch { flex-wrap: wrap; }
  .hx .dsearch .btn { width: 100%; height: 52px; }
  .hx-feats { grid-template-columns: 1fr; gap: 0; }
  .hx-f, .hx-f + .hx-f { padding: 22px 0; border-left: 0; }
  .hx-f + .hx-f { border-top: 1px solid var(--border); }
  .hx-f { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
  .hx-fi { grid-row: span 2; margin: 0; }
  .hx-coin-c { width: 66px; height: 66px; }
}

/* menu do celular: tela cheia, links grandes, serras no pé */
html.mn-lock, html.mn-lock body { overflow: hidden; }
@media (max-width: 900px) {
  .mobile-nav.open { display: flex; flex-direction: column; background: var(--surface); color: var(--text); padding: 26px 24px 0; overflow-x: hidden; animation: fadeIn .2s; }
  .mobile-nav .mn-links { display: flex; flex-direction: column; }
  .mobile-nav .mn-links a { display: block; height: auto; border: 0; padding: 7px 0; font-size: clamp(32px, 9.5vw, 44px); font-weight: 700; letter-spacing: -.04em; line-height: 1.12; color: var(--primary); }
  .mobile-nav .mn-links a:active { opacity: .55; }
  .mobile-nav .mn-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
  .mobile-nav .mn-foot .btn { margin-top: 0; width: 100%; }
  .mobile-nav .mn-login { display: block; height: auto; border: 0; text-align: center; padding: 10px; font-size: 16px; font-weight: 600; color: var(--text); }
  .mobile-nav .scene { position: relative; flex: none; margin: auto -24px 0; width: calc(100% + 48px); height: 160px; bottom: 0; }
}

/* login / cadastro: a mesma cena */
.auth-side::before { display: none; }
.auth-side, .auth-band { background: linear-gradient(180deg, var(--header) 40%, color-mix(in srgb, var(--primary) 30%, var(--header)) 100%); }
.auth-side > .sky, .auth-side > .scene { position: absolute; }
.auth-side > .sky { opacity: .45; }
.auth-side { padding-bottom: min(40vh, 330px); }
.auth-side .big { margin-top: clamp(40px, 13vh, 140px); font-weight: 300; letter-spacing: -.045em; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.05; }
.auth-side .scene { height: min(38vh, 300px); }
.auth-band { display: none; }
@media (max-width: 900px) {
  .auth-band { display: block; position: relative; isolation: isolate; height: 136px; overflow: hidden; }
  .auth-band .scene { height: 136px; }
  .auth-band .sky { opacity: .45; }
  .auth-bar { border-bottom: 0; }
}

/* movimento: uma abertura orquestrada + entradas ao rolar. Nada disso para quem pediu menos movimento. */
@media (prefers-reduced-motion: no-preference) {
  .hx .sc-r, .auth-side .sc-r, .auth-band .sc-r { animation: scRise 1.4s cubic-bezier(.16, .84, .24, 1) both; }
  .sc-l1 .sc-r { animation-delay: .05s !important; }
  .sc-l2 .sc-r { animation-delay: .2s !important; }
  .sc-l3 .sc-r { animation-delay: .36s !important; }
  .hx .sky, .auth-side .sky { animation: skyIn 2s ease both; }
  .sky .tw { animation: twinkle 3.8s ease-in-out infinite; }
  .hx-in > * { animation: hxIn .85s cubic-bezier(.2, .7, .2, 1) both; }
  .hx-in > :nth-child(1) { animation-delay: .3s; }
  .hx-in > :nth-child(2) { animation-delay: .42s; }
  .hx-in > :nth-child(3) { animation-delay: .56s; }
  .hx-in > :nth-child(4) { animation-delay: .7s; }
  .hx-in > :nth-child(5) { animation-delay: .82s; }
  .hx-tld { animation: hxIn .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(.1s + var(--d, 0) * 60ms); }
  [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 110ms); }
  [data-rv].in { opacity: 1; transform: none; }
  .hx-coin { animation: coinIn .6s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(.2s + var(--d, 0) * 90ms); }
  .auth-box > * { animation: hxIn .55s cubic-bezier(.2, .7, .2, 1) both; }
  .auth-box > :nth-child(2) { animation-delay: .06s; }
  .auth-box > :nth-child(3) { animation-delay: .12s; }
  .auth-box > :nth-child(n+4) { animation-delay: .18s; }
  @media (max-width: 900px) {
    .mobile-nav.open .mn-links a, .mobile-nav.open .mn-foot { animation: mnIn .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(50ms + var(--i, 0) * 55ms); }
    .mobile-nav.open .sc-r { animation: scRise 1.1s cubic-bezier(.16, .84, .24, 1) both; }
  }
}
@keyframes scRise { from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes skyIn { from { opacity: 0; } }
@keyframes hxIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mnIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes coinIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* troca mensal/anual: fundo que desliza entre as opções + preço que rola */
.seg[data-cycle] { position: relative; isolation: isolate; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: calc(var(--radius) + 3px); }
.seg[data-cycle] button { position: relative; z-index: 1; background: transparent !important; border-radius: var(--radius); transition: color .25s; }
.seg[data-cycle] button.on { color: var(--surface); }
.seg[data-cycle]::before { content: ''; position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: var(--radius); background: var(--text); transition: transform .35s cubic-bezier(.3, .9, .3, 1); }
.seg[data-cycle]:has(button:last-child.on)::before { transform: translateX(100%); }
.price .val { font-variant-numeric: tabular-nums; }
.price .val.ticking { color: var(--primary); transition: color .2s; }
@media (prefers-reduced-motion: no-preference) {
  .price-note.swap { animation: noteIn .45s ease both; }
}
@keyframes noteIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.plan .btn-primary, .plan .btn-primary:hover { box-shadow: none; }

/* ---------- v1.0.19 conversa do chamado em formato de chat (igual ao chat da IA) ---------- */
.tkc { display: flex; flex-direction: column; overflow: hidden; }
.tkc-list { display: flex; flex-direction: column; gap: 14px; padding: 20px 18px 12px; height: min(62vh, 660px); min-height: 340px; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); }
.tkm { display: flex; align-items: flex-end; gap: 8px; max-width: 86%; animation: ai-in .28s cubic-bezier(.2, .8, .2, 1) both; }
.tkm.me { align-self: flex-end; justify-content: flex-end; }
.tkm-av { width: 28px; height: 28px; flex: none; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: var(--hover); color: var(--text); border-radius: var(--radius-sm, 0); margin-bottom: 20px; }
.tkm-av.staff { color: var(--primary); background: var(--primary-soft); }
.tkm-w { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tkm.me .tkm-w { align-items: flex-end; }
.tkm-n { display: flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 0 2px; }
.tkm-n b { font-weight: 600; }
.tkm-b { background: var(--surface); border: 1px solid var(--border); padding: 10px 13px; border-radius: var(--radius-lg, 0); border-top-left-radius: 3px; font-size: 14.5px; line-height: 1.55; word-break: break-word; max-width: 100%; }
.tkm.me .tkm-b { background: var(--primary); border-color: var(--primary); color: var(--on-primary); border-radius: var(--radius-lg, 0); border-bottom-right-radius: 3px; }
.tkm-tx { white-space: pre-wrap; }
.tkm-t { font-size: 11.5px; color: var(--muted); padding: 0 2px; }
.tkm-files { display: flex; flex-wrap: wrap; gap: 6px; }
.tkm-tx + .tkm-files { margin-top: 8px; }
.tkm-file { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 10px; font-size: 13px; background: var(--hover); color: inherit; border-radius: var(--radius-sm, 0); }
.tkm.me .tkm-file { background: rgba(255, 255, 255, .16); }
.tkm-file .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; }
.tkm-file small { opacity: .75; }
.tkm-file:hover .nm { text-decoration: underline; }
.tkm-img img { display: block; width: 180px; max-width: 100%; height: 130px; object-fit: cover; border-radius: var(--radius-sm, 0); background: var(--hover); }
.tkm-day { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.tkm-day::before, .tkm-day::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.tkm-day span { padding: 3px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 99px; }
.tkc-note { display: flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); background: var(--surface); }
.tkc-note .ic { color: var(--primary); flex: none; }
.tkc-note.warn .ic { color: var(--warning, #b7791f); }
.tkc-in { border-top: 1px solid var(--border); background: var(--surface); padding: 10px 12px 8px; }
.tkc-row { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; margin: 0; }
.tkc-row textarea { flex: 1; min-width: 0; resize: none; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; line-height: 1.45; padding: 9px 12px; min-height: 42px; max-height: 160px; border-radius: var(--radius, 0); outline: none; transition: border-color .15s; }
.tkc-row textarea:focus { border-color: var(--primary); }
.tkc-row.has-error textarea { border-color: var(--danger); }
.tkc-row > .btn { height: 42px; width: 42px; flex: none; }
.tkc-row .field-error { flex-basis: 100%; order: 9; margin: 0; }
.tkc-in .tk-files:not(:empty) { margin-bottom: 8px; }
.tkc-in [data-ferr]:empty { display: none; }
.tkc-foot { font-size: 11.5px; color: var(--muted); text-align: center; padding-top: 7px; }
@media (max-width: 1080px) { .tk-side { order: 0; } }
@media (max-width: 640px) {
  .tkc-list { height: 64vh; padding: 14px 10px 10px; }
  .tkm { max-width: 94%; }
  .tkc-kb { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tkm { animation: none; } }

/* v1.0.20 chat do chamado com altura de tela (igual ao chat da IA); com o teclado aberto o chat encolhe em vez de empurrar a página */
.tkc { height: calc(100dvh - var(--h-top) - 28px); min-height: 380px; max-height: 920px; scroll-margin-top: calc(var(--h-top) + 8px); }
.tkc-list { flex: 1 1 auto; height: auto; min-height: 0; }
@media (max-width: 640px) { .tkc { height: calc(100dvh - var(--h-top) - 16px); min-height: 300px; } .tkc-list { height: auto; } }

/* v1.0.21 celular: conversa do chamado abre em tela cheia (igual ao chat da IA), com botão minimizar */
.tkc-h { display: none; }
@media (max-width: 640px) {
  .tkc-h { display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 12px; border-bottom: 1px solid var(--border); background: var(--surface); flex: none; }
  .tkc-hi { width: 32px; height: 32px; flex: none; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); border-radius: var(--radius-sm, 0); }
  .tkc-h .grow { min-width: 0; }
  .tkc-h b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tkc-h small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 2px; }
  .tkc-h small .badge { font-size: 9.5px; padding: 1px 6px; }
  .tkc-h [data-tk-min] { display: none; }
  .tkc.is-full { position: fixed; inset: 0; z-index: 85; height: 100dvh; max-height: none; min-height: 0; margin: 0; border: 0; border-radius: 0 !important; animation: tkc-up .22s cubic-bezier(.2, .8, .2, 1); }
  .tkc.is-full > * { border-radius: 0 !important; }
  .tkc.is-full .tkc-h { padding-top: calc(8px + env(safe-area-inset-top)); }
  .tkc.is-full .tkc-in { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .tkc.is-full [data-tk-min] { display: inline-flex; }
  .tkc.is-full [data-tk-full] { display: none; }
  body.tk-full-open { overflow: hidden; }
}
@keyframes tkc-up { from { opacity: .4; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tkc.is-full { animation: none; } }
.tkc-back { display: none !important; }
@media (max-width: 640px) { .tkc.is-full .tkc-back { display: inline-flex !important; margin-left: -4px; } .tkc.is-full .tkc-h { padding-left: 6px; } }
@media (min-width: 641px) { .tkc { height: calc(100dvh - var(--h-top) - 150px); min-height: 420px; } }

/* ---------- v1.0.22 paginação 1, 2, 3 ---------- */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 24px; border-top: 1px solid var(--border); }
.pager-card { margin-top: 16px; }
.pager-card .pager { border-top: 0; }
.pg-info { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pg-btns { display: flex; align-items: center; gap: 4px; }
.pg-n { min-width: 36px; height: 36px; padding: 0 10px; display: inline-grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; border-radius: var(--radius, 0); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.pg-n:hover:not(:disabled):not(.on) { border-color: var(--primary); color: var(--primary); }
.pg-n.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); cursor: default; }
.pg-n:disabled { opacity: .4; cursor: default; }
.pg-n:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.pg-gap { min-width: 22px; text-align: center; color: var(--muted); }
.pg-mini { display: none; font-size: 14px; padding: 0 10px; font-variant-numeric: tabular-nums; }
.is-paging { opacity: .55; pointer-events: none; transition: opacity .15s; }
@media (max-width: 640px) {
  .pager { padding: 12px 16px; justify-content: center; }
  .pg-info { width: 100%; text-align: center; }
  .pg-btns .pg-n:not(.pg-ar), .pg-gap { display: none; }
  .pg-mini { display: inline-block; }
  .pg-n.pg-ar { min-width: 44px; height: 40px; }
}

/* ---------- v1.0.22 ilustrações das telas vazias (assets/js/illus.js) ---------- */
.empty.has-ill { padding: 40px 24px 48px; }
.empty .ill { display: block; width: 240px; max-width: 78%; height: auto; margin: 0 auto 14px; overflow: visible; }
.ill .il-s { fill: var(--primary-soft); }
.ill .il-s2 { fill: var(--primary-soft); }
.ill .il-sh { fill: var(--border); opacity: .7; }
.ill .il-d circle { fill: var(--border); }
.ill .il-k { stroke: var(--primary); stroke-width: 2; stroke-linecap: round; fill: none; opacity: .7; }
.ill .il-b { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.ill .il-m { fill: var(--border); }
.ill .il-p, .ill .il-pf circle { fill: var(--primary); }
.ill .il-p2 { fill: var(--primary); opacity: .7; }
.ill .il-ln { stroke: var(--border); stroke-width: 2; fill: none; stroke-linecap: round; }
.ill .il-o, .ill .il-o * { stroke: var(--primary); stroke-width: 2; fill: none; stroke-linecap: round; }
.ill .il-w { stroke: var(--on-primary); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ill .il-wf { fill: var(--on-primary); }
.ill .il-ic svg { color: var(--on-primary); width: 36px; height: 36px; }
.ill .il-ic svg * { stroke: var(--on-primary); }
@media (max-width: 640px) { .empty .ill { width: 200px; } .empty.has-ill { padding: 28px 16px 36px; } }
.tk-ref { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 2px; }
.ill .il-ln2 { stroke: color-mix(in srgb, var(--primary) 35%, var(--border)); }

/* v1.0.23 faturas no celular: cabe sem cortar; ícone de pendente sem fundo (igual ao de pago) */
.inv-ic.wait { background: none; }
@media (max-width: 560px) {
  .tbl .hide-xs { display: none; }
  .inv-d { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
  .tbl th, .tbl td { padding-left: 12px; padding-right: 12px; }
  .inv-st { gap: 2px; }
  .inv-st .badge { min-width: 78px; }
  .inv-ic { width: 24px; height: 24px; }
}
@media (max-width: 380px) { .tbl th, .tbl td { padding-left: 8px; padding-right: 8px; } .inv-st .badge { min-width: 70px; } }

/* v1.0.23 menu lateral do celular: o X fica dentro do menu, no canto do topo */
@media (max-width: 900px) {
  .side-x { left: calc(min(66vw, 272px) - 52px); top: 10px; width: 40px; height: 40px; background: transparent; border: 1px solid var(--border); color: var(--text); }
  .side-x:hover { background: var(--hover); }
  .side-brand { padding-right: 60px; }
}

/* ---------- v1.0.34 menu lateral e topo do painel no estilo Hostinger: letra leve, ícones finos, grupos que abrem/fecham, topo na cor do cabeçalho ---------- */
.side .side-brand { gap: 12px; padding: 0 22px; height: 72px; }
.side .side-brand .brand { flex: none; }
.side .side-brand .brand img { max-height: 30px; }
.side .side-brand .brand-mark { width: 34px; height: 34px; font-size: 16px; }
.side-name { font-size: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.side .side-brand .brand:has(img) + .side-name { display: none; }
.side .side-nav { padding: 12px 0 16px; }
.side .side-nav a { height: 46px; margin: 2px 12px; padding: 0 14px; gap: 16px; font-size: 15.5px; font-weight: 400; color: var(--text); border-radius: 10px; box-shadow: none; position: relative; letter-spacing: .005em; transition: background .12s, color .12s; }
.side .side-nav a .ic { width: 22px; height: 22px; flex: none; color: var(--text-2, var(--text)); stroke-width: 1.5; transition: color .12s; }
.side .side-nav a:hover { background: var(--hover); color: var(--text); }
.side .side-nav a.on { background: var(--primary-soft); color: var(--primary); font-weight: 500; box-shadow: none; }
.side .side-nav a.on .ic { color: var(--primary); }
.side .side-nav a.on::before { display: none; }
.side .side-nav a .pill { border-radius: 99px; height: 20px; min-width: 20px; font-size: 11px; font-weight: 600; }
.side .side-nav a:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.side-grp { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--border); }
.side-gh { width: calc(100% - 24px); margin: 4px 12px 2px; height: 38px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: none; border: 0; border-radius: 10px; font: inherit; font-size: 14.5px; font-weight: 400; color: var(--muted); cursor: pointer; text-align: left; }
.side-gh:hover { background: var(--hover); color: var(--text); }
.side-gh .ic { transition: transform .18s ease; opacity: .8; }
.side-grp.shut .side-gh .ic { transform: rotate(-90deg); }
.side-gi { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .2s ease; }
.side-gi > * { min-height: 0; }
.side-grp.shut .side-gi { display: none; }
.side .side-foot { padding: 12px; }
.side .side-user { padding: 8px 6px 8px 10px; gap: 12px; border-radius: 10px; }
.side .side-user .avatar { width: 38px; height: 38px; font-size: 13px; flex: none; border-radius: 50%; }
.side .side-user .grow { min-width: 0; }
.side .side-user .nm { font-weight: 500; font-size: 14.5px; }
.side-out { width: 38px; height: 38px; flex: none; color: var(--muted); border-radius: 50% !important; }
.side-out:hover { color: var(--danger); background: color-mix(in srgb, var(--danger) 8%, transparent); }
/* topo: na cor do cabeçalho (Admin > Configurações > Cores), botões redondos translúcidos */
.panel .mtop { background: var(--header); color: var(--on-header); border-bottom-color: transparent; }
.panel .mtop .m-burger, .panel .mtop .back { color: var(--on-header); }
.panel .mtop .m-burger:hover, .panel .mtop .back:hover { background: color-mix(in srgb, var(--on-header) 12%, transparent); }
.panel .mtop .mtop-actions > .btn-icon, .panel .mtop .mtop-actions > .ai-btn, .panel .mtop .cart-btn, .panel .mtop .umenu-ico {
  background: color-mix(in srgb, var(--on-header) 8%, transparent); border-color: color-mix(in srgb, var(--on-header) 18%, transparent); color: var(--on-header); }
.panel .mtop .mtop-actions > .btn-icon:hover, .panel .mtop .cart-btn:hover, .panel .mtop .umenu-btn:hover .umenu-ico, .panel .mtop .umenu.open .umenu-ico {
  background: color-mix(in srgb, var(--on-header) 16%, transparent); border-color: color-mix(in srgb, var(--on-header) 32%, transparent); color: var(--on-header); }
.panel .mtop .ai-btn .ic { color: color-mix(in srgb, var(--primary) 55%, var(--on-header)); }
.panel .mtop [data-ttl] { color: var(--on-header); }
.umenu-float .umenu-pop { border-radius: 18px; padding: 6px 0; }
.umenu-float .umenu-list a, .umenu-float .umenu-list button { font-weight: 400; }
@media (max-width: 900px) {
  .side .side-nav a { height: 48px; font-size: 16px; margin: 2px 10px; }
  .side .side-brand { padding-right: 64px; height: 68px; }
}

/* v1.0.24 cabeçalho da tabela alinhado com os valores (Valor e Status à direita, igual à coluna) */
.tbl th.right, .tbl td.right { text-align: right; }

/* ---------- v1.0.25 itens da fatura: nome em destaque, tipo/período embaixo, valor sem quebrar ---------- */
.inv-items .card-head .small { font-variant-numeric: tabular-nums; }
.ii { display: flex; align-items: center; gap: 14px; padding: 14px 24px; }
.ii + .ii { border-top: 1px solid var(--border); }
.ii-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); border-radius: var(--radius-sm, 0); }
.ii-tx { flex: 1; min-width: 0; }
.ii-t { font-size: 14.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ii-s { font-size: 12.5px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ii-v { flex: none; font-size: 14.5px; font-weight: 600; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ii-minus .ii-ic { background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--success); }
.ii-minus .ii-t { font-weight: 500; color: var(--text-2); }
.ii-minus .ii-v { color: var(--success); }
.ii-tot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--border); background: var(--bg); }
.ii-tot span { font-size: 14px; font-weight: 600; color: var(--text-2); }
.ii-tot b { font-size: 18px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .ii { padding: 12px 16px; gap: 12px; }
  .ii-ic { width: 32px; height: 32px; }
  .ii-t, .ii-v { font-size: 14px; }
  .ii-tot { padding: 14px 16px; }
  .ii-tot b { font-size: 17px; }
}

/* v1.0.25 lista de faturas: coluna Status centralizada (título em cima do selo) */
.tbl th.c-st, .tbl td.c-st { text-align: center; }
.tbl td.c-st .inv-st { justify-content: center; }

/* ---------- v1.0.26 minhas faturas: resumo, abas, busca, período (calendário) e ordem ---------- */
.inv-sum { margin-bottom: 20px; }
.inv-sum .stat .sl .ic { color: var(--muted); }
.inv-sum .stat.warn .sv { color: var(--warning); }
.inv-sum .stat.bad .ss { color: var(--danger); font-weight: 500; }
.inv-sum .stat .ss { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.inv-tabs { padding: 0 16px; margin-bottom: 0; overflow-x: auto; scrollbar-width: none; }
.inv-tabs::-webkit-scrollbar { display: none; }
.inv-tabs button { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.inv-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 24px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 45%, var(--surface)); }
.inv-search, .inv-sel { position: relative; display: flex; align-items: center; }
.inv-search { flex: 1 1 240px; min-width: 0; }
.inv-search > .ic, .inv-sel > .ic { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.inv-tools .input { height: 40px; font-size: 14px; }
.inv-search .input { width: 100%; padding-left: 36px; }
.inv-sel .input { padding-left: 34px; padding-right: 30px; min-width: 0; width: auto; max-width: 230px; }
.inv-dates { display: flex; gap: 10px; flex-wrap: wrap; flex-basis: 100%; }
.inv-dates[hidden] { display: none; }
.inv-dates label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.inv-dates .input { width: 170px; }
.inv-clear { margin-left: auto; }
.inv-desc span { display: block; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.inv-desc small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.tbl td.late, .inv-d.late { color: var(--danger) !important; }
.inv-ic.wait.late { color: var(--danger); }
@media (max-width: 900px) { .inv-sum.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .inv-sum.stats-3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .inv-sum .stat:first-child { grid-column: 1 / -1; }
  .inv-sum .stat .sv { font-size: 20px; }
  .inv-tabs { padding: 0 8px; }
  .inv-tools { padding: 12px 16px; gap: 8px; }
  .inv-search { flex-basis: 100%; }
  .inv-sel { flex: 1 1 0; }
  .inv-sel .input { width: 100%; max-width: none; }
  .inv-dates label { flex: 1 1 0; }
  .inv-dates .input { width: 100%; }
  .inv-clear { margin-left: 0; width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .inv-tabs button { padding-left: 10px; padding-right: 10px; font-size: 13.5px; gap: 6px; }
  .inv-tabs .tk-count { min-width: 18px; height: 18px; font-size: 10.5px; padding: 0 5px; }
  .inv-sel { flex-basis: 100%; }
  .inv-sum .stat:not(:first-child) .sv { font-size: 17px; }
}
@media (max-width: 640px) { .inv-tabs { gap: 0; padding: 0 4px; } .inv-tabs button { padding-left: 9px; padding-right: 9px; } }

/* v1.0.28 cabeçalho dos cards sempre na mesma altura, com ou sem botão (ex.: Chamados com e sem "Abrir chamado") */
.card-head { min-height: 73px; box-sizing: border-box; }
.ref-rw { margin-right: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rf-denied .lic { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, transparent); }
.inv-rf [data-rf-slot]:has([data-refund]:empty) { display: none; }
.inv-rf [data-rf-slot] + [data-rf-slot] .list-row { border-top: 1px solid var(--border); }
.inv-rf .lt { word-break: normal; overflow-wrap: anywhere; }
/* v1.0.34 ajustes: menu um pouco mais largo (nomes não quebram) e marca na mesma altura do topo */
@media (min-width: 901px) {
  :root { --w-side: 268px; }
  .side .side-brand { height: var(--h-top); }
}
.side .side-nav a span:not(.pill) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- v1.0.35 painel do cliente com a tipografia do hPanel (Hostinger) ----------
   fonte: settings.font_panel (padrão DM Sans, a mesma da Hostinger) | itens 14px semibold escuros, ícones 20px cinza,
   títulos de grupo 14px bold cinza com seta pequena que gira; altura 40px, cantos 8px */
.panel, .panel button, .panel input, .panel select, .panel textarea { font-family: var(--font-panel, var(--font)), 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.panel { --menu-fg: var(--text); --menu-fg-2: var(--muted); }
.side .side-nav { padding: 12px 0 16px; }
.side .side-nav a { height: 40px; margin: 0 12px 2px; padding: 0 12px; gap: 12px; font-size: 14px; font-weight: 600; line-height: 24px; letter-spacing: 0; color: var(--menu-fg); border-radius: 8px; }
.side .side-nav a .ic { width: 20px; height: 20px; color: var(--menu-fg-2); stroke-width: 1.75; }
.side .side-nav a:hover { background: var(--hover); color: var(--menu-fg); }
.side .side-nav a:hover .ic { color: var(--menu-fg); }
.side .side-nav a.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.side .side-nav a.on .ic { color: var(--primary); }
.side-grp { margin-top: 12px; padding-top: 0; border-top: 0; }
.side-gh { width: calc(100% - 24px); margin: 0 12px 2px; height: 36px; padding: 0 12px; font-size: 14px; font-weight: 700; line-height: 24px; color: var(--menu-fg-2); border-radius: 8px; }
.side-gh:hover { color: var(--menu-fg); background: var(--hover); }
.side-gh .ic { width: 16px; height: 16px; opacity: 1; transform: rotate(0deg); }
.side-grp.shut .side-gh .ic { transform: rotate(-90deg); }
.side-name { font-size: 17px; letter-spacing: .08em; font-weight: 700; }
.side .side-user .nm { font-weight: 600; font-size: 14px; }
.side .side-user .em { font-size: 12.5px; }
@media (max-width: 900px) {
  .side .side-nav a { height: 44px; font-size: 15px; margin: 0 10px 2px; }
  .side-gh { width: calc(100% - 20px); margin: 0 10px 2px; font-size: 14px; }
}

/* ---------- v1.0.39 carrossel de banners (Início do painel) ---------- */
.bnr { position: relative; overflow: hidden; border-radius: var(--radius-lg, 12px); margin-bottom: 22px; aspect-ratio: 16 / 5; background: var(--hover); touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
.bnr:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent); }
.bnr-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.22, .8, .2, 1); will-change: transform; }
.bnr-sl { flex: 0 0 100%; height: 100%; }
.bnr-sl a { display: block; width: 100%; height: 100%; }
.bnr-sl img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; pointer-events: none; }
.bnr-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px 8px; border-radius: 99px; background: rgba(0, 0, 0, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bnr-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .25s ease, background .25s ease; }
.bnr-dots button.on { width: 18px; background: #fff; }
.bnr-dots button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) {
  .bnr { aspect-ratio: 16 / 9; margin-bottom: 18px; border-radius: 12px; }
  .bnr-dots { bottom: 8px; padding: 4px 7px; gap: 5px; }
  .bnr-dots button { width: 6px; height: 6px; }
  .bnr-dots button.on { width: 14px; }
}
@media (prefers-reduced-motion: reduce) { .bnr-track { transition: none; } }
/* v1.0.40 carrossel também na página inicial do site */
.hx-bnr { padding: 28px 0 8px; }
.hx-bnr .bnr { margin-bottom: 0; }
@media (max-width: 640px) { .hx-bnr { padding: 18px 0 4px; } }

/* =====================================================================
   v1.0.43 refinamento do painel do cliente (linha hPanel): etiquetas
   suaves, rótulos sem caixa alta, números mais leves, telas de erro
   ===================================================================== */
/* etiquetas de status: pílula com fundo suave e texto na cor do status */
.panel .badge { height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; gap: 6px;
  background: color-mix(in srgb, var(--muted) 13%, var(--surface)); color: color-mix(in srgb, var(--muted) 80%, var(--text)); }
.panel .badge-success { background: color-mix(in srgb, var(--success) 13%, var(--surface)); color: color-mix(in srgb, var(--success) 78%, var(--text)); }
.panel .badge-warning { background: color-mix(in srgb, var(--warning) 15%, var(--surface)); color: color-mix(in srgb, var(--warning) 72%, var(--text)); }
.panel .badge-danger { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: color-mix(in srgb, var(--danger) 80%, var(--text)); }
.panel .badge-primary, .panel .badge-soft { background: var(--primary-soft); color: var(--primary); }
.panel .badge-dark { background: color-mix(in srgb, var(--text) 8%, var(--surface)); color: var(--text-2); }
.panel .badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.panel .badge:has(.dot)::before { display: none; }
.panel .badge .dot { width: 6px; height: 6px; border-radius: 50%; }
.panel .inv-st .badge { min-width: 0; }
@media (max-width: 560px) { .panel .badge { height: 22px; padding: 0 8px; font-size: 11.5px; gap: 5px; } .panel .badge::before { width: 5px; height: 5px; } }

/* detalhes (chave/valor): rótulo normal e cinza, valor sem negrito pesado */
.panel .kv .k { font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.panel .kv .v { font-weight: 500; margin-top: 4px; }
.panel .kv .v.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 500; font-size: 13.5px; }
/* "Detalhes do plano" na coluna estreita do painel do site: 2 colunas, sem quebrar data e preço */
.panel .cp-side .kv { grid-template-columns: 1fr 1fr; }
.panel .cp-side .kv > div { border-left: 0 !important; }
.panel .cp-side .kv > div:nth-child(2n) { border-left: 1px solid var(--border) !important; }
.panel .cp-side .kv > div:nth-last-child(-n+2) { border-bottom: 0; }
/* cartão do site sem botões (servidor fora): some a faixa vazia */
.panel .sc-body:empty, .panel .sc-body:has(.sc-btns:empty):has(.sc-chips:empty) { display: none; }

/* números de resumo: menos peso, mais elegante */
.panel .stat .sv { font-weight: 600; letter-spacing: -.02em; }
.panel .hello h2 { font-weight: 600; letter-spacing: -.015em; }

/* avisos com cantos e cor de fundo leve, como no hPanel */
.panel .notice { border-radius: var(--radius-lg, 12px); border: 1px solid var(--border); border-left-width: 1px; background: var(--surface); align-items: center; }
.panel .notice > .ic:first-child, .panel .notice > svg:first-child { color: var(--primary); flex: none; }
.panel .notice-warning { background: color-mix(in srgb, var(--warning) 7%, var(--surface)); border-color: color-mix(in srgb, var(--warning) 28%, var(--surface)); }
.panel .notice-warning > svg:first-child, .panel .notice-warning > .ic:first-child { color: var(--warning); }
.panel .notice-danger { background: color-mix(in srgb, var(--danger) 6%, var(--surface)); border-color: color-mix(in srgb, var(--danger) 26%, var(--surface)); }
.panel .notice-danger > svg:first-child, .panel .notice-danger > .ic:first-child { color: var(--danger); }

/* caminho no topo dos detalhes */
.panel .crumbs-nav + .notice, .panel .crumbs-nav + .detail-head { margin-top: 0; }

/* tela de erro / não encontrado */
.ve .empty { border: 0; }
.ve-act { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.ve-act .btn { gap: 8px; }
/* selo "Mais vendido" dos planos continua sólido (destaque de venda) */
.panel .badge.plan-badge { background: var(--primary); color: var(--on-primary); border-radius: 6px; font-size: 11px; letter-spacing: .02em; }
.panel .badge.plan-badge::before { display: none; }

/* v1.0.43 extensões com preço na busca de domínio (antes de buscar) */
.tldg-h { font-size: 15px; font-weight: 600; margin: 28px 0 12px; }
.tldg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tldc { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 18px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 12px); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tldc:hover { border-color: var(--primary-line); box-shadow: var(--shadow); }
.tldc.on { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent); }
.tldc-e { font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--text); margin-bottom: 6px; }
.tldc s { font-size: 12.5px; color: var(--muted); }
.tldc-p b { font-size: 16px; font-weight: 600; }
.tldc-p small { font-size: 12.5px; color: var(--muted); margin-left: 3px; }
.tldc-r { font-size: 12px; line-height: 1.35; color: var(--muted); margin-top: 2px; }
@media (max-width: 900px) { .tldg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .tldc { padding: 14px; } .tldc-e { font-size: 18px; } }

/* v1.0.43 lista de chamados no celular: status junto do número, título com mais espaço */
.tk-top { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.tk-top .tk-ref { margin-bottom: 0; }
.tk-stm { display: none; }
@media (max-width: 560px) {
  .tk-stm { display: inline-flex; }
  .tk-row > .badge { display: none; }
  .tk-row .lic { display: none; }
  .tk-row .lt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* v1.0.43 fatura paga no celular: botões na mesma largura */
@media (max-width: 560px) { .paid-act { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; } .paid-act .btn { width: 100%; justify-content: center; } }

/* =====================================================================
   v1.0.44 estilo de seleção (Admin > Configurações > Aparência > ui_select_style)
   classe no <html>: sel-underline (linha embaixo) | sel-admin | sel-soft | sel-solid | sel-outline
   vale para: abas (.tabs, .pm-tabs, .np-tabs), Mensal/Anual (.seg) e menu lateral
   ===================================================================== */
:root { --sel-bg: transparent; --sel-fg: var(--primary); --sel-sh: none; --sel-r: 8px; }
.sel-admin   { --sel-bg: var(--primary-soft); --sel-fg: var(--primary); --sel-sh: inset 3px 0 0 var(--primary); --sel-r: 8px; }
.sel-clear   { --sel-bg: var(--primary-soft); --sel-fg: var(--primary); --sel-sh: none; --sel-r: 8px; }
.sel-soft    { --sel-bg: var(--primary-soft); --sel-fg: var(--primary); --sel-sh: none; --sel-r: 999px; }
.sel-solid   { --sel-bg: var(--primary); --sel-fg: var(--on-primary); --sel-sh: none; --sel-r: 8px; }
.sel-outline { --sel-bg: var(--surface); --sel-fg: var(--primary); --sel-sh: inset 0 0 0 1.5px var(--primary); --sel-r: 8px; }
/* v1.0.48: Sólido claro (cor principal mais clara, cheia) e Contorno cheio (borda + fundo suave) */
.sel-tint    { --sel-bg: color-mix(in srgb, var(--primary) 20%, var(--surface)); --sel-fg: color-mix(in srgb, var(--primary) 85%, var(--text)); --sel-sh: none; --sel-r: 8px; }
.sel-outfill { --sel-bg: var(--primary-soft); --sel-fg: var(--primary); --sel-sh: inset 0 0 0 1.5px var(--primary); --sel-r: 8px; }
.side-tint    { --sb-bg: color-mix(in srgb, var(--primary) 20%, var(--surface)); --sb-fg: color-mix(in srgb, var(--primary) 85%, var(--text)); --sb-sh: none; }
.side-outfill { --sb-bg: var(--primary-soft); --sb-fg: var(--primary); --sb-sh: inset 0 0 0 1.5px var(--primary); }
.sel-tint :is(.tabs, .pm-tabs) button.on .tk-count { background: var(--primary); color: var(--on-primary); }
/* v1.0.47: o menu lateral tem estilo próprio (ui_side_select), classe side-* no <html> */
.side-admin   { --sb-bg: var(--primary-soft); --sb-fg: var(--primary); --sb-sh: inset 3px 0 0 var(--primary); }
.side-clear   { --sb-bg: var(--primary-soft); --sb-fg: var(--primary); --sb-sh: none; }
.side-soft    { --sb-bg: var(--primary-soft); --sb-fg: var(--primary); --sb-sh: none; }
.side-solid   { --sb-bg: var(--primary); --sb-fg: var(--on-primary); --sb-sh: none; }
.side-outline { --sb-bg: var(--surface); --sb-fg: var(--primary); --sb-sh: inset 0 0 0 1.5px var(--primary); }
.side-gray    { --sb-bg: color-mix(in srgb, var(--text) 7%, var(--surface)); --sb-fg: var(--text); --sb-sh: none; }

/* abas */
:is(.sel-admin, .sel-clear, .sel-soft, .sel-solid, .sel-outline, .sel-tint, .sel-outfill) :is(.tabs, .pm-tabs, .np-tabs) { gap: 4px; padding-top: 8px; padding-bottom: 8px; }
:is(.sel-admin, .sel-clear, .sel-soft, .sel-solid, .sel-outline, .sel-tint, .sel-outfill) :is(.tabs, .pm-tabs, .np-tabs) button { height: 36px; border-bottom: 0 !important; border-radius: var(--sel-r); transition: background .15s, color .15s, box-shadow .15s; }
:is(.sel-admin, .sel-clear, .sel-soft, .sel-solid, .sel-outline, .sel-tint, .sel-outfill) :is(.tabs, .pm-tabs, .np-tabs) button:hover:not(.on) { background: var(--hover); color: var(--text); }
:is(.sel-admin, .sel-clear, .sel-soft, .sel-solid, .sel-outline, .sel-tint, .sel-outfill) :is(.tabs, .pm-tabs, .np-tabs) button.on { background: var(--sel-bg); color: var(--sel-fg); box-shadow: var(--sel-sh); }
:is(.sel-admin, .sel-clear, .sel-soft, .sel-solid, .sel-outline, .sel-tint, .sel-outfill) :is(.tabs, .pm-tabs, .np-tabs) button.on .ic { color: currentColor; }
:is(.sel-admin, .sel-clear, .sel-soft, .sel-solid, .sel-outline, .sel-tint, .sel-outfill) .np-tabs button::after { display: none; }
.sel-solid :is(.tabs, .pm-tabs) button.on .tk-count { background: color-mix(in srgb, var(--on-primary) 25%, transparent); color: var(--on-primary); }
.sel-outline :is(.tabs, .pm-tabs) button.on .tk-count { background: var(--primary-soft); color: var(--primary); }
:is(.sel-admin, .sel-clear, .sel-soft, .sel-solid, .sel-outline, .sel-tint, .sel-outfill) .tabs:not(.inv-tabs) { border-bottom: 0; }

/* Mensal / Anual (indicador que desliza) e demais grupos .seg */
:is(.sel-admin, .sel-clear, .sel-soft, .sel-solid, .sel-outline, .sel-tint, .sel-outfill) .seg[data-cycle]::before { background: var(--sel-bg); box-shadow: var(--sel-sh); border-radius: var(--sel-r); }
:is(.sel-admin, .sel-clear, .sel-soft, .sel-solid, .sel-outline, .sel-tint, .sel-outfill) .seg[data-cycle] button.on { color: var(--sel-fg); }
:is(.sel-admin, .sel-clear, .sel-soft, .sel-solid, .sel-outline, .sel-tint, .sel-outfill) .seg:not([data-cycle]) button.on { background: var(--sel-bg); color: var(--sel-fg); box-shadow: var(--sel-sh); border-radius: var(--sel-r); }
.sel-soft .seg { border-radius: 999px; }

/* menu lateral do painel do cliente */
:is(.side-admin, .side-clear, .side-soft, .side-solid, .side-outline, .side-tint, .side-outfill, .side-gray) .side .side-nav a.on { background: var(--sb-bg); color: var(--sb-fg); box-shadow: var(--sb-sh); }
:is(.side-admin, .side-clear, .side-soft, .side-solid, .side-outline, .side-tint, .side-outfill, .side-gray) .side .side-nav a.on .ic { color: currentColor; }
.side-soft .side .side-nav a { border-radius: 999px; }
.side-underline .side .side-nav a.on { background: transparent; color: var(--primary); box-shadow: inset 0 -2px 0 var(--primary); border-radius: 8px 8px 0 0; }

/* =====================================================================
   v1.0.44 escrita do menu lateral do cliente (ui_menu_style)
   menu-hpanel (negrito, nome em caixa alta) | menu-admin (médio, grupos em caixa alta) | menu-light (fino)
   ===================================================================== */
.menu-admin .side-name { font-size: 16px; font-weight: 600; letter-spacing: -.005em; text-transform: none; }
.menu-admin .side .side-nav a { font-size: 15px; font-weight: 500; color: color-mix(in srgb, var(--text) 82%, var(--surface)); }
.menu-admin .side .side-nav a .ic { opacity: .85; }
.menu-admin .side .side-nav a.on { font-weight: 600; }
.menu-admin .side-gh { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.menu-light .side-name { font-size: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.menu-light .side .side-nav a { font-size: 15px; font-weight: 400; color: color-mix(in srgb, var(--text) 88%, var(--surface)); }
.menu-light .side .side-nav a .ic { color: var(--muted); }
.menu-light .side .side-nav a.on { font-weight: 500; }
.menu-light .side-gh { font-size: 13px; font-weight: 500; }
/* v1.14: menu-compact (estilo Claude): menor, leve, linhas baixas e seleção cinza */
.menu-compact .side-name { font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.menu-compact .side .side-nav a { height: 36px; margin: 0 10px 1px; padding: 0 10px; gap: 11px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--text); border-radius: 8px; box-shadow: none; }
.menu-compact .side .side-nav a .ic { width: 18px; height: 18px; color: var(--muted); stroke-width: 1.6; }
.menu-compact .side .side-nav a:hover { background: var(--hover); }
.menu-compact .side .side-nav a.on { font-weight: 500; }
.menu-compact .side .side-nav a.on .ic { color: currentColor; }
.menu-compact .side-gh { width: calc(100% - 20px); margin: 10px 10px 2px; height: 28px; padding: 0 10px; font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); justify-content: flex-start; gap: 4px; }
.menu-compact .side-gh .ic { width: 13px; height: 13px; }
.menu-compact .side .side-nav .badge, .menu-compact .side .side-nav a .count { transform: scale(.9); }

/* v1.0.49 barra do carrinho na busca de domínio */
.dcart { gap: 14px; padding: 12px 12px 12px 14px; }
.dcart-ic { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); flex: none; }
.dcart-ic em { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface); }
.dcart-tx { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.dcart-tx b { font-size: 14px; font-weight: 600; }
.dcart-tx small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcart .btn { flex: none; }
.dcart-sp { display: none; }
@media (max-width: 640px) {
  .dcart { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; border-radius: 16px 16px 0 0; border-width: 1px 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px -12px rgba(14, 16, 22, .22); animation-name: dcartUp; }
  .dcart .btn { height: 44px; padding: 0 16px; }
  .dcart-sp { display: block; height: calc(84px + env(safe-area-inset-bottom)); }
}
@keyframes dcartUp { from { transform: translateY(100%); } }

/* v1.0.51 botão "Abrir na carteira" (Bitcoin) */
.btc-open { width: 100%; justify-content: center; gap: 8px; margin-top: 14px; height: 46px; }
.btc-open-h { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.4; }

/* v1.0.55 leilão de domínios */
.auc-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-lg, 12px); background: var(--primary-soft); color: var(--text-2); font-size: 13.5px; margin-bottom: 16px; }
.auc-note .ic { color: var(--primary); flex: none; margin-top: 2px; }
.auc-bar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.auc-q { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 44px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.auc-q input { border: 0; outline: 0; background: none; flex: 1; font: inherit; color: inherit; }
.auc-bar .select { width: auto; min-width: 150px; height: 44px; }
.auc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.auc { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 12px); transition: border-color .15s, box-shadow .15s; }
.auc:hover { border-color: var(--primary-line); box-shadow: var(--shadow); }
.auc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.auc-name { font-size: 18px; min-width: 0; word-break: break-all; }
.auc-name b { font-weight: 600; } .auc-name span { color: var(--primary); font-weight: 600; }
.auc-off { flex: none; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--success) 14%, var(--surface)); color: color-mix(in srgb, var(--success) 80%, var(--text)); }
.auc-price { display: flex; align-items: baseline; gap: 8px; }
.auc-price b { font-size: 24px; font-weight: 600; letter-spacing: -.01em; } .auc-price s { color: var(--muted); font-size: 14px; }
.auc-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.auc-info li { display: flex; gap: 8px; align-items: center; } .auc-info em { font-style: normal; color: var(--text-2); }
.auc-buy { margin-top: auto; width: 100%; justify-content: center; gap: 8px; }
.auc-none { grid-column: 1 / -1; }
@media (max-width: 560px) { .auc-q { flex-basis: 100%; } .auc-bar .select { flex: 1; min-width: 0; } .auc-grid { grid-template-columns: 1fr; } }

/* v1.02: API de revenda e depósito de saldo */
.api-hero .card-body { padding: 36px 32px; }
.api-hero h2 { margin: 14px 0 6px; font-size: 24px; }
.api-hero-ic { width: 56px; height: 56px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.api-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.api-perk { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); background: var(--surface); }
.api-perk b { display: block; font-size: 14px; }
.api-perk small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; line-height: 1.45; }
.api-perk-ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: var(--bg); color: var(--primary); }
.api-pre { margin: 0; padding: 12px 14px; background: #0f1320; color: #e6e9f2; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow: auto; max-height: 300px; white-space: pre; }
.api-call { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--border); cursor: pointer; text-align: left; font: inherit; color: inherit; }
.api-call:hover { background: var(--hover); }
.api-call:last-child { border-bottom: 0; }
.wallet-add .lic { width: 40px; height: 40px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.chip.on { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); color: var(--primary); }
button.chip { background: var(--surface); cursor: pointer; }
@media (max-width: 640px) { .api-perks { grid-template-columns: 1fr; } .api-hero .card-body { padding: 24px 18px; } }
/* sem fundo amarelo do preenchimento automático do navegador */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important; box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #333 !important; transition: background-color 5000s ease-in-out 0s;
}

/* ---------------------------------------------------------------------
   Carteira v1.06: cartão de saldo, gráfico, indicadores, origem e extrato
   --------------------------------------------------------------------- */
.wl { --wl-in: #16a34a; --wl-out: #e11d48; display: grid; gap: 20px; min-width: 0; }
.wl-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; padding: 26px 28px; border-radius: var(--radius-lg, 6px); background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.wl-hero.is-sk { display: block; min-height: 200px; }
.wl-hero-main { display: flex; flex-direction: column; min-width: 0; }
.wl-hl { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.wl-hl > .ic { color: var(--primary); }
.wl-eye { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 2px; border-radius: 50%; color: var(--text-2); background: var(--bg); border: 1px solid var(--border); transition: background .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.wl-eye:hover { background: var(--hover); }
.wl-eye:active { transform: scale(.92); }
.wl-amt { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 8px; font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.wl-amt .wl-cur { font-size: 22px; font-weight: 700; color: var(--muted); }
.wl-amt .wl-num { font-size: clamp(40px, 6vw, 54px); }
.wl-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.wl-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }
.wl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: var(--radius, 6px); font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border); transition: background .15s, border-color .15s, transform .12s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.wl-btn .ic { color: var(--primary); }
.wl-btn:hover { background: var(--hover); border-color: var(--primary-line); }
.wl-btn:active { transform: scale(.97); }
.wl-btn-main { background: var(--primary); border-color: var(--primary); color: var(--on-primary, #fff); }
.wl-btn-main .ic { color: inherit; }
.wl-btn-main:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.wl-chart { display: flex; flex-direction: column; min-width: 0; padding: 16px 18px 12px; border-radius: var(--radius, 6px); background: var(--bg); border: 1px solid var(--border); }
.wl-ch-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.wl-ch-leg { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--muted); }
.wl-ch-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-left: 6px; }
.wl-ch-leg .li { background: var(--primary); }
.wl-ch-leg .lo { background: color-mix(in srgb, var(--primary) 30%, var(--surface)); }
.wl-bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.wl-bc { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; }
.wl-bp { height: 130px; display: flex; align-items: flex-end; justify-content: center; gap: 4px; border-bottom: 1px solid var(--border); }
.wl-bp span { width: min(16px, 34%); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: wlGrow .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0ms); }
.wl-bp span.z { height: 3px !important; border-radius: 2px; background: var(--border) !important; }
.wl-bp .bi { background: color-mix(in srgb, var(--primary) 70%, var(--surface)); }
.wl-bp .bo { background: color-mix(in srgb, var(--primary) 26%, var(--surface)); }
.wl-bc.cur .bi { background: var(--primary); }
.wl-bm { font-size: 11.5px; font-weight: 500; color: var(--muted); text-align: center; text-transform: capitalize; white-space: nowrap; }
.wl-bc.cur .wl-bm { color: var(--text); font-weight: 700; }
@keyframes wlGrow { from { transform: scaleY(0); } }
.wl-ch-tot { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.wl-ch-tot b { color: var(--text); margin-left: 4px; }

.wl-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wl-kpi { position: relative; padding: 18px 18px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 6px); min-width: 0; transition: border-color .15s, box-shadow .15s; }
.wl-kpi:hover { border-color: var(--primary-line); box-shadow: var(--shadow); }
.wl-ki { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--primary); background: var(--primary-soft); }
.wl-ki.in { color: var(--wl-in); background: color-mix(in srgb, var(--wl-in) 12%, var(--surface)); }
.wl-ki.out { color: var(--wl-out); background: color-mix(in srgb, var(--wl-out) 10%, var(--surface)); }
.wl-ki.in .ic { transform: rotate(-45deg); }
.wl-ki.out .ic { transform: rotate(-45deg); }
.wl-kl { margin-top: 14px; font-size: 13px; color: var(--muted); font-weight: 500; }
.wl-kv { margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.wl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.wl-col { display: grid; gap: 20px; min-width: 0; }
.wl-col > *, .wl-grid > *, .wl-kpis > * { min-width: 0; }
.wl-seg { max-width: 100%; }
.wl-aside { position: sticky; top: calc(var(--h-top) + 16px); }
.wl-hist .card-head { flex-wrap: wrap; }
.wl-seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--bg); border: 1px solid var(--border); border-radius: calc(var(--radius, 6px) + 2px); }
.wl-seg button { height: 30px; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--muted); border-radius: var(--radius-sm, 4px); transition: background .15s, color .15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.wl-seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(12,14,20,.08), 0 0 0 1px var(--border); }
.wl-seg button:active { transform: scale(.97); }
.wl-txs { min-height: 80px; }
.wl-day { position: sticky; top: var(--h-top); z-index: 1; padding: 10px 24px 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-top: 1px solid var(--border); }
.wl-txs > .wl-day:first-child { border-top: 0; }
.wl-tx { display: flex; align-items: center; gap: 14px; padding: 12px 24px; color: inherit; text-decoration: none; transition: background .12s; -webkit-tap-highlight-color: transparent; }
a.wl-tx:hover { background: var(--hover); }
a.wl-tx:active { background: var(--hover); }
.wl-tx + .wl-tx { border-top: 1px dashed var(--border); }
.wl-ti { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; color: var(--text-2); background: var(--bg); }
.wl-tx.in .wl-ti { color: var(--wl-in); background: color-mix(in srgb, var(--wl-in) 12%, var(--surface)); }
.wl-tx .grow { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.wl-tl { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-ts { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-tr { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; text-align: right; }
.wl-tr b { font-size: 15px; font-variant-numeric: tabular-nums; }
.wl-tx.in .wl-tr b { color: var(--wl-in); }
.wl-hist .is-paging .wl-txs, .wl-hist.is-paging .wl-txs { opacity: .5; transition: opacity .15s; }

.wl-bar { display: flex; gap: 3px; height: 12px; border-radius: 99px; overflow: hidden; background: var(--bg); }
.wl-bar span { min-width: 6px; animation: wlBar .7s cubic-bezier(.2,.8,.2,1) both; transform-origin: left; }
@keyframes wlBar { from { transform: scaleX(0); } }
.wl-leg { display: grid; gap: 10px; margin-top: 16px; }
.wl-lg { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.wl-dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.wl-lg b { font-variant-numeric: tabular-nums; }
.wl-pc { min-width: 40px; text-align: right; font-size: 12px; font-weight: 600; color: var(--muted); }
.wl-open { border-color: color-mix(in srgb, #f59e0b 45%, var(--border)); }
.wl-open .card-head { background: color-mix(in srgb, #f59e0b 8%, var(--surface)); }
.wl-open .card-head h3 { display: flex; align-items: center; gap: 8px; }
.wl-tips { display: grid; gap: 4px; padding: 10px !important; }
.wl-tip { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: var(--radius, 6px); font-size: 13.5px; color: var(--text-2); }
.wl-tip > .ic:first-child { flex: none; color: var(--primary); margin-top: 1px; }
.wl-tip p { margin: 0; flex: 1; line-height: 1.5; }
.wl-tip b { color: var(--text); }
.wl-tip-link { text-decoration: none; transition: background .12s; -webkit-tap-highlight-color: transparent; }
.wl-tip-link:hover, .wl-tip-link:active { background: var(--hover); }
.wl-tip-link > .ic:last-child { color: var(--muted); align-self: center; }

.wl-money { transition: filter .2s; }
.wl-hide .wl-money { filter: blur(9px); user-select: none; }
.wl-hide .wl-amt.wl-money { filter: blur(14px); }

@media (max-width: 1080px) {
  .wl-grid { grid-template-columns: minmax(0, 1fr); }
  .wl-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 860px) {
  .wl-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .wl-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wl { gap: 14px; }
  .wl-hero { padding: 20px 16px 16px; }
  .wl-amt .wl-cur { font-size: 18px; }
  .wl-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 20px; }
  .wl-acts .wl-btn-main { grid-column: 1 / -1; height: 48px; font-size: 15px; }
  .wl-acts .wl-btn:last-child:nth-child(2) { grid-column: 1 / -1; }
  .wl-btn { padding: 0 10px; min-width: 0; }
  .wl-chart { padding: 14px 14px 10px; }
  .wl-bp { height: 120px; }
  .wl-kpis { gap: 10px; }
  .wl-kpi { padding: 14px; }
  .wl-ki { width: 30px; height: 30px; border-radius: 9px; }
  .wl-kl { margin-top: 10px; font-size: 12px; }
  .wl-kv { font-size: 18px; }
  .wl-aside { grid-template-columns: minmax(0, 1fr); }
  .wl-hist .card-head { padding: 14px 16px; }
  .wl-seg { width: 100%; }
  .wl-seg button { flex: 1; }
  .wl-day { padding: 10px 16px 6px; }
  .wl-tx { padding: 12px 16px; gap: 12px; }
  .wl-ti { width: 36px; height: 36px; }
  .wl-tl { font-size: 14px; }
  .wl-tr b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .wl-bp span, .wl-bar span { animation: none; }
}

/* ---------------------------------------------------------------------
   Convide amigos v1.08: link em destaque, desempenho, regras e passos
   --------------------------------------------------------------------- */
.rf { display: grid; gap: 20px; min-width: 0; }
.rf > * { min-width: 0; }
.rf-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 28px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 6px); }
.rf-main { display: flex; flex-direction: column; min-width: 0; }
.rf-kicker { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 5px 10px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--primary); background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: 999px; }
.rf-title { margin: 14px 0 6px; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.rf-sub { margin: 0; color: var(--text-2); font-size: 15px; max-width: 560px; }
.rf-lbl { margin: 22px 0 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.rf-link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; background: var(--bg); border: 1px dashed var(--primary-line); border-radius: var(--radius-lg, 6px); min-width: 0; }
.rf-url { flex: 1; min-width: 0; font: 500 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf-copy { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; font-weight: 600; font-size: 14px; color: var(--on-primary); background: var(--primary); border-radius: var(--radius, 6px); transition: background .15s, transform .12s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.rf-copy:hover { background: var(--primary-hover); }
.rf-copy:active, .rf-mini:active, .rf-net:active { transform: scale(.97); }
.rf-i-ok { display: none; }
.ok > .rf-i-cp { display: none; }
.ok > .rf-i-ok { display: inline-block; }
.rf-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rf-net { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; font-size: 13.5px; font-weight: 600; color: var(--text); text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; transition: border-color .15s, background .15s, transform .12s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.rf-net .ic { color: var(--primary); }
.rf-net:hover { border-color: var(--primary-line); background: var(--primary-soft); text-decoration: none; }
.rf-code { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 13px; }
.rf-code b { font: 700 14px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; color: var(--text); }
.rf-mini { display: inline-grid; place-items: center; width: 30px; height: 30px; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm, 4px); transition: color .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.rf-mini:hover { color: var(--primary); }
.rf-mini.ok { color: var(--success); border-color: color-mix(in srgb, var(--success) 40%, var(--border)); }
.rf-perf { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg, 6px); min-width: 0; }
.rf-perf-h { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.rf-earn { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.rf-earn-l { font-size: 13px; color: var(--muted); font-weight: 500; }
.rf-earn-v.zero { color: var(--text); }
.rf-earn-v { font-size: clamp(28px, 4vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--success); font-variant-numeric: tabular-nums; }
.rf-pend { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); }
.rf-pend .ic { color: var(--warning); }
.rf-funnel { display: grid; gap: 8px; }
.rf-fr { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--text-2); }
.rf-fr b { font-size: 18px; color: var(--text); font-variant-numeric: tabular-nums; }
.rf-fbar { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--border) 60%, var(--surface)); overflow: hidden; margin-bottom: 6px; }
.rf-fbar span { display: block; height: 100%; border-radius: inherit; background: color-mix(in srgb, var(--primary) 35%, var(--surface)); transform-origin: left; animation: wlBar .7s cubic-bezier(.2,.8,.2,1) both; }
.rf-fbar.cv span { background: var(--primary); }
.rf-rate { font-size: 12.5px; color: var(--muted); }
.rf-rules { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-rule { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius, 6px); }
.rf-rule .ic { color: var(--primary); }
.rf-steps { list-style: none; margin: 0; padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; counter-reset: none; position: relative; }
.rf-step { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rf-step::after { content: ''; position: absolute; top: 18px; left: 46px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--primary-line) 0 6px, transparent 6px 12px); }
.rf-step:last-child::after { display: none; }
.rf-n { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 800; font-size: 14px; color: var(--on-primary); background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.rf-step p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.55; }
.rf-av { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; font-weight: 700; font-size: 13px; color: var(--primary); background: var(--primary-soft); }
.rf-av-approved { color: var(--success); background: color-mix(in srgb, var(--success) 12%, var(--surface)); }
.rf-av-pending { color: var(--warning); background: color-mix(in srgb, var(--warning) 12%, var(--surface)); }
.rf-av-rejected { color: var(--muted); background: var(--bg); }
@media (max-width: 860px) {
  .rf-hero { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 20px; }
}
@media (max-width: 640px) {
  .rf { gap: 14px; }
  .rf-sub { font-size: 14px; }
  .rf-link { flex-wrap: wrap; padding: 10px; }
  .rf-url { flex-basis: 100%; white-space: normal; word-break: break-all; font-size: 13px; }
  .rf-copy { width: 100%; justify-content: center; height: 46px; font-size: 15px; }
  .rf-share { display: grid; grid-template-columns: 1fr 1fr; }
  .rf-net { justify-content: center; border-radius: var(--radius, 6px); height: 42px; }
  .rf-net:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rf-rules { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .rf-rules::-webkit-scrollbar { display: none; }
  .rf-rule { flex: none; }
  .rf-steps { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; gap: 0; }
  .rf-step { flex-direction: row; align-items: flex-start; gap: 14px; padding-bottom: 20px; }
  .rf-step:last-child { padding-bottom: 0; }
  .rf-step::after { top: 42px; bottom: 0; left: 17px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--primary-line) 0 6px, transparent 6px 12px); }
  .rf-step p { padding-top: 7px; }
  .rf-row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: center; }
  .rf-row .rf-av { grid-row: 1 / 3; }
  .rf-row .grow { grid-column: 2; grid-row: 1 / 3; }
  .rf-row .ref-rw { grid-column: 3; grid-row: 1; margin: 0; text-align: right; }
  .rf-row .badge { grid-column: 3; grid-row: 2; justify-self: end; }
}
@media (prefers-reduced-motion: reduce) { .rf-fbar span { animation: none; } }

/* ---------------------------------------------------------------------
   Minha conta v1.09: cabeçalho com progresso, menu da página e seções em cartões
   --------------------------------------------------------------------- */
.ac { max-width: 1120px; display: grid; gap: 20px; min-width: 0; }
.ac > * { min-width: 0; }
.ac-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 24px; align-items: center; padding: 26px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 6px); }
.ac-id { display: flex; align-items: center; gap: 20px; min-width: 0; }
.ac-avatar { position: relative; width: 76px; height: 76px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 26px; font-weight: 800; letter-spacing: .01em; color: var(--on-primary); background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.ac-badge { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--success); border: 3px solid var(--surface); }
.ac-badge .ic { width: 13px; height: 13px; }
.ac-id h2 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; word-break: break-word; }
.ac-mail { margin: 3px 0 0; color: var(--muted); font-size: 14px; word-break: break-all; }
.ac .acc-chips { margin-top: 12px; }
.ac .acc-chip { border-radius: 999px; }
.ac-setup { padding: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg, 6px); }
.ac-setup-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 600; color: var(--text-2); }
.ac-setup-h b { font-size: 20px; color: var(--text); font-variant-numeric: tabular-nums; }
.ac-bar { height: 8px; margin: 10px 0 14px; border-radius: 99px; background: color-mix(in srgb, var(--border) 60%, var(--surface)); overflow: hidden; }
.ac-bar span { display: block; height: 100%; border-radius: inherit; background: var(--primary); transform-origin: left; animation: wlBar .7s cubic-bezier(.2,.8,.2,1) both; }
.ac-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ac-checks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.ac-checks li.ok { color: var(--text); }
.ac-ck { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: var(--surface); border: 1px solid var(--border); }
.ac-checks li.ok .ac-ck { color: var(--success); background: color-mix(in srgb, var(--success) 12%, var(--surface)); border-color: transparent; }
.ac-ck .ic { width: 12px; height: 12px; }
.ac-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.ac-nav { position: sticky; top: calc(var(--h-top) + 16px); display: grid; gap: 2px; padding: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 6px); }
.ac-nav button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 14px; font-weight: 500; text-align: left; color: var(--text-2); border-radius: var(--radius, 6px); transition: background .12s, color .12s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; white-space: nowrap; }
.ac-nav button .ic { color: var(--muted); }
.ac-nav button:hover { background: var(--hover); }
.ac-nav button:active { transform: scale(.98); }
.ac-nav button.on { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.ac-nav button.on .ic { color: var(--primary); }
.ac-nav button.out { margin-top: 6px; border-top: 1px solid var(--border); border-radius: 0 0 var(--radius, 6px) var(--radius, 6px); padding-top: 14px; }
.ac-main { display: grid; gap: 20px; min-width: 0; }
.ac-sec { scroll-margin-top: calc(var(--h-top) + 16px); min-width: 0; }
.ac-sec-h { display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.ac-si { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: var(--radius, 6px); color: var(--primary); background: var(--primary-soft); }
.ac-sec-h h3 { font-size: 16px; font-weight: 700; }
.ac-sec-h p { margin: 3px 0 0; color: var(--muted); font-size: 13.5px; }
.ac-sec-h .btn { flex: none; align-self: center; }
.ac-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); }
.ac-it { display: flex; align-items: flex-start; gap: 12px; padding: 16px 24px; background: var(--surface); min-width: 0; }
.ac-it-i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); background: var(--bg); }
.ac-it-l { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.ac-it-v { margin-top: 2px; font-weight: 600; word-break: break-word; }
.ac-info .ac-it:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ac-langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px 24px; }
.ac-lang { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-align: left; font-weight: 500; border: 1px solid var(--border); border-radius: var(--radius, 6px); background: var(--surface); transition: border-color .15s, background .15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ac-lang:hover { border-color: var(--primary-line); }
.ac-lang:active { transform: scale(.98); }
.ac-lang .lang-code { width: 34px; height: 26px; display: grid; place-items: center; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-2); background: var(--bg); border-radius: var(--radius-sm, 4px); }
.ac-radio { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--border); color: var(--on-primary); }
.ac-radio .ic { width: 12px; height: 12px; }
.ac-lang.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.ac-lang.on .lang-code { color: var(--primary); background: var(--surface); }
.ac-lang.on .ac-radio { background: var(--primary); border-color: var(--primary); }
.ac-out { gap: 6px; }
@media (max-width: 960px) {
  .ac-hero { grid-template-columns: minmax(0, 1fr); }
  .ac-layout { grid-template-columns: minmax(0, 1fr); }
  .ac-nav { top: var(--h-top); z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 8px; margin: 0 -2px; scrollbar-width: none; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 0; border-radius: 0; }
  .ac-nav::-webkit-scrollbar { display: none; }
  .ac-nav button { flex: none; padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
  .ac-nav button.on { border-color: var(--primary-line); }
  .ac-nav button.out { margin-top: 0; padding-top: 8px; border-top: 1px solid var(--border); border-radius: 999px; }
}
@media (max-width: 640px) {
  .ac { gap: 14px; }
  .ac-hero { padding: 20px 16px; gap: 18px; }
  .ac-id { gap: 16px; align-items: flex-start; }
  .ac-avatar { width: 60px; height: 60px; font-size: 21px; box-shadow: 0 0 0 4px var(--primary-soft); }
  .ac-main { gap: 14px; }
  .ac-sec-h { padding: 16px; gap: 12px; flex-wrap: wrap; }
  .ac-sec-h .btn { width: 100%; justify-content: center; }
  .ac-si { width: 36px; height: 36px; }
  .ac-info { grid-template-columns: minmax(0, 1fr); }
  .ac-it { padding: 14px 16px; }
  .ac-langs { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .ac-bar span { animation: none; } }

/* ---------------------------------------------------------------------
   Faturas v1.11: faixa de resumo, aviso de vencidas e lista em colunas (compacta)
   --------------------------------------------------------------------- */
.iv { display: grid; gap: 20px; min-width: 0; }
.iv > * { min-width: 0; }
.iv-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.iv-kpi { padding: 18px 22px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 6px); }
.iv-kl { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--muted); }
.iv-kl .ic { color: var(--muted); }
.iv-kv { margin-top: 8px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iv-ks { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.iv-alert { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--danger); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 6px); }
.iv-alert > .ic { flex: none; }
.iv-alert .grow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.iv-alert b { color: var(--text); font-size: 14px; }
.iv-alert span { color: var(--text-2); font-size: 13px; }
.iv-alert-btn { flex: none; color: var(--text); background: var(--surface); border: 1px solid var(--border); }
.iv-alert-btn:hover { background: var(--hover); }
.iv-list { display: grid; }
.iv-head, .iv-row { display: grid; grid-template-columns: 128px minmax(0, 1fr) 150px 120px 110px 44px; align-items: center; column-gap: 16px; padding: 0 24px; }
.iv-head { height: 40px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--bg); border-top: 1px solid var(--border); }
.iv-head .iv-c4 { text-align: right; font-size: inherit; font-weight: inherit; }
.iv-row { min-height: 64px; padding-top: 10px; padding-bottom: 10px; color: inherit; text-decoration: none; border-top: 1px solid var(--border); transition: background .12s; -webkit-tap-highlight-color: transparent; }
.iv-row:hover { background: var(--hover); text-decoration: none; }
.iv-row:active { background: var(--hover); }
.iv-c1 { display: flex; align-items: center; gap: 10px; min-width: 0; }
.iv-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--border); }
.iv-row.s-unpaid .iv-dot { background: var(--warning); }
.iv-row.s-overdue .iv-dot { background: var(--danger); }
.iv-ref { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.iv-c2, .iv-c3 { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.iv-desc { font-size: 14px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iv-sub { font-size: 12.5px; color: var(--muted); }
.iv-dd { font-size: 14px; color: var(--text-2); white-space: nowrap; }
.iv-due { font-size: 12px; color: var(--muted); white-space: nowrap; }
.iv-row.s-overdue .iv-due { color: var(--danger); }
.iv-c4 { text-align: right; font-weight: 700; font-size: 14.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.iv-c5 { display: flex; }
.iv-c6 { display: flex; justify-content: flex-end; }
.iv-act { display: inline-grid; place-items: center; width: 34px; height: 34px; color: var(--muted); border-radius: var(--radius, 6px); cursor: pointer; transition: background .12s, color .12s; }
.iv-act:hover { color: var(--primary); background: var(--primary-soft); }
.iv-act.iv-pay { width: auto; padding: 0 12px; height: 30px; font-size: 12.5px; font-weight: 600; color: var(--on-primary); background: var(--primary); }
.iv-act.iv-pay:hover { background: var(--primary-hover); color: var(--on-primary); }
.iv-act.ghost { visibility: hidden; }
.iv-head .iv-c6 { visibility: hidden; }
.iv-row .iv-c6 { width: auto; }
@media (max-width: 1180px) {
  .iv-head, .iv-row { grid-template-columns: 118px minmax(0, 1fr) 130px 110px 100px 72px; column-gap: 12px; }
}
@media (max-width: 900px) {
  .iv-head { display: none; }
  .iv-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "c1 c4" "c2 c5" "c3 c3"; row-gap: 3px; padding: 14px 18px; }
  .iv-c1 { grid-area: c1; } .iv-c2 { grid-area: c2; } .iv-c3 { grid-area: c3; flex-direction: row; gap: 8px; align-items: baseline; } .iv-c4 { grid-area: c4; font-size: 15px; } .iv-c5 { grid-area: c5; justify-content: flex-end; align-self: start; } .iv-c6 { display: none; }
  .iv-c2 .iv-sub { display: none; }
  .iv-dd { font-size: 12.5px; color: var(--muted); }
}
.iv-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.iv-main, .iv-aside { display: grid; gap: 20px; min-width: 0; }
.iv-main > *, .iv-aside > * { min-width: 0; margin: 0 !important; }
.iv-aside { position: sticky; top: calc(var(--h-top) + 16px); }
.iv-meta-card { padding: 20px; }
.iv-mc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.iv-mc-amt { margin: 6px 0 14px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.iv-mc-rows { display: grid; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--border); }
.iv-mc-r { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.iv-mc-r .ic { color: var(--muted); flex: none; }
.iv-mc-r span { flex: 1; }
.iv-mc-r b { color: var(--text); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.iv-mc-r.late b { color: var(--danger); }
.iv-main .credit-box { border-radius: var(--radius-lg, 6px); }
.iv-main .credit-box .ci { border-radius: var(--radius, 6px); }
.iv-main .credit-box .grow { flex: 1 1 220px; min-width: 0; }
.iv-aside .ii { padding: 12px 18px; }
.iv-aside .ii-tot { padding: 14px 18px; }
.iv-aside .inv-items .card-head { padding: 14px 18px; }
@media (max-width: 1080px) {
  .iv-detail { grid-template-columns: minmax(0, 1fr); }
  .iv-aside { position: static; }
}
@media (max-width: 760px) {
  .iv-kpis { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 640px) {
  .iv { gap: 14px; }
  .iv-kpi { padding: 14px 16px; }
  .iv-kv { font-size: 18px; }
  .iv-alert { flex-wrap: wrap; }
  .iv-alert-btn { width: 100%; justify-content: center; }
  .iv-row { padding: 12px 16px; }
  .iv-mc-amt { font-size: 26px; }
  .iv-main .credit-box { align-items: flex-start; }
  .iv-main .credit-box .btn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------------
   Hospedagem v1.16: lista de sites e painel do site (simples, cor só no essencial)
   --------------------------------------------------------------------- */
.hs { display: grid; gap: 18px; min-width: 0; }
.hs > * { min-width: 0; margin: 0 !important; }
.hs-av { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; font-size: 18px; font-weight: 700; color: var(--text-2); background: var(--bg); border: 1px solid var(--border); }
.hs-list { display: grid; gap: 12px; }
.hs-item { overflow: hidden; }
.hs-it-top { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.hs-it-id { flex: 1; min-width: 0; }
.hs-it-dom { display: flex; align-items: center; gap: 6px; min-width: 0; }
.hs-it-dom > a:first-child { font-size: 16px; font-weight: 700; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-it-dom > a:first-child:hover { color: var(--primary); }
.hs-ext { display: inline-grid; place-items: center; color: var(--muted); }
.hs-ext:hover { color: var(--primary); }
.hs-it-sub { margin-top: 2px; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-go { flex: none; gap: 4px; }
.hs-it-q { display: flex; gap: 6px; padding: 10px 20px 14px 78px; overflow-x: auto; scrollbar-width: none; }
.hs-it-q::-webkit-scrollbar { display: none; }
.hs-lq { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; font-size: 13px; font-weight: 500; color: var(--text-2); text-decoration: none; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; transition: border-color .12s, color .12s; -webkit-tap-highlight-color: transparent; }
.hs-lq .ic { color: var(--muted); }
.hs-lq:hover { color: var(--text); border-color: var(--primary-line); text-decoration: none; }
.hs-lq:active { transform: scale(.97); }
.hs-head { display: flex; align-items: center; gap: 16px; padding: 20px 22px; }
.hs-head .hs-av { width: 52px; height: 52px; font-size: 21px; border-radius: 14px; }
.hs-id { flex: 1; min-width: 0; }
.hs-dom { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hs-dom h1 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; word-break: break-all; }
.hs-sub { margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.hs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hs-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; font-size: 12.5px; font-weight: 500; color: var(--text-2); text-decoration: none; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.hs-chip.ok .ic { color: var(--success); }
.hs-chip.off .ic { color: var(--warning); }
a.hs-chip:hover { border-color: var(--primary-line); text-decoration: none; }
.hs-acts { display: flex; align-items: center; gap: 8px; flex: none; }
.hs-acts .btn { gap: 6px; }
.hs-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hs-q { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 6px); transition: border-color .12s, box-shadow .12s; -webkit-tap-highlight-color: transparent; min-width: 0; }
.hs-q span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-q .ic { flex: none; color: var(--primary); }
.hs-q:hover { border-color: var(--primary-line); box-shadow: var(--shadow); text-decoration: none; }
.hs-q:active { transform: scale(.98); }
.hs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.hs-main, .hs-side { display: grid; gap: 18px; min-width: 0; }
.hs-main > *, .hs-side > * { margin: 0 !important; min-width: 0; }
.hs-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); }
.hs-tools > .card-body, .hs-tools > .sk-rows { grid-column: 1 / -1; background: var(--surface); }
.hs-tool { display: flex; align-items: center; gap: 12px; padding: 14px 18px; color: inherit; text-decoration: none; background: var(--surface); transition: background .12s; -webkit-tap-highlight-color: transparent; min-width: 0; }
.hs-tool:hover { background: var(--hover); text-decoration: none; }
.hs-tool:active { background: var(--hover); }
.hs-ti { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--text-2); background: var(--bg); }
.hs-tool:hover .hs-ti { color: var(--primary); }
.hs-tt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hs-tt b { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; }
.hs-tt b .ic { color: var(--muted); }
.hs-tt small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-tools > .hs-tool:last-child:nth-child(odd) { grid-column: 1 / -1; }
.hs-use { display: grid; gap: 16px; }
.hs-u-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.hs-u-top b { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs-u-top em { font-style: normal; font-weight: 500; color: var(--muted); }
.hs-bar { height: 6px; margin-top: 7px; border-radius: 99px; background: color-mix(in srgb, var(--border) 60%, var(--surface)); overflow: hidden; }
.hs-bar span { display: block; height: 100%; border-radius: inherit; background: var(--primary); transform-origin: left; animation: wlBar .6s cubic-bezier(.2,.8,.2,1) both; }
.hs-bar.hot span { background: var(--danger); }
@media (max-width: 1080px) {
  .hs-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hs-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hs-tools { grid-template-columns: minmax(0, 1fr); }
  .hs-tools > .hs-tool:last-child:nth-child(odd) { grid-column: auto; }
}
@media (max-width: 640px) {
  .hs { gap: 14px; }
  .hs-it-top { padding: 14px 16px; gap: 12px; flex-wrap: wrap; }
  .hs-it-id { flex: 1 1 calc(100% - 130px); }
  .hs-go { order: 5; width: 100%; justify-content: center; }
  .hs-it-q { padding: 0 16px 14px; }
  .hs-av { width: 40px; height: 40px; font-size: 16px; border-radius: 11px; }
  .hs-head { flex-wrap: wrap; padding: 16px; gap: 12px; }
  .hs-head .hs-av { width: 44px; height: 44px; font-size: 18px; }
  .hs-id { flex: 1 1 calc(100% - 60px); }
  .hs-dom h1 { font-size: 18px; }
  .hs-acts { width: 100%; }
  .hs-acts > * { flex: 1; }
  .hs-acts .btn, .hs-acts [data-cp-actions] .btn { width: 100%; justify-content: center; }
  .hs-acts [data-cp-actions]:empty { display: none; }
  .hs-q { padding: 12px; font-size: 13.5px; }
  .hs-tool { padding: 13px 16px; }
}

/* v1.16: detalhes do site em 2 colunas na lateral e no celular; ajustes de celular */
@media (min-width: 1081px) {
  .hs-side .hs-info .kv { grid-template-columns: 1fr 1fr; }
  .hs-side .hs-info .kv > div { padding: 14px 18px; border-left: 0; }
  .hs-side .hs-info .kv > div:nth-child(2n) { border-left: 1px solid var(--border); }
  .hs-side .hs-info .kv > div:nth-last-child(-n+2) { border-bottom: 0; }
  .hs-side .hs-info .kv .k { font-size: 11px; }
  .hs-side .hs-info .kv .v { font-size: 14px; }
}
@media (max-width: 640px) {
  .hs .hs-info .kv { grid-template-columns: 1fr 1fr; }
  .hs .hs-info .kv > div { padding: 14px 16px; border-left: 0; }
  .hs .hs-info .kv > div:nth-child(2n) { border-left: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .hs-it-id { flex: 1 1 0; }
  .hs-it-q { padding-right: 0; }
  .hs-it-q::after { content: ""; flex: none; width: 4px; }
  .hs-head { align-items: flex-start; }
  .hs-quick { gap: 8px; }
  .hs-q { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; }
  .hs-q span { white-space: normal; line-height: 1.25; }
}

/* ---------------------------------------------------------------------
   Planos de hospedagem v1.17 (simples, padrão do sistema)
   --------------------------------------------------------------------- */
.pl-bar { margin-bottom: 22px; }
.pl-cyc { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: inherit; }
.pl-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.pl-hint .ic { color: var(--success); }
.hpls { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.hpl { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 8px); transition: border-color .15s, box-shadow .15s; }
.hpl:hover { border-color: var(--primary-line, color-mix(in srgb, var(--primary) 35%, var(--border))); box-shadow: var(--shadow); }
.hpl.on { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.hpl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 28px; }
.hpl-top h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.hpl-badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--primary); background: var(--primary-soft, color-mix(in srgb, var(--primary) 10%, var(--surface))); border-radius: 999px; }
.hpl-desc { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); min-height: 40px; }
.hpl-price { position: relative; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.hpl-price .price { margin-top: 0; }
.hpl-price .price .cur { font-size: 15px; color: var(--text-2); }
.hpl-price .price .val { font-size: 38px; }
.hpl-price .price-note { margin-top: 6px; font-size: 12.5px; }
.hpl-price .price-note s { color: var(--muted); opacity: .8; }
.hpl-save { position: absolute; top: 18px; right: 0; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; font-size: 11.5px; font-weight: 700; color: var(--success); background: color-mix(in srgb, var(--success) 10%, var(--surface)); border-radius: 999px; }
.hpl-cta { margin-top: 18px; gap: 6px; }
.hpl-cta .ic { transition: transform .15s; }
.hpl-cta:hover .ic { transform: translateX(2px); }
.hpl-sec { margin-top: 20px; }
.hpl-sec h4 { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hpl-sec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hpl-sec li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; line-height: 1.35; color: var(--text); }
.hpl-sec li .ic { flex: none; margin-top: 2px; color: var(--muted); }
.hpl.on .hpl-sec li .ic { color: var(--primary); }
.hpl-all { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 16px; padding: 14px 20px; font-size: 13.5px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 8px); }
.hpl-all b { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.hpl-all b .ic { color: var(--success); }
.hpl-all ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text-2); }
.hpl-all li { display: inline-flex; align-items: center; gap: 6px; }
.hpl-all li .ic { color: var(--muted); }
[data-plans] { container-type: inline-size; }
@container (max-width: 780px) {
  .hpls { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .hpl.on { order: -1; }
  .hpl-desc { min-height: 0; }
  .hpl-all { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .pl-bar { justify-content: center !important; }
}
@media (max-width: 640px) {
  .hpl { padding: 20px 18px; }
  .hpl-price .price .val { font-size: 34px; }
  .pl-cyc { gap: 10px; }
  .hpl-all { flex-direction: column; align-items: flex-start; padding: 14px 16px; }
  .hpl-all ul { flex-direction: column; }
}

/* ---------------------------------------------------------------------
   App instalável (PWA) v1.18: bloco em Minha conta + passo a passo
   --------------------------------------------------------------------- */
.pwa { --p: 0; padding: 20px 24px; }
.pwa-top { display: flex; align-items: center; gap: 20px; }
.pwa-top > .pwa-ic { margin: 4px; }
.pwa-ic { position: relative; width: 60px; height: 60px; flex: none; display: grid; place-items: center; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); transition: transform .35s cubic-bezier(.2,1.3,.4,1), box-shadow .3s; }
.pwa-ic > img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.pwa-ic > b { font-size: 24px; font-weight: 800; color: var(--primary); }
.pwa-ring { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); transform: rotate(-90deg); pointer-events: none; opacity: 0; transition: opacity .2s; }
.pwa-ring circle { fill: none; stroke-width: 3.5; }
.pwa-ring .trk { stroke: var(--border); }
.pwa-ring .bar { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); }
.pwa-ok { position: absolute; right: -6px; bottom: -6px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--success); border: 3px solid var(--surface); transform: scale(0); transition: transform .4s cubic-bezier(.2,1.6,.4,1); }
.pwa-ok .ic { width: 12px; height: 12px; }
.pwa-id { flex: 1; min-width: 0; display: grid; gap: 1px; }
.pwa-id b { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pwa-id small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pwa-st { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--text-2); }
.pwa-st .ic { color: var(--success); }
.pwa-act { flex: none; display: flex; align-items: center; }
.pwa-act .btn { gap: 7px; }
.pwa-pct { min-width: 52px; font-size: 20px; font-weight: 800; text-align: right; color: var(--primary); font-variant-numeric: tabular-nums; }
.pwa-done-t { font-size: 13px; color: var(--muted); max-width: 180px; text-align: right; }
.pwa-perks { list-style: none; margin: 18px 0 0; padding: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--border); }
.pwa-perks li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.35; color: var(--text-2); }
.pwa-perks .ic { flex: none; margin-top: 1px; color: var(--muted); }
/* estados */
.pwa.lift .pwa-ic { transform: translateY(-4px) scale(1.04); box-shadow: 0 12px 24px -14px rgba(0,0,0,.45); }
.pwa.s-ing .pwa-ring { opacity: 1; }
.pwa.s-ing .pwa-ic { animation: pwaBob 1.2s ease-in-out infinite; }
.pwa.s-done .pwa-ring { opacity: 1; }
.pwa.s-done .pwa-ring .bar { stroke: var(--success); transition: stroke .3s; }
.pwa.s-done .pwa-ok, .pwa.s-installed .pwa-ok, .pwa.s-running .pwa-ok { transform: scale(1); }
.pwa.s-done .pwa-ic { animation: pwaPop .55s cubic-bezier(.2,1.5,.4,1); }
.pwa-dots { display: inline-flex; gap: 3px; margin-right: 2px; }
.pwa-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); animation: pwaDot 1s ease-in-out infinite; }
.pwa-dots i:nth-child(2) { animation-delay: .15s; }
.pwa-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pwaBob { 50% { transform: translateY(-3px); } }
@keyframes pwaPop { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes pwaDot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
/* passo a passo (modal) */
.pwa-guide { display: grid; justify-items: center; gap: 12px; text-align: center; }
.pwa-guide .pwa-ic.lg { width: 72px; height: 72px; border-radius: 18px; animation: pwaPop .6s cubic-bezier(.2,1.5,.4,1) both; }
.pwa-guide > p { margin: 0; max-width: 340px; }
.pwa-steps { list-style: none; margin: 6px 0 0; padding: 0; width: 100%; display: grid; gap: 8px; text-align: left; }
.pwa-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; font-size: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg, 10px); animation: pwaIn .4s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 90ms + 120ms); }
.pwa-n { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700; color: var(--on-primary); background: var(--primary); }
.pwa-si { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 9px; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); }
.pwa-arrow { color: var(--primary); transform: rotate(90deg); animation: pwaPoint 1.2s ease-in-out infinite; }
@keyframes pwaIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes pwaPoint { 50% { transform: rotate(90deg) translateX(6px); } }
@media (max-width: 640px) {
  .pwa { padding: 16px; }
  .pwa-top { flex-wrap: wrap; }
  .pwa-top { gap: 16px; }
  .pwa-id { flex: 1 1 0; }
  .pwa-act { width: 100%; justify-content: stretch; }
  .pwa-act .btn { width: 100%; justify-content: center; height: 46px; }
  .pwa-act .pwa-pct, .pwa-act .pwa-done-t { width: 100%; text-align: center; max-width: none; }
  .pwa-perks { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .pwa-ic, .pwa-steps li, .pwa-arrow, .pwa-dots i, .pwa-guide .pwa-ic.lg { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------------
   Busca de domínios v1.19: consulta animada e resultados em cascata
   --------------------------------------------------------------------- */
.dz { display: grid; gap: 14px; min-width: 0; }
/* domínio pesquisado */
.dz-x { position: relative; display: flex; align-items: center; gap: 20px; padding: 22px 24px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 8px); overflow: hidden; }
.dz-x-l { flex: 1; min-width: 0; display: flex; align-items: center; gap: 20px; }
.dz-x > .dz-x-l { padding-left: 4px; }
.dz-x-ic { position: relative; width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: var(--bg); border: 1px solid var(--border); transition: background .3s, color .3s, border-color .3s; }
.dz-x-ic > .ic { width: 24px; height: 24px; transition: opacity .2s, transform .3s; }
.dz-x-res { position: absolute; inset: -1px; display: grid; place-items: center; border-radius: 50%; color: #fff; transform: scale(0); transition: transform .45s cubic-bezier(.2,1.6,.4,1); }
.dz-x-res .ic { width: 26px; height: 26px; }
.dz-x.ok .dz-x-res { background: var(--success); }
.dz-x.no .dz-x-res { background: color-mix(in srgb, var(--text) 35%, var(--surface)); }
.dz-x:not(.pend) .dz-x-res { transform: scale(1); }
.dz-x:not(.pend) .dz-x-ic > .ic { opacity: 0; transform: scale(.6); }
.dz-radar { position: absolute; inset: 0; pointer-events: none; }
.dz-radar i { position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--primary); opacity: 0; }
.dz-x.pend .dz-radar i { animation: dzPing 1.6s cubic-bezier(.2,.6,.4,1) infinite; }
.dz-x.pend .dz-radar i + i { animation-delay: .8s; }
.dz-x.pend .dz-x-ic { color: var(--primary); }
.dz-x.pend .dz-x-ic > .ic { animation: dzLook 1.6s ease-in-out infinite; }
.dz-x-id { min-width: 0; }
.dz-x-tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: var(--text-2); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; }
.dz-x h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; font-size: clamp(22px, 3vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; word-break: break-all; }
.dz-x h2 i, .dz-n i { font-style: normal; color: var(--primary); }
.dz-x-st { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.dz-x.ok .dz-x-st { color: var(--success); font-weight: 600; }
.dz-x.pend .dz-x-st { color: var(--text-2); font-weight: 500; }
.dz-x-r { flex: none; display: flex; align-items: center; gap: 18px; text-align: right; }
.dz-x-a .btn { min-width: 170px; height: 46px; gap: 8px; font-size: 15px; }
.dz-x-a .dz-in, .dz-btn.on { color: var(--success); border-color: color-mix(in srgb, var(--success) 40%, var(--border)); }
.dz-x.pend .dz-x-r > :not(.dz-cnt) { opacity: 0; }
.dz-x .dz-x-r > * { transition: opacity .35s ease .15s; }
.dz-cnt { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.dz-cnt b { font-size: 20px; color: var(--text); }
.dz-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.dz-prog span { display: block; height: 100%; width: 0; background: var(--primary); transition: width .5s ease, opacity .5s ease .6s; }
.dz-x:not(.pend) .dz-prog span { opacity: 0; }
.dz-x.pend .dz-prog span:not([style]) { width: 30%; animation: dzBar 1.4s ease-in-out infinite; }
/* preço */
.dz-p { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.dz-p b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dz-p.big b { font-size: 24px; letter-spacing: -.02em; }
.dz-p s { font-size: 12.5px; color: var(--muted); }
.dz-p span { font-size: 12.5px; color: var(--muted); }
.dz-ren { margin-top: 2px; font-size: 12px; color: var(--muted); }
/* lista */
.dz-lh { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.dz-lh > span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dz-tabs { display: inline-flex; gap: 4px; padding: 3px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }
.dz-tabs button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--muted); border-radius: 999px; transition: background .15s, color .15s; -webkit-tap-highlight-color: transparent; }
.dz-tabs button span { min-width: 20px; height: 18px; padding: 0 5px; display: inline-grid; place-items: center; font-size: 11px; border-radius: 99px; background: var(--bg); color: var(--text-2); }
.dz-tabs button.on { color: var(--text); background: var(--bg); }
.dz-tabs button.on span { background: var(--surface); }
.dz-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg, 8px); overflow: hidden; }
.dz-r { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 150px; align-items: center; gap: 14px; padding: 15px 20px; transition: background .2s; }
.dz-r + .dz-r { border-top: 1px solid var(--border); }
.dz-r:hover { background: var(--hover); }
.dz-r.in { background: color-mix(in srgb, var(--primary) 4%, var(--surface)); }
.dz-st { position: relative; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--muted); }
.dz-st .ic { width: 15px; height: 15px; transform: scale(0); transition: transform .4s cubic-bezier(.2,1.6,.4,1); }
.dz-r.ok .dz-st { background: color-mix(in srgb, var(--success) 12%, var(--surface)); color: var(--success); }
.dz-r:not(.pend) .dz-st .ic { transform: scale(1); }
.dz-r.pend .dz-st { background: var(--bg); color: var(--muted); }
.dz-spin { position: absolute; inset: 4px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--primary); opacity: 0; }
.dz-r.pend .dz-spin { opacity: 1; animation: dzSpin .8s linear infinite; }
.dz-n { min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.dz-n b { font-size: 16px; font-weight: 700; word-break: break-all; }
.dz-r.no .dz-n b { color: var(--muted); font-weight: 600; }
.dz-r.no .dz-n b i { color: inherit; }
.dz-pill, .dz-best { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; font-size: 11px; font-weight: 700; font-style: normal; border-radius: 999px; }
.dz-pill { color: var(--primary); background: var(--primary-soft, color-mix(in srgb, var(--primary) 10%, var(--surface))); }
.dz-best { color: var(--success); background: color-mix(in srgb, var(--success) 10%, var(--surface)); }
.dz-x h2 .dz-best { font-size: 11.5px; letter-spacing: 0; }
.dz-pr { text-align: right; }
.dz-off { font-size: 13px; color: var(--muted); }
.dz-a { display: flex; justify-content: flex-end; }
.dz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 14px; min-width: 132px; font-size: 13.5px; font-weight: 600; color: var(--primary); background: var(--surface); border: 1px solid color-mix(in srgb, var(--primary) 40%, var(--border)); border-radius: var(--radius, 8px); transition: background .15s, border-color .15s, transform .12s; -webkit-tap-highlight-color: transparent; }
.dz-btn:hover { background: color-mix(in srgb, var(--primary) 6%, var(--surface)); border-color: var(--primary); }
.dz-btn:active { transform: scale(.96); }
.dz-link { font-size: 13.5px; font-weight: 600; color: var(--primary); padding: 8px 4px; }
.dz-link:hover { text-decoration: underline; }
.dz-chk { display: none; font-size: 13px; color: var(--muted); grid-column: 3 / -1; justify-self: end; }
.dz-r.pend .dz-chk { display: inline-flex; }
.dz-r.pend .dz-pr, .dz-r.pend .dz-a { display: none; }
.dz-r.pend.act { background: color-mix(in srgb, var(--primary) 4%, var(--surface)); }
.dz-r.pend.act .dz-chk { color: var(--primary); }
.dz-r.pend .dz-n b { color: var(--text-2); }
.dz-r.done .dz-pr, .dz-r.done .dz-a { animation: dzIn .35s cubic-bezier(.2,.8,.2,1) both; }
.dz-r.done.ok { animation: dzFlash .9s ease; }
.dz.rev .dz-x { animation: dzUp .4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes dzPing { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes dzSpin { to { transform: rotate(360deg); } }
@keyframes dzLook { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(-3px, -2px); } 50% { transform: translate(3px, -1px); } 75% { transform: translate(1px, 2px); } }
@keyframes dzBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
@keyframes dzIn { from { opacity: 0; transform: translateX(8px); } }
@keyframes dzUp { from { opacity: .4; transform: translateY(4px); } }
@keyframes dzFlash { 0% { background: color-mix(in srgb, var(--success) 9%, var(--surface)); } 100% { background: transparent; } }
@media (max-width: 760px) {
  .dz-x { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 16px 20px; }
  .dz-x-ic { width: 48px; height: 48px; }
  .dz-x-r { justify-content: space-between; text-align: left; flex-wrap: wrap; gap: 12px; }
  .dz-x-r .dz-p { justify-content: flex-start; }
  .dz-x-a { flex: 1 1 100%; }
  .dz-x-a .btn { width: 100%; justify-content: center; }
  .dz-r { grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "s n a" "s p a"; row-gap: 4px; padding: 13px 14px; gap: 4px 12px; }
  .dz-st { grid-area: s; align-self: start; width: 26px; height: 26px; }
  .dz-n { grid-area: n; }
  .dz-pr { grid-area: p; text-align: left; }
  .dz-pr .dz-p { justify-content: flex-start; }
  .dz-a { grid-area: a; }
  .dz-chk { grid-area: p; justify-self: start; }
  .dz-btn { min-width: 0; width: 44px; height: 44px; padding: 0; }
  .dz-btn span { display: none; }
  .dz-n b { font-size: 15px; }
  .dz-lh { margin-top: 4px; }
  .dz-tabs { width: 100%; }
  .dz-tabs button { flex: 1; justify-content: center; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .dz *, .dz { animation: none !important; transition: none !important; }
}
