/* Visual Pro: denso e sóbrio, com cara de ferramenta de trabalho. Só aparência; tudo sob html.pro. */
html.pro{--font-display:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;--r-sm:7px;--r-md:8px;--r-lg:10px;--r-xl:14px;--pro-side:#0c2f36;--pro-side-2:#14404a;--pro-ink:#d6e7e5;--pro-ink-2:rgba(214,231,229,.62);--pro-line:rgba(255,255,255,.1)}
@media (prefers-color-scheme:light){html.pro:not([data-theme="dark"]){--surface-0:#f3f5f6;--surface-2:#eef2f3;--border:#dfe5e7;--shadow-card:none}}
html.pro[data-theme="light"]{--surface-0:#f3f5f6;--surface-2:#eef2f3;--border:#dfe5e7;--shadow-card:none}
@media (prefers-color-scheme:dark){html.pro:not([data-theme="light"]){--pro-side:#061a1e;--pro-side-2:#0e2a30;--shadow-card:none}}
html.pro[data-theme="dark"]{--pro-side:#061a1e;--pro-side-2:#0e2a30;--shadow-card:none}

/* casca */
html.pro .shell{grid-template-columns:240px minmax(0,1fr)}
html.pro .side{background:var(--pro-side);border-right:0;color:var(--pro-ink);padding:14px 10px 12px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.16) transparent}
html.pro .side .brand{padding:4px 8px 14px}
html.pro .side .brand svg[style]{color:#fff!important}
html.pro .side .org{background:var(--pro-side-2);color:#fff;border-radius:8px}
html.pro .side .org small{color:var(--pro-ink-2)}
html.pro .side .grp{display:flex;align-items:center;justify-content:space-between;color:var(--pro-ink-2);padding:14px 10px 6px;cursor:pointer;user-select:none;border-radius:6px;outline:none}
html.pro .side .grp:hover,html.pro .side .grp:focus-visible{color:#fff}
html.pro .side .grp:focus-visible{box-shadow:0 0 0 2px var(--accent)}
html.pro .pro-chev{width:14px;height:14px;transition:transform .15s}
html.pro .side .grp[aria-expanded="false"] .pro-chev{transform:rotate(-90deg)}
html.pro .side>*{flex-shrink:0}
html.pro .side .nav-i{color:var(--pro-ink);height:36px;font-size:13.5px;border-radius:7px}
html.pro .side .nav-i[hidden]{display:none}
html.pro .side .nav-i:hover{background:rgba(255,255,255,.06);color:#fff}
html.pro .side .nav-i.on{background:rgba(255,255,255,.1);color:#fff;font-weight:600;box-shadow:inset 3px 0 0 var(--accent)}
html.pro .side .nav-i .cnt{background:rgba(61,214,176,.18);color:#8ff0d4}
html.pro .side .nav-i .cnt.red{background:rgba(245,139,120,.2);color:#ffb3a5}
html.pro .seals-side{border-top-color:var(--pro-line)}
html.pro .seals-side .seal{background:transparent;border-color:rgba(255,255,255,.16);color:var(--pro-ink)}
html.pro .seals-side .seal-ck{color:var(--accent)}
html.pro .pro-foot{display:flex;flex-direction:column;gap:6px;padding:10px 2px 0;margin-top:10px;border-top:1px solid var(--pro-line)}
html.pro .pro-util{display:flex;justify-content:space-between}
html.pro .pro-ub{position:relative;width:36px;height:36px;border-radius:8px;border:0;background:none;color:var(--pro-ink);display:grid;place-items:center;cursor:pointer}
html.pro .pro-ub:hover{background:rgba(255,255,255,.08);color:#fff}
html.pro .pro-ub:focus-visible,html.pro .pro-user:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
html.pro .pro-ub .ico{width:18px;height:18px}
html.pro .pro-ub .dot{position:absolute;top:7px;right:8px;width:7px;height:7px;border-radius:50%;background:#f58b78}
html.pro .pro-user{display:flex;align-items:center;gap:10px;padding:8px;border-radius:8px;border:0;background:none;color:#fff;cursor:pointer;text-align:left;width:100%}
html.pro .pro-user:hover{background:rgba(255,255,255,.06)}
html.pro .pro-user .av{background:var(--accent);color:var(--on-accent);border-color:transparent;flex:none}
html.pro .pro-user>span:not(.av){flex:1;min-width:0}
html.pro .pro-user b{display:block;font:600 13px/1.2 var(--font-sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.pro .pro-user small{display:block;font:500 11.5px/1.2 var(--font-sans);color:var(--pro-ink-2)}
html.pro .pro-user .ico{width:16px;height:16px;color:var(--pro-ink-2)}
html.pro-wide #aiFab{display:none}
html.pro .top{height:56px;background:var(--surface-1);backdrop-filter:none;-webkit-backdrop-filter:none}
html.pro .content{padding:20px 24px 28px;gap:16px;max-width:1480px}

/* títulos de módulo com ícone */
html.pro .ph h1{display:flex;align-items:center;gap:10px;font:650 24px/1.2 var(--font-sans);letter-spacing:-.01em}
html.pro .ph p{font-size:13px;margin-top:3px}
html.pro .pro-ti{width:22px;height:22px;padding:6px;border-radius:8px;background:var(--brand-soft);color:var(--brand-text);flex:none;box-sizing:content-box}

/* um só padrão de cartão */
html.pro .card{border-radius:10px;box-shadow:none;border-color:var(--border)}
html.pro .card-h{padding:10px 16px;min-height:48px;border-bottom:1px solid var(--border)}
html.pro .card-h h3{display:flex;align-items:center;gap:8px;font:650 14.5px/1.3 var(--font-sans)}
html.pro .card-h h3 .ico{width:17px;height:17px;color:var(--brand-text);flex:none}
html.pro .card-b{padding:12px 16px 14px}
html.pro .stat{padding:14px 16px;border-radius:10px}
html.pro .stat strong{font:650 24px/1.15 var(--font-sans);letter-spacing:-.01em}
html.pro .btn{height:38px;border-radius:8px;font-size:13.5px}
html.pro .b-sm{height:32px;font-size:12.5px;border-radius:7px}
html.pro .chip{height:30px;border-radius:8px;font-size:12.5px}
html.pro .inp,html.pro select.inp{border-radius:8px}
html.pro .banner{border-radius:10px;padding:10px 14px}
html.pro .tabs button{padding:10px 12px;font-size:13.5px}
html.pro .modal{border-radius:12px}
html.pro .al,html.pro .row{padding:10px 16px}
html.pro .list{padding:0}
html.pro .g4,html.pro .g2,html.pro .g3,html.pro .g-main{gap:14px}
html.pro .bars{height:180px}

/* painel: filas de trabalho */
html.pro .pq .card-h{flex-wrap:nowrap}
html.pro .pq .card-h h3{min-width:0}
html.pro .pq .card-h h3 span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.pro .pq .card-h .btn{flex:none}
html.pro .pq-sub.mu{color:var(--ink-3)}
html.pro .pq .card-b{display:flex;flex-direction:column;gap:4px}
html.pro .pq-k{display:flex;align-items:center;gap:6px;min-height:24px}
html.pro .pq-n{font:600 12px/1 var(--font-sans);color:var(--ink-3)}
html.pro .pq-v{font:650 24px/1.2 var(--font-sans);letter-spacing:-.01em;color:var(--ink);margin-top:2px}
html.pro .pq-sub{font:600 12.5px/1.3 var(--font-sans);color:var(--success)}
html.pro .pq-sub.dn{color:var(--danger)}
html.pro .pq-rows{display:flex;flex-direction:column;margin-top:8px;border-top:1px solid var(--border)}
html.pro .pq-r{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;border:0;border-bottom:1px solid var(--border);background:none;font:500 13px/1.3 var(--font-sans);color:var(--ink-2);cursor:pointer;text-align:left;width:100%}
html.pro .pq-r:last-child{border-bottom:0}
html.pro .pq-r:hover{color:var(--ink)}
html.pro .pq-r:hover b{color:var(--brand-text)}
html.pro .pq-r b{color:var(--ink);font-weight:600;white-space:nowrap}
html.pro .pq-live{display:inline-flex;align-items:center;gap:6px}
html.pro .pq-live i{width:7px;height:7px;border-radius:50%;background:var(--success);animation:proPulse 1.8s infinite}
@keyframes proPulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--success) 55%,transparent)}70%{box-shadow:0 0 0 7px transparent}100%{box-shadow:0 0 0 0 transparent}}
@media (prefers-reduced-motion:reduce){html.pro .pq-live i{animation:none}}
html.pro .pro-row{align-items:start}
html.pro .pro-tb{padding:0 8px}
html.pro .pro-nr{position:relative}
html.pro .pro-nr.unread::after{content:"";position:absolute;right:16px;top:50%;width:7px;height:7px;margin-top:-3px;border-radius:50%;background:var(--info)}
html.pro .pro-nr>span{padding-right:14px}
html.pro .pro-tr{display:flex;align-items:center;gap:12px;padding:10px 16px;border-top:1px solid var(--border)}
html.pro .pro-tr:first-child{border-top:0}
html.pro .pro-ck{width:22px;height:22px;border-radius:6px;border:2px solid var(--border-strong);background:var(--surface-1);display:grid;place-items:center;color:transparent;cursor:pointer;flex:none;padding:0}
html.pro .pro-ck svg{width:13px;height:13px}
html.pro .pro-ck.on{background:var(--success);border-color:var(--success);color:#fff}
html.pro .pro-tm{flex:1;min-width:0}
html.pro .pro-tm b{display:block;font:600 13.5px/1.35 var(--font-sans);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.pro .pro-tm small{display:block;font:500 12px/1.35 var(--font-sans);color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.pro .pro-tr.done .pro-tm b{color:var(--ink-3);text-decoration:line-through}
html.pro .pro-pg{display:flex;justify-content:flex-end;align-items:center;gap:6px;padding:10px 12px;border-top:1px solid var(--border)}
html.pro .pro-pg button{min-width:30px;height:30px;padding:0 6px;border:1px solid var(--border);background:var(--surface-1);border-radius:6px;font:600 12.5px/1 var(--font-sans);color:var(--ink-2);cursor:pointer;display:inline-grid;place-items:center}
html.pro .pro-pg button .ico{width:15px;height:15px}
html.pro .pro-pg button[aria-current="page"]{color:var(--brand-text);border-color:var(--brand-text);background:var(--brand-soft)}
html.pro .pro-pg button[disabled]{opacity:.4;cursor:default}
html.pro .pro-ir{display:flex;align-items:flex-start;gap:12px;padding:11px 16px;border-top:1px solid var(--border)}
html.pro .pro-ir:first-child{border-top:0}
html.pro .pro-ir>.ico{width:18px;height:18px;color:var(--brand-text);flex:none;margin-top:2px}
html.pro .pro-im{flex:1;min-width:0}
html.pro .pro-im b{display:block;font:600 13.5px/1.35 var(--font-sans);color:var(--ink)}
html.pro .pro-im small{display:block;font:500 12.5px/1.4 var(--font-sans);color:var(--ink-3)}
html.pro .pro-ir .btn{flex:none}
@container app (max-width:899px){html.pro .content{padding:16px 14px 24px}html.pro .ph h1{font-size:21px}html.pro .pro-ti{width:18px;height:18px;padding:5px}html.pro .pq-v{font-size:21px}html.pro .g4.pro-q{grid-template-columns:minmax(0,1fr)}}
