/* AGLIA · Referencia azul marino / dorado · Foco, opción 3 */
:root{--ink:#101c34;--green:#123660;--green-mid:#145ac6;--lime:#e5b862;--paper:#f0f4fa;--muted:#66748c;--line:#e3e9f3;--radius:14px;font-family:"Segoe UI",Arial,sans-serif;font-size:15px;background:var(--paper);color:var(--ink)}
body{background:radial-gradient(ellipse at 65% 0,#f8faff 0,#f0f4fa 70%);color:var(--ink)}
button,input,select,textarea{font-family:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#cc9b40}h1{font-size:32px;letter-spacing:-.8px;font-weight:700}h2{font-weight:650}svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.sidebar{width:248px;padding:23px 12px 20px;background:linear-gradient(145deg,#091b33 0%,#102a4b 80%,#0c2039 100%);color:#eaf0fb;box-shadow:3px 0 12px #132d4b0d}.brand{padding:0 9px;gap:10px;letter-spacing:2.2px;font-size:28px;line-height:1.1;height:73px}.brand img{width:55px;height:55px;object-fit:contain}.brand>span{display:block;font-weight:650}.brand small{display:block;font-size:10px;letter-spacing:.4px;font-weight:400;color:#c8d3e5;margin-top:8px}.workspace,.sidebar>.nav-label{display:none}#navigation{margin-top:26px}.nav-label,#navigation .nav-label{display:none}.nav-item{font-size:14px;padding:14px 16px;gap:15px;margin:6px 0;border-radius:9px;min-height:50px}.nav-icon{display:grid;place-items:center;width:25px;height:26px;color:#c6d3e8}.nav-icon svg{width:24px;height:24px}.nav-item:hover{background:#ffffff0c}.nav-item.active{background:linear-gradient(110deg,#c58b25,#edc778);color:white;box-shadow:inset 0 0 0 1px #ffe2a150,0 4px 15px #0000000d;font-weight:650}.nav-item.active .nav-icon{color:white}.nav-count{background:#e7bd6b;color:#122846;border-radius:50%;font-size:12px;font-weight:700;min-width:24px;height:24px}.nav-item.active .nav-count{background:#ffffff40;color:white}.sidebar-bottom{padding:25px 12px 0;margin-top:auto}.local-note{padding:18px 0 0;border-top:1px solid #b1c6e52b;font-size:11px;color:#cbd8eb}.local-note .local-dot{background:#ebbf64}.local-note small{font-size:10px;color:#9bb0cf;margin-left:12px}.sidebar .profile{display:none}.shell{margin-left:248px}.topbar{height:80px;gap:24px;padding:0 30px;background:#ffffffd9;border-bottom:1px solid #d7e0ef;box-shadow:0 2px 6px #1e3e6e06}.global-search{display:flex;align-items:center;gap:14px;width:450px;max-width:48%;height:44px;border:1px solid #cad6e8;border-radius:9px;background:linear-gradient(110deg,#fff,#f1f4f9);padding:0 14px;color:#3d5072}.global-search>svg{width:20px;height:20px}.global-search input{width:100%;border:0;background:transparent;padding:8px 0;font-size:14px;outline-offset:5px}.global-search input::placeholder{color:#66758e}.global-search>button{font-size:15px;color:#8c9ab1;padding:4px}.top-actions{margin-left:auto;gap:24px}.local-pill{font-size:10px;color:#72819b;white-space:nowrap}.notification-button{color:#10294b;width:32px;height:38px}.notification-button>span:not(:empty){background:#e6ab33;color:#fff;border-color:white;right:-2px;top:0}.header-profile{display:flex;gap:12px;align-items:center;border-left:1px solid #dde4ef;padding-left:24px}.header-profile .avatar{background:linear-gradient(145deg,#214d85,#13315c);color:white;width:40px;height:40px;font-size:13px;border:1px solid #123661}.header-profile strong{display:block;font-size:13px;font-weight:650;white-space:nowrap}.header-profile small{display:block;font-size:11px;color:#5f718f;margin-top:4px}.avatar{background:#e3e7f3;color:#1d345d;font-size:10px}.avatar.green{background:#e4e7f5;color:#24345d}.avatar.rose{background:#f2e4eb;color:#8e5975}.avatar.blue{background:#dfeafa;color:#3869a4}.avatar.purple{background:#e8e4f8;color:#685591}.page-heading{margin-bottom:26px;align-items:center}.subtitle{font-size:14px;color:#576887;margin-top:8px;line-height:1.6}.eyebrow{font-size:10px;color:#8492a7;letter-spacing:1.3px}main{padding:30px 28px 26px;max-width:1680px;min-height:calc(100vh - 145px)}.panel{padding:23px;border:1px solid #e2e8f3;box-shadow:0 2px 3px #1f477e0c,0 8px 24px #1f477e04;background:linear-gradient(120deg,#fff 0%,#fafcff 100%);border-radius:14px}.section-head{margin-bottom:22px;gap:12px}.section-head h2{font-size:18px;font-weight:650;letter-spacing:-.4px;gap:11px}.section-head h2 svg{width:24px;height:24px;color:#193556}.section-head>a{font-size:12px;color:#145ed0;display:inline-flex;align-items:center;gap:7px}.section-head>a svg{width:16px;height:16px}.section-head>.muted{font-size:10px;color:#8190a5;white-space:nowrap}.button{font-size:12px;padding:11px 17px;min-height:41px}.button.primary{background:#163c6b;color:white;box-shadow:0 3px 7px #14345f10}.button.primary:hover{background:#20518c}.button.secondary{color:#294e7e;border-color:#cdd8e8;background:#fff}.button.secondary:hover{background:#edf3fc}.text-button{font-size:12px;color:#1c61bc}.icon-button{color:#617797}.icon-button:hover{background:#e9eff8}.badge{font-size:10px;border-radius:5px;padding:5px 8px;background:#eaf0f8;color:#587090}.badge.info{background:#e3efff;color:#2670c8}.badge.warning{background:#fff1d3;color:#a1742c}.badge.success{background:#dff3e8;color:#278754}.muted{color:#7b8ca6}.task-title strong{font-size:13px;font-weight:550;color:#192943}.task-title:hover strong{color:#1764c7}.task-title small{font-size:10px;color:#7c8da7}.task-date{font-size:11px;color:#637997}.task-date.overdue{color:#c5545c}.task-row{padding:19px 0;border-color:#e7edf6;gap:13px}.task-row .priority{font-size:10px}.priority.high{color:#c36a58}.priority.low{color:#639a83}.check{border-color:#c8d5e6;width:20px;height:20px}.check.checked{background:#2a75cf;border-color:#2a75cf}.follow.selected{color:#b9852d;background:#fff2d9}.search-field{border-color:#ccd9e9}.search-field input,.filters select{font-size:12px}.filters{gap:12px}.filters select{max-width:190px}.count{background:#e7eef9;color:#4a6e9f}.empty{color:#72849f}.empty>span{color:#c7a55e}.info-strip{background:#edf3fc;border-color:#dae5f3;color:#607a9e;font-size:12px}.feature-icon{background:#e7f0ff;color:#2567b5}.card-grid .panel>p{font-size:13px;color:#697c98}.card-grid h2{font-size:19px}.person-line{font-size:12px;color:#667b99}.person-card .team-workload{background:#edf3fb;color:#73849e}.team-workload strong{color:#235d9b}.document-card{background:#fff;border-color:#dce5f3;box-shadow:0 4px 14px #214b7d05}.document-card:hover{border-color:#93b0d9}.document-card>strong{font-size:14px}.document-card>small{color:#6f829d;font-size:11px}.doc-icon{background:#e4efff;color:#3574bf}.chat-sidebar{background:#f7f9fd}.chat-item.active,.chat-item:hover{background:#e7effb}.chat-icon{background:#dee9fa;color:#34649a}.chat-item strong{font-size:13px}.chat-item small{color:#7185a2}.message p{background:#edf2fa;font-size:13px}.message.mine p{background:#e0ecfc}.message-meta strong{font-size:11px}.message-meta time{color:#7d8fa8}.notification-row{font-size:13px}.notification-row.unread{background:#eff5ff}.notification-row:hover{background:#e6eefb}.document-preview,blockquote{background:#f1f5fc;color:#415b7c}blockquote{border-left-color:#d3a54e}.tabs button.active{color:#1b5fb4;border-color:#1b5fb4}.edit-form label{font-size:12px}.edit-form input,.edit-form select,.edit-form textarea{font-size:13px;border-color:#ccd8e9}dialog{border-color:#d8e2f1;box-shadow:0 24px 90px #0c203c40;background:#fff}dialog::backdrop{background:#0c203c88}#toast{background:#16375e;border-color:#476c9a}footer{max-width:1680px;padding:20px 28px;color:#7b8da7;font-size:10px;border-color:#dde5f1}footer .text-button{font-size:10px;color:#6881a3}
/* Vista Águila: todos los valores proceden del estado local. */
.eagle-heading{margin:0 0 25px}.dashboard-title{display:flex;gap:16px;align-items:flex-start}.title-icon{color:#102b50;margin-top:4px}.title-icon>svg{width:36px;height:36px;stroke-width:1.8}.eagle-heading h1{font-size:33px;letter-spacing:-.8px}.eagle-heading .subtitle{margin-top:4px;font-size:14px}.dashboard-date{display:flex;align-items:center;gap:11px;color:#425b7f;font-size:13px;white-space:nowrap}.dashboard-date svg{width:22px;height:22px}.summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin-bottom:25px}.summary-card{border:1px solid #e2e9f5;box-shadow:0 2px 3px #224f8612,0 8px 20px #224f8605;background:linear-gradient(120deg,#fff,#f9fbff);border-radius:13px;min-height:105px;padding:20px 16px;display:flex;gap:12px;align-items:flex-start;transition:box-shadow .15s,transform .15s}.summary-card:hover{box-shadow:0 5px 18px #224f8617;transform:translateY(-2px)}.summary-card>div{min-width:0}.summary-card strong{font-size:31px;line-height:1.15;font-weight:650;letter-spacing:-.8px;display:block;margin-bottom:9px}.summary-card>div>span{font-size:11px;line-height:1.35;display:block;color:#425675}.metric-icon{display:inline-grid;place-items:center;width:39px;height:43px;border-radius:11px;flex-shrink:0}.metric-icon svg{width:25px;height:25px;stroke-width:1.8}.teal{background:#dff4f4;color:#0f9694}.red{background:#ffe8eb;color:#d4464e}.gold{background:#fff3db;color:#b7872b}.blue{background:#e6f0ff;color:#1767dc}.summary-card:has(.red) strong{color:#c83849}.dashboard-grid{display:grid;gap:22px;margin-bottom:24px}.top-grid{grid-template-columns:minmax(0, .92fr) minmax(0,1.16fr)}.bottom-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}.dashboard-grid>.panel{min-width:0}.state-content{display:flex;gap:26px;align-items:center;justify-content:space-between;min-height:210px}.status-donut{width:184px;height:184px;border-radius:50%;background:conic-gradient(var(--segments));padding:27px;flex-shrink:0;box-shadow:inset 0 0 0 1px #fff}.status-donut>div{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fcfdff;width:100%;height:100%;border-radius:50%;box-shadow:0 0 0 2px white}.status-donut strong{font-size:36px;font-weight:650;color:#193456;letter-spacing:-1px;line-height:1.15}.status-donut span{font-size:14px;color:#5d7191;margin-top:7px}.chart-legend{display:flex;flex-direction:column;gap:18px;flex:1;font-size:12px;min-width:0}.chart-legend>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.legend-label{display:flex;align-items:center;gap:9px;white-space:nowrap}.legend-label>i{display:block;width:11px;height:11px;border-radius:50%;box-shadow:inset 0 0 0 1px #00000005}.chart-legend strong{font-weight:650}.chart-legend small{font-size:11px;color:#7e8eaa}.chart-legend>div>span:last-child{white-space:nowrap}.workload-list{display:flex;flex-direction:column;gap:16px;padding:8px 0 0}.workload-row{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:0;border-radius:7px}.workload-row:hover{background:#f0f5fc}.workload-row .avatar{width:32px;height:32px;font-size:11px}.workload-name{font-size:12px;width:118px;flex-shrink:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workload-track{flex:1;min-width:0;height:14px;display:flex;align-items:center}.workload-bar{display:flex;height:14px;width:var(--bar-width);border-radius:6px;overflow:hidden;min-width:0}.workload-bar>i{display:block;height:100%;background-image:linear-gradient(#ffffff24,transparent)!important}.workload-row>strong{width:20px;text-align:right;font-size:12px;font-weight:550}.chart-note{font-size:10px;color:#8192aa;margin-top:20px;line-height:1.6}.key-panel,.recent-panel{min-height:304px}.key-list{display:flex;flex-direction:column;gap:5px}.key-row{display:flex;align-items:center;gap:11px;width:100%;padding:6px 0;text-align:left;min-height:47px;border-bottom:1px solid #e7edf7}.key-row:last-child{border:0}.key-row:hover{background:#eef4fd;border-radius:7px}.key-row.key-overdue{background:linear-gradient(90deg,#fff0f3,#fff8f9);border-radius:7px;border-color:transparent}.key-row .metric-icon{width:33px;height:34px;border-radius:9px}.key-row .metric-icon svg{width:23px;height:23px}.key-title{flex:1;min-width:0;font-size:12px;line-height:1.55}.key-chip{padding:5px 7px;font-size:10px;border-radius:5px;white-space:nowrap;max-width:45%;overflow:hidden;text-overflow:ellipsis}.recent-list{display:flex;flex-direction:column}.recent-row{display:flex;align-items:center;gap:12px;width:100%;padding:14px 0;border-top:1px solid #e5ebf5;text-align:left}.recent-row:hover{background:#f0f5fd}.recent-row .metric-icon{width:36px;height:38px}.recent-row .metric-icon svg{width:22px;height:22px}.recent-text{flex:1;min-width:0}.recent-text>strong{font-size:12px;font-weight:500;display:block;line-height:1.55}.recent-text>small{display:block;font-size:10px;color:#8795ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.recent-row time{font-size:10px;color:#7284a0;line-height:1.8;text-align:right;white-space:nowrap}.activity-footer{display:flex;align-items:center;gap:9px;color:#7a8fab;font-size:11px;margin-top:14px}.activity-footer svg{width:15px;height:15px}.search-group{margin-top:25px}.search-group h3{font-size:12px;color:#7d8fa9;font-weight:600;text-transform:uppercase;letter-spacing:1px;margin-bottom:8px}.search-result{display:flex;align-items:center;gap:13px;width:100%;padding:15px 8px;border-bottom:1px solid #e4ebf5;text-align:left}.search-result>svg{color:#5276a1}.search-result>span:nth-child(2){flex:1;font-size:13px}.search-result small{display:block;font-size:11px;color:#7d90aa;margin-top:5px}.search-result:hover{background:#edf3fc;border-radius:7px}
@media(min-width:1500px){.sidebar{width:260px}.shell{margin-left:260px}main{padding:32px 28px}.summary-grid{gap:15px}.summary-card{padding:21px 17px;min-height:111px}.summary-card>div>span{font-size:12px}.summary-card strong{font-size:34px}.topbar{padding:0 36px}.section-head h2{font-size:20px}.state-content{min-height:230px;gap:28px}.status-donut{width:200px;height:200px;padding:30px}.chart-legend{font-size:14px}.chart-legend small{font-size:12px}.workload-list{gap:17px;padding-top:15px}.workload-name{width:138px;font-size:14px}.workload-row .avatar{width:35px;height:35px;font-size:12px}.workload-row>strong{font-size:14px}.key-title,.recent-text>strong{font-size:14px}.key-chip{font-size:11px}.key-row{min-height:48px}.key-panel,.recent-panel{min-height:320px}.chart-note{margin-top:27px}.nav-item{font-size:15px;margin:7px 0;padding-top:15px;padding-bottom:15px}#toast{left:calc(50% + 130px)}}
@media(max-width:1350px){.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.summary-card{min-height:88px;align-items:center;padding:15px 20px;gap:16px}.summary-card strong{font-size:28px;margin-bottom:4px}.summary-card>div>span{font-size:12px}.state-content{flex-direction:column;gap:23px}.chart-legend{width:100%;flex-direction:row;flex-wrap:wrap;gap:12px 20px;justify-content:center}.chart-legend>div{gap:8px}.chart-legend small{display:none}.status-donut{width:164px;height:164px;padding:24px}.workload-list{padding-top:24px;gap:22px}.workload-name{width:106px}.section-head h2{font-size:16px}.key-chip{max-width:35%}.bottom-grid{grid-template-columns:1fr 1fr}.header-profile{padding-left:17px}.local-pill{display:none}.top-actions{gap:18px}.dashboard-date{font-size:12px}.key-title{font-size:12px}.recent-row .metric-icon{display:none}.top-grid{grid-template-columns:.95fr 1.05fr}.workload-track{height:12px}.workload-bar{height:12px}.chart-note{margin-top:24px}.chart-legend{font-size:10px}.legend-label{gap:6px}}
@media(max-width:1050px){.sidebar{width:220px;padding-left:10px;padding-right:10px}.shell{margin-left:220px}.brand{font-size:25px;gap:7px}.brand img{width:50px;height:50px}.nav-item{font-size:12px;padding:12px 13px;gap:12px}.nav-icon,.nav-icon svg{width:22px}.topbar{padding:0 22px;gap:18px}.header-profile strong{font-size:11px}.header-profile small{font-size:10px}.global-search{max-width:48%;height:42px}.global-search input{font-size:12px}main{padding:27px 23px}.eagle-heading h1{font-size:28px}.eagle-heading .subtitle{font-size:12px}.title-icon>svg{width:31px;height:31px}.dashboard-date{font-size:10px;gap:7px}.dashboard-date>svg{width:18px;height:18px}.dashboard-title{gap:12px}.dashboard-grid{gap:18px}.top-grid,.bottom-grid{grid-template-columns:1fr}.state-content{flex-direction:row;justify-content:center;gap:45px;min-height:190px}.chart-legend{width:auto;flex:0 1 230px;display:flex;flex-direction:column;gap:16px;align-items:stretch;font-size:12px}.chart-legend>div{justify-content:space-between}.chart-legend small{display:inline;font-size:11px}.workload-list{padding-top:3px;gap:15px}.workload-name{width:150px;font-size:13px}.workload-bar,.workload-track{height:15px}.chart-note{margin-top:20px}.key-panel,.recent-panel{min-height:0}.recent-row .metric-icon{display:grid}.key-row{min-height:48px}.key-chip{max-width:45%;font-size:11px}.key-title,.recent-text>strong{font-size:13px}.recent-row time{font-size:11px}.summary-card{padding:16px}.summary-card .metric-icon{width:36px;height:39px}.summary-card>div>span{font-size:11px}.section-head h2{font-size:17px}footer{padding:20px 23px}#toast{left:calc(50% + 110px)}}
@media(max-width:760px){.sidebar{width:250px;top:68px;padding:18px 12px;box-shadow:15px 0 35px #0c203c24}.sidebar .brand{display:flex;height:65px;padding-left:12px;font-size:26px}.sidebar .brand img{width:47px;height:47px}#navigation{margin-top:17px}.nav-item{font-size:13px;padding:12px 16px;margin:4px 0;min-height:44px}.sidebar-bottom{padding-top:18px}.shell{margin-left:0}.topbar{height:68px;padding:0 15px;gap:13px;background:#fbfdff;z-index:21}.mobile-menu{display:grid;flex-shrink:0;color:#1c3b65;width:27px}.global-search{max-width:none;flex:1;min-width:0;height:38px;padding:0 10px;gap:9px}.global-search>svg{width:17px;height:17px}.global-search input{font-size:12px}.global-search>button{display:none}.top-actions{gap:0;margin-left:0}.header-profile{display:none}.notification-button{width:27px;height:32px}.notification-button svg{width:21px;height:21px}.notification-button>span:not(:empty){font-size:8px;height:15px;min-width:15px;line-height:11px;top:-2px;right:-5px}main{padding:25px 16px 22px;min-height:calc(100vh - 145px)}.eagle-heading{display:block;margin-bottom:21px}.dashboard-title{gap:12px}.eagle-heading h1{font-size:28px}.title-icon{margin-top:2px}.title-icon>svg{width:31px;height:31px}.eagle-heading .subtitle{font-size:11px;margin-top:5px}.dashboard-date{font-size:10px;gap:7px;margin:14px 0 0 43px}.dashboard-date>svg{width:15px;height:15px}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:19px}.summary-card{gap:11px;padding:15px 12px;border-radius:11px;min-height:85px}.summary-card strong{font-size:27px}.summary-card>div>span{font-size:10px}.summary-card .metric-icon{width:32px;height:35px;border-radius:9px}.summary-card .metric-icon svg{width:22px;height:22px}.dashboard-grid{margin-bottom:18px;gap:18px}.panel{padding:20px 16px;border-radius:12px}.section-head{margin-bottom:19px}.section-head h2{font-size:16px;gap:9px}.section-head h2 svg{width:21px;height:21px}.section-head>a{font-size:10px;gap:5px}.section-head>a svg{width:13px;height:13px}.state-content{gap:20px;min-height:175px}.status-donut{width:142px;height:142px;padding:20px}.status-donut strong{font-size:30px}.status-donut span{font-size:12px;margin-top:5px}.chart-legend{font-size:10px;gap:14px;flex:1;min-width:0}.chart-legend small{display:none}.legend-label{gap:6px}.legend-label>i{width:8px;height:8px}.state-panel .section-head>.muted{display:none}.workload-list{gap:16px;padding:0}.workload-name{width:99px;font-size:11px}.workload-row{gap:9px}.workload-row .avatar{width:28px;height:28px;font-size:9px}.workload-track,.workload-bar{height:12px}.workload-row>strong{font-size:11px;width:14px}.chart-note{font-size:9px;line-height:1.7;margin-top:18px}.key-title{font-size:11px}.key-chip{font-size:9px;max-width:37%;padding:5px}.key-row{gap:8px;padding:8px 0;min-height:51px}.key-row .metric-icon{width:27px;height:29px;border-radius:7px}.key-row .metric-icon svg{width:20px;height:20px}.key-panel .section-head .text-button{font-size:10px;padding:4px;white-space:nowrap}.key-panel .section-head h2{font-size:14px}.recent-row{gap:10px;padding:14px 0}.recent-row .metric-icon{width:30px;height:32px}.recent-text>strong{font-size:11px}.recent-row time{font-size:9px}.recent-text>small{font-size:9px}.page-heading{margin-bottom:23px}h1{font-size:27px}.subtitle{font-size:12px}.filters select{flex:1 1 44%;font-size:11px;max-width:100%}.filters .text-button{flex:1}.task-row{gap:9px}.task-title strong{font-size:12px}.task-title small{font-size:10px}.task-date{font-size:10px;min-width:35px}.task-row .avatar{width:26px;height:26px;font-size:8px}.task-row .follow{width:24px}.button{font-size:12px}.info-strip{font-size:11px}.card-grid{gap:18px}.section-head>.muted{font-size:10px}footer{padding:18px 16px;font-size:9px}footer .text-button{font-size:10px}#toast{left:50%;font-size:12px}.message p{font-size:12px}.search-result>span:nth-child(2){font-size:12px}.search-result .badge{font-size:9px}.search-result{gap:10px}.search-result>svg{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.summary-card{transition:none}}
