/* styles */
/*
 * Typographic scale guide:
 *  - h1: 26px
 *  - h2: 20px
 *  - key numbers: 16–18px
 *  - body: 14px
 *  - helper/labels: 12px
 */
:root{
  --ivm-color-primary:#0170b9;
  --ivm-color-accent:#178E79;
  --ivm-color-text-main:#0f172a;
  --ivm-color-text-muted:#64748b;
  --ivm-color-border:#e5e7eb;
  --ivm-color-bg-card:#ffffff;
  --ivm-font-size-body:14px;
  --ivm-font-size-heading:20px;
  --ivm-font-size-title:26px;
  --ivm-font-size-small:12px;
}
.ivm-portfolio{max-width:1120px;margin:0 auto;width:100%;font:16px/1.5 system-ui,Segoe UI,Roboto,Arial}
.ivm-toolbar{display:flex;gap:.5rem;align-items:center;margin-bottom:1rem;flex-wrap:wrap}
.ivm-dropzone{border:2px dashed #d0d7de;border-radius:12px;padding:16px;text-align:center;min-width:260px;transition:all .2s ease;background:#f8fafc;line-height:1.45;word-break:break-word}
.ivm-dropzone strong{display:block;font-weight:700;color:var(--ivm-color-text-main)}
.ivm-dropzone .ivm-drop-name{display:inline-block;color:var(--ivm-color-text-main);font-weight:600}
.ivm-dropzone .ivm-drop-sub{font-size:12px;color:#475569;margin-top:6px}
.ivm-dropzone[data-state="uploading"]{color:var(--ivm-color-accent);font-weight:600}
.ivm-drop-status{margin-top:6px;font-size:14px;color:#475569}
.ivm-drop-status[data-state="error"]{color:#dc2626;font-weight:600}
.ivm-drop-status[data-state="ok"]{color:#15803d;font-weight:600}
.ivm-pdf-logo{display:block;max-width:160px;max-height:40px;width:auto;height:auto;object-fit:contain;object-position:left center}
.ivm-grid{display:grid;grid-template-columns:1fr minmax(260px,320px);gap:16px}
.ivm-column-stack{display:flex;flex-direction:column;gap:16px}
.ivm-commercial-view{display:flex;flex-direction:column;gap:16px;width:100%;max-width:100%;margin:0;padding:0}
.ivm-card{background:#fff;border:1px solid var(--ivm-color-border);border-radius:12px;padding:16px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.ivm-card-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.ivm-card-head .ivm-muted{margin:0;font-size:14px;color:#6b7280}
.ivm-card-head .ivm-input{margin-left:auto;flex-shrink:0}
.ivm-page-methodology{display:flex;flex-direction:column;gap:16px}
.ivm-method-section{display:flex;flex-direction:column;gap:12px}
.ivm-page-methodology h1{margin:0;font-size:26px;color:var(--ivm-color-text-main)}
.ivm-page-methodology h2{margin:0;font-size:20px;color:var(--ivm-color-text-main)}
.ivm-page-methodology h3{margin:0;font-size:16px;color:var(--ivm-color-text-main)}
.ivm-method-section p{margin:0;color:var(--ivm-color-text-main);line-height:1.5}
.ivm-method-hazards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.ivm-method-hazard{background:#f9fafb;border:1px solid var(--ivm-color-border);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px}
.ivm-method-hazard ul{margin:2px 0 0 16px;padding:0;color:var(--ivm-color-text-main)}
.ivm-method-hazard li{margin:0 0 4px}
.ivm-method-scope{font-size:14px;color:#475569}
.ivm-method-table{width:100%;border-collapse:collapse;border-spacing:0;margin-top:4px}
.ivm-method-table th,.ivm-method-table td{border:1px solid var(--ivm-color-border);padding:8px;text-align:left;font-size:14px}
.ivm-method-table th{background:#f9fafb;font-weight:600;color:var(--ivm-color-text-main)}
.ivm-method-table td{color:var(--ivm-color-text-main)}
.ivm-method-bullets{margin:0;padding-left:18px;color:var(--ivm-color-text-main);line-height:1.5}
.ivm-method-bullets li{margin-bottom:4px}
.ivm-method-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.ivm-method-callout{background:#f8fafc;border:1px solid var(--ivm-color-border);border-radius:12px;padding:12px}
.ivm-method-callout ul{margin:6px 0 0 18px;padding:0;line-height:1.5;color:var(--ivm-color-text-main)}
.ivm-method-callout li{margin-bottom:4px}
.ivm-analyze-right{display:flex;flex-direction:column;gap:12px}
.ivm-analyze-right>.ivm-card{margin:0}
.ivm-tabs{display:flex;gap:8px;margin-bottom:8px}
.ivm-tab{padding:8px 12px;border-radius:999px;border:1px solid var(--ivm-color-border);background:#f9fafb;color:var(--ivm-color-text-main);font-weight:600;cursor:pointer;transition:background .2s ease,color .2s ease,box-shadow .2s ease,border-color .2s ease}
.ivm-tab:hover:not(.active):not(.danger){background:var(--ivm-color-accent);color:#fff;border-color:var(--ivm-color-accent);box-shadow:0 6px 16px rgba(23,142,121,.18)}
.ivm-tab.danger:hover{background:#fee2e2;color:#991b1b;border-color:#fecaca}
.ivm-tab:focus-visible{outline:2px solid var(--ivm-color-primary);outline-offset:2px}
.ivm-tab.active{background:var(--ivm-color-primary);color:#fff;border-color:var(--ivm-color-primary);box-shadow:0 6px 16px rgba(1,112,185,.18)}
.ivm-tab.danger{background:#fee2e2;color:#991b1b;border-color:#fecaca}
.ivm-tab.ivm-run-ready{animation:ivm-run-pulse 1.8s ease-in-out infinite;border-color:var(--ivm-color-accent);box-shadow:0 0 0 0 rgba(23,142,121,.35)}
.ivm-table-wrap{width:100%;overflow-x:auto;overflow-y:visible;margin-top:8px;border:1px solid var(--ivm-color-border);border-radius:12px}
.ivm-table-wrap table{margin:0}
.ivm-table{width:100%;border-collapse:separate;border-spacing:0 8px}
.ivm-table.ivm-portfolio{min-width:900px}
.ivm-table th{font-weight:600;text-align:left;padding-right:6px}
.ivm-table-simple{width:100%;border-collapse:collapse;border-spacing:0;font-size:14px;margin:6px 0}
.ivm-table-simple th,.ivm-table-simple td{border:1px solid var(--ivm-color-border);padding:6px;text-align:left}
.ivm-table-simple th{background:#f9fafb;font-weight:600;color:var(--ivm-color-text-main)}
.ivm-table-card-view{display:flex;flex-direction:column;gap:12px}
.ivm-card-row-list{display:none}
.ivm-card-row{background:var(--ivm-color-bg-card);border:1px solid var(--ivm-color-border);border-radius:12px;padding:12px;box-shadow:0 8px 24px rgba(15,23,42,.05);display:flex;flex-direction:column;gap:6px}
.ivm-card-row-top{display:flex;align-items:center;gap:8px;justify-content:space-between}
.ivm-card-row-title{font-weight:600;font-size:var(--ivm-font-size-body);color:var(--ivm-color-text-main);flex:1}
.ivm-card-row-title a{color:inherit;text-decoration:none}
.ivm-card-row-title a:hover{text-decoration:underline}
.ivm-card-row-meta{font-size:var(--ivm-font-size-small);color:var(--ivm-color-text-muted)}
.ivm-card-row-scores{font-size:var(--ivm-font-size-small);color:var(--ivm-color-text-main);display:flex;flex-wrap:wrap;gap:6px}
.ivm-card-row-actions{display:flex;align-items:center;gap:6px;position:relative}
.ivm-card-row-empty{border-style:dashed;text-align:center;color:var(--ivm-color-text-muted)}
.ivm-prop-cell{min-width:220px}
.ivm-prop-main{font-weight:600;color:var(--ivm-color-text-main);line-height:1.2}
.ivm-prop-meta{font-size:14px;color:#475569;line-height:1.35;margin-top:2px}
.ivm-prop-meta span{display:block}
.ivm-prop-meta strong{font-weight:600;color:var(--ivm-color-text-main)}
.ivm-select-col,.ivm-select-cell{width:40px;min-width:40px;text-align:center}
.ivm-select-cell input{width:16px;height:16px}
.ivm-benchmark-text{font-size:14px;color:var(--ivm-color-text-main);line-height:1.35}
.ivm-benchmark-tip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.ivm-benchmark-value{font-size:12px;color:var(--ivm-color-text-main);font-weight:600;text-align:center;line-height:1.2}
.ivm-benchmark-value.ivm-benchmark-hint{border-bottom:1px dotted #94a3b8;padding-bottom:1px;cursor:pointer}
.ivm-benchmark-tip .ivm-tooltip-wrap{width:auto}
.ivm-benchmark-tip .ivm-tooltip{left:50%;right:auto;top:calc(100% + 10px);transform:translate(-50%,0);max-width:380px;width:max-content}
.ivm-benchmark-tip .ivm-tooltip-wrap:hover .ivm-tooltip,.ivm-benchmark-tip .ivm-tooltip-wrap:focus-within .ivm-tooltip{transform:translate(-50%,4px)}
.ivm-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;border:1px solid rgba(15,23,42,.08);background:#f8fafc;font-size:12px;font-weight:600;line-height:1}
.ivm-badge.minimal{background:rgba(15,23,42,.05);color:var(--ivm-color-text-main);border-color:rgba(15,23,42,.12)}
.ivm-badge.minor{background:rgba(23,142,121,.15);color:#065f46;border-color:rgba(23,142,121,.35)}
.ivm-badge.moderate{background:rgba(251,191,36,.2);color:#92400e;border-color:rgba(251,191,36,.45)}
.ivm-badge.major{background:rgba(249,115,22,.22);color:#b45309;border-color:rgba(249,115,22,.45)}
.ivm-badge.severe{background:rgba(248,113,113,.22);color:#b91c1c;border-color:rgba(248,113,113,.45)}
.ivm-badge.extreme{background:rgba(185,28,28,.25);color:#7f1d1d;border-color:rgba(185,28,28,.45)}
.ivm-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:12px 0}
.ivm-card-summary .ivm-summary{margin-top:8px}
.ivm-card-summary .ivm-kpi:first-child .ivm-kpi-num{font-size:clamp(16px,3vw,20px);white-space:nowrap}
.ivm-summary-box{border:1px solid var(--ivm-color-border);background:#fff;border-radius:12px;padding:16px;box-shadow:0 6px 18px rgba(0,0,0,.06);font-size:16px;line-height:1.6;color:var(--ivm-color-text-main);width:100%;max-width:100%;flex:1 1 auto;margin:0;min-height:140px;position:relative;overflow:visible}
.ivm-summary-box.is-expanded{overflow:visible}
.ivm-summary-text{margin:0;font-size:16px;line-height:1.6;color:var(--ivm-color-text-main);padding-right:12px}
.ivm-summary-toggle{position:absolute;top:10px;right:12px;border:1px solid #d1d5db;border-radius:999px;background:#fff;color:var(--ivm-color-text-main);width:30px;height:30px;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease,color .2s ease,border-color .2s ease;box-shadow:0 1px 2px rgba(15,23,42,.08)}
.ivm-summary-toggle::before{content:'\25bc';font-size:14px;line-height:1;color:inherit;transition:transform .2s ease}
.ivm-summary-toggle[data-state="expanded"]::before{content:'\25b2'}
.ivm-summary-toggle:hover{background:#f3f4f6}
.ivm-summary-toggle:focus{outline:2px solid var(--ivm-color-accent);outline-offset:2px}
.ivm-kpi{padding:12px;border-radius:12px;background:#f9fafb;border:1px solid var(--ivm-color-border)}
.ivm-kpi[data-hazard]{cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease}
.ivm-kpi[data-hazard].ivm-selected{border-color:var(--ivm-color-accent);border-width:2px;box-shadow:0 6px 16px rgba(23,142,121,.16)}
.ivm-muted{color:#6b7280;font-size:14px}
.ivm-credits{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ivm-credits .k{font-weight:600}
.ivm-err{background:#fef2f2;border:1px solid #fecaca;color:#7f1d1d;padding:8px 10px;border-radius:8px}
.ivm-login-wrap{display:grid;place-items:center;min-height:75vh;padding:24px;background:linear-gradient(145deg,rgba(1,112,185,.04),rgba(23,142,121,.04))}
.ivm-login-box{width:100%;max-width:520px;background:var(--ivm-color-bg-card);border:1px solid var(--ivm-color-border);border-radius:16px;box-shadow:0 14px 45px rgba(15,23,42,.12);padding:32px}
.ivm-login-title{font-size:var(--ivm-font-size-title);font-weight:700;margin:0 0 6px;color:var(--ivm-color-text-main);text-align:center}
.ivm-login-subtitle{font-size:var(--ivm-font-size-body);color:var(--ivm-color-text-muted);text-align:center;margin:0 0 18px}
.ivm-login-tabs{display:flex;gap:8px;margin-bottom:12px}
.ivm-login-tab{padding:8px 12px;border-radius:999px;border:1px solid var(--ivm-color-border);background:#f9fafb;cursor:pointer;transition:background .2s ease,color .2s ease}
.ivm-login-tab.active{background:var(--ivm-color-primary);color:#fff;border-color:var(--ivm-color-primary)}
.ivm-login-form{display:flex;flex-direction:column;gap:12px}
.ivm-login-field{display:flex;flex-direction:column;gap:6px}
.ivm-login-label{font-weight:600;font-size:var(--ivm-font-size-body);color:var(--ivm-color-text-main)}
.ivm-login-input{width:100%;padding:12px;border:1px solid var(--ivm-color-border);border-radius:10px;font-size:var(--ivm-font-size-body);line-height:1.4;color:var(--ivm-color-text-main)}
.ivm-login-input:focus{border-color:var(--ivm-color-accent);box-shadow:0 0 0 2px rgba(23,142,121,.16);outline:none}
.ivm-login-error{margin-bottom:10px;display:none}
.ivm-login-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:4px}
.ivm-login-remember{display:flex;align-items:center;gap:6px;color:var(--ivm-color-text-main);font-size:var(--ivm-font-size-body)}
.ivm-login-submit{width:auto}
.ivm-login-2fa-setup{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--ivm-color-border);border-radius:12px;padding:12px;background:#f9fafb}
.ivm-login-qr{width:96px;min-width:96px;height:96px;border-radius:8px;border:1px solid var(--ivm-color-border);background:#fff;display:grid;place-items:center;overflow:hidden}
.ivm-login-qr img{width:100%;height:100%;object-fit:cover}
.ivm-login-secret{display:inline-block;margin-top:4px;padding:6px 8px;border-radius:8px;background:#fff;border:1px dashed var(--ivm-color-border);font-family:monospace;font-size:13px;letter-spacing:.05em}
.ivm-form{display:grid;gap:10px}
.ivm-form label{font-weight:600;font-size:14px}
.ivm-form label.ivm-disabled{opacity:.6;cursor:not-allowed}
.ivm-form input[type=text], .ivm-form input[type=password], .ivm-form input[type=email]{width:100%;padding:10px 12px;border:1px solid var(--ivm-color-border);border-radius:10px}
.ivm-input{width:220px;padding:10px 12px;border:1px solid var(--ivm-color-border);border-radius:10px;font-size:14px;background:#fff;color:#111827;line-height:1.35;display:inline-block}
.ivm-input::placeholder{color:#9ca3af}
.ivm-input:disabled{opacity:.6;cursor:not-allowed}
.ivm-toolbar .ivm-input{min-width:200px}
.ivm-toolbar .ivm-toolbar-link{white-space:nowrap}
select.ivm-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.41.59 6 5.17 10.59.59 12 2l-6 6-6-6z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 8px}
.ivm-btn,
.ivm-btn-primary,
.ivm-btn-outline{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:10px;padding:10px 16px;font-weight:600;font-size:14px;line-height:1.2;cursor:pointer;text-decoration:none;transition:background-color .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease}
select.ivm-input:focus{border-color:var(--ivm-color-accent);box-shadow:0 0 0 2px rgba(23,142,121,.14)}
.ivm-filter-selects{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.ivm-filter-selects label{font-size:14px;color:#475569;display:flex;flex-direction:column;gap:4px;min-width:160px}
.ivm-actions{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.ivm-confirm-actions{display:flex;justify-content:flex-end;gap:8px}
.ivm-btn,
.ivm-btn-primary{background:var(--ivm-color-accent);border:1px solid var(--ivm-color-accent);color:#fff;box-shadow:0 6px 16px rgba(23,142,121,.18)}
.ivm-btn:hover,
.ivm-btn-primary:hover{background:#147466}
.ivm-btn:focus-visible,
.ivm-btn-primary:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(23,142,121,.35)}
.ivm-btn:disabled,
.ivm-btn-primary:disabled,
.ivm-btn-outline:disabled{opacity:.6;cursor:not-allowed;box-shadow:none}
.ivm-btn-outline{background:transparent;border:1px solid var(--ivm-color-accent);color:var(--ivm-color-accent);box-shadow:0 0 0 transparent}
.ivm-btn-outline:hover{background:rgba(23,142,121,.08)}
.ivm-btn-outline:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(23,142,121,.25)}
.ivm-small{font-size:12px;color:#6b7280}
.ivm-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.ivm-notify-form{gap:0}
.ivm-notify-row{display:flex;align-items:center;gap:18px;padding:8px 0;border-bottom:1px solid var(--ivm-color-border);font-weight:500;color:#111827}
.ivm-notify-row:last-of-type{border-bottom:0}
.ivm-notify-row input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:var(--ivm-color-accent);margin-right:10px}
[data-ivm-admin-overlay] label.row input[type=checkbox]{margin-right:12px}
.ivm-pf-credit-alert{margin-top:12px}

/* === Climate circular gauges === */
.ivm-score-circle{
  width:36px;height:36px;border-radius:50%;
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  background:conic-gradient(var(--ivm-score-color,#16a34a) calc(var(--ivm-score-pct,0)*1%), var(--ivm-color-border) 0);
  outline:1px solid rgba(0,0,0,.06);
}
.ivm-score-circle::after{content:"";position:absolute;inset:6px;background:#fff;border-radius:50%}
.ivm-score-circle>span{position:relative;z-index:1;font-size:12px;font-weight:600;color:#111827}

/* KPI emphasis */
.ivm-kpi-num{font-weight:700;font-size:clamp(18px,3.5vw,24px);word-break:break-word}
/* ↑ Make the “Portfolio” label same size as number */
.ivm-kpi-title{font-weight:700;font-size:20px}

.ivm-ov-riskcell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;padding:4px 0}
.ivm-ov-riskcell .ivm-gx{margin:0 auto}
.ivm-ov-riskcell .ivm-gx-foot{white-space:nowrap}
.ivm-ov-count{width:100%}
.ivm-ov-charts{border:1px solid var(--ivm-color-border);background:#fff;border-radius:12px;padding:12px;margin:14px 0;box-shadow:0 4px 16px rgba(15,23,42,.06);position:relative}
.ivm-chart-tooltip{position:absolute;pointer-events:none;background:rgba(15,23,42,.92);color:#f8fafc;padding:6px 10px;border-radius:6px;font-size:12px;font-weight:500;box-shadow:0 6px 18px rgba(15,23,42,.25);left:-9999px;top:-9999px;white-space:nowrap;z-index:5}
.ivm-ov-chart{width:100%;overflow-x:auto;padding-bottom:6px}
.ivm-ov-chart svg{width:100%;height:auto;display:block}
.ivm-ov-legend{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.ivm-legend-item{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;border:1px solid #d1d5db;background:#f8fafc;font-size:14px;cursor:pointer;transition:all .2s ease}
.ivm-legend-item[data-active="false"]{opacity:.45;background:#fff}
.ivm-legend-swatch{width:12px;height:12px;border-radius:50%}
.ivm-legend-note{font-size:12px;color:#6b7280;margin-top:6px}
.ivm-note{margin:8px 0 0;font-size:14px}
.ivm-note strong{font-weight:700}
.ivm-lasthead{display:flex;flex-direction:column;align-items:flex-start;gap:2px;font-size:14px;color:inherit;line-height:1.3}
.ivm-lastcell{font-size:14px;line-height:1.45;color:var(--ivm-color-text-main)}
.ivm-lastcell .ivm-nextline{color:var(--ivm-color-text-main)}
.ivm-nextline-detail{font-size:14px;color:#475569;margin-top:2px}

/* Search */
.ivm-searchwrap{position:relative}
.ivm-search{
  width:220px;padding:8px 10px;border:1px solid var(--ivm-color-border);border-radius:8px;outline:none;
  font-size:14px;color:#111827;background:#fff;
}
.ivm-search::placeholder{color:#9ca3af}
.ivm-suggestions{
  display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid var(--ivm-color-border);border-radius:8px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);z-index:50;max-height:220px;overflow:auto;
}
.ivm-suggestion{padding:8px 10px;cursor:pointer}
.ivm-suggestion:hover{background:#f3f4f6}

/* Pager */
.ivm-pager{display:flex;align-items:center;gap:8px;padding:10px 0}
.ivm-page{
  appearance:none;border:1px solid var(--ivm-color-border);background:#fff;padding:6px 10px;border-radius:8px;cursor:pointer;font-size:14px;
}
.ivm-page.active{background:#111827;color:#fff;border-color:#111827}
.ivm-page[disabled]{opacity:.55;cursor:not-allowed}
.ivm-page-gap{padding:0 4px;font-size:12px;color:#94a3b8;user-select:none}

/* Disabled feel (button stays same style; JS only toggles text/disabled) */
.ivm-tab[disabled]{opacity:.7;cursor:not-allowed}
.ivm-kebab{appearance:none;border:1px solid #d1d5db;background:#fff;border-radius:8px;padding:4px 10px;cursor:pointer;font-size:18px;line-height:1;color:#1f2937;display:inline-flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease}
.ivm-kebab:hover{background:#f1f5f9}
.ivm-kebab[disabled],.ivm-kebab[aria-disabled="true"]{opacity:.6;cursor:not-allowed}
.ivm-chip-wrap{display:flex;align-items:center;gap:4px}
.ivm-info-btn{appearance:none;border:1px solid #cbd5e1;background:#fff;color:#111827;border-radius:50%;width:8px;height:8px;font-size:6px;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;box-shadow:0 1px 2px rgba(0,0,0,.08);font-family:"Inter","Segoe UI",system-ui,sans-serif}
.ivm-info-btn:focus{outline:2px solid var(--ivm-color-accent);outline-offset:2px}
.ivm-tooltip-wrap{position:relative;display:inline-flex;align-items:center}
.ivm-tooltip{position:absolute;z-index:12000;left:50%;top:calc(100% + 10px);transform:translate(-50%,0);background:var(--ivm-color-text-main);color:#f8fafc;font-size:12px;padding:10px;border-radius:10px;box-shadow:0 10px 24px rgba(15,23,42,.3);width:220px;opacity:0;pointer-events:none;transition:opacity .15s ease,transform .15s ease}
.ivm-tooltip ul{margin:6px 0 0 16px;padding:0;color:#f8fafc}
.ivm-tooltip-wrap:hover .ivm-tooltip,
.ivm-tooltip-wrap:focus-within .ivm-tooltip{opacity:1;pointer-events:auto;transform:translate(-50%,4px)}
.ivm-mitigation-block{border:1px solid var(--ivm-color-border);border-radius:12px;padding:12px;margin-top:8px;background:#f8fafc}
.ivm-mitigation-block h4{margin:0 0 6px;font-size:14px;color:var(--ivm-color-text-main)}
.ivm-mitigation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}
.ivm-mitigation-grid textarea{min-height:80px}
.ivm-mitigation-filters{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 12px}
.ivm-mitigation-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#475569;flex:1 1 160px;min-width:160px}
.ivm-mitigation-filters label span{font-weight:600;color:var(--ivm-color-text-main);font-size:12px}
.ivm-mitigation-filters .ivm-input{width:100%}
.ivm-page-mitigation{display:flex;flex-direction:column;gap:16px}
.ivm-mitigation-head{display:flex;flex-direction:column;gap:8px}
.ivm-mitigation-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ivm-mitigation-controls select{min-width:220px}
.ivm-link,
.ivm-action-link,
.ivm-link-btn{background:none;border:0;padding:0;font-size:14px;font-weight:600;color:var(--ivm-color-primary);cursor:pointer;display:inline-flex;align-items:center;justify-content:flex-start;gap:4px;text-align:left;text-decoration:none;text-underline-offset:2px;transition:color .15s ease,text-decoration-color .15s ease}
.ivm-link:hover,
.ivm-action-link:hover,
.ivm-link-btn:hover{text-decoration:underline}
.ivm-link:focus-visible,
.ivm-action-link:focus-visible,
.ivm-link-btn:focus-visible{outline:2px solid rgba(1,112,185,.35);outline-offset:2px;border-radius:4px}
.ivm-link-btn.danger,
.ivm-action-link.danger{color:#b91c1c}
.ivm-link-btn:disabled,
.ivm-action-link:disabled{opacity:.5;cursor:not-allowed;text-decoration:none}
.ivm-mitigation-note{margin:0;font-size:14px;color:#475569;line-height:1.5}
.ivm-mitigation-admin-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.ivm-mitigation-summary{display:flex;flex-direction:column;gap:6px;font-size:16px;color:var(--ivm-color-text-main)}
.ivm-mitigation-summary strong{color:var(--ivm-color-text-main)}
.ivm-mitigation-hotspots{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.ivm-mitigation-hotspot h3{margin:0 0 6px 0;font-size:16px;color:var(--ivm-color-text-main)}
.ivm-mitigation-hotspot table{width:100%;border-collapse:collapse;border-spacing:0}
.ivm-mitigation-hotspot th,.ivm-mitigation-hotspot td{padding:6px 4px;text-align:left;border-bottom:1px solid var(--ivm-color-border);font-size:14px}
.ivm-mitigation-hotspot tbody tr:last-child td{border-bottom:0}
.ivm-mitigation-main{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px}
.ivm-mitigation-table-card .ivm-table{min-width:960px}
.ivm-mitigation-table tbody tr{cursor:pointer;transition:background .15s ease}
.ivm-mitigation-table tbody tr:hover{background:#f8fafc}
.ivm-mitigation-table tbody tr.ivm-row-selected{outline:2px solid var(--ivm-color-accent)}
.ivm-mitigation-table-card .ivm-pager{justify-content:flex-end;margin-top:8px}
.ivm-mitigation-detail h3{margin:0 0 4px 0;font-size:16px;color:var(--ivm-color-text-main)}
.ivm-mitigation-detail-meta{font-size:14px;color:#475569;margin-bottom:8px;min-height:18px}
.ivm-mitigation-detail form{gap:10px}
.ivm-mitigation-detail .ivm-actions{justify-content:flex-end;gap:8px}
.ivm-mitigation-status{display:inline-block;padding:2px 8px;border-radius:8px;font-size:12px;font-weight:600;background:#f3f4f6;border:1px solid var(--ivm-color-border);color:#1f2937}
.ivm-mitigation-status.in_progress{background:#fef3c7;border-color:#fde68a;color:#92400e}
.ivm-mitigation-status.planned,.ivm-mitigation-status.under_assessment{background:#e0f2fe;border-color:#bae6fd;color:#0c4a6e}
.ivm-mitigation-status.completed{background:#dcfce7;border-color:#bbf7d0;color:#166534}
.ivm-mitigation-status.not_started{background:#f3f4f6;border-color:var(--ivm-color-border);color:#1f2937}
.ivm-mitigation-status.high{background:#fee2e2;border-color:#fecaca;color:#991b1b}
.ivm-mitigation-impact{font-size:14px}
.ivm-mitigation-progress{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.ivm-progress-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid var(--ivm-color-border);border-radius:999px;font-size:13px;color:var(--ivm-color-text-main);background:#fff}
.ivm-progress-chip strong{color:var(--ivm-color-text-main);font-weight:600}
.ivm-mitigation-progress-note{font-size:14px;color:#475569}
.ivm-row-selected{box-shadow:0 0 0 2px rgba(23,142,121,.35)}
.ivm-manage-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.ivm-manage-row{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--ivm-color-border);border-radius:10px;padding:8px 10px;gap:12px}
.ivm-manage-row strong{display:block;font-size:14px;color:var(--ivm-color-text-main)}
.ivm-manage-row small{display:block;font-size:12px;color:#475569}
.ivm-manage-actions{display:flex;gap:8px;flex-wrap:wrap}
.ivm-mitigation-emptystate{font-size:14px;color:#6b7280;padding:8px 0}
@media(max-width:960px){.ivm-mitigation-main{grid-template-columns:1fr}}

/* -----------------------------------------------------------------
   Additions for: centered gauges, map row, insights donut, lightbox
   ----------------------------------------------------------------- */

/* Center the CLIMATE gauges in their cells */
.ivm-table.ivm-climate td:nth-child(3),
.ivm-table.ivm-climate td:nth-child(4),
.ivm-table.ivm-climate td:nth-child(5),
.ivm-table.ivm-climate td:nth-child(6){
  text-align:center;vertical-align:middle;
}
.ivm-table.ivm-climate td:nth-child(3) .ivm-score-circle,
.ivm-table.ivm-climate td:nth-child(4) .ivm-score-circle,
.ivm-table.ivm-climate td:nth-child(5) .ivm-score-circle,
.ivm-table.ivm-climate td:nth-child(6) .ivm-score-circle{margin:0 auto}

/* Map card */
.ivm-mapbox{border:1px solid var(--ivm-color-border);border-radius:12px;overflow:hidden;background:#fff;margin-top:8px}
#ivm-map{min-height:320px}

/* Insights layout */
.ivm-insights-wrap{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:8px}
.ivm-insights-wrap.ivm-center{justify-content:center}

/* Lightbox */
.ivm-lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:9999;align-items:center;justify-content:center;padding:20px}
.ivm-lightbox .ivm-light{background:#fff;border-radius:12px;border:1px solid var(--ivm-color-border);box-shadow:0 10px 30px rgba(0,0,0,.25);max-width:640px;width:100%;padding:16px;position:relative}
.ivm-lightbox .ivm-close{appearance:none;position:absolute;top:10px;right:10px;border:1px solid var(--ivm-color-border);background:#fff;border-radius:8px;padding:4px 8px;cursor:pointer}

/* Page-level tabs row */
.ivm-page-tabs{margin-bottom:12px}

/* Mini stats */
.ivm-mini-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ivm-mini{border:1px solid var(--ivm-color-border);border-radius:10px;padding:10px}
.ivm-mini-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.ivm-mini-label{font-weight:600}
.ivm-mini-value{font-variant-numeric:tabular-nums}
.ivm-delta{color:#6b7280}
.ivm-mini-bar{background:#f3f4f6;height:8px;border-radius:999px;overflow:hidden}
.ivm-mini-bar>span{display:block;height:100%;background:var(--ivm-color-primary)}

/* Minimal Account page helpers */
.ivm-flex-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px dashed #eef2f7}
.ivm-flex-row:last-child{border-bottom:0}
.ivm-subcard{border:1px solid var(--ivm-color-border);border-radius:12px;background:#fff;padding:10px;margin:8px 0;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.ivm-subcard-head{display:flex;align-items:center;justify-content:space-between;font-weight:600;margin-bottom:6px}
.ivm-msg-feed{border:1px solid var(--ivm-color-border);border-radius:10px;padding:8px;max-height:300px;overflow:auto;background:#fff}
.ivm-msg-line{margin-bottom:8px}

/* === Admin overlay (panel version is self-contained; also hard-stop theme leaks) === */
.ivm-admin-launcher{
  position:fixed;right:16px;bottom:16px;z-index:99998;
  padding:10px 16px;border-radius:999px;border:0;background:var(--ivm-color-accent);color:#fff;cursor:pointer;
  box-shadow:0 6px 22px rgba(0,0,0,.18);font-weight:600;letter-spacing:.01em;
}
.ivm-admin-launcher:hover{filter:brightness(.96)}

/* Hard stop for global theme/builder form rules leaking into the overlay */
[data-ivm-admin-overlay] input,
[data-ivm-admin-overlay] select,
[data-ivm-admin-overlay] textarea,
[data-ivm-admin-overlay] button{
  position:static!important;inset:auto!important;transform:none!important;
  display:inline-block!important;width:auto!important;max-width:100%!important;box-shadow:none!important;background:#fff!important;
}
/* Remove stray gray backgrounds in nested rows */
[data-ivm-admin-overlay] .row,
[data-ivm-admin-overlay] form{background:transparent!important}
[data-ivm-admin-overlay] textarea{min-height:120px;width:100%}

/* ---- Analyze: orange helper text for uploader ---- */
.ivm-dropzone .ivm-hint,
.ivm-dropzone .hint,
.ivm-dropzone p{color:#cc5a00}

/* ---- Logout button styled like tabs ---- */
.ivm-logout-btn{
  display:inline-block;padding:8px 12px;border-radius:999px;border:1px solid var(--ivm-color-border);
  background:#f9fafb;color:#111827;text-decoration:none;cursor:pointer;line-height:1;
}
.ivm-logout-btn:hover{background:#f3f4f6}
.ivm-logout-btn.active{background:var(--ivm-color-primary);color:#fff;border-color:var(--ivm-color-primary)}

/* ---- Animated background while CSV is staged (Analyze) ---- */
.ivm-eval-bg .bg{
  animation:slide 3s ease-in-out infinite alternate;
  background-image:linear-gradient(-60deg,#6c3 50%,#09f 50%);
  bottom:0;left:-50%;opacity:.5;position:fixed;right:-50%;top:0;z-index:-1;
}
.ivm-eval-bg .bg2{animation-direction:alternate-reverse;animation-duration:4s}
.ivm-eval-bg .bg3{animation-duration:5s}
@keyframes slide{0%{transform:translateX(-25%)}100%{transform:translateX(25%)}}

/* === Overview AI Summary box === */
.ivm-ov-ai-box{
  margin: 8px 0 12px 0;
  border: 1px solid var(--ivm-color-border);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  overflow: hidden;
}
.ivm-ov-ai-title{
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .02em;
  background: linear-gradient(180deg, #f9fafb, #f3f4f6);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.ivm-ov-ai-content{
  padding: 14px 16px;
  line-height: 1.55;
  font-size: 14px;
  white-space: pre-wrap; /* preserve model newlines/bullets */
}

/* === Account: My Branding === */
.ivm-branding-card{display:grid;grid-template-columns:minmax(160px,200px) 1fr;gap:16px;align-items:flex-start}
.ivm-branding-preview{border:1px dashed #d1d5db;border-radius:12px;padding:12px;display:grid;gap:10px;justify-items:center;text-align:center;background:#f9fafb}
.ivm-branding-preview img{max-width:160px;width:100%;height:auto;border-radius:12px;object-fit:cover}
.ivm-branding-preview button{border:1px solid #d1d5db;background:#fff;border-radius:10px;padding:8px 12px;cursor:pointer}
.ivm-branding-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.ivm-branding-note{font-size:12px;color:#6b7280;margin-top:4px}
.ivm-branding-upload{display:flex;flex-direction:column;gap:8px}
.ivm-empty-card{border:1px dashed #cbd5f5;border-radius:16px;padding:20px;background:#f8fafc;display:flex;flex-direction:column;gap:10px}
.ivm-empty-card h3{margin:0;font-size:18px;color:var(--ivm-color-text-main)}
.ivm-empty-card p{margin:0;font-size:14px;color:#475569;line-height:1.5}
.ivm-empty-card .ivm-btn{align-self:flex-start}

/* Portfolio action menu */
.ivm-action-cell{position:relative}
.ivm-kebab{border:1px solid var(--ivm-color-border);background:#fff;border-radius:8px;padding:2px 8px;line-height:1;cursor:pointer}
.ivm-kebab[disabled]{opacity:.5;cursor:not-allowed}
.ivm-menu{position:absolute;right:0;top:28px;background:#fff;border:1px solid var(--ivm-color-border);border-radius:10px;box-shadow:0 8px 20px rgba(0,0,0,.08);z-index:50;padding:6px;min-width:140px}
.ivm-menu-item{display:block;width:100%;text-align:left;background:transparent;border:0;padding:6px 8px;border-radius:6px;cursor:pointer;color:var(--ivm-color-text-main)}
.ivm-menu-item:hover{background:#f3f4f6;color:var(--ivm-color-text-main)!important}
.ivm-menu-item.danger{color:#dc2626}
.ivm-menu-item.danger:hover{background:#dc2626;color:#fff}

/* Score severity display */
.ivm-scorecell{position:relative;display:flex;flex-direction:column;gap:4px;align-items:flex-start;min-width:88px}
.ivm-scorecell-main{display:flex;gap:6px;align-items:center}
.ivm-scorecell-ball{display:inline-block;position:relative;width:32px;height:32px;border-radius:999px;overflow:hidden;background:#e2e8f0;box-shadow:inset 0 0 0 6px #fff}
.ivm-scorecell-ball span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--ivm-color-text-main)}
.ivm-score-delta{font-size:12px;color:#6b7280;font-weight:600}
.ivm-score-band{font-size:12px;font-weight:600;padding:2px 6px;border-radius:999px;background:var(--ivm-color-border);color:var(--ivm-color-text-main);text-transform:uppercase;letter-spacing:.03em}
.ivm-score-band.minimal{background:#e5f2e0}
.ivm-score-band.minor{background:#e0f2fe}
.ivm-score-band.moderate{background:#fef9c3}
.ivm-score-band.major{background:#fde68a}
.ivm-score-band.severe{background:#fecaca}
.ivm-score-band.extreme{background:#fca5a5;color:#111827}
.ivm-scorecell-info{display:flex;align-items:center;gap:4px;font-size:12px;color:#475569}
.ivm-scorecell .ivm-tooltip-wrap{margin-left:2px}

/* Portfolio filters + chart placeholders */
.ivm-pf-filters{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 10px;position:relative;z-index:10}
.ivm-selection-download{display:flex;align-items:center}
.ivm-selection-download .ivm-tab{white-space:nowrap}
.ivm-pf-csv-actions{margin-top:24px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.ivm-b15-inline{flex-basis:100%;display:flex;justify-content:flex-start;margin-top:4px}
.ivm-b15-summary h1{font-size:22px;margin:12px 0 6px;color:var(--ivm-color-text-main)}
.ivm-b15-summary h2{font-size:20px;margin:12px 0 6px;color:var(--ivm-color-text-main)}
.ivm-b15-summary h3{font-size:18px;margin:10px 0 4px;color:var(--ivm-color-text-main)}
.ivm-b15-summary h4{font-size:16px;margin:8px 0 4px;color:var(--ivm-color-text-main)}
.ivm-b15-summary p{margin:4px 0 10px;line-height:1.55}
.ivm-b15-summary ul{margin:6px 0 10px 18px;padding-left:12px}
.ivm-b15-summary li{margin:4px 0;line-height:1.5}
.ivm-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px solid transparent;border-radius:999px;background:#f8fafc;font-size:14px;cursor:pointer;color:var(--ivm-color-text-main);transition:all .15s ease}
.ivm-chip:hover{background:#e2e8f0}
.ivm-chip.active{background:var(--ivm-color-primary);color:#fff;border-color:var(--ivm-color-primary);box-shadow:0 4px 12px rgba(1,112,185,.18)}
.ivm-chip[data-disabled="true"],.ivm-chip:disabled{opacity:.55;cursor:not-allowed}
.ivm-chip .ivm-chip-dot{width:10px;height:10px;border-radius:999px}
.ivm-chip .ivm-chip-dot[data-muted="true"]{background:#cbd5f5}

.ivm-severity-legend{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:10px;font-size:14px;color:#475569;align-items:center}
.ivm-severity-legend span{display:inline-flex;align-items:center;gap:6px}
.ivm-severity-legend .swatch{width:12px;height:12px;border-radius:999px;border:0}

.ivm-chartcard{border:0;background:transparent;padding:0;margin-bottom:16px;box-shadow:none}
.ivm-chartcard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:8px}
.ivm-chartcard-title{font-weight:700;font-size:16px;color:var(--ivm-color-text-main)}
.ivm-chartcard select{padding:8px 10px;border:1px solid #d1d5db;border-radius:10px;background:#f8fafc;color:#475569;cursor:not-allowed}
.ivm-chart-columns{display:flex;gap:48px;overflow-x:auto;padding-bottom:0;align-items:flex-end}
.ivm-chart-col{flex:1;min-width:140px;display:flex;flex-direction:column;align-items:center;gap:10px;padding:0}
.ivm-chart-col-label{font-weight:600;color:var(--ivm-color-text-main);text-align:center;font-size:14px}
.ivm-chart-col-bars{display:flex;gap:6px;align-items:flex-end;justify-content:center;width:100%;min-height:160px}
.ivm-chart-vbar-stack{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.ivm-chart-vbar-value{font-size:14px;font-weight:600;color:var(--ivm-color-text-main)}
.ivm-chart-vbar{width:22px;height:140px;position:relative;background:#f1f5f9;border-radius:8px 8px 0 0;overflow:hidden;--ivm-bar:0%;--ivm-bar-color:var(--ivm-color-primary);transition:all .3s ease}
.ivm-chart-vbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--ivm-bar);background:var(--ivm-bar-color);border-radius:8px 8px 0 0}
.ivm-chart-vbar[data-empty="true"]::after{height:0}
.ivm-chart-vbar-caption{font-size:12px;font-weight:600;color:var(--ivm-color-text-main);margin-top:0}
.ivm-chart-vbar-caption span{display:block;font-size:12px;color:#475569;margin-top:2px}
.ivm-chart-vbar-note{display:none}
.ivm-chart-columns::-webkit-scrollbar{height:6px}
.ivm-chart-columns::-webkit-scrollbar-thumb{background:#cbd5f5;border-radius:999px}

.ivm-sort-btn{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#1f2937;font-weight:600;cursor:pointer;font-size:14px;padding:0}
.ivm-sort-btn:focus{outline:2px solid var(--ivm-color-accent);outline-offset:2px}
.ivm-sort-icon{font-size:14px;line-height:1;display:inline-block;color:var(--ivm-color-text-muted)}

.ivm-pf-section{display:grid;gap:16px}
.ivm-pf-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:16px;align-items:flex-start}
.ivm-pf-row>.ivm-card{height:100%}
.ivm-pf-table-block{margin-top:18px}
.ivm-pf-table-card .ivm-pf-table-block{margin-top:0}
.ivm-pf-table-block .ivm-pf-filters{margin:0 0 12px 0}
.ivm-filterbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between;margin:8px 0}
.ivm-filterbar .ivm-pf-filters{margin:0;flex:1}
.ivm-pf-summary-text{font-size:14px;line-height:1.5;margin-bottom:12px;color:var(--ivm-color-text-main);display:flex;flex-wrap:wrap;gap:4px;align-items:baseline}
.ivm-pf-summary-label{font-weight:600;color:var(--ivm-color-text-main);font-size:inherit}
.ivm-pf-summary-detail{font-size:14px;color:#475569;font-weight:400}
.ivm-filterbar .ivm-searchwrap{margin-left:auto}
.ivm-pf-table-block .ivm-tabs{margin-bottom:12px}
.ivm-toolbar .ivm-date-input{min-width:180px}

@media (max-width:1100px){
  .ivm-pf-row{grid-template-columns:1fr}
}

@media (max-width:900px){
  .ivm-summary-box{width:100%;max-width:100%;flex:1 1 auto}
}

@media (max-width: 720px){
  .ivm-branding-card{grid-template-columns:1fr}
}

.ivm-spin{width:16px;height:16px;border-radius:50%;border:2px solid rgba(148,163,184,.45);border-top-color:var(--ivm-color-accent);display:inline-block;animation:ivm-spin .6s linear infinite}
.ivm-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@keyframes ivm-spin{to{transform:rotate(360deg)}}

@keyframes ivm-run-pulse{
  0%{box-shadow:0 0 0 0 rgba(23,142,121,.45);border-color:var(--ivm-color-accent)}
  50%{box-shadow:0 0 0 10px rgba(23,142,121,.12);border-color:var(--ivm-color-accent)}
  100%{box-shadow:0 0 0 0 rgba(23,142,121,0);border-color:var(--ivm-color-accent)}
}

.ivm-utility-bar{--ivm-utility-offset:0px;position:fixed;right:18px;bottom:calc(18px + var(--ivm-utility-offset, 0px));display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-end;gap:12px;margin:0;z-index:2147482000;pointer-events:none}
.ivm-utility-bar>*{pointer-events:auto}
.ivm-utility-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:12px;font-weight:600;font-size:14px;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;text-decoration:none;cursor:pointer;border:1px solid var(--ivm-color-border);background:#f9fafb;color:var(--ivm-color-text-main);transition:background .2s ease,color .2s ease,box-shadow .2s ease,border-color .2s ease}
.ivm-utility-btn:hover{background:var(--ivm-color-accent);color:#fff;border-color:var(--ivm-color-accent);box-shadow:0 6px 16px rgba(23,142,121,.18)}
.ivm-utility-btn:focus-visible{outline:2px solid var(--ivm-color-primary);outline-offset:2px}
.ivm-help-widget{position:relative;display:flex;flex-direction:column;align-items:flex-end;gap:12px;font-family:inherit;max-width:420px}
.ivm-help-panel{order:1;position:absolute;right:0;bottom:calc(100% + 12px);top:auto;max-width:360px;width:min(360px,calc(100vw - 32px));z-index:14000}
.ivm-help-toggle{border:none;border-radius:12px;background:var(--ivm-color-accent,#178e79);color:#fff;font-weight:700;padding:10px 16px;cursor:pointer;box-shadow:0 6px 22px rgba(0,0,0,.18);display:inline-flex;align-items:center;gap:8px;font-size:14px;line-height:1.2;font-family:inherit;letter-spacing:.01em;text-transform:none}
.ivm-help-toggle:focus-visible{outline:2px solid var(--ivm-color-primary,#0170b9);outline-offset:2px}
.ivm-help-toggle svg{width:18px;height:18px}
.ivm-help-panel{display:none;border-radius:16px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.16);padding:16px;border:1px solid var(--ivm-color-border,#e2e8f0);color:var(--ivm-color-text-main,#0f172a)}
.ivm-help-widget.is-open .ivm-help-panel{display:flex;flex-direction:column;gap:10px}
.ivm-help-panel header{display:flex;align-items:center;gap:8px;margin-bottom:4px}
.ivm-help-title{font-size:16px;font-weight:600;flex:1;color:var(--ivm-color-text-main,#0f172a)}
.ivm-help-close{border:none;background:transparent;color:var(--ivm-color-text-muted,#475569);cursor:pointer;font-size:18px;line-height:1}
.ivm-help-body{display:flex;flex-direction:column;gap:10px}
.ivm-help-answer{min-height:48px;font-size:14px;line-height:1.5;color:var(--ivm-color-text-main,#0f172a)}
.ivm-help-form{display:flex;flex-direction:column;gap:8px}
.ivm-help-form textarea{width:100%;min-height:70px;resize:vertical;border-radius:10px;border:1px solid var(--ivm-color-border,#e2e8f0);padding:8px;font-size:14px;font-family:inherit}
.ivm-help-submit{align-self:flex-end}
.ivm-help-status{font-size:12px;color:var(--ivm-color-text-muted,#475569)}
.ivm-help-widget.is-busy textarea,.ivm-help-widget.is-busy .ivm-help-submit{opacity:.7;pointer-events:none}

@media (max-width:640px){
  .ivm-utility-bar{right:12px;bottom:calc(12px + var(--ivm-utility-offset, 0px))}
  .ivm-help-widget{width:100%}
  .ivm-help-panel{position:relative;top:0;bottom:auto;right:0;width:100%;max-width:100%;order:2}
  .ivm-help-toggle{padding:9px 14px;width:100%;justify-content:center}
}

@media (max-width:768px){
  .ivm-grid,
  .ivm-pf-row,
  .ivm-mitigation-main,
  .ivm-mini-wrap,
  .ivm-method-hazards,
  .ivm-method-columns{grid-template-columns:1fr!important}

  .ivm-summary-box{width:100%;max-width:100%;flex:1 1 auto}

  .ivm-branding-card{grid-template-columns:1fr!important}

  .ivm-toolbar{flex-direction:column;align-items:stretch}
  .ivm-toolbar>*{width:100%}

  .ivm-toolbar,
  .ivm-page-tabs,
  .ivm-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}

  .ivm-page-tabs,
  .ivm-tabs{flex-wrap:wrap}

  .ivm-tabs .ivm-tab{flex:0 1 auto;padding:6px 10px;font-size:14px}

  .ivm-btn,
  .ivm-btn-primary,
  .ivm-btn-outline,
  .ivm-tab{min-height:36px}

  .ivm-page-methodology h1{font-size:22px}
  .ivm-page-methodology h2{font-size:18px}

  .ivm-table-wrap{max-width:100%}

  .ivm-table th,
  .ivm-method-section p,
  .ivm-method-scope,
  .ivm-mini-value,
  .ivm-kpi .ivm-kpi-title{font-size:14px}

  .ivm-dropzone .ivm-drop-sub,
  .ivm-mini-label{font-size:12px}

  .ivm-kpi .ivm-kpi-num{font-size:16px}

  .ivm-mitigation-table tbody tr,
  .ivm-table.ivm-portfolio tbody tr{padding-top:4px;padding-bottom:4px}

  .ivm-dropzone .ivm-drop-sub,
  .ivm-method-section p,
  .ivm-method-scope,
  .ivm-mini-label,
  .ivm-mini-value{line-height:1.45}
}

@media (max-width:600px){
  .ivm-table-card-view .ivm-table-wrap{display:none}
  .ivm-table-card-view .ivm-card-row-list{display:flex;flex-direction:column;gap:10px}
  .ivm-card-row .ivm-row-select{margin-right:8px}
  .ivm-card-row-top{align-items:flex-start}
  .ivm-card-row-actions{margin-left:auto}
}
/* Stage 1-3 hardening/polish pass */
.ivm-portfolio{
  --ivm-stage-shadow:0 16px 44px rgba(15,23,42,.08);
  --ivm-stage-shadow-soft:0 8px 22px rgba(15,23,42,.06);
}
.ivm-card,
.ivm-summary-box,
.ivm-kpi,
.ivm-table-wrap,
.ivm-method-hazard,
.ivm-method-callout{
  border-color:#e2e8f0;
  box-shadow:var(--ivm-stage-shadow-soft);
}
.ivm-card{
  border-radius:18px;
  padding:18px;
}
.ivm-kpi{
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#f8fafc);
}
.ivm-kpi-num,
.ivm-summary .ivm-kpi strong{
  letter-spacing:-.02em;
}
.ivm-tab{
  border-radius:14px;
  padding:9px 14px;
}
.ivm-table-wrap{
  border-radius:16px;
  background:#fff;
}
.ivm-table th,
.ivm-table-simple th{
  color:#334155;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.ivm-table-simple td,
.ivm-table-simple th{
  padding:9px 10px;
}
.ivm-btn,
.ivm-btn-primary,
button.ivm-btn,
button.ivm-btn-primary{
  border-radius:12px;
  box-shadow:0 5px 14px rgba(15,23,42,.08);
}
.ivm-b15-output,
.ivm-osfi-output,
.ivm-b15-screen,
.ivm-summary-box.ivm-b15{
  display:block;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:20px;
  box-shadow:var(--ivm-stage-shadow);
}
.ivm-b15-output h3,
.ivm-osfi-output h3,
.ivm-b15-screen h3{
  margin:0 0 10px;
  font-size:20px;
  color:#0f172a;
}
.ivm-b15-output h4,
.ivm-osfi-output h4,
.ivm-b15-screen h4{
  margin:18px 0 8px;
  font-size:15px;
  color:#334155;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.ivm-b15-output table,
.ivm-osfi-output table,
.ivm-b15-screen table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid #e2e8f0;
  border-radius:14px;
  margin:10px 0 16px;
}
.ivm-b15-output th,
.ivm-b15-output td,
.ivm-osfi-output th,
.ivm-osfi-output td,
.ivm-b15-screen th,
.ivm-b15-screen td{
  padding:10px 12px;
  border-bottom:1px solid #e2e8f0;
  text-align:left;
  vertical-align:top;
}
.ivm-b15-output tr:last-child td,
.ivm-osfi-output tr:last-child td,
.ivm-b15-screen tr:last-child td{
  border-bottom:0;
}
.ivm-b15-output th,
.ivm-osfi-output th,
.ivm-b15-screen th{
  background:#f8fafc;
  color:#334155;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.ivm-b15-output ul,
.ivm-osfi-output ul,
.ivm-b15-screen ul{
  margin:8px 0 12px 18px;
}
.ivm-b15-output li,
.ivm-osfi-output li,
.ivm-b15-screen li{
  margin:5px 0;
}
.ivm-err,
.ivm-drop-status[data-state="error"]{
  border-radius:12px;
}
@media (max-width: 760px){
  .ivm-card{padding:15px;border-radius:16px}
  .ivm-summary{grid-template-columns:1fr}
  .ivm-tabs{overflow-x:auto;padding-bottom:4px}
  .ivm-tab{white-space:nowrap}
}

/* Stage 4 Scenario Analysis */
.ivm-scenario-panel{gap:16px;margin-top:16px}
.ivm-scenario-hero{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:22px;background:linear-gradient(135deg,#f8fbff,#eef7ff);border:1px solid #dbeafe}
.ivm-scenario-hero h3{font-size:24px;line-height:1.2;margin:4px 0 8px;color:#0f172a}
.ivm-scenario-hero p{max-width:860px;margin:0;color:#475569;font-size:14px;line-height:1.55}
.ivm-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#0369a1;font-weight:800}
.ivm-scenario-badges{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;min-width:220px}
.ivm-scenario-badges span{font-size:12px;font-weight:700;border:1px solid #bfdbfe;background:#fff;border-radius:999px;padding:6px 10px;color:#075985;box-shadow:0 4px 12px rgba(15,23,42,.04)}
.ivm-scenario-form{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:16px;padding:18px}
.ivm-scenario-form .ivm-label{display:block;font-size:12px;font-weight:800;color:#334155;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}
.ivm-scenario-form select.ivm-input,.ivm-scenario-form input.ivm-input{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:10px 12px;background:#fff;color:#0f172a}
.ivm-scenario-checks{display:flex;flex-direction:column;gap:7px}
.ivm-scenario-check{display:flex;align-items:center;gap:8px;font-size:13px;color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:7px 9px}
.ivm-scenario-check input{margin:0}
.ivm-scenario-actions{grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding-top:4px}
.ivm-scenario-status{grid-column:1/-1;padding:10px 12px;border-radius:12px;background:#f8fafc;border:1px dashed #cbd5e1}
.ivm-scenario-results{display:flex;flex-direction:column;gap:16px}
.ivm-scenario-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ivm-kpi-card{padding:16px;border:1px solid #e2e8f0;background:#fff}
.ivm-kpi-card span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.ivm-kpi-card strong{display:block;margin:6px 0 3px;font-size:24px;color:#0f172a;line-height:1.1}
.ivm-kpi-card em{display:block;color:#64748b;font-style:normal;font-size:12px;line-height:1.35}
.ivm-scenario-results .ivm-card{padding:16px}
.ivm-scenario-results .ivm-card h3{margin:0 0 10px;color:#0f172a;font-size:17px}
.ivm-scenario-warnings{margin:0 0 10px 18px;color:#475569;line-height:1.5}
.ivm-secondary{border:1px solid #cbd5e1;background:#fff;color:#0f172a;border-radius:12px;padding:10px 14px;font-weight:700;cursor:pointer}
.ivm-primary{border:1px solid #0369a1;background:#0369a1;color:#fff;border-radius:12px;padding:10px 14px;font-weight:800;cursor:pointer;box-shadow:0 8px 20px rgba(3,105,161,.22)}
.ivm-primary:disabled,.ivm-secondary:disabled{opacity:.55;cursor:not-allowed}
@media (max-width:1000px){.ivm-scenario-form{grid-template-columns:1fr 1fr}.ivm-scenario-kpis{grid-template-columns:1fr 1fr}.ivm-scenario-hero{align-items:flex-start;flex-direction:column}.ivm-scenario-badges{justify-content:flex-start}}
@media (max-width:640px){.ivm-scenario-form,.ivm-scenario-kpis{grid-template-columns:1fr}.ivm-scenario-hero{padding:16px}.ivm-scenario-hero h3{font-size:20px}}

/* Stage 5 financial model polish */
.ivm-financial-hero{background:linear-gradient(135deg,rgba(11,31,54,.06),rgba(10,100,120,.08));border:1px solid rgba(30,68,98,.14)}
.ivm-financial-panel .ivm-kpi-card strong{font-variant-numeric:tabular-nums}
.ivm-financial-results .ivm-card h3,.ivm-governance-card h3{margin-top:0}
.ivm-governance-card textarea.ivm-input{min-height:84px;resize:vertical}
.ivm-financial-panel .ivm-table td,.ivm-financial-panel .ivm-table th{white-space:nowrap}
.ivm-financial-panel .ivm-table td:first-child,.ivm-financial-panel .ivm-table th:first-child{white-space:normal}
.ivm-financial-panel .ivm-scenario-badges span{background:rgba(10,70,90,.08);border-color:rgba(10,70,90,.18)}

/* Stage 6 — premium executive UI + geospatial/model validation polish */
.aeg-premium-ui {
  --aeg-ink:#0f172a;
  --aeg-muted:#64748b;
  --aeg-panel:#ffffff;
  --aeg-soft:#f8fafc;
  --aeg-line:rgba(15,23,42,.10);
  --aeg-good:#0f766e;
  --aeg-warn:#b45309;
  --aeg-bad:#b91c1c;
}
.aeg-premium-command-center{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.9fr);
  gap:22px;
  align-items:stretch;
  margin:0 0 22px;
  padding:28px;
  border:1px solid rgba(148,163,184,.28);
  border-radius:28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(14,165,233,.18), transparent 35%),
    radial-gradient(circle at 86% 24%, rgba(16,185,129,.16), transparent 30%),
    linear-gradient(135deg,#0f172a,#172554 58%,#064e3b);
  color:#fff;
  box-shadow:0 24px 70px rgba(15,23,42,.24);
  overflow:hidden;
  position:relative;
}
.aeg-premium-command-center:after{
  content:"";
  position:absolute;
  inset:auto -70px -110px auto;
  width:300px;height:300px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
}
.aeg-command-copy{position:relative;z-index:1;max-width:820px;}
.aeg-command-copy .ivm-eyebrow{color:#a7f3d0;letter-spacing:.14em;text-transform:uppercase;font-weight:800;font-size:12px;margin-bottom:10px;}
.aeg-command-copy h2{font-size:clamp(28px,3.2vw,44px);line-height:1.03;margin:0 0 14px;font-weight:850;color:#fff;}
.aeg-command-copy p{font-size:16px;line-height:1.6;color:rgba(255,255,255,.82);max-width:760px;margin:0;}
.aeg-command-stats{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.aeg-command-stats>div{padding:18px;border-radius:20px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(14px);}
.aeg-command-stats span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.66);font-weight:800;margin-bottom:8px;}
.aeg-command-stats strong{display:block;font-size:25px;line-height:1.1;color:#fff;}
.aeg-premium-tabs{padding:6px;border-radius:18px;background:#f1f5f9;border:1px solid rgba(15,23,42,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.8);}
.aeg-premium-tabs .ivm-tab{border-radius:14px;transition:all .18s ease;border:0;}
.aeg-premium-tabs .ivm-tab.active,.aeg-premium-tabs .ivm-tab:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(15,23,42,.10);}
.aeg-command-hero{background:linear-gradient(135deg,#f8fafc,#ecfeff);border:1px solid rgba(14,116,144,.16);}
.aeg-exec-scoreboard{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;}
.aeg-score-tile{padding:18px;border-radius:22px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 14px 40px rgba(15,23,42,.08);position:relative;overflow:hidden;}
.aeg-score-tile:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#64748b;}
.aeg-score-tile.good:before{background:var(--aeg-good);}
.aeg-score-tile.warn:before{background:var(--aeg-warn);}
.aeg-score-tile.bad:before{background:var(--aeg-bad);}
.aeg-score-tile span{display:block;color:var(--aeg-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;margin-bottom:8px;}
.aeg-score-tile strong{font-size:34px;line-height:1;color:var(--aeg-ink);font-weight:850;}
.aeg-score-tile em{font-style:normal;color:var(--aeg-muted);font-size:13px;margin-left:4px;}
.aeg-readiness-card{border-left:5px solid #0f766e;}
.aeg-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:12px 0 16px;}
.aeg-metric-grid>div{padding:15px;border-radius:18px;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid rgba(15,23,42,.08);}
.aeg-metric-grid span{display:block;color:var(--aeg-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;margin-bottom:8px;}
.aeg-metric-grid strong{font-size:24px;color:var(--aeg-ink);}
.ivm-card,.ivm-kpi-card{border-radius:22px!important;}
.ivm-table-wrap{border-radius:18px;overflow:auto;border:1px solid rgba(15,23,42,.08);}
.ivm-table thead th{background:#f8fafc;color:#334155;font-size:12px;text-transform:uppercase;letter-spacing:.06em;}
.ivm-primary{box-shadow:0 12px 28px rgba(2,132,199,.20)!important;}
@media (max-width:980px){
  .aeg-premium-command-center{grid-template-columns:1fr;padding:22px;border-radius:22px;}
  .aeg-command-stats,.aeg-exec-scoreboard,.aeg-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  .aeg-command-stats,.aeg-exec-scoreboard,.aeg-metric-grid{grid-template-columns:1fr;}
  .aeg-command-copy h2{font-size:28px;}
}

/* Stage 7 — UI normalization, shell alignment, and user-facing polish */
.aeg-premium-ui,
.ivm-portfolio{
  box-sizing:border-box;
}
.ivm-portfolio{
  max-width:1380px!important;
  width:min(100%,1380px)!important;
  margin:0 auto!important;
  padding:24px clamp(16px,3vw,32px) 48px!important;
  color:#0f172a;
}
.ivm-portfolio *{box-sizing:border-box;}
.ivm-portfolio .ivm-page-tabs,
.ivm-portfolio .aeg-premium-tabs{
  width:100%;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin:0 0 20px!important;
  padding:12px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.86)!important;
  box-shadow:0 18px 50px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.9)!important;
  overflow-x:auto;
  overflow-y:hidden;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab,
.ivm-portfolio .aeg-premium-tabs .ivm-tab,
.ivm-portfolio .ivm-tab{
  flex:0 0 auto;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px!important;
  border-radius:16px!important;
  border:1px solid rgba(203,213,225,.7)!important;
  background:#fff!important;
  color:#111827!important;
  font-size:14px!important;
  line-height:1.1;
  font-weight:800!important;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 6px 16px rgba(15,23,42,.04);
  white-space:nowrap;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab.active,
.ivm-portfolio .aeg-premium-tabs .ivm-tab.active{
  color:#fff!important;
  background:#1f6da8!important;
  border-color:#1f6da8!important;
  box-shadow:0 12px 26px rgba(31,109,168,.22)!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab:hover:not(.active),
.ivm-portfolio .aeg-premium-tabs .ivm-tab:hover:not(.active){
  transform:translateY(-1px);
  color:#0f172a!important;
  background:#f8fafc!important;
  border-color:#94a3b8!important;
  box-shadow:0 12px 28px rgba(15,23,42,.08)!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-secondary-tab="1"]{
  opacity:.82;
  background:#f8fafc!important;
  font-weight:750!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]{
  margin-left:auto;
  text-transform:none;
  letter-spacing:0;
  font-weight:750!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-duplicate-tab="1"]{display:none!important;}
.aeg-internal-badges,
.ivm-user-facing-hidden{display:none!important;}
.ivm-portfolio .ivm-card,
.ivm-portfolio .ivm-kpi-card,
.ivm-portfolio .aeg-score-tile,
.ivm-portfolio .aeg-readiness-card{
  border-radius:24px!important;
  border:1px solid rgba(148,163,184,.24)!important;
  background:#fff!important;
  box-shadow:0 16px 45px rgba(15,23,42,.06)!important;
}
.ivm-portfolio .ivm-scenario-hero,
.ivm-portfolio .ivm-financial-hero,
.ivm-portfolio .aeg-command-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr);
  gap:16px;
  padding:28px!important;
  margin:0!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#f8fbff,#eef7f3)!important;
  border:1px solid rgba(148,163,184,.28)!important;
  box-shadow:0 18px 55px rgba(15,23,42,.07)!important;
}
.ivm-portfolio .ivm-scenario-hero h3{
  margin:6px 0 10px!important;
  font-size:clamp(24px,2.2vw,34px)!important;
  line-height:1.12!important;
  letter-spacing:-.025em;
  color:#0f172a!important;
}
.ivm-portfolio .ivm-scenario-hero p{
  max-width:880px!important;
  color:#475569!important;
  font-size:15px!important;
  line-height:1.65!important;
}
.ivm-portfolio .ivm-eyebrow{
  font-size:12px!important;
  color:#1f6da8!important;
  text-transform:uppercase;
  letter-spacing:.14em!important;
  font-weight:850!important;
}
.ivm-portfolio .ivm-scenario-form{
  grid-template-columns:1.1fr repeat(3,minmax(190px,1fr))!important;
  gap:20px!important;
  padding:22px!important;
}
.ivm-portfolio .ivm-scenario-form .ivm-label{
  margin-bottom:8px!important;
  color:#334155!important;
  font-size:12px!important;
  letter-spacing:.08em!important;
  font-weight:850!important;
}
.ivm-portfolio .ivm-scenario-check{
  min-height:46px;
  padding:10px 12px!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  border-color:#e2e8f0!important;
  font-size:14px!important;
}
.ivm-portfolio .ivm-input,
.ivm-portfolio select,
.ivm-portfolio input[type="text"],
.ivm-portfolio input[type="number"],
.ivm-portfolio input[type="date"],
.ivm-portfolio textarea{
  border-radius:14px!important;
  border:1px solid #cbd5e1!important;
  min-height:44px;
  padding:10px 13px!important;
  background:#fff!important;
  color:#0f172a!important;
  box-shadow:none!important;
}
.ivm-portfolio .ivm-input:focus,
.ivm-portfolio select:focus,
.ivm-portfolio input:focus,
.ivm-portfolio textarea:focus{
  outline:0!important;
  border-color:#1f6da8!important;
  box-shadow:0 0 0 3px rgba(31,109,168,.14)!important;
}
.ivm-portfolio .ivm-primary,
.ivm-portfolio button.ivm-primary{
  min-height:46px;
  border-radius:14px!important;
  background:#1f6da8!important;
  border-color:#1f6da8!important;
  color:#fff!important;
  padding:12px 18px!important;
  font-weight:850!important;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.ivm-portfolio .ivm-secondary,
.ivm-portfolio button.ivm-secondary{
  min-height:46px;
  border-radius:14px!important;
  background:#fff!important;
  border:1px solid #cbd5e1!important;
  color:#0f172a!important;
  padding:12px 16px!important;
  font-weight:800!important;
}
.ivm-portfolio .ivm-scenario-status{
  border-radius:16px!important;
  background:#f8fafc!important;
  border:1px dashed #cbd5e1!important;
  color:#64748b!important;
}
.ivm-portfolio .ivm-scenario-kpis,
.ivm-portfolio .aeg-exec-scoreboard,
.ivm-portfolio .aeg-metric-grid{
  gap:16px!important;
}
.ivm-portfolio .ivm-table-wrap{
  border-radius:20px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  background:#fff!important;
}
.aeg-premium-command-center{
  margin:0 0 20px!important;
  border-radius:30px!important;
}
@media (max-width:1100px){
  .ivm-portfolio .ivm-scenario-form{grid-template-columns:1fr 1fr!important;}
  .ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]{margin-left:0;}
}
@media (max-width:720px){
  .ivm-portfolio{padding:16px 12px 36px!important;}
  .ivm-portfolio .ivm-page-tabs{flex-wrap:nowrap!important;padding:10px!important;border-radius:20px!important;}
  .ivm-portfolio .ivm-page-tabs .ivm-tab{min-height:38px;font-size:12px!important;padding:9px 12px!important;}
  .ivm-portfolio .ivm-scenario-form{grid-template-columns:1fr!important;padding:16px!important;}
  .ivm-portfolio .ivm-scenario-hero{padding:20px!important;border-radius:22px!important;}
}


/* Batch 1 property-detail page: real-data-only evidence view */
.ivm-property-page{
  display:block;
}
.ivm-property-detail-shell{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.ivm-property-header{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}
.ivm-property-header h2{
  margin:6px 0 4px;
  font-size:28px;
  line-height:1.15;
  color:var(--ivm-color-text-main);
}
.ivm-property-header-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.ivm-property-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.ivm-property-kpi{
  background:#fff;
  border:1px solid var(--ivm-color-border);
  border-radius:18px;
  padding:18px;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}
.ivm-property-kpi span{
  display:block;
  color:var(--ivm-color-text-muted);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.ivm-property-kpi strong{
  display:block;
  color:var(--ivm-color-text-main);
  font-size:23px;
  line-height:1.05;
  margin-bottom:8px;
}
.ivm-property-kpi small{
  display:block;
  color:var(--ivm-color-text-muted);
  font-size:12px;
  line-height:1.35;
}
.ivm-property-grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);
  gap:18px;
}
.ivm-property-map-card,
.ivm-property-hazard-card{
  min-height:320px;
}
.ivm-real-map{
  height:300px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--ivm-color-border);
  background:#f1f5f9;
  margin:12px 0;
}
.ivm-map-empty{
  min-height:260px;
  border:1px dashed #cbd5e1;
  border-radius:16px;
  background:#f8fafc;
  color:var(--ivm-color-text-muted);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  text-align:center;
  margin:12px 0;
}
.ivm-property-hazard-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:12px;
}
.ivm-property-hazard-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 0;
  border-bottom:1px solid #eef2f7;
}
.ivm-property-hazard-row:last-child{
  border-bottom:0;
}
.ivm-property-hazard-row strong{
  display:block;
  font-size:14px;
  color:var(--ivm-color-text-main);
}
.ivm-property-hazard-row span{
  display:block;
  color:var(--ivm-color-text-muted);
  font-size:12px;
  margin-top:2px;
}
.ivm-property-score{
  font-size:24px;
  font-weight:800;
  color:var(--ivm-color-text-main);
  min-width:76px;
  text-align:right;
}
.ivm-property-score small{
  font-size:12px;
  color:var(--ivm-color-text-muted);
  margin-left:2px;
}
.ivm-property-table th,
.ivm-property-table td{
  vertical-align:top;
  white-space:nowrap;
}
.ivm-property-trust-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.ivm-property-warning-list{
  margin:14px 0 0;
  padding-left:20px;
  color:#92400e;
}
.ivm-property-empty{
  max-width:780px;
}
.ivm-mini-action{
  border:1px solid var(--ivm-color-border);
  border-radius:999px;
  background:#fff;
  color:var(--ivm-color-text-main);
  font-size:12px;
  font-weight:800;
  padding:7px 11px;
  cursor:pointer;
}
.ivm-mini-action:hover,
.ivm-link-btn:hover{
  border-color:var(--ivm-color-primary);
  color:var(--ivm-color-primary);
}
.ivm-link-btn{
  border:1px solid var(--ivm-color-border);
  border-radius:999px;
  background:#fff;
  color:var(--ivm-color-text-main);
  font-size:12px;
  font-weight:800;
  padding:7px 11px;
  cursor:pointer;
  margin-right:8px;
}
.ivm-error-text{
  color:#b91c1c;
  font-weight:700;
}

@media (max-width: 980px){
  .ivm-property-header{ flex-direction:column; }
  .ivm-property-header-actions{ justify-content:flex-start; }
  .ivm-property-kpis{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ivm-property-grid{ grid-template-columns:1fr; }
  .ivm-property-trust-grid{ grid-template-columns:1fr; }
}
@media (max-width: 640px){
  .ivm-property-kpis{ grid-template-columns:1fr; }
  .ivm-real-map,.ivm-map-empty{ height:240px; min-height:220px; }
  .ivm-property-header h2{ font-size:23px; }
}

/* Property page Batch 1.1 — evidence styling, scenario chart, climate-adjusted value */
.ivm-property-header{
  background:linear-gradient(135deg,#f8fcf8 0%,#eef7f1 100%);
  border-color:#d7eadb;
}
.ivm-property-kpis{
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
}
.ivm-property-kpi{
  background:#fbfefd;
  border-color:#dbeade;
}
.ivm-property-kpi strong .ivm-property-score-pill{margin-top:2px}
.ivm-property-kpi small .ivm-property-score-pill{margin-top:0}
.ivm-property-hazard-card{
  background:#fbfefd;
}
.ivm-property-hazard-row{
  border:1px solid #e4efe8;
  border-radius:14px;
  padding:13px 14px;
  background:#fff;
}
.ivm-property-hazard-row.minimal{background:#f4fbef;border-color:#d9edcf}
.ivm-property-hazard-row.minor{background:#f2fbff;border-color:#d7eefb}
.ivm-property-hazard-row.moderate{background:#fffbed;border-color:#f4e9b4}
.ivm-property-hazard-row.major{background:#fff7e8;border-color:#f2d9a9}
.ivm-property-hazard-row.severe{background:#fff0ee;border-color:#efc7bf}
.ivm-property-hazard-row.extreme{background:#fff1f1;border-color:#efb4b4}
.ivm-property-hazard-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ivm-property-hazard-score{min-width:170px;display:flex;align-items:center;gap:12px;justify-content:flex-end}
.ivm-property-score-track{width:88px;height:8px;border-radius:999px;background:#e8eee9;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(15,23,42,.04)}
.ivm-property-score-track i{display:block;height:100%;border-radius:999px}
.ivm-property-score-pill{display:inline-flex;align-items:baseline;gap:2px;border-radius:999px;padding:5px 9px;font-weight:800;font-size:14px;line-height:1;background:#edf2f0;color:#172033;border:1px solid #dce7e2;white-space:nowrap}
.ivm-property-score-pill small{font-size:10px;opacity:.72;margin:0}
.ivm-property-score-pill.minimal{background:#e5f2e0;border-color:#cfe7c6;color:#1f4d2b}
.ivm-property-score-pill.minor{background:#e0f2fe;border-color:#c0e3f7;color:#164e63}
.ivm-property-score-pill.moderate{background:#fef9c3;border-color:#efe58a;color:#713f12}
.ivm-property-score-pill.major{background:#fde68a;border-color:#edc95a;color:#78350f}
.ivm-property-score-pill.severe{background:#fecaca;border-color:#f3a6a6;color:#7f1d1d}
.ivm-property-score-pill.extreme{background:#fca5a5;border-color:#ef8d8d;color:#7f1d1d}
.ivm-property-score-pill.unknown{background:#f1f5f9;color:#64748b;border-color:#e2e8f0}
.ivm-property-evidence-panel{
  background:#f7fcf7;
  border-color:#dcebdd;
}
.ivm-property-evidence-panel .ivm-card-title{
  margin-bottom:12px;
}
.ivm-property-table{
  background:#f7fcf7;
  border:1px solid #dcebdd;
  border-radius:16px;
  overflow:hidden;
  border-collapse:separate;
  border-spacing:0;
}
.ivm-property-table thead th{
  background:#f3f8f3;
  color:#2a3342;
  border-bottom:1px solid #dcebdd;
}
.ivm-property-table td{
  background:rgba(255,255,255,.42);
  border-color:#e2eee3!important;
  white-space:normal;
}
.ivm-property-table tbody tr:nth-child(even) td{background:rgba(255,255,255,.24)}
.ivm-property-table tbody tr:hover td{background:#ffffff}
.ivm-risk-row.minimal td:first-child{box-shadow:inset 4px 0 0 #9fcb85}
.ivm-risk-row.minor td:first-child{box-shadow:inset 4px 0 0 #7cc7ea}
.ivm-risk-row.moderate td:first-child{box-shadow:inset 4px 0 0 #e9d65b}
.ivm-risk-row.major td:first-child{box-shadow:inset 4px 0 0 #e5aa4e}
.ivm-risk-row.severe td:first-child{box-shadow:inset 4px 0 0 #e47a66}
.ivm-risk-row.extreme td:first-child{box-shadow:inset 4px 0 0 #cf3f3f}
.ivm-property-chart-controls{display:flex;gap:12px;flex-wrap:wrap;margin:6px 0 14px;align-items:center}
.ivm-property-chart-controls label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#5f6b7a}
.ivm-property-chart-controls select{min-height:38px;border:1px solid #cfe0d3;border-radius:999px;background:#fff;padding:0 36px 0 14px;color:#172033;font-weight:700}
.ivm-property-chart-card{background:#fff;border:1px solid #dcebdd;border-radius:18px;padding:14px 16px 10px;margin-bottom:16px;box-shadow:0 12px 26px rgba(15,23,42,.04)}
.ivm-property-chart-card svg{width:100%;height:auto;display:block}
.ivm-chart-grid{stroke:#e4ece6;stroke-width:1}
.ivm-chart-axis{fill:#64748b;font-size:12px;font-weight:700}
.ivm-property-chart-legend{display:flex;gap:14px;flex-wrap:wrap;margin:6px 0 0;font-size:12px;color:#475569;font-weight:700}
.ivm-chart-legend-item{display:inline-flex;gap:6px;align-items:center}
.ivm-chart-legend-item i{width:10px;height:10px;border-radius:999px;display:inline-block}
.ivm-property-value-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:4px 0 16px}
.ivm-property-value-strip>div{background:#fff;border:1px solid #dcebdd;border-radius:14px;padding:12px 14px}
.ivm-property-value-strip span{display:block;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#64748b;margin-bottom:6px}
.ivm-property-value-strip strong{display:block;font-size:18px;color:#101828;line-height:1.1}
.ivm-property-financial-table td:last-child{min-width:340px}
@media (max-width: 760px){
  .ivm-property-hazard-score{min-width:120px;flex-direction:column;align-items:flex-end;gap:6px}
  .ivm-property-score-track{width:76px}
}


/* v1.11.2 visual consistency patch — unified typography, nav, property evidence and real map handling */
.ivm-portfolio{
  --ivm-surface:#f3faf4;
  --ivm-surface-2:#f8fcf8;
  --ivm-panel:#ffffff;
  --ivm-line:#dfeae1;
  --ivm-line-strong:#cbdccf;
  --ivm-ink:#111827;
  --ivm-muted:#667085;
  --ivm-primary:#336fa6;
  --ivm-primary-dark:#285d8e;
  --ivm-accent:#3b8b78;
  --ivm-radius:18px;
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-size:15px!important;
  line-height:1.5!important;
  font-weight:400!important;
  background:var(--ivm-surface)!important;
  border-radius:28px;
}
.ivm-portfolio *{font-family:inherit!important;}
.ivm-portfolio h1,.ivm-portfolio h2,.ivm-portfolio h3,.ivm-portfolio h4,
.ivm-portfolio strong,.ivm-portfolio b{font-weight:500!important;letter-spacing:0!important;}
.ivm-portfolio .ivm-card-title,
.ivm-portfolio .ivm-section-kicker,
.ivm-portfolio .ivm-eyebrow,
.ivm-portfolio .ivm-label,
.ivm-portfolio th,
.ivm-portfolio .ivm-property-kpi span,
.ivm-portfolio .ivm-property-value-strip span,
.ivm-portfolio .aeg-command-stats span{
  font-weight:500!important;
  letter-spacing:.075em!important;
}
.ivm-panel,
.ivm-card,
.ivm-kpi-card,
.ivm-property-kpi,
.ivm-property-map-card,
.ivm-property-hazard-card,
.ivm-property-evidence-panel,
.ivm-property-trust{
  background:var(--ivm-panel)!important;
  border:1px solid var(--ivm-line)!important;
  border-radius:var(--ivm-radius)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.045)!important;
}
.ivm-panel{padding:22px!important;}
/* Command center: still premium, but now harmonized with the rest of the portal */
.aeg-premium-command-center{
  background:
    radial-gradient(circle at 96% 100%,rgba(59,139,120,.18),transparent 34%),
    linear-gradient(135deg,#f7fbf8 0%,#eef7f0 48%,#e8f3ee 100%)!important;
  color:var(--ivm-ink)!important;
  border:1px solid var(--ivm-line-strong)!important;
  box-shadow:0 16px 44px rgba(15,23,42,.075)!important;
  padding:26px!important;
  gap:20px!important;
}
.aeg-premium-command-center:after{background:rgba(59,139,120,.08)!important;}
.aeg-command-copy .ivm-eyebrow{color:#336fa6!important;font-size:12px!important;font-weight:500!important;}
.aeg-command-copy h2{color:var(--ivm-ink)!important;font-size:clamp(30px,3vw,48px)!important;font-weight:400!important;line-height:1.12!important;}
.aeg-command-copy p{color:#415063!important;font-size:16px!important;line-height:1.6!important;font-weight:400!important;}
.aeg-command-stats>div{background:rgba(255,255,255,.72)!important;border:1px solid var(--ivm-line-strong)!important;border-radius:18px!important;box-shadow:none!important;backdrop-filter:none!important;}
.aeg-command-stats span{color:#64748b!important;}
.aeg-command-stats strong{color:var(--ivm-ink)!important;font-size:24px!important;font-weight:500!important;overflow-wrap:anywhere;}
/* Tab bar: single design, predictable ordering, no white-on-white hover */
.ivm-spacer,[data-aeg-hidden-spacer="1"]{display:none!important;}
.ivm-portfolio .ivm-page-tabs,
.ivm-portfolio .aeg-premium-tabs{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  padding:12px!important;
  margin:0 0 24px!important;
  background:rgba(255,255,255,.82)!important;
  border:1px solid var(--ivm-line)!important;
  border-radius:24px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.045)!important;
  overflow:visible!important;
}
.ivm-portfolio .ivm-tab,
.ivm-portfolio .aeg-premium-tabs .ivm-tab,
.ivm-portfolio .ivm-page-tabs .ivm-tab{
  min-height:42px!important;
  padding:10px 18px!important;
  border:1px solid #d7e1dc!important;
  border-radius:16px!important;
  background:#fbfdfc!important;
  color:#202a39!important;
  font-size:13px!important;
  font-weight:500!important;
  letter-spacing:.055em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
  transform:none!important;
}
.ivm-portfolio .ivm-tab:hover,
.ivm-portfolio .ivm-tab:focus,
.ivm-portfolio .aeg-premium-tabs .ivm-tab:hover{
  background:#edf6f1!important;
  color:#102033!important;
  border-color:#b9d4c8!important;
  box-shadow:none!important;
}
.ivm-portfolio .ivm-tab.active,
.ivm-portfolio .aeg-premium-tabs .ivm-tab.active{
  background:var(--ivm-primary)!important;
  border-color:var(--ivm-primary)!important;
  color:#fff!important;
}
.ivm-portfolio .ivm-tab.active:hover{background:var(--ivm-primary-dark)!important;color:#fff!important;}
.ivm-portfolio .ivm-tab[data-aeg-action="logout"]{text-transform:none!important;margin-left:auto!important;background:#fff!important;}
.ivm-portfolio .ivm-tab[data-aeg-action="logout"]:hover{background:#f8fafc!important;color:#111827!important;border-color:#cbd5e1!important;}
.ivm-portfolio [data-aeg-duplicate-tab="1"]{display:none!important;}
/* Buttons and inputs: consistent weight, spacing and hover readability */
.ivm-portfolio .ivm-btn,
.ivm-portfolio .ivm-btn-primary,
.ivm-portfolio .ivm-primary,
.ivm-portfolio .ivm-btn-outline,
.ivm-portfolio .ivm-secondary,
.ivm-portfolio button,
.ivm-portfolio a.button{
  font-weight:500!important;
  letter-spacing:.055em!important;
}
.ivm-portfolio .ivm-primary,
.ivm-portfolio .ivm-btn,
.ivm-portfolio .ivm-btn-primary{
  background:var(--ivm-accent)!important;
  border-color:var(--ivm-accent)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(59,139,120,.16)!important;
}
.ivm-portfolio .ivm-primary:hover,
.ivm-portfolio .ivm-btn:hover,
.ivm-portfolio .ivm-btn-primary:hover{
  background:#317766!important;
  color:#fff!important;
}
.ivm-portfolio .ivm-secondary,
.ivm-portfolio .ivm-btn-outline{
  color:#172033!important;
  background:#fff!important;
  border-color:#d6e1dc!important;
  box-shadow:none!important;
}
.ivm-portfolio .ivm-secondary:hover,
.ivm-portfolio .ivm-btn-outline:hover{
  background:#edf6f1!important;
  color:#172033!important;
}
.ivm-portfolio select,
.ivm-portfolio input,
.ivm-portfolio textarea,
.ivm-portfolio .ivm-input{
  font-weight:400!important;
  border-color:#d7e3dc!important;
  background:#fff!important;
  color:#111827!important;
}
/* Property page layout */
.ivm-property-detail-shell{gap:20px!important;}
.ivm-property-header{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:4px 0 8px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
  gap:18px!important;
}
.ivm-property-header h2{
  font-size:clamp(30px,3.2vw,52px)!important;
  line-height:1.08!important;
  font-weight:400!important;
  margin:4px 0 6px!important;
  color:#111827!important;
  overflow-wrap:anywhere!important;
}
.ivm-property-header .ivm-section-kicker{font-size:14px!important;text-transform:none!important;letter-spacing:0!important;color:#111827!important;}
.ivm-property-header .ivm-muted{font-size:15px!important;color:#8a939d!important;}
.ivm-property-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:wrap!important;}
.ivm-property-header-actions .ivm-btn{min-height:44px!important;border-radius:13px!important;padding:11px 18px!important;white-space:nowrap!important;}
.ivm-property-kpis{gap:16px!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;}
.ivm-property-kpi{padding:18px!important;min-height:124px!important;}
.ivm-property-kpi span{font-size:12px!important;color:#68768a!important;}
.ivm-property-kpi strong{font-size:25px!important;font-weight:500!important;color:#111827!important;line-height:1.12!important;overflow-wrap:anywhere;}
.ivm-property-kpi small{font-size:13px!important;color:#667085!important;}
.ivm-property-grid{grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr)!important;gap:20px!important;align-items:stretch!important;}
.ivm-property-map-card,.ivm-property-hazard-card{min-height:420px!important;}
.ivm-real-map{height:360px!important;min-height:360px!important;background:#e8f0ec!important;border:1px solid var(--ivm-line)!important;border-radius:18px!important;}
.ivm-map-empty{min-height:360px!important;background:#f7fbf8!important;border:1px dashed #cddbd2!important;border-radius:18px!important;color:#667085!important;font-size:15px!important;}
.ivm-property-hazard-card .ivm-card-title,
.ivm-property-map-card .ivm-card-title,
.ivm-property-evidence-panel .ivm-card-title,
.ivm-property-trust .ivm-card-title{
  font-size:18px!important;
  color:#111827!important;
  margin:0 0 14px!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.ivm-property-hazard-list{gap:12px!important;}
.ivm-property-hazard-row{padding:14px 16px!important;border-radius:16px!important;min-height:74px!important;}
.ivm-property-hazard-row strong{font-size:17px!important;font-weight:500!important;}
.ivm-property-hazard-meta{gap:10px!important;}
.ivm-score-band{font-weight:500!important;letter-spacing:.065em!important;border-radius:999px!important;}
.ivm-property-score{font-size:25px!important;font-weight:500!important;}
.ivm-property-score small{font-weight:400!important;}
.ivm-property-score-track{width:110px!important;height:9px!important;}
.ivm-property-score-pill{font-weight:500!important;font-size:14px!important;}
/* Evidence sections: same surface as rest of portal */
.ivm-property-evidence-panel{background:var(--ivm-panel)!important;padding:24px!important;overflow:hidden!important;}
.ivm-property-chart-controls{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:14px!important;margin:2px 0 16px!important;}
.ivm-property-chart-controls label{display:grid!important;grid-template-columns:auto minmax(180px,1fr)!important;align-items:center!important;font-size:12px!important;font-weight:500!important;color:#68768a!important;}
.ivm-property-chart-controls select{height:44px!important;border-radius:14px!important;font-size:15px!important;padding-left:14px!important;}
.ivm-property-chart-card{background:#f7fbf8!important;border-color:var(--ivm-line)!important;border-radius:18px!important;padding:16px!important;box-shadow:none!important;}
.ivm-chart-axis{font-weight:400!important;fill:#667085!important;}
.ivm-chart-grid{stroke:#dfe9e2!important;}
.ivm-property-chart-legend{font-weight:400!important;color:#475467!important;}
.ivm-property-value-strip{gap:12px!important;margin:0 0 18px!important;}
.ivm-property-value-strip>div{background:#f8fcf8!important;border-color:var(--ivm-line)!important;border-radius:16px!important;padding:15px 16px!important;}
.ivm-property-value-strip span{font-size:12px!important;color:#68768a!important;}
.ivm-property-value-strip strong{font-size:23px!important;font-weight:500!important;}
.ivm-table-responsive,
.ivm-table-wrap{background:transparent!important;border:0!important;box-shadow:none!important;overflow:auto!important;}
.ivm-property-table,
.ivm-portfolio .ivm-table{
  background:#f8fcf8!important;
  border:1px solid var(--ivm-line)!important;
  border-radius:18px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
}
.ivm-property-table thead th,
.ivm-portfolio .ivm-table thead th{
  background:#eef7f0!important;
  color:#344054!important;
  font-size:12px!important;
  font-weight:500!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
  padding:14px 16px!important;
  border-bottom:1px solid var(--ivm-line)!important;
}
.ivm-property-table td,
.ivm-portfolio .ivm-table td{
  background:#fbfefd!important;
  color:#111827!important;
  font-size:15px!important;
  font-weight:400!important;
  padding:14px 16px!important;
  border-bottom:1px solid #e7f0e8!important;
  border-right:1px solid #e7f0e8!important;
}
.ivm-property-table tr:nth-child(even) td,
.ivm-portfolio .ivm-table tr:nth-child(even) td{background:#f5fbf6!important;}
.ivm-property-table tr:hover td,
.ivm-portfolio .ivm-table tr:hover td{background:#edf6f1!important;color:#111827!important;}
.ivm-property-table td strong,
.ivm-portfolio .ivm-table td strong{font-weight:500!important;color:#111827!important;}
.ivm-risk-row.minimal td:first-child{box-shadow:inset 4px 0 0 #92c47d!important;}
.ivm-risk-row.minor td:first-child{box-shadow:inset 4px 0 0 #8cc9e7!important;}
.ivm-risk-row.moderate td:first-child{box-shadow:inset 4px 0 0 #e7d35a!important;}
.ivm-risk-row.major td:first-child{box-shadow:inset 4px 0 0 #e4ae50!important;}
.ivm-risk-row.severe td:first-child{box-shadow:inset 4px 0 0 #dc7a68!important;}
.ivm-risk-row.extreme td:first-child{box-shadow:inset 4px 0 0 #c84242!important;}
/* Scenario, financial and validation module harmonization */
.ivm-scenario-hero,
.ivm-financial-hero,
.aeg-command-hero{background:var(--ivm-panel)!important;border:1px solid var(--ivm-line)!important;border-radius:var(--ivm-radius)!important;box-shadow:0 10px 28px rgba(15,23,42,.045)!important;}
.ivm-scenario-hero h3{font-size:24px!important;font-weight:400!important;color:#111827!important;}
.ivm-scenario-hero p{font-size:15px!important;color:#475467!important;}
.ivm-scenario-form{gap:16px!important;background:transparent!important;}
.ivm-scenario-check{background:#f8fcf8!important;border-color:var(--ivm-line)!important;border-radius:14px!important;min-height:42px!important;font-size:14px!important;}
.ivm-scenario-status{background:#f8fcf8!important;border-color:var(--ivm-line)!important;color:#667085!important;}
@media (max-width:1080px){
  .ivm-property-header{grid-template-columns:1fr!important;}
  .ivm-property-header-actions{justify-content:flex-start!important;}
  .ivm-property-grid{grid-template-columns:1fr!important;}
  .ivm-property-map-card,.ivm-property-hazard-card{min-height:0!important;}
  .ivm-portfolio .ivm-tab[data-aeg-action="logout"]{margin-left:0!important;}
}
@media (max-width:720px){
  .aeg-premium-command-center{padding:20px!important;border-radius:22px!important;}
  .aeg-command-copy h2{font-size:30px!important;}
  .ivm-portfolio .ivm-page-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;}
  .ivm-property-header h2{font-size:32px!important;}
  .ivm-property-kpis{grid-template-columns:1fr!important;}
  .ivm-property-chart-controls{grid-template-columns:1fr!important;}
  .ivm-property-chart-controls label{grid-template-columns:1fr!important;}
}

/* v1.11.3 consistency refinement — active tabs, typography, alignment, map fallback */
.ivm-portfolio{
  max-width:1320px!important;
  padding:0 18px 32px!important;
  box-sizing:border-box!important;
  color:#101828!important;
}
.ivm-portfolio,
.ivm-portfolio p,
.ivm-portfolio li,
.ivm-portfolio td,
.ivm-portfolio input,
.ivm-portfolio select,
.ivm-portfolio textarea,
.ivm-portfolio button,
.ivm-portfolio a{
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
.ivm-portfolio h1,
.ivm-portfolio h2,
.ivm-portfolio h3,
.ivm-portfolio h4,
.ivm-portfolio .ivm-card-title,
.ivm-portfolio .ivm-section-kicker,
.ivm-portfolio .ivm-eyebrow,
.ivm-portfolio .ivm-label,
.ivm-portfolio th,
.ivm-portfolio strong,
.ivm-portfolio b{
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-weight:500!important;
  letter-spacing:0!important;
}
.ivm-portfolio .ivm-section-kicker,
.ivm-portfolio .ivm-eyebrow,
.ivm-portfolio .ivm-label,
.ivm-portfolio th,
.ivm-portfolio .ivm-property-kpi span,
.ivm-portfolio .ivm-property-value-strip span{
  text-transform:none!important;
  font-size:13px!important;
  color:#5f6b7a!important;
}
/* Navigation: stable rows, no spacer push, identical weight for all items */
.ivm-portfolio .ivm-page-tabs,
.ivm-portfolio .aeg-premium-tabs{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:100%!important;
  padding:12px!important;
  margin:0 0 22px!important;
  background:#fbfdfc!important;
  border:1px solid #dce7e2!important;
  border-radius:22px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.045)!important;
  overflow:visible!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab,
.ivm-portfolio .aeg-premium-tabs .ivm-tab,
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-secondary-tab="1"],
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  min-width:0!important;
  padding:9px 16px!important;
  border-radius:14px!important;
  border:1px solid #d5e0db!important;
  background:#fff!important;
  color:#1f2937!important;
  font-size:14px!important;
  line-height:1.15!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-transform:none!important;
  opacity:1!important;
  box-shadow:none!important;
  margin-left:0!important;
  white-space:nowrap!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab:hover:not(.active),
.ivm-portfolio .aeg-premium-tabs .ivm-tab:hover:not(.active),
.ivm-portfolio .ivm-page-tabs .ivm-tab:focus:not(.active){
  background:#edf6f1!important;
  color:#101828!important;
  border-color:#bcd5ca!important;
  transform:none!important;
  box-shadow:none!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab.active,
.ivm-portfolio .aeg-premium-tabs .ivm-tab.active{
  background:#336fa6!important;
  border-color:#336fa6!important;
  color:#fff!important;
  font-weight:500!important;
  box-shadow:0 8px 18px rgba(51,111,166,.16)!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab.active:hover,
.ivm-portfolio .aeg-premium-tabs .ivm-tab.active:hover{
  background:#2b5f8f!important;
  color:#fff!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]:hover{
  background:#edf6f1!important;
  color:#101828!important;
  border-color:#bcd5ca!important;
}
/* Action buttons: no full-width accidental stretching, no oversized bold labels */
.ivm-portfolio .ivm-primary,
.ivm-portfolio .ivm-secondary,
.ivm-portfolio .ivm-btn,
.ivm-portfolio .ivm-btn-primary,
.ivm-portfolio .ivm-btn-outline,
.ivm-portfolio a.button,
.ivm-portfolio .button{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:40px!important;
  padding:9px 16px!important;
  border-radius:14px!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:500!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
}
.ivm-portfolio .ivm-scenario-actions,
.ivm-portfolio .ivm-actions,
.ivm-portfolio .ivm-pf-csv-actions,
.ivm-portfolio .ivm-manage-actions,
.ivm-portfolio .ivm-property-header-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
.ivm-portfolio .ivm-scenario-actions > *,
.ivm-portfolio .ivm-actions > *,
.ivm-portfolio .ivm-pf-csv-actions > *,
.ivm-portfolio .ivm-manage-actions > *,
.ivm-portfolio .ivm-property-header-actions > *{
  flex:0 1 auto!important;
}
/* Surfaces and spacing: one background language throughout */
.ivm-portfolio .ivm-panel,
.ivm-portfolio .ivm-card,
.ivm-portfolio .ivm-kpi-card,
.ivm-portfolio .ivm-property-kpi,
.ivm-portfolio .ivm-property-map-card,
.ivm-portfolio .ivm-property-hazard-card,
.ivm-portfolio .ivm-property-evidence-panel,
.ivm-portfolio .ivm-property-trust,
.ivm-portfolio .ivm-governance-card,
.ivm-portfolio .aeg-readiness-card{
  background:#ffffff!important;
  border:1px solid #dce7e2!important;
  border-radius:20px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.04)!important;
}
.ivm-portfolio .ivm-panel,
.ivm-portfolio .ivm-card{padding:20px!important;}
.ivm-property-detail-shell,
.ivm-column-stack{gap:18px!important;}
.ivm-property-header{
  background:#fbfdfc!important;
  border:1px solid #dce7e2!important;
  border-radius:20px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.035)!important;
  padding:22px!important;
  align-items:start!important;
}
.ivm-property-header h2{
  font-size:clamp(26px,2.7vw,42px)!important;
  line-height:1.12!important;
  margin:6px 0 8px!important;
  font-weight:400!important;
}
.ivm-property-header .ivm-section-kicker{font-size:14px!important;color:#1f2937!important;}
.ivm-property-header .ivm-muted{font-size:14px!important;color:#7b8492!important;}
.ivm-property-kpis{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:14px!important;}
.ivm-property-kpi{min-height:116px!important;padding:18px!important;}
.ivm-property-kpi span{display:block!important;margin-bottom:8px!important;}
.ivm-property-kpi strong{font-size:24px!important;line-height:1.16!important;font-weight:500!important;}
.ivm-property-kpi small{font-size:13px!important;line-height:1.35!important;color:#667085!important;}
.ivm-property-grid{grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr)!important;gap:18px!important;}
.ivm-real-map,
.ivm-embedded-map,
.ivm-map-empty{
  display:block!important;
  width:100%!important;
  height:360px!important;
  min-height:360px!important;
  border:1px solid #dce7e2!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#eef5f1!important;
}
.ivm-embedded-map{border:1px solid #dce7e2!important;}
.ivm-map-empty{display:flex!important;align-items:center!important;justify-content:center!important;color:#667085!important;border-style:dashed!important;}
/* Hazard rows and score colours: balanced, not oversized */
.ivm-property-hazard-list{gap:10px!important;}
.ivm-property-hazard-row{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  min-height:66px!important;
  padding:12px 14px!important;
  border-radius:16px!important;
}
.ivm-property-hazard-row strong{font-size:16px!important;font-weight:500!important;}
.ivm-score-band{font-size:12px!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;padding:5px 9px!important;}
.ivm-property-score{font-size:22px!important;font-weight:500!important;}
.ivm-property-score small{font-size:12px!important;font-weight:400!important;}
.ivm-property-score-track{width:96px!important;height:8px!important;}
.ivm-property-score-pill{font-size:13px!important;font-weight:500!important;letter-spacing:0!important;}
/* Tables: consistent card-like tables with readable cells */
.ivm-portfolio .ivm-table-wrap,
.ivm-portfolio .ivm-table-responsive{background:transparent!important;border:0!important;box-shadow:none!important;}
.ivm-portfolio .ivm-table,
.ivm-portfolio .ivm-property-table{
  width:100%!important;
  background:#f8fcf9!important;
  border:1px solid #dce7e2!important;
  border-radius:18px!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  overflow:hidden!important;
}
.ivm-portfolio .ivm-table thead th,
.ivm-portfolio .ivm-property-table thead th{
  background:#eef7f0!important;
  color:#344054!important;
  font-size:12px!important;
  font-weight:500!important;
  letter-spacing:0!important;
  text-transform:none!important;
  padding:13px 14px!important;
}
.ivm-portfolio .ivm-table td,
.ivm-portfolio .ivm-property-table td{
  background:#fbfefd!important;
  color:#101828!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:400!important;
  padding:13px 14px!important;
  vertical-align:middle!important;
}
.ivm-portfolio .ivm-table tr:nth-child(even) td,
.ivm-portfolio .ivm-property-table tr:nth-child(even) td{background:#f5fbf6!important;}
.ivm-portfolio .ivm-table tr:hover td,
.ivm-portfolio .ivm-property-table tr:hover td{background:#edf6f1!important;color:#101828!important;}
/* Scenario/financial/validation controls */
.ivm-scenario-form{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;gap:14px!important;align-items:start!important;}
.ivm-scenario-checks{display:grid!important;gap:8px!important;}
.ivm-scenario-check{min-height:38px!important;font-size:14px!important;font-weight:400!important;}
.ivm-property-chart-controls{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:12px!important;}
.ivm-property-chart-controls label{grid-template-columns:1fr!important;gap:6px!important;text-transform:none!important;letter-spacing:0!important;font-weight:400!important;}
.ivm-property-chart-controls select{height:40px!important;font-size:14px!important;font-weight:400!important;}
.ivm-property-value-strip{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:12px!important;}
.ivm-property-value-strip strong{font-size:22px!important;font-weight:500!important;}
/* Prevent accidental clipping in nested cards */
.ivm-portfolio .ivm-card,
.ivm-portfolio .ivm-panel{overflow:visible!important;}
.ivm-portfolio .ivm-table,
.ivm-portfolio .ivm-property-table{overflow:hidden!important;}
@media (max-width:900px){
  .ivm-property-header{grid-template-columns:1fr!important;}
  .ivm-property-header-actions{justify-content:flex-start!important;}
  .ivm-property-grid{grid-template-columns:1fr!important;}
}
@media (max-width:720px){
  .ivm-portfolio{padding:0 12px 24px!important;}
  .ivm-portfolio .ivm-page-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;gap:8px!important;border-radius:18px!important;}
  .ivm-portfolio .ivm-page-tabs .ivm-tab{min-height:38px!important;padding:8px 14px!important;font-size:13px!important;}
  .ivm-property-header h2{font-size:28px!important;}
  .ivm-property-kpis{grid-template-columns:1fr!important;}
  .ivm-real-map,.ivm-embedded-map,.ivm-map-empty{height:300px!important;min-height:300px!important;}
}


/* v1.11.4 structural UX stabilization — canonical nav, softer command center, deep-link property page, consistent surfaces */
.ivm-portfolio,
.ivm-portfolio *{box-sizing:border-box!important;}
.ivm-portfolio{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  background:#f2f8f3!important;
  color:#111827!important;
  font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif!important;
  font-size:15px!important;
  line-height:1.5!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
.ivm-portfolio h1,.ivm-portfolio h2,.ivm-portfolio h3,.ivm-portfolio h4,
.ivm-portfolio strong,.ivm-portfolio b{font-weight:400!important;letter-spacing:0!important;color:#111827!important;}
.ivm-portfolio .ivm-eyebrow,.ivm-portfolio .ivm-section-kicker,.ivm-portfolio .ivm-card-title,.ivm-portfolio .ivm-label,
.ivm-portfolio th,.ivm-portfolio .ivm-property-kpi span,.ivm-portfolio .ivm-property-value-strip span{
  font-weight:400!important;
  letter-spacing:.035em!important;
  text-transform:none!important;
  color:#5f6b7a!important;
}
.ivm-portfolio .ivm-panel,.ivm-portfolio .ivm-card,.ivm-portfolio .ivm-kpi-card,.ivm-portfolio .ivm-property-kpi,
.ivm-portfolio .ivm-property-map-card,.ivm-portfolio .ivm-property-hazard-card,.ivm-portfolio .ivm-property-evidence-panel,
.ivm-portfolio .ivm-property-trust,.ivm-portfolio .ivm-governance-card,.ivm-portfolio .aeg-readiness-card{
  background:#ffffff!important;
  border:1px solid #dce7e0!important;
  border-radius:18px!important;
  box-shadow:0 10px 26px rgba(15,23,42,.035)!important;
  min-width:0!important;
}
.ivm-portfolio .ivm-panel,.ivm-portfolio .ivm-card{padding:20px!important;overflow:visible!important;}
.ivm-portfolio.aeg-premium-ui .aeg-premium-command-center,
.ivm-portfolio .aeg-premium-command-center{
  background:linear-gradient(135deg,#f9fcf9 0%,#eef7f0 58%,#e8f2ec 100%)!important;
  color:#111827!important;
  border:1px solid #dce7e0!important;
  border-radius:22px!important;
  box-shadow:0 12px 32px rgba(15,23,42,.05)!important;
  padding:24px!important;
  margin:0 0 18px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr)!important;
  gap:20px!important;
  overflow:hidden!important;
}
.ivm-portfolio .aeg-premium-command-center:after{display:none!important;}
.ivm-portfolio .aeg-command-copy .ivm-eyebrow{color:#336fa6!important;font-size:13px!important;font-weight:400!important;letter-spacing:.05em!important;}
.ivm-portfolio .aeg-command-copy h2{color:#111827!important;font-size:clamp(28px,2.5vw,42px)!important;line-height:1.12!important;font-weight:400!important;margin:10px 0 12px!important;}
.ivm-portfolio .aeg-command-copy p{color:#475467!important;font-size:15px!important;line-height:1.6!important;font-weight:400!important;max-width:820px!important;}
.ivm-portfolio .aeg-command-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;min-width:0!important;}
.ivm-portfolio .aeg-command-stats>div{background:rgba(255,255,255,.72)!important;border:1px solid #dce7e0!important;border-radius:16px!important;padding:16px!important;min-width:0!important;}
.ivm-portfolio .aeg-command-stats span{display:block;color:#667085!important;font-size:12px!important;font-weight:400!important;letter-spacing:.04em!important;text-transform:none!important;margin-bottom:8px!important;}
.ivm-portfolio .aeg-command-stats strong{display:block;color:#111827!important;font-size:24px!important;line-height:1.15!important;font-weight:400!important;overflow-wrap:anywhere!important;}
.ivm-portfolio .ivm-page-tabs,
.ivm-portfolio .aeg-premium-tabs{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:100%!important;
  padding:14px!important;
  margin:0 0 20px!important;
  background:rgba(255,255,255,.82)!important;
  border:1px solid #dce7e0!important;
  border-radius:20px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.035)!important;
  overflow:visible!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab,
.ivm-portfolio .aeg-premium-tabs .ivm-tab,
.ivm-portfolio .ivm-tab.ivm-logout{
  flex:0 0 auto!important;
  min-height:40px!important;
  min-width:0!important;
  padding:9px 16px!important;
  border-radius:14px!important;
  border:1px solid #d7e1dc!important;
  background:#fff!important;
  color:#202a39!important;
  font-size:14px!important;
  line-height:1.18!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-transform:none!important;
  margin:0!important;
  box-shadow:none!important;
  transform:none!important;
  white-space:nowrap!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab:hover:not(.active),
.ivm-portfolio .aeg-premium-tabs .ivm-tab:hover:not(.active),
.ivm-portfolio .ivm-page-tabs .ivm-tab:focus:not(.active){
  background:#edf6f1!important;
  color:#111827!important;
  border-color:#bcd5ca!important;
  box-shadow:none!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab.active,
.ivm-portfolio .aeg-premium-tabs .ivm-tab.active{
  background:#336fa6!important;
  color:#fff!important;
  border-color:#336fa6!important;
  font-weight:400!important;
  box-shadow:0 8px 16px rgba(51,111,166,.14)!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab.active:hover{background:#2b5f8f!important;color:#fff!important;}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]{margin-left:0!important;background:#fff!important;color:#202a39!important;}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]:hover{background:#edf6f1!important;color:#111827!important;}
.ivm-portfolio [data-aeg-hidden-spacer],.ivm-portfolio .ivm-spacer,.ivm-portfolio [data-aeg-duplicate-tab="1"]{display:none!important;}
.ivm-portfolio button,.ivm-portfolio .button,.ivm-portfolio a.button,.ivm-portfolio .ivm-btn,.ivm-portfolio .ivm-primary,.ivm-portfolio .ivm-secondary,
.ivm-portfolio .ivm-btn-primary,.ivm-portfolio .ivm-btn-outline{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:40px!important;
  padding:9px 16px!important;
  border-radius:14px!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:normal!important;
  text-align:center!important;
}
.ivm-portfolio .ivm-primary,.ivm-portfolio .ivm-btn-primary,.ivm-portfolio .ivm-btn{
  background:#3b8b78!important;border-color:#3b8b78!important;color:#fff!important;box-shadow:0 8px 16px rgba(59,139,120,.14)!important;
}
.ivm-portfolio .ivm-primary:hover,.ivm-portfolio .ivm-btn-primary:hover,.ivm-portfolio .ivm-btn:hover{background:#317766!important;color:#fff!important;}
.ivm-portfolio .ivm-secondary,.ivm-portfolio .ivm-btn-outline{background:#fff!important;color:#111827!important;border-color:#d7e1dc!important;box-shadow:none!important;}
.ivm-portfolio .ivm-secondary:hover,.ivm-portfolio .ivm-btn-outline:hover{background:#edf6f1!important;color:#111827!important;}
.ivm-portfolio input,.ivm-portfolio select,.ivm-portfolio textarea,.ivm-portfolio .ivm-input{font-size:15px!important;font-weight:400!important;color:#111827!important;background:#fff!important;border-color:#d7e3dc!important;}
.ivm-portfolio textarea{min-height:120px!important;resize:vertical!important;}
.ivm-property-detail-shell{display:grid!important;gap:18px!important;width:100%!important;min-width:0!important;}
.ivm-property-header{background:transparent!important;border:0!important;box-shadow:none!important;padding:2px 0 8px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:start!important;}
.ivm-property-header h2{font-size:clamp(28px,2.6vw,42px)!important;line-height:1.12!important;font-weight:400!important;margin:6px 0!important;color:#111827!important;overflow-wrap:anywhere!important;}
.ivm-property-header-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-width:0!important;}
.ivm-property-kpis{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:14px!important;}
.ivm-property-kpi{min-height:112px!important;padding:16px!important;overflow:hidden!important;}
.ivm-property-kpi span{font-size:12px!important;color:#667085!important;font-weight:400!important;letter-spacing:.04em!important;text-transform:none!important;}
.ivm-property-kpi strong{font-size:24px!important;line-height:1.15!important;font-weight:400!important;overflow-wrap:anywhere!important;}
.ivm-property-kpi small{font-size:13px!important;line-height:1.35!important;color:#667085!important;}
.ivm-property-grid{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr)!important;gap:18px!important;align-items:stretch!important;min-width:0!important;}
.ivm-property-grid>*{min-width:0!important;}
.ivm-real-map,.ivm-embedded-map,.ivm-map-empty{height:360px!important;min-height:360px!important;width:100%!important;border:1px solid #dce7e0!important;border-radius:16px!important;background:#eef5f1!important;overflow:hidden!important;}
.ivm-map-empty{display:flex!important;align-items:center!important;justify-content:center!important;border-style:dashed!important;color:#667085!important;}
.ivm-property-hazard-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;min-height:68px!important;padding:12px 14px!important;border-radius:16px!important;}
.ivm-property-hazard-row strong{font-size:16px!important;font-weight:400!important;}
.ivm-property-hazard-meta{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;}
.ivm-score-band,.ivm-property-score-pill{font-size:12px!important;font-weight:400!important;letter-spacing:.03em!important;text-transform:none!important;border-radius:999px!important;}
.ivm-property-score{font-size:22px!important;line-height:1!important;font-weight:400!important;}
.ivm-property-score-track{width:100px!important;height:8px!important;}
.ivm-property-evidence-panel{padding:20px!important;overflow:hidden!important;}
.ivm-property-chart-controls{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:12px!important;margin:0 0 14px!important;}
.ivm-property-chart-controls label{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;font-size:13px!important;font-weight:400!important;color:#667085!important;letter-spacing:0!important;text-transform:none!important;}
.ivm-property-chart-controls select{height:42px!important;border-radius:14px!important;font-size:15px!important;font-weight:400!important;}
.ivm-property-chart-card{background:#f8fcf8!important;border:1px solid #dce7e0!important;border-radius:16px!important;padding:14px!important;}
.ivm-property-value-strip{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;gap:12px!important;margin:0 0 12px!important;}
.ivm-property-value-strip>div{background:#f8fcf8!important;border:1px solid #dce7e0!important;border-radius:16px!important;padding:14px!important;min-width:0!important;}
.ivm-property-value-strip strong{font-size:22px!important;font-weight:400!important;overflow-wrap:anywhere!important;}
.ivm-property-assumption-note{margin:0 0 16px!important;color:#667085!important;font-size:13px!important;line-height:1.45!important;}
.ivm-portfolio .ivm-table-wrap,.ivm-portfolio .ivm-table-responsive{background:transparent!important;border:0!important;box-shadow:none!important;overflow:auto!important;max-width:100%!important;}
.ivm-portfolio .ivm-table,.ivm-portfolio .ivm-property-table{background:#f8fcf8!important;border:1px solid #dce7e0!important;border-radius:16px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;min-width:720px;}
.ivm-portfolio .ivm-table thead th,.ivm-portfolio .ivm-property-table thead th{background:#eef7f0!important;color:#344054!important;font-size:12px!important;font-weight:400!important;letter-spacing:.035em!important;text-transform:none!important;padding:12px 14px!important;border-bottom:1px solid #dce7e0!important;}
.ivm-portfolio .ivm-table td,.ivm-portfolio .ivm-property-table td{background:#fbfefd!important;color:#111827!important;font-size:14px!important;line-height:1.35!important;font-weight:400!important;padding:12px 14px!important;border-bottom:1px solid #e7f0e8!important;vertical-align:middle!important;}
.ivm-portfolio .ivm-table tr:nth-child(even) td,.ivm-portfolio .ivm-property-table tr:nth-child(even) td{background:#f5fbf6!important;}
.ivm-portfolio .ivm-table tr:hover td,.ivm-portfolio .ivm-property-table tr:hover td{background:#edf6f1!important;color:#111827!important;}
.ivm-portfolio .ivm-table td strong,.ivm-portfolio .ivm-property-table td strong{font-weight:400!important;color:#111827!important;}
.ivm-scenario-form{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:14px!important;align-items:start!important;}
.ivm-scenario-actions,.ivm-actions,.ivm-pf-csv-actions,.ivm-manage-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap!important;gap:10px!important;}
.ivm-scenario-actions>*,.ivm-actions>*,.ivm-pf-csv-actions>*,.ivm-manage-actions>*{flex:0 1 auto!important;}
.ivm-scenario-check{background:#f8fcf8!important;border:1px solid #dce7e0!important;border-radius:14px!important;min-height:40px!important;font-size:14px!important;font-weight:400!important;}
.ivm-scenario-status{background:#f8fcf8!important;border:1px solid #dce7e0!important;color:#667085!important;border-radius:14px!important;}
@media (max-width:1080px){
  .ivm-portfolio .aeg-premium-command-center{grid-template-columns:1fr!important;}
  .ivm-property-header{grid-template-columns:1fr!important;}
  .ivm-property-header-actions{justify-content:flex-start!important;}
  .ivm-property-grid{grid-template-columns:1fr!important;}
}
@media (max-width:720px){
  .ivm-portfolio{padding-left:10px!important;padding-right:10px!important;}
  .ivm-portfolio .ivm-page-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;padding:10px!important;}
  .ivm-portfolio .ivm-page-tabs .ivm-tab{font-size:13px!important;padding:8px 12px!important;}
  .ivm-property-header h2{font-size:28px!important;}
  .ivm-property-kpis{grid-template-columns:1fr!important;}
  .ivm-real-map,.ivm-embedded-map,.ivm-map-empty{height:300px!important;min-height:300px!important;}
}

/* v1.11.5 stability cleanup: remove misleading global all-portfolio command-center hero and harden tab layout. */
.ivm-portfolio [data-aeg-command-center],
.ivm-portfolio .aeg-premium-command-center{display:none!important;}
.ivm-portfolio .ivm-page-tabs,
.ivm-portfolio .aeg-premium-tabs{align-items:center!important;gap:12px!important;justify-content:flex-start!important;}
.ivm-portfolio .ivm-page-tabs .ivm-tab,
.ivm-portfolio .aeg-premium-tabs .ivm-tab{font-weight:500!important;letter-spacing:.01em!important;text-transform:none!important;min-height:44px!important;line-height:1.2!important;}
.ivm-portfolio .ivm-page-tabs .ivm-tab:hover,
.ivm-portfolio .aeg-premium-tabs .ivm-tab:hover{background:#eef5ef!important;color:#152033!important;border-color:#cfdcd2!important;}
.ivm-portfolio .ivm-page-tabs .ivm-tab.active,
.ivm-portfolio .aeg-premium-tabs .ivm-tab.active{background:#3f6f9f!important;color:#fff!important;border-color:#3f6f9f!important;}
.ivm-portfolio [data-aeg-hidden-spacer],
.ivm-portfolio [data-aeg-duplicate-tab]{display:none!important;}


/* v1.12.6 property search + replacement-cost controls */
.ivm-property-try-link{appearance:none!important;border:0!important;background:transparent!important;color:#2d6a4f!important;padding:0!important;margin-top:8px!important;font-size:13px!important;font-weight:500!important;cursor:pointer!important;text-decoration:underline!important;text-underline-offset:3px!important;box-shadow:none!important;letter-spacing:0!important;text-transform:none!important;}
.ivm-property-try-link:hover,.ivm-property-try-link:focus{color:#1b4332!important;background:transparent!important;outline:none!important;}
.ivm-property-search-panel[hidden]{display:none!important;}
.ivm-property-search-panel.is-open{animation:aegFadeIn .18s ease-out both;}
.ivm-new-address-link{margin-top:8px!important;align-self:flex-start!important;}
.ivm-property-kpi-replacement .ivm-inline-edit,.ivm-property-kpi-loan .ivm-inline-edit{margin-top:auto!important;}
.ivm-property-value-strip small{display:block!important;margin-top:3px!important;font-size:11px!important;color:#667085!important;line-height:1.25!important;}
@keyframes aegFadeIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* v1.12.12 Smart Portal Help */
.ivm-help-panel{max-width:430px;width:min(430px,calc(100vw - 32px));}
.ivm-help-quick{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 4px;}
.ivm-help-quick button{border:1px solid var(--ivm-color-border,#d7e2dc);background:#f8fbf8;color:var(--ivm-color-text-main,#111827);border-radius:999px;padding:7px 10px;font-size:12px;line-height:1.2;cursor:pointer;font-family:inherit;box-shadow:none;}
.ivm-help-quick button:hover,.ivm-help-quick button:focus{background:var(--ivm-color-accent,#178e79);border-color:var(--ivm-color-accent,#178e79);color:#fff;outline:none;}
.ivm-help-context{font-size:12px;line-height:1.4;color:var(--ivm-color-text-muted,#64748b);border-top:1px dashed var(--ivm-color-border,#d7e2dc);padding-top:8px;}
.ivm-help-answer ul,.ivm-help-answer ol{margin:8px 0 8px 20px;padding:0;}
.ivm-help-answer li{margin:4px 0;}

/* v1.13.8: reverted deterministic grid nav to the clean flowing pill layout. */
.ivm-portfolio .ivm-page-tabs.aeg-premium-tabs,
.ivm-portfolio .aeg-premium-tabs.ivm-page-tabs{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  align-items:center!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab{
  width:auto!important;
  flex:0 0 auto!important;
  margin:0!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]{
  margin-left:auto!important;
  color:#991b1b!important;
  border-color:#fecaca!important;
  background:#fff!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]:hover{
  color:#7f1d1d!important;
  border-color:#fca5a5!important;
  background:#fff5f5!important;
}
@media (max-width: 760px){
  .ivm-portfolio .ivm-page-tabs .ivm-tab,
  .ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]{
    flex:1 1 calc(50% - 10px)!important;
    text-align:center!important;
    margin-left:0!important;
  }
}
@media (max-width: 520px){
  .ivm-portfolio .ivm-page-tabs .ivm-tab,
  .ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]{
    flex-basis:100%!important;
  }
}


/* v1.13.9: targeted nav order only. Logout stays on the first row; Account starts the second row before B-15 Builder. */
.ivm-portfolio .ivm-page-tabs .aeg-nav-break{
  flex:0 0 100%!important;
  width:100%!important;
  height:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  overflow:hidden!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-nav-key="account"]{
  margin-left:0!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]{
  margin-left:auto!important;
  border-color:#fecaca!important;
  color:#991b1b!important;
  background:#fff!important;
}
.ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]:hover{
  background:#fff5f5!important;
  border-color:#fca5a5!important;
  color:#7f1d1d!important;
}
@media(max-width:720px){
  .ivm-portfolio .ivm-page-tabs .aeg-nav-break{display:none!important;}
  .ivm-portfolio .ivm-page-tabs .ivm-tab[data-aeg-action="logout"]{margin-left:0!important;}
}


/* v1.13.10 — property width + portfolio action-column alignment only */
.ivm-portfolio .ivm-property-page,
.ivm-portfolio .ivm-property-detail-shell,
.ivm-portfolio .ivm-property-empty{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.ivm-portfolio .ivm-property-empty{
  display:block!important;
}
.ivm-portfolio .ivm-property-empty .ivm-property-search-panel{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
  grid-template-columns:minmax(260px,.72fr) minmax(420px,1.28fr)!important;
}
.ivm-portfolio .ivm-property-search-field,
.ivm-portfolio .ivm-property-search-field input{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.ivm-portfolio .ivm-table td.ivm-action-cell{
  vertical-align:middle!important;
  text-align:center!important;
  white-space:nowrap!important;
  min-width:150px!important;
  width:150px!important;
  padding:13px 12px!important;
}
.ivm-portfolio .ivm-table td.ivm-action-cell .ivm-link-btn,
.ivm-portfolio .ivm-table td.ivm-action-cell .ivm-kebab{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
  margin:0 4px!important;
  min-height:38px!important;
  line-height:1!important;
}
.ivm-portfolio .ivm-table tbody tr{
  height:auto!important;
}
.ivm-portfolio .ivm-table tbody td{
  border-bottom:1px solid #e5eee8!important;
}
.ivm-portfolio .ivm-table tbody tr:last-child td{
  border-bottom:0!important;
}
@media(max-width:900px){
  .ivm-portfolio .ivm-property-empty .ivm-property-search-panel{
    grid-template-columns:1fr!important;
  }
}

/* v1.13.11 — final action-column row divider fix. Keep table action cells as true table-cells. */
.ivm-portfolio .ivm-table tbody tr > td.ivm-action-cell{
  display:table-cell!important;
  vertical-align:middle!important;
  text-align:center!important;
  white-space:nowrap!important;
  min-width:150px!important;
  width:150px!important;
  padding:12px 14px!important;
  border-bottom:1px solid #e5eee8!important;
}
.ivm-portfolio .ivm-table tbody tr:last-child > td.ivm-action-cell{
  border-bottom:0!important;
}
.ivm-portfolio .ivm-table tbody tr > td.ivm-action-cell .ivm-link-btn,
.ivm-portfolio .ivm-table tbody tr > td.ivm-action-cell .ivm-kebab{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
  margin:0 4px!important;
  min-height:38px!important;
  line-height:1!important;
}

/* v1.13.13 — table-to-pagination breathing room */
.ivm-portfolio .ivm-table-card-view + .ivm-pager,
.ivm-portfolio .ivm-table-wrap + .ivm-pager,
.ivm-portfolio .ivm-card > .ivm-pager,
.ivm-portfolio .ivm-mitigation-table-card > .ivm-pager{
  margin-top:18px!important;
  padding-top:6px!important;
}
.ivm-portfolio .ivm-table-card-view + .ivm-pager{margin-bottom:4px!important;}

/* v1.13.15 — portfolio scenario quick selector */
.ivm-portfolio .ivm-portfolio-scenario-controls{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:100%}
.ivm-portfolio .ivm-portfolio-scenario-label{font-size:12px;font-weight:650;color:#64748b;letter-spacing:.02em}
.ivm-portfolio .ivm-portfolio-scenario-controls .ivm-input{margin-left:0;width:auto;min-width:170px;max-width:240px;min-height:38px;padding:8px 34px 8px 12px;border-radius:14px;background-color:#fff;color:#0f172a;cursor:pointer}
.ivm-portfolio .ivm-portfolio-scenario-controls .ivm-horizon-select{min-width:150px}
.ivm-portfolio .ivm-portfolio-scenario-controls .ivm-scenario-apply{min-height:38px;padding:8px 14px;border-radius:14px;white-space:nowrap}
.ivm-portfolio .ivm-portfolio-scenario-status{font-size:12px;color:#64748b;white-space:nowrap}
.ivm-portfolio .ivm-portfolio-scenario-status[data-state="ok"]{color:#166534}
.ivm-portfolio .ivm-portfolio-scenario-status[data-state="loading"]{color:#1d4ed8}
.ivm-portfolio .ivm-portfolio-scenario-status[data-state="error"]{color:#b91c1c;white-space:normal;max-width:420px}
@media(max-width:760px){.ivm-portfolio .ivm-portfolio-scenario-controls{margin-left:0;justify-content:flex-start;width:100%}.ivm-portfolio .ivm-portfolio-scenario-controls .ivm-input,.ivm-portfolio .ivm-portfolio-scenario-controls .ivm-scenario-apply{width:100%;max-width:none}.ivm-portfolio .ivm-portfolio-scenario-status{width:100%;white-space:normal}}

/* Aegaia v1.13.19: overview forward-risk delta cells */
.ivm-table td.ivm-risk-delta-cell{
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color:#0f172a;
  white-space:nowrap;
}
.ivm-forecast-delta-mobile{
  margin-top:6px;
}

/* Aegaia hazard map loading/expanded state */
.ivm-map-loading{display:flex!important;align-items:center!important;justify-content:center!important;color:#667085!important;font:500 13px/1.4 Inter,"Segoe UI",Roboto,Arial,sans-serif!important;letter-spacing:.01em!important;}
.ivm-map-loading span{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:8px 12px!important;border:1px solid #dce7e0!important;border-radius:999px!important;background:rgba(255,255,255,.86)!important;color:#667085!important;box-shadow:0 8px 18px rgba(15,23,42,.08)!important;}
.ivm-map-loading span:before{content:""!important;width:8px!important;height:8px!important;border-radius:999px!important;background:#3b8b78!important;box-shadow:0 0 0 4px rgba(59,139,120,.14)!important;}
.ivm-property-map-card.aeg-hz-expanded{min-height:880px!important;}
.ivm-real-map.aeg-hz-map-expanded,.ivm-property-map-card.aeg-hz-expanded .ivm-real-map{height:780px!important;min-height:780px!important;transition:height .18s ease!important;}
@media(max-width:720px){.ivm-real-map.aeg-hz-map-expanded,.ivm-property-map-card.aeg-hz-expanded .ivm-real-map{height:640px!important;min-height:640px!important;}}

/* Lender climate / GHG metrics on individual property pages. */
.ivm-property-ghg-panel{background:var(--ivm-panel)!important;}
.ivm-ghg-metric-strip{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;}
.ivm-ghg-metric-strip>div{min-height:118px!important;}
.ivm-ghg-metric-strip strong{font-size:22px!important;line-height:1.18!important;font-weight:500!important;}
.ivm-ghg-metric-strip small{display:block;margin-top:8px;color:#667085;font-size:14px;line-height:1.35;}
.ivm-ghg-context-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin:4px 0 14px;}
.ivm-ghg-context-grid>div{background:#f8fcf8;border:1px solid var(--ivm-line);border-radius:16px;padding:14px 16px;}
.ivm-ghg-context-grid strong{display:block;font-size:14px;color:#111827;font-weight:600;margin-bottom:4px;}
.ivm-ghg-context-grid p{margin:0!important;font-size:14px!important;line-height:1.45!important;}
.ivm-ghg-source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin:12px 0 14px;}
.ivm-ghg-source-grid>div{background:#fff;border:1px solid #e5eee8;border-radius:14px;padding:12px 14px;}
.ivm-ghg-source-grid strong{display:block;color:#111827;font-size:13px;font-weight:600;line-height:1.25;margin-bottom:6px;}
.ivm-ghg-source-grid span{display:inline-flex;align-items:center;min-height:22px;border-radius:999px;padding:2px 8px;background:#edf7f1;border:1px solid #d6eadf;color:#315f4d;font-size:12px;line-height:1.2;margin-bottom:6px;}
.ivm-ghg-source-grid small{display:block;color:#667085;font-size:12px;line-height:1.35;}
.ivm-ghg-missing{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap;background:#fff8eb;border:1px solid #f6d9a7;border-radius:14px;padding:12px 14px;margin:10px 0 14px;color:#7c4a03;}
.ivm-ghg-missing strong{font-weight:600;color:#713f12;}
.ivm-ghg-missing span{color:#7c4a03;font-size:14px;line-height:1.4;}
@media (max-width:700px){.ivm-ghg-metric-strip strong{font-size:20px!important}.ivm-ghg-context-grid,.ivm-ghg-source-grid{grid-template-columns:1fr}}

/* v1.13.43 supplemental peril provenance */
.ivm-property-hazard-method{
  flex-basis:100%;
  display:block;
  margin-top:-3px;
  font-size:11px;
  line-height:1.35;
  font-weight:400;
  color:#667085;
}
