/* client.whmgpanel.com — mesmo visual do site G-Painel (base copiada de site.css) + componentes da área do cliente */
:root {
  --navy: #0b1626; --navy-2: #13233a; --navy-3: #050c17; --line-dark: #1c2c44; --line-dark-2: #2a3d5c;
  --ink: #0e1b2e; --ink-2: #3b4b63; --muted: #4a5a72; --muted-2: #5b6b82;
  --bg: #f4f6fb; --white: #ffffff; --line: #e3e8f1; --line-2: #d5ddea; --soft: #f8fafd;
  --blue: #2f6feb; --blue-d: #1d4fc4; --blue-soft: #eaf1ff;
  --orange: #f97316; --orange-t: #c2410c; --orange-l: #fdba74;
  --on-dark: #ffffff; --on-dark-2: #c9d4e6; --on-dark-3: #b5c2d6; --on-dark-4: #8fa0b8;
  --green: #16a34a; --green-l: #4ade80; --red-bg: #fee2e2; --red-t: #991b1b; --ok-bg: #dcfce7; --ok-t: #166534;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --sans: Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 16px; --gut: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-d); }
code { font-family: var(--mono); font-size: .92em; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; font: 700 15px var(--sans); border: 1px solid transparent; cursor: pointer; text-align: center; transition: background .15s, border-color .15s, color .15s; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #ea580c; color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); color: #fff; }
.btn-ghost { background: var(--navy-2); color: #fff; border-color: var(--blue); }
.btn-ghost:hover { background: #1a2e4b; color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Cabeçalho */
.site-header { background: var(--navy); border-bottom: 1px solid var(--line-dark); position: sticky; top: 0; z-index: 30; }
.nav { display: flex; align-items: center; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; flex: none; background: #fff; border-radius: 10px; padding: 4px 10px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 22px; flex: 1 1 auto; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--on-dark-2); padding: 10px 0; }
.nav-links a:hover, .nav-links a[aria-current] { color: #fff; }
.nav-spacer { flex: 1 1 auto; }
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-dark-2); background: var(--navy-2); color: #fff; font: 600 14px var(--sans); cursor: pointer; }
.lang-menu { position: absolute; right: 0; top: 52px; z-index: 40; width: 210px; background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(11,22,38,.25); padding: 6px; display: flex; flex-direction: column; }
.lang-menu[hidden] { display: none; }
.lang-opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14px; }
.lang-opt:hover { background: var(--bg); color: var(--ink); }
.lang-opt.is-on { background: var(--blue-soft); color: var(--blue-d); }
.lang-code { font: 500 12px var(--mono); color: var(--muted-2); width: 26px; }
.btn-login { flex: none; }
.burger { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-dark-2); background: var(--navy-2); color: #fff; cursor: pointer; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { border-top: 1px solid var(--line-dark); padding: 8px var(--gut) 20px; display: flex; flex-direction: column; gap: 2px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { display: flex; align-items: center; min-height: 48px; color: #fff; font-weight: 600; font-size: 16px; }
.mm-label { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-4); }
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.lang-chips .lang-opt { min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--navy-2); color: #fff; border: 1px solid var(--line-dark-2); }
.lang-chips .lang-opt.is-on { background: var(--orange); border-color: var(--orange); color: #fff; }
@media (max-width: 860px) { .desk { display: none !important; } }
@media (min-width: 861px) { .mob { display: none !important; } }
@media (max-width: 480px) { .login-txt { display: none; } .btn-login { padding: 0 12px; } .brand img { height: 34px; } }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: clamp(44px, 7vw, 72px) 0 0; overflow: hidden; }
.hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.pill { display: inline-flex; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-l); border: 1px solid #4a3220; background: #1f1a17; padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(30px, 5.4vw, 60px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; max-width: 900px; }
.accent { color: var(--orange); }
.lead { max-width: 720px; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.6; color: var(--on-dark-3); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-meta { font-size: 14px; color: var(--on-dark-4); }
.browser { width: 100%; max-width: 1080px; margin-top: 28px; border-radius: 14px 14px 0 0; background: #fff; box-shadow: 0 -10px 60px rgba(47,111,235,.35); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #e8edf5; border-bottom: 1px solid var(--line-2); }
.browser-bar i, .term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.browser-bar i:nth-child(2), .term-bar i:nth-child(2) { background: #fbbf24; }
.browser-bar i:nth-child(3), .term-bar i:nth-child(3) { background: #34d399; }
.browser-bar span { margin-left: 14px; flex: 1 1 auto; min-width: 0; max-width: 360px; height: 26px; border-radius: 7px; background: #fff; font: 500 12px var(--mono); color: var(--muted-2); display: flex; align-items: center; padding: 0 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Faixa */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip-in { padding-top: 26px; padding-bottom: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.strip-in > div { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 15px; }
.strip-in .ic { color: var(--blue); }

/* Seções */
.sec { padding: clamp(56px, 8vw, 88px) 0; }
.sec-sm { padding: clamp(44px, 6vw, 64px) 0; }
.sec-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-dark { background: var(--navy); color: #fff; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 36px; }
.sec-head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.sec-head.row { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sec-head.row > div { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-t); }
.eyebrow.light { color: var(--orange-l); }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
.h-sm { font-size: 28px; }
.sec-head p, .sub { font-size: 17px; line-height: 1.6; color: var(--muted); }
.sec-dark .sec-head p, .sec-dark .sub { color: var(--on-dark-3); }
.note { font-size: 13px; color: var(--muted-2); margin-top: 14px; }

/* Cartões */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.card-ic { color: var(--blue); }
.card-ic.orange { color: var(--orange); }
.grid-cards.dark .card { background: var(--navy-2); border-color: var(--line-dark); }
.grid-cards.dark .card p { color: var(--on-dark-3); }
.grid-cards.dark .card-ic { color: var(--orange-l); }
.big-num { font: 800 30px var(--sans); color: var(--orange-l); }
.card-dark { background: var(--navy) !important; color: #fff; border-color: var(--navy) !important; }
.card-dark p { color: var(--on-dark-3) !important; }

/* Split */
.split { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split.top { align-items: flex-start; }
.split-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split-side { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.checks li { display: flex; gap: 10px; }
.checks .ic { color: var(--green); }
.side-label { font-size: 13px; font-weight: 700; color: var(--muted-2); }
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.dest { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.dest strong { font-size: 15px; }
.dest span { font-size: 13px; color: var(--muted-2); }

/* Cloudflare */
.cf { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: 18px; padding: clamp(20px, 4vw, 32px); margin-top: 22px; }
.cf-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 64px; height: 64px; border-radius: 16px; background: #1f1a17; border: 1px solid #4a3220; color: var(--orange); }
.cf > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cf h3 { font-size: 22px; font-weight: 800; }
.cf p { font-size: 15px; line-height: 1.6; color: var(--on-dark-3); }

/* Abas */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab { min-height: 44px; padding: 0 18px; border-radius: 999px; font: 700 14px var(--sans); cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.tab.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.shot-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(14,27,46,.12); background: #fff; }
.shot-frame img[hidden] { display: none; }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.plan h3 { font-size: 22px; font-weight: 800; }
.plan-sub { font-size: 15px; color: var(--muted); margin-top: -10px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font-size: clamp(34px, 5vw, 44px); font-weight: 800; }
.price span { color: var(--muted-2); }
.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.feats li { display: flex; gap: 10px; }
.feats .ic { color: var(--green); }
.feats li.off { color: #7a8699; }
.feats li.off .ic { color: #9aa5b6; }
.plan-top { background: var(--navy); color: #fff; border: 2px solid var(--orange); }
.plan-top .plan-sub { color: var(--on-dark-3); }
.plan-top .price span { color: var(--on-dark-4); }
.plan-top .feats .ic { color: var(--green-l); }
.plan-badge { position: absolute; top: -14px; left: 28px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.table-box { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-top: 32px; }
.cmp { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 20px; text-align: left; }
.cmp thead tr { background: var(--bg); }
.cmp tbody tr { border-top: 1px solid var(--line); }
.cmp tbody th { font-weight: 600; }
.cmp .hl { color: var(--orange-t); }
.cmp .b { font-weight: 700; }
.cmp .dim { color: #7a8699; }

/* Instalação / terminal */
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; color: var(--on-dark-2); }
.term { flex: 1 1 440px; min-width: 0; background: var(--navy-3); border: 1px solid var(--line-dark); border-radius: var(--r); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); }
.term-bar span { margin-left: 10px; font: 500 12px var(--mono); color: var(--on-dark-4); }
.term-tabs { padding: 14px 16px 0; margin: 0; gap: 6px; }
.term-tabs .tab { min-height: 38px; border-radius: 8px; font-size: 13px; padding: 0 14px; background: transparent; color: var(--on-dark-2); border-color: var(--line-dark-2); }
.term-tabs .tab.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.term-body { padding: 20px; font: 400 clamp(13px, 1.8vw, 15px)/1.8 var(--mono); display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; color: var(--on-dark-2); }
.t-dim { color: var(--muted-2); }
.t-ok { color: var(--green-l); }
.t-warn { color: var(--orange-l); font-weight: 500; }
.term-note { margin: 0 20px 20px; display: flex; gap: 10px; align-items: center; background: #1f1a17; border: 1px solid #4a3220; color: var(--orange-l); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; }

/* Idiomas */
.langs-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.langs-row > div:first-child { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.langs-row p { color: var(--muted); }
.lang-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.lang-pill { padding: 0 18px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-d); font-weight: 700; }
.lang-pill.is-on { background: var(--blue); color: #fff; }

/* Rodapé */
.site-footer { background: var(--navy); color: var(--on-dark-4); padding: 36px 0; }
.foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; font-size: 14px; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.foot-logo { background: #fff; border-radius: 8px; padding: 3px 8px; display: flex; }
.foot-logo img { height: 30px; width: auto; }
.foot-text { display: flex; flex-direction: column; gap: 4px; }
.foot-copy { color: var(--on-dark-2); }
.foot-text a { color: var(--orange-l); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.foot-text a:hover { color: #fff; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--on-dark-2); padding: 8px 0; }
.foot-links a:hover { color: #fff; }

/* Páginas internas */
.page-hero { background: var(--navy); color: #fff; padding: 18px 0; }
.page-hero.dark { padding: clamp(36px, 6vw, 56px) 0 0; }
.page-hero.dark .wrap { display: flex; flex-direction: column; gap: 16px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--on-dark-2); font-weight: 600; }
.back:hover { color: #fff; }
.h1-page { font-size: clamp(28px, 4.4vw, 48px); font-weight: 800; line-height: 1.1; }

/* Contato */
.contact-sec { padding-top: clamp(36px, 6vw, 64px); }
.hint-box { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-top: 8px; }
.hint-box .ic { color: var(--blue); margin-top: 2px; }
.hint-box p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.hint-box a { font-weight: 700; }
.form { flex: 1 1 440px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 20px 50px rgba(14,27,46,.08); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.captcha .field { flex: 1 1 200px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #b9c6da; border-radius: 10px; font: 500 16px var(--sans); color: var(--ink); background: #fff; }
.field textarea { padding: 12px 14px; line-height: 1.5; resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(47,111,235,.25); outline-offset: 0; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #dc2626; }
.field small { font-size: 13px; color: var(--muted-2); }
#c-fone { font-family: var(--mono); }
.captcha { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.captcha input { max-width: 160px; font: 600 16px var(--mono); }
.captcha-q { font-family: var(--mono); }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid #b9c6da; background: #fff; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: flex-start; border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
.alert[hidden] { display: none; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-err { background: var(--red-bg); color: var(--red-t); }
.alert-ok { background: var(--ok-bg); color: var(--ok-t); }
.fine { font-size: 12px; line-height: 1.5; color: var(--muted-2); }

/* Documentação */
.search { position: relative; max-width: 640px; margin-top: 8px; }
.search .ic { position: absolute; left: 16px; top: 15px; color: var(--on-dark-4); }
.search input { width: 100%; min-height: 48px; padding: 0 16px 0 44px; border-radius: 12px; border: 1px solid var(--line-dark-2); background: var(--navy-2); color: #fff; font: 500 16px var(--sans); }
.search input::placeholder { color: var(--on-dark-4); }
.doc-tabs { display: flex; gap: 4px; margin-top: 18px; overflow-x: auto; scrollbar-width: none; }
.doc-tab { min-height: 46px; padding: 0 18px; border: 0; border-radius: 10px 10px 0 0; font: 700 15px var(--sans); cursor: pointer; white-space: nowrap; background: transparent; color: var(--on-dark-2); }
.doc-tab.is-on { background: var(--bg); color: var(--ink); }
.doc-body { padding-top: clamp(28px, 5vw, 48px); }
.doc-panel[hidden] { display: none; }
.guide { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.guide-nav { flex: 1 1 230px; max-width: 100%; display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; position: sticky; top: 86px; }
.guide-nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.guide-nav a:hover { background: var(--bg); color: var(--ink); }
.guide-nav a.is-on { background: var(--blue-soft); color: var(--blue-d); font-weight: 700; }
.guide-nav a[hidden] { display: none; }
.guide-empty { padding: 10px 12px; font-size: 14px; color: var(--muted-2); }
.guide-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.topic { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 90px; }
.topic[hidden] { display: none; }
.topic-area { font-size: 13px; font-weight: 700; color: var(--muted-2); }
.topic h2 { font-size: clamp(24px, 3vw, 32px); }
.topic h3 { font-size: 17px; font-weight: 800; margin-top: 4px; }
.topic-intro { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.topic ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.tip { display: flex; gap: 12px; align-items: flex-start; background: var(--blue-soft); border-radius: 12px; padding: 14px 16px; color: #1e3a8a; }
.tip p { font-size: 14px; line-height: 1.6; }
.route-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.route-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--soft); color: var(--ink); max-width: 100%; }
.route-chip code { overflow-wrap: anywhere; }
.route-chip:hover { border-color: var(--blue); color: var(--ink); }
.m { display: inline-block; min-width: 58px; text-align: center; padding: 3px 8px; border-radius: 6px; font: 700 12px var(--mono); flex: none; }
.m-get { background: #dbeafe; color: #1e40af; }
.m-post { background: #dcfce7; color: #166534; }
.m-put, .m-patch { background: #fef3c7; color: #92400e; }
.m-delete { background: #fee2e2; color: #991b1b; }
.api-start { background: var(--navy); color: #fff; border-radius: var(--r); padding: clamp(18px, 3vw, 26px); display: flex; flex-direction: column; gap: 12px; }
.api-start h2 { font-size: 18px; }
.api-start p { font-size: 14px; line-height: 1.6; color: var(--on-dark-3); }
.api-start code { color: var(--orange-l); }
.codebox { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--navy-3); border: 1px solid var(--line-dark); border-radius: 10px; padding: 12px 14px; }
.codebox pre { flex: 1 1 260px; min-width: 0; margin: 0; font: 500 13px/1.7 var(--mono); color: var(--on-dark-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-dark-2); background: var(--navy-2); color: #fff; font: 600 13px var(--sans); cursor: pointer; }
.copy-btn:hover { border-color: var(--blue); }
.admin-note { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-top: 18px; }
.admin-ic { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: #fff4ea; color: var(--orange-t); }
.admin-note strong { font-size: 15px; }
.admin-note p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin-top: 4px; }
.api-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
.api-filters .lbl { font-size: 13px; font-weight: 700; color: var(--muted-2); margin-right: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; font: 600 13px var(--sans); cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13px; color: var(--muted-2); margin-top: 14px; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.acc { padding: 2px 10px; border-radius: 999px; font: 700 12px var(--sans); white-space: nowrap; }
.acc-customer { background: var(--ok-bg); color: var(--ok-t); }
.acc-auth { background: #e0e7ff; color: #3730a3; }
.acc-public { background: #e5e7eb; color: #374151; }
.async-tag { font-weight: 700; color: #6d28d9; white-space: nowrap; }
.pt-note { font-size: 13px; color: var(--muted-2); margin-top: 10px; font-style: italic; }
.pt-note[hidden] { display: none; }
.api-list { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
.api-group h3 { font-size: 17px; font-weight: 800; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.api-group h3 small { font-size: 12px; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }
.api-group > p { font-size: 14px; color: var(--muted); margin: 4px 0 10px; line-height: 1.55; }
.api-ops { display: flex; flex-direction: column; gap: 8px; }
.op { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; scroll-margin-top: 90px; }
.op.is-target { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,111,235,.2); }
.op-head { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border: 0; background: transparent; text-align: left; cursor: pointer; font-family: var(--sans); color: var(--ink); min-height: 48px; }
.op-head code { font-weight: 600; font-size: 14px; overflow-wrap: anywhere; min-width: 0; }
.op-head .op-sum { flex: 1 1 220px; min-width: 0; font-size: 14px; color: var(--muted); }
.op-head .chev { transition: transform .15s; color: var(--muted-2); }
.op-head[aria-expanded="true"] .chev { transform: rotate(180deg); }
.op-body { border-top: 1px solid var(--line); padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 14px; background: #fbfcfe; }
.op-body[hidden] { display: none; }
.op-body > p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.tbl table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 9px 12px; text-align: left; }
.tbl thead tr { background: var(--bg); }
.tbl tbody tr { border-top: 1px solid var(--line); }
.tbl td:first-child { font-family: var(--mono); font-size: 13px; }
.tbl td.dim { color: var(--muted-2); }
.curl { background: var(--navy-3); border-radius: 10px; overflow: hidden; }
.curl-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 10px 6px 12px; border-bottom: 1px solid var(--line-dark); }
.curl-bar span { font: 600 12px var(--mono); color: var(--on-dark-4); }
.curl pre { margin: 0; padding: 14px; font: 500 13px/1.7 var(--mono); color: var(--on-dark-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
#tab-dev .card p code { background: var(--bg); padding: 1px 6px; border-radius: 5px; }
#tab-dev .card-dark p code { background: var(--navy-2); }

/* 404 */
.e404 .center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 40px 0; }
.big-404 { font: 800 clamp(72px, 14vw, 140px)/1 var(--sans); color: var(--blue); letter-spacing: -.04em; }

@media (max-width: 860px) {
  .guide-nav { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding: 8px; gap: 6px; scrollbar-width: thin; }
  .guide-nav a { white-space: nowrap; flex: none; border: 1px solid var(--line); }
  .guide-nav a.is-on { border-color: var(--blue-soft); }
}
.foot-text a { white-space: nowrap; }

/* Comandos de instalação */
.term-panel[hidden] { display: none; }
.cmd-line { display: flex; gap: 8px; align-items: baseline; }
.cmd-line code { color: #fff; font-size: clamp(12.5px, 1.25vw, 14px); line-height: 1.7; white-space: normal; overflow-wrap: anywhere; }
.term-actions { display: flex; justify-content: flex-end; padding: 0 20px 16px; }
.term-note { color: var(--on-dark-2); background: var(--navy-2); border-color: var(--line-dark-2); font-weight: 500; line-height: 1.5; align-items: flex-start; }
.term-note .ic { color: var(--orange-l); margin-top: 2px; }
.nw { white-space: nowrap; }

/* Botões indisponíveis ("Em breve") */
.btn.is-soon { opacity: .6; cursor: not-allowed; pointer-events: none; }
.btn-login.is-soon { opacity: .75; }
.soon-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .9; margin-left: 4px; }
@media (max-width: 480px) { .btn-login.is-soon .login-txt { display: none; } }

/* ============================================================ Área do cliente */
:root { --warn-bg: #fef3c7; --warn-t: #92400e; --info-bg: #e0e7ff; --info-t: #3730a3; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn.danger, .btn-outline.danger { color: #b91c1c; border-color: #fca5a5; }
.btn.danger:hover { background: #fef2f2; }
.mono { font-family: var(--mono); }
.small { font-size: 13px; }
.muted { color: var(--muted); font-size: 15px; }
.mt { margin-top: 14px; }
.ml-auto { margin-left: auto; }
.center { text-align: center; }
.wrap-any { overflow-wrap: anywhere; }
.warn-t { color: var(--orange-t); }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.row-gap { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row-between { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.grow { flex: 1 1 220px; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; align-items: start; }
.as-link { width: 100%; border: 0; background: none; cursor: pointer; font: inherit; text-align: left; }
.mm-link { display: flex; align-items: center; min-height: 48px; color: #fff; font: 600 16px var(--sans); background: none; border: 0; padding: 0; cursor: pointer; }
.user-btn .user-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-links .count { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; align-items: center; justify-content: center; }
.admin-tag { font: 800 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-l); border: 1px solid #4a3220; background: #1f1a17; border-radius: 999px; padding: 4px 10px; }
.is-admin .nav-links { gap: 4px 18px; font-size: 14px; }
.admin-foot .foot { font-size: 13px; }

/* Cabeçalho das páginas */
.page-hero { padding: clamp(24px, 4vw, 40px) 0; }
.ph-in { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; }
.ph-in > div:first-child { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ph-sub { color: var(--on-dark-3); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.h1-page { font-size: clamp(26px, 4vw, 40px); overflow-wrap: anywhere; }
.flash-wrap { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.alert { align-items: center; }
.alert-info { background: var(--info-bg); color: var(--info-t); }
.alert > span { flex: 1 1 auto; }

/* Hero menor e seletor de moeda */
.hero-sm { padding-bottom: clamp(36px, 6vw, 56px); }
.hero-sm h1 { font-size: clamp(30px, 5vw, 52px); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: var(--navy-2); border: 1px solid var(--line-dark-2); align-items: center; }
.seg-opt { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: var(--on-dark-2); font-weight: 700; font-size: 14px; cursor: pointer; }
.seg-opt.is-on, .seg-opt:has(input:checked) { background: var(--orange); color: #fff; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.seg-light { background: var(--bg); border-color: var(--line); margin-top: 14px; }
.seg-light .seg-opt { color: var(--ink-2); }
.seg-light .seg-opt:has(input:checked) { background: var(--navy); color: #fff; }
.seg-lbl { font-size: 13px; font-weight: 700; color: var(--muted-2); padding: 0 8px 0 10px; }

/* Planos em destaque */
.plans-sec { padding-top: clamp(40px, 6vw, 64px); }
.plans-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); max-width: 880px; margin: 0 auto; }
.plan-h { font-size: 26px; font-weight: 800; }
.cycles { list-style: none; margin: -6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.cycles li { display: flex; gap: 8px; align-items: baseline; }
.cycles li span { flex: 1 1 auto; color: var(--muted); }
.plan-top .cycles li span { color: var(--on-dark-3); }
.cycles em { font-style: normal; font-weight: 800; font-size: 12px; color: var(--ok-t); background: var(--ok-bg); padding: 1px 7px; border-radius: 999px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.how li { display: flex; gap: 14px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.how-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.how h3 { font-size: 17px; margin-bottom: 6px; }
.how p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.faq { max-width: 820px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { min-height: 52px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.faq details p { padding-bottom: 16px; color: var(--ink-2); line-height: 1.6; font-size: 15px; }

/* Painéis, formulários e tabelas */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 26px); min-width: 0; }
fieldset.panel { margin: 0; }
.panel-t { font-size: 18px; font-weight: 800; margin-bottom: 14px; padding: 0; display: flex; align-items: center; gap: 8px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel-head .panel-t { margin: 0; }
.panel-d { color: var(--muted); font-size: 15px; margin: -6px 0 14px; line-height: 1.55; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.narrow { max-width: 820px; }
.field select, .filters select, .filters input, .inline-field select, .row-gap input.grow { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #b9c6da; border-radius: 10px; font: 500 15px var(--sans); color: var(--ink); background: #fff; }
.field input.mono { font-family: var(--mono); letter-spacing: .02em; }
.field .opt, .lbl .opt { font-weight: 500; color: var(--muted-2); font-size: 13px; }
.lbl { font-size: 14px; font-weight: 700; padding: 0; margin-bottom: 8px; }
fieldset.field, fieldset.remote-box { border: 0; padding: 0; margin: 0; min-width: 0; }
.remote-box { background: var(--soft) !important; border: 1px solid var(--line) !important; border-radius: 14px; padding: 16px !important; display: flex; flex-direction: column; gap: 10px; }
.remote-box[hidden], .ssh-fields[hidden] { display: none !important; }
.ssh-fields { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.self-end { align-self: end; min-height: 46px; align-items: center; }
.hint { display: flex; gap: 10px; align-items: flex-start; background: var(--blue-soft); color: #1e3a8a; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.55; }
.hint .ic { margin-top: 1px; }
.fine .ic { display: inline; vertical-align: -2px; }
.link-sm { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; min-height: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters input, .filters select { width: auto; flex: 1 1 200px; }
.inline-field { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; flex: 1 1 260px; }
.inline-field select { flex: 1 1 160px; width: auto; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.choice-grid + .choice-grid { margin-top: 12px; }
.choice { position: relative; display: flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-in { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; border: 2px solid var(--line-2); border-radius: 14px; padding: 14px 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.choice-in strong { font-size: 16px; }
.choice-in small { color: var(--muted); font-size: 14px; }
.choice input:checked + .choice-in { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.15); }
.choice input:focus-visible + .choice-in { outline: 3px solid var(--blue); outline-offset: 2px; }
.disc { font-style: normal; align-self: flex-start; font-weight: 800; font-size: 12px; color: var(--ok-t); background: var(--ok-bg); padding: 2px 8px; border-radius: 999px; }
.steps-bar { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 700; color: var(--muted-2); }
.steps-bar li { display: flex; align-items: center; gap: 8px; }
.steps-bar span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 13px; background: #fff; }
.steps-bar li.cur { color: var(--ink); }
.steps-bar li.cur span { border-color: var(--orange); background: var(--orange); color: #fff; }
.steps-bar li.done span { border-color: var(--green); background: var(--green); color: #fff; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.order-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.order-side { position: sticky; top: 90px; }
.summary { display: flex; flex-direction: column; gap: 14px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.sum-total strong { font-size: 30px; font-weight: 800; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } .order-side { position: static; } }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 15px; }
.kv dt { color: var(--muted-2); font-weight: 600; }
.kv dd { margin: 0; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
@media (max-width: 520px) { .kv-wide { grid-template-columns: 1fr; gap: 2px; } .kv-wide dd { margin-bottom: 8px; } }
.tbl-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { padding: 12px 12px; text-align: left; vertical-align: top; }
.table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table tbody tr { border-top: 1px solid var(--line); }
.table tbody tr:first-child { border-top: 0; }
.table small { color: var(--muted-2); }
.table .r { text-align: right; }
.table tfoot th, .table tfoot td { border-top: 2px solid var(--line); padding-top: 12px; }
.t-act { text-align: right; white-space: nowrap; }
.row-hl { background: #fff8f1; }
@media (max-width: 720px) {
  .table thead { display: none; }
  .table tbody tr { display: block; padding: 12px 0; }
  .table tbody td { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 4px 0; }
  .table tbody td::before { content: attr(data-l); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); padding-top: 2px; }
  .table tbody td.t-act { display: block; text-align: left; padding-top: 8px; }
  .table tbody td.t-act::before { content: none; }
  .table tbody td[colspan] { display: block; }
  .table tbody td[colspan]::before { content: none; }
  .row-hl { background: transparent; box-shadow: inset 3px 0 0 var(--orange); padding-left: 10px !important; }
}
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font: 700 12px var(--sans); white-space: nowrap; }
.b-ok { background: var(--ok-bg); color: var(--ok-t); }
.b-warn { background: var(--warn-bg); color: var(--warn-t); }
.b-err { background: var(--red-bg); color: var(--red-t); }
.b-info { background: var(--info-bg); color: var(--info-t); }
.b-mute { background: #e5e7eb; color: #374151; }
.b-orange { background: #ffedd5; color: var(--orange-t); }
.ph-sub .badge { font-size: 12px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; color: var(--ink); }
.stat .ic { grid-row: span 2; color: var(--blue); width: 40px; height: 40px; padding: 9px; background: var(--blue-soft); border-radius: 12px; }
.stat strong { font-size: 26px; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat:hover { border-color: var(--blue); color: var(--ink); }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.list li { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; padding-top: 0; }
.list li a { color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.list li a:hover strong { color: var(--blue); }
.list small { color: var(--muted-2); }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 30px 10px; color: var(--muted); }
.empty .ic { color: var(--blue); }
.danger-box { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.danger-box[open] { padding-bottom: 14px; display: flex; flex-direction: column; gap: 12px; }
.danger-box summary { min-height: 46px; display: flex; align-items: center; font-weight: 700; cursor: pointer; font-size: 15px; }
.danger-box[open] > * + * { margin-top: 0; }
.icon-btn.sm { width: 34px; height: 34px; border-radius: 8px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; }
.pg { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; font-weight: 700; color: var(--ink); }
.pg.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pg-gap { padding: 0 6px; align-self: center; }

/* Login e cadastro */
.auth-sec { padding-top: clamp(32px, 6vw, 64px); }
.auth-wrap { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 20px 50px rgba(14,27,46,.08); display: flex; flex-direction: column; gap: 14px; }
.auth-card .sub { font-size: 15px; color: var(--muted); }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 700; }
.auth-links a { min-height: 36px; display: inline-flex; align-items: center; }

/* Pedido concluído */
.center-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 680px; }
.done-ic { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ok-bg); color: var(--green); }
.done-ic.wait { background: var(--info-bg); color: var(--info-t); }
.lic-big { font-size: clamp(16px, 3vw, 22px); font-weight: 600; background: #fff; border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 16px; overflow-wrap: anywhere; }

/* Tickets */
.ticket-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
@media (max-width: 900px) { .ticket-grid { grid-template-columns: 1fr; } }
.thread { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.msg { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.msg-staff { background: #f5f8ff; border-color: #cfdcf8; }
.msg-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; font-size: 14px; }
.msg-head time { margin-left: auto; color: var(--muted-2); font-size: 13px; }
.msg-body { font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; color: var(--ink-2); }
.ssh-panel { border-color: #fdba74; background: #fffaf5; }
.secret { background: var(--navy); color: #fff; padding: 2px 8px; border-radius: 6px; }
.h4 { font-size: 12px; }

/* Recibo e textos legais */
.receipt { display: flex; flex-direction: column; gap: 22px; max-width: 860px; }
.rc-head { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.rc-head > div { text-align: right; }
.legal { max-width: 860px; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.legal h2 { font-size: 19px; margin-top: 14px; color: var(--ink); }
.legal ul, .legal ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 10px; font-weight: 700; }
.codebox-light { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: 500 12.5px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0 0; }

/* Diálogo de confirmação */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(5,12,23,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-box { background: #fff; border-radius: 18px; padding: 24px; max-width: 460px; width: 100%; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal-box h2 { font-size: 20px; }
.modal-box p { color: var(--ink-2); line-height: 1.6; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 110; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

@media print {
  .site-header, .site-footer, .no-print, .page-hero { display: none !important; }
  body { background: #fff; }
  .panel { border: 0; padding: 0; }
}

/* Ajustes: legendas dentro do painel e selects soltos */
legend.panel-t { float: left; width: 100%; }
legend.panel-t + * { clear: both; }
.form-stack > select, .panel form > select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #b9c6da; border-radius: 10px; font: 500 15px var(--sans); color: var(--ink); background: #fff; }
.stats.six { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
