.dh-root{max-width:1500px;margin:auto}.dh-source{font-size:12px;color:#65768c;margin:0 0 16px}.dh-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid #dce4ee;margin-bottom:18px;padding-bottom:7px}.dh-tabs button{flex-shrink:0;background:transparent;border:0;color:#52647c;padding:9px 12px;border-radius:7px;font-weight:650;font-size:12px;cursor:pointer}.dh-tabs button.active{background:#e9f0ff;color:#245bc7}.dh-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;background:#fff;border:1px solid #e1e7ef;padding:14px;border-radius:10px}.dh-filters label,.dh-search label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#52647c}.dh-filters .field{max-width:170px;height:36px;padding:6px 10px}.dh-hub-picker{position:relative;align-self:end}.dh-hub-picker summary{cursor:pointer;font-size:12px;padding:10px;border:1px solid #d8e1ec;border-radius:7px}.dh-hub-picker>div{position:absolute;z-index:60;min-width:210px;max-height:270px;overflow:auto;background:#fff;box-shadow:0 8px 24px #24395522;padding:12px;border:1px solid #dce4ef;border-radius:8px;top:43px}.dh-hub-picker label{display:block;padding:7px;white-space:nowrap}.dh-search{margin:12px 0}.dh-search .field{max-width:360px}.dh-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:10px;margin:14px 0}.dh-metric{background:#fff;border:1px solid #e1e7ef;border-radius:10px;padding:15px}.dh-metric span,.dh-metric small{display:block;color:#6b7b90;font-size:11px}.dh-metric strong{display:block;font-size:27px;line-height:1.4;color:#182d48;font-weight:750;margin:4px 0}.dh-panel{background:white;border:1px solid #e1e7ef;border-radius:10px;margin:14px 0;padding:18px;min-width:0}.dh-panel h2{font-size:15px;margin:0 0 14px;color:#1d3553}.dh-empty{padding:24px 20px;background:#f4f7fb;border:1px dashed #cfdbe9;border-radius:9px;color:#61738b;margin:14px 0;line-height:1.6;font-size:13px}.dh-empty strong{color:#2f4867}.dh-empty p{margin:6px 0 0}.dh-table{overflow:auto}.dh-table table{width:100%;font-size:12px;border-collapse:collapse}.dh-table th{text-align:left;font-size:10px;color:#7a8aa0;text-transform:uppercase;letter-spacing:.03em;background:#f6f8fb;white-space:nowrap}.dh-table td,.dh-table th{padding:11px 10px;border-bottom:1px solid #edf1f6;vertical-align:top}.dh-table .button{font-size:11px;padding:5px 8px;margin:2px;white-space:nowrap}.dh-bars{display:flex;gap:8px;align-items:end;min-height:160px;overflow:auto;padding:10px}.dh-bar{background:none;border:0;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:5px;min-width:38px;flex:1;cursor:pointer;color:#55708d;font-size:11px}.dh-bar span{background:#4a78db;width:100%;max-width:48px;border-radius:5px 5px 0 0}.dh-bar:hover span,.dh-bar:focus-visible span{background:#1b4db3}.dh-bar small{white-space:nowrap;font-size:10px}.dh-definitions{font-size:12px;color:#6b7f99;padding:14px 0;line-height:1.7}.dh-definitions summary{cursor:pointer;font-weight:650}.dh-connect{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:#7a8ba2;border-top:1px solid #dce4ee;padding:15px 0;margin-top:8px}.dh-history{white-space:pre-wrap;word-break:break-word;max-height:350px;overflow:auto;background:#f4f7fb;padding:14px;font-size:12px}.dh-root button:focus-visible,.dh-root summary:focus-visible{outline:2px solid #2563eb;outline-offset:3px}@media(max-width:700px){.dh-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dh-metric{padding:12px}.dh-metric strong{font-size:23px}.dh-filters{gap:9px}.dh-filters label{flex:1;min-width:120px}.dh-filters .field{width:100%;max-width:none}.dh-panel{padding:12px}.dh-root .section-head{gap:12px}.dh-hub-picker>div{right:0}}

/* Directors Hub: aligned KPI overview and matching compact hub header. */
body.nx-redesigned[data-nx-page="directors"] .dh-root>.section-head:first-child{
 position:relative;
 box-sizing:border-box;
 height:136px;
 min-height:136px;
 padding:23px 26px;
}
body.nx-redesigned[data-nx-page="directors"] .dh-root>.section-head:first-child>.actions{
 position:absolute;
 right:26px;
 bottom:17px;
 z-index:3;
 display:flex;
 justify-content:flex-end;
 align-items:center;
 width:auto;
 margin:0;
 padding:0;
 border:0;
 box-shadow:none;
 background:transparent;
}
body.nx-redesigned[data-nx-page="directors"] .dh-header-hubs{
 display:flex;
 align-items:center;
 justify-content:flex-end;
 flex-wrap:wrap;
 gap:7px;
}
body.nx-redesigned[data-nx-page="directors"] .dh-header-hubs button{
 border:1px solid rgba(255,255,255,.35);
 background:rgba(255,255,255,.10);
 color:#fff;
 padding:9px 12px;
 border-radius:8px;
 font-size:12px;
 font-weight:700;
 cursor:pointer;
 white-space:nowrap;
}
body.nx-redesigned[data-nx-page="directors"] .dh-header-hubs button.active{
 background:#fff;
 color:#55224a;
 border-color:#fff;
}
body.nx-redesigned[data-nx-page="directors"] .dh-overview-metrics{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:14px;
 align-items:stretch;
 margin:18px 0 22px;
}
body.nx-redesigned[data-nx-page="directors"] .dh-overview-metrics>.dh-metric{
 box-sizing:border-box;
 min-width:0;
 min-height:166px;
 display:grid;
 grid-template-rows:42px 48px 1fr;
 align-items:start;
 gap:5px;
 padding:17px 19px;
 border:1px solid #e8d9e7;
 border-top:3px solid #a675a0;
 border-radius:12px;
 background:#fff;
 box-shadow:0 3px 10px rgba(58,24,54,.025);
}
body.nx-redesigned[data-nx-page="directors"] .dh-overview-metrics>.dh-metric span{
 font-size:12px;
 line-height:1.45;
 font-weight:650;
 color:#7a5279;
 margin:0;
}
body.nx-redesigned[data-nx-page="directors"] .dh-overview-metrics>.dh-metric strong{
 margin:0;
 font-size:32px;
 line-height:1.15;
 font-weight:800;
 color:#431a3d;
 font-variant-numeric:tabular-nums;
}
body.nx-redesigned[data-nx-page="directors"] .dh-overview-metrics>.dh-metric small{
 align-self:end;
 margin:0;
 font-size:11px;
 line-height:1.4;
 color:#8b718b;
}
@media(max-width:1160px){
 body.nx-redesigned[data-nx-page="directors"] .dh-overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:780px){
 body.nx-redesigned[data-nx-page="directors"] .dh-root>.section-head:first-child{
  display:flex;flex-direction:column;align-items:flex-start;
  height:auto;min-height:136px;padding:22px 20px;
 }
 body.nx-redesigned[data-nx-page="directors"] .dh-root>.section-head:first-child>.actions{
  position:static;justify-content:flex-start;width:100%;margin-top:12px;
 }
 body.nx-redesigned[data-nx-page="directors"] .dh-header-hubs{justify-content:flex-start}
 body.nx-redesigned[data-nx-page="directors"] .dh-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:490px){
 body.nx-redesigned[data-nx-page="directors"] .dh-overview-metrics{grid-template-columns:1fr}
 body.nx-redesigned[data-nx-page="directors"] .dh-overview-metrics>.dh-metric{min-height:145px}
}

/* Keep long operational registers within their cards. */
.dh-root .dh-records-scroll{max-height:480px;overflow:auto;scrollbar-gutter:stable;position:relative}
.dh-root .dh-records-scroll thead th{position:sticky;top:0;z-index:2;background:#f7f2f8;box-shadow:0 1px 0 #e7deeb}
.dh-root .dh-records-scroll:focus-visible{outline:2px solid #753267;outline-offset:2px}
@media(max-width:700px){.dh-root .dh-records-scroll{max-height:380px}}
