/* Paleta comum GIGA: superfícies claras, texto azul-escuro e estados legíveis. */
:root{--giga-silver:#e7ebef;--giga-silver-light:#f4f6f8;--giga-navy:#173149;--giga-blue:#245c90;--giga-cyan:#087c98;--giga-ink:#173149;--giga-paper:#ffffff;--giga-border:#c2cdd7;color-scheme:light;background:var(--giga-silver);color:var(--giga-ink)}
body{background:linear-gradient(135deg,#f4f6f8,#e7ebef 60%,#e0e5ea)!important;color:var(--giga-ink)!important;background-attachment:fixed}
body:not(.giga-home):not(.giga-cube) main{background:#f4f6f8;color:var(--giga-ink);border:1px solid var(--giga-border);border-radius:18px;box-shadow:0 12px 32px #17314910}
body header,body footer,body .system-nav,body .service-navigation,body .shared-session{background:#e2e7ed!important;color:var(--giga-ink)!important;border-color:var(--giga-border)!important}
body .system-nav a,body .service-navigation a,body .shared-session a{color:#245c90!important}
body a{color:#245c90}body a:hover{color:#123f6a}
body main :is(p,small,li,code,.metadata,.eyebrow,.note,.service-path){color:#40586c}
body main :is(article,aside,details,fieldset,.detail,.item,.notice,.organization-context,.pmo-filterbar,.states span,.home-cards>a,.context,.board-columns>section){background:#f8fafb!important;color:var(--giga-ink)!important;border-color:var(--giga-border)!important;box-shadow:0 4px 14px #17314908}
body main .board-columns article,body main .cards>*,body main .summary article{background:#ffffff!important;color:var(--giga-ink)!important;border-color:var(--giga-border)!important}
body main .board-columns>section>h3{background:#f8fafb!important;color:var(--giga-ink)!important}
body :is(input,select,textarea){color:var(--giga-ink)!important;background:#ffffff!important;border-color:#a6b7c6!important;accent-color:var(--giga-blue)}
body :is(input,textarea)::placeholder{color:#5d7284;opacity:1}
body button{background:#edf2f6!important;color:var(--giga-ink)!important;border-color:#a6b7c6!important}
body button:hover:not(:disabled){background:#dfeaf2!important}
body :is(button[aria-pressed=true],button[aria-selected=true],a[aria-current=page],.node[aria-pressed=true]){background:#245c90!important;color:#ffffff!important;border-color:#245c90!important}
body main :is(th,td){border-color:var(--giga-border)!important;color:var(--giga-ink)}
body main th{background:#e2e8ee!important;color:var(--giga-ink)!important}
body main tbody tr:hover{background:#eaf0f5!important}
body main :is(.good,.success){color:#176345!important}
body main :is(.warning,.overdue,.error){color:#9c3d18!important}
body main :is(.service-path,#access,#eyebrow,.context-trail){color:#40586c!important}
body .node{background:#edf2f6!important;color:var(--giga-ink)!important;box-shadow:0 4px 18px #17314918}
body #center{background:#dceaf3!important;color:var(--giga-ink)!important}
body :is(a,button,input,select,textarea):focus-visible{outline:3px solid #087c98!important;outline-offset:3px}
@media print{body,body main{background:#ffffff!important;box-shadow:none!important}}

/* Falhas de login e mensagens negativas: vermelho com contraste. */
body :is(.error,.is-error,[data-state="error"],[data-status="error"],[role="alert"]){color:#b42318!important}

html body main :is(.error,.is-error,[data-state="error"],[data-status="error"],[role="alert"]){color:#b42318!important}
