/* Tipografia e contraste — Gestor G3 */
html,body,button,input,select,textarea,.report-month-select select,.team-disable{font-family:Outfit,Arial,sans-serif!important}
html[data-theme="dark"]{--muted:#cbc7c2;--line:#4a4744;--ink:#fbf8f4;--navy:#fffaf5}

/* Tamanhos legíveis aplicados sempre, independente da largura da janela. */
.sidebar{width:266px}.brand{height:90px}.brand strong{font-size:17px}.brand small{font-size:12px}.workspace-switch strong{font-size:13px!important}.sidebar nav button{height:47px;font-size:14px;font-weight:500}.sidebar nav button em{font-size:11px}.sidebar-bottom{padding:17px}.integration-line{font-size:11px}.profile strong{font-size:12px}.profile small{font-size:11px}
main{margin-left:266px;padding:34px clamp(28px,3vw,54px) 70px}.topbar h1{font-size:34px}.topbar p{font-size:12px}.topbar span{font-size:14px}.primary,.ghost{min-height:43px;font-size:13px}.panel-head{padding:20px 22px 16px}.panel-head h2{font-size:20px}.panel-head p{font-size:12px}.panel-head .badge{font-size:11px}
.metrics{gap:14px}.metric{min-height:116px;padding:19px}.progress-card span,.metric div>span,.metric div>small{font-size:12px}.progress-card small{font-size:12px}.metric div>strong{font-size:28px}.progress-card strong{font-size:31px}.metric-icon{width:44px;height:44px}.metric-icon .ui-icon{width:23px;height:23px}
.toolbar{padding:14px 20px}.tabs{gap:5px}.tabs button{padding:9px 11px;font-size:12px}.tools label{height:36px}.tools input,.tools select,.filter-select{font-size:12px}.tools input{width:170px}
.task{min-height:78px;padding:13px 17px 13px 20px;grid-template-columns:30px minmax(220px,1fr) 145px 70px 117px 47px 34px;gap:12px}.check{width:25px;height:25px}.task-main>strong{font-size:14px}.task-main>span,.task-main>em{font-size:11px}.owner>b{width:30px;height:30px;font-size:11px}.owner small,.date b{font-size:12px}.date small{font-size:11px}.status{padding:8px;font-size:12px}.priority{font-size:11px}
.content-board{gap:16px;padding:20px}.content-card{border-radius:12px}.content-preview{height:142px}.content-preview>strong{font-size:18px;line-height:1.28}.content-preview>span{font-size:11px;padding:5px 8px}.content-body{padding:16px}.content-body>small{font-size:11px}.content-body h3{margin:7px 0 9px;font-size:15px;line-height:1.35}.content-body p{font-size:12px;line-height:1.55}.production-deadline{margin-top:12px;padding:9px 10px;font-size:12px}.content-detail-link{margin:11px 0 3px;font-size:12px}.content-meta{padding-top:12px;font-size:11px}.content-status{margin-top:12px;padding:9px;font-size:12px}.card-actions{padding:12px 14px}.card-actions button{padding:9px 7px;font-size:12px}
.week-head{padding:17px 21px}.week-head strong{font-size:15px}.week-head span{font-size:12px}.month-controls label{font-size:11px}.month-controls select{height:40px;font-size:12px}.month-controls .ghost{height:40px}.production-standard{padding:13px 20px;gap:9px}.production-standard strong{font-size:12px}.production-standard span{font-size:11px;padding:6px 10px}.approval-summary i{font-size:11px}.content-summary span,.content-summary small,.calendar-summary span,.calendar-summary small{font-size:12px}.content-summary strong,.calendar-summary strong{font-size:28px}
.strategy-table th,.strategy-table td{padding:13px 16px;font-size:12px}.strategy-table th{font-size:11px}.report-card span,.report-card small{font-size:12px}.report-card strong{font-size:28px}.goal-card h3{font-size:15px}.goal-card header span,.goal-number span,.goal-card footer{font-size:12px}.goal-number strong{font-size:33px}.modal header h2{font-size:22px}.modal header p{font-size:11px}.modal label{font-size:13px}.modal input,.modal select,.modal textarea{font-size:14px}.modal form>small{font-size:12px}.modal form>footer button{font-size:13px}

html[data-theme="dark"] .content-card{background:#1c1b1a;border-color:#4a4744;box-shadow:0 8px 22px rgba(0,0,0,.22)}
html[data-theme="dark"] .content-card .content-body{background:#1c1b1a}
html[data-theme="dark"] .content-body>small{color:#f1c9b8}
html[data-theme="dark"] .content-body h3{color:#fffaf5}
html[data-theme="dark"] .content-body p{color:#d3cfca}
html[data-theme="dark"] .production-deadline{border:1px solid #4a4744;background:#302e2c;color:#fffaf5}
html[data-theme="dark"] .content-detail-link{color:#91e5a7}
html[data-theme="dark"] .content-meta{color:#d7d2cd}
html[data-theme="dark"] .content-meta a{color:#ffb397}
html[data-theme="dark"] .content-status{border:1px solid rgba(255,255,255,.14);font-weight:700}
html[data-theme="dark"] .card-actions{background:#171716;border-color:#4a4744}
html[data-theme="dark"] .card-actions button{border-color:#55514e;background:#292725;color:#f7f2ed}
html[data-theme="dark"] .card-actions .approve{border-color:#398b4e;background:#18351f;color:#b9f2c4}
html[data-theme="dark"] .card-actions .reject{border-color:#96344e;background:#401723;color:#ffb9c9}
html[data-theme="dark"] .content-card.status-postado .content-body,html[data-theme="dark"] .content-card.status-postado .card-actions{background:#282725}
html[data-theme="dark"] .content-card.status-postado .content-body{filter:none}
html[data-theme="dark"] .week-head,html[data-theme="dark"] .toolbar{background:#1b1a19}
html[data-theme="dark"] .week-head strong{color:#fffaf5}
html[data-theme="dark"] .week-head span,.month-controls label{color:#d1ccc6}
html[data-theme="dark"] .production-standard{background:#201f1e}
html[data-theme="dark"] .production-standard span{background:#213826;color:#bff4ca}
html[data-theme="dark"] .approval-summary i{border-color:#4a4744;background:#2b2927;color:#f5f0eb}
html[data-theme="dark"] .tabs button{color:#d7d2cd}
html[data-theme="dark"] .tabs button.active{background:#ffe8dd;color:#b63b14}
html[data-theme="dark"] .content-summary article,html[data-theme="dark"] .calendar-summary article{background:#1c1b1a}
html[data-theme="dark"] .content-summary span,html[data-theme="dark"] .content-summary small,html[data-theme="dark"] .calendar-summary span,html[data-theme="dark"] .calendar-summary small{color:#d2cdc7}
html[data-theme="dark"] .content-summary strong,html[data-theme="dark"] .calendar-summary strong{color:#fffaf5}

/* Estética operacional: contraste direto, leitura rápida e ações bem hierarquizadas. */
.icon-action i,.profile>i{display:grid;place-items:center}.icon-action .ui-icon{width:19px;height:19px;stroke-width:2}.notification-button .ui-icon{width:20px;height:20px}.install-app .ui-icon{width:20px;height:20px}.profile>i .ui-icon{width:16px;height:16px;stroke-width:2}
.top-actions{gap:10px}.icon-action{min-width:45px;padding:0 13px}.notification-button{min-width:50px}.notification-button .ui-icon{margin:0}.notification-button em{font-size:11px}
.task-main>span,.task-main>em{padding:4px 8px;font-size:11px}.owner{gap:9px}.owner small{font-size:12px;line-height:1.25}.date small{font-size:11px;line-height:1.25}.date b{font-size:12px;letter-spacing:.015em}.priority{font-size:11px}.status{font-size:12px}.check{border-width:2px}
.content-body>small{font-size:11px;line-height:1.35}.content-meta{font-size:11px;line-height:1.4}.content-meta b{font-size:11px}.production-deadline{font-size:12px;font-weight:600}.content-detail-link{font-size:12px}.content-status{font-size:12px}.card-actions button{font-size:12px}
.content-summary span,.content-summary small,.calendar-summary span,.calendar-summary small{font-size:12px}.week-head span{font-size:13px}.production-standard strong{font-size:12px}.production-standard span{font-size:11px}.approval-summary i{font-size:11px}.month-controls label{font-size:11px}.month-controls select{font-size:13px}

html[data-theme="dark"] .task{background:#181716;border-color:#3e3b38}
html[data-theme="dark"] .task:hover{background:#211f1d}
html[data-theme="dark"] .task-main>strong{color:#fffaf5}
html[data-theme="dark"] .task-main>span{background:#312f2c;color:#f2ede7}
html[data-theme="dark"] .task-main>em{background:#4a2217;color:#ffc6ae}
html[data-theme="dark"] .owner small{color:#dfdad4}
html[data-theme="dark"] .owner>b{background:#f5f0ea;color:#503327}
html[data-theme="dark"] .date small{color:#c4bdb6}
html[data-theme="dark"] .date b{color:#fffaf5}
html[data-theme="dark"] .status{background:#f6f3f0;color:#27221f;font-weight:700}
html[data-theme="dark"] .status.em_andamento{background:#dfeaff;color:#174c9d}
html[data-theme="dark"] .status.concluida{background:#d9e4dc;color:#237142}
html[data-theme="dark"] .status.bloqueada{background:#ffe1d7;color:#9b3312}
html[data-theme="dark"] .priority.alta{color:#ff9b74}
html[data-theme="dark"] .priority.media{color:#ffd25b}
html[data-theme="dark"] .priority.baixa{color:#d8d1ca}
html[data-theme="dark"] .task.task-status-concluida{background:#292725;opacity:1}
html[data-theme="dark"] .task.task-status-concluida .task-main>strong,html[data-theme="dark"] .task.task-status-concluida .owner small,html[data-theme="dark"] .task.task-status-concluida .date b{color:#d7d1cb}
html[data-theme="dark"] .task.task-status-concluida .date small{color:#b8b1aa}
html[data-theme="dark"] .task.task-status-concluida .task-main>span{color:#dbd5cf;background:#3a3734}
html[data-theme="dark"] .task.task-status-concluida .check{background:#73706d;border-color:#73706d}
html[data-theme="dark"] .task.task-status-concluida .priority.alta{color:#ffad8a}
html[data-theme="dark"] .content-card.status-postado .content-meta,html[data-theme="dark"] .content-card.status-postado .content-body>small,html[data-theme="dark"] .content-card.status-postado .content-body p{color:#d6d0ca}
html[data-theme="dark"] .content-card.status-postado .content-body h3{color:#fffaf5}

/* Marca oficial e calendário editorial */
.brand{height:88px!important;padding:10px 16px!important}.brand-gestor-logo{display:block;width:198px;height:68px;object-fit:contain;object-position:left center}
.calendar-toolbar h2{font-size:23px}.calendar-toolbar .calendar-mode button{min-height:38px;font-size:12px}.calendar-nav button{width:38px;height:38px;font-size:14px}.calendar-grid>strong{padding:11px;font-size:11px}.day{min-height:130px;padding:10px}.day>span{font-size:11px}.event{margin:5px 0;padding:7px 8px;font-size:11px;line-height:1.4}.note{font-size:11px}
.production-brief-modal .content-detail-body{padding:25px 28px 30px}.content-detail-date{margin-bottom:18px;font-size:12px}.content-detail-body span{font-size:11px}.content-detail-body p{font-size:13px;line-height:1.65}.content-detail-body>section,.content-detail-grid section,.brief-section,.brief-creative{padding:16px 18px}.brief-deadline{padding:15px 17px}.brief-deadline strong{font-size:22px}.brief-deadline small{font-size:11px}.brief-creative>strong{font-size:22px}.brief-list{font-size:13px}.slide-briefs article,.reel-script article{padding:14px}.slide-briefs b,.reel-script article strong{font-size:11px}.slide-briefs strong{font-size:14px}.slide-briefs p,.reel-script article p{font-size:12px}.slide-briefs small{font-size:11px}.reel-script article>b{font-size:12px}
@media(max-width:650px){.brand-gestor-logo{width:150px;height:52px}}
html[data-theme="dark"] .production-brief-modal{background:#181716;border-color:#4a4744}
html[data-theme="dark"] .production-brief-modal>header{background:#181716;border-color:#4a4744}
html[data-theme="dark"] .production-brief-modal .content-detail-body{background:#151413}
html[data-theme="dark"] .content-detail-date{color:#d8d2cb}
html[data-theme="dark"] .content-detail-body>section,html[data-theme="dark"] .content-detail-grid section,html[data-theme="dark"] .brief-section,html[data-theme="dark"] .brief-creative{border-color:#514d49;background:#252321}
html[data-theme="dark"] .content-detail-body span{color:#9ce7ad}
html[data-theme="dark"] .content-detail-body p,html[data-theme="dark"] .brief-list{color:#f0ebe5}
html[data-theme="dark"] .brief-deadline{border-left-color:#ff642d;background:#3b241d}
html[data-theme="dark"] .brief-deadline span{color:#ffb397}
html[data-theme="dark"] .brief-deadline strong{color:#fffaf5}
html[data-theme="dark"] .brief-deadline small{color:#ead9d0}
html[data-theme="dark"] .brief-creative{border-color:#386344;background:#1b3020}
html[data-theme="dark"] .brief-creative>strong{color:#fffaf5}
html[data-theme="dark"] .brief-note{background:#292640;color:#e2e5ff!important}
html[data-theme="dark"] .slide-briefs article,html[data-theme="dark"] .reel-script article{border-color:#514d49;background:#201f1d}
html[data-theme="dark"] .slide-briefs strong,html[data-theme="dark"] .reel-script article strong{color:#fffaf5}
html[data-theme="dark"] .slide-briefs small{color:#ded8d2}
html[data-theme="dark"] .reel-script article>b{color:#ff9b74}
html[data-theme="dark"] .deliverables{border-color:#386344;background:#1b3020}

/* Backlog por área: o plano completo permanece preservado, mas a operação diária fica segmentada. */
.task-scope-toolbar{align-items:center}.task-status-toolbar{padding-top:10px;padding-bottom:10px;background:#fbfaf9}.task-filter-help{color:#817a74;font-size:12px;font-weight:500}.task-main>span.task-service{background:#fff0ea;color:#a93d18}
html[data-theme="dark"] .task-status-toolbar{background:#171615}.task-filter-help{color:#cbc4bd}html[data-theme="dark"] .task-main>span.task-service{background:#44251c;color:#ffc1a8}
.task-scope-toolbar .tools{margin-left:auto}.task-scope-toolbar .tools select{min-width:174px}.task-status-toolbar{min-height:52px}.task-filter-help{font-size:12px}
.task-main>span.task-service{font-weight:700}
@media(max-width:760px){.task-filter-help{display:none}.task-scope-toolbar .tools{width:100%;flex-wrap:wrap}.task-scope-toolbar .tools select{flex:1;min-width:140px}}

/* Piso de leitura: textos de apoio nunca ficam minúsculos, em qualquer largura de janela. */
.notifications-modal{width:min(820px,100%)}.notifications-modal>header{padding:22px 26px 18px}.notifications-modal>header p{font-size:12px}.notifications-modal>header h2{font-size:25px}.notifications-body{padding:0 26px 24px}.notifications-summary{padding:16px 2px;font-size:14px}.notifications-summary .ghost{min-height:38px;padding:0 13px;font-size:12px}.browser-alerts-note{padding:12px 2px 5px;font-size:12px;line-height:1.55}.notification-item{grid-template-columns:38px minmax(0,1fr) auto;gap:14px;padding:17px 4px}.notification-item>i{width:32px;height:32px;border-radius:10px;font-size:14px}.notification-item strong{font-size:14px;line-height:1.35}.notification-item small{margin-top:5px;font-size:12px;line-height:1.55}.notification-item>b{font-size:12px}
.integration-line,.brand small,.workspace-switch small,.profile small,.sidebar nav button em{font-size:12px}.workspace-switch strong,.profile strong{font-size:13px}.sidebar .workspace-switch{min-height:66px}.sidebar-bottom .profile{min-height:55px}
.ready small,.alert small,.alert em,.metric div>small,.progress-card small,.report-card small,.report-card span,.goal-card footer,.goal-card header span,.milestone small,.milestone em,.budget-row,.note,.mini-list,.empty span{font-size:12px}.ready strong,.alert strong,.milestone strong,.empty strong{font-size:14px}
.topbar span,.panel-head p,.content-summary span,.content-summary small,.calendar-summary span,.calendar-summary small{font-size:13px}.panel-head .badge,.approval-summary i{font-size:11px}.service-pills i,.team-role,.team-access{font-size:12px}
.modal form>small,.modal header p,.month-controls label,.content-detail-body span{font-size:12px}.modal label{font-size:13px}.modal input,.modal select,.modal textarea{font-size:14px}
html[data-theme="dark"] .notifications-summary,html[data-theme="dark"] .browser-alerts-note{color:#e4ded8}html[data-theme="dark"] .notification-item small{color:#d4cec8}html[data-theme="dark"] .notification-item.read{opacity:.72}

/* Ferramentas por colaborador: catálogo de telas no cadastro da equipe */
.tool-choice legend{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;width:100%}
.tool-choice .ghost.tiny{min-height:26px;padding:0 9px;font-size:11px;font-weight:600}
.tool-group{margin-top:10px}
.tool-group:first-child{margin-top:0}
.tool-group-title{display:block;margin-bottom:6px;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
html[data-theme="dark"] .tool-group-title{color:#cbc7c2}
#team-other-orgs label,#team-tools label{display:flex;align-items:center;gap:7px;margin-bottom:6px;font-size:12px;font-weight:500}

/* Indicadores são específicos do PEMD de cada cliente. Quando não existirem, ficam
   deliberadamente neutros e sem ação, evitando que dados de outro projeto pareçam reais. */
.indicator-empty{background:#f5f6f7;border-color:#e1e3e5;box-shadow:none}.indicator-empty .panel-head{border-color:#e1e3e5}.indicator-empty .panel-head h2{color:#6f747a}.indicator-empty .panel-head p{color:#92979d}.indicator-empty .badge{background:#e7e9eb;color:#92979d}.indicator-empty-body{display:grid;gap:8px;padding:18px 22px 21px}.indicator-empty-body strong{color:#a8adb2;font-size:32px;line-height:1}.indicator-empty-body span,.indicator-empty-body small{color:#92979d;font-size:12px;line-height:1.45}.indicator-empty-body i{display:block;width:100%;height:8px;border-radius:99px;background:#e1e3e5}.goal-card-empty{background:#f5f6f7;border-color:#e1e3e5;box-shadow:none}.goal-card-empty h3,.goal-card-empty .goal-number strong{color:#8f959b}.goal-card-empty header span,.goal-card-empty .goal-number span,.goal-card-empty footer{color:#9ca1a6}.goal-card-empty .goal-progress{background:#e1e3e5}.goal-card-empty .goal-progress i{background:#c7cbd0}
html[data-theme="dark"] .indicator-empty,html[data-theme="dark"] .goal-card-empty{background:#262422;border-color:#3d3936}.indicator-empty .panel-head{border-color:#3d3936}html[data-theme="dark"] .indicator-empty .panel-head h2,html[data-theme="dark"] .goal-card-empty h3,html[data-theme="dark"] .goal-card-empty .goal-number strong{color:#b8b2ac}html[data-theme="dark"] .indicator-empty .panel-head p,html[data-theme="dark"] .indicator-empty-body span,html[data-theme="dark"] .indicator-empty-body small,html[data-theme="dark"] .goal-card-empty header span,html[data-theme="dark"] .goal-card-empty .goal-number span,html[data-theme="dark"] .goal-card-empty footer{color:#9e9993}html[data-theme="dark"] .indicator-empty .badge{background:#3a3734;color:#aaa49e}html[data-theme="dark"] .indicator-empty-body strong{color:#8c8781}html[data-theme="dark"] .indicator-empty-body i,html[data-theme="dark"] .goal-card-empty .goal-progress{background:#3d3936}html[data-theme="dark"] .goal-card-empty .goal-progress i{background:#625d57}
.pemd-indicators-choice>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pemd-indicators-choice small{font-size:12px}@media(max-width:760px){.pemd-indicators-choice>div{grid-template-columns:1fr}}
