/* Executive portfolio views; inherits the established application type and palette. */
.language-globe { display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#526084;background:#f1f3fb;flex-shrink:0; }
.language-globe svg { width:23px;height:23px; }
.language-select { gap:8px; }
#current-user-display-name { font-size:inherit;display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
#renewal-nav-badges { flex:0 0 auto;flex-wrap:nowrap;justify-content:flex-end;min-width:24px;white-space:nowrap; }
.portfolio-view-switch { display:inline-flex;gap:4px;padding:4px;border:1px solid #e1e5ef;background:#f6f7fc;border-radius:12px;flex-wrap:wrap; }
.portfolio-view-switch button { padding:10px 15px;border:0;border-radius:9px;background:transparent;color:#65718a;font:inherit;font-size:12px;font-weight:700;cursor:pointer; }
.portfolio-view-switch button[aria-pressed="true"] { color:#5148d7;background:#fff;box-shadow:0 2px 9px #1f254312; }
.portfolio-view-switch button:focus-visible,.geo-ranking button:focus-visible { outline:2px solid #625df0;outline-offset:2px; }
.customer-tools { flex-wrap:wrap; }
.operational-customers { display:grid;gap:22px; }
.customer-list-name { display:flex;align-items:center;gap:12px;background:none;border:0;text-align:left;cursor:pointer;color:inherit;font:inherit; }
.customer-list-name .company-icon { flex-shrink:0;width:38px;height:38px;font-size:12px; }
.operational-customer-table { background:white;border:1px solid #e1e5ef;border-radius:16px; }
.operational-customer-table th { white-space:nowrap; }
.portfolio-location-warning { display:inline-block;padding:3px 6px;border-radius:6px;background:#fff3d6;color:#9a6511;font-size:10px;white-space:nowrap; }
.operational-customer-table td:last-child { white-space:nowrap; }
.operational-passive { padding:18px;border:1px dashed #ccd3e1;border-radius:16px;background:#f7f8fb; }
.operational-passive summary { cursor:pointer;font-weight:750;color:#65718a; }
.operational-passive summary span { margin-left:10px;padding:3px 9px;border-radius:8px;background:#e6e9f0; }
.operational-passive summary small { margin-left:12px;font-weight:400; }
.operational-passive[open]>summary { margin-bottom:18px; }
.portfolio-location-field { margin:16px 0;padding:18px;border:1px solid #dfe6eb;border-radius:14px;background:#f8fbfc; }
.portfolio-location-field legend { font-weight:750;padding:0 7px; }
.portfolio-location-field>p,.portfolio-location-field>small { color:#718098;font-size:12px;line-height:1.6; }
.portfolio-location-field .form-grid { margin:12px 0; }
.portfolio-view-tools { display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 24px;border-bottom:1px solid #e8ebf3; }
.portfolio-expand-header { display:inline-flex;align-items:center;gap:8px; }
.portfolio-expand-header svg,.portfolio-stage-expand svg { width:19px;height:19px; }
.portfolio-stage-expand { position:absolute;right:18px;top:62px;z-index:3;width:38px;height:38px;border:1px solid #dcdff0!important;background:#ffffffed!important;color:#6157da;box-shadow:0 4px 16px #45447712; }
.portfolio-presentation-open { overflow:hidden; }
.analytics-panel.is-expanded { position:fixed;inset:12px;z-index:1200;margin:0;background:#fff;overflow:auto;border-radius:18px;box-shadow:0 0 0 30px #17213ac9;overscroll-behavior:contain; }
.analytics-panel.is-expanded>.portfolio-view-tools { position:sticky;top:0;z-index:10;background:#fff; }
.analytics-panel.is-expanded .portfolio-chart-stage { grid-template-columns:minmax(0,1.5fr) minmax(250px,.6fr);gap:4%;min-height:65vh;padding:22px 4%; }
.analytics-panel.is-expanded .portfolio-chart-visual { min-width:0; }
.analytics-panel.is-expanded .portfolio-donut { width:min(100%,900px);max-width:none;max-height:74vh; }
.analytics-panel.is-expanded .portfolio-chart-legend { max-height:68vh;overflow:auto;padding:6px; }
.analytics-studio-bar.geography-controls>label:not(:first-child),.analytics-studio-bar.geography-controls .analytics-3d-button,.analytics-studio-bar.geography-controls .analytics-list-toggle:not(:has(#portfolio-chart-active-toggle)) { display:none!important; }
.analytics-studio-bar.geography-controls { grid-template-columns:minmax(180px,300px) 1fr;align-items:end; }
#portfolio-chart[hidden],#portfolio-chart-list[hidden],#portfolio-geography[hidden] { display:none!important; }
#portfolio-geography { padding:26px; }
.geo-overview { display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px; }
.geo-overview h3 { margin:6px 0;font-size:23px;letter-spacing:-.6px; }
.geo-overview p { color:#758298;font-size:12px;max-width:570px;line-height:1.7; }
.geo-metrics { display:flex;gap:24px; }
.geo-metrics span { display:grid;gap:5px;color:#778299;white-space:nowrap;font-size:11px; }
.geo-metrics b { color:#26324b;font-size:27px; }
.geo-map-surface path:focus-visible { outline:2px solid #625df0;outline-offset:2px; }
.geo-layout { display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:26px;margin-top:22px;align-items:start; }
.geo-map-surface { padding:18px;background:linear-gradient(150deg,#f7fafb,#fff);border:1px solid #e7edf0;border-radius:18px; }
.geo-map-surface svg { display:block;width:100%;height:auto;min-height:180px; }
.geo-map-surface path { stroke:white;stroke-width:.8;cursor:pointer;transition:fill .2s,filter .2s; }
.geo-map-surface path:hover,.geo-map-surface path.selected { stroke:#35305e;stroke-width:2;filter:brightness(.93); }
.geo-world-map path { stroke-width:.45;vector-effect:non-scaling-stroke; }
.geo-scale { display:flex;justify-content:center;align-items:center;gap:10px;font-size:11px;color:#7a8798; }
.geo-scale i { height:7px;width:130px;border-radius:8px;background:linear-gradient(90deg,#e7ecf1,#97cec1,#08796e); }
.geo-note { margin:18px 0 8px;text-align:center;color:#748197;font-size:11px;line-height:1.6; }
.geo-toolbar { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap; }
.geo-expand-button { display:inline-flex;align-items:center;gap:8px;white-space:nowrap; }
.geo-expand-button svg { width:19px;height:19px; }
.analytics-panel.is-expanded.geography-view>header { display:none; }
.analytics-panel.is-expanded .geo-layout { grid-template-columns:minmax(0,1fr) minmax(250px,300px); }
.analytics-panel.is-expanded .geo-map-surface svg { max-height:65vh; }
@media(max-width:900px) { .analytics-panel.is-expanded .geo-layout { grid-template-columns:1fr; } }
@media print { .geo-expand-button { display:none!important; } }
.geo-ranking h4 { margin:0 0 6px;font-size:14px; }
.geo-ranking>small { font-size:10px;color:#7c889b; }
.geo-ranking>div { display:grid;gap:8px;margin-top:16px;max-height:390px;overflow:auto;padding:2px; }
.geo-ranking button { position:relative;display:flex;justify-content:space-between;align-items:center;gap:8px;overflow:hidden;padding:14px 10px;background:#fff;border:1px solid #e6ebef;border-radius:10px;font:inherit;font-size:12px;cursor:pointer;text-align:left; }
.geo-ranking button[aria-pressed="true"] { border-color:#168d7f;background:#f3faf8; }
.geo-ranking button small { color:#8c96a5; }
.geo-ranking button i { position:absolute;bottom:0;left:0;height:3px;background:#52af9f; }
.geo-selected { margin-top:22px;padding-top:18px;border-top:1px solid #e8edf1; }
.geo-selected header { display:flex;align-items:center;justify-content:space-between;color:#56637a;font-size:12px; }
.geo-selected h4 { font-size:15px;margin:0 0 12px; }
.geo-selected>div { display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px; }
.geo-selected article { display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e7eaf0;border-radius:12px; }
.geo-selected article>div { flex:1;min-width:0; }
.geo-selected article strong { display:block;font-size:12px; }
.geo-selected article small { display:block;color:#7d899e;font-size:10px;margin-top:4px; }
.geo-selected .company-icon { width:34px;height:34px;font-size:11px;flex-shrink:0; }
.geo-loading { padding:40px;text-align:center;color:#7b879a; }
@media(max-width:900px) { .geo-overview { align-items:flex-start;flex-direction:column; }.geo-layout { grid-template-columns:1fr; }.geo-ranking>div { max-height:230px; }.analytics-panel.is-expanded .portfolio-chart-stage { grid-template-columns:1fr; }.analytics-panel.is-expanded { inset:5px; }.portfolio-view-tools { padding:12px;flex-wrap:wrap; }#portfolio-geography { padding:16px; }.geo-metrics { gap:28px; }.operational-customer-table { overflow:auto; }.customer-tools .legend { display:none; } }
@media print { .portfolio-stage-expand,.portfolio-expand-header,.portfolio-view-tools { display:none!important; }.analytics-panel.is-expanded { position:static;overflow:visible;box-shadow:none; }.geo-layout { grid-template-columns:minmax(0,1fr) 200px; }.geo-ranking>div { max-height:none; }.portfolio-presentation-open { overflow:visible; } }
