/* Intranet (CavalcantiDiniz) */
:root {
  --bg: #f4f6f9; --surface: #ffffff; --surface-2: #f8fafc; --line: #e3e8ef; --line-2: #eef2f6;
  --text: #16212e; --text-2: #4a5768; --muted: #7b8796;
  --brand: #14365c; --brand-2: #1e4e82; --brand-ink: #ffffff; --accent: #0e8a7e;
  --side: #102a47; --side-2: #173a60; --side-text: #c9d6e6;
  --good: #137a4b; --good-bg: #e5f5ec; --warn: #9a5b00; --warn-bg: #fdf1dc; --bad: #b42323; --bad-bg: #fbe7e7;
  --info: #1e4e82; --info-bg: #e6eef8; --mute-bg: #eef1f5;
  --radius: 12px; --shadow: 0 1px 2px rgba(16, 42, 71, .06), 0 2px 8px rgba(16, 42, 71, .04);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1520; --surface: #131e2b; --surface-2: #172434; --line: #243446; --line-2: #1d2b3b;
    --text: #e6edf5; --text-2: #b4c1d0; --muted: #8494a6;
    --brand: #3d7bc4; --brand-2: #5b93d6; --accent: #2fb5a6;
    --side: #0a121c; --side-2: #142233; --side-text: #b3c3d6;
    --good: #57c98f; --good-bg: #13301f; --warn: #f0b456; --warn-bg: #352610; --bad: #f07a7a; --bad-bg: #3a1717;
    --info: #8bb8ec; --info-bg: #15283f; --mute-bg: #1c2938;
    --shadow: none; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
small { font-size: 12px; }
.ic { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); } .small { font-size: 12px; }
.nowrap { white-space: nowrap; } .break { word-break: break-all; }
.inline { display: inline; margin: 0; }

/* shell */
.shell { display: flex; min-height: 100vh; }
.side { width: 248px; flex: none; background: var(--side); color: var(--side-text); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; gap: 12px; align-items: center; padding: 20px 18px; color: #fff; text-decoration: none !important; border-bottom: 1px solid rgba(255,255,255,.06); }
.brand b { display: block; font-size: 16px; } .brand small { color: var(--side-text); opacity: .8; }
.logo { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, #2a6cb3, var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: .5px; }
.logo.lg { width: 56px; height: 56px; font-size: 20px; border-radius: 14px; }
.side nav { padding: 12px 10px; flex: 1; overflow-y: auto; }
.nav { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 8px; color: var(--side-text); text-decoration: none !important; margin-bottom: 2px; }
.nav:hover { background: var(--side-2); color: #fff; }
.nav.on { background: var(--side-2); color: #fff; font-weight: 600; }
.nav.sub { padding: 6px 12px 6px 40px; font-size: 13px; }
.nav.sub.on { background: transparent; color: #fff; box-shadow: inset 2px 0 0 var(--accent); border-radius: 0 8px 8px 0; }
.nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .55; padding: 16px 12px 6px; }
.me { display: flex; gap: 10px; align-items: center; padding: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.me .icon-btn { color: var(--side-text); } .me .icon-btn:hover { background: var(--side-2); color: #fff; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--side-2); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.me-txt { flex: 1; min-width: 0; } .me-txt b { display: block; color: #fff; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .me-txt small { opacity: .7; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 12px; padding: 18px 28px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top h1 { font-size: 20px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.today { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; }
.top .menu-btn { display: none; }
.content { padding: 24px 28px; flex: 1; max-width: 1480px; width: 100%; }
.foot { padding: 16px 28px; color: var(--muted); font-size: 12px; }
.lead { margin: 0 0 18px; color: var(--text-2); }
.crumbs { margin-bottom: 12px; font-size: 13px; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; gap: 6px; align-items: center; justify-content: center; height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.btn:hover { border-color: var(--brand-2); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { background: var(--brand-2); }
.btn.ghost { background: transparent; }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn.block { width: 100%; height: 42px; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 0; background: transparent; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { background: var(--line-2); color: var(--text); text-decoration: none; }
.icon-btn.danger:hover { background: var(--bad-bg); color: var(--bad); }
.link { font-size: 13px; font-weight: 600; }
.row-gap { display: flex; gap: 8px; align-items: center; }

/* flash */
.flash { padding: 11px 14px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; }
.flash.ok { background: var(--good-bg); color: var(--good); }
.flash.bad { background: var(--bad-bg); color: var(--bad); }

/* cards & grid */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 20px; min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.card-h h2 { font-size: 15px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cols > .card { margin-bottom: 20px; }
.span2 { grid-column: span 2; }
.empty { color: var(--muted); text-align: center; padding: 18px 8px; margin: 0; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); color: var(--text); text-decoration: none !important; position: relative; overflow: hidden; }
a.kpi:hover { border-color: var(--brand-2); }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); opacity: .8; }
.kpi.warn::before { background: var(--warn); } .kpi.bad::before { background: var(--bad); }
.kpi-top { display: flex; gap: 8px; align-items: center; color: var(--text-2); font-size: 13px; font-weight: 600; }
.kpi-val { font-size: 26px; font-weight: 700; margin: 6px 0 2px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi.warn .kpi-val { color: var(--warn); } .kpi.bad .kpi-val { color: var(--bad); }
.kpi-sub { color: var(--muted); font-size: 12px; }

/* tables */
.tbl-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl tbody tr:hover td { background: var(--surface-2); }
.tbl tr.dim td { color: var(--muted); }
.tbl tr.dim td a { color: var(--text-2); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .acts { white-space: nowrap; text-align: right; width: 1%; }
.sub { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }

/* reajuste de contratos */
.icon-btn.reaj { color: var(--brand); }
.icon-btn.reaj.done { color: var(--good); }
.icon-btn.reaj.wait { color: var(--muted); opacity: .45; }
/* badges */
.badge { display: inline-flex; gap: 4px; align-items: baseline; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--mute-bg); color: var(--text-2); white-space: nowrap; }
.badge small { font-weight: 500; opacity: .85; font-size: 11px; }
.badge.good { background: var(--good-bg); color: var(--good); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.info { background: var(--info-bg); color: var(--info); }
.badge.mute { background: var(--mute-bg); color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* bars */
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-lbl { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; margin-bottom: 4px; }
.bar-lbl span { color: var(--text-2); } .bar-lbl b { font-variant-numeric: tabular-nums; }
.bar { height: 8px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand-2); border-radius: 99px; }
.split { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.split-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--line-2); gap: 2px; }
.split-bar i.a, .legend i.a { background: var(--brand-2); } .split-bar i.b, .legend i.b { background: var(--accent); }
.legend { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--text-2); flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.list li:last-child { border-bottom: 0; }
.list b { display: block; font-size: 13.5px; } .list small { color: var(--muted); }

/* filters */
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.filters select, .search input { height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; padding: 0 10px; }
.search { display: flex; align-items: center; position: relative; flex: 1 1 260px; max-width: 380px; }
.search .ic { position: absolute; left: 10px; color: var(--muted); }
.search input { width: 100%; padding-left: 34px; }
.spacer { flex: 1; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.seg a { padding: 5px 12px; border-radius: 6px; color: var(--text-2); font-weight: 600; font-size: 13px; text-decoration: none !important; white-space: nowrap; }
.seg a.on { background: var(--brand); color: var(--brand-ink); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -4px 0 18px; overflow-x: auto; }
.tab { padding: 10px 14px; color: var(--text-2); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none !important; }
.tab.on { color: var(--brand-2); border-bottom-color: var(--brand-2); }

/* forms */
.form-card { max-width: 980px; }
.form-card.narrow { max-width: 520px; }
.grid-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; }
.grid-form.one { grid-template-columns: 1fr; }
.form-sec { grid-column: 1 / -1; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.form-sec:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fld.wide { grid-column: span 2; }
.fld span { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.fld input, .fld select, .fld textarea { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; padding: 0 10px; }
.fld textarea { height: auto; padding: 8px 10px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus, .search input:focus, .filters select:focus { outline: 2px solid color-mix(in srgb, var(--brand-2) 35%, transparent); border-color: var(--brand-2); }
.grid-form .fld:has(textarea) { grid-column: 1 / -1; }
.check { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-2); }

/* cliente */
.hero { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.hero h2 { font-size: 22px; }
.hero p { margin: 4px 0 0; }
.hero-kpis { display: flex; gap: 28px; }
.hero-kpis small, .ago-strip small { display: block; color: var(--muted); font-size: 12px; }
.hero-kpis b { font-size: 20px; font-variant-numeric: tabular-nums; }
.dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 0; font-size: 13.5px; }
.dl dt { color: var(--muted); } .dl dd { margin: 0; }
.dl.cols-dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; }
.cols-dl dt { font-size: 12px; margin-bottom: 2px; } .cols-dl .full { grid-column: 1 / -1; }
.hist { margin-top: 14px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.hist summary { cursor: pointer; font-weight: 600; color: var(--brand-2); padding: 4px 0 8px; }
.ago-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 14px 16px; background: var(--surface-2); border-radius: 10px; margin-bottom: 16px; }
.ago-strip b { font-size: 15px; }
.cargos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.cargo h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.pessoa { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; margin-bottom: 6px; }
.pessoa b { display: block; font-size: 13.5px; } .pessoa small { color: var(--muted); }
.danger-zone { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: -4px; }
.pager { display: flex; justify-content: space-between; margin-top: 12px; }

/* login */
.login-page { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(1200px 600px at 20% 0%, #1e4e82 0%, transparent 60%), linear-gradient(160deg, #0d2340, #102a47 60%, #0c3b47); padding: 24px 16px; }
.login-wrap { width: 100%; max-width: 400px; }
.login-brand { text-align: center; color: #fff; margin-bottom: 22px; }
.login-brand .logo { margin: 0 auto 14px; }
.login-brand h1 { font-size: 24px; } .login-brand h1 span { font-weight: 400; opacity: .8; }
.login-brand p { color: #b8c8dc; margin: 6px 0 0; font-size: 13px; }
.login-card { background: var(--surface); border-radius: 16px; padding: 26px; box-shadow: 0 20px 50px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 14px; }
.login-card h2 { font-size: 17px; }
.login-card p { margin: 0; text-align: center; }

/* parcelamentos / plano */
.pm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; margin-bottom: 20px; }
.pm-grid .card { margin-bottom: 0; }
.pm h2 { font-size: 14px; } .pm .card-h { margin-bottom: 8px; align-items: flex-start; }
.pm-nums { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 8px; }
.pm-nums small { display: block; color: var(--muted); font-size: 11.5px; } .pm-nums b { font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pm-bad { border-color: var(--bad); box-shadow: inset 4px 0 0 var(--bad); }
.pm-alert { display: flex; gap: 6px; align-items: center; color: var(--bad); font-weight: 600; font-size: 12.5px; margin-bottom: 6px; }
.tbl tr.row-bad td { background: var(--bad-bg); color: var(--bad); }
.tbl tr.row-bad td b, .tbl tr.row-bad td .sub { color: var(--bad); }
.tbl tbody tr.row-bad:hover td { background: color-mix(in srgb, var(--bad-bg) 80%, var(--bad) 8%); }
.li-bad b, .li-bad small { color: var(--bad) !important; }
.btn.pay { background: var(--good-bg); border-color: transparent; color: var(--good); }
.btn.pay:hover { border-color: var(--good); }
.tbl .cb { width: 1%; } .tbl input[type=checkbox] { width: 16px; height: 16px; }
.pay-bar input[type=date], .date-f input, .rel-form input { height: 30px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); font: inherit; padding: 0 6px; }
.date-f { display: flex; gap: 6px; align-items: center; }
.rel-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.rel-form label { display: flex; gap: 4px; align-items: center; }
details.gen summary { cursor: pointer; padding: 2px 0; }
details.gen[open] summary { margin-bottom: 14px; }
.tbl tfoot th { border-top: 2px solid var(--line); color: var(--text); font-size: 13px; padding: 10px; }

/* responsivo */
@media (max-width: 1280px) { .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .cols { grid-template-columns: 1fr; } .span2 { grid-column: auto; } .grid-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .side { position: fixed; left: 0; top: 0; z-index: 20; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(0,0,0,.3); }
  .side.open { transform: none; }
  .top .menu-btn { display: inline-grid; }
  .top { padding: 12px 16px; } .top h1 { font-size: 17px; } .today { display: none; }
  .content { padding: 16px; } .foot { padding: 12px 16px; }
  .kpis, .kpis.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi-val { font-size: 21px; }
  .card { padding: 14px 16px; } .tbl-wrap { margin: 0 -16px; padding: 0 16px; }
  .ago-strip, .dl.cols-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { max-width: none; }
}
@media (max-width: 520px) { .kpis, .kpis.three { grid-template-columns: 1fr; } .grid-form { grid-template-columns: 1fr; } .fld.wide { grid-column: auto; } .hero-kpis { gap: 18px; } }

/* Cofre de Senhas */
.cofre { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.cofre-tree { padding: 12px 8px; max-height: calc(100vh - 160px); overflow: auto; position: sticky; top: 12px; }
.cofre-tree .card-h { padding: 0 6px 8px; }
.tree-item { display: flex; gap: 7px; align-items: center; padding: 6px 10px; border-radius: 7px; color: var(--text); font-size: 13px; text-decoration: none !important; }
.tree-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tree-item small { color: var(--muted); font-size: 11px; }
.tree-item:hover { background: var(--line-2); }
.tree-item.on { background: var(--brand); color: var(--brand-ink); }
.tree-item.on small { color: inherit; opacity: .8; }
.tree-item .ic { width: 16px; height: 16px; flex: none; }
.tree-new { margin: 10px 6px 0; font-size: 13px; }
.tree-new summary, .pasta-edit summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.tree-new .form, .pasta-edit .form { display: grid; gap: 8px; margin-top: 8px; }
.pasta-edit { position: relative; }
.pasta-edit[open] { width: 100%; }
.cofre-main { display: grid; gap: 16px; min-width: 0; }
.folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.folder-card { display: flex; gap: 8px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); text-decoration: none !important; font-weight: 600; font-size: 13px; }
.folder-card:hover { border-color: var(--brand-2); }
.folder-card span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder-card small { color: var(--muted); font-weight: 500; }
.folder-card .ic { color: #d9a400; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.icon-btn.sm { width: 26px; height: 26px; }
.icon-btn.sm .ic { width: 15px; height: 15px; }
.icon-btn.ok { background: var(--good-bg); color: var(--good); }
.icon-btn.err { background: var(--bad-bg); color: var(--bad); }
.cofre-notas { white-space: pre-wrap; word-break: break-word; background: var(--line-2); padding: 8px 10px; border-radius: 8px; margin: 6px 0 0; font-size: 12px; max-width: 420px; }
.cofre-url { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-field { display: flex; gap: 4px; align-items: center; }
.pw-field input { flex: 1; }
@media (max-width: 900px) { .cofre { grid-template-columns: 1fr; } .cofre-tree { position: static; max-height: 320px; } }

/* Cofre: árvore recolhível e ícones dos sites */
.tree-row { display: flex; align-items: center; }
.tree-row[hidden] { display: none; }
.tree-row .tree-item { flex: 1; min-width: 0; padding-left: 4px; }
.tree-tog { width: 18px; height: 22px; flex: none; border: 0; background: none; cursor: pointer; position: relative; padding: 0; color: var(--muted); }
.tree-tog::before { content: ''; position: absolute; left: 6px; top: 7px; border: 4px solid transparent; border-left: 6px solid currentColor; transition: transform .15s; transform-origin: 3px 4px; }
.tree-tog.open::before { transform: rotate(90deg); }
.tree-tog:hover { color: var(--text); }
.tree-tog.none { cursor: default; } .tree-tog.none::before { display: none; }
.tree-acts { margin: 8px 6px 0; font-size: 12px; color: var(--muted); }
button.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--brand); font: inherit; font-weight: 600; }
.tbl .fav-col { width: 40px; padding-right: 0; }
img.fav { width: 24px; height: 24px; border-radius: 6px; display: block; object-fit: contain; background: #fff; }


/* Pareceres */
.par-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi-mini { padding: 12px 14px; display: grid; gap: 2px; }
.kpi-mini small { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.kpi-mini b { font-size: 20px; line-height: 1.2; }
.kpi-mini span { color: var(--muted); font-size: 12px; }
.kpi-mini .warn-t { color: var(--warn); } .kpi-mini .bad-t { color: var(--bad); }
.par-lote { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 0 0 12px; }
.par-lote input { height: 30px; border: 1px solid var(--line); border-radius: 7px; padding: 0 8px; font: inherit; font-size: 13px; background: var(--surface); color: var(--text); }
.par-lote .sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.par-tbl td { vertical-align: top; }

/* atalhos na tela de login (outras áreas do site) */
.login-atalhos { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.login-atalhos .la-tit { width: 100%; text-align: center; color: #b8c8dc; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.login-atalhos a { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none; font-size: 12.5px; line-height: 1.3; background: rgba(255,255,255,.06); }
.login-atalhos a:hover, .login-atalhos a:focus-visible { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.55); }
.login-atalhos a.home { font-weight: 600; }

 /* ---------------- Gestão de Pessoas: organograma */ .og-wrap { background: linear-gradient(180deg, #f2f7fd, #e6f0fb); overflow: hidden; } .og-titulo { text-align: center; margin: 4px 0 6px; } .og-titulo span { display: inline-block; background: #183c5c; color: #fff; font-weight: 800; letter-spacing: .04em; padding: 6px 34px; border-radius: 6px; font-size: 14px; } .og-titulo b { display: block; margin-top: 12px; font-size: clamp(15px, 2vw, 20px); letter-spacing: .02em; color: #0f1b2b; } .og-scroll { overflow-x: auto; padding: 8px 4px 16px; } .og-tree, .og-tree ul { display: flex; justify-content: center; margin: 0; padding: 0; position: relative; } .og-tree { min-width: max-content; margin: 0 auto; } .og-tree li { list-style: none; position: relative; padding: 28px 12px 0; display: flex; flex-direction: column; align-items: center; } .og-tree li::before, .og-tree li::after { content: ''; position: absolute; top: 0; right: 50%; width: 50%; height: 28px; border-top: 2px solid #183c5c; } .og-tree li::after { right: auto; left: 50%; border-left: 2px solid #183c5c; } .og-tree li:only-child::before, .og-tree li:only-child::after { display: none; } .og-tree li:only-child { padding-top: 0; } .og-tree li:first-child::before, .og-tree li:last-child::after { border: 0 none; } .og-tree li:last-child::before { border-right: 2px solid #183c5c; border-radius: 0 10px 0 0; } .og-tree li:first-child::after { border-radius: 10px 0 0 0; } .og-tree li > ul { padding-top: 28px; } .og-tree li > ul::before { content: ''; position: absolute; top: 0; left: 50%; height: 28px; border-left: 2px solid #183c5c; } .og-tree > li { padding-top: 0; } .og-tree > li::before, .og-tree > li::after { display: none; } .og-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 150px; } .og-foto { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; background: #fff; border: 3px dashed rgba(255,255,255,.9); box-shadow: 0 0 0 5px #183c5c, 0 8px 18px rgba(16,42,71,.18); display: grid; place-items: center; } .og-raiz .og-foto { width: 170px; height: 170px; } .og-foto img { width: 100%; height: 100%; object-fit: cover; display: block; } .og-ini { font-size: 42px; font-weight: 800; color: #183c5c; } .og-tag { display: inline-block; min-width: 150px; text-align: center; padding: 6px 14px; border-radius: 5px; font-weight: 800; font-size: 13.5px; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0,0,0,.12); } .og-tag.og-nome { text-transform: none; font-size: 15px; } .og-nome-txt { font-size: 16px; color: #16212e; margin-top: 6px; } .og-raiz { margin-bottom: 4px; } .og-edit { position: absolute; top: -6px; right: 4px; background: #fff; border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.2); color: #183c5c; } .og-edit:hover { background: #0e8a7e; color: #fff; } .gp-foto-atual { display: flex; align-items: center; gap: 14px; } .gp-foto-atual img, .gp-mini img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; } .gp-mini img { width: 36px; height: 36px; } /* ---------------- Gestão de Pessoas: fluxogramas */ .fx-quadro { background: linear-gradient(180deg, #f4f8fd, #eaf2fb); scroll-margin-top: 16px; } .fx-titulo { margin: 0 0 6px; padding: 9px 14px; border-radius: 8px; text-align: center; font-size: 16px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; } .fx-faixas { display: flex; flex-direction: column; } .fx-faixa { display: grid; grid-template-columns: 230px 1fr; gap: 18px; align-items: center; padding: 18px 4px; border-top: 1px solid #c9d4e2; } .fx-faixa:first-child { border-top: 0; } .fx-rot span { display: flex; align-items: center; justify-content: center; min-height: 66px; padding: 10px 18px; border-radius: 24px; text-align: center; font-weight: 800; font-size: 17px; line-height: 1.25; box-shadow: 0 4px 10px rgba(0,0,0,.1); } .fx-itens { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; } .fx-item { display: flex; flex-direction: column; align-items: center; gap: 6px; } .fx-box { display: flex; align-items: center; justify-content: center; text-align: center; min-width: 180px; max-width: 230px; min-height: 40px; padding: 9px 12px; font-weight: 700; font-size: 12.5px; line-height: 1.3; box-shadow: 0 2px 6px rgba(0,0,0,.12); } .fx-pilula .fx-box { border-radius: 24px; min-height: 52px; } .fx-losango .fx-box { min-width: 190px; min-height: 92px; padding: 18px 34px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); box-shadow: none; font-size: 11.5px; } .fx-det { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; max-width: 240px; } .fx-det span { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: #fff; border: 1px solid #c9d4e2; color: #24364d; } .fx-logo { background: #fff; border-radius: 6px; padding: 6px 10px; width: 170px; height: 78px; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.08); } .fx-logo img { max-width: 100%; max-height: 64px; object-fit: contain; } .fx-seta { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 52px; color: #24364d; } .fx-seta small { font-size: 10.5px; font-weight: 700; white-space: nowrap; } .fx-seta i { position: relative; display: block; width: 46px; height: 2px; background: #24364d; } .fx-seta i::after { content: ''; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 8px solid #24364d; border-right: 0; } .fx-acao { font-size: 10.5px; font-weight: 700; color: #24364d; } .fx-rodape { text-align: right; margin: 8px 0 0; } /* edição */ .fx-novo summary, .fx-ed summary, .fx-faixa-ed summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #0e6f66; font-weight: 600; } .fx-ed { margin: 6px 0 4px; } .fx-ed[open], .fx-novo[open] { background: #fff; border-radius: 10px; padding: 10px 12px; } .fx-form { margin-top: 10px; } .fx-faixa-ed { grid-column: 1 / -1; display: flex; gap: 18px; margin-top: -6px; } .fx-faixa-ed details, .fx-itemed { position: relative; } .fx-itemed > summary { list-style: none; cursor: pointer; border-radius: 6px; } .fx-itemed > summary::-webkit-details-marker { display: none; } .fx-itemed > summary:hover { outline: 2px dashed #0e8a7e; outline-offset: 3px; } .fx-itemed[open] > summary { outline: 2px solid #0e8a7e; outline-offset: 3px; } .fx-pop { position: absolute; z-index: 30; left: 0; top: calc(100% + 8px); width: min(600px, 86vw); background: #fff; color: #16212e; border: 1px solid #d5dde8; border-radius: 12px; padding: 12px 14px; box-shadow: 0 14px 40px rgba(16,42,71,.25); text-align: left; } .fx-pop form + form { margin-top: 8px; } @media (max-width: 760px) { .fx-faixa { grid-template-columns: 1fr; gap: 10px; } .fx-rot span { min-height: 44px; font-size: 15px; } .fx-box { min-width: 140px; } .fx-pop { position: fixed; left: 5vw; right: 5vw; top: 10vh; width: auto; max-height: 80vh; overflow: auto; } } /* ---------------- Colunas de arquivo (certificado digital e cartão CNPJ) */ .ca-cel { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 150px; } .ca-cel .sub { width: 100%; } .ca-ok { display: inline-flex; gap: 4px; align-items: center; background: #dcfce7; color: #166534; border: 1px solid #86efac; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; text-decoration: none; white-space: nowrap; } .ca-ok:hover { background: #bbf7d0; } .ca-ok .ic { width: 14px; height: 14px; } .ca-up, .ca-troca { cursor: pointer; } .ca-resumo { font-size: 12.5px; } 

/* ---------------- Fluxogramas v1.7.1 — novo visual */ .gi { flex: none; } .fx-dica { display: flex; gap: 8px; align-items: center; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; } /* visão geral do setor */ .fx2-visao { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-bottom: 16px; } .fx2-vcard { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; padding: 12px 14px; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(16,24,40,.05); transition: transform .15s, box-shadow .15s, border-color .15s; } .fx2-vcard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,42,71,.12); border-color: #c7d2e0; } .fx2-vic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; } .fx2-vtx { display: flex; flex-direction: column; min-width: 0; } .fx2-vtx small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; font-weight: 700; } .fx2-vtx b { font-size: 14.5px; line-height: 1.25; color: #0f1b2b; } .fx2-vmeta { font-size: 12px; color: #64748b; margin-top: 2px; } /* cabeçalho de cada fluxograma */ .fx2 { scroll-margin-top: 16px; padding: 20px 22px; } .fx2-head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 16px; margin-bottom: 14px; border-bottom: 1px solid #edf1f6; flex-wrap: wrap; } .fx2-hic { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(16,42,71,.18); } .fx2-htx { flex: 1; min-width: 220px; } .fx2-htx small { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: #64748b; font-weight: 700; } .fx2-htx h2 { margin: 2px 0 4px; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.2; color: #0f1b2b; } .fx2-htx p { margin: 0; color: #475569; font-size: 13.5px; max-width: 760px; } .fx2-hmeta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .fx2-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .fx2-chip.sm { font-size: 11px; padding: 1px 7px 1px 5px; } .fx2-chip svg { color: #64748b; } .fx2-resp img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; margin-left: -3px; } .fx2-chip.sm.fx2-resp img { width: 15px; height: 15px; } .fx2-prazo { background: #fff7ed; color: #9a3412; } .fx2-prazo svg { color: #ea580c; } /* processo */ .fx2-legenda { display: flex; gap: 14px; flex-wrap: wrap; color: #64748b; margin: -4px 0 10px; } .fx2-legenda span { display: inline-flex; align-items: center; gap: 6px; } .fx2-legenda i { width: 14px; height: 10px; border-radius: 3px; display: inline-block; } .lg-ini { background: #0f766e; border-radius: 99px !important; } .lg-eta { background: #fff; border: 1px solid #cbd5e1; border-top: 3px solid #183c5c; } .lg-dec { background: #fef3c7; border: 1px solid #f59e0b; transform: rotate(45deg) scale(.8); width: 11px !important; height: 11px !important; } .lg-doc { background: #f5f3ff; border: 1px dashed #8b5cf6; } .fx2-fase { position: relative; background: linear-gradient(180deg, #f8fafc, #f3f6fa); border: 1px solid #e6ebf2; border-radius: 16px; padding: 12px 14px 16px; margin-top: 12px; } .fx2-fase + .fx2-fase::before { content: ''; position: absolute; left: 34px; top: -13px; height: 12px; border-left: 2px dashed #94a3b8; } .fx2-fhead { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; } .fx2-fhead b { font-size: 14.5px; color: #0f1b2b; } .fx2-ftag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; } .fx2-fluxo { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px 0; } .fx2-fluxo > .fx-itemed { display: flex; } .fx2-fluxo > .fx-itemed > summary { display: flex; } .fx2-seta { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 44px; color: #64748b; } .fx2-seta i { position: relative; display: block; width: 30px; height: 2px; background: #94a3b8; } .fx2-seta i::after { content: ''; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid #94a3b8; border-right: 0; } .fx2-seta small { font-size: 10.5px; font-weight: 800; color: #0f766e; text-transform: uppercase; letter-spacing: .03em; } .fp { position: relative; width: 200px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px 12px 11px; box-shadow: 0 1px 2px rgba(16,24,40,.05), 0 4px 12px rgba(16,42,71,.06); display: flex; flex-direction: column; gap: 6px; overflow: hidden; transition: box-shadow .15s, transform .15s; } .fp:hover { box-shadow: 0 10px 24px rgba(16,42,71,.14); transform: translateY(-1px); } .fp-barra { position: absolute; left: 0; right: 0; top: 0; height: 4px; } .fp-topo { display: flex; align-items: center; gap: 8px; color: #475569; } .fp-topo em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #7c3aed; } .fp-num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12.5px; } .fp-logo { margin-left: auto; max-height: 22px; max-width: 70px; object-fit: contain; } .fp-tit { font-size: 13.5px; line-height: 1.3; color: #0f1b2b; } .fp-det { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; } .fp-det li { font-size: 12px; color: #475569; line-height: 1.35; padding-left: 12px; position: relative; } .fp-det li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: #cbd5e1; } .fp-det li.nao { color: #b91c1c; font-weight: 600; } .fp-det li.nao::before { background: #ef4444; } .fp-det li.sim { color: #047857; font-weight: 600; } .fp-det li.sim::before { background: #10b981; } .fp-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 4px; } .fp-chips .fx2-chip { font-size: 11px; padding: 1px 7px 1px 5px; } .fp-inicio, .fp-fim { flex-direction: row; align-items: center; gap: 10px; width: auto; max-width: 220px; min-height: 52px; align-self: center; border-radius: 999px; padding: 8px 18px 8px 12px; border: 0; color: #fff; background: linear-gradient(135deg, #0f766e, #14b8a6); } .fp-fim { background: linear-gradient(135deg, #183c5c, #2563eb); } .fp-inicio span, .fp-fim span { display: flex; flex-direction: column; font-weight: 700; font-size: 13px; line-height: 1.25; } .fp-inicio small, .fp-fim small { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; } .fp-decisao { background: #fffbeb; border: 1.5px solid #fbbf24; } .fp-decisao .fp-topo { color: #b45309; } .fp-decisao .fp-topo em { color: #b45309; } .fp-losango { flex: none; width: 24px; height: 24px; margin: 1px 2px; background: #f59e0b; transform: rotate(45deg); border-radius: 4px; display: grid; place-items: center; } .fp-losango b { transform: rotate(-45deg); color: #fff; font-size: 12px; } .fp-documento { background: #faf8ff; border: 1.5px dashed #a78bfa; } .fp-documento::after { content: ''; position: absolute; right: 0; top: 0; border-width: 0 16px 16px 0; border-style: solid; border-color: #ede9fe #fff; } /* mapa de atividades */ .fx2-mapa { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; } .fm-card { background: #fff; border: 1px solid #e3e8ef; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.05); display: flex; flex-direction: column; } .fm-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; } .fm-head b { flex: 1; font-size: 14.5px; letter-spacing: .01em; } .fm-ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.2); display: grid; place-items: center; } .fm-qtd { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: rgba(255,255,255,.25); display: grid; place-items: center; font-weight: 800; font-size: 12px; } .fm-lista { list-style: none; margin: 0; padding: 6px 8px 10px; } .fm-lista li { border-bottom: 1px solid #f1f4f8; } .fm-lista li:last-child { border-bottom: 0; } .fm-ativ { display: flex; gap: 10px; align-items: flex-start; padding: 8px 6px; font-size: 13px; line-height: 1.35; color: #1e293b; } .fm-ativ > svg { color: #64748b; margin-top: 1px; } .fm-ativ > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .fm-ativ b { font-weight: 600; } .fm-ativ small { color: #64748b; font-size: 11.5px; } .fm-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; } .fm-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; margin: 6px 4px 0; } /* sistemas */ .fs-grupo + .fs-grupo { margin-top: 18px; } .fs-gtit { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #334155; } .fs-gtit i { width: 4px; height: 18px; border-radius: 4px; } .fs-gtit b { font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; } .fs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; } .fs-grid > .fx-itemed > summary { display: block; height: 100%; } .fs-card { height: 100%; background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; padding: 12px 10px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; transition: box-shadow .15s, transform .15s; } .fs-card:hover { box-shadow: 0 8px 20px rgba(16,42,71,.12); transform: translateY(-2px); } .fs-logo { height: 54px; width: 100%; display: grid; place-items: center; } .fs-logo img { max-width: 100%; max-height: 54px; object-fit: contain; } .fs-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; } .fs-card b { font-size: 12.5px; color: #1e293b; line-height: 1.25; } .fs-card small { font-size: 11px; color: #64748b; } /* edição: janela sobreposta, fecha clicando fora */ .fx-itemed > summary { list-style: none; cursor: pointer; } .fx-itemed > summary::-webkit-details-marker { display: none; } .fx-itemed[open] > summary::before { content: ''; position: fixed; inset: 0; z-index: 60; background: rgba(15,27,43,.38); cursor: default; } .fx-itemed > .fx-pop { position: fixed; z-index: 61; left: 50%; top: 7vh; translate: -50% 0; width: min(680px, 94vw); max-height: 86vh; overflow: auto; background: #fff; color: #16212e; border: 1px solid #d5dde8; border-radius: 16px; padding: 16px 18px; box-shadow: 0 24px 60px rgba(16,42,71,.35); text-align: left; cursor: auto; } .fx-pop form + form { margin-top: 8px; } .fx-mover { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid #eef2f6; } .fx-add > summary { display: inline-flex; align-items: center; gap: 6px; color: #0e6f66; font-weight: 700; font-size: 13px; border: 1.5px dashed #5eead4; background: #f0fdfa; border-radius: 12px; padding: 8px 14px; } .fx2-fluxo > .fx-add { align-self: center; margin-left: 14px; } .fs-add > summary { height: 100%; min-height: 100px; justify-content: center; width: 100%; } .fx-inline > summary { display: inline-flex; } .fx-lapis { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #0e6f66; background: #fff; border: 1px solid #99f6e4; border-radius: 999px; padding: 2px 9px; } .fm-head .fx-lapis { padding: 2px 6px; } .fx2-fluxo .fx-itemed > summary:hover .fp, .fm-lista .fx-itemed > summary:hover, .fs-grid .fx-itemed > summary:hover .fs-card { outline: 2px dashed #14b8a6; outline-offset: 2px; } .fm-lista .fx-itemed > summary { border-radius: 8px; } @media (max-width: 760px) { .fx2 { padding: 14px; } .fx2-fluxo { flex-direction: column; align-items: stretch; } .fx2-fluxo > .fx-itemed, .fx2-fluxo > .fx-itemed > summary { display: block; } .fp { width: 100%; } .fp-inicio, .fp-fim { max-width: none; align-self: stretch; } .fx2-seta { width: 100%; height: 30px; flex-direction: row; } .fx2-seta i { width: 2px; height: 20px; } .fx2-seta i::after { right: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 7px solid #94a3b8; border-bottom: 0; } .fx2-fluxo > .fx-add { margin: 10px 0 0; } .fx-itemed > .fx-pop { top: 4vh; max-height: 92vh; } } .fx-pop .grid-form { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } .fx-pop .fld.wide { grid-column: 1 / -1; } .fx-pop input, .fx-pop select, .fx-pop textarea { width: 100%; min-width: 0; } .fx2-fluxo > .fx-itemed > summary { align-items: center; } .fx2-par { display: flex; align-items: stretch; } .fx2-par > .fx-itemed, .fx2-par > .fx-itemed > summary { display: flex; } .fx2-par > .fx-itemed > summary { align-items: center; } .fx2-par > .fp-inicio, .fx2-par > .fp-fim { align-self: center; } @media (max-width: 760px) { .fx2-par { flex-direction: column; } .fx2-par > .fx-itemed, .fx2-par > .fx-itemed > summary { display: block; } }
/* v1.7.2 — foto do responsável em destaque e exclusão em dois cliques */ .fx2-dono { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #f1f5f9; border: 1px solid #e2e8f0; } .fx2-dono img, .fx2-dono-ini { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(16,42,71,.18); } .fx2-dono-ini { display: grid; place-items: center; background: #183c5c; color: #fff; font-weight: 800; font-size: 22px; } .fx2-dono > span { display: flex; flex-direction: column; line-height: 1.2; } .fx2-dono small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; font-weight: 700; } .fx2-dono b { font-size: 15px; color: #0f1b2b; } .fx2-vcard { position: relative; } .fx2-vfoto { margin-left: auto; flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(16,42,71,.2); } .fp-chips .fx2-resp img, .fx2-resp img { width: 26px; height: 26px; margin: -4px 2px -4px -6px; box-shadow: 0 0 0 2px #fff; } .fp-chips .fx2-resp { padding-left: 6px; } .fx2-chip.sm.fx2-resp img { width: 20px; height: 20px; margin: -3px 1px -3px -4px; } .fx-del { margin-top: 8px; } .fx-del > summary { list-style: none; cursor: pointer; display: inline-flex; color: #b42323; border-color: #f3c2c2; background: #fff; } .fx-del > summary::-webkit-details-marker { display: none; } .fx-del-box { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #fbe7e7; color: #8a1c1c; font-size: 13px; font-weight: 600; } .fx-del-box span { flex: 1 1 200px; } .btn.fx-del-sim { background: #b42323; border-color: #b42323; color: #fff; } .btn.fx-del-sim:hover { background: #8f1b1b; }

/* Emissão de certificados (ZapSign) v1.8 */
.zs-dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; margin: 4px 0 14px; }
.zs-dl span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.zs-dl b { font-weight: 600; word-break: break-word; }
.zs-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.zs-perigo { display: inline-block; }
.zs-perigo > summary { list-style: none; cursor: pointer; }
.zs-perigo > summary::-webkit-details-marker { display: none; }
.zs-perigo[open] > form { display: inline-flex; gap: 8px; align-items: center; margin-left: 8px; }
.btn.zs-bad { background: var(--bad-bg); border-color: transparent; color: var(--bad); }
.btn.zs-bad:hover { border-color: var(--bad); }
.zs-msg { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; background: var(--surface-2); color: var(--text); resize: vertical; }
.zs-slots { display: grid; gap: 10px; margin: 12px 0; }
.zs-dia { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; }
.zs-dia > b { min-width: 92px; }
.zs-cel { white-space: nowrap; }
.zs-cel a { text-decoration: none; }
.zs-lista { margin: 0; padding-left: 18px; color: var(--text-2); }
.zs-lista li { margin: 4px 0; }
.btn.ok { border-color: var(--good); color: var(--good); }
.form-actions small { font-weight: 500; opacity: .8; }
@media (max-width: 760px) { .zs-dl { grid-template-columns: 1fr 1fr; } }

/* v1.8.1 */
[hidden] { display: none !important; }
.zs-cep-msg { font-size: 12px; color: var(--muted); }
.zs-cep-msg.bad { color: var(--bad); }

/* v1.8.2 */
.tbl tr.dim td a.btn.primary { color: var(--brand-ink); }

/* ---------- v1.9: documentos do cliente, senha do certificado, exclusão em dois cliques ---------- */
.icon-btn.armed { width: auto; padding: 0 10px; background: var(--bad); color: #fff; font-weight: 600; font-size: 12px; }
.doc-up { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.doc-drop { position: relative; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 2px dashed var(--line); border-radius: 10px; background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; }
.doc-drop:hover, .doc-drop.over { border-color: var(--brand-2); background: var(--info-bg); }
.doc-drop.has { border-style: solid; border-color: var(--accent); }
.doc-drop input[type=file] { position: absolute; inset: 0; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.doc-drop-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--surface); color: var(--brand-2); border: 1px solid var(--line); flex: none; }
.doc-drop-txt { display: flex; flex-direction: column; min-width: 0; color: var(--text-2); }
.doc-drop-txt b { color: var(--text); }
.doc-drop-txt small { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.doc-up-campos { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.doc-up-campos label { display: flex; flex-direction: column; gap: 3px; }
.doc-up-campos label.grow { flex: 1 1 260px; }
.doc-up-campos small { color: var(--muted); font-size: 12px; font-weight: 600; }
.doc-up-campos select, .doc-up-campos input { height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; padding: 0 10px; width: 100%; }
.doc-nome { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.doc-nome:hover span { color: var(--brand-2); text-decoration: underline; }
.doc-nome small { font-weight: 400; }
.doc-ext { flex: none; display: inline-grid; place-items: center; min-width: 38px; height: 22px; padding: 0 4px; border-radius: 5px; font-size: 10px; font-weight: 800; letter-spacing: .3px; background: var(--mute-bg); color: var(--text-2); margin-top: 1px; }
.doc-ext.pdf { background: var(--bad-bg); color: var(--bad); }
.doc-ext.doc { background: var(--info-bg); color: var(--info); }
.doc-ext.xls { background: var(--good-bg); color: var(--good); }
.doc-ext.img { background: var(--warn-bg); color: var(--warn); }
.doc-tbl .acts { white-space: nowrap; }
.cs-cel { display: flex; align-items: center; gap: 2px; min-width: 150px; border-radius: 8px; transition: box-shadow .2s; }
.cs-inp { width: 110px; height: 30px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; padding: 0 8px; }
.cs-inp::placeholder { color: var(--text-2); letter-spacing: 1px; }
.cs-inp:focus { outline: none; border-color: var(--brand-2); }
.cs-cel .icon-btn { width: 28px; height: 28px; }
.cs-eye.on { color: var(--brand-2); background: var(--info-bg); }
.cs-save { color: var(--good); }
.cs-cel.ok .cs-inp { border-color: var(--good); box-shadow: 0 0 0 2px var(--good-bg); }
.cs-cel.err .cs-inp { border-color: var(--bad); box-shadow: 0 0 0 2px var(--bad-bg); }

/* ---------- v2.0: Correspondências ---------- */
.corr-seg { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; margin-bottom: 14px; }
.corr-seg a small { opacity: .65; font-weight: 600; margin-left: 2px; }
.corr-filtros { flex-wrap: wrap; }
.corr-dt { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.corr-dt input { height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; padding: 0 8px; }
.corr-topo { margin: -4px 0 8px; }
.corr-tbl td { vertical-align: middle; }
.corr-cod { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.corr-cod:hover { color: var(--brand-2); }
.corr-arqs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.corr-arqs a { text-decoration: none !important; }
.corr-arqs .doc-ext { margin: 0; }
.corr-add { width: 26px; height: 26px; color: var(--muted); }
.corr-est { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--warn-bg); color: var(--warn); font-size: 11px; font-weight: 800; cursor: help; }
.corr-aviso { display: block; color: var(--warn); font-size: 12px; margin-top: 3px; }
.badge.corr-t { background: var(--mute-bg); color: var(--text-2); }
.badge.corr-cond { background: var(--info-bg); color: var(--info); }
.badge.corr-cont { background: var(--good-bg); color: var(--good); }
.badge.corr-audit { background: var(--warn-bg); color: var(--warn); }
.badge.corr-com, .badge.corr-not { background: var(--bad-bg); color: var(--bad); }
.corr-pag { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.corr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.corr-grid label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.corr-grid label > span { font-size: 12px; font-weight: 600; color: var(--muted); }
.corr-grid .wide { grid-column: 1 / -1; }
.corr-grid input:not([type=file]), .corr-grid select, .corr-grid textarea { height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; padding: 0 10px; width: 100%; }
.corr-grid textarea { height: auto; padding: 8px 10px; }
.btn.danger-btn { color: var(--bad); border-color: var(--bad-bg); }
.btn.danger-btn.armed { background: var(--bad); color: #fff; }
.corr-imp h2 { margin-top: 0; }
.corr-imp-info { margin: 12px 0 8px; font-weight: 600; }
.corr-imp-bar { margin: 6px 0 8px; }
.corr-imp-bar i { transition: width .3s; }
.corr-imp-cont { font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.corr-imp-log { max-height: 340px; overflow: auto; margin: 0; padding: 8px 8px 8px 28px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.corr-imp-log:empty { display: none; }
.corr-imp-log li.good { color: var(--good); } .corr-imp-log li.info { color: var(--info); } .corr-imp-log li.bad { color: var(--bad); }
@media (max-width: 760px) { .corr-grid { grid-template-columns: 1fr; } }

/* ---------- v2.0.1: Cofre — busca dentro da pasta selecionada ---------- */
.cofre-main .card-h { flex-wrap: wrap; gap: 10px; }
.pasta-busca { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.pasta-busca .search input { width: 280px; max-width: 100%; }
@media (max-width: 760px) { .pasta-busca, .pasta-busca .search, .pasta-busca .search input { width: 100%; margin-left: 0; } }

/* ---------- v2.0.2: ZapSign — cancelar protocolo ---------- */
.btn.zs-cancel { color: var(--bad); border-color: var(--bad); }
.btn.zs-cancel:hover { background: var(--bad-bg); }
.btn.zs-cancel.armed { background: var(--bad); color: #fff; width: auto; }
.flash.warn { background: var(--warn-bg); color: var(--warn); }

/* v2.0.3: cancelar protocolo na relação de certificados */
.zs-cancel-cel { margin-top: 6px; }

/* ---------- v2.1.0: Alertas por e-mail ---------- */
.al-ativo > span:last-child { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.al-teste { margin-top: 12px; }
.al-teste .search input { width: 300px; max-width: 100%; }

/* ---------- v2.2.0: Alertas — regras recolhíveis ---------- */
.al-regra { margin-top: 14px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.al-regra > summary { cursor: pointer; font-weight: 600; }
.al-restaurar { margin: 10px 0; justify-content: flex-end; }

/* ---------- v2.3.0: Banco de Currículos ---------- */
.cv-tbl td { vertical-align: middle; }
.cv-nome { font-weight: 700; color: var(--text); }
.cv-nome:hover { color: var(--brand-2); }
.cv-tbl .ca-cel { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.cv-tbl .ca-cel .doc-ext { margin: 0; }

/* ---------------- Quadros v2.8 (estilo Trello) */
.qd-home-h { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.qd-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 20px; align-items: start; }
.qd-tile { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 110px; padding: 14px 16px; border-radius: 12px; color: #fff; text-decoration: none !important;
  background: linear-gradient(135deg, var(--qd), color-mix(in srgb, var(--qd) 70%, #000)); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.qd-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,42,71,.22); }
.qd-tile b { font-size: 16px; display: flex; gap: 6px; align-items: center; } .qd-tile b .ic { width: 15px; height: 15px; }
.qd-tile small { opacity: .85; line-height: 1.35; }
.qd-tile-n { margin-top: auto; font-size: 12.5px; opacity: .92; } .qd-tile-n em { font-style: normal; background: rgba(255,255,255,.22); padding: 1px 7px; border-radius: 99px; font-weight: 700; }
.qd-tile.arq { opacity: .85; } .qd-tile.arq form { margin-top: auto; }
.qd-tile.novo { background: var(--surface); color: var(--text-2); border: 1.5px dashed var(--line); box-shadow: none; padding: 0; min-height: 110px; }
.qd-tile.novo > summary { list-style: none; cursor: pointer; display: flex; gap: 8px; align-items: center; justify-content: center; height: 110px; font-weight: 600; }
.qd-tile.novo > summary::-webkit-details-marker { display: none; }
.qd-tile.novo[open] { grid-column: 1 / -1; padding: 0; }
.qd-tile.novo[open] > summary { height: 44px; }
.qd-tile.novo:hover { transform: none; }
.qd-pop { padding: 4px 16px 16px; } .qd-pop h3 { font-size: 15px; margin: 0 0 10px; }
.qd-cores { display: flex; gap: 8px; flex-wrap: wrap; }
.qd-cor input { position: absolute; opacity: 0; pointer-events: none; }
.qd-cor i { display: block; width: 34px; height: 26px; border-radius: 6px; background: var(--c); cursor: pointer; border: 2px solid transparent; }
.qd-cor input:checked + i { border-color: var(--text); box-shadow: 0 0 0 2px var(--surface) inset; }
.qd-usus { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 6px 0; }
.qd-passos { margin: 0 0 14px; padding-left: 20px; color: var(--text-2); } .qd-passos li { margin: 3px 0; }

/* topo do quadro */
.qd-topo { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin: -4px 0 12px; }
.qd-tit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; color: var(--muted); }
.qd-tit h2 { font-size: 19px; color: var(--text); } .qd-tit .badge .ic { width: 12px; height: 12px; }
.qd-filtros { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.qd-filtros select, .qd-busca input { height: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; padding: 0 8px; }
.qd-busca { position: relative; display: flex; align-items: center; } .qd-busca .ic { position: absolute; left: 8px; width: 15px; height: 15px; color: var(--muted); }
.qd-busca input { padding-left: 28px; width: 180px; }
.qd-menu { position: relative; } .qd-menu > summary { list-style: none; } .qd-menu > summary::-webkit-details-marker { display: none; }
.qd-menu[open] > .qd-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; width: min(460px, 92vw); max-height: 80vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 50px rgba(16,42,71,.28); padding: 14px 16px; }
.qd-perigo { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line-2); margin-top: 12px; padding-top: 12px; }

/* quadro */
.qd-board { display: flex; gap: 12px; align-items: flex-start; overflow-x: auto; overflow-y: hidden; padding: 14px; margin: 0 -8px; min-height: calc(100vh - 230px);
  border-radius: 14px; background: linear-gradient(160deg, color-mix(in srgb, var(--qd) 85%, #fff), color-mix(in srgb, var(--qd) 65%, #000)); scroll-behavior: auto; }
.qd-carregando, .qd-filtro-info { color: #fff; opacity: .9; font-weight: 600; padding: 8px; flex: none; }
.qd-list { flex: none; width: 272px; max-height: calc(100vh - 260px); display: flex; flex-direction: column; background: #f1f2f4; color: #172b4d; border-radius: 12px; box-shadow: 0 1px 1px rgba(9,30,66,.25); }
.qd-list-h { display: flex; align-items: center; gap: 4px; padding: 8px 6px 4px 12px; cursor: grab; }
.qd-list-t { flex: 1; font-size: 14px; font-weight: 650; padding: 4px 0; cursor: pointer; overflow-wrap: anywhere; }
.qd-list-inp { flex: 1; font: inherit; font-weight: 650; font-size: 14px; border: 2px solid #388bff; border-radius: 6px; padding: 3px 6px; }
.qd-n { font-size: 12px; color: #626f86; background: rgba(9,30,66,.08); border-radius: 99px; padding: 0 7px; font-weight: 600; }
.qd-lmenu { position: relative; } .qd-lmenu > summary { list-style: none; width: 30px; height: 30px; } .qd-lmenu > summary::-webkit-details-marker { display: none; }
.qd-lmenu-pop { position: absolute; right: 0; top: 34px; z-index: 30; background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(9,30,66,.25); padding: 6px; min-width: 230px; }
.qd-lmenu-pop button { display: flex; gap: 8px; align-items: center; width: 100%; border: 0; background: none; padding: 8px 10px; border-radius: 6px; font: inherit; cursor: pointer; color: #172b4d; text-align: left; }
.qd-lmenu-pop button:hover { background: #f1f2f4; } .qd-lmenu-pop button.armed { background: var(--bad); color: #fff; }
.qd-cards { flex: 1 1 auto; overflow-y: auto; padding: 4px 8px; min-height: 8px; display: flex; flex-direction: column; gap: 8px; }
.qd-card { background: #fff; border-radius: 8px; padding: 8px 10px; box-shadow: 0 1px 1px rgba(9,30,66,.25), 0 0 1px rgba(9,30,66,.31); cursor: pointer; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; touch-action: manipulation; outline: none; }
.qd-card:hover { box-shadow: 0 0 0 2px #388bff; } .qd-card:focus-visible { box-shadow: 0 0 0 2px #388bff; }
.qd-card.feito .qd-card-t { color: #626f86; }
.qd-card-t { font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; white-space: pre-wrap; }
.qd-ets { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.qd-et { display: inline-block; min-width: 40px; height: 16px; line-height: 16px; padding: 0 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; color: #172b4d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.qd-et.lg { height: 30px; line-height: 30px; padding: 0 12px; font-size: 13px; min-width: 48px; }
.qd-badges { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; margin-top: 6px; color: #44546f; font-size: 12px; }
.qd-bd { display: inline-flex; gap: 3px; align-items: center; } .qd-bd .ic { width: 14px; height: 14px; }
.qd-bd.ok { background: #1f845a; color: #fff; padding: 0 5px; border-radius: 4px; }
.qd-bd.dt { padding: 1px 5px; border-radius: 4px; }
.qd-bd.dt.vencido { background: #c9372c; color: #fff; } .qd-bd.dt.breve { background: #f5cd47; color: #172b4d; } .qd-bd.dt.feito { background: #1f845a; color: #fff; }
.qd-avs { display: inline-flex; margin-left: auto; } .qd-avs .qd-av + .qd-av { margin-left: -6px; }
.qd-av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 700; background: #dfe1e6; color: #172b4d; object-fit: cover; border: 2px solid #fff; flex: none; }
.qd-av.lg { width: 32px; height: 32px; font-size: 12px; }
.qd-add-c, .qd-add-l { display: flex; gap: 6px; align-items: center; border: 0; background: none; font: inherit; color: #44546f; padding: 8px 12px; margin: 2px 6px 6px; border-radius: 8px; cursor: pointer; text-align: left; }
.qd-add-c:hover { background: rgba(9,30,66,.08); color: #172b4d; }
.qd-add-l { flex: none; width: 272px; margin: 0; color: #fff; background: rgba(255,255,255,.22); font-weight: 600; padding: 12px; }
.qd-add-l:hover { background: rgba(255,255,255,.32); }
.qd-novo-c { padding: 0 8px 8px; } .qd-novo-c textarea, .qd-nova-l input { width: 100%; border: 0; border-radius: 8px; padding: 8px 10px; font: inherit; resize: none; box-shadow: 0 1px 1px rgba(9,30,66,.25); background: #fff; color: #172b4d; }
.qd-nova-l { padding: 8px; gap: 8px; } .qd-nova-l input { box-shadow: inset 0 0 0 2px #388bff; }
.qd-row { display: flex; gap: 6px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.qd-list .icon-btn { color: #44546f; }

/* arrastar */
.qd-ghost { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; opacity: .95; box-shadow: 0 14px 30px rgba(9,30,66,.35) !important; }
.qd-oculto { display: none !important; }
.qd-ph { background: rgba(9,30,66,.10); border-radius: 8px; flex: none; }
.qd-ph-l { flex: none; width: 272px; border-radius: 12px; background: rgba(0,0,0,.18); }
body.qd-arrastando, body.qd-arrastando * { cursor: grabbing !important; user-select: none; }

/* janela do cartão */
body.qd-modal-on { overflow: hidden; }
.qd-modal { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: center; align-items: flex-start; overflow-y: auto; padding: 5vh 12px; }
.qd-modal[hidden] { display: none; }
.qd-modal-bg { position: fixed; inset: 0; background: rgba(9,20,35,.55); }
.qd-modal-box { position: relative; width: min(860px, 100%); background: var(--surface); color: var(--text); border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.35); padding: 20px 22px 24px; }
.qd-m-x { position: absolute; right: 12px; top: 12px; }
.qd-m-arq { background: var(--warn-bg); color: var(--warn); font-weight: 600; border-radius: 8px; padding: 8px 12px; margin: 0 40px 10px 0; }
.qd-m-h { padding-right: 36px; }
.qd-m-tit { width: 100%; font: inherit; font-size: 20px; font-weight: 700; border: 2px solid transparent; border-radius: 8px; padding: 4px 6px; margin-left: -8px; resize: none; background: transparent; color: var(--text); overflow: hidden; }
.qd-m-tit:focus { border-color: var(--brand-2); background: var(--surface); outline: none; }
.qd-m-h p { margin: 0 0 12px; } .qd-orig { display: inline-flex; gap: 2px; align-items: center; } .qd-orig .ic { width: 13px; height: 13px; }
.qd-m-grid { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 22px; }
.qd-m-side { display: flex; flex-direction: column; gap: 6px; } .qd-m-side small { font-weight: 700; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.btn.block-l { justify-content: flex-start; width: 100%; background: var(--surface-2); }
.btn.armed { background: var(--bad) !important; color: #fff !important; border-color: var(--bad) !important; }
.qd-m-meta { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-bottom: 18px; }
.qd-m-blk { display: flex; flex-direction: column; gap: 5px; } .qd-m-blk > small { font-weight: 700; color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }
.qd-m-blk input[type=date], .qd-m-blk input[type=datetime-local] { height: 32px; border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; font: inherit; font-size: 13px; background: var(--surface); color: var(--text); }
.qd-m-chips { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.qd-chip-add { width: 32px; height: 32px; border-radius: 6px; border: 0; background: var(--mute-bg); color: var(--text-2); display: grid; place-items: center; cursor: pointer; }
.qd-chip-add:hover { background: var(--line); }
.qd-m-ent { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.qd-ok input { width: 18px; height: 18px; margin: 0; accent-color: #1f845a; cursor: pointer; }
.qd-tag { font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.qd-tag.bad { background: #c9372c; color: #fff; } .qd-tag.good { background: #1f845a; color: #fff; } .qd-tag.warn { background: #f5cd47; color: #172b4d; }
.qd-m-sec { margin-bottom: 22px; }
.qd-m-sec h4, .qd-hist summary h4 { display: flex; gap: 8px; align-items: center; font-size: 15px; margin: 0 0 8px; }
.qd-m-sec h4 .spacer { flex: 1; }
.qd-desc { white-space: normal; line-height: 1.55; overflow-wrap: anywhere; cursor: pointer; border-radius: 8px; padding: 2px 0; }
.qd-desc.vazia { background: var(--surface-2); color: var(--muted); padding: 10px 12px; min-height: 54px; }
.qd-desc:hover { background: var(--surface-2); }
.qd-m-sec textarea, .qd-com-novo textarea, .qd-it-novo textarea, .qd-itens textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font: inherit; background: var(--surface); color: var(--text); resize: vertical; }
.qd-ck { margin-bottom: 18px; }
.qd-ck-h { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .qd-ck-h .spacer { flex: 1; }
.qd-ck-n { cursor: pointer; margin: 0 !important; } .qd-ck-h input { font: inherit; font-weight: 700; border: 2px solid var(--brand-2); border-radius: 6px; padding: 3px 6px; }
.qd-prog { display: flex; gap: 10px; align-items: center; margin: 6px 0; font-size: 11.5px; color: var(--muted); }
.qd-prog span { width: 32px; } .qd-prog i { flex: 1; height: 8px; background: var(--mute-bg); border-radius: 4px; overflow: hidden; }
.qd-prog b { display: block; height: 100%; background: #579dff; border-radius: 4px; transition: width .2s; } .qd-prog.ok b { background: #1f845a; }
.qd-itens { list-style: none; margin: 0; padding: 0; }
.qd-itens li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 6px; border-radius: 6px; }
.qd-itens li:hover { background: var(--surface-2); } .qd-itens li.arr { opacity: .4; }
.qd-itens label input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: #1f845a; cursor: pointer; }
.qd-it-t { flex: 1; cursor: pointer; overflow-wrap: anywhere; line-height: 1.4; } .qd-itens li.ok .qd-it-t { text-decoration: line-through; color: var(--muted); }
.qd-it-por { font-size: 11px; white-space: nowrap; margin-top: 2px; }
.qd-it-del { width: 26px; height: 26px; opacity: 0; } .qd-itens li:hover .qd-it-del, .qd-it-del.armed { opacity: 1; }
.qd-it-del.armed { width: auto; padding: 0 8px; background: var(--bad); color: #fff; font-size: 12px; border-radius: 6px; }
.qd-add-it { display: inline-flex; gap: 6px; align-items: center; border: 0; background: var(--mute-bg); color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 6px; cursor: pointer; margin: 4px 0 0 32px; }
.qd-it-novo { margin: 4px 0 0 32px; }
.qd-anexos { list-style: none; margin: 0; padding: 0; } .qd-anexos li { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.qd-anexos li > a:first-child { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; flex: 1; min-width: 160px; overflow-wrap: anywhere; }
.qd-com-novo { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; margin-bottom: 12px; }
.qd-com { border-left: 3px solid var(--line); padding: 2px 0 2px 12px; margin-bottom: 12px; }
.qd-com-h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; } .qd-com-t { overflow-wrap: anywhere; line-height: 1.5; margin-top: 2px; }
.qd-com .link, .link.small { border: 0; background: none; color: var(--muted); cursor: pointer; font: inherit; font-size: 12px; text-decoration: underline; padding: 0; }
.qd-com .link.armed { color: var(--bad); font-weight: 700; }
.qd-hist > summary { list-style: none; cursor: pointer; } .qd-hist > summary::-webkit-details-marker { display: none; }
.qd-hist ul { list-style: none; margin: 0; padding: 0; font-size: 13px; } .qd-hist li { padding: 4px 0; border-bottom: 1px dashed var(--line-2); }
.qd-pop2 { position: absolute; z-index: 20; width: 290px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 34px rgba(9,30,66,.3); padding: 10px 12px 12px; }
.qd-pop2-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .qd-pop2-h b { font-size: 13.5px; }
.qd-pop-form { display: flex; flex-direction: column; gap: 6px; } .qd-pop-form small { font-weight: 600; color: var(--text-2); }
.qd-pop-form input, .qd-pop-form select { height: 34px; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; font: inherit; background: var(--surface); color: var(--text); width: 100%; }
.qd-pop-et { display: flex; flex-direction: column; gap: 4px; max-height: 340px; overflow: auto; }
.qd-pop-et-l { display: flex; gap: 4px; align-items: center; } .qd-pop-et-l label { flex: 1; display: flex; gap: 8px; align-items: center; cursor: pointer; } .qd-pop-et-l .qd-et { flex: 1; }
.qd-pop-u { display: flex; gap: 8px; align-items: center; padding: 4px; border-radius: 6px; cursor: pointer; } .qd-pop-u:hover { background: var(--surface-2); }
.qd-pop-cores { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; } .qd-pop-cores button { height: 30px; border-radius: 5px; border: 2px solid transparent; cursor: pointer; }
.qd-pop-cores button.on { border-color: var(--text); }
.qd-arq-t { font-size: 18px; margin-bottom: 10px; } .qd-modal-box > h4 { margin: 14px 0 6px; }
.qd-arq { list-style: none; margin: 0; padding: 0; } .qd-arq li { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; } .qd-arq li > a, .qd-arq li > span { flex: 1; font-weight: 600; }
.qd-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); z-index: 300; background: #1d2b3a; color: #fff; padding: 10px 16px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: .2s; max-width: 92vw; }
.qd-toast.on { opacity: 1; transform: translate(-50%, 0); } .qd-toast.bad { background: var(--bad); }
@media (max-width: 760px) {
  .qd-board { min-height: calc(100vh - 200px); margin: 0 -14px; border-radius: 0; padding: 10px; scroll-snap-type: x proximity; }
  .qd-list, .qd-add-l, .qd-ph-l { width: 84vw; scroll-snap-align: center; } .qd-list { max-height: calc(100vh - 220px); }
  .qd-m-grid { grid-template-columns: 1fr; } .qd-m-side { order: -1; display: grid; grid-template-columns: 1fr 1fr; } .qd-m-side small { grid-column: 1 / -1; }
  .qd-modal { padding: 0; } .qd-modal-box { border-radius: 0; min-height: 100%; padding: 16px; }
  .qd-busca input { width: 140px; } .qd-it-del { opacity: 1; }
}
@media (prefers-color-scheme: dark) {
  .qd-list { background: #101204; background: #161a1d; color: #b6c2cf; } .qd-card { background: #22272b; color: #b6c2cf; } .qd-list-t { color: #dee4ea; }
  .qd-badges { color: #9fadbc; } .qd-add-c { color: #9fadbc; } .qd-add-c:hover { background: rgba(255,255,255,.08); color: #dee4ea; }
  .qd-novo-c textarea, .qd-nova-l input { background: #22272b; color: #dee4ea; } .qd-lmenu-pop { background: #282e33; } .qd-lmenu-pop button { color: #dee4ea; } .qd-lmenu-pop button:hover { background: #333b42; }
  .qd-av { border-color: #22272b; } .qd-n { color: #9fadbc; background: rgba(255,255,255,.08); } .qd-list .icon-btn { color: #9fadbc; }
  .qd-list-inp { background: #22272b; color: #dee4ea; }
}

/* ---------------- Quadros v2.9: indicadores e calendário */
.qd-vistas { display: inline-flex; } .qd-vistas button { display: inline-flex; gap: 5px; align-items: center; } .qd-vistas .ic { width: 14px; height: 14px; }
.qd-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; }
.qd-kpi { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; border: 1px solid var(--line); background: var(--surface); color: var(--text);
  border-radius: 12px; padding: 12px 16px 12px 20px; cursor: pointer; font: inherit; box-shadow: var(--shadow); overflow: hidden; transition: transform .12s, box-shadow .12s; }
.qd-kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--k); }
.qd-kpi:hover { transform: translateY(-1px); } .qd-kpi.on { box-shadow: 0 0 0 2px var(--k); }
.qd-kpi b { font-size: 26px; line-height: 1.1; color: var(--k); } .qd-kpi span { font-weight: 650; font-size: 13.5px; } .qd-kpi small { color: var(--muted); font-size: 12px; min-height: 15px; }
.qd-kpi.tot { --k: #1e4e82; } .qd-kpi.ok { --k: #1f845a; } .qd-kpi.bad { --k: #c9372c; }
.qd-kpi-bar { grid-column: 1 / -1; display: flex; height: 6px; border-radius: 4px; overflow: hidden; background: var(--mute-bg); }
.qd-kpi-bar i { display: block; height: 100%; } .qd-kpi-bar .f { background: #1f845a; } .qd-kpi-bar .p { background: #579dff; } .qd-kpi-bar .a { background: #c9372c; }
.qd-cal { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 10px; box-shadow: var(--shadow); }
.qd-cal-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; } .qd-cal-h h3 { font-size: 19px; margin: 0 6px; } .qd-cal-h .spacer { flex: 1; }
.qd-cal-wrap { overflow-x: auto; }
.qd-cal-g { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); min-width: 780px; }
.qd-cal-dn { padding: 6px 8px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; background: var(--surface-2); }
.qd-cal-d { position: relative; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 4px 6px; display: flex; flex-direction: column; gap: 2px; min-width: 0; background: var(--surface); }
.qd-cal-d.fds { background: var(--surface-2); } .qd-cal-d.fora { background: var(--surface-2); } .qd-cal-d.fora .qd-cal-n span { color: var(--muted); opacity: .6; }
.qd-cal-d.alvo { box-shadow: inset 0 0 0 2px #388bff; background: color-mix(in srgb, #388bff 8%, var(--surface)); }
.qd-cal-n { display: flex; align-items: center; justify-content: center; position: relative; height: 26px; }
.qd-cal-n span { font-size: 12.5px; font-weight: 600; min-width: 26px; height: 26px; line-height: 26px; text-align: center; border-radius: 99px; padding: 0 4px; }
.qd-cal-d.hoje .qd-cal-n span { background: #1a73e8; color: #fff; }
.qd-cal-add { position: absolute; right: 0; top: 1px; width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; opacity: 0; display: grid; place-items: center; }
.qd-cal-add .ic { width: 14px; height: 14px; } .qd-cal-d:hover .qd-cal-add { opacity: 1; } .qd-cal-add:hover { background: var(--mute-bg); color: var(--text); }
.qd-cal-c { user-select: none; display: flex; gap: 4px; align-items: center; width: 100%; border: 0; border-radius: 5px; padding: 2px 6px; font: inherit; font-size: 12px; text-align: left; cursor: pointer; color: #fff; min-width: 0; line-height: 1.45; }
.qd-cal-c span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; } .qd-cal-c em { font-style: normal; opacity: .85; font-size: 11px; flex: none; }
.qd-cal-c i { width: 8px; height: 8px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.qd-cal-c.prazo { background: #1a73e8; } .qd-cal-c.atraso { background: #c9372c; } .qd-cal-c.feito { background: #1f845a; } .qd-cal-c.feito span { text-decoration: line-through; opacity: .9; }
.qd-cal-c:hover { filter: brightness(1.08); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.qd-cal-c.extra { display: none; } .qd-cal-d.aberta .qd-cal-c.extra { display: flex; }
.qd-cal-mais { border: 0; background: none; color: var(--text-2); font: inherit; font-size: 12px; font-weight: 600; text-align: left; padding: 1px 6px; cursor: pointer; border-radius: 4px; } .qd-cal-mais:hover { background: var(--mute-bg); }
.qd-cal-form { position: absolute; z-index: 15; top: 28px; left: 4px; width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(9,30,66,.3); padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.qd-cal-form input, .qd-cal-form select { height: 32px; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; font: inherit; font-size: 13px; background: var(--surface); color: var(--text); min-width: 0; }
.qd-cal-form input:not([type=time]) { width: 100%; } .qd-cal-form select { flex: 1; }
.qd-cal-d:nth-child(7n) .qd-cal-form, .qd-cal-d:nth-child(7n+1) .qd-cal-form { left: auto; right: 4px; }
.qd-cal-leg { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 8px; } .qd-cal-leg .lg { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.qd-cal-leg .lg.prazo { background: #1a73e8; } .qd-cal-leg .lg.atraso { background: #c9372c; } .qd-cal-leg .lg.feito { background: #1f845a; }
@media (max-width: 760px) { .qd-kpis { grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .qd-kpi { padding: 8px 8px 8px 12px; } .qd-kpi b { font-size: 20px; } .qd-kpi span { font-size: 11.5px; } .qd-kpi small { display: none; } .qd-cal { margin: 0 -14px; border-radius: 0; } }
.qd-vistas { gap: 2px; }
.qd-vistas button { border: 0; background: none; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 6px; cursor: pointer; }
.qd-vistas button.on { background: var(--brand); color: var(--brand-ink); }

/* ---------------- Quadros v2.10: alertas e acesso por usuário */
.qd-al-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 4px; } @media (max-width: 600px) { .qd-al-grid { grid-template-columns: 1fr; } }
.al-qd-it { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; padding: 2px 0; } .al-qd-it .badge { font-size: 11px; }
.qd-usu-quadros .check { display: flex; gap: 6px; align-items: center; }

/* ===================== v2.11.0 — menu CavalcantiDiniz, foto do usuário, data à esquerda ===================== */
.brand-row { display: flex; align-items: center; gap: 8px; padding-right: 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.brand-row .brand { border-bottom: 0; flex: 1; min-width: 0; padding-right: 4px; }
.brand-foto { flex: none; width: 58px; height: 58px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--side-2); color: #fff; font-weight: 700; font-size: 22px; text-decoration: none !important; box-shadow: 0 0 0 2px rgba(255,255,255,.75), 0 2px 8px rgba(0,0,0,.25); }
.brand-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar { overflow: hidden; } .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-grp { margin-bottom: 2px; }
.nav-grp-h { width: 100%; border: 0; background: transparent; font: inherit; cursor: pointer; text-align: left; }
.nav-grp-h > span:nth-child(2) { flex: 1; font-weight: 600; letter-spacing: .01em; }
.nav-grp-h.in { color: #fff; }
.nav-grp-logo { width: 20px; height: 20px; border-radius: 5px; background: linear-gradient(135deg, #1e7fa8, #0e8a7e); color: #fff; font-size: 9.5px; font-weight: 800; display: grid; place-items: center; flex: none; letter-spacing: -.02em; }
.nav-chev { display: grid; place-items: center; transition: transform .18s ease; opacity: .8; }
.nav-chev .ic { width: 16px; height: 16px; }
.nav-grp.open > .nav-grp-h .nav-chev { transform: rotate(180deg); }
.nav-grp-body { display: none; margin: 2px 0 6px 10px; padding-left: 6px; border-left: 1px solid rgba(255,255,255,.12); }
.nav-grp.open > .nav-grp-body { display: block; }
.nav-grp-body .nav { padding-top: 7px; padding-bottom: 7px; }
.nav-grp-body .nav.sub { padding-left: 38px; }
.top .today { order: -1; padding-right: 14px; margin-right: 2px; border-right: 1px solid var(--line); white-space: nowrap; }

/* ===================== v2.11.0 — Painel em dashboard (cabe em uma tela) ===================== */
.dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 16px;
  height: calc(100vh - 67px - 44px - 40px); min-height: 520px; }
.dash-card { display: flex; flex-direction: column; min-height: 0; padding: 14px 16px 10px; margin: 0; }
.dash-contr { grid-column: span 2; }
.dash-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; flex: none; }
.dash-h h2 { font-size: 14.5px; display: flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; min-width: 0; }
.dash-h .link { white-space: nowrap; font-size: 13px; }
.dash-h h2 .ic { width: 18px; height: 18px; color: var(--brand-2); }
.dash-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--mute-bg); color: var(--text-2); }
.dash-n.bad { background: var(--bad-bg); color: var(--bad); } .dash-n.warn { background: var(--warn-bg); color: var(--warn); } .dash-n.good { background: var(--good-bg); color: var(--good); }
.dash-body { flex: 1; min-height: 0; overflow: auto; margin: 0 -6px; padding: 0 6px; }
.dash-card .empty { margin: auto 0; }
.dash-list li { padding: 7px 0; }
.dash-list li b { font-size: 13px; display: block; } .dash-list li small { font-size: 12px; color: var(--muted); }
.dash-list li > div { min-width: 0; } .dash-list li > div b, .dash-list li > div small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-tbl th { position: sticky; top: 0; background: var(--surface); z-index: 1; }
.dash-tbl td, .dash-tbl th { padding-top: 6px; padding-bottom: 6px; font-size: 13px; }
.dash-tbl tr.dash-bad td { background: color-mix(in srgb, var(--bad-bg) 55%, transparent); }
.dash-tbl { table-layout: fixed; width: 100%; }
.dash-tbl td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-tbl th:nth-child(1) { width: 30%; } .dash-tbl th:nth-child(2) { width: auto; } .dash-tbl th:nth-child(3) { width: 92px; } .dash-tbl th:nth-child(4) { width: 104px; } .dash-tbl th:nth-child(5) { width: 64px; } .dash-tbl th:nth-child(6) { width: 92px; }
.dash-trunc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-d { font-size: 12px; font-weight: 700; color: var(--text-2); white-space: nowrap; padding: 2px 8px; border-radius: 999px; background: var(--mute-bg); }
.dash-d.warn { color: var(--warn); background: var(--warn-bg); } .dash-d.bad { color: var(--bad); background: var(--bad-bg); }
/* pizza dos quadros */
.dash-qd-top { display: flex; align-items: center; gap: 14px; flex: none; }
.dash-pie { width: 128px; height: 128px; flex: none; transform: none; }
.dash-pie circle { transition: stroke-width .15s; } .dash-pie circle:hover { stroke-width: 7.5; }
.dash-pie-n { font-size: 8.5px; font-weight: 800; fill: var(--text); text-anchor: middle; dominant-baseline: middle; }
.dash-pie-s { font-size: 3px; font-weight: 600; fill: var(--muted); text-anchor: middle; text-transform: uppercase; letter-spacing: .06em; }
.dash-leg { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.dash-leg li { display: grid; grid-template-columns: 12px 1fr auto 38px; align-items: center; gap: 8px; font-size: 13px; }
.dash-leg i { width: 12px; height: 12px; border-radius: 3px; } .dash-leg b { font-size: 15px; } .dash-leg small { color: var(--muted); text-align: right; }
.dash-qd-lista { list-style: none; margin: 10px -6px 0; padding: 0 6px; flex: 1; min-height: 0; overflow: auto; border-top: 1px solid var(--line-2); }
.dash-qd-lista a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 0; color: var(--text); text-decoration: none !important; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.dash-qd-lista a:hover .dash-qd-nome { color: var(--brand-2); }
.dash-qd-nome { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.dash-qd-nome i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.dash-bar { display: flex; height: 7px; border-radius: 99px; overflow: hidden; background: var(--line-2); }
.dash-bar i { display: block; height: 100%; } .dash-bar .f { background: #1f845a; } .dash-bar .p { background: #1e4e82; } .dash-bar .a { background: #c9372c; }
.dash-qd-n { color: var(--muted); font-size: 12px; white-space: nowrap; } .dash-qd-n em { color: #c9372c; font-style: normal; font-weight: 700; }
@media (max-height: 700px) { .dash-pie { width: 104px; height: 104px; } }
@media (max-width: 1180px) { .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; height: auto; } .dash-card { height: 340px; } .dash-contr { grid-column: span 2; } }
@media (max-width: 760px) { .dash { grid-template-columns: 1fr; } .dash-contr { grid-column: auto; } .dash-card { height: auto; max-height: 420px; } }

/* ===================== v2.11.0 — Baixar Notas (XML/PDF) ===================== */
.kpis.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fld-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); font-weight: 600; }
.nfz-home-h { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.nfz-home-h .tabs { margin: 0; flex: 1; }
.nfz-busca { min-width: 300px; }
.nfz-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.nfz-emp { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none !important; box-shadow: var(--shadow); transition: box-shadow .15s, transform .15s, border-color .15s; }
.nfz-emp:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,42,71,.12); border-color: #c7d2e0; }
.nfz-av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--av); background: color-mix(in srgb, var(--av) 14%, var(--surface)); letter-spacing: .02em; }
.nfz-av.lg { width: 52px; height: 52px; font-size: 17px; }
.nfz-emp-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.nfz-emp-txt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nfz-emp-txt small { color: var(--muted); font-size: 12px; }
.nfz-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.nfz-badges .badge .ic { width: 12px; height: 12px; vertical-align: -2px; }
.nfz-dot { position: absolute; top: -7px; left: 40px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #c9372c; color: #fff; font: 700 11px/20px inherit; text-align: center; font-style: normal; box-shadow: 0 0 0 2px var(--surface); }
.nfz-emp-h { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.nfz-emp-h .crumbs-a { flex-basis: 100%; font-size: 13px; }
.nfz-emp-id { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 280px; }
.nfz-emp-id h2 { font-size: 19px; margin: 0 0 2px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nfz-emp-id small { color: var(--muted); }
.nfz-emp-acts { display: flex; gap: 8px; }
.nfz-tabs { margin-bottom: 14px; }
.nfz-filtros { flex-wrap: wrap; }
.nfz-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.nfz-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 600; text-decoration: none !important; }
.nfz-chip b { font-size: 11.5px; background: var(--mute-bg); color: var(--text-2); border-radius: 99px; padding: 0 7px; min-width: 20px; text-align: center; }
.nfz-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; } .nfz-chip.on b { background: rgba(255,255,255,.22); color: #fff; }
.nfz-tbl td { vertical-align: middle; }
.nfz-exp { width: 34px; } .nfz-exp .icon-btn .ic { transition: transform .15s; } .nfz-exp .icon-btn.on .ic { transform: rotate(180deg); }
.nfz-quem-rot { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-right: 2px; }
.nfz-tipo { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--mute-bg); color: var(--text-2); }
.nfz-tipo.emitida { background: var(--info-bg); color: var(--info); } .nfz-tipo.recebida { background: var(--good-bg); color: var(--good); } .nfz-tipo.intermediario { background: var(--warn-bg); color: var(--warn); }
.nfz-cancel td { color: var(--muted); } .nfz-cancel td b { text-decoration: line-through; }
.nfz-acts { white-space: nowrap; text-align: right; } .nfz-acts-h { text-align: right; }
.nfz-acts .icon-btn:hover { background: var(--info-bg); color: var(--info); }
.nfz-det td { background: var(--surface-2); }
.nfz-det-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; padding: 6px 0; font-size: 13px; }
.nfz-det-grid > div { display: flex; flex-direction: column; min-width: 0; } .nfz-det-grid .w2 { grid-column: span 2; }
.nfz-det-grid span { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.nfz-det-grid small { color: var(--muted); }
.nfz-chave { font-size: 12px; word-break: break-all; }
.nfz-pag { display: flex; gap: 4px; align-items: center; justify-content: center; padding: 12px; flex-wrap: wrap; }
.nfz-pag a { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); text-decoration: none !important; color: var(--text-2); font-weight: 600; font-size: 13px; }
.nfz-pag a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.nfz-rel th.grp { text-align: center; border-bottom: 1px solid var(--line); }
.nfz-rel tr.tot td { font-weight: 700; border-top: 2px solid var(--line); }
.nfz-cfg { max-width: 980px; }
.nfz-cfg .grid-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nfz-dl { display: grid; grid-template-columns: 180px 1fr; gap: 6px 14px; margin: 16px 0; font-size: 13px; } .nfz-dl dt { color: var(--muted); font-weight: 600; } .nfz-dl dd { margin: 0; }
.nfz-ajuda { margin-top: 18px; border-top: 1px solid var(--line-2); padding-top: 12px; font-size: 13.5px; color: var(--text-2); }
.nfz-ajuda h3 { font-size: 14px; margin: 0 0 6px; color: var(--text); } .nfz-ajuda li { margin-bottom: 6px; } .nfz-ajuda code { font-size: 12px; background: var(--mute-bg); padding: 2px 6px; border-radius: 4px; word-break: break-all; }
.nfz-log li b { font-weight: 600; font-size: 13px; }
@media (max-width: 900px) { .kpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nfz-det-grid { grid-template-columns: 1fr 1fr; } .nfz-busca { min-width: 0; flex: 1; } }
@media print { .side, .top, .nfz-emp-acts, .nfz-tabs, .nfz-filtros, .foot { display: none !important; } }

/* ===================== v2.12.0 — Documentos: situação do responsável legal ===================== */
.doc-sit-f { margin-left: 6px; }
.doc-sit-b { border: 0; cursor: pointer; font: inherit; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.doc-sit-b.on { background: var(--good-bg); color: var(--good); }
.doc-sit-b.off { background: var(--mute-bg); color: var(--muted); }
.doc-sit-b:hover { box-shadow: inset 0 0 0 1px currentColor; }

/* v2.12.1 — Resumo dos Quadros: nome do quadro inteiro (sem cortar), numa linha compacta */
.dash-qd-lista a { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.dash-qd-nome { flex: 0 1 auto; white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
.dash-bar { flex: 1 1 60px; min-width: 50px; }
.dash-qd-n { flex: none; }
.dash-qd-top { gap: 12px; }
.dash-pie { width: 100px; height: 100px; }
.dash-leg { gap: 3px; }
.dash-qd-lista { margin-top: 6px; }
@media (max-height: 700px) { .dash-pie { width: 84px; height: 84px; } }
