/* InSolutions VAT R10.2 — Canonical Overview + Shared UCD R6.2 Repeat-Open.
   Overview(New) is promoted to Overview; VAT Periods is retired from top-level navigation.
   One shared R5.2 UCD owns contextual investigation. */
.ins-vat-overview-new-tab-r4{height:42px!important;padding:0 14px!important;border:0!important;border-bottom:2px solid transparent!important;background:transparent!important;color:#5e6b80!important;font:inherit!important;font-size:13px!important;font-weight:600!important;white-space:nowrap!important;cursor:pointer!important}
.ins-vat-overview-new-tab-r4.ins-vat-active-r4{border-bottom-color:#3569f6!important;color:#315efb!important}
.ins-vat-overview-new-tab-r4:hover,.ins-vat-overview-new-tab-r4:focus-visible{color:#315efb!important;outline:2px solid #6D5DFC!important;outline-offset:2px!important}
#ins-vat-overview-r6{--brand:#315efb;--purple:#6d5dfc;--text:#15213b;--muted:#66758c;--line:#e4e9f1;--soft:#f6f8fb;--green:#0f9f76;--amber:#d97706;--red:#ef4444;--card:#fff;--shadow:0 2px 7px rgba(15,23,42,.06);position:fixed;left:var(--ovn4-left,190px);top:var(--ovn4-top,258px);width:var(--ovn4-width,calc(100vw - 510px));bottom:0;z-index:5000;overflow-y:auto;overflow-x:hidden;background:#f4f6f9;color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;min-width:0}
#ins-vat-overview-r6 *,#ins-vat-overview-r6 *:before,#ins-vat-overview-r6 *:after{box-sizing:border-box}
#ins-vat-overview-r6 button,#ins-vat-overview-r6 select,#ins-vat-overview-r6 textarea{font:inherit}
#ins-vat-overview-r6 button:focus-visible,#ins-vat-overview-r6 select:focus-visible,#ins-vat-overview-r6 textarea:focus-visible,#ins-vat-overview-r6 [role="button"]:focus-visible{outline:2px solid #6D5DFC;outline-offset:2px}
#ins-vat-overview-r6 .ovn2-workspace{display:block;width:100%;min-width:0}
#ins-vat-overview-r6 .ovn2-main{padding:12px 0 24px;min-width:0;overflow-x:visible}
#ins-vat-overview-r6 .ovn2-right{background:#fff;border-left:1px solid #e5eaf1;padding:14px 16px;position:sticky;top:0;height:calc(100vh - var(--ovn2-top,56px));overflow:auto}
#ins-vat-overview-r6 .ovn2-right section{border-bottom:1px solid #edf0f5;padding:0 0 14px;margin:0 0 14px}
#ins-vat-overview-r6 .ovn2-right h3{font-size:16px;line-height:22px;margin:5px 0 6px}
#ins-vat-overview-r6 .ovn2-right p{font-size:14px;line-height:20px;color:#52617a;margin:0}
#ins-vat-overview-r6 .ovn2-right button{display:block;border:0;background:transparent;color:#315efb;font-size:13px;font-weight:600;padding:7px 0;cursor:pointer;text-align:left}
#ins-vat-overview-r6 .ovn2-ey{display:block;font-size:12px;line-height:16px;font-weight:700;letter-spacing:.06em;color:#6d5dfc;text-transform:uppercase}
#ins-vat-overview-r6 .ovn2-hero{height:150px;border-radius:16px;background:linear-gradient(118deg,#071936 0%,#17204D 48%,#54218C 100%);border:1px solid rgba(255,255,255,.08);box-shadow:0 8px 22px rgba(15,23,42,.12);padding:12px 16px;color:#fff;display:flex;flex-direction:column;margin-bottom:12px;overflow:hidden}
#ins-vat-overview-r6 .ovn2-hero-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
#ins-vat-overview-r6 .ovn2-badges{display:flex;gap:5px;flex-wrap:wrap}
#ins-vat-overview-r6 .ovn2-badges span{min-height:20px;display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.12);border-radius:999px;padding:1px 7px;font-size:12px;line-height:16px;font-weight:700}
#ins-vat-overview-r6 .ovn2-hero h1{font-size:22px;line-height:1.2;margin:5px 0 1px;font-weight:700;color:#fff}
#ins-vat-overview-r6 .ovn2-hero p{font-size:12px;line-height:1.4;color:#cbd7f1;font-weight:500;margin:0}
#ins-vat-overview-r6 .ovn2-hero-meta{text-align:right;min-width:170px}#ins-vat-overview-r6 .ovn2-hero-meta span{display:inline-block;font-size:12px;font-weight:700;color:#d8d4ff;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:2px 8px}#ins-vat-overview-r6 .ovn2-hero-meta small{display:block;color:#b9c5df;font-size:12px;line-height:16px;margin-top:5px}
#ins-vat-overview-r6 .ovn2-hero-kpis{margin-top:auto;display:grid;grid-template-columns:repeat(6,112px);grid-auto-rows:52px;gap:8px;width:max-content;max-width:100%;align-items:end}
#ins-vat-overview-r6 .ovn2-hk{width:112px;height:52px;border:0;background:#fff;border-radius:10px;padding:8px 10px;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:center;color:#1d3158;overflow:hidden;text-align:left;cursor:pointer}
#ins-vat-overview-r6 .ovn2-hk-ico{width:28px;height:28px;border-radius:8px;background:#eef2ff;display:flex;align-items:center;justify-content:center;color:#5d55e7;font-size:14px}
#ins-vat-overview-r6 .ovn2-hk-copy{min-width:0;height:36px;display:grid;grid-template-rows:10px 16px 10px;align-content:center;overflow:hidden}
#ins-vat-overview-r6 .ovn2-hk label{font-size:11px;line-height:10px;font-weight:600;color:#7d8ba1;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ins-vat-overview-r6 .ovn2-hk strong{font-size:18px;line-height:16px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ins-vat-overview-r6 .ovn2-hk small{font-size:11px;line-height:10px;font-weight:500;color:#97a3b4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#ins-vat-overview-r6 .ovn2-vtabs{height:40px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:end;padding:0 10px;margin-bottom:12px;overflow-x:auto;gap:8px}
#ins-vat-overview-r6 .ovn2-vtabs button{height:39px;padding:0 10px;border:0;border-bottom:2px solid transparent;background:transparent;color:#5e6b80;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
#ins-vat-overview-r6 .ovn2-vtabs button.ovn2-on{border-bottom-color:#3569f6;color:#315efb}
#ins-vat-overview-r6 .ovn2-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
#ins-vat-overview-r6 .ovn2-section{margin-bottom:16px}
#ins-vat-overview-r6 .ovn2-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}
#ins-vat-overview-r6 .ovn2-section-head h2{font-size:18px;line-height:24px;margin:2px 0 0;font-weight:700;color:var(--text)}
#ins-vat-overview-r6 .ovn2-section-head p{font-size:14px;line-height:20px;color:#748298;margin:2px 0 0}
#ins-vat-overview-r6 .ovn2-scope{font-size:13px;font-weight:600;color:#0a7658;background:#effbf6;border:1px solid #d5efe4;border-radius:999px;padding:5px 9px;white-space:nowrap}
#ins-vat-overview-r6 .ovn2-filterbar{padding:12px;margin-bottom:16px}
#ins-vat-overview-r6 .ovn2-filter-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
#ins-vat-overview-r6 .ovn2-filter-actions button{height:34px;padding:0 12px;border:1px solid #dfe5ed;border-radius:8px;background:#fff;color:#536078;font-size:13px;font-weight:600;cursor:pointer}
#ins-vat-overview-r6 .ovn2-filter-actions .ovn2-primary{background:#315efb;border-color:#315efb;color:#fff}
#ins-vat-overview-r6 .ovn2-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
#ins-vat-overview-r6 .ovn2-filters label span{display:block;font-size:13px;line-height:18px;font-weight:600;color:#66758c;margin-bottom:4px}
#ins-vat-overview-r6 .ovn2-filters select{width:100%;height:34px;border:1px solid #dfe5ed;border-radius:8px;background:#fff;padding:0 9px;color:#536078;font-size:14px;font-weight:500}
#ins-vat-overview-r6 .ovn2-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
#ins-vat-overview-r6 .ovn2-kpi{min-height:112px;border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px;text-align:left;cursor:pointer}
#ins-vat-overview-r6 .ovn2-kpi span{font-size:13px;line-height:18px;font-weight:600;color:#66758c}
#ins-vat-overview-r6 .ovn2-kpi strong{font-size:24px;line-height:30px;display:block;margin:8px 0 3px;color:#15213b}
#ins-vat-overview-r6 .ovn2-kpi small{font-size:13px;line-height:18px;color:#8b97a9}
#ins-vat-overview-r6 .ovn2-canvas{padding:14px;margin-bottom:16px}
#ins-vat-overview-r6 .ovn2-canvas-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;position:relative}
#ins-vat-overview-r6 .ovn2-canvas-col{border:1px solid #e4e9f1;border-radius:12px;padding:10px;background:#fbfcfe;min-width:0}
#ins-vat-overview-r6 .ovn2-canvas-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}#ins-vat-overview-r6 .ovn2-canvas-head span{font-size:12px;font-weight:700;color:#6e7d96}#ins-vat-overview-r6 .ovn2-canvas-head b{font-size:12px;color:#6d5dfc}
#ins-vat-overview-r6 .ovn2-chip{width:100%;min-height:34px;border:1px solid #dfe5ed;border-radius:8px;background:#fff;color:#536078;font-size:13px;line-height:18px;font-weight:500;padding:7px 8px;margin:0 0 6px;text-align:left;cursor:pointer}
#ins-vat-overview-r6 .ovn2-chip.ovn2-selected{border-color:#6d5dfc;background:#f2f0ff;color:#5144d6;box-shadow:0 0 0 1px #6d5dfc inset}
#ins-vat-overview-r6 .ovn2-path{margin-top:10px;border:1px solid #e1defe;background:#fbfaff;border-radius:9px;padding:10px 12px;font-size:13px;line-height:19px;color:#536078}
#ins-vat-overview-r6 .ovn2-intel-grid,#ins-vat-overview-r6 .ovn2-invest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#ins-vat-overview-r6 .ovn2-intel-card,#ins-vat-overview-r6 .ovn2-invest-card{min-height:210px;border:1px solid #e1e6ee;border-radius:12px;padding:14px;background:#fff;cursor:pointer;display:flex;flex-direction:column}
#ins-vat-overview-r6 .ovn2-card-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}#ins-vat-overview-r6 .ovn2-card-top h3{font-size:16px;line-height:22px;margin:0;font-weight:700}#ins-vat-overview-r6 .ovn2-fact,#ins-vat-overview-r6 .ovn2-trust{font-size:12px;line-height:16px;font-weight:700;color:#6d5dfc;background:#f2f0ff;border-radius:999px;padding:2px 6px;white-space:nowrap}
#ins-vat-overview-r6 .ovn2-intel-card p,#ins-vat-overview-r6 .ovn2-invest-card p{font-size:14px;line-height:20px;color:#66758c;margin:8px 0}
#ins-vat-overview-r6 .ovn2-svg{width:100%;height:66px;color:#315efb;overflow:visible;margin:2px 0 6px}#ins-vat-overview-r6 .ovn2-svg rect{fill:currentColor;opacity:.8}#ins-vat-overview-r6 .ovn2-svg text{font-size:10px;fill:#66758c}#ins-vat-overview-r6 .ovn2-svg .ovn2-grid{stroke:#dfe5ed}#ins-vat-overview-r6 .ovn2-svg .ovn2-track{fill:none;stroke:#e9edf4;opacity:1}
#ins-vat-overview-r6 .ovn2-card-foot{display:flex;justify-content:space-between;gap:8px;align-items:flex-end;margin-top:auto}#ins-vat-overview-r6 .ovn2-card-foot strong{font-size:16px;line-height:22px}#ins-vat-overview-r6 .ovn2-card-foot span{font-size:13px;color:#8b97a9;text-align:right}
#ins-vat-overview-r6 .ovn2-intel-card a,#ins-vat-overview-r6 .ovn2-invest-card a{font-size:13px;line-height:18px;font-weight:600;color:#315efb;margin-top:7px;text-decoration:none}
#ins-vat-overview-r6 .ovn2-evidence{padding:14px;margin:16px 0}
#ins-vat-overview-r6 .ovn2-state{font-size:12px;font-weight:700;border-radius:999px;padding:4px 8px}#ins-vat-overview-r6 .ovn2-state.ovn2-provisional{background:#fff4dc;color:#b46b00}#ins-vat-overview-r6 .ovn2-state.ovn2-unavailable{background:#f2f4f7;color:#667085}
#ins-vat-overview-r6 .ovn2-evidence-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#ins-vat-overview-r6 .ovn2-evidence-grid div{border:1px solid #e4e9f1;border-radius:9px;padding:10px}#ins-vat-overview-r6 .ovn2-evidence-grid span{display:block;font-size:13px;line-height:18px;color:#66758c}#ins-vat-overview-r6 .ovn2-evidence-grid strong{display:block;font-size:16px;line-height:22px;margin-top:3px;color:#15213b}
#ins-vat-overview-r6 .ovn2-invest-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:auto}#ins-vat-overview-r6 .ovn2-invest-meta span{font-size:12px;line-height:16px;color:#748298}#ins-vat-overview-r6 .ovn2-invest-meta b{display:block;font-size:14px;color:#15213b}
#ins-vat-overview-r6 .ovn2-drawer{position:fixed;right:0;top:var(--ovn2-top,56px);width:680px;height:calc(100vh - var(--ovn2-top,56px));background:#fff;border-left:1px solid #dfe5ee;box-shadow:-8px 0 28px rgba(15,23,42,.14);z-index:6100;display:none;overflow:hidden}#ins-vat-overview-r6 .ovn2-drawer.ovn2-open{display:flex;flex-direction:column}#ins-vat-overview-r6 .ovn2-drawer.ovn2-wide{width:820px}#ins-vat-overview-r6 .ovn2-drawer.ovn2-compact{width:560px}
#ins-vat-overview-r6 .ovn2-drawer-head{padding:14px 16px 10px;border-bottom:1px solid #e6eaf1;display:flex;justify-content:space-between;gap:12px}#ins-vat-overview-r6 .ovn2-drawer-head h2{font-size:18px;line-height:24px;margin:3px 0 2px}#ins-vat-overview-r6 .ovn2-drawer-head p{font-size:13px;line-height:18px;color:#7a8799;margin:0}#ins-vat-overview-r6 .ovn2-close{border:1px solid #dfe5ee;background:#fff;border-radius:7px;width:32px;height:32px;font-size:20px;cursor:pointer}
#ins-vat-overview-r6 .ovn2-drawer-tabs{height:42px;display:flex;align-items:end;border-bottom:1px solid #e5eaf1;padding:0 8px;overflow:auto}#ins-vat-overview-r6 .ovn2-drawer-tabs button{border:0;background:#fff;padding:0 9px;height:40px;font-size:13px;font-weight:600;color:#64738b;border-bottom:2px solid transparent;white-space:nowrap;cursor:pointer}#ins-vat-overview-r6 .ovn2-drawer-tabs button.ovn2-on{color:#5c47e8;border-bottom-color:#5c47e8}
#ins-vat-overview-r6 .ovn2-drawer-body{padding:14px 16px;overflow:auto}#ins-vat-overview-r6 .ovn2-drawer-sec{border-bottom:1px solid #edf0f4;padding-bottom:14px;margin-bottom:14px}#ins-vat-overview-r6 .ovn2-drawer-sec h3{font-size:16px;line-height:22px;margin:0 0 8px}#ins-vat-overview-r6 .ovn2-drawer-sec p,#ins-vat-overview-r6 .ovn2-drawer-sec li{font-size:14px;line-height:21px;color:#596880}#ins-vat-overview-r6 .ovn2-ai,#ins-vat-overview-r6 .ovn2-evidence-box,#ins-vat-overview-r6 .ovn2-automation{border:1px solid #ddd9ff;background:#fbfaff;border-radius:9px;padding:12px;font-size:14px;line-height:21px;color:#596880}#ins-vat-overview-r6 .ovn2-fact-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}#ins-vat-overview-r6 .ovn2-fact-grid span{font-size:12px;line-height:16px;padding:6px 8px;border-radius:7px;background:#f6f8fb}#ins-vat-overview-r6 .ovn2-action{height:34px;border:1px solid #dfe5ed;background:#fff;border-radius:8px;padding:0 11px;font-size:13px;font-weight:600;margin:0 6px 6px 0;cursor:pointer}#ins-vat-overview-r6 .ovn2-note{font-size:13px!important;color:#8a96aa!important}#ins-vat-overview-r6 .ovn2-question{width:100%;min-height:90px;border:1px solid #dfe5ed;border-radius:9px;padding:10px;font-size:14px;margin:8px 0}#ins-vat-overview-r6 .ovn2-automation{display:grid;gap:6px}#ins-vat-overview-r6 .ovn2-record-wrap{overflow:auto}#ins-vat-overview-r6 .ovn2-record-wrap table{width:100%;border-collapse:collapse;min-width:740px}#ins-vat-overview-r6 .ovn2-record-wrap th,#ins-vat-overview-r6 .ovn2-record-wrap td{font-size:13px;line-height:18px;text-align:left;padding:8px 9px;border-bottom:1px solid #edf0f4}#ins-vat-overview-r6 .ovn2-record-wrap th{background:#f7f8fb;color:#66758c}
@media(max-width:1450px){#ins-vat-overview-r6 .ovn2-shell{grid-template-columns:minmax(0,1fr) 286px}#ins-vat-overview-r6 .ovn2-hero-kpis{grid-template-columns:repeat(6,104px)}#ins-vat-overview-r6 .ovn2-hk{width:104px}#ins-vat-overview-r6 .ovn2-kpis{grid-template-columns:repeat(3,1fr)}#ins-vat-overview-r6 .ovn2-filters{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1180px){#ins-vat-overview-r6 .ovn2-shell{grid-template-columns:minmax(0,1fr)}#ins-vat-overview-r6 .ovn2-right{position:relative;height:auto;border-left:0;border-top:1px solid #e5eaf1}#ins-vat-overview-r6 .ovn2-canvas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#ins-vat-overview-r6 .ovn2-intel-grid,#ins-vat-overview-r6 .ovn2-invest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){#ins-vat-overview-r6 .ovn2-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#ins-vat-overview-r6 .ovn2-kpis{grid-template-columns:repeat(2,1fr)}#ins-vat-overview-r6 .ovn2-hero{height:auto;min-height:150px}#ins-vat-overview-r6 .ovn2-hero-kpis{grid-template-columns:repeat(3,112px);margin-top:12px}#ins-vat-overview-r6 .ovn2-hk{width:112px}}
@media(max-width:620px){#ins-vat-overview-r6 .ovn2-main{padding:8px}#ins-vat-overview-r6 .ovn2-filters,#ins-vat-overview-r6 .ovn2-kpis,#ins-vat-overview-r6 .ovn2-canvas-grid,#ins-vat-overview-r6 .ovn2-intel-grid,#ins-vat-overview-r6 .ovn2-evidence-grid,#ins-vat-overview-r6 .ovn2-invest-grid{grid-template-columns:1fr}#ins-vat-overview-r6 .ovn2-drawer,#ins-vat-overview-r6 .ovn2-drawer.ovn2-wide,#ins-vat-overview-r6 .ovn2-drawer.ovn2-compact{width:100vw}#ins-vat-overview-r6 .ovn2-hero-kpis{grid-template-columns:repeat(2,112px)}}

/* R4 ownership lock: Hero, VAT tab row and permanent right rail remain native. */
#ins-vat-overview-r6 .ovn2-hero,#ins-vat-overview-r6 .ovn2-vtabs,#ins-vat-overview-r6 .ovn2-right{display:none!important}

/* Canonical five-state VAT nav / shared drawer route scope */
.ins-vat-active-r6{border-bottom-color:#3569f6!important;color:#315efb!important}
body.ins-vat-r6-active [data-vat-r6-retired="1"]{display:none!important}
body.ins-vat-r6-active #ins-ucd-r52-root .r52-drawer{
  width:min(820px,calc(100vw - 16px))!important;
  max-width:min(820px,calc(100vw - 16px))!important;
}
/* R6 has no page-local contextual drawer. */
#ins-vat-overview-r6 .ovn2-drawer,
#ins-vat-overview-r6 .ovn2-backdrop{display:none!important}
