/* Identidade visual: Pantone Black C #2d2926 · Cool Gray 11 C #53565a · 123 C #ffc72c.
   O amarelo tem pouco contraste sobre branco: entra como fundo (botões, item ativo) sempre com texto em Black C,
   e como destaque sobre fundo escuro. Em textos sobre fundo claro usa-se o cinza (--acc). */
:root {
  --yellow: #ffc72c; --yellow-hover: #f2b600; --on-yellow: #2d2926;
  --acc: #53565a; --acc-soft: rgba(255, 199, 44, .24);
  --bg: #f3f3f2; --surface: #fff; --surface2: #f6f6f4; --text: #2d2926; --muted: #53565a; --line: #e1e1df; --danger: #b42318;
  --shadow: 0 1px 2px rgba(45, 41, 38, .06), 0 8px 24px rgba(45, 41, 38, .07);
}
:root[data-theme="dark"] {
  --bg: #1f1c1a; --surface: #2d2926; --surface2: #37332f; --text: #f1f0ee; --muted: #b1b3b6; --line: #45413d;
  --acc: #ffc72c; --acc-soft: rgba(255, 199, 44, .15); --danger: #ff6b61;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow: hidden; }
[hidden] { display: none !important; }
button { font-family: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grow { flex: 1; }

.app { display: grid; grid-template-columns: clamp(232px, 15.5vw, 300px) minmax(0, 1fr); height: 100vh; height: 100dvh; }
/* rolagem sem barra visível (continua rolando com roda do mouse, toque e teclado) */
.content, .side { scrollbar-width: none; -ms-overflow-style: none; } .content::-webkit-scrollbar, .side::-webkit-scrollbar { display: none; }

/* ---------- barra lateral ---------- */
.side { background: linear-gradient(180deg, #2d2926, #231f1d); color: #e4e2df; display: flex; flex-direction: column; padding: clamp(14px, 2.4vh, 24px) 16px clamp(12px, 2vh, 20px); overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px clamp(12px, 2.4vh, 24px); text-decoration: none; color: #fff; }
.brand b { font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.zlogo { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 0 8px rgba(255, 199, 44, .35)); }
#nav a, #folderList a { display: flex; align-items: center; gap: 13px; padding: clamp(8px, 1.25vh, 12px) 14px; margin-bottom: 3px; border-radius: 10px; text-decoration: none; color: #e4e2df; font-size: clamp(13.5px, 1.5vh, 15.5px); font-weight: 500; position: relative; }
#nav a:hover, #folderList a:hover { background: rgba(255, 255, 255, .07); }
#nav a.on, #folderList a.on { background: var(--yellow); color: var(--on-yellow); font-weight: 600; box-shadow: 0 4px 14px rgba(255, 199, 44, .25); }
#nav .i, #folderList .i { width: 22px; height: 22px; }
.folders { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .09); }
.folders-h { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 8px; font-size: 11.5px; letter-spacing: .1em; color: #b1b3b6; font-weight: 600; }
.folders-h button { border: 0; background: none; color: #b1b3b6; padding: 4px; border-radius: 6px; display: flex; } .folders-h button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.folders-h .i { width: 16px; height: 16px; }
#folderList a .x { margin-left: auto; opacity: 0; border: 0; background: none; color: #b1b3b6; padding: 3px; border-radius: 5px; display: flex; }
#folderList a:hover .x { opacity: 1; } #folderList a .x:hover { background: rgba(255, 255, 255, .15); color: #fff; }
#folderList a .x .i { width: 14px; height: 14px; }
.side-card { margin-top: auto; display: flex; gap: 14px; padding: 16px; border: 1px solid rgba(255, 199, 44, .35); border-radius: 12px; background: linear-gradient(160deg, rgba(255, 199, 44, .14), rgba(255, 199, 44, .04)); }
.side-card .i { width: 34px; height: 34px; color: #ffc72c; stroke-width: 1.3; }
.side-card b { display: block; font-size: 13px; color: #fff; line-height: 1.4; }

/* ---------- topo ---------- */
.main { display: flex; flex-direction: column; min-width: 0; height: 100vh; height: 100dvh; }
.top { display: flex; align-items: center; gap: 10px; height: clamp(56px, 6.6vh, 70px); padding: 0 clamp(18px, 1.8vw, 36px); background: #2d2926; color: #f1f0ee; flex: none; }
.burger { display: none; border: 0; background: none; color: #fff; padding: 6px; }
.search { display: flex; align-items: center; gap: 10px; width: min(500px, 100%); height: 38px; padding: 0 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; color: #b1b3b6; }
.search:focus-within { border-color: #ffc72c; background: rgba(255, 255, 255, .14); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font-size: 14px; font-family: inherit; }
.search input::placeholder { color: #b1b3b6; } .search input::-webkit-search-cancel-button { filter: invert(1); }
.tbtn { position: relative; width: 40px; height: 40px; border: 0; background: none; color: #f1f0ee; border-radius: 10px; display: flex; align-items: center; justify-content: center; } .tbtn:hover { background: rgba(255, 255, 255, .1); }
/* sino com avisos: selo vermelho com o número, botão em destaque, e balanço/pulso quando chega aviso novo */
#bellDot { position: absolute; top: -5px; right: -5px; min-width: 22px; height: 22px; padding: 0 5px; box-sizing: border-box; border-radius: 11px; background: #ef4444; color: #fff; border: 2px solid #2d2926; font: 700 12px/18px Inter, "Segoe UI", system-ui, sans-serif; font-style: normal; text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
#bellDot[hidden] { display: none; }
#bell.alert { background: rgba(239, 68, 68, .24); box-shadow: inset 0 0 0 2px rgba(239, 68, 68, .85); color: #fff; }
#bell.alert:hover { background: rgba(239, 68, 68, .36); }
#bell.alert svg { filter: drop-shadow(0 0 4px rgba(239, 68, 68, .7)); }
#bell.fresh { animation: bellPulse 1.2s ease-out infinite; }
#bell.fresh svg { animation: bellRing 1.6s ease-in-out infinite; transform-origin: 50% 12%; }
@keyframes bellRing { 0%, 55%, 100% { rotate: 0deg; } 8% { rotate: 18deg; } 16% { rotate: -16deg; } 24% { rotate: 12deg; } 32% { rotate: -10deg; } 40% { rotate: 6deg; } 48% { rotate: -3deg; } }
@keyframes bellPulse { 0% { box-shadow: inset 0 0 0 2px rgba(239, 68, 68, .85), 0 0 0 0 rgba(239, 68, 68, .7); } 100% { box-shadow: inset 0 0 0 2px rgba(239, 68, 68, .85), 0 0 0 14px rgba(239, 68, 68, 0); } }
@media (prefers-reduced-motion: reduce) { #bell.fresh, #bell.fresh svg { animation: none; } }
.user { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 8px 0 6px; border: 0; background: none; color: #fff; border-radius: 12px; } .user:hover { background: rgba(255, 255, 255, .1); }
.user b { font-size: 14px; font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user .i { width: 16px; height: 16px; }
.wrap { position: relative; }
.pop { position: absolute; top: 50px; left: 0; min-width: 300px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(5, 15, 50, .28); padding: 6px; z-index: 60; }
.pop.right { left: auto; right: 0; min-width: 220px; }
#bellPop { left: auto; right: 0; width: 340px; }
.pop h4 { margin: 8px 10px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pop button, .pop a.it { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 8px; font-size: 14px; text-decoration: none; color: var(--text); }
.pop button:hover, .pop a.it:hover { background: var(--surface2); }
.pop .empty { padding: 18px 12px; color: var(--muted); font-size: 14px; text-align: center; }
.pop .nt small { display: block; color: var(--muted); margin-top: 2px; font-size: 12px; }
#bellPop { max-height: min(70vh, 520px); overflow-y: auto; }
.pop .ntCount { margin-left: 6px; padding: 1px 8px; border-radius: 10px; background: #fbe0dd; color: #b42318; font-size: 11px; letter-spacing: 0; text-transform: none; }
.pop .nt.late { border-left: 3px solid #ef4444; border-radius: 4px 8px 8px 4px; }
.pop .nt .ntIc { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fbe0dd; font-size: 17px; }
.pop .who { padding: 10px 12px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; } .pop .who b { display: block; } .pop .who small { color: var(--muted); }

/* ---------- conteúdo ---------- */
.content { flex: 1; overflow-y: auto; padding: clamp(14px, 2.4vh, 26px) clamp(18px, 1.8vw, 36px) clamp(20px, 3vh, 32px); outline: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 20vw, 380px); gap: clamp(16px, 1.5vw, 28px); margin-top: clamp(14px, 2.6vh, 28px); align-items: start; }
.banner { position: relative; overflow: hidden; border-radius: 16px; color: #fff; min-height: clamp(200px, 26vh, 310px); padding: clamp(16px, 2.6vh, 34px) clamp(24px, 2.6vw, 52px); display: grid; grid-template-columns: minmax(300px, 1.15fr) minmax(300px, 1fr) 190px; align-items: center; gap: 12px;
  background: radial-gradient(700px 360px at 62% 50%, rgba(255, 199, 44, .14), transparent 65%), linear-gradient(120deg, #231f1d 0%, #2d2926 55%, #1f1c1a 100%); border: 1px solid rgba(255, 199, 44, .25); }
.banner .kick { font-size: 13px; letter-spacing: .16em; font-weight: 600; color: #ffc72c; text-transform: uppercase; margin-bottom: clamp(8px, 1.5vh, 14px); }
.banner h1 { margin: 0 0 clamp(8px, 1.6vh, 16px); font-size: clamp(24px, min(2.3vw, 4vh), 42px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; } .banner h1 span { color: #ffc72c; }
.banner p { margin: 0 0 clamp(14px, 2.6vh, 26px); color: #d6d4d0; line-height: 1.6; font-size: clamp(13.5px, 1.6vh, 15.5px); }
.banner .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: clamp(38px, 4.8vh, 46px); padding: 0 clamp(16px, 1.4vw, 24px); border-radius: 999px; font-weight: 600; font-size: 14.5px; border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: #fff; }
.btn:hover { background: rgba(255, 255, 255, .1); }
.btn.primary { background: var(--yellow); color: var(--on-yellow); border-color: transparent; box-shadow: 0 8px 22px rgba(255, 199, 44, .28); } .btn.primary:hover { background: var(--yellow-hover); }
.btn .i { width: 18px; height: 18px; }
.bart { position: relative; height: 250px; min-width: 320px; }
@media (max-height: 900px) { .bart { zoom: .84; } }
@media (max-height: 760px) { .bart { zoom: .7; } }
.bart svg.ln { position: absolute; inset: 0; width: 100%; height: 100%; }
.bn { position: absolute; display: flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #f1f0ee; white-space: nowrap;
  background: linear-gradient(180deg, rgba(83, 86, 90, .6), rgba(35, 31, 29, .8)); border: 1px solid rgba(255, 199, 44, .45); box-shadow: 0 0 18px rgba(255, 199, 44, .12); }
.bn .i { width: 17px; height: 17px; }
.bn.c { left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; padding: 0; justify-content: center; border-radius: 24px; background: linear-gradient(145deg, #ffc72c, #f2b600); border-color: rgba(255, 224, 130, .9); box-shadow: 0 0 36px rgba(255, 199, 44, .45); }
.bn.c svg { width: 46px; height: 46px; } .bn.c svg use { filter: brightness(0); }
.bn.t { border-color: rgba(177, 179, 182, .6); } .bn.o { border-color: rgba(255, 199, 44, .8); background: linear-gradient(180deg, rgba(120, 90, 10, .5), rgba(60, 45, 5, .75)); } .bn.v { border-color: rgba(177, 179, 182, .5); }
.bquote { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: 24px; font-size: 18px; line-height: 1.45; font-weight: 500; }

.sech { display: flex; align-items: center; justify-content: space-between; margin: 0 0 2px; }
.sech h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(17px, 2.2vh, 22px); font-weight: 600; } .sech h2 .i { color: var(--acc); width: 24px; height: 24px; }
.sech a { color: var(--acc); font-size: 14px; text-decoration: none; display: flex; align-items: center; gap: 6px; font-weight: 500; } .sech a:hover { text-decoration: underline; } .sech a .i { width: 15px; height: 15px; }
.subh { margin: 0 0 clamp(10px, 1.6vh, 18px) 36px; color: var(--muted); font-size: clamp(12.5px, 1.5vh, 14.5px); }
section.blk { margin-bottom: clamp(16px, 2.8vh, 30px); }
.tpls { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(150px, 11vw, 210px), 1fr)); gap: clamp(12px, 1.1vw, 20px); }
.tpls.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpl { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; text-align: left; height: 100%; min-height: clamp(120px, 15vh, 180px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: clamp(16px, 1.3vw, 26px) clamp(14px, 1.2vw, 24px); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.tpl:hover { transform: translateY(-2px); border-color: var(--yellow); }
.tpl .tile { width: clamp(36px, 4.8vh, 52px); height: clamp(36px, 4.8vh, 52px); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: clamp(8px, 1.6vh, 16px); flex: none; } .tpl .tile .i { width: 52%; height: 52%; }
.tpl b { display: block; font-size: clamp(14px, 1.7vh, 16.5px); line-height: 1.25; margin-bottom: 6px; } .tpl span:not(.tile) { display: block; font-size: clamp(12px, 1.45vh, 14px); color: var(--muted); line-height: 1.45; }

.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(320px, 22vw, 440px), 1fr)); gap: clamp(12px, 1.1vw, 20px); }
.mgrid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mcard { position: relative; display: flex; gap: clamp(12px, 1.1vw, 20px); align-items: center; padding: clamp(8px, 1.3vh, 14px) 44px clamp(8px, 1.3vh, 14px) clamp(10px, .9vw, 16px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); cursor: pointer; transition: border-color .15s, transform .15s; min-width: 0; }
.mcard:hover { border-color: var(--yellow); transform: translateY(-1px); }
.thumb { width: clamp(88px, 6vw, 124px); aspect-ratio: 3 / 2; flex: none; border-radius: 8px; overflow: hidden; background: var(--surface2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; } .thumb svg { width: 100%; height: 100%; }
.minfo { min-width: 0; } .minfo h3 { margin: 0 0 4px; font-size: clamp(14px, 1.7vh, 16.5px); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.minfo .when { margin: 0 0 7px; font-size: clamp(11.5px, 1.4vh, 13.5px); color: var(--muted); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 6px; background: var(--acc-soft); color: var(--acc); font-size: 12px; font-weight: 600; }
.chip.gray { background: var(--surface2); color: var(--muted); } .chip .i { width: 12px; height: 12px; } .chip.star { color: #e5a400; background: rgba(245, 175, 0, .14); }
.mcard .dots { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); width: 30px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; } .mcard .dots:hover { background: var(--surface2); color: var(--text); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: 14px; background: var(--surface); }
.empty-state .i { width: 44px; height: 44px; color: var(--acc); margin-bottom: 12px; stroke-width: 1.3; } .empty-state b { display: block; color: var(--text); font-size: 17px; margin-bottom: 6px; }
.empty-state .btn { margin-top: 18px; border-color: var(--acc); color: var(--acc); } .empty-state .btn.primary { color: var(--on-yellow); }
.pagehead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; } .pagehead h1 { margin: 0; font-size: 24px; display: flex; align-items: center; gap: 12px; } .pagehead h1 .i { color: var(--acc); width: 28px; height: 28px; }
.pagehead .btn { border-color: var(--line); color: var(--text); height: 40px; } .pagehead .btn.primary { color: var(--on-yellow); border: 0; }

/* coluna lateral */
.rcol { display: grid; gap: clamp(12px, 2vh, 18px); align-content: start; }
.tips { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(12px, 2vh, 18px) 18px 6px; box-shadow: var(--shadow); }
.tips h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: clamp(15px, 1.9vh, 17px); } .tips h3 .i { color: var(--acc); }
.tip { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; background: none; padding: clamp(8px, 1.4vh, 12px) 4px; border-top: 1px solid var(--line); font-size: clamp(12.5px, 1.5vh, 13.5px); line-height: 1.35; color: var(--text); }
.tip:first-of-type { border-top: 0; } .tip .ti { width: 30px; height: 30px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); display: flex; align-items: center; justify-content: center; flex: none; } .tip .ti .i { width: 16px; height: 16px; }
.tip > span { flex: 1; } .tip > .i { color: var(--muted); width: 16px; height: 16px; } .tip:hover { color: var(--acc); }
.learn { display: flex; align-items: center; gap: 14px; padding: clamp(12px, 2vh, 18px); text-align: left; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(135deg, var(--acc-soft), transparent); }
.learn .ti { width: 40px; height: 40px; border-radius: 10px; background: var(--acc-soft); color: var(--acc); display: flex; align-items: center; justify-content: center; flex: none; } .learn b { display: block; font-size: 14px; margin-bottom: 4px; } .learn small { color: var(--muted); font-size: 12.5px; line-height: 1.4; display: block; } .learn > .i { margin-left: auto; color: var(--acc); }

/* menu de contexto dos cards */
.menu { position: fixed; z-index: 90; min-width: 220px; padding: 6px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(5, 15, 50, .3); }
.menu button { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; padding: 9px 12px; border-radius: 8px; font-size: 14px; text-align: left; } .menu button:hover { background: var(--surface2); } .menu button.danger { color: var(--danger); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 5px 4px; } .menu .i { width: 17px; height: 17px; }

.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 40; }
@media (max-width: 1100px) { .tpls.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mgrid.two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1280px) { .banner { grid-template-columns: minmax(280px, 1fr) minmax(300px, 1fr); } .bquote { display: none; } .cols { grid-template-columns: 1fr; } .rcol { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
/* telas baixas (notebooks 1366x768 / 1536x864): a primeira tela precisa caber sem rolagem */
@media (max-height: 900px) { .subh { display: none; } .mgrid.two .mcard:nth-child(n+3) { display: none; } .banner p { line-height: 1.5; } }
@media (max-height: 780px) { .tpl span:not(.tile) { display: none; } .tpl { min-height: 0; } .tips h3 { margin-bottom: 4px; } .banner { min-height: 0; padding-block: 14px; } .banner h1 { font-size: clamp(22px, 3.6vh, 30px); } .banner p { margin-bottom: 12px; } }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 50; transform: translateX(-100%); transition: transform .2s; } .side.open { transform: none; }
  .burger { display: flex; } .top { padding: 0 14px; } .user b { display: none; } .content { padding: 16px 14px 32px; }
  .banner { grid-template-columns: 1fr; padding: 28px 24px; } .bart { display: none; } .mgrid { grid-template-columns: 1fr; }
}

/* ---------- administração ---------- */
.admtabs { display: flex; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.admtabs button { border: 0; background: none; padding: 10px 16px; font-weight: 600; font-size: 14.5px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.admtabs button:hover { color: var(--text); } .admtabs button.on { color: var(--text); border-bottom-color: var(--yellow); }
.admbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.search2 { display: flex; align-items: center; gap: 10px; width: min(420px, 100%); height: 40px; padding: 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--muted); }
.search2:focus-within { border-color: var(--yellow); } .search2 input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
table.adm { width: 100%; border-collapse: collapse; font-size: 14px; }
table.adm th { text-align: left; padding: 12px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--surface2); white-space: nowrap; }
table.adm td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.adm tr:last-child td { border-bottom: 0; } table.adm tr.inactive td { opacity: .62; }
.num { text-align: right; } .muted2 { color: var(--muted); font-size: 13px; }
.who2 { display: flex; align-items: center; gap: 12px; } .who2 small { display: block; color: var(--muted); font-size: 12.5px; } .who2 small.me { display: inline; margin-left: 4px; }
td.acts { white-space: nowrap; text-align: right; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; border-color: var(--line); color: var(--text); margin-left: 6px; }
.btn.sm:hover { background: var(--surface2); } .btn.sm:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 1100px) { table.adm.users th:nth-child(4), table.adm.users td:nth-child(4) { display: none; } } /* sem espaço: o último acesso sai, as ações ficam visíveis */
.btn.sm.icon { padding: 0; width: 34px; justify-content: center; } .btn.sm svg { width: 15px; height: 15px; vertical-align: -3px; }
.zm-opt input[type=radio], .zm-opt input[type=checkbox] { accent-color: #2d2926; }
.zm-opt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0; font-size: 14px; cursor: pointer; } .zm-opt .zm-field { flex: 1; min-width: 200px; width: auto; margin: 0; }
.chip.ok { background: rgba(27, 127, 76, .15); color: #1b7f4c; } .chip.off { background: rgba(180, 35, 24, .14); color: var(--danger); }
.chip.warn { background: rgba(255, 199, 44, .28); color: #6b5200; } :root[data-theme="dark"] .chip.warn { color: #ffc72c; } :root[data-theme="dark"] .chip.ok { color: #4cc98a; }
.empty2 { text-align: center; color: var(--muted); padding: 30px; }
.shRoleSel { width: auto !important; }
