@import url("design-system/styles.css");

/* ===========================================================================
   Lynm Conecta v3 — preto, branco e dourado
   Tokens e primitivas vêm de design-system/. Aqui ficam a estrutura das telas
   e o acabamento. Profundidade só nos blocos escuros (menu, cabeçalho de página
   e entrada); botões, ícones e cartões são sólidos e sóbrios.
   =========================================================================== */
:root {
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --shadow-xs: 0 1px 2px rgba(20, 18, 12, .06);
  --shadow-sm: 0 1px 2px rgba(20, 18, 12, .05), 0 12px 28px -22px rgba(20, 18, 12, .3);
  --shadow-md: 0 1px 2px rgba(20, 18, 12, .06), 0 18px 36px -24px rgba(20, 18, 12, .42);
  /* dourado da logo, com os tons de hover e de clique */
  --gold: #eba40e;
  --gold-hover: #d8930a;
  --gold-press: #c4850a;
  --gold-ink: #16120a;
  --gold-tint: #fdf6e6;
  --ink: #16161a;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fo-dot: var(--gold);
}

/* ------------------------------------------------------------------ base */
html { scroll-behavior: smooth; }
body { background: var(--c-paper-100); color: var(--c-text-900); font-feature-settings: "cv11", "ss01"; }
::selection { background: rgba(235, 164, 14, .28); }
:focus-visible { outline: 2px solid var(--c-gold-600); outline-offset: 2px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.muted { color: var(--c-text-500); }
.small { font-size: 12.5px; }
body.modal-open, body.nav-open, body.touring { overflow: hidden; }
#main-content:focus { outline: none; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 500; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ----------------------------------------------------------------- ícones */
.ic { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.orbit { display: block; width: 100%; height: auto; }
.brand-logo { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------ blocos de ícone
   Fundo liso e contorno fino: o ícone de traço fica nítido e sóbrio. */
.tile { --t-c: #8a6212; --t-bg: #fbf3e1; --t-line: rgba(158, 114, 34, .2);
  width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 10px;
  color: var(--t-c); background: var(--t-bg); box-shadow: inset 0 0 0 1px var(--t-line); }
.tile .ic { width: 19px; height: 19px; }
.tile--sm { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; }
.tile--sm .ic { width: 16px; height: 16px; }
.tile--green, .flow__n--green { --t-c: #0f7a4c; --t-bg: #ebf6ef; --t-line: rgba(15, 122, 76, .18); }
.tile--orange, .flow__n--orange { --t-c: #b8430f; --t-bg: #fff2e8; --t-line: rgba(184, 67, 15, .18); }
.tile--red { --t-c: #b8342a; --t-bg: #fdefed; --t-line: rgba(184, 52, 42, .18); }
.tile--blue, .flow__n--blue { --t-c: #1f5fbf; --t-bg: #edf3fd; --t-line: rgba(31, 95, 191, .16); }
.tile--teal, .flow__n--teal { --t-c: #0e7472; --t-bg: #e8f5f4; --t-line: rgba(14, 116, 114, .16); }
.tile--slate { --t-c: #57534e; --t-bg: #f3f1ec; --t-line: rgba(87, 83, 78, .16); }
.flow__n--gold { --t-c: #8a6212; --t-bg: #fbf3e1; --t-line: rgba(158, 114, 34, .2); }
.tile--ink { --t-c: var(--gold); --t-bg: var(--ink); --t-line: rgba(255, 255, 255, .06); }
.tile--gold-solid { --t-c: var(--gold-ink); --t-bg: var(--gold); --t-line: rgba(0, 0, 0, .06); }

/* ---------------------------------------------------------------- botões
   Cores sólidas e cantos firmes. O principal usa o dourado da logo. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 10px; border: 1px solid #d3cdc0; background: #fff;
  color: var(--c-text-900); font: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  cursor: pointer; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s; }
.btn:hover { border-color: #b8b0a0; background: #faf9f6; color: var(--c-text-900); }
.btn:active { background: #f3f1ec; }
.btn .ic { width: 17px; height: 17px; }
.btn--sm { min-height: 34px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; gap: 6px; }
.btn--sm .ic { width: 15px; height: 15px; }
.btn--lg { min-height: 50px; padding: 0 22px; border-radius: 12px; font-size: 14.5px; }
.btn--w { width: 100%; }
.btn--icon { width: 34px; padding: 0; }
.btn--p, .btn--p:hover, .btn--p:active, .btn--p[disabled]:hover { color: var(--gold-ink); }
.btn--p { background: var(--gold); border-color: var(--gold-hover); }
.btn--p:hover { background: var(--gold-hover); border-color: var(--gold-press); }
.btn--p:active { background: var(--gold-press); }
.btn--p[disabled], .btn--p[disabled]:hover { background: var(--gold); border-color: var(--gold-hover); }
.btn--dark, .btn--dark:hover { color: #fff; }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: #2a2a30; border-color: #2a2a30; }
.btn--dark .ic { color: var(--gold); }
.btn--g, .btn--g:hover, .btn--g[disabled]:hover { color: #fff; }
.btn--g { background: #0f7a4c; border-color: #0c6a41; }
.btn--g:hover { background: #0c6a41; border-color: #0a5c38; filter: none; }
.btn--g[disabled], .btn--g[disabled]:hover { background: #0f7a4c; border-color: #0c6a41; }
.btn--danger, .btn--danger:hover { color: #fff; }
.btn--danger { background: #c0392b; border-color: #a93226; }
.btn--danger:hover { background: #a93226; border-color: #922b21; }
.btn--danger-ghost { color: #b8342a; border-color: rgba(184, 52, 42, .35); }
.btn--danger-ghost:hover { color: #9c2a22; background: #fdf1f0; border-color: rgba(184, 52, 42, .5); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--c-text-700); }
.btn--ghost:hover { background: var(--c-paper-200); border-color: transparent; }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); }
.btn--glass:hover { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.btn--glass .ic { color: var(--gold); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.is-fake { pointer-events: none; }
.btn.is-busy { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(22, 17, 10, .25); border-top-color: var(--gold-ink); animation: spin .7s linear infinite; }
.btn.is-busy .ic { visibility: hidden; }
@keyframes spin { to { transform: rotate(360deg); } }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--c-gold-800); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(122, 86, 23, .35); text-underline-offset: 3px; text-align: left; }
.linkbtn:hover { text-decoration-color: currentColor; color: var(--c-gold-900); }
a.link, .link { color: var(--c-gold-800); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(122, 86, 23, .4); }
a.link:hover { color: var(--c-gold-900); }
.iconbtn { position: relative; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 10px; border: 1px solid #d3cdc0;
  background: #fff; display: grid; place-items: center; color: var(--c-text-900); cursor: pointer; transition: background .15s, border-color .15s; }
.iconbtn:hover { background: #faf9f6; border-color: #b8b0a0; }
.dot { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center;
  background: var(--gold); color: var(--gold-ink); font-size: 10.5px; font-weight: 800; border: 2px solid var(--c-paper-100); }
.x { width: 36px; height: 36px; flex: 0 0 36px; margin-left: auto; display: grid; place-items: center; border: 0; border-radius: 8px;
  background: none; color: var(--c-text-500); cursor: pointer; padding: 0; font-size: inherit; }
.x:hover { background: var(--c-paper-200); color: var(--c-text-900); }
.x .ic { width: 18px; height: 18px; }
kbd { font-family: inherit; font-size: 11px; font-weight: 650; min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center;
  border-radius: 6px; border: 1px solid var(--c-paper-300); background: var(--c-paper-50); color: var(--c-text-500); box-shadow: inset 0 -1px 0 var(--c-paper-300); }

/* ----------------------------------------------------------------- selos */
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 0; border-radius: 0; background: none; font-size: 12.5px; font-weight: 600;
  line-height: 1.4; white-space: nowrap; color: var(--b-c, #57534e); }
.badge::before { content: ""; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--b-dot, #9a958a); }
.b-gold { --b-c: #7a5617; --b-dot: #eba40e; }
.b-green { --b-c: #0d6b43; --b-dot: #1a9b62; }
.b-orange { --b-c: #a3400f; --b-dot: #e3782f; }
.b-red { --b-c: #b02e25; --b-dot: #d9443a; }
.b-blue { --b-c: #1c56ad; --b-dot: #3a7be0; }
.b-teal { --b-c: #0c6664; --b-dot: #16928f; }
.b-slate { --b-c: #57534e; --b-dot: #9a958a; }
.chips { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--c-text-700); white-space: nowrap; }
.fchip i { width: 8px; height: 8px; border-radius: 2px; background: var(--fc, #8a867c); }
.fchip--gold { --fc: var(--gold); } .fchip--blue { --fc: #1f5fbf; } .fchip--teal { --fc: #0e7472; } .fchip--ink { --fc: #16161a; }

/* --------------------------------------------------------------- avatares */
.av { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; letter-spacing: .02em;
  color: var(--av-c, var(--gold-ink)); background: var(--av-bg, var(--gold)); }
.av--gold { --av-c: var(--gold-ink); --av-bg: var(--gold); }
.av--teal { --av-c: #fff; --av-bg: #0e7472; }
.av--blue { --av-c: #fff; --av-bg: #1f5fbf; }
.av--ink { --av-c: var(--gold); --av-bg: var(--ink); }
.av--green { --av-c: #fff; --av-bg: #0f7a4c; }
.av--orange { --av-c: #fff; --av-bg: #b8430f; }
.av--round { border-radius: 50%; }

/* ----------------------------------------------------------- formulários */
label.f, legend.f { display: block; margin: 0 0 6px; padding: 0; font-size: 12.5px; font-weight: 650; color: var(--c-text-700); }
.opt { margin-left: 6px; font-weight: 500; font-size: 11.5px; color: var(--c-text-500); }
.inp { width: 100%; min-height: 44px; padding: 10px 13px; border-radius: 12px; border: 1px solid var(--c-paper-300); background: #fff; font: inherit; font-size: 14px;
  color: var(--c-text-900); outline: none; box-shadow: inset 0 1px 2px rgba(20, 18, 12, .04); transition: border-color .15s, box-shadow .15s; }
.inp::placeholder { color: #a39e92; }
.inp:hover { border-color: var(--c-paper-400); }
.inp:focus { border-color: var(--gold-hover); box-shadow: 0 0 0 4px rgba(235, 164, 14, .18); }
textarea.inp { min-height: 88px; resize: vertical; line-height: 1.5; }
select.inp { appearance: none; -webkit-appearance: none; padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6b61' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.inp[readonly] { background: var(--c-paper-50); }
.inp--mono { font-family: var(--font-mono); font-size: 12px; }
.fld { margin-bottom: 14px; }
.fld__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1 1 200px; min-width: 0; }
.help { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--c-text-500); }
.field { position: relative; display: flex; align-items: center; }
.field > .ic { position: absolute; left: 13px; width: 17px; height: 17px; color: #a39e92; pointer-events: none; }
.field > .inp { padding-left: 40px; }
.field__btn { position: absolute; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--c-text-500); display: grid; place-items: center; cursor: pointer; }
.field__btn:hover { background: var(--c-paper-200); color: var(--c-text-900); }
.field--search { flex: 1 1 260px; max-width: 380px; }
.field--search .inp { min-height: 40px; }
.inp[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* --------------------------------------------------------- menu lateral
   Painel escuro e limpo: marca, quem está usando e as páginas. Cada item
   traz em uma linha o que se faz nele; o item atual é o único em dourado. */
.app { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 100vh; }
.rail { position: sticky; top: 12px; z-index: 40; display: flex; flex-direction: column; height: calc(100vh - 24px); height: calc(100dvh - 24px);
  margin: 12px 0 12px 12px; border-radius: 20px; overflow: hidden; color: var(--text-nav);
  background: linear-gradient(180deg, #161619 0%, #0f0f11 100%); border: 1px solid rgba(255, 255, 255, .06); }
.rail__top { display: flex; align-items: center; gap: 8px; padding: 24px 18px 4px 22px; }
.rail__brand { display: block; width: 168px; }
.rail__close { display: none; color: #fff; }
.rail__close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.rail__area { padding: 4px 22px 18px; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #8f897d; }
.rail__scroll { flex: 1; overflow-y: auto; padding: 0 12px 16px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .14) transparent; }
.rail__me { display: flex; align-items: center; gap: 12px; margin: 0 10px 8px; padding: 0 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.rail__who { min-width: 0; }
.rail__who b { display: block; color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail__who small { display: block; color: #8f897d; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail__alert { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 11.5px; font-weight: 600; }
.rail__alert i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rail__alert--orange { color: #f5a36d; }
.rail__alert--blue { color: #8fb5f5; }
.rail__nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
.rail__group { margin: 18px 10px 6px; font-size: 10px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: #6f6a61; }
.rail__item { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: #e2ded4; transition: background .15s, color .15s; }
.rail__item:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.rail__ico { width: 20px; flex: 0 0 20px; display: grid; place-items: center; color: #a29c8f; transition: color .15s; }
.rail__item:hover .rail__ico { color: var(--gold); }
.rail__ico .ic { width: 18px; height: 18px; }
.rail__txt { min-width: 0; flex: 1; }
.rail__txt b { display: block; font-size: 13.5px; font-weight: 550; line-height: 1.3; }
.rail__txt small { display: block; margin-top: 1px; font-size: 11.5px; color: #7d786e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail__item.is-on { color: var(--gold-ink); background: var(--gold); }
.rail__item.is-on .rail__ico { color: var(--gold-ink); }
.rail__item.is-on .rail__txt b { font-weight: 650; }
.rail__item.is-on .rail__txt small { color: rgba(22, 17, 10, .7); }
.rail__count { min-width: 18px; text-align: right; font-size: 12px; font-weight: 700; color: #f3b73a; }
.rail__count--red { color: #ff8f88; }
.rail__item.is-on .rail__count { color: var(--gold-ink); }
.rail__foot { display: grid; gap: 1px; padding: 8px 12px 12px; border-top: 1px solid rgba(255, 255, 255, .07); }
.rail__link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: #b9b3a6; font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.rail__link:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.rail__link .ic { width: 18px; height: 18px; color: #a29c8f; }
.rail__link:hover .ic { color: var(--gold); }
.nav-backdrop { display: none; }

/* ------------------------------------------------------ faixa de contexto */
.app__main { min-width: 0; display: flex; flex-direction: column; background: radial-gradient(900px 420px at 85% -140px, rgba(235, 164, 14, .1), transparent 65%) no-repeat; }
.appbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 14px 32px;
  background: rgba(247, 246, 242, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.appbar__menu, .appbar__brand { display: none; }
.crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; color: var(--c-text-500); white-space: nowrap; }
.crumbs .ic { width: 14px; height: 14px; color: var(--c-paper-400); }
.crumbs a:hover { color: var(--c-text-900); }
.crumbs b { font-weight: 650; color: var(--c-text-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar__r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search { display: flex; align-items: center; gap: 10px; width: 300px; max-width: 100%; height: 42px; padding: 0 8px 0 14px; border-radius: 10px;
  border: 1px solid #d3cdc0; background: #fff; color: var(--c-text-500); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s; }
.search:hover { border-color: #b8b0a0; }
.search > .ic { color: var(--c-gold-800); }
.search span { flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appbar__help { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 10px;
  border: 1.5px solid var(--gold); background: #fff; color: var(--c-text-900); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: background .15s; }
.appbar__help:hover { background: var(--gold-tint); }
.appbar__help .ic { color: var(--c-gold-800); }

/* ---------------------------------------------------------------- página */
.canvas { width: 100%; max-width: 1280px; margin: 0 auto; padding: 8px 32px 56px; }
.canvas__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 26px; min-width: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 14px; font-size: 13px; font-weight: 650; color: var(--c-text-700); }
.back:hover { color: var(--c-gold-800); }
.back .ic { width: 16px; height: 16px; }
.canvas__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--c-paper-300); font-size: 12px; color: var(--c-text-500); }
.canvas__foot .brand-logo--xs { width: 96px; opacity: .9; }
.canvas__foot-r { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.canvas__foot-r .ic { width: 14px; height: 14px; color: #b07d12; }

/* ----------------------------------------------------------------- palco
   O cabeçalho de cada tela: preto em camadas, com brilho dourado, grade
   fina, textura e a órbita da marca. As métricas avançam sobre a borda. */
.stage { position: relative; isolation: isolate; overflow: hidden; padding: 26px 30px 30px; border-radius: 28px; color: #fff;
  background: radial-gradient(640px 320px at 100% 0%, rgba(235, 164, 14, .34), transparent 62%),
    radial-gradient(520px 300px at -5% 110%, rgba(198, 146, 50, .2), transparent 60%),
    linear-gradient(135deg, #1a1a1f 0%, #0f0f12 55%, #17130b 100%);
  border: 1px solid rgba(255, 255, 255, .06); box-shadow: 0 34px 60px -34px rgba(12, 12, 14, .7), inset 0 1px 0 rgba(255, 255, 255, .06); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(237, 197, 106, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 197, 106, .07) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: radial-gradient(90% 130% at 100% 0%, #000 8%, transparent 62%); mask-image: radial-gradient(90% 130% at 100% 0%, #000 8%, transparent 62%); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .3; mix-blend-mode: soft-light; pointer-events: none; }
.stage__orbit { position: absolute; right: -70px; top: -40px; width: 540px; color: rgba(237, 197, 106, .2); z-index: -1; pointer-events: none; }
.stage--metrics { padding-bottom: 88px; }
.stage__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 10.5px; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; color: #edc56a; }
.eyebrow i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #edc56a; box-shadow: 0 0 0 4px rgba(237, 197, 106, .18); }
.stage__date { font-size: 12px; color: rgba(255, 255, 255, .58); }
.stage__date::first-letter { text-transform: uppercase; }
.stage__head { display: flex; align-items: flex-end; gap: 24px; }
.stage__copy { flex: 1; min-width: 0; }
.stage__title { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.14; color: #fff; }
.stage__title em { font-style: normal; color: var(--gold); }
.stage__sub { margin: 10px 0 0; max-width: 64ch; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.stage__sub .term { color: #fff; text-decoration-color: rgba(237, 197, 106, .7); }
.stage__chips { display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 0 14px; font-size: 12.5px; font-weight: 550; color: rgba(255, 255, 255, .82); }
.chip:first-child { padding-left: 0; }
.chip + .chip { border-left: 1px solid rgba(255, 255, 255, .2); }
.chip .ic { width: 15px; height: 15px; color: var(--gold); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--green { color: #86e3b3; } .chip--orange { color: #ffbb92; } .chip--red { color: #ffa39e; } .chip--blue { color: #a7c7ff; }
.stage__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex-shrink: 0; }
.stage__steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stage__steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.stage__steps b { display: block; font-size: 13.5px; font-weight: 650; color: #fff; }
.stage__steps small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
.stage__step-i { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 9px; color: var(--gold-ink); background: var(--gold); }
.stage--danger { background: radial-gradient(640px 320px at 100% 0%, rgba(229, 72, 77, .32), transparent 62%),
    radial-gradient(520px 300px at -5% 110%, rgba(198, 146, 50, .18), transparent 60%),
    linear-gradient(135deg, #1c1416 0%, #110e10 55%, #171109 100%); }
.stage--danger .stage__title em { color: #ff8f88; }
.stage--danger .stage__orbit { color: rgba(255, 154, 149, .18); }
.stage--danger .eyebrow { color: #ffb0ab; }
.stage--danger .eyebrow i { background: #ff8d88; box-shadow: 0 0 0 4px rgba(255, 141, 136, .2); }

/* --------------------------------------------------------------- métricas */
.metrics { position: relative; z-index: 2; display: grid; gap: 14px; margin: -62px 22px 0; }
.metrics--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metric { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 16px 18px 14px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(20, 18, 12, .1); box-shadow: 0 1px 2px rgba(20, 18, 12, .05), 0 16px 32px -24px rgba(20, 18, 12, .45); }
.metric__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.metric__ic { width: 18px; height: 18px; flex: 0 0 18px; color: var(--c-text-500); }
.metric__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.45; color: var(--c-text-500); }
.metric__value { margin-top: 8px; font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: var(--c-text-900); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric__foot { margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--c-text-500); }
.metric__meter { margin-top: 10px; height: 4px; border-radius: 99px; background: var(--c-paper-200); overflow: hidden; }
.metric__meter i { display: block; height: 100%; border-radius: inherit; background: var(--m-dot); }
.metric__sp { flex: 1 0 12px; }
.metric__status { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--c-paper-200); font-size: 12.5px; font-weight: 650; color: var(--m-c); }
.metric__status i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--m-dot); }
.metric--gold { --m-c: #7a5617; --m-dot: #eba40e; }
.metric--green { --m-c: #0d6b43; --m-dot: #1a9b62; }
.metric--orange { --m-c: #a3400f; --m-dot: #e3782f; }
.metric--red { --m-c: #b02e25; --m-dot: #d9443a; }
.metric--blue { --m-c: #1c56ad; --m-dot: #3a7be0; }
.metric--teal { --m-c: #0c6664; --m-dot: #16928f; }

/* ------------------------------------------------------ guia da página */
.guide { margin-top: 22px; border-radius: 16px; overflow: hidden; background: #fffaf0;
  border: 1px solid rgba(235, 164, 14, .32); }
.guide__bar { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.guide__bar-t { flex: 1; min-width: 0; }
.guide__bar-t b { display: block; font-size: 13.5px; font-weight: 650; color: var(--c-text-900); }
.guide__bar-t small { display: block; font-size: 12.5px; color: #6b5a33; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide.is-open .guide__bar-t small { white-space: normal; }
.guide__state { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-size: 12.5px; font-weight: 650; color: var(--c-gold-800); }
.guide__state .ic { width: 15px; height: 15px; transition: transform .2s; }
.guide.is-open .guide__state .ic { transform: rotate(180deg); }
.guide__body { padding: 2px 16px 16px; }
.guide__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide__step { position: relative; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .88); border: 1px solid rgba(20, 18, 12, .06); }
.guide__step:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 27px; width: 14px; height: 2px; background: repeating-linear-gradient(90deg, rgba(235, 164, 14, .7) 0 3px, transparent 3px 6px); }
.guide__n { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%; background: var(--ink); color: var(--gold); font-size: 12.5px; font-weight: 700; }
.guide__step b { display: block; font-size: 13.5px; font-weight: 650; }
.guide__step p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--c-text-700); }
.guide__foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.guide__tip { flex: 1; min-width: 260px; display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .55); border: 1px dashed rgba(158, 114, 34, .38); font-size: 12.5px; line-height: 1.55; color: var(--c-text-700); }
.guide__tip .ic { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; color: var(--c-gold-800); }
.guide__tip b { margin-right: 4px; color: var(--c-text-900); }
.guide__a { display: flex; gap: 8px; margin-left: auto; }

/* ---------------------------------------------------------------- seções */
.cols { display: grid; gap: 24px; align-items: start; min-width: 0; }
.cols--main { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.sect { min-width: 0; }
.sect__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sect__t { flex: 1; min-width: 0; }
.sect__t h2 { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 16.5px; font-weight: 700; letter-spacing: -.015em; }
.sect__t p { margin: 3px 0 0; font-size: 13px; line-height: 1.5; color: var(--c-text-500); }
.sect__a { display: flex; gap: 8px; flex-shrink: 0; }
.count { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--c-text-500); }
.card { background: #fff; border: 1px solid rgba(20, 18, 12, .08); border-radius: 20px; box-shadow: var(--shadow-sm); }
.card--flush { overflow: hidden; }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar .field--search { margin-left: auto; }

/* controle segmentado */
.seg { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 14px; background: var(--c-paper-200); border: 1px solid var(--c-paper-300); }
.seg::-webkit-scrollbar { display: none; }
.seg__b { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 10px; background: none;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--c-text-700); white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.seg__b:hover { color: var(--c-text-900); background: rgba(255, 255, 255, .55); }
.seg__b.is-on { background: #fff; color: var(--c-text-900); box-shadow: inset 0 0 0 1px var(--c-paper-300); }
.seg__b .ic { width: 16px; height: 16px; }
.seg__b.is-on .ic { color: #b07d12; }
.seg__n { font-size: 12px; font-weight: 600; color: var(--c-text-500); }
.seg__b.is-on .seg__n { color: var(--c-gold-800); }
.seg--full { display: flex; width: 100%; }
.seg--full .seg__b { flex: 1; }

/* avisos */
.callout { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--co-line); background: var(--co-bg); }
.callout__b { flex: 1; min-width: 0; }
.callout__b b { display: block; font-size: 14px; font-weight: 650; color: var(--co-t); }
.callout__b p { margin: 3px 0 0; font-size: 13px; line-height: 1.55; color: var(--c-text-700); }
.callout__a { flex-shrink: 0; }
.callout--orange { --co-bg: #fff5ee; --co-line: rgba(184, 67, 15, .22); --co-t: #8a3209; }
.callout--red { --co-bg: #fdf1f0; --co-line: rgba(184, 52, 42, .24); --co-t: #8f261e; }
.callout--blue { --co-bg: #f2f6fe; --co-line: rgba(31, 95, 191, .2); --co-t: #16478f; }
.callout--green { --co-bg: #eff8f3; --co-line: rgba(15, 122, 76, .2); --co-t: #0b5e3a; }
.callout--gold { --co-bg: #fffaf0; --co-line: rgba(235, 164, 14, .32); --co-t: #6b4c12; }
.callout--slate { --co-bg: var(--c-paper-50); --co-line: var(--c-paper-300); --co-t: var(--c-text-900); }

/* vazio que ensina */
.empty { display: grid; justify-items: center; gap: 6px; padding: 36px 24px; text-align: center; color: var(--c-text-500); }
.empty__art { width: 60px; height: 60px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 14px; color: var(--c-gold-800);
  background: #fbf3e1; box-shadow: inset 0 0 0 1px rgba(158, 114, 34, .2); }
.empty__art .ic { width: 28px; height: 28px; }
.empty b { font-size: 15px; font-weight: 650; color: var(--c-text-900); }
.empty p { margin: 0; max-width: 46ch; font-size: 13px; line-height: 1.55; }
.empty__a { margin-top: 10px; }

/* legenda de estados */
.legend { margin-bottom: 18px; }
.legend h3, .help__h, .subhead { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-500); }
.legend ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.legend li { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.5; color: var(--c-text-700); }
.legend li .badge { flex-shrink: 0; }
.legend:not(.legend--row) li { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 12px; }
.legend:not(.legend--row) li .badge { justify-self: start; }
.legend--row { margin: 0; padding: 16px 18px; }
.legend--row ul { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 18px; }
.legend--row li { flex-direction: column; gap: 6px; }
.subhead { margin-top: 20px; }

/* termos do glossário */
.term { display: inline; margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: help; position: relative; z-index: 2;
  text-decoration: underline dotted; text-decoration-color: rgba(158, 114, 34, .75); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.term:hover, .term:focus-visible { color: #7a5617; text-decoration-color: currentColor; }
.tip { position: fixed; z-index: 400; max-width: 290px; padding: 12px 14px; border-radius: 12px; pointer-events: none;
  background: #18181c; color: #e8e4da; font-size: 12.5px; line-height: 1.55;
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); animation: rise .16s var(--ease-out); }
.tip[hidden] { display: none; }
.tip b { display: block; margin-bottom: 3px; color: var(--gold); font-size: 12.5px; font-weight: 700; }

/* --------------------------------------------------------------- tabelas */
.tbl__scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl th { padding: 11px 14px; background: #faf9f6; border-bottom: 1px solid var(--c-paper-300); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-500); text-align: left; white-space: nowrap; }
.tbl td { padding: 13px 14px; border-bottom: 1px solid var(--c-paper-200); font-size: 13.5px; vertical-align: middle; color: var(--c-text-900); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .12s; }
.tbl tbody tr:hover { background: #fdfbf6; }
.tbl .small { font-size: 12.5px; }
.fname { display: flex; align-items: center; gap: 12px; min-width: 170px; }
.fname__t .chips { margin-top: 6px; }
.fname__none { display: block; margin-top: 4px; font-size: 11.5px; color: var(--c-text-500); }
.fname__t { min-width: 0; }
.fname__t b { display: block; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.fname__t small { display: block; margin-top: 1px; font-size: 12px; color: var(--c-text-500); }
.cell-link { font-weight: 600; color: var(--c-text-900); text-decoration: underline; text-decoration-color: rgba(20, 18, 12, .15); text-underline-offset: 3px; }
.cell-link:hover { color: var(--c-gold-800); text-decoration-color: currentColor; }
td .linkbtn { color: var(--c-text-900); font-weight: 600; text-decoration-color: rgba(20, 18, 12, .15); }
td .linkbtn:hover { color: var(--c-gold-800); }
.cell-date { display: block; font-weight: 550; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cell-sub { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; color: var(--c-text-500); }
.cell-strong { display: block; font-weight: 600; }
.cell-money { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cell-money.is-due, .is-late { color: #b8342a; }
.is-late { font-weight: 700; }
.acts { text-align: right; white-space: nowrap; }
.acts > * + * { margin-left: 6px; }

/* chip de arquivo em formato de documento, com canto dobrado */
.fico { --fc: #57534e; --fb: #f0eee9; --fl: rgba(87, 83, 78, .2); --fl2: rgba(87, 83, 78, .3);
  position: relative; width: 34px; height: 40px; flex: 0 0 34px; display: grid; place-items: end center; padding-bottom: 7px; border-radius: 6px;
  font-size: 8.5px; font-weight: 800; letter-spacing: .04em; color: var(--fc); background: var(--fb);
  box-shadow: inset 0 0 0 1px var(--fl); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.fico::before { content: ""; position: absolute; top: 0; right: 0; width: 10px; height: 10px; border-bottom-left-radius: 3px; background: linear-gradient(225deg, transparent 50%, var(--fl2) 50%); }
.fico--pdf { --fc: #b8342a; --fb: #fdeceb; --fl: rgba(184, 52, 42, .22); --fl2: rgba(184, 52, 42, .3); }
.fico--sheet { --fc: #0f7a4c; --fb: #e6f4ec; --fl: rgba(15, 122, 76, .2); --fl2: rgba(15, 122, 76, .28); }
.fico--xml, .fico--doc { --fc: #1f5fbf; --fb: #e9f0fc; --fl: rgba(31, 95, 191, .2); --fl2: rgba(31, 95, 191, .28); }
.fico--image { --fc: #0e7472; --fb: #e2f3f2; --fl: rgba(14, 116, 114, .2); --fl2: rgba(14, 116, 114, .28); }
.fico--lg { width: 44px; height: 52px; flex-basis: 44px; padding-bottom: 8px; font-size: 10px; clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%); }
.fico--lg::before { width: 13px; height: 13px; }

/* -------------------------------------------------------------- listas */
.list, .feed { list-style: none; margin: 0; padding: 4px 16px; }
.list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-paper-200); }
.feed li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--c-paper-200); }
.list li:last-child, .feed li:last-child { border-bottom: 0; }
.list__t, .feed__t { flex: 1; min-width: 0; }
.list__t b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list__t small { display: block; font-size: 12px; color: var(--c-text-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list__m { font-size: 12px; color: var(--c-text-500); white-space: nowrap; }
.list__a { display: flex; gap: 6px; }
.feed__t { font-size: 13px; line-height: 1.45; color: var(--c-text-700); }
.feed__t b { font-weight: 650; color: var(--c-text-900); }
.feed__t em { font-style: normal; color: var(--c-text-900); overflow-wrap: anywhere; }
.feed__t small { display: block; margin-top: 2px; font-size: 12px; color: var(--c-text-500); }
.kvlist { margin: 0; padding: 4px 16px; }
.kvlist > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-paper-200); font-size: 13px; }
.kvlist > div:last-child { border-bottom: 0; }
.kvlist dt { color: var(--c-text-500); }
.kvlist dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* --------------------------------------------------------- janelas */
.ov { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(10, 10, 12, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .18s ease; }
.ov--top { align-items: flex-start; padding-top: 12vh; }
.ov--drawer { justify-content: flex-end; padding: 12px; }
.modal { position: relative; display: flex; flex-direction: column; width: 100%; max-width: 560px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto;
  background: #fff; border-radius: 24px; border: 1px solid rgba(20, 18, 12, .06); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55); outline: none; animation: rise .22s var(--ease-out); }
.modal--lg { max-width: 680px; }
.modal--palette { max-width: 640px; overflow: hidden; }
.modal--palette .modal__b { padding: 0; }
.modal--drawer { max-width: 440px; height: 100%; max-height: none; border-radius: 22px; animation: slide .26s var(--ease-out); }
.modal__h { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--c-paper-200);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal__h.sr-only { position: absolute; padding: 0; border: 0; }
.modal__ht { flex: 1; min-width: 0; }
.modal__ht h2 { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.modal__ht p { margin: 2px 0 0; font-size: 12.5px; color: var(--c-text-500); }
.modal__b { flex: 1; padding: 20px; }
.modal__f { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 14px 20px;
  border-top: 1px solid var(--c-paper-200); background: rgba(250, 249, 246, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal__lead { margin: 0; font-size: 14px; line-height: 1.6; color: var(--c-text-700); }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes slide { from { opacity: .3; transform: translateX(36px); } }
@keyframes fade { from { opacity: 0; } }

/* abas da central de ajuda */
.tabs { display: flex; gap: 4px; margin-bottom: 18px; padding: 4px; border: 1px solid var(--c-paper-300); border-radius: 14px; background: var(--c-paper-200); overflow: visible; }
.tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 10px;
  background: none; font: inherit; font-size: 12.5px; font-weight: 650; color: var(--c-text-700); white-space: nowrap; cursor: pointer; }
.tab:hover { color: var(--c-text-900); }
.tab .ic { width: 15px; height: 15px; }
.tab.is-on { background: #fff; color: var(--c-text-900); box-shadow: inset 0 0 0 1px var(--c-paper-300); }
.tab.is-on .ic { color: #b07d12; }
.help__what { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--c-text-700); }
.help__steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.help__steps li { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: var(--c-paper-50); border: 1px solid var(--c-paper-200); }
.help__steps li > span { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold); font-size: 12px; font-weight: 700; }
.help__steps b { font-size: 13.5px; }
.help__steps p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--c-text-700); }
.help__tip { display: flex; gap: 10px; margin-bottom: 18px; padding: 12px; border-radius: 14px; background: #fffaf0; border: 1px dashed rgba(158, 114, 34, .38); font-size: 12.5px; line-height: 1.55; color: var(--c-text-700); }
.help__tip p { margin: 0; }
.help__tip .ic { flex: 0 0 18px; color: var(--c-gold-800); }
.help__none { font-size: 13px; color: var(--c-text-500); }
.gloss { display: grid; gap: 8px; margin: 14px 0 0; }
.gloss__i { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--c-paper-200); background: #fff; }
.gloss__i[hidden] { display: none; }
.gloss dt { font-size: 13.5px; font-weight: 700; }
.gloss dd { margin: 3px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--c-text-700); }
.keys, .rules { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.keys li { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--c-text-700); }
.rules li { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: var(--c-paper-50); border: 1px solid var(--c-paper-200); font-size: 12.5px; line-height: 1.5; color: var(--c-text-700); }
.rules li .ic { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; color: var(--c-gold-800); }
.rules b { display: block; font-size: 13px; color: var(--c-text-900); }
.contact { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--c-paper-300); background: #fff; transition: border-color .15s; }
.contact:hover { border-color: rgba(235, 164, 14, .45); }
.contact__t { flex: 1; min-width: 0; }
.contact b { display: block; font-size: 13.5px; }
.contact small { display: block; font-size: 12px; color: var(--c-text-500); }
.contact > .ic { color: var(--c-text-500); }
.contact--inline { display: inline-flex; gap: 8px; margin: 0; padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--c-text-900); }
.contact--inline .ic { width: 16px; height: 16px; color: #b07d12; }

/* boas-vindas */
.welcome__art { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; height: 150px; margin: -4px 0 18px; border-radius: 14px; background: #121215; }
.welcome__art .orbit { position: absolute; width: 380px; color: rgba(237, 197, 106, .25); z-index: -1; }
.welcome__art .brand-logo { width: 240px; }
.welcome__lead { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--c-text-700); }
.welcome__points { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.welcome__points li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--c-paper-200); background: var(--c-paper-50); }
.welcome__points b { display: block; font-size: 13.5px; }
.welcome__points small { display: block; font-size: 12.5px; color: var(--c-text-500); }
.welcome__note { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: var(--c-text-500); }
.welcome__note .ic { width: 16px; height: 16px; color: #b07d12; }

/* ------------------------------------------------------------- tour */
.tour { position: fixed; inset: 0; z-index: 250; }
.tour__spot { position: fixed; border-radius: 18px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(8, 8, 10, .66), 0 0 0 2px rgba(237, 197, 106, .95), 0 0 42px 6px rgba(235, 164, 14, .35);
  transition: top .3s var(--ease-out), left .3s var(--ease-out), width .3s var(--ease-out), height .3s var(--ease-out); }
.tour__spot.is-off { top: 50% !important; left: 50% !important; width: 0 !important; height: 0 !important; box-shadow: 0 0 0 9999px rgba(8, 8, 10, .66); }
.tour__card { position: fixed; width: min(360px, calc(100vw - 24px)); padding: 18px 18px 16px; border-radius: 20px; outline: none; background: #fff;
  border: 1px solid rgba(20, 18, 12, .08); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); transition: top .3s var(--ease-out), left .3s var(--ease-out); }
.tour__card::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: var(--gold); }
.tour__card.is-center { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%); }
.tour__top { display: flex; align-items: center; justify-content: space-between; }
.tour__count { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9e7222; }
.tour__card h2 { margin: 6px 0; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.tour__card p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--c-text-700); }
.tour__dots { display: flex; gap: 5px; margin: 14px 0; }
.tour__dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--c-paper-300); transition: width .2s, background .2s; }
.tour__dots i.is-done { background: #edc56a; }
.tour__dots i.is-on { width: 22px; background: var(--gold); }
.tour__a { display: flex; justify-content: space-between; gap: 8px; }

/* ------------------------------------------------------------ busca */
.palette__in { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--c-paper-200); }
.palette__in > .ic { width: 20px; height: 20px; color: #b07d12; }
.palette__in input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--c-text-900); }
.palette__in input::-webkit-search-cancel-button { -webkit-appearance: none; }
.palette__res { max-height: min(56vh, 460px); overflow-y: auto; padding: 6px 8px 8px; }
.palette__g h3 { margin: 10px 10px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-500); }
.res { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 12px; background: none; font: inherit; text-align: left; color: var(--c-text-900); cursor: pointer; }
.res.is-active { background: var(--gold-tint); box-shadow: inset 0 0 0 1px rgba(235, 164, 14, .35); }
.res__t { flex: 1; min-width: 0; }
.res__t b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res__t small { display: block; font-size: 12px; color: var(--c-text-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res__go { width: 16px; height: 16px; color: var(--c-paper-400); }
.res.is-active .res__go { color: var(--c-gold-800); }
.palette__foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--c-paper-200); background: var(--c-paper-50); font-size: 12px; color: var(--c-text-500); }
.palette__foot span { display: inline-flex; align-items: center; gap: 5px; }
.palette .empty { padding: 28px 16px; }

/* ----------------------------------------------------- notificações */
.notifs { margin: -6px -8px; }
.notif__g { margin: 10px 8px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-500); }
.notif { display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 14px; transition: background .12s; }
.notif:hover { background: var(--c-paper-100); }
.notif.is-new { background: #fffaf0; }
.notif__t { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.45; color: var(--c-text-900); }
.notif__t small { display: block; margin-top: 2px; font-size: 12px; color: var(--c-text-500); }
.notif__go { width: 16px; height: 16px; color: var(--c-paper-400); }

/* -------------------------------------------------- documento: jornada */
.journey { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.journey__s { position: relative; display: grid; justify-items: center; gap: 3px; padding: 0 6px; text-align: center; }
.journey__s::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: var(--c-paper-300); }
.journey__s:first-child::before { display: none; }
.journey__s.is-done::before, .journey__s.is-current::before { background: var(--gold); }
.journey__dot { position: relative; z-index: 1; width: 36px; height: 36px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--c-text-500); box-shadow: inset 0 0 0 2px var(--c-paper-300); }
.journey__dot .ic { width: 17px; height: 17px; }
.journey__s.is-done .journey__dot { color: var(--gold-ink); background: var(--gold); box-shadow: none; }
.journey__s.is-done .journey__dot .ic { stroke-width: 2.2; }
.journey__s.is-current .journey__dot { color: var(--c-gold-800); background: #fffaf0; box-shadow: inset 0 0 0 2px var(--gold); }
.journey__s b { font-size: 12.5px; font-weight: 650; color: var(--c-text-900); }
.journey__s small { font-size: 11.5px; color: var(--c-text-500); }
.dochead { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--c-paper-50); border: 1px solid var(--c-paper-200); }
.dochead + .fld, .dochead + .callout, .dochead + .note { margin-top: 16px; }
.callout + .fld { margin-top: 16px; }
.dochead__t { flex: 1; min-width: 0; }
.dochead__t b { display: block; font-size: 14.5px; font-weight: 650; overflow-wrap: anywhere; }
.dochead__t small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--c-text-500); }
.kvgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 6px; }
.kvgrid > div { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--c-paper-200); }
.kvgrid dt { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-500); }
.kvgrid dd { margin: 4px 0 0; font-size: 13.5px; font-weight: 600; }
.note { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; padding: 12px 14px; border-radius: 14px; background: #fffaf0; border: 1px solid rgba(235, 164, 14, .25); font-size: 13px; line-height: 1.55; color: var(--c-text-700); }
.note .ic { flex: 0 0 18px; margin-top: 1px; color: #b07d12; }
.note b { display: block; font-size: 12.5px; color: var(--c-text-900); }
.note--demo { background: var(--c-paper-50); border-color: var(--c-paper-300); }
.note--demo .ic { color: var(--c-text-500); }
.tl { position: relative; list-style: none; margin: 0; padding: 0; }
.tl::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--c-paper-300), transparent); }
.tl__i { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.tl__i:last-child { padding-bottom: 0; }
.tl__d { position: relative; left: auto; top: auto; z-index: 1; width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border: 0; border-radius: 10px;
  background: var(--tl-bg); color: var(--tl-c); box-shadow: 0 0 0 4px #fff; }
.tl__d .ic { width: 16px; height: 16px; }
.tl__i b { display: block; font-size: 13.5px; font-weight: 650; }
.tl__i small { display: block; margin-top: 1px; font-size: 12px; color: var(--c-text-500); }
.tl__i p { margin: 4px 0 0; font-size: 12.5px; color: var(--c-text-700); }
.tl__i--gold { --tl-bg: #fcf3dc; --tl-c: #8a6212; } .tl__i--green { --tl-bg: #e8f6ee; --tl-c: #0f7a4c; } .tl__i--blue { --tl-bg: #eaf1fd; --tl-c: #1f5fbf; }
.tl__i--teal { --tl-bg: #e3f4f3; --tl-c: #0e7472; } .tl__i--slate { --tl-bg: #f1efea; --tl-c: #57534e; }

/* ------------------------------------------------- organização (triagem) */
.suggest__b { display: flex; align-items: center; gap: 12px; margin: -2px 0 14px; padding: 12px 14px; border-radius: 12px; background: #fffaf0; border: 1px solid rgba(235, 164, 14, .35); }
.suggest__b > .ic { width: 22px; height: 22px; flex: 0 0 22px; color: var(--c-gold-800); }
.suggest__b > div { flex: 1; min-width: 0; }
.suggest__b b { display: block; font-size: 13px; }
.suggest__b p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--c-text-700); }
.suggest__b--none { background: var(--c-paper-50); border-color: var(--c-paper-300); }
.suggest__b--none > .ic { color: var(--c-text-500); }
.pickset { min-width: 0; margin: 0 0 14px; padding: 0; border: 0; }
.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pick__i { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--c-paper-300); background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.pick__i:hover { border-color: var(--c-paper-400); }
.pick__i input { position: absolute; opacity: 0; pointer-events: none; }
.pick__i:has(input:focus-visible) { outline: 2px solid var(--c-gold-600); outline-offset: 2px; }
.pick__t { flex: 1; min-width: 0; }
.pick__t b { display: block; font-size: 13px; }
.pick__t small { display: block; font-size: 11.5px; line-height: 1.4; color: var(--c-text-500); }
.pick__c { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 7px; border: 1.5px solid var(--c-paper-400); color: transparent; transition: .15s; }
.pick__c .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.pick__i.is-on { border-color: var(--gold-hover); background: #fffaf0; box-shadow: 0 0 0 3px rgba(235, 164, 14, .14); }
.pick__i.is-on .pick__c { border-color: var(--gold-hover); background: var(--gold); color: var(--gold-ink); }
.after { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12.5px; color: var(--c-text-700); }
.after .ic { flex: 0 0 18px; color: #b07d12; }

/* ------------------------------------------------------- envio de arquivos */
.dz { position: relative; display: grid; justify-items: center; gap: 4px; padding: 34px 20px 26px; border-radius: 16px; text-align: center; cursor: pointer; outline: none;
  border: 2px dashed rgba(198, 146, 50, .5); background: #fffdf8;
  transition: border-color .18s, background .18s; }
.dz:hover, .dz:focus-visible, .dz.is-over { border-color: var(--gold); background: #fff8e8; }
.dz__art { width: 60px; height: 60px; margin-bottom: 10px; display: grid; place-items: center; border-radius: 14px; color: var(--gold-ink); background: var(--gold); }
.dz__art .ic { width: 28px; height: 28px; }
.dz h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.015em; }
.dz p { margin: 0; font-size: 13.5px; color: var(--c-text-700); }
.dz__link { font-weight: 650; color: var(--c-gold-800); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(122, 86, 23, .35); }
.dz__formats { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 4px; margin-top: 14px; }
.dz__formats span { padding: 0 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--c-text-700); }
.dz__formats span + span { border-left: 1px solid var(--c-paper-400); }
.dz__formats em { flex-basis: 100%; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--c-text-500); }
.dz--sm { padding: 22px 16px 18px; }
.dz--sm .dz__art { width: 46px; height: 46px; margin-bottom: 6px; border-radius: 12px; }
.dz--sm .dz__art .ic { width: 22px; height: 22px; }
.dz--sm h3 { font-size: 15px; }
.dz--sm .dz__formats { display: none; }
.filelist { display: grid; gap: 8px; margin-top: 12px; }
.filelist:empty { display: none; }
.fitem { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--c-paper-300); background: #fff; box-shadow: var(--shadow-xs); animation: rise .2s var(--ease-out); }
.fitem__t { flex: 1; min-width: 0; }
.fitem__t b { display: block; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.fitem__t small { display: block; font-size: 12px; color: var(--c-text-500); }
.upload { padding: 20px; }
.upload__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.upload__fields .fld { margin: 0; }
.upload__go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--c-paper-200); }
.upload__go .help { margin: 0; }
.reply { display: flex; gap: 12px; margin-bottom: 16px; padding: 14px; border-radius: 14px; background: #fff5ee; border: 1px solid rgba(184, 67, 15, .22); }
.reply__b small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b8430f; }
.reply__b b { display: block; margin-top: 2px; font-size: 15px; }
.reply__b p { margin: 4px 0 8px; font-size: 13px; line-height: 1.5; color: var(--c-text-700); }
.success { margin-bottom: 16px; padding: 16px; border-radius: 14px; background: #eff8f3; border: 1px solid rgba(15, 122, 76, .22); }
.success__h { display: flex; align-items: flex-start; gap: 12px; }
.success__h b { display: block; font-size: 15px; color: #0b5e3a; }
.success__h p { margin: 2px 0 0; font-size: 13px; color: var(--c-text-700); }
.success .journey { margin: 18px 0 14px; }
.success__a { display: flex; justify-content: flex-end; }
.areas, .tips { list-style: none; margin: 0; padding: 6px 16px; }
.areas li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-paper-200); }
.areas li:last-child, .tips li:last-child { border-bottom: 0; }
.areas b { font-size: 13.5px; }
.areas p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--c-text-500); }
.tips li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--c-paper-200); font-size: 13px; line-height: 1.5; color: var(--c-text-700); }
.tips .ic { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; color: #0e7472; }
.tips b { color: var(--c-text-900); }
.howto { position: relative; list-style: none; margin: 0; padding: 8px 16px; }
.howto li { position: relative; display: flex; gap: 12px; padding: 12px 0; }
.howto li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 46px; bottom: -6px; width: 2px; background: linear-gradient(180deg, var(--c-paper-300), transparent); }
.howto b { display: block; font-size: 13.5px; }
.howto p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--c-text-700); }
.howto--compact { padding: 0; }
.howto--row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 18px; }
.howto--row li { flex-direction: column; gap: 10px; padding: 0; }
.howto--row li:not(:last-child)::after { left: 44px; right: -16px; top: 15px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, rgba(235, 164, 14, .55) 0 4px, transparent 4px 8px); }
.list--wrap li { flex-wrap: wrap; }
.list--wrap .list__t { flex: 1 1 200px; }
.list--wrap .list__t b, .list--wrap .list__t small { white-space: normal; }
.paycard { display: grid; gap: 2px; margin-bottom: 14px; padding: 18px; border-radius: 14px; color: #fff; background: var(--ink); border-left: 4px solid var(--gold); }
.paycard small { font-size: 12px; color: rgba(255, 255, 255, .65); }
.paycard b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.paycard span { font-size: 13px; color: rgba(255, 255, 255, .75); }
.checks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--c-text-700); }
.checks .ic { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; color: #0f7a4c; stroke-width: 2.2; }

/* ------------------------------------------------------- painel do cliente */
.reqs { list-style: none; margin: 0; padding: 4px 16px; }
.req { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--c-paper-200); }
.reqs .req:last-child { border-bottom: 0; }
.req__b { flex: 1; min-width: 0; }
.req__b b { display: block; font-size: 14px; font-weight: 650; }
.req__b p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--c-text-500); }
.req__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; color: var(--c-text-500); }
.req--preview { padding: 0; border: 0; }
.flows { display: grid; gap: 16px; padding: 18px; }
.flow h3 { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text-500); }
.flow__row { display: flex; align-items: flex-start; }
.flow__n { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 2px; padding: 12px 6px; border-radius: 16px; text-align: center; transition: background .15s; }
.flow__n:hover { background: var(--c-paper-100); }
.flow__i { width: 44px; height: 44px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 14px; color: var(--t-c); background: var(--t-bg); box-shadow: inset 0 0 0 1px var(--t-line); }
.flow__i .ic { width: 20px; height: 20px; }
.flow__n b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.flow__n small { font-size: 12px; color: var(--c-text-500); }
.flow__line { flex: 0 1 56px; min-width: 14px; height: 2px; margin-top: 34px; background: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 10px); opacity: .65; }
.shortcuts { display: grid; gap: 10px; }
.shortcut { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(20, 18, 12, .08); transition: border-color .15s; }
.shortcut:hover { border-color: rgba(235, 164, 14, .45); }
.shortcut__t { flex: 1; min-width: 0; }
.shortcut b { display: block; font-size: 13.5px; }
.shortcut small { display: block; font-size: 12px; color: var(--c-text-500); }
.shortcut__go { width: 18px; height: 18px; color: var(--c-paper-400); transition: transform .15s, color .15s; }
.shortcut:hover .shortcut__go { color: #b07d12; transform: translateX(2px); }
.checklist { padding: 16px; }
.checklist__head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--c-paper-200); }
.checklist__ring { position: relative; width: 56px; height: 56px; flex: 0 0 56px; }
.checklist__ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring__bg { stroke: var(--c-paper-200); }
.ring__fg { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease-out); }
.checklist__head > div > b { display: block; font-size: 14px; }
.checklist__head > div > p { margin: 2px 0 0; font-size: 12.5px; color: var(--c-text-500); }
.checklist__list { list-style: none; margin: 8px 0 0; padding: 0; }
.checklist__list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.checklist__dot { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--c-paper-300); color: #16110a; }
.checklist__dot .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.checklist__list li.is-done .checklist__dot { border-color: transparent; background: var(--gold); }
.checklist__list li.is-next .checklist__dot { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(235, 164, 14, .15); }
.checklist__t { flex: 1; min-width: 0; }
.checklist__t b { display: block; font-size: 13px; font-weight: 600; }
.checklist__t small { display: block; font-size: 12px; line-height: 1.4; color: var(--c-text-500); }
.checklist__list li.is-done .checklist__t b { color: var(--c-text-500); text-decoration: line-through; text-decoration-color: rgba(20, 18, 12, .25); }
.checklist__foot { padding-top: 10px; border-top: 1px solid var(--c-paper-200); text-align: right; font-size: 12.5px; }

/* pastas com aba, como uma pasta de verdade */
.folders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 12px; }
.folder { --fo-tab: var(--gold); position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px;
  border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid rgba(20, 18, 12, .1); box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, border-color .18s; }
.folder::before { content: ""; position: absolute; left: -1px; top: -9px; width: 42%; height: 10px; border-radius: 8px 10px 0 0; background: var(--fo-tab); }
.folder:hover { border-color: rgba(235, 164, 14, .55); box-shadow: 0 1px 2px rgba(20, 18, 12, .05), 0 18px 34px -24px rgba(20, 18, 12, .5); }
.folder--blue { --fo-tab: #1f5fbf; --fo-dot: #1f5fbf; }
.folder--teal { --fo-tab: #0e7472; --fo-dot: #0e7472; }
.folder--ink { --fo-tab: var(--ink); --fo-dot: var(--ink); }
.folder__top { display: flex; align-items: center; justify-content: space-between; }
.folder__n { display: flex; align-items: baseline; gap: 5px; font-size: 12px; color: var(--c-text-500); }
.folder__n b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--c-text-900); font-variant-numeric: tabular-nums; }
.folder h3 { margin-top: 6px; font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -.015em; }
.folder__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.folder__link:focus-visible { outline: none; }
.folder:has(.folder__link:focus-visible) { outline: 2px solid var(--c-gold-600); outline-offset: 3px; }
.folder p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--c-text-700); }
.folder__ex { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.folder__ex li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--c-text-700); }
.folder__ex li::before { content: ""; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--fo-dot); }
.folder__terms { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 4px; font-size: 12px; color: var(--c-text-500); }
.folder__terms .term { font-weight: 600; color: var(--c-text-700); }
.folder__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 12.5px; font-weight: 650; color: var(--c-gold-800); }
.folder__go .ic { width: 16px; height: 16px; transition: transform .15s; }
.folder:hover .folder__go .ic { transform: translateX(3px); }
.about { padding: 16px; }
.about > p { margin: 0 0 10px; font-size: 13px; line-height: 1.55; color: var(--c-text-700); }
.about--row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; padding: 18px; }
.about--row > p { margin: 0; font-size: 13.5px; }
.about--row .folder__ex, .about--row .folder__terms { margin: 0; }

/* ---------------------------------------------------- equipe: rotina */
.routine { padding: 18px; }
.routine__head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.routine__t { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 260px; }
.routine__t b { display: block; font-family: var(--font-display); font-size: 16.5px; font-weight: 700; }
.routine__t p { margin: 2px 0 0; font-size: 13px; color: var(--c-text-500); }
.routine__progress { display: grid; gap: 6px; min-width: 220px; font-size: 12.5px; color: var(--c-text-500); }
.routine__progress b { color: var(--c-text-900); }
.meter { height: 6px; border-radius: 99px; background: var(--c-paper-200); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.routine__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.routine__s a { position: relative; height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; border: 1px solid var(--c-paper-300); background: #fff; transition: border-color .15s; }
.routine__s a:hover { border-color: rgba(235, 164, 14, .45); }
.routine__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.routine__n { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700; color: var(--c-text-700); background: var(--c-paper-200); }
.routine__n .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.routine__i { color: var(--c-paper-400); }
.routine__i .ic { width: 20px; height: 20px; }
.routine__s b { font-size: 13.5px; font-weight: 650; }
.routine__s small { font-size: 12px; line-height: 1.45; color: var(--c-text-500); }
.routine__c { margin-top: auto; padding-top: 10px; }
.routine__s.is-done a { background: #f6fbf8; border-color: rgba(15, 122, 76, .18); }
.routine__s.is-done .routine__n { background: #dff3e8; color: #0f7a4c; }
.routine__s.is-next a { border: 1.5px solid var(--gold); background: #fff; }
.routine__s.is-next .routine__n { background: var(--gold); color: var(--gold-ink); }
.routine__s.is-next .routine__i { color: var(--c-gold-800); }
.routine__next { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-gold-800); }
.routine__next .ic { width: 12px; height: 12px; }

/* ---------------------------------------------- equipe: regra de acesso */
.rule { display: grid; grid-template-columns: minmax(270px, .8fr) minmax(0, 1.5fr); overflow: hidden; }
.rule__form { display: grid; align-content: start; gap: 18px; padding: 20px; border-right: 1px solid var(--c-paper-200); }
.rule__form .fld { margin: 0; }
.rule__save { display: grid; gap: 8px; }
.rule__save .help { margin: 0; }
.rule__viz { padding: 20px; background: #fcfbf8; }
.stepper { display: flex; align-items: center; width: fit-content; border: 1px solid var(--c-paper-300); border-radius: 12px; overflow: hidden; background: #fff; }
.stepper .inp { width: 72px; min-height: 42px; border: 0; border-radius: 0; text-align: center; font-size: 16px; font-weight: 700; box-shadow: none; -moz-appearance: textfield; }
.stepper .inp::-webkit-outer-spin-button, .stepper .inp::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__b { width: 42px; height: 42px; border: 0; background: var(--c-paper-100); font: inherit; font-size: 18px; font-weight: 600; color: var(--c-text-700); cursor: pointer; }
.stepper__b:hover { background: var(--c-paper-200); color: var(--c-text-900); }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch__track { position: relative; width: 46px; height: 26px; flex: 0 0 46px; border-radius: 99px; background: var(--c-paper-400); transition: background .2s; }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .2s var(--ease-out); }
.switch input:checked + .switch__track { background: var(--gold); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--c-gold-600); outline-offset: 2px; }
.switch__t b { display: block; font-size: 13.5px; }
.switch__t small { display: block; font-size: 12px; color: var(--c-text-500); }
.rulemap { position: relative; list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.rulemap::before { content: ""; position: absolute; left: 18px; right: 18px; top: 18px; height: 3px; border-radius: 3px; opacity: .85;
  background: linear-gradient(90deg, #f28b4a 0%, #eba40e 38%, #ef6a62 68%, #34c77b 100%); }
.rulemap.is-manual::before { background: linear-gradient(90deg, #f28b4a, #eba40e 60%, #34c77b); }
.rulemap__n { position: relative; display: grid; align-content: start; gap: 3px; }
.rulemap__d { width: 38px; height: 38px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: var(--rm-c); box-shadow: inset 0 0 0 2px var(--rm-c), 0 8px 16px -10px rgba(0, 0, 0, .3); }
.rulemap__d .ic { width: 18px; height: 18px; }
.rulemap__n b { font-size: 13px; font-weight: 700; }
.rulemap__n small { font-size: 12px; line-height: 1.45; color: var(--c-text-500); }
.rulemap__n--orange { --rm-c: #c2410c; } .rulemap__n--red { --rm-c: #b8342a; } .rulemap__n--green { --rm-c: #0f7a4c; } .rulemap__n--off { --rm-c: #a39e92; }
.rulemap__n--off b { color: var(--c-text-500); }
.rulemap__gap { position: relative; padding-top: 6px; text-align: center; }
.rulemap__gap b { position: relative; z-index: 1; display: inline-block; padding: 4px 10px; border-radius: 99px; background: #fff7ea; border: 1px solid rgba(235, 164, 14, .38); font-size: 12px; font-weight: 700; color: #7a5617; }
.rulemap__gap small { display: block; margin-top: 8px; font-size: 12px; line-height: 1.45; color: var(--c-text-500); }

/* prévia “como o cliente vai ver” */
.preview { margin-top: 16px; padding: 12px; border-radius: 14px; border: 1px dashed rgba(198, 146, 50, .5); background: #fffdf8; }
.preview__l { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9e7222; }
.preview__l .ic { width: 14px; height: 14px; }
.preview__b { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgba(20, 18, 12, .07); box-shadow: 0 12px 24px -20px rgba(20, 18, 12, .4); }
.pv-notif { display: flex; align-items: center; gap: 12px; }
.pv-notif__t { flex: 1; min-width: 0; }
.pv-notif b { display: block; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.pv-notif small { display: block; font-size: 12px; color: var(--c-text-500); }
.pv-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pv-row > span:not(.badge):not(.btn) { display: grid; }
.pv-row small { font-size: 11px; color: var(--c-text-500); }
.pv-row b { font-size: 13.5px; }
.pv-row__d { flex: 1 1 180px; min-width: 0; }

/* -------------------------------------------------------------- toasts */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: grid; justify-items: end; gap: 10px; }
.toast { display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 12px 16px 12px 12px; border-radius: 12px; color: #f3efe6; font-size: 13.5px; line-height: 1.45;
  background: #1b1b1f; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  animation: rise .25s var(--ease-out); transition: opacity .3s, transform .3s; }
.toast.is-out { opacity: 0; transform: translateY(6px); }
.toast__i { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 9px; background: rgba(52, 199, 123, .16); color: #5fd796; }
.toast__i .ic { width: 16px; height: 16px; }
.toast--error .toast__i { background: rgba(229, 72, 77, .18); color: #ff8d90; }

/* ================================================================ ENTRADA */
.auth { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr); min-height: 100vh; min-height: 100dvh; background: var(--c-paper-100); }
.auth__show { position: sticky; top: 0; height: 100vh; height: 100dvh; min-height: 660px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  padding: 40px clamp(32px, 4.5vw, 64px) 30px; color: #fff;
  background: radial-gradient(900px 520px at 100% 0%, rgba(235, 164, 14, .3), transparent 60%),
    radial-gradient(700px 480px at -10% 100%, rgba(198, 146, 50, .22), transparent 62%),
    linear-gradient(160deg, #141417 0%, #0b0b0d 60%, #120f09 100%); }
.auth__show::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(237, 197, 106, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(237, 197, 106, .06) 1px, transparent 1px); background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(80% 70% at 80% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(80% 70% at 80% 30%, #000 10%, transparent 70%); }
.auth__show::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .3; mix-blend-mode: soft-light; pointer-events: none; }
.auth__orbit { position: absolute; right: -200px; top: 24%; width: 780px; color: rgba(237, 197, 106, .17); z-index: -1; pointer-events: none; transform: rotate(-6deg); }
.auth__brand .brand-logo--lg { width: 236px; }
.auth__pitch { max-width: 560px; margin-top: clamp(30px, 6.5vh, 70px); }
.auth__pitch h1 { margin: 16px 0 0; font-family: var(--font-display); font-size: clamp(34px, 3.5vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; }
.auth__pitch h1 em { font-style: normal; color: var(--gold); }
.auth__pitch p { margin: 18px 0 0; max-width: 46ch; font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .7); }
.auth__mock { position: relative; flex: 1; min-height: 220px; margin: 26px 0 18px; }
.mock { position: absolute; padding: 14px; border-radius: 18px; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .08); animation: float 7s ease-in-out infinite; }
.mock--doc { left: 0; top: 0; width: min(380px, 68%); color: var(--c-text-900); background: rgba(255, 255, 255, .96); }
.mock__row { display: flex; align-items: center; gap: 12px; }
.mock__t { flex: 1; min-width: 0; }
.mock__t b { display: block; font-size: 13px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__t small { display: block; font-size: 11.5px; color: var(--c-text-500); }
.mock__journey { position: relative; list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); font-size: 11px; font-weight: 600; color: var(--c-text-500); }
.mock__journey::before { content: ""; position: absolute; left: 6px; right: 38%; top: 5px; height: 2px; background: var(--gold); }
.mock__journey li { position: relative; padding-top: 16px; }
.mock__journey li::before { content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--c-paper-300); }
.mock__journey li.is-done { color: var(--c-text-900); }
.mock__journey li.is-done::before { background: var(--gold); box-shadow: none; }
.mock--notif { left: 14%; bottom: 0; display: flex; align-items: center; gap: 12px; width: 300px; animation-delay: -2.4s; }
.mock--notif b { display: block; font-size: 13px; }
.mock--notif small { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.mock--stat { right: 0; top: 22px; display: grid; gap: 2px; width: 178px; animation-delay: -4.6s; }
.mock--stat small { font-size: 11.5px; color: rgba(255, 255, 255, .65); }
.mock--stat b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.mock--stat .badge { justify-self: start; --b-c: #8ce0b4; --b-dot: #34c77b; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-height: 760px) { .mock--stat { display: none; } }
.auth__steps { list-style: none; margin: 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid rgba(255, 255, 255, .08); }
.auth__steps li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.auth__steps b { display: block; font-size: 13px; }
.auth__steps small { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); }
.auth__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 12px; color: rgba(255, 255, 255, .45); }
.auth__foot span { display: inline-flex; align-items: center; gap: 6px; }
.auth__foot .ic { width: 14px; height: 14px; color: #edc56a; }
.auth__panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 32px 28px;
  background: radial-gradient(600px 300px at 50% -10%, rgba(235, 164, 14, .1), transparent 70%), var(--c-paper-100); }
.auth__box { width: 100%; max-width: 440px; }
.auth__mbrand { display: none; }
.auth__head { margin-bottom: 22px; }
.pill-gold { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold-800); }
.pill-gold .ic { width: 14px; height: 14px; }
.auth__head h2 { margin-top: 16px; font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.025em; }
.auth__head p { margin: 6px 0 0; font-size: 14px; color: var(--c-text-500); }
#loginError .callout { margin-bottom: 16px; }
.auth .inp { min-height: 50px; font-size: 15px; }
#lfPass { padding-right: 50px; }
.hint { display: flex; gap: 10px; margin: -4px 0 14px; padding: 12px; border-radius: 12px; background: #fffaf0; border: 1px solid rgba(235, 164, 14, .3); font-size: 12.5px; line-height: 1.55; color: var(--c-text-700); }
.hint[hidden] { display: none; }
.hint .ic { flex: 0 0 18px; color: #b07d12; }
#lfGo { margin-top: 6px; }
.auth__or { display: flex; align-items: center; gap: 12px; margin: 26px 0 16px; font-size: 12px; color: var(--c-text-500); }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: var(--c-paper-300); }
.demo__list { display: grid; gap: 8px; margin-top: 10px; }
.demo-card { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 16px; border: 1px solid var(--c-paper-300); background: #fff; font: inherit; text-align: left; cursor: pointer;
  transition: border-color .15s; }
.demo-card:hover { border-color: rgba(235, 164, 14, .5); }
.demo-card__t { flex: 1; min-width: 0; }
.demo-card__t b { display: block; font-size: 13.5px; font-weight: 650; color: var(--c-text-900); }
.demo-card__t small { display: block; font-size: 11.5px; font-weight: 650; letter-spacing: .02em; color: #9e7222; }
.demo-card__t span { display: block; margin-top: 2px; font-size: 12px; color: var(--c-text-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-card__go { width: 18px; height: 18px; color: var(--c-paper-400); transition: transform .15s, color .15s; }
.demo-card:hover .demo-card__go { color: #b07d12; transform: translateX(3px); }
.demo-card.is-busy { opacity: .55; pointer-events: none; }
.demo__note { margin: 12px 0 0; font-size: 12px; text-align: center; color: var(--c-text-500); }
.auth__help { margin: 22px 0 0; font-size: 12.5px; color: var(--c-text-500); }

/* ============================================================ PAGAMENTO */
.paywall { min-height: 100vh; background: radial-gradient(900px 400px at 80% -100px, rgba(229, 72, 77, .08), transparent 60%), var(--c-paper-100); }
.paywall__top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 14px max(24px, calc((100vw - 1120px) / 2));
  background: rgba(247, 246, 242, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-paper-300); }
.paywall__top .brand-logo--sm { width: 142px; }
.paywall__co { padding-left: 14px; border-left: 1px solid var(--c-paper-300); font-size: 13px; font-weight: 600; color: var(--c-text-700); }
.paywall__me { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.paywall__main { max-width: 1120px; margin: 0 auto; padding: 24px 24px 48px; }
.paywall__main:focus { outline: none; }
.paywall__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; margin-top: 22px; align-items: start; }
.pay-sum, .pay-box { padding: 20px; }
.pay-sum h2, .pay-box h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.pay-list { list-style: none; margin: 0; padding: 0; }
.pay-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-paper-200); }
.pay-list__t b { display: block; font-size: 13.5px; }
.pay-list__t small { display: block; font-size: 12px; color: var(--c-text-500); }
.pay-list__v { display: grid; justify-items: end; gap: 4px; }
.pay-list__v b { font-variant-numeric: tabular-nums; }
.pay-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; padding: 16px 0; }
.pay-total span { font-size: 14px; font-weight: 650; }
.pay-total b { font-size: 28px; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pay-box .seg { margin-bottom: 16px; }
.pay-how { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: var(--c-text-700); }
.pix { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pix__b { flex: 1; min-width: 220px; }
.qr { display: grid; width: 176px; height: 176px; padding: 10px; background: #fff; border: 1px solid var(--c-paper-300); border-radius: 16px; box-shadow: var(--shadow-sm); }
.qr i { display: block; background: #111114; }
.copy__row { display: flex; gap: 8px; }
.copy__row .inp { min-height: 42px; }
.pay-meta { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: var(--c-text-500); }
.barcode { display: flex; align-items: flex-end; gap: 2px; height: 70px; margin-bottom: 14px; padding: 10px 12px; overflow: hidden; background: #fff; border: 1px solid var(--c-paper-300); border-radius: 12px; }
.barcode i { display: block; height: 100%; flex: 0 0 auto; background: #111114; }
.barcode i:nth-child(3n) { opacity: .35; }
.barcode i:nth-child(4n) { height: 78%; }
#pwPay { margin-top: 18px; }
.pay-note { margin: 10px 0 0; font-size: 12px; text-align: center; color: var(--c-text-500); }
.paywall__foot { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; font-size: 13px; color: var(--c-text-500); }

/* ============================================================ RESPONSIVO */
@media (max-width: 1320px) {
  .folders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols--3 > :first-child { grid-row: span 2; }
  .routine__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
}
@media (max-width: 1180px) {
  .cols--main { grid-template-columns: minmax(0, 1fr); }
  .metrics--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { width: 230px; }
  .stage__head { flex-wrap: wrap; align-items: flex-start; }
  .stage__copy { flex-basis: 100%; }
  .stage__actions { justify-content: flex-start; }
  .rule { grid-template-columns: minmax(0, 1fr); }
  .rule__form { border-right: 0; border-bottom: 1px solid var(--c-paper-200); }
  .howto--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .howto--row li::after { display: none; }
  .about--row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 980px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .rail { position: fixed; top: 10px; bottom: 10px; left: 10px; z-index: 60; width: min(310px, calc(100vw - 20px)); height: auto; margin: 0;
    transform: translateX(calc(-100% - 20px)); visibility: hidden; transition: transform .28s var(--ease-out), visibility .28s; }
  .nav-open .rail { transform: none; visibility: visible; }
  .rail__close { display: grid; }
  .nav-open .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 50; border: 0; background: rgba(10, 10, 12, .5); backdrop-filter: blur(3px); }
  .appbar { min-height: 64px; padding: 12px 16px; }
  .appbar__menu { display: grid; }
  .appbar__brand { display: block; width: 122px; }
  .crumbs { display: none; }
  .canvas { padding: 4px 16px 40px; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth__show { display: none; }
  .auth__mbrand { display: block; width: 176px; margin-bottom: 26px; }
  .paywall__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .search { width: 42px; flex: 0 0 42px; padding: 0; justify-content: center; }
  .search span, .search kbd { display: none; }
  .appbar__help { width: 42px; padding: 0; }
  .appbar__help span { display: none; }
  .stage { padding: 20px 18px 22px; border-radius: 22px; }
  .stage--metrics { padding-bottom: 80px; }
  .stage__date { display: none; }
  .stage__orbit { width: 380px; right: -140px; }
  .stage__actions { width: 100%; }
  .stage__actions .btn { flex: 1 1 auto; }
  .stage__steps { grid-template-columns: minmax(0, 1fr); }
  .metrics { margin: -58px 10px 0; gap: 10px; }
  .guide__steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .guide__step:not(:last-child)::after { display: none; }
  .guide__a { margin-left: 0; width: 100%; }
  .guide__a .btn { flex: 1; }
  .upload__fields, .pick, .kvgrid, .cols--3, .howto--row { grid-template-columns: minmax(0, 1fr); }
  .cols--3 > :first-child { grid-row: auto; }
  .routine__steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .callout { flex-wrap: wrap; }
  .callout__a { width: 100%; padding-left: 52px; }
  .sect__head { flex-wrap: wrap; }
  .sect__t { flex-basis: calc(100% - 52px); }
  .sect__a { margin-left: 50px; }
  .toolbar .field--search { margin-left: 0; max-width: none; }
  .rulemap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rulemap::before { left: 18px; right: auto; top: 18px; bottom: 18px; width: 3px; height: auto; background: linear-gradient(180deg, #f28b4a 0%, #eba40e 38%, #ef6a62 68%, #34c77b 100%); }
  .rulemap__n { grid-template-columns: 38px minmax(0, 1fr); column-gap: 12px; }
  .rulemap__d { grid-row: span 2; margin: 0; }
  .rulemap__gap { padding: 0 0 0 50px; text-align: left; }
  .rulemap__gap small { margin-top: 6px; }
  .toasts { left: 12px; right: 12px; justify-items: stretch; }
  .toast { max-width: none; }
  .ov { padding: 10px; }
  .ov--top { padding-top: 10px; }
  .modal__h, .modal__b, .modal__f { padding-left: 16px; padding-right: 16px; }
  .modal__f .btn { flex: 1 1 auto; }
  .modal--drawer { max-width: none; }
  .auth__panel { justify-content: flex-start; padding: 28px 18px 24px; }
  .auth__head h2 { font-size: 26px; }
  .paywall__top { padding: 12px 16px; }
  .paywall__co { display: none; }
  .paywall__main { padding: 14px 12px 40px; }
  .canvas__foot-r { margin-left: 0; }
  .req { flex-wrap: wrap; }
  .req > .btn { margin-left: 52px; }

  /* tabelas viram fichas, com o rótulo de cada coluna ao lado do valor */
  .tbl--stack, .tbl--stack tbody { display: block; width: 100%; }
  .tbl--stack thead { display: none; }
  .tbl--stack tbody tr { display: grid; gap: 9px; padding: 14px 16px; border-bottom: 1px solid var(--c-paper-200); }
  .tbl--stack tbody tr:last-child { border-bottom: 0; }
  .tbl--stack td { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0 10px; align-items: start; padding: 0; border: 0; font-size: 13px; min-width: 0; }
  .tbl--stack td > * { justify-self: start; max-width: 100%; }
  .tbl--stack td[data-label]::before { content: attr(data-label); grid-row: 1 / span 4; flex: none; padding-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-500); }
  .tbl--stack td:first-child { display: block; margin-bottom: 2px; }
  .tbl--stack td:first-child::before { display: none; }
  .tbl--stack td.acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; text-align: left; white-space: normal; }
  .tbl--stack td.acts::before { display: none; }
  .tbl--stack .acts > * + * { margin-left: 0; }
  .tbl--stack .fname { min-width: 0; }
}
@media (max-width: 560px) {
  .metrics--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics--3 { grid-template-columns: minmax(0, 1fr); }
  .metric { padding: 13px 14px 12px; border-radius: 12px; }
  .metric__label { font-size: 10.5px; letter-spacing: .06em; }
  .metric__ic { display: none; }
  .metric__value { font-size: 21px; }
  .metric__status { font-size: 12px; }
  .folders { grid-template-columns: minmax(0, 1fr); }
  .flows { padding: 14px 10px; }
  .flow__n b { font-size: 19px; }
  .flow__i { width: 38px; height: 38px; }
  .flow__line { margin-top: 31px; }
  .auth__steps { grid-template-columns: minmax(0, 1fr); }
  .journey__s small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
