/* COMMAND 2.6 — Interfaz de trabajo, jerarquía visual y accesibilidad.
   CSS adicional: no reemplaza componentes ni permisos. */
:root{--cmd-ink:#1c2e46;--cmd-soft:#f7f9fd;--cmd-primary:#3157c7;--cmd-border:#dfe6f0;--cmd-danger:#a52a36}
body{background:#f5f7fb}
#content{max-width:1510px;padding-top:25px}
.page-head{align-items:center;margin-bottom:18px}
.page-head h1{font-size:25px;letter-spacing:-.045em;margin:0 0 5px;color:var(--cmd-ink)}
.page-head p{font-size:12px;line-height:1.55}
.page-head .head-actions{flex-wrap:wrap;justify-content:flex-end}
.btn{transition:background-color .14s,border-color .14s;min-height:37px}
.btn:hover{transform:none}
.btn:focus-visible,.nav-item:focus-visible,.filter-btn:focus-visible,.view-toggle:focus-visible,.executive-item:focus-visible,.doc-tabs button:focus-visible,.task-row:focus-visible,.board-card:focus-visible{outline:3px solid #9db7ff;outline-offset:2px}
/* Pantalla principal: una cola de decisión con acciones completas en cada fila */
.executive-overview{border:1px solid #dbe5f2;border-radius:14px;background:#fff;overflow:hidden;margin-bottom:17px}
.executive-overview-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 22px;border-bottom:1px solid #e7edf6}
.executive-overview-top h2{font-size:17px;font-weight:800;letter-spacing:-.02em;margin:0 0 4px;color:#172c48}
.executive-overview-top p{font-size:11px;line-height:1.5;margin:0;color:#66758c}
.executive-total{white-space:nowrap;border-radius:99px;font-weight:750;color:#63728b;background:#f0f3f7;font-size:11px;padding:7px 11px}
.executive-total.has-items{color:#1b4aa6;background:#e7efff}
.executive-action-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:7px 11px}
.executive-item{display:flex;gap:14px;align-items:center;border:1px solid transparent;background:transparent;text-align:left;padding:15px 12px;min-width:0;border-radius:9px;color:var(--cmd-ink)}
.executive-item:hover{border-color:#cfdef4;background:#f6f9ff}
.executive-number{width:43px;height:43px;display:grid;place-items:center;background:#f0f3fa;border:1px solid #e0e6ef;border-radius:10px;flex-shrink:0;font-size:21px;font-weight:800;letter-spacing:-.05em;font-variant-numeric:tabular-nums;color:#3b587f}
.executive-item.urgent .executive-number{background:#fff0f0;border-color:#ffd2d2;color:#a82e3a}
.executive-item.review .executive-number{background:#ecf2ff;border-color:#d4e2fe;color:#2b56b5}
.executive-item-text{min-width:0;flex:1}
.executive-item-text strong{display:block;font-size:12px;font-weight:800;margin-bottom:3px}
.executive-item-text small{display:block;font-size:10.5px;color:#68798e;line-height:1.4}
.executive-arrow{font-size:17px;color:#7186a2}
.executive-secondary-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,1fr);gap:16px}
.executive-panel .panel-head{padding:18px 19px 12px}
.executive-panel .task-list{padding:0 12px 12px}
.executive-panel .meeting-list{padding-bottom:10px}
.executive-small-warning{color:#7a5260;font-size:11px;padding:12px 2px}
/* Pendientes: barra compacta; el icono SVG nunca puede convertirse en círculo negro */
.list-toolbar{padding:11px 13px;gap:11px;border-radius:12px;align-items:center;justify-content:flex-start}
.list-toolbar .search-box{min-width:250px;max-width:370px;min-height:41px;flex:1 1 270px;background:#fff;box-shadow:none}
.list-toolbar .search-box>svg{display:block!important;position:static!important;flex:0 0 17px!important;width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important;min-width:17px!important;min-height:17px!important;fill:none!important;stroke:#687b93!important;stroke-width:1.8!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;aspect-ratio:1}
.list-toolbar .search-box>svg *{fill:none!important;stroke:inherit!important}
.list-toolbar .search-box input{width:100%;min-width:0;font-size:12px;line-height:20px}
.filter-options{flex:1 1 360px;gap:3px}
.filter-btn{padding:9px 10px;color:#556784;font-size:11px}
.filter-btn.selected{background:#eaf1ff;color:#214bb1}
.view-toggles{margin-left:auto;flex:none}
.view-toggle{min-height:32px;min-width:32px}
.view-toggle svg{width:17px;height:17px;fill:none;stroke:currentColor}
.board-col{min-height:115px;border:1px solid #e4ebf5;background:#f4f7fc;border-radius:11px}
.board-heading{font-size:11px}
.board-card{box-shadow:none}
.board-card:focus-visible{outline-offset:2px}
.table-panel{border-radius:12px}
.task-table th{background:#f8faff;padding:14px;font-size:10px}
.task-table td{padding:13px 14px}
.task-table tr:hover td{background:#f7f9ff}
.doc-tabs{gap:4px;flex-wrap:wrap}
.doc-tabs button{white-space:nowrap}
.cmd-directiva-label{color:#1b4798!important;background:#e5efff!important;letter-spacing:.01em!important}
.board-card.cmd-directiva,.task-row.cmd-directiva{background:#f2f6ff}
.board-card.cmd-vencida{border-left-color:#af3340}
.doc-row:hover{background:#f5f8ff}
/* Menús y movilidad */
.sidebar-nav .nav-item{min-height:42px}
.sidebar-nav .nav-item.active{background:#334c77}
.nav-item .nav-ico svg{width:18px;height:18px}
.drawer{scrollbar-gutter:stable}
.modal{scrollbar-gutter:stable}
@media(max-width:1120px){.executive-secondary-grid{grid-template-columns:1fr}.executive-action-list{grid-template-columns:1fr}}
@media(max-width:750px){
 #content{padding:19px 14px 50px}
 .page-head{flex-direction:column;align-items:stretch;gap:12px}
 .page-head .head-actions{justify-content:flex-start}
 .executive-overview-top{padding:15px}
 .executive-action-list{padding:4px 7px}
 .executive-item{padding:12px 7px;gap:10px}
 .executive-number{width:39px;height:39px;font-size:19px}
 .executive-item-text strong{font-size:11.5px}
 .executive-item-text small{font-size:10px}
 .executive-secondary-grid{gap:12px}
 .list-toolbar{align-items:stretch}
 .list-toolbar .search-box{max-width:none;min-width:0;flex-basis:100%}
 .list-toolbar .filter-options{flex-basis:100%;order:2;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
 .list-toolbar .filter-btn{white-space:nowrap}
 .view-toggles{order:3;border-left:0;padding-left:0;margin-left:0}
 .task-table{min-width:640px}
}
@media print{.executive-overview,.executive-secondary-grid{break-inside:avoid}}
/* Iconografía funcional, sin rellenos negros por estilos del navegador. */
.task-status-indicator svg,.task-status-indicator svg *{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round;stroke-linejoin:round}
.task-status-indicator svg{width:19px;height:19px}
