:root{--ink:#252b36;--muted:#68717f;--line:#e3e6ea;--canvas:#f5f6f8;--violet:#625d7a;--radius:12px}
body{font-size:14px;line-height:1.6}
body:has(#overlay:not(:empty)){overflow:hidden}
h1{font-size:29px;line-height:1.25;letter-spacing:-.65px;font-weight:700}
h2{font-size:17px;line-height:1.4;letter-spacing:-.2px;font-weight:650}
h3{font-size:15px;line-height:1.45;font-weight:650}
.page-head{margin-bottom:26px;align-items:center}
.page-head .eyebrow{display:none}
.page-head p{font-size:13px;line-height:1.6;margin-top:7px}
.side{background:#202631;padding:27px 17px}
.brand{font-size:23px;padding-bottom:33px;letter-spacing:-.8px}
.brand:before{background:#aca8bb}
.brand small{font-size:10px;letter-spacing:.8px;color:#929aa8;margin-top:3px}
.nav{gap:4px}
.nav button{font-size:13px;min-height:44px;color:#b3bac6;border-radius:7px}
.nav button.active{background:#343b47;color:#fff;font-weight:650}
.nav button:hover{background:#2b323d}
.nav-label{color:#a7afbd;font-size:10px;letter-spacing:.7px}
.side-footer{border-color:#363e4a}.profile-btn .avatar{font-size:17px;width:32px;height:32px;border-radius:9px}
.top{height:64px;padding:0 32px}.top-left{font-size:12px;color:var(--muted)}.top-left strong{color:var(--ink);font-weight:600}
.mode{background:#f2f3f5;color:#717986;font-size:10px;border:1px solid #e9ebef}
.close{background:transparent;color:#5d6675;padding:8px 10px}.close:hover{background:#f0f2f5}
.content{padding:30px 32px;max-width:1500px}
.btn{background:#2c3441;border-radius:7px;font-weight:600;box-shadow:none;min-height:39px;padding:9px 14px;font-size:13px;line-height:1.4}
.btn.secondary{border-color:#dfe3e8;background:#fff;color:#48515f}
.btn.small{font-size:12px;min-height:34px;padding:7px 11px}
.btn.danger{background:#fff;border-color:#e7d7d7;color:#934c4c}
.btn:hover{filter:none;box-shadow:none;background:#3b4554}
.btn.secondary:hover{background:#f4f5f7}.btn.danger:hover{background:#faf3f3}
.btn .icon{width:15px;height:15px}
.panel{border-radius:12px;padding:23px;box-shadow:none;background:#fff}
.panel-head{margin-bottom:16px}.panel-head h2{font-size:16px}
.metric{border:1px solid var(--line)!important;box-shadow:none}
.metric strong{font-size:30px;font-weight:650;letter-spacing:-.8px;line-height:1.3}
.metric .label{font-size:12px}
.dashboard-metrics{gap:14px;margin-bottom:26px}
.dashboard-metrics .metric{min-height:144px;padding:18px 20px;transform:none;border-top:1px solid var(--line)!important}
.dashboard-metrics .metric:hover{transform:none;box-shadow:0 3px 12px #20263107;border-color:#bfc4cf!important}
.dashboard-metrics .metric .label{font-size:12px;color:#5d6572;font-weight:600}
.dashboard-metrics .metric strong{font-size:33px;margin:9px 0 3px;color:#242c39}
.dashboard-metrics .metric small{font-size:11px;color:#687482}
.metric-open{font-size:11px;font-weight:500;color:#6c7482;padding-top:12px}
.metric-open span{font-size:14px}
.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr);gap:22px}
.dashboard-panel .panel-head{margin-bottom:11px}
.dashboard-panel .panel-head h2{font-size:15px;font-weight:650}
.group-count{background:#f2f3f6;color:#68717f;border-radius:5px;font-size:11px}
.group-count:hover{background:#e9ecf1;color:#3f4857}
.daily{padding:15px 0;gap:13px;border-bottom-color:#edf0f3}
.daily .body{min-width:0}.daily strong{font-size:14px;font-weight:600;line-height:1.5;color:#303745;overflow-wrap:anywhere}
.daily small{font-size:12px;color:#687482;line-height:1.6;display:block;margin-top:3px}
.daily .priority{display:none}
.daily .pill{font-size:10px;font-weight:550;border-radius:5px}
.status-label{font-size:11px;font-weight:550;border:none;padding:4px 7px}
.status-demanda{background:#eff0f2;color:#616875}
.status-a-fazer{background:#f1edf6;color:#6c5a86}
.status-em-andamento{background:#edf2f8;color:#4b688b}
.status-aguardando-resposta{background:#f6f1e7;color:#7b6539}
.status-aguardando-aprovacao{background:#f6eee8;color:#805d44}
.status-finalizado{background:#edf3ee;color:#52735b}
.dashboard-section-caption{font-size:11px;color:#697483;margin:0 0 8px}
.section-more{display:flex;justify-content:flex-end;padding-top:12px}
.section-more button{font-size:12px;background:none;color:#566071;font-weight:600}
.meeting-prompt h2{font-size:16px}.meeting-prompt p{font-size:13px;color:#747d8b;line-height:1.7}.meeting-prompt .btn{margin-top:3px}
.prototype-footer{border-top:1px solid #e5e8ec;margin-top:30px;padding-top:14px;display:flex;justify-content:space-between;gap:12px;color:#89919e;font-size:10px;line-height:1.6}
.prototype-footer strong{font-weight:550}.prototype-footer .link-btn{font-size:10px;color:#757d89;text-decoration:none;white-space:nowrap}
.prototype-footer .link-btn:hover{text-decoration:underline}
.notification-item{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 0;margin:0;background:#fff}
.notification-item:first-child{padding-top:0}.notification-item:last-child{border-bottom:0;padding-bottom:0}
.notification-item.is-unread{border-left:0;background:#fff}
.notification-type{font-size:12px;color:#848c99;font-weight:400}
.notification-read{font-size:10px;color:#697483}.is-unread .notification-read{color:#606878;font-weight:600}
.notification-title{font-size:16px;font-weight:650;letter-spacing:-.15px;margin-top:3px}
.notification-text{font-size:13px;color:#687180;margin:10px 0}
.notification-actions{border-top:0;margin-top:13px;padding-top:0}.notification-meta{font-size:11px;gap:11px}
.dialog{border-radius:13px;box-shadow:0 25px 90px #19213126}.dialog-head{padding:20px 24px}.dialog-head h2{font-size:19px}
.dialog.large{width:min(920px,100%)}.dialog-body{padding:24px}.dialog-foot{padding:15px 24px;background:#fafbfc}
.dashboard-card-grid{gap:13px}.dashboard-card-grid .card{padding:19px;border-radius:9px;box-shadow:none}
.dashboard-card-grid .card:hover{transform:none;box-shadow:0 3px 12px #20263107;border-color:#b8bfca}
.dashboard-card-grid .card .pill.purple{background:none;color:#697483;font-size:11px;padding:0;font-weight:400}
.dashboard-card-grid .card-title{font-size:16px;font-weight:650;margin:8px 0 12px;line-height:1.5}
.dashboard-card-grid .card-footer{margin-top:16px}.dashboard-card-grid .card .avatar{background:#e8ebf0!important;color:#606b7a;font-weight:600}
.popup-description{font-size:12px;color:#737d8b;margin-bottom:23px;line-height:1.7}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.task-backdrop{position:fixed;inset:0;z-index:65;background:#20273566;display:flex;align-items:center;justify-content:center;padding:28px}
.task-dialog{width:min(1120px,100%);max-height:calc(100dvh - 56px);height:min(850px,calc(100dvh - 56px));background:#fff;border-radius:14px;box-shadow:0 24px 90px #131b3433;display:flex;flex-direction:column;overflow:hidden}
.task-dialog.is-expanded{width:100%;height:100%;max-height:100%;border-radius:10px}
.task-header{flex:none;padding:16px 30px 20px;border-bottom:1px solid var(--line);background:#fff}
.task-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}
.detail-back{font-size:12px;font-weight:500;background:none;color:#758091;padding:5px 0;text-align:left}
.detail-back:hover{color:#303a49}
.detail-icon-button{display:grid;place-items:center;background:none;color:#747f8f;width:32px;height:32px;border-radius:6px;font-size:15px}
.detail-icon-button:hover{background:#f0f2f5;color:#354052}
.detail-breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#697483;font-size:11px;line-height:1.6;margin-bottom:8px}
.breadcrumb-separator{color:#bcc1cb}
.task-header h1{font-size:25px;font-weight:700;line-height:1.35;letter-spacing:-.5px;margin:0 0 17px;overflow-wrap:anywhere;max-width:96%}
.task-header h1:focus{outline:none}
.task-toolbar{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.detail-status{display:inline-flex;align-items:center;border-radius:6px;margin:0;font-weight:550}
.detail-status select{border:0;background:transparent;color:inherit;padding:7px 10px;font-weight:550;font-size:12px;min-width:140px;max-width:230px}
.detail-status option{color:#354052;background:#fff}
.plain-label{font-size:11px;color:#858d9b}
.task-actions{margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.detail-options{position:relative;align-self:center}
.detail-options summary{list-style:none;cursor:pointer;color:#697487;font-size:14px;padding:5px 8px;letter-spacing:2px;border-radius:6px}
.detail-options summary::-webkit-details-marker{display:none}
.detail-options summary:hover{background:#f0f2f5}
.detail-options>div{position:absolute;right:0;top:34px;padding:8px;background:#fff;box-shadow:0 4px 20px #1e263322;border:1px solid #e3e7ed;border-radius:8px;z-index:3;white-space:nowrap}
.detail-options .btn{border:0}
.task-scroll{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable}
.task-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;min-height:100%}
.task-main{min-width:0;padding:0 30px 30px}
.task-properties{background:#fafbfc;border-left:1px solid #eaedf1;padding:25px 24px;font-size:13px;min-width:0}
.task-properties h2{font-size:12px;letter-spacing:0;color:#5c6676;font-weight:650;margin-bottom:22px}
.detail-properties{margin:0}.detail-properties>div{margin-bottom:23px}
.detail-properties dt{font-size:11px;color:#687482;margin-bottom:6px}
.detail-properties dd{margin:0;color:#424e5f;line-height:1.5;font-size:13px;font-weight:550;display:flex;align-items:center;gap:9px;overflow-wrap:anywhere}
.detail-properties .deadline-late{color:#91565b}
.person-initial{width:24px;height:24px;flex:none;border-radius:50%;background:#e7ebf0;color:#626f80;display:grid;place-items:center;font-size:10px;font-weight:650}
.property-hint{display:block;font-size:10px;color:#76626d;margin-top:3px}
.detail-time{border-top:1px solid #e5e8ed;padding-top:24px;margin-top:28px}
.detail-time h2{margin-bottom:15px}.time-total{display:flex;flex-direction:column;gap:6px}
.time-total span{font-size:11px;color:#687482}.time-total strong{font-size:21px;line-height:1.4;font-weight:600;letter-spacing:-.5px;color:#364355;font-variant-numeric:tabular-nums}
.detail-time dl{margin:20px 0 15px}.detail-time dl>div{margin-bottom:14px}.detail-time dt{font-size:11px;color:#687482}.detail-time dd{font-size:12px;margin:3px 0 0;color:#657285;font-variant-numeric:tabular-nums}
.property-note{font-size:11px;line-height:1.7;color:#697483;margin-bottom:16px}
.detail-time details{font-size:11px;color:#7d8796}.detail-time summary{cursor:pointer}.detail-time details p{margin-top:10px}
.detail-working{padding:12px 0;margin-bottom:14px;border-top:1px solid #e5e8ed;display:flex;flex-direction:column;gap:4px}
.detail-working span{font-size:11px;color:#758192}.detail-working strong{font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}
.detail-property-actions{margin-top:24px}.detail-property-actions .btn{font-size:11px}
.detail-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:0 0 26px}
.detail-tabs button{position:relative;display:flex;align-items:center;gap:7px;border-bottom:2px solid transparent;margin-bottom:-1px;padding:18px 0 13px;background:none;color:#687482;font-size:12px;font-weight:500}
.detail-tabs button[aria-selected=true]{border-bottom-color:#586273;color:#394656;font-weight:650}
.detail-tabs button span{font-size:10px;color:#687482;background:#f1f3f6;padding:0 5px;border-radius:4px}
.detail-section{margin:0 0 30px}.detail-section h2{font-size:14px;font-weight:650;letter-spacing:0;color:#3c4758;margin-bottom:13px}
.detail-prose{font-size:14px;line-height:1.85;color:#636e7e;white-space:normal;overflow-wrap:anywhere;margin-bottom:14px}
.detail-secondary{font-size:13px;color:#808998}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.section-heading h2{margin:0 0 2px}
.section-caption{font-size:11px;color:#697483;line-height:1.7;font-weight:400}
.detail-child-list{border-top:1px solid #edf0f3;margin-bottom:9px}.detail-child-list .daily strong{font-size:13px}.detail-child-list .daily small{font-size:11px}.detail-child-list .daily .pill{font-size:10px}
.detail-empty{font-size:12px;color:#697483;line-height:1.8;font-style:italic;margin:0 0 16px}
.detail-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:400;color:#637082;margin:11px 0;cursor:pointer;line-height:1.6}
.detail-check input{margin:3px 0 0;flex:none;accent-color:#657083}.check-done{color:#717d8c;text-decoration:line-through}
.detail-inline-form{display:flex;gap:9px;margin-top:18px}.detail-inline-form input:not([type=hidden]){flex:1;min-width:0;font-size:12px;border-color:#e1e5eb;border-radius:6px}
.pending-callout{border-left:2px solid #b3a28a;margin-top:24px;padding:3px 0 3px 14px;font-size:12px;color:#647083}
.pending-callout>div>strong{font-size:12px;font-weight:650;color:#655a4c;display:block;margin-bottom:9px}
.pending-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pending-line:last-child{margin-bottom:0}
.pending-line p{font-size:13px;line-height:1.7;color:#626d7e;margin:0 0 4px}.pending-line span{font-size:11px;color:#697483}.pending-line span strong{font-weight:550;color:#7c8491}
.pending-line .btn{font-size:11px;min-height:30px}
.detail-comment-form{margin-bottom:25px}.detail-comment-form label{font-size:11px;color:#7f8998;font-weight:500}.detail-comment-form textarea{border-color:#e0e5eb;font-size:13px;min-height:100px;width:100%}.detail-comment-form .actions{margin-top:10px}
.detail-comment{border-top:1px solid #eceff3;padding:18px 0}.comment-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.comment-heading strong{font-size:12px;font-weight:600;color:#536175}.comment-heading time{font-size:10px;color:#697483}.detail-comment p{font-size:13px;color:#6a7687;line-height:1.8;margin:8px 0 0;overflow-wrap:anywhere}
.detail-history{font-size:12px;color:#697483}.detail-history>summary{cursor:pointer;border-top:1px solid #e7ebf0;padding-top:15px}.detail-history>div{padding-top:20px}.detail-history .log{font-size:11px;border-left-color:#d9dfe7;color:#7c8797}.detail-history small{font-size:10px;color:#697483}
.file-actions{margin:18px 0 24px}.file-actions label{margin:0;font-weight:500}
.detail-files{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.detail-file-link{border:1px solid #e4e8ee;border-radius:8px;padding:15px;color:#627184;text-decoration:none;display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}.detail-file-link strong{font-size:12px;font-weight:600}.detail-file-link span{font-size:10px;color:#697483}
.detail-image{margin:0;border:1px solid #e4e8ee;border-radius:8px;overflow:hidden}.detail-image img{display:block;width:100%;height:160px;object-fit:contain;background:#f9fafb}.detail-image figcaption{padding:10px 12px;font-size:10px;color:#697483;overflow-wrap:anywhere}
@media(max-width:1100px){.content{padding:26px 24px}.dashboard-layout{grid-template-columns:1fr}.task-backdrop{padding:20px}.task-dialog{max-height:calc(100dvh - 40px);height:calc(100dvh - 40px)}.task-layout{grid-template-columns:minmax(0,1fr) 250px}.task-main{padding:0 24px 25px}.task-header{padding:14px 24px 20px}.task-properties{padding:24px 20px}.task-actions{margin-left:0}}
@media(max-width:720px){.content{padding:24px 18px}.top{padding:0 16px}.dashboard-metrics{gap:10px}.dashboard-metrics .metric{padding:15px;min-height:147px}.dashboard-metrics .metric .label{font-size:11px;min-height:31px}.dashboard-metrics .metric strong{font-size:29px}.dashboard-metrics .metric small{font-size:10px}.daily{align-items:flex-start;gap:10px}.daily strong{font-size:13px}.daily small{font-size:11px}.daily .pill{max-width:104px;font-size:10px;margin-top:2px}.panel{padding:19px}.prototype-footer{flex-direction:column;font-size:10px;margin-top:24px}.task-backdrop{padding:0}.task-dialog,.task-dialog.is-expanded{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.task-header{padding:10px 18px 16px}.task-topline{margin-bottom:12px}.task-header h1{font-size:21px;margin-bottom:14px}.detail-breadcrumb{font-size:10px}.task-toolbar{gap:10px}.task-actions{width:100%;gap:7px}.task-actions .btn{font-size:11px;padding:7px 9px}.task-layout{grid-template-columns:1fr}.task-main{padding:0 18px 24px}.task-properties{border-left:0;border-top:1px solid #e5e9ef;padding:24px 18px}.detail-properties{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px}.detail-properties>div{margin-bottom:14px}.detail-time{margin-top:12px}.detail-tabs{gap:22px}.detail-tabs button{font-size:11px}.detail-files{grid-template-columns:1fr}.pending-line{align-items:flex-start}.detail-prose{font-size:13px}.detail-child-list .daily .pill{max-width:100px}.notification-title{font-size:15px}}
@media print{.prototype-footer,.task-topline,.task-actions,.detail-tabs{display:none!important}.task-backdrop{position:static;padding:0;background:none}.task-dialog{width:100%;height:auto;max-height:none;box-shadow:none;border-radius:0;overflow:visible}.task-scroll{overflow:visible}.task-layout{display:block}.task-properties{border:0;background:white}}

.task-properties dt{font-size:12px}.detail-properties dd{font-size:14px}.detail-breadcrumb{font-size:12px}.section-caption,.detail-empty,.property-note{font-size:12px}.prototype-footer{font-size:11px;color:#737e8e}.prototype-footer .link-btn{font-size:11px}.daily small{color:#687482}.detail-time dt{font-size:12px}.detail-time details{font-size:12px}.detail-tabs button{font-size:13px}.notification-meta{color:#687482}.property-hint{font-size:11px}

.detail-mobile-facts{display:none}@media(max-width:720px){.detail-mobile-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid #edf0f3;padding-top:12px;margin-top:15px}.detail-mobile-facts span{min-width:0}.detail-mobile-facts small{display:block;font-size:11px;color:#687482;margin-bottom:3px}.detail-mobile-facts strong{display:block;font-size:12px;line-height:1.5;font-weight:600;color:#424e5f;overflow-wrap:anywhere}.detail-mobile-facts .deadline-late{color:#91565b}}

/* Histórico real: informação de origem discreta, sem nova cor de status. */
.historical-notice{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0}.historical-notice h2{margin:6px 0 10px;font-size:20px}.historical-notice p{color:#666773;max-width:760px;margin:0;line-height:1.6}.status-unknown{background:#eeeef0;color:#63646c;border:1px solid #dddde2}.metric .history-total{font-size:22px;white-space:normal}.source-list{padding-left:20px;line-height:1.65}.source-list li{margin:12px 0;overflow-wrap:anywhere}.source-list a,.source-provenance a{color:#52566c}.source-provenance{background:#f7f7f8;border:1px solid #e7e7eb;padding:20px;border-radius:12px}.source-provenance details{margin-top:18px}.general-work-panel{margin-top:28px}.general-work-panel .plain-label{margin-left:16px}.source-provenance .section-heading{align-items:start;gap:20px}.source-provenance .section-heading strong{white-space:nowrap;font-size:15px}@media(max-width:760px){.historical-notice{align-items:stretch;flex-direction:column}.source-provenance .section-heading{flex-direction:column}.general-work-panel .plain-label{display:block;margin:12px 0 0}}
