/* Fábrica — rebranding v3 (10/11, Higor: «cara de SOFTWARE PREMIUM PROFISSIONAL», nível Linear/Vercel/Stripe).
   Começa só em Áreas + página da Área (classe html.v3, ligada pela rota). O resto da Fábrica fica igual até aprovar.
   Princípios: neutros com leve tom frio (não cinza chapado) · borda 1 px sutil · sombra leve em camadas · tipografia
   afinada (tamanho, peso, tracking) · grade de 4 px · estados de hover/focus em tudo · números tabulares · atalhos. */

/* ---------- tokens ---------- */
html.v3{
  --v-bg:#FBFBFC; --v-s1:#FFFFFF; --v-s2:#F7F8FA; --v-s3:#F0F2F5; --v-hover:#F4F5F8;
  --v-line:#E9EBEF; --v-line-2:#DDE0E6; --v-line-3:#C9CDD5;
  --v-text:#0D0F14; --v-text-2:#3B414D; --v-muted:#6A707D; --v-dim:#9CA1AC;
  --v-acc:#0A7CFF; --v-acc-2:#0067DB; --v-acc-soft:#EEF5FF; --v-acc-line:#C7DDFF; --v-acc-txt:#0062CC;
  --v-ok:#0E9F5A; --v-ok-soft:#E9F8EF; --v-warn:#B26A00; --v-warn-soft:#FFF5E3; --v-bad:#D02E43; --v-bad-soft:#FDEEF0;
  --v-sh-1:0 1px 1px rgba(13,15,20,.03),0 1px 2px rgba(13,15,20,.04);
  --v-sh-2:0 1px 2px rgba(13,15,20,.04),0 4px 12px -2px rgba(13,15,20,.06);
  --v-sh-3:0 2px 4px rgba(13,15,20,.04),0 12px 32px -8px rgba(13,15,20,.14);
  --v-hi:inset 0 1px 0 rgba(255,255,255,.7);
  --v-ring:0 0 0 1px var(--v-acc),0 0 0 4px rgba(10,124,255,.16);
  --v-card:var(--v-s1);
  --v-glow:radial-gradient(1100px 380px at 50% -140px,rgba(10,124,255,.05),transparent 70%);
  /* o resto da Fábrica lê os tokens antigos: apontam pros novos dentro do v3 */
  --fv-bg:var(--v-bg); --fv-s1:var(--v-s1); --fv-s2:var(--v-s2); --fv-s3:var(--v-s3); --fv-line:var(--v-line); --fv-line-hi:var(--v-line-2);
  --fv-text:var(--v-text); --fv-text2:var(--v-text-2); --fv-muted:var(--v-muted); --fv-dim:var(--v-dim);
  --fv-acc:var(--v-acc); --fv-acc-hover:var(--v-acc-2); --fv-acc-txt:var(--v-acc-txt); --fv-acc-dim:var(--v-acc-soft); --fv-acc-line:var(--v-acc-line);
  --fv-ok:var(--v-ok); --fv-ok-dim:var(--v-ok-soft); --fv-warn:var(--v-warn); --fv-warn-dim:var(--v-warn-soft); --fv-bad:var(--v-bad); --fv-bad-dim:var(--v-bad-soft);
  --fv-sombra:var(--v-sh-1); --fv-flutua:var(--v-sh-3);
}
@media (prefers-color-scheme:dark){html.v3:not([data-tema="claro"]){
  --v-bg:#08090B; --v-s1:#0E0F12; --v-s2:#141519; --v-s3:#1A1C21; --v-hover:rgba(255,255,255,.035);
  --v-line:rgba(255,255,255,.07); --v-line-2:rgba(255,255,255,.1); --v-line-3:rgba(255,255,255,.16);
  --v-text:#F4F5F7; --v-text-2:#C9CDD5; --v-muted:#8B909B; --v-dim:#5F646F;
  --v-acc:#2B8CFF; --v-acc-2:#4A9DFF; --v-acc-soft:rgba(43,140,255,.12); --v-acc-line:rgba(43,140,255,.32); --v-acc-txt:#6DB0FF;
  --v-ok:#35C27F; --v-ok-soft:rgba(53,194,127,.12); --v-warn:#E9AE45; --v-warn-soft:rgba(233,174,69,.12); --v-bad:#F0677A; --v-bad-soft:rgba(240,103,122,.12);
  --v-sh-1:0 1px 0 rgba(0,0,0,.4); --v-sh-2:0 1px 0 rgba(0,0,0,.4),0 8px 24px -8px rgba(0,0,0,.6); --v-sh-3:0 16px 48px -12px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.06);
  --v-hi:inset 0 1px 0 rgba(255,255,255,.045);
  --v-ring:0 0 0 1px var(--v-acc),0 0 0 4px rgba(43,140,255,.22);
  --v-card:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.012)) var(--v-s1);
  --v-glow:radial-gradient(1100px 420px at 50% -160px,rgba(43,140,255,.09),transparent 70%);
}}
html.v3[data-tema="escuro"]{
  --v-bg:#08090B; --v-s1:#0E0F12; --v-s2:#141519; --v-s3:#1A1C21; --v-hover:rgba(255,255,255,.035);
  --v-line:rgba(255,255,255,.07); --v-line-2:rgba(255,255,255,.1); --v-line-3:rgba(255,255,255,.16);
  --v-text:#F4F5F7; --v-text-2:#C9CDD5; --v-muted:#8B909B; --v-dim:#5F646F;
  --v-acc:#2B8CFF; --v-acc-2:#4A9DFF; --v-acc-soft:rgba(43,140,255,.12); --v-acc-line:rgba(43,140,255,.32); --v-acc-txt:#6DB0FF;
  --v-ok:#35C27F; --v-ok-soft:rgba(53,194,127,.12); --v-warn:#E9AE45; --v-warn-soft:rgba(233,174,69,.12); --v-bad:#F0677A; --v-bad-soft:rgba(240,103,122,.12);
  --v-sh-1:0 1px 0 rgba(0,0,0,.4); --v-sh-2:0 1px 0 rgba(0,0,0,.4),0 8px 24px -8px rgba(0,0,0,.6); --v-sh-3:0 16px 48px -12px rgba(0,0,0,.8),0 0 0 1px rgba(255,255,255,.06);
  --v-hi:inset 0 1px 0 rgba(255,255,255,.045);
  --v-ring:0 0 0 1px var(--v-acc),0 0 0 4px rgba(43,140,255,.22);
  --v-card:linear-gradient(180deg,rgba(255,255,255,.028),rgba(255,255,255,.012)) var(--v-s1);
  --v-glow:radial-gradient(1100px 420px at 50% -160px,rgba(43,140,255,.09),transparent 70%);
}

/* ---------- base ---------- */
html.v3 body{background:var(--v-glow) no-repeat,var(--v-bg);color:var(--v-text);font-size:14px;line-height:1.5;letter-spacing:-.006em;
  font-feature-settings:"cv11","ss01","ss03","calt";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
html.v3 ::selection{background:var(--v-acc-soft);color:var(--v-text)}
html.v3 main{padding:36px 0 120px}
html.v3 .w{max-width:1160px;padding:0 32px}
html.v3 .ico{width:16px;height:16px;stroke-width:1.75}

/* topo */
html.v3 .topo{background:color-mix(in srgb,var(--v-bg) 78%,transparent);backdrop-filter:saturate(1.8) blur(14px);-webkit-backdrop-filter:saturate(1.8) blur(14px);border-bottom:1px solid var(--v-line)}
html.v3 .topo .w{height:52px;gap:20px}
html.v3 .topo .marca .txt{font-size:14px;font-weight:600;letter-spacing:-.01em}
html.v3 .topo .abas{gap:2px;align-self:center}
html.v3 .topo .abas a{height:30px;padding:0 10px;border-radius:7px;font-size:13.5px;font-weight:500;color:var(--v-muted);transition:color .12s,background .12s}
html.v3 .topo .abas a:hover{color:var(--v-text);background:var(--v-hover)}
html.v3 .topo .abas a.on{color:var(--v-text);background:var(--v-s3)}
html.v3 .topo .abas a.on::after{display:none}
html.v3 .topo .amb{height:22px;padding:0 8px;border-radius:6px;font-size:11.5px;font-weight:500;letter-spacing:0;border:1px solid var(--v-line-2);color:var(--v-muted);background:transparent}
html.v3 .eu .av{width:28px;height:28px;font-size:12px;box-shadow:0 0 0 1px var(--v-line-2)}

/* botões */
html.v3 .btn{height:32px;padding:0 12px;gap:6px;border-radius:8px;font-size:13px;font-weight:500;letter-spacing:-.005em;color:var(--v-text);
  background:var(--v-s1);border:1px solid var(--v-line-2);box-shadow:var(--v-sh-1),var(--v-hi);transition:background .12s,border-color .12s,box-shadow .12s,transform .06s}
html.v3 .btn:hover{background:var(--v-s2);border-color:var(--v-line-3)}
html.v3 .btn:active{transform:translateY(.5px)}
html.v3 .btn:focus-visible{outline:none;box-shadow:var(--v-ring)}
html.v3 .btn .ico{color:var(--v-muted)}
html.v3 .btn.pri{color:#fff;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0)) var(--v-acc);border-color:transparent;
  box-shadow:0 0 0 1px var(--v-acc-2),0 1px 2px rgba(0,60,140,.3),inset 0 1px 0 rgba(255,255,255,.22)}
html.v3 .btn.pri:hover{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0)) var(--v-acc-2)}
html.v3 .btn.pri .ico{color:rgba(255,255,255,.9)}
html.v3 .btn.leve{background:transparent;border-color:transparent;box-shadow:none;color:var(--v-text-2)}
html.v3 .btn.leve:hover{background:var(--v-hover)}
html.v3 .btn.sm{height:28px;padding:0 10px;font-size:12.5px;border-radius:7px}
html.v3 .btn[disabled]{opacity:.5;pointer-events:none}
html.v3 kbd{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:5px;font:500 11px/1 Inter,system-ui,sans-serif;
  color:var(--v-muted);background:var(--v-s2);border:1px solid var(--v-line-2);box-shadow:inset 0 -1px 0 var(--v-line-2)}
html.v3 .btn.pri kbd{color:rgba(255,255,255,.85);background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.22);box-shadow:none;margin-left:2px}

/* selos (status) */
html.v3 .selo{height:20px;padding:0 7px;gap:5px;border-radius:6px;font-size:11.5px;font-weight:500;letter-spacing:0;background:var(--v-s3);color:var(--v-text-2);box-shadow:inset 0 0 0 1px var(--v-line)}
html.v3 .selo i{width:6px;height:6px}
html.v3 .selo.ok{background:var(--v-ok-soft);color:var(--v-ok);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--v-ok) 22%,transparent)}
html.v3 .selo.wait{background:var(--v-warn-soft);color:var(--v-warn);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--v-warn) 22%,transparent)}
html.v3 .selo.bad{background:var(--v-bad-soft);color:var(--v-bad);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--v-bad) 22%,transparent)}
html.v3 .selo.acc{background:var(--v-acc-soft);color:var(--v-acc-txt);box-shadow:inset 0 0 0 1px var(--v-acc-line)}
html.v3 .selo.ok i{animation:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--v-ok) 22%,transparent)}

/* ---------- lista de Áreas ---------- */
html.v3 .v3-cab{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 24px}
html.v3 .v3-cab h1{margin:0;font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.024em}
html.v3 .v3-sub{margin:6px 0 0;font-size:14px;color:var(--v-muted)}
html.v3 .v3-cab-a{display:flex;align-items:center;gap:8px}
html.v3 .v3-busca{display:flex;align-items:center;gap:8px;width:260px;height:32px;padding:0 6px 0 10px;border-radius:8px;background:var(--v-s1);border:1px solid var(--v-line-2);box-shadow:var(--v-sh-1);transition:border-color .12s,box-shadow .12s}
html.v3 .v3-busca:hover{border-color:var(--v-line-3)}
html.v3 .v3-busca:focus-within{border-color:var(--v-acc);box-shadow:var(--v-ring)}
html.v3 .v3-busca .ico{color:var(--v-dim);flex:none}
html.v3 .v3-busca input{flex:1;min-width:0;height:100%;border:0;outline:0;background:none;color:var(--v-text);font:inherit;font-size:13px}
html.v3 .v3-busca input::placeholder{color:var(--v-dim)}

html.v3 .v3-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px}
html.v3 .v3-kpi{position:relative;padding:14px 16px 16px;border-radius:12px;background:var(--v-card);border:1px solid var(--v-line);box-shadow:var(--v-sh-1),var(--v-hi)}
html.v3 .v3-kpi span{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;color:var(--v-muted)}
html.v3 .v3-kpi span .ico{width:14px;height:14px;color:var(--v-dim)}
html.v3 .v3-kpi b{display:block;margin-top:8px;font-size:26px;line-height:1.1;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
html.v3 .v3-kpi b small{font-size:14px;font-weight:500;color:var(--v-dim);letter-spacing:-.01em;margin-left:4px}
html.v3 .v3-kpi em{display:block;margin-top:4px;font-style:normal;font-size:12px;color:var(--v-dim)}
html.v3 .v3-kpi em.ok{color:var(--v-ok)}

html.v3 .v3-tab{border-radius:12px;background:var(--v-card);border:1px solid var(--v-line);box-shadow:var(--v-sh-1),var(--v-hi);overflow:hidden}
html.v3 .v3-th,html.v3 .v3-tr{display:grid;grid-template-columns:minmax(0,1fr) 150px 96px 116px 190px 20px;align-items:center;gap:16px;padding:0 16px}
html.v3 .v3-th{height:36px;font-size:12px;font-weight:500;color:var(--v-muted);background:var(--v-s2);border-bottom:1px solid var(--v-line)}
html.v3 .v3-th .n,html.v3 .v3-tr .n{text-align:right}
html.v3 .v3-tr{min-height:60px;padding-top:10px;padding-bottom:10px;color:inherit;cursor:pointer;transition:background .1s}
html.v3 .v3-tr+.v3-tr{border-top:1px solid var(--v-line)}
html.v3 .v3-tr:hover{background:var(--v-hover)}
html.v3 .v3-tr:focus-visible{outline:none;box-shadow:inset 0 0 0 2px var(--v-acc)}
html.v3 .v3-area{display:flex;align-items:center;gap:12px;min-width:0}
html.v3 .v3-area .ic{width:32px;height:32px;flex:none;border-radius:8px;background:var(--fv-tile,#0B0C10);border:0;box-shadow:0 0 0 1px var(--v-line-2)}
html.v3 .v3-area .ic span{font-size:14px}
html.v3 .v3-area .t{min-width:0;display:flex;flex-direction:column}
html.v3 .v3-area b{font-size:14px;font-weight:500;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.v3 .v3-area small{font:12px/1.4 ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;letter-spacing:-.01em;color:var(--v-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.v3 .v3-area small i{font-style:normal;font-family:Inter,system-ui,sans-serif;color:var(--v-dim)}
html.v3 .v3-tr .n{font-size:14px;font-weight:500;font-variant-numeric:tabular-nums;color:var(--v-text)}
html.v3 .v3-tr .n.z{color:var(--v-dim)}
html.v3 .v3-prox{display:flex;align-items:center;gap:6px;min-width:0;font-size:13px;color:var(--v-text-2);white-space:nowrap}
html.v3 .v3-prox .ico{width:14px;height:14px;color:var(--v-dim)}
html.v3 .v3-prox.f{color:var(--v-dim)}
html.v3 .v3-tr>.ico{color:var(--v-dim);transition:transform .12s,color .12s}
html.v3 .v3-tr:hover>.ico{color:var(--v-text-2);transform:translateX(2px)}
html.v3 .v3-nova{display:flex;align-items:center;gap:12px;height:52px;padding:0 16px;border-top:1px solid var(--v-line);color:var(--v-muted);font-size:13px;transition:background .1s,color .1s}
html.v3 .v3-nova:hover{background:var(--v-hover);color:var(--v-text)}
html.v3 .v3-nova span{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;border:1px dashed var(--v-line-3)}
html.v3 .v3-nova kbd{margin-left:auto}
html.v3 .v3-vazio{padding:56px 24px;text-align:center;color:var(--v-muted)}
html.v3 .v3-vazio b{display:block;color:var(--v-text);font-weight:600;margin-bottom:4px}

/* ---------- página da Área ---------- */
html.v3 .migalha{display:flex;align-items:center;gap:6px;margin:0 0 16px;font-size:13px;color:var(--v-muted)}
html.v3 .migalha a{color:var(--v-muted);transition:color .12s}
html.v3 .migalha a:hover{color:var(--v-text)}
html.v3 .migalha .ico{width:12px;height:12px;color:var(--v-dim)}
html.v3 .migalha span{color:var(--v-text-2)}
html.v3 .a-cab{display:flex;align-items:center;gap:14px;margin:0 0 20px}
html.v3 .a-cab .ic{width:44px;height:44px;border-radius:11px;background:var(--fv-tile,#0B0C10);border:0;box-shadow:0 0 0 1px var(--v-line-2),var(--v-sh-2)}
html.v3 .a-cab h1{display:flex;align-items:center;gap:10px;margin:0;font-size:22px;line-height:1.2;font-weight:600;letter-spacing:-.024em}
html.v3 .a-cab .t>div{display:flex;flex-wrap:wrap;align-items:center;gap:0;margin-top:3px;font-size:13px;color:var(--v-muted)}
html.v3 .a-cab .acoes{gap:8px}

html.v3 .a-abas{gap:0;margin:0 0 28px;border-bottom:1px solid var(--v-line);flex-wrap:nowrap!important;overflow-x:auto!important;
  -webkit-mask-image:linear-gradient(90deg,#000 94%,transparent);mask-image:linear-gradient(90deg,#000 94%,transparent)}
html.v3 .a-abas a{height:38px;padding:0 10px;gap:6px;font-size:13px;font-weight:500;color:var(--v-muted);transition:color .12s}
html.v3 .a-abas a:hover{color:var(--v-text)}
html.v3 .a-abas a.on{color:var(--v-text)}
html.v3 .a-abas a.on::after{left:10px;right:10px;height:2px;background:var(--v-text);bottom:-1px}
@media (min-width:861px){html.v3 .a-abas{overflow:visible!important;-webkit-mask-image:none;mask-image:none}}
html.v3 .a-abas>a[hidden]{display:none}
html.v3 .a-mais{position:relative;flex:none;align-self:stretch;display:flex}
html.v3 .a-mais summary{display:flex;align-items:center;gap:4px;height:38px;padding:0 10px;font-size:13px;font-weight:500;color:var(--v-muted);cursor:pointer;list-style:none;border-radius:6px}
html.v3 .a-mais summary::-webkit-details-marker{display:none}
html.v3 .a-mais summary:hover,html.v3 .a-mais[open] summary{color:var(--v-text)}
html.v3 .a-mais summary .ico{width:12px;height:12px;transform:rotate(90deg);color:var(--v-dim)}
html.v3 .a-mais-m{position:absolute;top:calc(100% + 4px);right:0;z-index:40;min-width:200px;padding:4px;border-radius:10px;background:var(--v-s1);border:1px solid var(--v-line-2);box-shadow:var(--v-sh-3)}
html.v3 .a-mais-m a{display:flex;align-items:center;justify-content:space-between;gap:8px;height:32px;padding:0 10px;border-radius:6px;font-size:13px;color:var(--v-text-2)}
html.v3 .a-mais-m a:hover{background:var(--v-hover);color:var(--v-text)}
html.v3 .a-mais-m a::after{display:none}
html.v3 .a-abas .n{height:17px;padding:0 5px;display:inline-grid;place-items:center;font-size:11px;font-weight:600;border-radius:5px;border:0;background:var(--v-s3);color:var(--v-muted);font-variant-numeric:tabular-nums}
html.v3 .a-abas .n.ok{background:var(--v-ok-soft);color:var(--v-ok)}
html.v3 .a-abas .n.wait{background:var(--v-warn-soft);color:var(--v-warn)}

/* cartões da visão geral */
html.v3 .publica,html.v3 .publica.bloq{display:flex;align-items:center;gap:14px;padding:14px 16px;margin:0 0 16px;border-radius:12px;background:var(--v-card);border:1px solid var(--v-line);box-shadow:var(--v-sh-1),var(--v-hi)}
html.v3 .publica::before{content:"";flex:none;width:32px;height:32px;border-radius:8px;background:var(--v-acc-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230A7CFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E") center no-repeat;box-shadow:inset 0 0 0 1px var(--v-acc-line)}
html.v3 .publica .t{flex:1;min-width:0}
html.v3 .publica b{display:block;font-size:14px;font-weight:600;letter-spacing:-.01em}
html.v3 .publica small{display:block;font-size:13px;color:var(--v-muted);margin-top:1px}
html.v3 .publica .btn{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,0)) var(--v-acc);color:#fff;border-color:transparent;box-shadow:0 0 0 1px var(--v-acc-2),0 1px 2px rgba(0,60,140,.3),inset 0 1px 0 rgba(255,255,255,.22)}
html.v3 .publica .btn .ico{color:#fff}
html.v3 .publica.bloq .btn{background:var(--v-s2);color:var(--v-dim);box-shadow:inset 0 0 0 1px var(--v-line)}

html.v3 .ar-prox{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 24px;align-items:center;padding:18px 20px;margin:0 0 16px;border:1px solid var(--v-line);border-radius:12px;background:var(--v-card);box-shadow:var(--v-sh-1),var(--v-hi)}
html.v3 .ar-prox-l{display:none}
html.v3 .ar-prox>div:last-child{display:contents}
html.v3 .ar-prox-t{grid-column:1;margin:0;font-size:15px;font-weight:600;letter-spacing:-.012em}
html.v3 .ar-prox-t::before{content:"Próximo passo";display:block;margin-bottom:6px;font-size:12px;font-weight:500;letter-spacing:0;color:var(--v-muted)}
html.v3 .ar-prox-d{grid-column:1;margin:2px 0 0;font-size:13px;color:var(--v-muted)}
html.v3 .ar-prox-a{grid-column:2;grid-row:1 / span 2;justify-self:end;margin:0}
html.v3 .seg6{grid-column:1 / -1;display:grid;grid-template-columns:repeat(6,1fr);gap:4px;max-width:none;margin:14px 0 6px}
html.v3 .seg6 i{height:4px;border-radius:2px;background:var(--v-s3);box-shadow:inset 0 0 0 1px var(--v-line)}
html.v3 .seg6 i.f{background:var(--v-acc);box-shadow:none}
html.v3 .seg6-rot{grid-column:1 / -1;font-size:12px;color:var(--v-muted)}
html.v3 .seg6-rot:hover{color:var(--v-text)}

html.v3 .ambs{margin:0 0 28px;border-radius:12px;background:var(--v-card);border:1px solid var(--v-line);box-shadow:var(--v-sh-1),var(--v-hi);overflow:hidden}
html.v3 .ambc,html.v3 .ambc.prod{grid-template-columns:220px minmax(0,1fr) auto;column-gap:20px;padding:14px 16px}
html.v3 .ambc+.ambc{border-top:1px solid var(--v-line)}
html.v3 .ambc .tt b{font-size:13.5px;font-weight:600}
html.v3 .ambc .ex{font-size:12px;color:var(--v-muted);line-height:1.45}
html.v3 .ender{font:12.5px/1.4 ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;color:var(--v-text-2)}
html.v3 .ender span{padding:3px 8px;border-radius:6px;background:var(--v-s2);box-shadow:inset 0 0 0 1px var(--v-line);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.v3 .ambc .acoes .btn,html.v3 .ambc .acoes .btn.pri{height:28px;padding:0 9px;font-size:12.5px;background:transparent;border-color:transparent;box-shadow:none;color:var(--v-text-2)}
html.v3 .ambc .acoes .btn:hover{background:var(--v-hover);color:var(--v-text)}

html.v3 .bloco{border-radius:12px;background:var(--v-card);border:1px solid var(--v-line);box-shadow:var(--v-sh-1),var(--v-hi)}
html.v3 .bloco>.bc{padding:12px 16px;border-bottom:1px solid var(--v-line)}
html.v3 .bloco>.bc h3{font-size:13.5px;font-weight:600;letter-spacing:-.01em}
html.v3 .bloco>.bc small{font-size:12px;color:var(--v-dim)}
html.v3 .bloco.numeros{background:none;border:0;box-shadow:none;margin-bottom:24px}
html.v3 .bloco.numeros>.bc{padding:0 0 10px;border:0}
html.v3 .bloco.numeros>.bc h3{font-size:13px;font-weight:600;color:var(--v-text)}
html.v3 .numeros .kv{border:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;background:none;border-radius:0;overflow:visible}
html.v3 .numeros .kv>div{display:flex;flex-direction:column-reverse;justify-content:flex-end;padding:14px 16px 16px;border-radius:12px;background:var(--v-card);border:1px solid var(--v-line);box-shadow:var(--v-sh-1),var(--v-hi)}
html.v3 .numeros .kv b{margin-top:8px;font-size:26px;line-height:1.1;font-weight:600;letter-spacing:-.03em}
html.v3 .numeros .kv small{font-size:12.5px;font-weight:500;color:var(--v-muted)}
html.v3 .ar-pends .ar-pend{display:grid;grid-template-columns:8px minmax(0,1fr) 48px 120px 16px;align-items:center;gap:12px;height:44px;padding:0 16px;color:inherit;transition:background .1s}
html.v3 .ar-pends .ar-pend+.ar-pend{border-top:1px solid var(--v-line)}
html.v3 .ar-pends .ar-pend:hover{background:var(--v-hover)}
html.v3 .ar-pend span{font-size:13.5px}
html.v3 .ar-pend b{text-align:right;font-weight:500;font-variant-numeric:tabular-nums}
html.v3 .ar-pend small{text-align:right;font-size:12px;color:var(--v-dim)}
html.v3 .ar-pend .ico{width:14px;height:14px;color:var(--v-dim)}
html.v3 .ponto{width:7px;height:7px;border-radius:50%}
html.v3 .ponto.ok{background:var(--v-ok);box-shadow:0 0 0 3px var(--v-ok-soft)}
html.v3 .ponto.wait{background:var(--v-warn);box-shadow:0 0 0 3px var(--v-warn-soft)}

/* ---------- celular ---------- */
@media (max-width:860px){
  html.v3 .w{padding:0 16px}
  html.v3 main{padding:20px 0 96px}
  html.v3 .v3-cab{flex-direction:column;align-items:stretch;gap:14px}
  html.v3 .v3-cab-a{gap:8px}
  html.v3 .v3-busca{flex:1;width:auto}
  html.v3 .v3-busca kbd,html.v3 .btn.pri kbd,html.v3 .v3-nova kbd{display:none}
  html.v3 .v3-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  html.v3 .v3-kpi{padding:12px 14px}
  html.v3 .v3-kpi b{font-size:22px}
  html.v3 .v3-th{display:none}
  html.v3 .v3-tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"a st" "nums nums" "px px";gap:8px 12px;padding:14px}
  html.v3 .v3-tr>.v3-area{grid-area:a}
  html.v3 .v3-tr>.v3-st{grid-area:st}
  html.v3 .v3-tr>.n{display:none}
  html.v3 .v3-tr>.v3-nums{grid-area:nums;display:flex!important;gap:14px;padding-left:44px;font-size:12.5px;color:var(--v-muted)}
  html.v3 .v3-tr>.v3-nums b{color:var(--v-text);font-weight:500;font-variant-numeric:tabular-nums}
  html.v3 .v3-tr>.v3-prox{grid-area:px;padding-left:44px}
  html.v3 .v3-tr>.ico{display:none}
  html.v3 .a-cab{flex-wrap:wrap}
  html.v3 .a-cab .acoes{width:100%}
  html.v3 .a-cab .acoes .btn{flex:1}
  html.v3 .ar-prox{grid-template-columns:1fr}
  html.v3 .ar-prox-a{grid-column:1;grid-row:auto;justify-self:start;margin-top:4px}
  html.v3 .ar-prox-d{margin:0}
  html.v3 .numeros .kv{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  html.v3 .ambc,html.v3 .ambc.prod{grid-template-columns:1fr;grid-template-areas:"tt" "ex" "end" "ac"}
  html.v3 .ar-pends .ar-pend{grid-template-columns:8px minmax(0,1fr) 40px 16px}
  html.v3 .ar-pend small{display:none}
  html.v3 .publica,html.v3 .publica.bloq{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:start;gap:12px}
  html.v3 .publica .btn{grid-column:1 / -1;width:100%}
}
html.v3 .v3-nums{display:none}
@media (prefers-reduced-motion:reduce){html.v3 *{transition:none!important}}
html.v3 .ambc .acoes .btn.pri .ico{color:var(--v-muted)}

/* ---------- 10/11 (Higor, regra fixa — feedback-visual-maestro-sem-translucido): em TODA a Fábrica
   ícone SOLTO (na cor do texto ou do estado), nunca dentro de quadrado/pílula com fundo de baixa opacidade.
   Status = ponto + texto colorido, sem pílula. Escolha selecionada = SÓLIDA. Aviso = texto colorido com ícone. */
.em-no .bol,.em-esc .bol,.dica1-ic,.vz-ic,.ar-mais,.v3-nova span,.ed-item .mini:not([style*="url("]),.mini:not([style*="url("]){
  background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.em-no .bol{width:auto!important;height:auto!important;padding-top:2px;color:var(--acc-h)!important}
.em-no.gat .bol{color:var(--text)!important}
.em-no.cond .bol{color:var(--warn)!important}
.em-no .bol .ico{width:18px;height:18px}
.em-esc .bol{width:auto!important;height:auto!important;color:var(--acc-h)!important}
.em-esc .bol .ico{width:20px;height:20px}
.ed-item .mini:not([style*="url("]){width:20px!important;height:20px!important;color:var(--muted)!important}
.dica1-ic{width:auto!important;height:auto!important;padding-top:1px;color:var(--acc)!important}
.dica1-ic .ico{width:18px;height:18px;color:var(--acc)!important}
.dica1{background:var(--surface)!important;border:1px solid var(--line-2)!important;border-left:3px solid var(--acc)!important}
.v3-nova span,.ar-mais{width:auto!important;height:auto!important;color:var(--muted)}
.selo{background:none!important;box-shadow:none!important;border:0!important;padding:0!important;height:auto!important;font-weight:500}
.a-abas .n.ok,.a-abas .n.wait,.a-abas .n.bad{background:none!important;padding:0!important}
html.v3 .a-abas .n.bad{color:var(--v-bad)}
.em-aviso,.em-aviso.wait,.em-aviso.bad{background:none!important;border:0!important;border-radius:0!important;padding:0!important}
.rg-conta{background:none!important;padding:0!important}
.em-op.on{background:var(--surface)!important;border-color:var(--acc)!important;box-shadow:inset 0 0 0 1px var(--acc)}
.em-chk label.on,.ed-marcar .btn.on[data-ed-marca],.ed-comprou.on{background:var(--acc)!important;border-color:var(--acc)!important;color:#fff!important}
.em-chk label.on input{accent-color:#fff}
html.v3 .publica::before{width:18px!important;height:32px!important;border-radius:0!important;box-shadow:none!important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230A7CFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E") center no-repeat!important}

/* botões (varredura 10/11): ícone centrado e no traço do texto, mesma fonte em <a> e <button>, sem realce
   interno no escuro (deixava a borda «tremida») e fundo sólido que se distingue da página */
.btn{font-family:inherit;line-height:1}
.btn .ico{display:block;flex:none}
html.v3 .btn:not(.pri):not(.leve){box-shadow:var(--v-sh-1)}
@media (prefers-color-scheme:dark){html.v3:not([data-tema="claro"]) .btn:not(.pri):not(.leve){background:#16181D;border-color:rgba(255,255,255,.12);box-shadow:none}
  html.v3:not([data-tema="claro"]) .btn:not(.pri):not(.leve):hover{background:#1D2026;border-color:rgba(255,255,255,.2)}}
html.v3[data-tema="escuro"] .btn:not(.pri):not(.leve){background:#16181D;border-color:rgba(255,255,255,.12);box-shadow:none}
html.v3[data-tema="escuro"] .btn:not(.pri):not(.leve):hover{background:#1D2026;border-color:rgba(255,255,255,.2)}
