/* Gestor G3 — identidade visual v1
   Escopo: estrutura global, Visão Geral e tarefas. */
:root{--g3-orange:#ff4a0a;--g3-orange-soft:#ff8050;--g3-ink:#0d0d0e;--g3-surface:#181819;--g3-surface-raised:rgba(31,31,33,.76);--g3-line:rgba(255,255,255,.11);--g3-text:#f7f3ef;--g3-subtle:#afa9a3;--g3-danger:#ff6f61;--g3-success:#ff7b45;--g3-shadow:0 22px 60px rgba(0,0,0,.26)}
html,body,button,input,select,textarea{font-family:Satoshi,Arial,sans-serif!important}html{font-variant-numeric:tabular-nums}
body{background:#0d0d0e;color:var(--g3-text)}body:before{content:"";position:fixed;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(900px 520px at 84% -16%,rgba(255,74,10,.11),transparent 63%),radial-gradient(640px 490px at -14% 100%,rgba(255,112,62,.07),transparent 65%),#0d0d0e}
main{background:transparent!important}.sidebar,.mobile-top{background:rgba(15,15,16,.84)!important;backdrop-filter:blur(22px);border-right:1px solid var(--g3-line)!important}.sidebar{height:100dvh;overflow:hidden}.brand{height:88px;padding:19px 22px;border-color:var(--g3-line)!important}.workspace-switch,.profile{border-color:rgba(255,255,255,.1)!important;background:rgba(255,255,255,.04)!important;box-shadow:inset 0 1px rgba(255,255,255,.035)}.workspace-switch:hover,.profile:hover{background:rgba(255,255,255,.075)!important}.sidebar nav button{border:1px solid transparent;border-radius:12px;color:#bdb7b2;font-weight:500}.sidebar nav button:hover{background:rgba(255,255,255,.055);color:#fff}.sidebar nav button.active{border-color:rgba(255,139,98,.32);background:linear-gradient(105deg,#ff642d,#ed3d05)!important;box-shadow:0 12px 25px rgba(255,74,10,.2)!important;color:#fff}.sidebar nav button em{background:rgba(255,255,255,.13)}.sidebar #main-nav{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,147,108,.5) transparent}.sidebar #main-nav::-webkit-scrollbar{width:7px}.sidebar #main-nav::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:99px;background:rgba(255,147,108,.5);background-clip:padding-box}.sidebar-bottom{flex:0 0 auto;margin-top:0!important;background:rgba(15,15,16,.9);border-color:var(--g3-line)!important}.brand{border-color:var(--g3-line)!important}
.topbar{padding:0 0 22px;border-bottom:1px solid var(--g3-line)}.topbar p{color:var(--g3-orange-soft)!important;letter-spacing:.16em}.topbar h1{color:var(--g3-text)!important;letter-spacing:-.055em}.topbar span{color:var(--g3-subtle)!important}.primary{border:1px solid rgba(255,183,151,.3)!important;background:linear-gradient(115deg,#ff6b35,#ee3d05 67%,#d93602)!important;box-shadow:0 12px 25px rgba(255,74,10,.22)!important}.ghost{border-color:var(--g3-line)!important;background:rgba(255,255,255,.035)!important;color:#eee8e2!important;box-shadow:inset 0 1px rgba(255,255,255,.035)}.ghost:hover{border-color:rgba(255,128,83,.54)!important;background:rgba(255,74,10,.11)!important}.panel,.metric,.content-card,.goal-card,.report-card,.portfolio-metrics article,.content-summary article,.calendar-summary article{border-color:var(--g3-line)!important;background:var(--g3-surface-raised)!important;box-shadow:var(--g3-shadow)!important;backdrop-filter:blur(18px)}.panel-head,.toolbar,.card-actions,.week-head{background:rgba(255,255,255,.018)!important;border-color:var(--g3-line)!important}.panel-head h2,.task-main>strong{color:var(--g3-text)!important}.panel-head p{color:var(--g3-subtle)!important}

/* Visão Geral */
.overview-v1{display:grid;gap:18px}.overview-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:26px;align-items:center;min-height:210px;padding:30px 33px;border:1px solid rgba(255,155,112,.19);border-radius:24px;overflow:hidden;background:linear-gradient(112deg,rgba(255,255,255,.065),rgba(255,74,10,.09) 55%,rgba(255,255,255,.025));box-shadow:var(--g3-shadow)}.overview-hero:before,.overview-hero:after{content:"";position:absolute;pointer-events:none;border-radius:50%}.overview-hero:before{width:370px;height:370px;right:-120px;top:-230px;background:radial-gradient(circle,rgba(255,97,51,.19),transparent 68%)}.overview-hero:after{width:190px;height:190px;right:150px;bottom:-145px;border:1px solid rgba(255,159,117,.17)}.overview-hero-copy,.overview-hero-metric{position:relative;z-index:1}.overview-eyebrow{margin:0 0 10px;color:var(--g3-orange-soft);font-size:12px;font-weight:700;letter-spacing:.16em}.overview-hero h2{max-width:760px;margin:0;color:#fffaf7;font-size:clamp(28px,3.4vw,44px);line-height:1.02;letter-spacing:-.065em}.overview-hero-copy>p:last-child{max-width:620px;margin:13px 0 0;color:#c8c0bb;font-size:14px;line-height:1.6}.overview-hero-metric{display:flex;align-items:center;gap:18px;padding:14px 0 14px 22px;border-left:1px solid rgba(255,255,255,.12)}.overview-hero-metric small,.overview-hero-metric span{display:block;color:#bdb5af;font-size:12px}.overview-hero-metric strong{display:block;margin:3px 0;color:#fff;font-size:27px;letter-spacing:-.05em}.overview-ring{width:128px;height:70px;overflow:hidden;flex:0 0 auto}.overview-ring svg{width:128px;height:128px;transform:rotate(-180deg)}.overview-ring-track,.overview-ring-value{fill:none;stroke-width:11;stroke-linecap:round}.overview-ring-track{stroke:rgba(255,255,255,.12)}.overview-ring-value{stroke:var(--g3-orange);stroke-dasharray:157;stroke-dashoffset:157;transition:stroke-dashoffset 760ms cubic-bezier(.16,1,.3,1);filter:drop-shadow(0 0 6px rgba(255,74,10,.35))}.overview-ring-value.no-motion{transition:none}.overview-ring-caption{position:absolute;left:43px;top:24px;color:#fff;font-size:22px;font-weight:700;letter-spacing:-.05em}
.overview-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.overview-kpi{position:relative;min-height:140px;padding:20px;border:1px solid var(--g3-line);border-radius:18px;overflow:hidden;background:rgba(255,255,255,.045);box-shadow:var(--g3-shadow);backdrop-filter:blur(16px)}.overview-kpi:after{content:"";position:absolute;right:15px;bottom:15px;width:34px;height:34px;border:1px solid rgba(255,255,255,.1);border-radius:50%}.overview-kpi>span{display:block;color:#aaa29c;font-size:12px;font-weight:500}.overview-kpi strong{display:block;margin:11px 0 5px;color:#fffaf7;font-size:42px;line-height:.9;letter-spacing:-.065em}.overview-kpi small{display:block;color:#bcb4ae;font-size:12px;line-height:1.4}.overview-kpi i{position:absolute;right:23px;top:21px;z-index:1;display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#ff9a70}.overview-kpi.kpi-progress{border-color:rgba(255,124,82,.32);background:linear-gradient(135deg,rgba(255,74,10,.26),rgba(255,255,255,.045))}.overview-kpi.kpi-late{border-color:rgba(255,111,97,.29)}.overview-kpi.kpi-late i{color:#ff8a7d}
.overview-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.85fr);gap:16px;align-items:start}.overview-section{border:1px solid var(--g3-line);border-radius:18px;background:var(--g3-surface-raised);box-shadow:var(--g3-shadow);overflow:hidden;backdrop-filter:blur(18px)}.overview-section+.overview-section{margin-top:16px}.overview-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 22px 15px;border-bottom:1px solid var(--g3-line)}.overview-section-head h3{margin:0;color:#fffaf7;font-size:17px;letter-spacing:-.035em}.overview-section-head p{margin:4px 0 0;color:#aaa29c;font-size:12px}.overview-section-head .ghost{min-height:33px;padding:0 11px;font-size:12px}.overview-deadlines{display:grid;padding:5px 18px 16px}.overview-deadline{display:grid;grid-template-columns:41px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px 3px;border-bottom:1px solid rgba(255,255,255,.07)}.overview-deadline:last-child{border-bottom:0}.overview-deadline-date{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,255,255,.12);border-radius:10px;color:#f6eee9;font-size:11px;font-weight:700}.overview-deadline>div{min-width:0}.overview-deadline strong,.overview-deadline span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-deadline strong{color:#f5efeb;font-size:13px}.overview-deadline span{margin-top:3px;color:#aaa29c;font-size:11px}.overview-deadline em{color:#c6bdb7;font-size:11px;font-style:normal}.overview-deadline.late .overview-deadline-date{border-color:rgba(255,111,97,.48);background:rgba(255,111,97,.1);color:#ff9a90}.overview-deadline.late em{color:#ff9a90}.overview-activity{padding:5px 18px 16px}.overview-activity-item{display:grid;grid-template-columns:10px minmax(0,1fr);gap:11px;padding:12px 3px;border-bottom:1px solid rgba(255,255,255,.07)}.overview-activity-item:last-child{border-bottom:0}.overview-activity-item>i{width:8px;height:8px;margin-top:5px;border-radius:99px;background:var(--g3-orange);box-shadow:0 0 0 4px rgba(255,74,10,.11)}.overview-activity-item strong{display:block;color:#eee8e2;font-size:12px}.overview-activity-item span{display:block;margin-top:3px;color:#aaa29c;font-size:11px;line-height:1.45}.overview-empty{padding:25px 22px;color:#aaa29c;font-size:12px}

/* Listas compartilhadas de tarefa */
.task-list{padding:8px 17px 17px}.task{min-height:86px;border:1px solid rgba(255,255,255,.09)!important;border-left:1px solid rgba(255,255,255,.09)!important;border-radius:14px!important;background:rgba(255,255,255,.025)!important;box-shadow:none!important}.task+.task{margin-top:8px}.task:hover{border-color:rgba(255,137,94,.37)!important;background:rgba(255,255,255,.055)!important;transform:translateY(-1px)}.task .check{position:relative;width:27px;height:27px;border:2px solid #9f9893!important;border-radius:50%;background:transparent!important;color:transparent!important}.task .check.done,.task.task-status-concluida .check{border-color:var(--g3-orange)!important;background:var(--g3-orange)!important;color:#fff!important}.task .check.done:after,.task.task-status-concluida .check:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:15px;font-weight:700}.task.task-status-em_andamento .check{border-color:var(--g3-orange) rgba(255,255,255,.14) rgba(255,255,255,.14) var(--g3-orange)!important;transform:rotate(-45deg)}.task.task-status-em_andamento .check:after{content:"";position:absolute;inset:5px;border-radius:50%;background:rgba(255,74,10,.17)}.task.task-status-pendente .check{border-color:#aaa39e!important}.task.late{border-color:rgba(255,111,97,.48)!important;background:linear-gradient(90deg,rgba(255,111,97,.09),rgba(255,255,255,.025) 35%)!important}.task.late .task-main>em{background:rgba(255,111,97,.14)!important;color:#ffaaa1!important}.task-main>strong{font-size:14px!important}.task-main>span{background:rgba(255,255,255,.075)!important;color:#c9c1bb!important}.owner>b{background:rgba(255,255,255,.09)!important;color:#fff5ef!important}.owner small,.date small{color:#aaa29c!important}.date b{color:#eee8e2!important}.status{border:1px solid rgba(255,255,255,.11)!important;border-radius:9px!important;background:rgba(255,255,255,.055)!important;color:#eee8e2!important}.status.em_andamento{border-color:rgba(255,132,86,.32)!important;background:rgba(255,74,10,.11)!important;color:#ffc0a7!important}.status.concluida{border-color:rgba(255,132,86,.28)!important;background:rgba(255,74,10,.12)!important;color:#ffc0a7!important}.task.task-status-concluida{border-color:rgba(255,255,255,.07)!important;background:rgba(255,255,255,.016)!important;opacity:.7}.task.task-status-concluida .task-main>strong,.task.task-status-concluida .date b{color:#aaa39e!important}.task.task-status-concluida .task-main>span{background:rgba(255,255,255,.05)!important;color:#8e8883!important}.priority.alta{color:#ff9a90!important}

/* Entrada contida e acessível. */
.overview-v1 .overview-hero,.overview-v1 .overview-kpi,.overview-v1 .overview-section{animation:overview-enter 720ms cubic-bezier(.16,1,.3,1) both}.overview-v1 .overview-kpi:nth-child(2){animation-delay:70ms}.overview-v1 .overview-kpi:nth-child(3){animation-delay:130ms}.overview-v1 .overview-kpi:nth-child(4){animation-delay:190ms}.overview-v1 .overview-section{animation-delay:220ms}@keyframes overview-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}

/* Tema claro correspondente. */
html[data-theme="light"]{--g3-ink:#f6f4f1;--g3-surface:rgba(255,255,255,.72);--g3-surface-raised:rgba(255,255,255,.74);--g3-line:rgba(32,28,25,.11);--g3-text:#1b1816;--g3-subtle:#746d67;--g3-shadow:0 20px 55px rgba(53,35,23,.09)}html[data-theme="light"] body{background:#f4f1ee;color:#1b1816}html[data-theme="light"] body:before{background:radial-gradient(900px 520px at 84% -16%,rgba(255,74,10,.12),transparent 62%),radial-gradient(640px 490px at -14% 100%,rgba(255,169,128,.15),transparent 63%),#f4f1ee}html[data-theme="light"] .sidebar,html[data-theme="light"] .mobile-top{background:rgba(24,22,20,.95)!important}html[data-theme="light"] .topbar h1,html[data-theme="light"] .panel-head h2{color:#1b1816!important}html[data-theme="light"] .ghost{background:rgba(255,255,255,.64)!important;color:#29231f!important}html[data-theme="light"] .panel,html[data-theme="light"] .metric,html[data-theme="light"] .content-card,html[data-theme="light"] .goal-card,html[data-theme="light"] .report-card,html[data-theme="light"] .portfolio-metrics article,html[data-theme="light"] .content-summary article,html[data-theme="light"] .calendar-summary article{background:rgba(255,255,255,.72)!important}html[data-theme="light"] .panel-head,html[data-theme="light"] .toolbar,html[data-theme="light"] .card-actions,html[data-theme="light"] .week-head{background:rgba(255,255,255,.42)!important}html[data-theme="light"] .overview-hero{border-color:rgba(255,114,73,.26);background:linear-gradient(112deg,rgba(255,255,255,.78),rgba(255,105,63,.18) 58%,rgba(255,255,255,.55));box-shadow:var(--g3-shadow)}html[data-theme="light"] .overview-hero h2{color:#1e1916}html[data-theme="light"] .overview-hero-copy>p:last-child,html[data-theme="light"] .overview-hero-metric small,html[data-theme="light"] .overview-hero-metric span{color:#706862}html[data-theme="light"] .overview-hero-metric{border-color:rgba(39,30,25,.12)}html[data-theme="light"] .overview-hero-metric strong{color:#201a17}html[data-theme="light"] .overview-ring-track{stroke:rgba(45,31,22,.14)}html[data-theme="light"] .overview-kpi{background:rgba(255,255,255,.66)}html[data-theme="light"] .overview-kpi>span,html[data-theme="light"] .overview-kpi small,html[data-theme="light"] .overview-section-head p,html[data-theme="light"] .overview-deadline span,html[data-theme="light"] .overview-activity-item span{color:#756d67}html[data-theme="light"] .overview-kpi strong,html[data-theme="light"] .overview-section-head h3,html[data-theme="light"] .overview-deadline strong,html[data-theme="light"] .overview-activity-item strong{color:#211b18}html[data-theme="light"] .overview-deadline{border-color:rgba(31,25,21,.09)}html[data-theme="light"] .overview-deadline-date{border-color:rgba(31,25,21,.13);color:#3c3029}html[data-theme="light"] .overview-section{background:rgba(255,255,255,.7)}html[data-theme="light"] .task{border-color:rgba(31,25,21,.11)!important;background:rgba(255,255,255,.58)!important}html[data-theme="light"] .task:hover{background:#fff!important}html[data-theme="light"] .task-main>strong,html[data-theme="light"] .date b{color:#28211d!important}html[data-theme="light"] .task-main>span{background:#f1ece8!important;color:#685f58!important}html[data-theme="light"] .owner>b{background:#f2ece7!important;color:#382e28!important}.task .status{font-weight:600}

@media(max-width:1050px){.overview-kpis{grid-template-columns:repeat(2,1fr)}.overview-columns{grid-template-columns:1fr}.overview-hero{grid-template-columns:1fr}.overview-hero-metric{padding:17px 0 0;border-top:1px solid rgba(255,255,255,.12);border-left:0}}
@media(max-width:900px){main{margin-left:0}}
@media(max-width:680px){main{padding:22px 16px 46px}.topbar{align-items:flex-start;flex-direction:column}.top-actions{width:100%;overflow:auto;padding-bottom:2px}.overview-hero{min-height:0;padding:25px 22px;border-radius:19px}.overview-hero h2{font-size:30px}.overview-hero-metric{gap:13px}.overview-kpis{grid-template-columns:1fr 1fr;gap:10px}.overview-kpi{min-height:123px;padding:16px}.overview-kpi strong{font-size:34px}.overview-columns{gap:12px}.overview-section{border-radius:15px}.overview-section-head{padding:17px}.overview-deadlines,.overview-activity{padding-left:14px;padding-right:14px}.task-list{padding:8px 12px 12px}.task{grid-template-columns:27px minmax(0,1fr) 30px!important;gap:10px;padding:13px!important}.task .owner,.task .date,.task .priority{display:none}.task .status{grid-column:2/4;width:100%}.task .task-delete{grid-column:3;grid-row:1}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.overview-ring-value{transition:none!important}}

/* Blocos que já existiam na Visão Geral, preservados na nova composição. */
.overview-content-summary .content-board{padding:14px!important;gap:12px!important}.overview-content-summary .content-card{min-height:0!important;box-shadow:none!important}.overview-content-summary .content-visual{min-height:100px!important}.overview-existing-indicators{margin-top:16px}.overview-existing-indicators .rail{display:grid;gap:16px}.overview-existing-indicators .rail .panel{border:1px solid var(--g3-line)!important;border-radius:18px;background:var(--g3-surface-raised)!important;box-shadow:var(--g3-shadow)!important;backdrop-filter:blur(18px)}.overview-existing-indicators .rail .panel h2,.overview-existing-indicators .rail .panel strong{color:#fffaf7!important}.overview-existing-indicators .rail .panel p,.overview-existing-indicators .rail .panel small{color:#aaa29c!important}html[data-theme="light"] .overview-existing-indicators .rail .panel h2,html[data-theme="light"] .overview-existing-indicators .rail .panel strong{color:#211b18!important}html[data-theme="light"] .overview-existing-indicators .rail .panel p,html[data-theme="light"] .overview-existing-indicators .rail .panel small{color:#756d67!important}
