/* RT MIDIA - painel. Layout, tokens e componentes próprios (sem framework). Fonte: Fira Sans (OFL), hospedada em fontes/. Ícones: heroicons (MIT), em icones.js. */
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fontes/fira-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(fontes/fira-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fontes/fira-sans-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(fontes/fira-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fontes/fira-sans-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(fontes/fira-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(fontes/fira-sans-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(fontes/fira-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 900; font-display: swap; src: url(fontes/fira-sans-latin-ext-900-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 900; font-display: swap; src: url(fontes/fira-sans-latin-900-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ===== tokens ===== */
:root {
  color-scheme: light;
  --marca: #ff6a1a;
  --pg: #f1f5f9; --sup: #f8fafc; --cart: #f8fafc; --bx: #ffffff; --bd: #e2e8f0; --bd-c: #e2e8f0; --bd-in: #cad5e2; --div: #f1f5f9;
  --t1: #314158; --t2: #45556c; --t3: #62748e; --t4: #90a1b9; --t5: #cad5e2;
  --pri: #7f22fe; --pri-h: #7008e7; --pri-a: #8e51ff; --pri-t: #7f22fe; --pri-s: #ede9fe; --pri-pag: #ddd6ff; --pri-ring: #c4b4ff;
  --ok: #00c950; --ok-h: #00a63e; --ok-ring: #7bf1a8;
  --on: #7ccf00; --on-t: #5ea500; --on-p: #9ae600; --on-bg: #ecfcca;
  --err: #ec003f; --err-h: #c70036; --notif: #ff2056; --fav: #ffb900;
  --abas: #e8ecf2; --aba-on: #ffffff; --aba-on-b: #e2e8f0; --aba-on-t: #7f22fe;
  --barra: #e2e8f0; --lat-hover: #e2e8f0; --lat-ativo: #e2e8f0;
  --thead: #f8fafc; --linha: #ffffff; --linha-h: #f8fafc; --inset: #f1f5f9;
  --modal: #ffffff; --modal-cab: #f8fafc; --inp: #ffffff; --inp-b: #cad5e2; --btn-ic: #ffffff; --btn-ic-b: #e2e8f0; --menu-h: #f1f5f9;
  --al-bg: #fef3c6; --al-bd: #ffd230; --al-t: #973c00;
  --sombra-logo: 0 6px 14px rgba(255, 106, 26, .28);
  --gr: 10px;
}
html[data-tema="dark"] {
  color-scheme: dark;
  --pg: #1d293d; --sup: #0f172b; --cart: #314158; --bx: #1d293d; --bd: #314158; --bd-c: #45556c; --bd-in: #45556c; --div: #314158;
  --t1: #e2e8f0; --t2: #cad5e2; --t3: #90a1b9; --t4: #62748e; --t5: #45556c;
  --pri-t: #a684ff; --pri-s: #3b2a73; --pri-pag: #4c3a8c; --pri-ring: #5b3fb8;
  --on-t: #9ae600; --on-bg: #3d6300;
  --abas: rgba(15, 23, 43, .55); --aba-on: #314158; --aba-on-b: #45556c; --aba-on-t: #a684ff;
  --barra: #45556c; --lat-hover: #1d293d; --lat-ativo: #1d293d;
  --thead: #314158; --linha: #1d293d; --linha-h: #17223a; --inset: #1d293d;
  --modal: #0f172b; --modal-cab: #314158; --inp: #1d293d; --inp-b: #314158; --btn-ic: #1d293d; --btn-ic-b: #314158; --menu-h: #314158;
  --al-bg: #422006; --al-bd: #a65f00; --al-t: #fde68a;
  --sombra-logo: 0 6px 14px rgba(0, 0, 0, .4);
}

/* ===== base ===== */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--pg); color: var(--t3); font: 400 14px/20px "Fira Sans", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: var(--pri-t); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; color: var(--t1); }
h1 { font-size: 24px; line-height: 32px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; line-height: 24px; }
b, strong { font-weight: 700; }
button { font: inherit; color: inherit; cursor: pointer; }
.ic { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.ic.g { width: 24px; height: 24px; } .ic.p { width: 16px; height: 16px; } .ic.xg { width: 48px; height: 48px; }
.suave { color: var(--t4); } .pequeno { font-size: 12px; line-height: 16px; } .mini { font-size: 11px; line-height: 12px; }
.erro { color: var(--err); min-height: 18px; font-size: 14px; }
.verde { color: var(--on-t); } .violeta { color: var(--pri-t); }
.num-g { font-size: 36px; line-height: 40px; font-weight: 700; color: var(--t1); }
.rot-sec { font-size: 12px; line-height: 16px; text-transform: uppercase; color: var(--t4); letter-spacing: .02em; }
.esp { flex: 1; }
.linha-flex { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== marca RT MIDIA (logotipo tipográfico) ===== */
.marca-rt { display: inline-flex; align-items: center; gap: 10px; color: var(--t1); font-weight: 900; letter-spacing: .08em; line-height: 1; }
.marca-rt .bloco { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--marca); color: #fff; font-size: 21px; font-weight: 900; letter-spacing: .02em; box-shadow: var(--sombra-logo); }
.marca-rt .nome { font-size: 20px; }
.marca-rt.g .bloco { width: 56px; height: 56px; font-size: 26px; border-radius: 14px; } .marca-rt.g .nome { font-size: 24px; }
.marca-rt.p .bloco { width: 36px; height: 36px; font-size: 17px; border-radius: 10px; } .marca-rt.p .nome { font-size: 16px; }
.marca-rt.so-bloco .nome { display: none; }

/* ===== botões ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--gr); padding: 10px 20px; font-size: 14px; line-height: 20px; font-weight: 500; text-decoration: none; transition: all .3s cubic-bezier(.4, 0, .2, 1); white-space: nowrap; background: transparent; color: var(--t1); }
.btn:hover { text-decoration: none; }
.btn:focus-visible { outline: 0; box-shadow: 0 0 0 4px var(--pri-ring); }
.btn:disabled, .btn.off { opacity: .5; cursor: default; pointer-events: none; }
.btn-ok { background: var(--ok); color: #f8fafc; } .btn-ok:hover { background: var(--ok-h); } .btn-ok:focus-visible { box-shadow: 0 0 0 4px var(--ok-ring); }
.btn-pri { background: var(--pri); color: #f8fafc; } .btn-pri:hover { background: var(--pri-h); }
.btn-sec { border-color: var(--bd-in); color: var(--t1); padding: 6px 12px; } .btn-sec:hover { background: var(--sup); } html[data-tema="dark"] .btn-sec:hover { background: var(--cart); }
.btn-sec.aberto { box-shadow: 0 0 0 3px var(--bd-c); }
.btn-cinza { background: var(--bd); color: var(--t1); } .btn-cinza:hover { background: var(--bd-in); }
html[data-tema="dark"] .btn-cinza { background: #314158; } html[data-tema="dark"] .btn-cinza:hover { background: #45556c; }
.btn-perigo { background: var(--err); border-color: var(--err-h); color: #fff; padding: 0; } .btn-perigo:hover { background: var(--err-h); }
.btn-pequeno { padding: 6px 12px; font-size: 14px; } .btn-xs { padding: 4px 8px; font-size: 12px; line-height: 16px; gap: 4px; }
.btn-bloco { width: 100%; }
.btn-ic { width: 35px; height: 35px; padding: 0; background: var(--btn-ic); border: 2px solid var(--btn-ic-b); color: var(--t3); border-radius: var(--gr); display: inline-grid; place-items: center; transition: all .15s; }
.btn-ic:hover { color: var(--t1); } .btn-ic:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--pg), 0 0 0 4px var(--bd-in); }
.btn-ic .ic { width: 16px; height: 16px; }
.btn-ic.fav-on { color: var(--fav); } .btn-ic.fav-on .ic { fill: var(--fav); }
.btn-ic.perigo { background: var(--err); border-color: var(--err-h); color: #fff; } .btn-ic.perigo:hover { background: var(--err-h); color: #fff; }
.btn-ic.off { opacity: .45; } a.btn-ic { text-decoration: none; }
.btn-ic.sw-pri { background: var(--pri); border-color: var(--pri); color: #fff; }
.link-pri { color: var(--pri-t); font-weight: 600; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }

/* ===== casca ===== */
#app { min-height: 100vh; }
#lateral { position: fixed; z-index: 40; left: 0; top: 0; bottom: 0; width: 256px; background: var(--sup); border-right: 1px solid var(--bd); display: flex; flex-direction: column; transition: width .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.4, 0, .2, 1); }
#principal { margin-left: 256px; min-height: 100vh; transition: margin-left .3s cubic-bezier(.4, 0, .2, 1); }
body.recolhida #lateral { width: 88px; } body.recolhida #principal { margin-left: 88px; }
.lat-topo { height: 112px; display: flex; align-items: center; justify-content: center; flex: none; padding-top: 0; }
.lat-nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0 16px 8px; scrollbar-width: thin; }
.menu, .sub { list-style: none; margin: 0; padding: 0; }
.menu > li + li { margin-top: 8px; }
.item { display: flex; align-items: center; gap: 20px; width: 100%; padding: 8px 12px; min-height: 40px; border: 0; border-radius: var(--gr); background: transparent; color: var(--t2); font-size: 16px; line-height: 24px; text-decoration: none; text-align: left; transition: background-color .15s, color .15s; }
.item:hover { background: var(--lat-hover); color: var(--t1); text-decoration: none; }
.item.ativo { background: var(--lat-ativo); color: var(--pri-a); font-weight: 700; }
html[data-tema="dark"] .item.ativo { color: #fff; }
.item .ic { width: 24px; height: 24px; }
.item .seta { margin-left: auto; width: 16px; height: 16px; transition: transform .2s; } .grupo.aberto > .item .seta { transform: rotate(180deg); }
.sub { margin: 4px 0 0 24px; padding-left: 8px; border-left: 1px solid var(--bd); display: none; } .grupo.aberto > .sub { display: block; }
.sub a { display: block; padding: 8px; padding-left: 16px; margin-bottom: 2px; font-size: 14px; border-radius: var(--gr); color: var(--t2); } .sub a:hover { background: var(--lat-hover); text-decoration: none; color: var(--t1); } .sub a.ativo { color: var(--pri-a); font-weight: 700; }
html[data-tema="dark"] .sub a.ativo { color: #fff; }
.lat-sec { margin: 16px 16px 6px; font-size: 12px; text-transform: uppercase; color: var(--t4); }
.fav-lista { list-style: none; margin: 0 0 0 0; padding: 0; } .fav-lista a { display: flex; align-items: center; gap: 8px; padding: 6px 16px; font-size: 14px; color: var(--t2); border-radius: var(--gr); } .fav-lista a:hover { background: var(--lat-hover); text-decoration: none; }
.fav-lista .ic { width: 16px; height: 16px; color: var(--fav); fill: var(--fav); }
.lat-rodape { flex: none; padding: 12px 16px 12px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.lat-botoes { display: flex; justify-content: center; gap: 16px; }
.lat-botoes .btn-ic { position: relative; }
.ponto-notif { position: absolute; top: -5px; right: -5px; width: 12px; height: 12px; border-radius: 999px; background: var(--notif); border: 2px solid var(--sup); }
.conta-btn { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent; text-align: left; padding: 4px; border-radius: var(--gr); min-width: 0; }
.conta-btn:hover { background: var(--lat-hover); }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--pri-s); color: var(--pri-t); font-weight: 700; font-size: 15px; box-shadow: 0 0 0 2px var(--bd); text-transform: uppercase; }
.avatar.m { width: 48px; height: 48px; }
.conta-txt { min-width: 0; } .conta-txt b { display: block; font-size: 14px; font-weight: 500; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; } .conta-txt span { display: block; font-size: 12px; color: var(--t4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-conta { position: absolute; left: 12px; right: 12px; bottom: 72px; background: var(--bx); border: 1px solid var(--bd); border-radius: 6px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .15); padding: 4px; z-index: 5; }
.menu-conta button, .dd-menu button, .dd-menu a { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: transparent; padding: 8px 12px; font-size: 14px; color: var(--t1); border-radius: 4px; text-align: left; text-decoration: none; }
.menu-conta button:hover, .dd-menu button:hover, .dd-menu a:hover { background: var(--menu-h); text-decoration: none; }
.dd-menu .perigo { color: var(--err); }
.dd-menu { position: fixed; z-index: 60; min-width: 160px; background: var(--bx); border: 1px solid var(--bd); border-radius: 6px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .15); padding: 4px; }
.recolher { display: none; position: absolute; right: -35px; bottom: 8px; width: 35px; height: 36px; padding: 0; place-items: center; background: var(--sup); border: 1px solid var(--bd); border-left: 0; border-radius: 0 var(--gr) var(--gr) 0; color: var(--t3); }
.recolher:hover { color: var(--t1); }
@media (min-width: 1024px) { .recolher { display: grid; } }
body.recolhida .conta-txt, body.recolhida .item .txt, body.recolhida .item .seta, body.recolhida .sub, body.recolhida .lat-sec, body.recolhida .fav-lista, body.recolhida .marca-rt .nome { display: none; }
body.recolhida .item { justify-content: center; padding-left: 0; padding-right: 0; gap: 0; }
body.recolhida .lat-nav { padding: 0 12px 8px; }
body.recolhida .lat-botoes { flex-direction: column; align-items: center; gap: 12px; }
body.recolhida .conta-btn { justify-content: center; }
body.recolhida .menu-conta { left: 8px; right: auto; width: 180px; }
#hamb { display: none; position: fixed; z-index: 50; top: 16px; left: 0; width: 56px; height: 56px; border-radius: 999px; border: 0; background: var(--bx); color: var(--pri-t); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); place-items: center; }
#hamb .ic { width: 28px; height: 28px; }
#overlay { display: none; position: fixed; inset: 0; z-index: 35; background: rgba(15, 23, 43, .5); }
@media (max-width: 1023px) {
  #lateral { width: 288px; transform: translateX(-100%); }
  body.menu-aberto #lateral { transform: none; }
  body.menu-aberto #overlay { display: block; }
  #principal, body.recolhida #principal { margin-left: 0; }
  body.recolhida #lateral { width: 288px; }
  body.recolhida .conta-txt, body.recolhida .item .txt, body.recolhida .item .seta, body.recolhida .lat-sec, body.recolhida .marca-rt .nome { display: revert; }
  body.recolhida .item { justify-content: flex-start; padding: 8px 12px; gap: 20px; }
  body.recolhida .fav-lista { display: block; } body.recolhida .sub { display: none; } body.recolhida .grupo.aberto > .sub { display: block; }
  body.recolhida .lat-botoes { flex-direction: row; }
  #hamb { display: grid; }
  body.menu-aberto #hamb { left: 296px; color: var(--pri-t); }
  .lat-botoes { justify-content: center; }
}

/* faixa de título */
.faixa-titulo { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; background: var(--sup); border-bottom: 1px solid var(--bd); min-height: 113px; }
.titulo-blk { min-width: 0; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 20px; margin-bottom: 4px; flex-wrap: wrap; }
.crumb .voltar { width: 24px; height: 24px; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--bd); border-radius: 6px; background: var(--bx); color: var(--t3); }
.crumb .voltar .ic { width: 14px; height: 14px; }
.crumb a, .crumb > span { color: var(--t2); } .crumb .sep { color: var(--t5); } .crumb .atual { color: var(--t4); }
.titulo-blk h1 { display: flex; align-items: center; gap: 10px; }
.titulo-blk h1 .ic { width: 24px; height: 24px; }
.faixa-acoes { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.conteudo { padding: 32px 48px; }
.conteudo > h1.pg-titulo { margin-bottom: 20px; }
@media (max-width: 1023px) {
  .conteudo { padding: 24px 16px 48px; }
  .faixa-titulo { flex-direction: column; align-items: stretch; padding: 24px 16px 16px 72px; min-height: 100px; gap: 12px; }
  .faixa-acoes { justify-content: flex-start; }
}
.faixa-revenda { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 24px; background: var(--al-bg); border-bottom: 1px solid var(--al-bd); color: var(--al-t); font-size: 14px; }
.faixa-revenda .ic { width: 20px; height: 20px; } .faixa-revenda .esp { flex: 1; }
@media (max-width: 1023px) { .faixa-revenda { padding-left: 72px; } }

/* ===== cartões e grades ===== */
.cartao { background: var(--cart); border: 2px solid var(--bd-c); border-radius: var(--gr); padding: 16px; }
.cartao > h3:first-child, .cartao-t { margin: -4px 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cartao-t .ic { color: var(--t4); }
.mb { margin-bottom: 24px; } .mb-s { margin-bottom: 12px; }
.gd { display: grid; gap: 24px 32px; }
.gd3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gd2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gd3 .s2 { grid-column: span 2; } .gd3 .s3 { grid-column: span 3; }
@media (max-width: 1023px) { .gd3, .gd2 { grid-template-columns: minmax(0, 1fr); } .gd3 .s2, .gd3 .s3 { grid-column: auto; } }
.inset { background: var(--inset); border-radius: var(--gr); padding: 12px; }
.alerta { display: flex; gap: 12px; align-items: flex-start; background: var(--al-bg); border: 1px solid var(--al-bd); color: var(--al-t); border-radius: var(--gr); padding: 16px; font-size: 14px; }
.alerta .ic { width: 20px; height: 20px; margin-top: 1px; } .alerta b { margin-right: 4px; } .alerta ul { margin: 6px 0 0; padding-left: 18px; }
.caixa-info { background: var(--sup); border: 1px solid var(--bd); border-radius: var(--gr); padding: 16px; display: flex; gap: 12px; font-size: 14px; color: var(--t2); } .caixa-info .ic { color: var(--pri-t); }
.caixa-info b { color: var(--t1); font-weight: 600; }

/* tempo real */
.tr-cx { display: grid; grid-template-columns: 1fr 1fr; text-align: center; position: relative; }
.tr-cx > div { padding: 4px 0; } .tr-cx > div + div { border-left: 1px solid var(--bd-c); }
.tr-rot { font-size: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--t5); }
.tr-on .tr-rot, .tr-on .num-g { color: var(--on); } .tr-off .num-g { color: var(--t5); }
.ponto-on { width: 10px; height: 10px; border-radius: 999px; background: var(--on); position: relative; }
.ponto-on::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--on-p); animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }
.num-g.f900 { font-weight: 900; }
.barra-seg { display: flex; height: 32px; border-radius: 6px; overflow: hidden; }
.barra-seg i { display: block; height: 100%; transition: opacity .2s; } .barra-seg i:hover { opacity: .8; }
.leg { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.leg span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--t3); }
.selo-n { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 3px; color: #fff; font-size: 12px; font-weight: 500; }
.c-v { background: #8e51ff; } .c-o { background: #ff6900; } .c-c { background: #00b8db; } .c-p { background: #f6339a; }
.medias { padding-left: 24px; border-left: 1px solid var(--bd-c); display: flex; flex-direction: column; gap: 14px; }
.media-n { font-size: 36px; line-height: 36px; font-weight: 700; color: var(--t1); } .media-r { font-size: 14px; color: var(--t4); }
.est-grid { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; }
@media (max-width: 700px) { .est-grid { grid-template-columns: minmax(0, 1fr); } .medias { border-left: 0; padding-left: 0; border-top: 1px solid var(--bd-c); padding-top: 12px; } }
.top-l { display: flex; flex-direction: column; gap: 14px; }
.top-i { display: grid; grid-template-columns: 36px minmax(0, 1fr) 100px 50px; gap: 8px; align-items: center; }
.top-i .nm { font-size: 12px; text-transform: uppercase; color: var(--t3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .top-i a.nm:hover { color: var(--pri-t); }
.trilho { height: 14px; background: var(--bd); border-radius: 999px; overflow: hidden; } html[data-tema="dark"] .trilho { background: #1d293d; }
.trilho i { display: block; height: 100%; background: var(--pri); border-radius: 999px; }
.top-i .v { text-align: right; font-weight: 700; font-size: 12px; line-height: 12px; color: var(--t1); } .top-i .v small { display: block; font-weight: 400; font-size: 10px; color: var(--t4); }
.mini-thumb { width: 36px; height: 36px; border-radius: 6px; background: var(--bd); display: grid; place-items: center; color: #fff; } html[data-tema="dark"] .mini-thumb { background: #1d293d; color: #62748e; }
.var-sobe { color: var(--on-t); font-weight: 600; } .var-desce { color: var(--err); font-weight: 600; }
.alerta-item { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bd-c); } .alerta-item:first-child { border-top: 0; padding-top: 0; }
.alerta-item.nova .tit::after { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--notif); margin-left: 6px; }
.alerta-item .tit { color: var(--t1); font-weight: 700; }

/* ===== abas pílula ===== */
.abas { display: inline-flex; max-width: 100%; background: var(--abas); border-radius: var(--gr); padding: 4px; gap: 0; overflow-x: auto; scrollbar-width: none; }
.abas::-webkit-scrollbar { display: none; }
.aba { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 24px; font-size: 14px; font-weight: 500; line-height: 20px; border: 1px solid transparent; border-radius: var(--gr); background: transparent; color: var(--t3); white-space: nowrap; transition: color .15s, background-color .15s; flex: 0 0 auto; }
.aba:hover { color: var(--t1); }
.aba.ativa { background: var(--aba-on); border-color: var(--aba-on-b); color: var(--aba-on-t); }
.aba .cont { background: var(--div); color: var(--t4); border-radius: 2px; padding: 0 8px; font-size: 12px; line-height: 18px; font-weight: 500; }
html[data-tema="dark"] .aba .cont { background: #0f172b; }
.aba.on-verde.ativa { background: var(--on-bg); color: var(--on-t); border-color: transparent; } html[data-tema="dark"] .aba.on-verde.ativa { background: #4d7c0f; color: #ecfcca; }
.aba.on-verde.ativa .cont { background: #d8f999; color: var(--on-t); } html[data-tema="dark"] .aba.on-verde.ativa .cont { background: #3d6300; color: #ecfcca; }
.abas.mini .aba { padding: 6px 16px; }
.abas.largas { display: flex; } .abas.largas .aba { flex: 1 1 0; }
.barra-abas { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.barra-abas > * { min-width: 0; max-width: 100%; }
#principal { min-width: 0; }
.titulo-sec { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--t1); margin: 20px 0 12px; } .titulo-sec .ic { width: 20px; height: 20px; }

/* ===== filtros inline ===== */
.filtros { border: 2px dashed var(--bd-c); background: var(--cart); border-radius: var(--gr); padding: 16px; margin-bottom: 16px; }
.filtros .gr6 { align-items: end; }

/* ===== formulários ===== */
.campo { margin-bottom: 16px; min-width: 0; }
.campo > label, .rot-c { display: block; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--t1); margin-bottom: 6px; }
.ajuda { display: block; font-size: 11px; line-height: 13px; color: var(--t3); margin-top: 4px; }
.inp, select.inp, textarea.inp { display: block; width: 100%; background: var(--inp); border: 1px solid var(--inp-b); border-radius: var(--gr); padding: 10px 14px; font: inherit; font-size: 14px; line-height: 20px; color: var(--t1); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: border-color .15s, box-shadow .15s; }
.inp::placeholder { color: var(--t4); }
.inp:focus { outline: 0; border-color: var(--pri-a); box-shadow: 0 0 0 1px var(--pri-a); }
select.inp { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2390a1b9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
select.inp.sel-pag { width: auto; border-width: 2px; border-color: var(--bd-c); padding: 7px 34px 7px 16px; box-shadow: none; }
textarea.inp { resize: vertical; min-height: 84px; }
.inp:disabled { opacity: .6; }
.gr6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 24px; }
.gr6 > .c2 { grid-column: span 2; } .gr6 > .c3 { grid-column: span 3; } .gr6 > .c4 { grid-column: span 4; } .gr6 > .c6 { grid-column: span 6; } .gr6 > .c1 { grid-column: span 1; }
@media (max-width: 700px) { .gr6 > .c1, .gr6 > .c2, .gr6 > .c3, .gr6 > .c4 { grid-column: span 6; } }
.inp-ic { position: relative; } .inp-ic > .ic { position: absolute; left: 12px; top: 11px; color: var(--t4); width: 18px; height: 18px; } .inp-ic > .inp { padding-left: 38px; }
.inp-olho { position: relative; } .inp-olho button { position: absolute; right: 8px; top: 8px; border: 0; background: transparent; color: var(--t4); padding: 2px; } .inp-olho .inp { padding-right: 40px; }
/* toggle */
.sw { display: inline-flex; align-items: center; cursor: pointer; position: relative; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw i { display: block; width: 44px; height: 24px; border-radius: 999px; background: var(--bd); position: relative; transition: background-color .15s; flex: none; }
html[data-tema="dark"] .sw i { background: #314158; }
.sw i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 999px; background: #fff; border: 1px solid var(--bd-in); transition: transform .15s; }
.sw input:checked + i { background: var(--pri); } html[data-tema="dark"] .sw input:checked + i { background: var(--pri-a); }
.sw input:checked + i::after { transform: translateX(20px); border-color: #fff; }
.sw input:focus-visible + i { box-shadow: 0 0 0 4px var(--pri-ring); }
.sw input:disabled + i { opacity: .5; }
.campo-sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; } .campo-sw .tx b { display: block; font-size: 12px; color: var(--t1); }
.chk { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--t2); margin: 4px 0; cursor: pointer; }
input[type=checkbox].cx, input[type=radio].cx { width: 16px; height: 16px; accent-color: var(--pri); }
.lista-chk { max-height: 190px; overflow-y: auto; border: 1px solid var(--inp-b); border-radius: var(--gr); padding: 6px 12px; background: var(--inp); }
/* cartões de opção (rádio) */
.opcoes-c { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 8px; }
.opc-c { position: relative; cursor: pointer; display: block; }
.opc-c input { position: absolute; opacity: 0; }
.opc-c > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 96px; padding: 12px; border: 1px solid var(--bd-c); border-right-width: 3px; border-bottom-width: 3px; border-radius: var(--gr); background: var(--bx); color: var(--t3); font-weight: 700; font-size: 13px; transition: all .15s; }
.opc-c .ic { width: 28px; height: 28px; }
.opc-c small { font-weight: 400; font-size: 11px; line-height: 13px; }
.opc-c input:checked + div { background: var(--pri-s); border-color: var(--pri-ring); color: var(--pri-t); }
.opc-c input:focus-visible + div { box-shadow: 0 0 0 3px var(--pri-ring); }
.seg { display: inline-flex; flex-wrap: wrap; } .seg label { position: relative; } .seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 14px; border: 1px solid var(--inp-b); margin-left: -1px; font-size: 13px; background: var(--inp); color: var(--t3); cursor: pointer; } .seg label:first-child span { border-radius: var(--gr) 0 0 var(--gr); margin-left: 0; } .seg label:last-child span { border-radius: 0 var(--gr) var(--gr) 0; }
.seg input:checked + span { background: var(--pri-s); color: var(--pri-t); border-color: var(--pri-ring); position: relative; z-index: 1; font-weight: 600; }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px var(--pri-ring); position: relative; z-index: 2; }
.upload { display: grid; place-items: center; gap: 6px; text-align: center; border: 2px dashed var(--bd-in); border-radius: var(--gr); padding: 28px 16px; color: var(--t4); cursor: pointer; background: var(--inp); transition: border-color .15s; position: relative; }
.upload:hover, .upload.arrasta { border-color: var(--pri-a); color: var(--pri-t); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload .ic { width: 40px; height: 40px; }
.progresso { height: 8px; background: var(--bd); border-radius: 6px; overflow: hidden; margin: 12px 0 4px; } .progresso i { display: block; height: 100%; width: 0; background: var(--pri); transition: width .2s; }

/* ===== tabelas ===== */
.tab-cx { background: var(--cart); border: 2px solid var(--bd-c); border-radius: var(--gr); overflow: hidden; }
.rolar { overflow-x: auto; }
.tabela { width: 100%; border-collapse: collapse; }
.tabela th { background: var(--thead); border-bottom: 1px solid var(--bd-c); padding: 16px 24px; font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; color: var(--t2); text-align: center; white-space: nowrap; }
.tabela td { padding: 16px 24px; text-align: center; font-size: 14px; color: var(--t3); background: var(--linha); border-bottom: 1px solid var(--div); vertical-align: middle; }
html[data-tema="dark"] .tabela td { border-bottom-color: #0f172b; }
.tabela th:first-child, .tabela td:first-child { text-align: left; }
.tabela tbody tr:hover td { background: var(--linha-h); }
.tabela tr:last-child td { border-bottom: 0; }
.tabela .al-e { text-align: left; } .tabela .al-d { text-align: right; }
.tabela th.aco, .tabela td.aco { width: 80px; }
.cel-ap { display: flex; align-items: center; gap: 16px; min-width: 200px; text-align: left; }
.cel-ap .nm { color: var(--t3); font-size: 14px; line-height: 18px; word-break: break-word; } .cel-ap .nm a { color: inherit; } .cel-ap .nm a:hover { color: var(--pri-t); text-decoration: none; }
.cel-ap .sb { font-size: 12px; font-weight: 500; color: var(--t4); line-height: 16px; } .cel-ap .sb.v { color: var(--pri-t); }
.cel-acoes { display: inline-flex; gap: 8px; justify-content: center; align-items: center; }
.thumb { flex: none; width: 48px; height: 48px; border-radius: var(--gr); background: var(--bd); display: grid; place-items: center; color: #fff; position: relative; box-shadow: 0 0 0 3px var(--bd-in); }
html[data-tema="dark"] .thumb { background: #314158; color: #62748e; box-shadow: 0 0 0 3px #45556c; }
.thumb.on { box-shadow: 0 0 0 4px var(--on); } .thumb { z-index: 0; }
.thumb.on::before { content: ""; position: absolute; inset: -4px; border-radius: 14px; background: var(--on-p); opacity: .35; animation: pingt 2.8s cubic-bezier(0, 0, .2, 1) infinite; z-index: -1; }
@keyframes pingt { 0% { transform: scale(1); } 75%, 100% { transform: scale(1.28); opacity: 0; } }
.thumb .ic { width: 24px; height: 24px; }
.thumb.vd { width: 90px; height: 50px; border-radius: 6px; box-shadow: none; background: #0f172b; overflow: hidden; }
.thumb.vd img, .thumb.vd video { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.vd .dur { position: absolute; right: 4px; bottom: 2px; color: #fff; font-size: 12px; font-weight: 700; text-shadow: 0 1px 3px #000; }
.estrela-b { border: 0; background: transparent; padding: 0; color: var(--t5); display: inline-grid; } .estrela-b.on { color: var(--fav); } .estrela-b.on .ic { fill: var(--fav); } .estrela-b .ic { width: 18px; height: 18px; }
.disp { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--pri-t); } .disp.off { color: var(--err); }
.baixadas { display: inline-flex; align-items: center; gap: 6px; } .baixadas .bar { position: relative; width: 80px; height: 24px; background: var(--bd); border-radius: 6px; overflow: hidden; } html[data-tema="dark"] .baixadas .bar { background: #314158; }
.baixadas .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--on); } .baixadas .bar span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; } .baixadas .ic { color: var(--on-t); width: 16px; height: 16px; }
.selo { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; background: var(--bd); color: var(--t2); white-space: nowrap; }
html[data-tema="dark"] .selo { background: #314158; }
.selo.on { background: var(--on-bg); color: var(--on-t); } html[data-tema="dark"] .selo.on { background: #365314; color: #bef264; }
.selo.off { background: #ffe4e6; color: #c70036; } html[data-tema="dark"] .selo.off { background: #4c0519; color: #fda4af; }
.selo.aviso { background: #fef3c6; color: #973c00; } html[data-tema="dark"] .selo.aviso { background: #422006; color: #fde68a; }
.selo.pri { background: var(--pri-s); color: var(--pri-t); }
.etiq-cmd { display: inline-block; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; padding: 1px 8px; border: 1px solid var(--bd-in); border-radius: 6px; background: var(--bx); color: var(--t1); }
.tab-rod { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px; border-top: 1px solid var(--bd-c); }
.tab-rod .info { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--t2); } .tab-rod .info b { font-weight: 700; color: var(--t1); }
.pag { display: inline-flex; border: 1px solid var(--bd-c); border-radius: var(--gr); overflow: hidden; background: var(--bx); }
.pag button { width: 40px; height: 40px; border: 0; border-left: 1px solid var(--bd-c); background: var(--bx); color: var(--t2); font-size: 14px; } .pag button:first-child { border-left: 0; }
.pag button:hover:not(:disabled) { background: var(--menu-h); } .pag button:disabled { opacity: .4; cursor: default; }
.pag button.atual { background: var(--pri-pag); color: var(--t1); font-weight: 700; box-shadow: inset 0 0 0 1px var(--pri-a); }
@media (max-width: 700px) { .tab-rod, .tab-rod .info { flex-direction: column; align-items: stretch; } .tab-rod .pag { align-self: center; } }
.vazio { display: grid; place-items: center; text-align: center; gap: 6px; padding: 72px 16px; background: var(--linha); color: var(--t4); }
.vazio .ic { width: 48px; height: 48px; color: var(--t5); } .vazio b { font-size: 18px; color: var(--t4); } .vazio span { font-size: 14px; }
.spinner { width: 28px; height: 28px; border: 3px solid var(--bd); border-top-color: var(--pri); border-radius: 999px; animation: gira .8s linear infinite; margin: 48px auto; display: block; }
.spinner.p { width: 18px; height: 18px; border-width: 2px; margin: 0; display: inline-block; vertical-align: middle; }
@keyframes gira { to { transform: rotate(360deg); } }

/* ===== modal ===== */
dialog#modal { width: 640px; max-width: calc(100vw - 32px); max-height: calc(100vh - 64px); margin: auto; padding: 0; border: 1px solid var(--bd-c); border-radius: var(--gr); background: var(--modal); color: var(--t3); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .25); overflow: auto; }
dialog#modal::backdrop { background: rgba(0, 0, 0, .8); }
dialog#modal[open] { animation: zoom .18s ease-out; }
@keyframes zoom { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
.m-cab { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; background: var(--modal-cab); border-bottom: 1px solid var(--bd-c); box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.m-cab h2 { font-size: 18px; line-height: 18px; font-weight: 600; color: var(--t1); }
.m-x { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 1px solid var(--bd-in); border-radius: 6px; background: transparent; color: var(--t2); opacity: .85; } .m-x:hover { opacity: 1; }
.m-x .ic { width: 16px; height: 16px; }
.m-corpo { margin: 20px 24px 24px; }
.m-corpo > .abas { margin-bottom: 4px; }
.painel-aba[hidden] { display: none; }
.m-rodape { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
dialog#modal.largo { width: 900px; }
@media (max-width: 700px) { .m-corpo { margin: 16px; } .m-cab { padding: 16px; } .abas.largas .aba { padding: 10px 14px; } }

/* ===== tooltip, toast ===== */
#tip { position: fixed; z-index: 100; max-width: 260px; background: rgba(0, 0, 0, .8); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: 14px; line-height: 18px; pointer-events: none; opacity: 0; transition: opacity .12s; }
#tip.v { opacity: 1; }
#toasts { position: fixed; z-index: 120; top: 24px; right: 24px; display: flex; flex-direction: column; gap: 8px; width: 356px; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: flex-start; gap: 10px; background: #f0f8ff; color: #1447e6; border: 1px solid #bedbff; border-radius: 8px; padding: 14px 16px; font-size: 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); animation: entra .2s ease-out; }
.toast .tx { flex: 1; } .toast.erro { background: #fff0f2; color: #c70036; border-color: #ffccd3; } .toast.ok { background: #f0fdf4; color: #008236; border-color: #b9f8cf; }
.toast button { border: 0; background: transparent; color: inherit; padding: 0; opacity: .6; } .toast button:hover { opacity: 1; }
html[data-tema="dark"] .toast { background: #1d293d; color: #bedbff; border-color: #45556c; } html[data-tema="dark"] .toast.erro { color: #fda4af; } html[data-tema="dark"] .toast.ok { color: #86efac; }
@keyframes entra { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { #toasts { top: 12px; right: 16px; left: 16px; width: auto; } }

/* ===== gráficos (SVG) ===== */
.graf { width: 100%; position: relative; } .graf svg { display: block; width: 100%; overflow: visible; }
.g-grade { stroke: var(--bd); stroke-dasharray: 3 4; stroke-width: 1; } html[data-tema="dark"] .g-grade { stroke: #45556c; }
.g-base { stroke: var(--bd-in); stroke-width: 1; }
.g-txt { fill: var(--t4); font: 400 12px "Fira Sans", sans-serif; } .g-txt.mini { font-size: 10px; }
.g-val { fill: var(--t1); font: 700 13px "Fira Sans", sans-serif; }
.g-barra { fill: var(--barra); } .g-atual { fill: var(--pri); } .g-coroa { fill: var(--fav); }
.g-barra:hover { opacity: .8; } .g-hit { fill: transparent; }
.graf-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }

/* ===== dispositivo (moldura de prévia) ===== */
.aparelho { position: relative; background: #0f172b; border: 16px solid #0f172b; border-radius: 24px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .2); aspect-ratio: 16 / 9; }
html[data-tema="dark"] .aparelho { background: #020617; border-color: #020617; }
.aparelho.vertical { aspect-ratio: 9 / 16; width: auto; max-height: 62vh; margin: 0 auto; }
.aparelho .tela { position: absolute; inset: 0; background: #000; border-radius: 6px; overflow: hidden; display: grid; place-items: center; color: #94a3b8; font-size: 13px; text-align: center; }
.aparelho .tela img, .aparelho .tela iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.aparelho .atual { position: absolute; top: 0; left: 0; width: 40px; height: 40px; background: #0f172b; border: 0; border-radius: 0 0 10px 0; color: #cbd5e1; display: grid; place-items: center; z-index: 2; } html[data-tema="dark"] .aparelho .atual { background: #020617; }
.aparelho .legenda { position: absolute; right: 8px; bottom: 6px; color: #fff; font-size: 12px; font-weight: 700; text-shadow: 0 1px 3px #000; z-index: 2; }
.aparelho::after { content: ""; position: absolute; right: -19px; top: 56%; width: 4px; height: 38px; background: #0f172b; border-radius: 0 3px 3px 0; }
.aparelho.mini-cx { border-width: 10px; border-radius: 16px; }
.id-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.id-card .thumb { width: 88px; height: 88px; border-radius: 14px; }
.id-card .thumb .ic { width: 40px; height: 40px; }
.id-card .cat { font-size: 12px; font-weight: 700; color: var(--t4); } .id-card .nome { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--t1); } .id-card .meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--pri-t); flex-wrap: wrap; }
.id-card .botoes { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.dispositivo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.dispositivo .k { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--t4); } .dispositivo .k .ic { width: 12px; height: 12px; } .dispositivo .v { font-size: 14px; font-weight: 500; color: var(--t1); }
.linha-tempo { position: relative; display: flex; flex-direction: column; gap: 18px; }
.lt-i { display: flex; gap: 12px; position: relative; } .lt-i::before { content: ""; position: absolute; left: 20px; top: 40px; bottom: -18px; width: 1px; background: var(--bd-c); } .lt-i:last-child::before { display: none; }
.lt-i .av { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--bd); display: grid; place-items: center; color: #fff; } html[data-tema="dark"] .lt-i .av { background: #1d293d; color: #62748e; }
.lt-i .tx { font-size: 14px; color: var(--t3); } .lt-i .tx .u { color: var(--pri-t); font-weight: 700; } .lt-i .quando { font-size: 12px; color: var(--t4); }
.disp-ico { color: var(--t4); }
.caixa-barras { display: flex; flex-direction: column; gap: 6px; }
.captura img { max-width: 100%; max-height: 360px; border-radius: var(--gr); border: 2px solid var(--bd-c); display: block; }
.miniaturas { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; } .miniaturas img { height: 70px; border-radius: 6px; border: 1px solid var(--bd-c); }
.conta-l { margin: 8px 0 0; padding-left: 20px; } .conta-l li { margin-bottom: 4px; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; }
.etiqueta { background: var(--bx); border: 1px solid var(--bd-c); border-radius: 999px; padding: 3px 12px; font-size: 12px; color: var(--t2); } .etiqueta b { color: var(--t4); font-weight: 500; margin-right: 4px; }
.grade-n { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.num-card .n { font-size: 28px; line-height: 34px; font-weight: 700; color: var(--t1); } .num-card .r { font-size: 14px; color: var(--t4); }
details summary { cursor: pointer; color: var(--pri-t); font-weight: 500; margin: 8px 0; }
.hl { font-weight: 700; color: var(--pri-t); }

/* tipos dinâmicos */
.cartao-din { display: flex; flex-direction: column; gap: 10px; }
.cartao-din .topo { display: flex; align-items: center; gap: 10px; } .cartao-din .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--pri-s); color: var(--pri-t); display: grid; place-items: center; flex: none; }
.cartao-din .tipo { font-size: 12px; font-weight: 700; color: var(--t4); display: flex; align-items: center; gap: 4px; }
.cartao-din h4 { font-size: 14px; line-height: 18px; font-weight: 700; }
.cartao-din .rod { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.cartao-din input[type=number] { width: 84px; padding: 6px 10px; }

/* mapa */
.mapa { position: relative; height: 420px; background: var(--bd); border-radius: var(--gr); overflow: hidden; touch-action: none; cursor: grab; user-select: none; } .mapa.arrastando { cursor: grabbing; }
.mapa.peq { height: 195px; } .mapa.med { height: 224px; border: 4px solid var(--bd); }
.mapa-tiles, .mapa-marcas { position: absolute; inset: 0; } .mapa-tiles img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; user-select: none; -webkit-user-drag: none; }
html[data-tema="dark"] .mapa-tiles img { filter: brightness(.82) contrast(1.05); }
.mapa-pino { position: absolute; left: 0; top: 0; width: 28px; height: 28px; padding: 0; border-radius: 6px; border: 3px solid var(--mc, #90a1b9); background: var(--bx); color: var(--t3); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.mapa-pino .ic { width: 14px; height: 14px; } .mapa-pino.online::after { content: ""; position: absolute; inset: -3px; border-radius: 8px; background: var(--on-p); opacity: .45; animation: ping 2.6s cubic-bezier(0, 0, .2, 1) infinite; z-index: -1; }
.mapa-pop { position: absolute; width: 190px; background: var(--bx); border: 1px solid var(--bd); border-radius: 8px; padding: 8px 10px; z-index: 4; font-size: 14px; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); color: var(--t1); }
.mapa-zoom { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 3; } .mapa-zoom button { width: 30px; height: 30px; padding: 0; font-size: 18px; line-height: 1; background: var(--bx); color: var(--t1); border: 1px solid var(--bd-in); border-radius: 6px; }
.mapa.peq .mapa-zoom, .mapa.sem-zoom .mapa-zoom { display: none; }
.mapa-atrib { position: absolute; right: 0; bottom: 0; background: rgba(255, 255, 255, .85); color: #222; font-size: 10px; padding: 1px 6px; z-index: 3; } .mapa-atrib a { color: #0b5cad; }
.mapa-expandir { position: absolute; top: 8px; right: 8px; z-index: 3; }
.legenda-m { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; color: var(--t4); } .legenda-m i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }

/* ===== login ===== */
#login { display: flex; min-height: 100vh; background: var(--sup); }
.login-esq { flex: 1 1 50%; display: flex; flex-direction: column; background: var(--sup); position: relative; min-height: 100vh; }
.login-dir { flex: 1 1 50%; background: #e2e8f0; display: grid; place-items: center; position: relative; overflow: hidden; }
html[data-tema="dark"] .login-dir { background: #1d293d; }
.login-dir .adorno { text-align: center; color: #fff; display: grid; gap: 14px; place-items: center; }
html[data-tema="dark"] .login-dir .adorno { color: #314158; }
.login-dir .adorno .bloco-g { width: 120px; height: 120px; border-radius: 28px; background: var(--marca); display: grid; place-items: center; color: #fff; font-size: 56px; font-weight: 900; box-shadow: var(--sombra-logo); }
.login-dir .adorno p { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: .08em; color: var(--t3); text-transform: uppercase; } .login-dir .adorno small { color: var(--t4); font-size: 14px; }
.login-form { margin: auto 0; padding: 0 0 0 178px; width: 100%; } .login-form form { width: 364px; max-width: 100%; }
@media (max-width: 1280px) { .login-form { padding-left: 10%; } }
.login-form h1 { margin: 16px 0 16px; }
.login-form .btn { width: 100%; }
.login-rodape { text-align: center; padding: 0 16px 28px; font-size: 14px; color: var(--t3); }
@media (max-width: 800px) { .login-dir { display: none; } .login-form { padding: 0 16px; display: grid; place-items: center; } .login-form form { width: 100%; max-width: 420px; } }

/* utilitários de página de detalhe */
.pagina-det { display: flex; flex-direction: column; gap: 32px; }
.sticky-lista { max-height: 460px; overflow: auto; }
.notif-i { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--bd-c); } .notif-i:first-child { border-top: 0; }
.notif-i .ci { flex: none; width: 48px; height: 48px; border-radius: 999px; background: var(--div); display: grid; place-items: center; color: var(--pri-t); } html[data-tema="dark"] .notif-i .ci { background: #314158; }
.notif-i .tx { flex: 1; font-size: 14px; color: var(--t3); min-width: 0; } .notif-i .tx b { color: var(--pri-t); } .notif-i.nova .tx .t::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--notif); margin-right: 6px; }
.notif-i .btn { margin-top: 6px; }
.ml-a { margin-left: auto; }
.res-lista { max-height: 360px; overflow: auto; }
.texto-longo { word-break: break-all; }
@media print { #lateral, #hamb { display: none; } #principal { margin: 0; } }

/* ===== fase 2B: mídias, grupos, playlist, rodapé ===== */
.pri-t { color: var(--pri-t); }
.thumb.vd .tile { display: grid; place-items: center; width: 100%; height: 100%; background: #314158; color: #cad5e2; padding: 3px; font-size: 9px; line-height: 10px; font-weight: 700; text-align: center; overflow: hidden; word-break: break-word; }
.thumb.vd .tile .ic { width: 24px; height: 24px; }
.thumb.vd .tile-aviso { place-items: center; font-weight: 500; }
.thumb.vd.grande { width: 140px; height: 79px; }
.or { display: inline-flex; gap: 8px; } .or .ic { width: 20px; height: 20px; } .or > span { color: var(--t5); display: inline-grid; } .or > span.on { color: var(--pri-t); }
.ic-ag { color: var(--pri-t); display: inline-grid; } .ic-ag .ic { width: 20px; height: 20px; }
.cor-inp { display: block; width: 72px; height: 42px; padding: 4px; border: 1px solid var(--inp-b); border-radius: var(--gr); background: var(--inp); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); cursor: pointer; }
.cor-inp::-webkit-color-swatch-wrapper { padding: 0; } .cor-inp::-webkit-color-swatch { border: 0; border-radius: 6px; }
.inp.invalido { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.avatar.logo { background: #fff; overflow: hidden; padding: 0; } .avatar.logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tipos-c { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tipos-c .opc-c > div { min-height: 130px; }
@media (max-width: 700px) { .tipos-c { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* upload horizontal / vertical / quadrado */
.up-par { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.upload.up-h, .upload.up-v, .upload.up-q { overflow: hidden; align-content: center; padding: 12px; }
.upload.up-h { flex: 1 1 260px; aspect-ratio: 16 / 9; } .upload.up-v { flex: 0 0 140px; aspect-ratio: 9 / 16; } .upload.up-q { width: 144px; height: 104px; padding: 8px; }
.upload.up-h .ic, .upload.up-v .ic { width: 44px; height: 44px; } .upload .up-tx { font-weight: 400; font-size: 13px; line-height: 16px; color: var(--t4); } .upload .pequeno { font-size: 11px; }
.upload.up-q .up-tx { font-size: 12px; }
.upload .up-prev { position: absolute; inset: 0; z-index: 0; display: none; } .upload.tem .up-prev { display: block; }
.upload .up-prev img, .upload .up-prev video { width: 100%; height: 100%; object-fit: contain; background: #0f172b; display: block; }
.upload.tem .up-ico, .upload.tem .up-aceita { display: none; }
.upload.tem .up-tx { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 6px 8px; background: rgba(15, 23, 43, .75); color: #fff; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.upload.tem { border-style: solid; border-color: var(--pri-ring); }
.upload input { z-index: 3; } .upload .up-prog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; border-radius: 0; height: 6px; }
.yt-prev { display: flex; align-items: center; gap: 12px; margin: -4px 0 16px; } .yt-prev img { width: 160px; border-radius: 6px; display: block; }
.teste-res { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--gr); font-size: 14px; border: 1px solid; }
.teste-res .ic { width: 22px; height: 22px; flex: none; } .teste-res.ok { background: var(--on-bg); border-color: var(--on); color: #3f6212; } .teste-res.ruim { background: #ffe4e6; border-color: #fda4af; color: #9f1239; }
html[data-tema="dark"] .teste-res.ok { background: #365314; color: #d9f99d; } html[data-tema="dark"] .teste-res.ruim { background: #4c0519; color: #fecdd3; }
/* prévia do aviso (no formato da tela) */
.prev-aviso { position: absolute; inset: 0; display: flex; align-items: center; padding: 6%; overflow: hidden; overflow-wrap: anywhere; line-height: 1.2; font-weight: 700; container-type: inline-size; }
.aparelho .tela { container-type: inline-size; } .aparelho.mini-cx.vertical { max-height: 300px; }
.aparelho .tela > span { display: block; padding: 8px; } .aparelho .tela > span .ic { width: 36px; height: 36px; }
.uso-i { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--bd-c); } .uso-i:first-of-type { border-top: 0; }
.uso-i .nm a { color: var(--t1); font-weight: 500; } .uso-i .nm a:hover { color: var(--pri-t); text-decoration: none; }
/* lista ordenável */
.ord-lista { display: flex; flex-direction: column; gap: 8px; }
.ord-i { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; background: var(--bx); border: 1px solid var(--bd-c); border-radius: var(--gr); position: relative; transition: box-shadow .15s, opacity .15s; }
.ord-i.arrastando { z-index: 20; box-shadow: 0 10px 24px rgba(15, 23, 43, .3); border-color: var(--pri-a); opacity: .96; cursor: grabbing; }
.ord-ativa .ord-i:not(.arrastando) { transition: none; }
.ord-h { flex: none; width: 28px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--t4); cursor: grab; touch-action: none; border-radius: 6px; } .ord-h:hover { color: var(--pri-t); background: var(--menu-h); } .ord-h:focus-visible { outline: 2px solid var(--pri-a); }
.ord-nm { flex: 1; min-width: 0; } .ord-nm .nm { font-size: 14px; font-weight: 500; color: var(--t1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gp-disp { max-height: 220px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.gp-add { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 6px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--t3); } .gp-add:hover { background: var(--menu-h); } .gp-add .nm { flex: 1; min-width: 0; font-size: 14px; color: var(--t1); } .gp-add > .ic { width: 20px; height: 20px; color: var(--pri-t); }
#ir-lista.desligada { opacity: .5; }
/* medidor e selo de feed */
.rss-topo { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; } .rss-alerta { flex: 1 1 420px; }
.medidor { flex: 0 0 240px; } .med-bar { position: relative; height: 24px; background: var(--bd); border-radius: 6px; overflow: hidden; } .med-bar i { position: absolute; inset: 0 auto 0 0; background: var(--pri); } .med-bar span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; } .med-lim { display: block; text-align: right; font-size: 12px; color: var(--t4); margin-top: 2px; }
.selo-feed { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: var(--pri); color: #fff; }
/* playlist */
.pl-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 1023px) { .pl-grid { grid-template-columns: minmax(0, 1fr); } }
.pl-exp-cab { font-size: 16px; color: var(--t1); margin: -4px 0 12px; } .pl-exp-lista { display: flex; flex-direction: column; gap: 8px; max-height: 640px; overflow-y: auto; padding-right: 2px; }
.pl-exp-i { display: flex; align-items: center; gap: 12px; padding: 8px; background: var(--bx); border: 1px solid var(--bd-c); border-radius: var(--gr); }
.pl-fila { border: 4px solid var(--pri); border-radius: var(--gr); background: var(--cart); overflow: hidden; display: flex; flex-direction: column; }
.pl-cab { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--pri); color: #fff; } .pl-cab-i .ic { width: 24px; height: 24px; }
.pl-tot { flex: 1; min-width: 0; line-height: 18px; } .pl-tot b { display: block; font-size: 16px; } .pl-tot span { font-size: 12px; opacity: .85; }
.pl-bts { display: flex; gap: 8px; } .pl-bts .btn-ic { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; } .pl-bts .btn-ic:hover { background: rgba(255, 255, 255, .28); }
.pl-corpo { max-height: 640px; min-height: 160px; overflow-y: auto; padding: 12px; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(127, 34, 254, .05) 14px 28px); }
.pl-item.esmaecido { opacity: .55; } .pl-item.sem-versao { border-color: #fda4af; opacity: .85; }
.pl-item .per { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--pri-t); } .pl-item .per .ic { width: 14px; height: 14px; }
.pl-rod { display: flex; gap: 12px; padding: 12px; border-top: 1px solid var(--bd-c); } .pl-salvar { flex: 1; } .pl-desfazer { background: transparent; border-color: var(--bd-in); color: var(--t2); } .pl-desfazer:disabled { opacity: .4; }
.pl-item .thumb.vd, .pl-exp-i .thumb.vd { width: 90px; height: 50px; }
/* rodapé: editor e prévia */
.vis-raiz .titulo-sec:first-child { margin-top: 8px; } .vis-raiz .campo-sw { margin-bottom: 12px; }
.rp-stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; background: #1e293b; color: #fff; overflow: hidden; }
.rp-fundo { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: #64748b; font-size: 26px; } .rp-fundo .ic { width: 64px; height: 64px; }
.rp-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; display: flex; align-items: center; gap: 24px; padding: 0 24px; font-size: 22px; }
.rp-logo { height: 40px; width: auto; max-width: 160px; object-fit: contain; flex: none; }
.rp-frase { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.rp-info { display: flex; align-items: center; gap: 20px; flex: none; font-size: 20px; } .rp-info .ic { width: 22px; height: 22px; margin-right: 6px; vertical-align: -4px; } .rp-info > span { display: inline-block; }
.rp-desl { position: absolute; right: 16px; bottom: 16px; padding: 8px 16px; border-radius: 8px; background: rgba(0, 0, 0, .55); font-size: 22px; }
#va-tela img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.dispositivo .k { display: flex; align-items: center; gap: 6px; }
.campo { display: block; }
.upload .up-ico { display: block; line-height: 0; }
#m-lista .tabela td, #m-lista .tabela th { padding: 14px 12px; } #m-lista .cel-ap { min-width: 170px; gap: 12px; }
#av-ap { max-width: 460px; margin-left: auto; margin-right: auto; }

/* Playlist 2: coluna Disponíveis (arrastar para a lista da tela) */
.pl-exp-cab { display: flex; align-items: center; gap: 12px; margin: -4px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--bd-c); } .pl-exp-cab > b { font-size: 14px; color: var(--t4); font-weight: 600; } .pl-busca-w { flex: 1; min-width: 0; position: relative; margin-left: auto; max-width: 420px; } .pl-busca-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--t3); cursor: pointer; width: 24px; height: 24px; padding: 0; display: grid; place-items: center; } .pl-busca-x[hidden] { display: none; } .pl-busca-x .ic { width: 16px; height: 16px; } .pl-recolher { flex: none; width: 30px; height: 30px; } .pl-recolher .ic { width: 16px; height: 16px; transition: transform .15s; } .pl-exp.recolhido .pl-recolher .ic { transform: rotate(-90deg); } .pl-exp.recolhido .pl-exp-corpo { display: none; } .pl-exp.recolhido .pl-exp-cab { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.pl-exp-i { position: relative; } .pl-exp-i.arrastavel { cursor: grab; } .pl-exp-i.arrastavel:focus-visible { outline: 2px solid var(--pri-a); outline-offset: 1px; }
.pl-exp-i.bloq, .pl-exp-i.esmaecido { opacity: .62; } .pl-exp-i.bloq { cursor: not-allowed; }
.disp-h { flex: none; width: 24px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--t4); cursor: grab; touch-action: none; border-radius: 6px; padding: 0; } .disp-h:hover { color: var(--pri-t); background: var(--menu-h); } .disp-h.off { visibility: hidden; cursor: default; }
.disp-h .ic { width: 18px; height: 18px; }
.pl-exp-acao { flex: none; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 46%; }
.pl-exp-i .ord-nm .nm { white-space: normal; overflow-wrap: anywhere; }
.pl-amostra { margin: 4px 0 0; padding-left: 16px; font-size: 12px; line-height: 16px; color: var(--t3); } .pl-amostra li { margin: 2px 0; }
.thumb.vd .tile.tile-din { background: var(--pri-s); color: var(--pri-t); } .tile-din .ic { width: 24px; height: 24px; }
.pl-aviso-camp { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--gr); background: var(--pri-s); color: var(--pri-t); font-size: 13px; line-height: 18px; } .pl-aviso-camp .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; } .pl-aviso-camp a { font-weight: 600; text-decoration: underline; color: inherit; }
.pl-item.dinamico { border-left: 4px solid var(--pri); }
.pl-item.novo { animation: pl-novo 1.2s ease-out; } @keyframes pl-novo { from { background: var(--pri-s); box-shadow: 0 0 0 2px var(--pri-a); } to { background: var(--bx); box-shadow: 0 0 0 0 transparent; } }
.pl-fantasma { position: fixed; left: 0; top: 0; z-index: 3000; pointer-events: none; display: flex; align-items: center; gap: 12px; padding: 8px; background: var(--bx); border: 1px solid var(--pri-a); border-radius: var(--gr); box-shadow: 0 12px 28px rgba(15, 23, 43, .35); opacity: .94; }
.pl-fantasma .pl-exp-acao, .pl-fantasma .pl-amostra { display: none; }
.pl-exp-i.arrastando-origem { opacity: .35; } body.pl-arrastando { user-select: none; -webkit-user-select: none; cursor: grabbing; }
.pl-corpo.alvo { outline: 3px dashed var(--pri-a); outline-offset: -6px; }
.pl-item.ind-antes::before, .pl-item.ind-fim::after { content: ''; position: absolute; left: 4px; right: 4px; height: 4px; border-radius: 3px; background: var(--pri); box-shadow: 0 0 0 2px var(--pri-s); pointer-events: none; z-index: 5; }
.pl-item.ind-antes::before { top: -7px; } .pl-item.ind-fim::after { bottom: -7px; }
@media (max-width: 1023px) {
  .pl-exp-lista { max-height: 420px; } .pl-corpo { max-height: 560px; }
}
@media (max-width: 520px) {
  .pl-item .thumb.vd, .pl-exp-i .thumb.vd { width: 56px; height: 40px; }
  .pl-exp-i { gap: 8px; padding: 8px 6px; } .pl-exp-acao { max-width: 40%; } .pl-exp-i .btn-xs { padding: 4px 8px; }
}
/* Playlist 2: grade de blocos de categorias, cartões da fila */
.pl-blocos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pl-bloco { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 1 / 0.92; min-height: 110px; padding: 10px; background: var(--bx); border: 1px solid var(--bd-c); border-radius: var(--gr); box-shadow: 0 2px 0 rgba(15, 23, 43, .06), 0 1px 3px rgba(15, 23, 43, .08); color: var(--t3); font: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s, color .15s; }
.pl-bloco:hover, .pl-bloco:focus-visible { border-color: var(--pri-a); color: var(--pri-t); box-shadow: 0 4px 12px rgba(127, 34, 254, .16); outline: none; }
.pl-bloco .ic { width: 36px; height: 36px; stroke-width: 1.4; } .pl-bloco-n { font-size: 14px; line-height: 17px; font-weight: 700; text-align: center; color: var(--t2); overflow-wrap: anywhere; }
.pl-bloco-c { position: absolute; top: 8px; right: 8px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--pri-s); color: var(--pri-t); font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.pl-voltar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } .pl-voltar b { font-size: 16px; color: var(--t1); }
.thumb-d { position: relative; flex: none; display: block; line-height: 0; } .thumb-d .dur { position: absolute; right: 4px; bottom: 3px; font-style: normal; font-size: 12px; line-height: 14px; font-weight: 700; color: #fff; background: rgba(15, 23, 43, .72); padding: 0 4px; border-radius: 4px; }
.pl-item { background: var(--bx); } .pl-item .nm { font-size: 14px; font-weight: 600; } .pl-item .btn-ic-p { width: 28px; height: 28px; border-width: 1px; flex: none; } .pl-item .btn-ic-p .ic { width: 16px; height: 16px; }
.pl-corpo.sel-modo .pl-item { cursor: pointer; } .pl-item.selecionado { border-color: var(--pri); box-shadow: 0 0 0 2px var(--pri-a); } .pl-chk { flex: none; width: 18px; height: 18px; accent-color: var(--pri); }
.pl-fila .pl-bts .btn-ic.ativo { background: rgba(255, 255, 255, .38); }
@media (max-width: 1100px) { .pl-blocos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pl-blocos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pl-exp-cab { flex-wrap: wrap; } .pl-busca-w { max-width: none; flex-basis: 100%; order: 3; } }

/* ===== Paridade com o Yeloo novo (pacotes 1, 2, 4 e 5) ===== */
/* logos: barra lateral (66 px, sombra violeta) e login (52 px, redondo) */
.lat-logo { width: 66px; height: 66px; border-radius: 16px; box-shadow: 0 4px 14px rgba(127, 34, 254, .35); display: block; }
body.recolhida .lat-logo { width: 44px; height: 44px; border-radius: 12px; }
.login-logo { width: 52px; height: 52px; border-radius: 999px; display: block; box-shadow: 0 2px 8px rgba(127, 34, 254, .3); }
.login-opcoes { margin: 4px 0 12px; }
.login-rodape { display: flex; flex-direction: column; align-items: center; gap: 4px; } .login-rodape a { color: var(--t3); text-decoration: underline; }
.menu-conta a { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; font-size: 14px; color: var(--t1); border-radius: 4px; text-decoration: none; } .menu-conta a:hover { background: var(--menu-h); text-decoration: none; }
.breve { margin-left: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 1px 6px; border-radius: 999px; background: var(--pri-s); color: var(--pri-t); }
.em-breve { text-align: center; padding: 48px 16px; color: var(--t3); } .em-breve .ic { width: 40px; height: 40px; color: var(--pri-t); }
/* mapa: tiles em tons de cinza (parecido com o positron do Yeloo) */
.mapa-tiles img { filter: grayscale(1) contrast(.9) brightness(1.08); }
html[data-tema="dark"] .mapa-tiles img { filter: grayscale(1) invert(.9) contrast(.9) brightness(.9); }
.ajuda-q { display: inline-flex; vertical-align: middle; margin-left: 4px; color: var(--t4); cursor: help; } .ajuda-q:hover, .ajuda-q:focus-visible { color: var(--pri-t); outline: 0; } .ajuda-q .ic { width: 16px; height: 16px; }
.trilho { position: relative; overflow: visible; } .trilho i { border-radius: 999px; }
.trilho .fogo { position: absolute; right: 4px; top: -2px; font-size: 11px; line-height: 14px; }
.top-i { grid-template-columns: 36px minmax(0, 1fr) 56px 84px; } .top-i .v small { white-space: nowrap; }
/* editor rico de anotaÃ§Ãµes */
.ed-rico { display: flex; flex-direction: column; gap: 0; }
.ed-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px 8px; background: var(--div); border: 1px solid var(--bd-in); border-bottom: 0; border-radius: 6px 6px 0 0; }
html[data-tema="dark"] .ed-barra { background: #263349; }
.ed-bloco { height: 30px; border: 0; background: transparent; color: var(--t2); font-size: 14px; padding: 0 4px; border-radius: 4px; cursor: pointer; }
.ed-btn { min-width: 30px; height: 30px; padding: 0 6px; border: 0; background: transparent; color: var(--t2); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; cursor: pointer; font: inherit; font-size: 14px; }
.ed-btn:hover { background: var(--bd); color: var(--t1); } .ed-btn.on { background: var(--pri-s); color: var(--pri-t); }
.ed-btn .ic { width: 16px; height: 16px; } .ed-b { font-weight: 900; } .ed-i { font-style: italic; } .ed-u { text-decoration: underline; } .ed-s { text-decoration: line-through; } .ed-h { font-weight: 700; font-size: 13px; } .ed-h sub { font-size: 9px; }
.ed-sep { width: 1px; height: 18px; background: var(--bd-in); margin: 0 4px; }
.ed-cor { position: relative; flex-direction: column; justify-content: center; gap: 0; } .ed-cor .ed-cor-a { font-weight: 700; line-height: 1; } .ed-cor i { display: block; width: 14px; height: 3px; border-radius: 2px; background: #7f22fe; }
.ed-cor input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.ed-area { min-height: 220px; max-height: 420px; overflow: auto; padding: 12px; border: 1px solid var(--bd-in); border-radius: 0 0 6px 6px; background: var(--bx); color: var(--t1); font-size: 14px; line-height: 1.5; }
.ed-area:focus { outline: 0; border-color: var(--pri-a); box-shadow: 0 0 0 1px var(--pri-a); }
.ed-area.vazio:not(:focus)::before { content: attr(data-ph); color: var(--t4); font-style: italic; pointer-events: none; display: block; height: 0; overflow: visible; }
.ed-area p { margin: 0 0 .5em; } .ed-area h1 { font-size: 1.6em; margin: .4em 0; } .ed-area h2 { font-size: 1.3em; margin: .4em 0; } .ed-area h3 { font-size: 1.1em; margin: .4em 0; }
.ed-area ul, .ed-area ol { margin: 0 0 .5em; padding-left: 1.5em; } .ed-area ul { list-style: disc; } .ed-area ol { list-style: decimal; }
.ed-area blockquote { margin: .5em 0; padding: 4px 12px; border-left: 3px solid var(--pri-a); color: var(--t3); }
.ed-area a { color: var(--pri-t); text-decoration: underline; }
.ed-salvar { margin-top: 8px; }
/* dias da semana: seleÃ§Ã£o mÃºltipla */
.multi-dd { position: relative; } .multi-dd summary { cursor: pointer; list-style: none; display: flex; align-items: center; } .multi-dd summary::-webkit-details-marker { display: none; }
.multi-dd summary::after { content: ""; margin-left: auto; border: 5px solid transparent; border-top-color: var(--t3); transform: translateY(3px); }
.multi-lista { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 2px); background: var(--bx); border: 1px solid var(--bd-in); border-radius: 6px; padding: 6px 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
/* detalhe da mÃ­dia: Mensal / DiÃ¡rio */
.pilula-mm { display: inline-flex; padding: 4px; gap: 4px; background: var(--div); border-radius: 8px; margin-bottom: 12px; }
.pilula-mm button { border: 0; background: transparent; padding: 8px 20px; border-radius: 6px; font-weight: 700; color: var(--t3); cursor: pointer; font: inherit; font-weight: 700; }
.pilula-mm button.ativa { background: var(--bx); color: var(--pri-t); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.baixada-ok { font-weight: 600; } .baixada-ok .ic { width: 14px; height: 14px; }
/* Utilitários: prévia ao vivo (Hora certa e Cotação dólar) e blocos novos do painel */
.u-prev { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4%; font-size: 3cqw; overflow: hidden; }
.aparelho .tela .u-prev img { position: static; inset: auto; width: 34%; height: 80%; object-fit: contain; margin-right: 6%; background: transparent; }
.u-prev.alto { flex-direction: column; } .aparelho .tela .u-prev.alto img { width: 70%; height: 36%; margin: 0 0 6% 0; }
.u-prev .u-data { font-size: 1.7em; font-weight: 700; } .u-prev .u-hora { font-size: 4.6em; font-weight: 900; line-height: 1.05; font-variant-numeric: tabular-nums; }
.u-prev.dolar { flex-direction: column; } .u-prev .u-tit { font-size: 1.9em; font-weight: 800; } .u-prev .u-caixa { margin-top: 5%; padding: 4% 8%; border-radius: 12px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
.u-prev .u-par { font-size: 1.6em; font-weight: 800; letter-spacing: .1em; } .u-prev .u-eq { font-size: 1.8em; font-weight: 700; margin-top: 2%; } .u-prev .u-val { font-size: 4.8em; font-weight: 900; line-height: 1.05; }

/* Pacotes 3 e 10 + contratação manual de telas */
.thumb.img { background: #fff; overflow: hidden; } .thumb.img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.mini-thumb.img { overflow: hidden; background: #fff; padding: 0; } .mini-thumb.img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.logo img { border-radius: 999px; }
.mapa-pino.com-img { overflow: hidden; padding: 0; } .mapa-pino.com-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mapa-pino.arrastavel { cursor: grab; touch-action: none; z-index: 5; width: 34px; height: 34px; border-radius: 999px; } .mapa-pino.arrastavel:active { cursor: grabbing; } .mapa-pino.arrastavel .ic { width: 18px; height: 18px; }
.up-q.up-quadrada { width: 128px; height: 128px; }
.login-dir .banner-login { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.login-dir.com-banner .adorno { display: none; }
.login-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 12px; flex-wrap: wrap; } .login-links .login-opcoes { margin: 0; }
.login-links a { font-size: 14px; font-weight: 500; color: var(--pri-t); text-decoration: none; } .login-links a:hover { text-decoration: underline; }
.login-form .msg-ok { color: var(--on-t); font-size: 14px; margin: 0 0 12px; } .login-form .suave-p { color: var(--t4); font-size: 14px; margin: 0 0 14px; }
.menu .badge-n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--err, #e7000b); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
body.recolhida .menu .badge-n { position: absolute; top: 2px; right: 6px; margin: 0; min-width: 16px; height: 16px; line-height: 16px; font-size: 10px; padding: 0 4px; }
.contratar-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: start; } @media (max-width: 900px) { .contratar-grid { grid-template-columns: 1fr; } }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--bd-in); border-radius: var(--gr); overflow: hidden; background: var(--inp); } .stepper button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--t2); font-size: 22px; cursor: pointer; } .stepper button:hover { background: var(--pri-s); color: var(--pri-t); }
.stepper input { width: 80px; height: 44px; border: 0; text-align: center; font-size: 20px; font-weight: 700; background: transparent; color: var(--t1); -moz-appearance: textfield; } .stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.resumo-valor { border: 1px solid var(--bd); border-radius: var(--gr); padding: 16px; background: var(--inp); display: grid; gap: 6px; } .resumo-valor .lin { display: flex; justify-content: space-between; gap: 12px; color: var(--t3); } .resumo-valor .tot { font-size: 24px; font-weight: 900; color: var(--t1); }
.selo.pend { background: #fef3c6; color: #973c00; } html[data-tema="dark"] .selo.pend { background: #422006; color: #fde68a; }
.link-copiavel { display: flex; gap: 8px; align-items: center; } .link-copiavel input { flex: 1; min-width: 0; }
.zona-perigo { border: 1px solid #fecdd3; border-radius: var(--gr); padding: 14px; margin-top: 20px; background: rgba(254, 226, 226, .35); } html[data-tema="dark"] .zona-perigo { border-color: #881337; background: rgba(76, 5, 25, .35); }
/* Interativos (painel-interativos.js) */
.int-item { border: 1px solid var(--bd); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.int-lin { display: flex; align-items: center; margin-top: 8px; font-size: 14px; }
.int-lin > span:first-child { flex: 0 0 34%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 10px; }
.int-lin .trilho { flex: 1 1 auto; margin: 0 10px; }
.int-lin > b { flex: 0 0 auto; min-width: 70px; text-align: right; }
.int-dias { display: flex; align-items: flex-end; height: 120px; border-bottom: 1px solid var(--bd); }
.int-dia { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; margin: 0 1px; }
.int-dia i { display: block; width: 100%; background: var(--pri, #7c3aed); border-radius: 3px 3px 0 0; min-height: 1px; }

/* ===== Comércio: cardápio, chamador de senha (página de operação com botões grandes) e vitrine ===== */
.cm-ft { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; margin-right: 10px; flex: 0 0 auto; }
.cm-num { width: 104px; text-align: right; padding: 6px 8px; }
.cm-off td:first-child { opacity: .55; }
.cm-up { transform: rotate(180deg); }
.cm-linha-tela { display: flex; align-items: center; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--bd); }
.cm-linha-tela > * { margin-right: 12px; }
.op-pg { max-width: 560px; margin: 0 auto; }
.op-atual { text-align: center; }
.op-rot { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--tx-2, #64748b); font-weight: 700; }
.op-senha { font-size: 84px; line-height: 1.05; font-weight: 900; color: var(--pri); font-variant-numeric: tabular-nums; margin: 4px 0; }
.op-guiche { font-size: 20px; font-weight: 700; min-height: 28px; }
.op-guiches { display: flex; flex-wrap: wrap; margin: 0 0 12px; }
.op-guiches .btn { margin: 0 8px 8px 0; }
.op-botoes { display: flex; margin: 12px 0; }
.op-btn { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 128px; margin-right: 12px; border: 0; border-radius: 18px; font: inherit; font-size: 26px; font-weight: 800; color: #fff; background: var(--pri); cursor: pointer; }
.op-btn:last-child { margin-right: 0; }
.op-btn svg { width: 38px; height: 38px; margin-bottom: 6px; }
.op-btn.op-rep { background: #475569; }
.op-btn:active { transform: scale(.98); } .op-btn:disabled { opacity: .45; cursor: default; }
.op-num { font-size: 24px; padding: 12px; }
.op-chamar { min-height: 52px; font-size: 18px; padding: 0 22px; }
.op-lin { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--bd); }
/* ===== Biblioteca de conteúdos (revenda e mestre) ===== */
.bib-filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 14px 0 16px; }
.bib-busca { position: relative; flex: 1 1 260px; max-width: 420px; display: block; }
.bib-busca .ic { position: absolute; left: 11px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--t4); pointer-events: none; }
.bib-busca .inp { width: 100%; padding-left: 38px; }
.bib-filtros select.inp { width: auto; min-width: 190px; }
.bib-chk { margin: 0; white-space: nowrap; }
.bib-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.bib-card { background: var(--bx); border: 1px solid var(--bd); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.bib-thumb { position: relative; aspect-ratio: 16 / 9; background: #0b1220; }
.bib-thumb video, .bib-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bib-sem { height: 100%; display: flex; align-items: center; justify-content: center; color: #62748e; }
.bib-sel { position: absolute; left: 8px; top: 8px; display: flex; gap: 5px; flex-wrap: wrap; }
.bib-selo { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 99px; background: #fff; color: #314158; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.bib-selo.novo { background: #ff2056; color: #fff; } .bib-selo.epoca { background: #7ccf00; color: #20310a; } .bib-selo.fora { background: rgba(15,23,43,.82); color: #cad5e2; }
.bib-ors { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 4px; }
.bib-or { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: rgba(15,23,43,.82); color: #fff; }
.bib-play { position: absolute; left: 8px; bottom: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(15,23,43,.82); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.bib-play .ic { width: 16px; height: 16px; } .bib-play:hover, .bib-play:focus-visible { background: var(--pri); }
.bib-corpo { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.bib-cat { font-size: 12px; color: var(--t3); }
.bib-corpo h3 { margin: 3px 0 8px; font-size: 16px; line-height: 1.25; color: var(--t1); }
.bib-seg { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.bib-seg span { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--pri-s); color: var(--pri-t); }
.bib-acoes { display: flex; align-items: center; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.bib-uso { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--on-t); font-weight: 600; } .bib-uso .ic { width: 15px; height: 15px; } .bib-uso.suave { color: var(--t3); font-weight: 400; }
.bib-telas { max-height: 260px; overflow: auto; border: 1px solid var(--bd); border-radius: 10px; padding: 8px 10px; margin: 8px 0; display: grid; gap: 4px; }
.bib-segs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.bib-previa { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; justify-content: center; }
.bib-fig { margin: 0; } .bib-fig video, .bib-fig img { display: block; background: #000; border-radius: 10px; max-width: 100%; }
.bib-fig.h video, .bib-fig.h img { width: min(560px, 80vw); } .bib-fig.v video, .bib-fig.v img { height: min(420px, 60vh); }
.bib-fig figcaption { font-size: 12px; color: var(--t3); text-align: center; margin-top: 4px; }
@media (max-width: 600px) { .bib-grade { grid-template-columns: 1fr; } .bib-filtros select.inp { width: 100%; } }
/* ===== Instagram e Dica do dia com IA (último lote) ===== */
.ig-medidor { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 12px; }
.ig-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 16px; }
.ig-card { display: flex; flex-direction: column; gap: 10px; }
.ig-cab { display: flex; align-items: center; gap: 12px; }
.ig-av { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; background: linear-gradient(45deg, #ffb347, #ff3d8b 55%, #8b3dff); }
.ig-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-cab .nm { min-width: 0; flex: 1 1 auto; } .ig-cab .nm b { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ig-thumbs .ig-th { position: relative; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--bd); }
.ig-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-thumbs .ig-vazio { grid-column: 1 / -1; display: grid; place-items: center; aspect-ratio: 3 / 1; border-radius: 8px; background: var(--bd); color: var(--t3); font-size: 13px; text-align: center; padding: 8px; }
.ig-leg { font-size: 13px; color: var(--t2); line-height: 1.35; max-height: 3.9em; overflow: hidden; }
.ig-acoes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ig-erro { border: 1px solid var(--al-bd); background: var(--al-bg); color: var(--al-t); border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.dia-topo { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; justify-content: space-between; }
.dia-lista { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.dia-item { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--bd); border-radius: 12px; padding: 10px 12px; }
.dia-item.pendente { border-color: var(--pri-ring); background: var(--pri-s); }
html[data-tema="dark"] .dia-item.pendente { background: rgba(127, 34, 254, .14); }
.dia-item .tx { flex: 1 1 auto; min-width: 0; } .dia-item .tx p { margin: 0 0 4px; font-size: 15px; line-height: 1.35; }
.dia-item .bt { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.dia-pilulas { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 0; }
@media (max-width: 600px) { .ig-grade { grid-template-columns: 1fr; } .dia-item { flex-direction: column; } .dia-item .bt { justify-content: flex-start; } }
/* ---- humor: tempo na tela (cartões dos dinâmicos e cadastro da tela) e vídeos engraçados do mestre ---- */
.cartao-din .rod-padrao { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.btn-pq { padding: 4px 10px; font-size: 12px; }
.det-dur { margin: 14px 0 6px; border: 1px solid var(--bd-in); border-radius: 8px; background: var(--bx); }
.det-dur summary { cursor: pointer; padding: 10px 14px; font-weight: 600; }
.det-dur .det-corpo { padding: 4px 14px 14px; }
.det-dur .dur-grade { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.det-dur .dur-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 50%; box-sizing: border-box; padding: 4px 8px; font-size: 13px; }
.det-dur .dur-campo { display: flex; align-items: center; gap: 4px; flex: none; }
.det-dur .dur-campo input { width: 74px; padding: 5px 8px; }
@media (max-width: 560px) { .det-dur .dur-item { width: 100%; } }
.eng-grade { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.eng-card { width: 25%; box-sizing: border-box; padding: 8px; }
.eng-card > div { border: 1px solid var(--bd-in); border-radius: 12px; overflow: hidden; background: var(--bx); height: 100%; display: flex; flex-direction: column; }
.eng-card.off > div { opacity: .55; }
.eng-card video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.eng-card .eng-info { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.eng-card .eng-leg { font-weight: 600; line-height: 1.3; }
.eng-card .eng-cred { font-size: 12px; color: var(--t4); }
.eng-card .eng-cred a { color: inherit; }
.eng-card .eng-rod { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
@media (max-width: 1280px) { .eng-card { width: 33.333%; } }
@media (max-width: 900px) { .eng-card { width: 50%; } }
@media (max-width: 560px) { .eng-card { width: 100%; } }