.ov2 { --ov-green:#184a35; --ov-line:#d7e6dc; --ov-tint:#f2f8f4; --ov-yellow:#f8cf44; min-width:0 }
.ov2-tabs,.ov2-controls { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; align-items:center }
.ov2 button { cursor:pointer }
.ov2-tabs button,.ov2-controls button,.ov2-close { padding:9px 14px; min-height:42px; border:1px solid var(--ov-line); border-radius:9px; background:white; color:var(--ov-green); font-weight:650 }
.ov2-tabs button[aria-current=true] { background:var(--ov-green); color:white; border-color:var(--ov-green); box-shadow:inset 0 -3px var(--ov-yellow) }
.ov2-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr)); gap:12px; margin:14px 0 }
.ov2-metric { padding:14px; background:var(--ov-tint); border:1px solid var(--ov-line); border-radius:12px; display:grid; gap:5px }
.ov2-metric strong { font-size:24px; color:var(--ov-green) }
.ov2 .table-wrap { max-width:100%; overflow:auto }
.ov2 table { width:100%; border-spacing:0; border-collapse:separate }
.ov2 th,.ov2 td { text-align:left; padding:10px 12px; white-space:nowrap }
.ov2-sticky :is(td,th):first-child { position:sticky; left:0; z-index:1; background:#f6faf7; min-width:155px; max-width:220px; box-shadow:2px 0 var(--ov-line) }
.ov2-rider { background:transparent; border:0; color:var(--ov-green); text-align:left; padding:3px 0; max-width:100%; white-space:normal; overflow-wrap:anywhere; font-weight:700 }
.ov2-rider small,.ov2-note { display:block; color:#485f54 }
.ov2-note { margin:8px 0 14px; line-height:1.5 }
.ov2 details { margin:14px 0 }
.ov2 dialog { position:fixed; margin:0 0 0 auto; inset:0 0 0 auto; height:100%; max-height:100dvh; width:min(620px,100%); max-width:100%; overflow:auto; padding:22px; border:0; color:#233b31; box-shadow:-9px 0 40px #142f2533 }
.ov2 dialog::backdrop { background:#122e2555 }
.ov2-drawer-head { display:flex; justify-content:space-between; gap:10px; align-items:start }
.ov2-form { display:grid; gap:10px; margin:14px 0; padding:12px; border:1px solid var(--ov-line); border-radius:10px }
.ov2-form label { display:grid; gap:4px }
.ov2-form textarea { resize:vertical; min-height:76px }
.ov2-form .primary,.ov2-controls .primary { background:var(--ov-yellow); color:#263b2b; border-color:var(--ov-yellow); justify-self:start }
.ov2-followup { padding:8px 12px; border-left:3px solid var(--ov-line); overflow-wrap:anywhere }
.ov2-followup p { white-space:pre-wrap }
.ov2-validation { color:#8e251c }
.ov2 [hidden] { display:none!important }
.ov2-controls label,.ov2-form label { font-size:13px; font-weight:650; color:var(--ov-green) }
.ov2-controls label { display:flex; flex-wrap:wrap; align-items:center; gap:8px }
.ov2 :is(input,select,textarea):not([type=checkbox]) {
  box-sizing:border-box; max-width:100%; min-height:42px; padding:8px 10px;
  background:#fff; border:1px solid #b8ccbe; border-radius:8px; color:#233b31; font:inherit
}
.ov2 :is(button,input,select,textarea,a):focus-visible { outline:2px solid #217750; outline-offset:2px }
.ov2 [role=status]:empty { display:none }
.ov2 .table-wrap:focus-visible { outline:2px solid #217750; outline-offset:2px }
.ov2-context {
  display:flex; flex-wrap:wrap; gap:8px 20px; align-items:center; padding:12px 14px; margin:0 0 16px;
  background:#f3f8f4; border:1px solid var(--ov-line); border-radius:10px; font-size:.83rem; color:#40594e;
}
.ov2-context b { margin-inline-start:5px; color:#16352a; font-variant-numeric:tabular-nums }
.ov2-context-stale { border-color:#ebd795 }
.ov2-data-warning { flex-basis:100%; color:#725600 }
.ov2-overview-metrics .ov2-metric { background:#fff; border-top:3px solid #91c0a1 }
.ov2-overview-metrics .ov2-metric:first-child { background:#e9f6ed; border-color:#b8dac4; border-top-color:#18714d }
.ov2-overview-metrics .ov2-metric:last-child { background:#fff9e4; border-color:#e9d596; border-top-color:#e2b526 }
.ov2-columns { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); gap:14px; margin:16px 0 0; align-items:start }
.ov2-week-columns { grid-template-columns:repeat(2,minmax(0,1fr)) }
.ov2-module { min-width:0; border:1px solid var(--ov-line); border-radius:14px; padding:14px; background:#fff }
.ov2-module h3 { margin:0 0 6px; font-size:1rem }
.ov2-chart { height:166px; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(36px,1fr); gap:3px; padding:0 2px; overflow-x:auto }
.ov2-column { position:relative; display:grid; grid-template-rows:minmax(0,1fr) 20px; border-bottom:1px solid var(--ov-line); text-align:center }
.ov2-bar-track { position:relative; display:flex; align-items:flex-end; justify-content:center; margin-top:19px }
.ov2-column i { width:86%; height:var(--size); background:#398064; border-radius:4px 4px 0 0 }
.ov2-column:last-child i { background:#d9ad18 }
.ov2-bar-track b { position:absolute; bottom:calc(var(--size) + 2px); font-size:.68rem; white-space:nowrap; font-variant-numeric:tabular-nums; color:#16352a }
.ov2-column small { align-self:end; color:#435c50; font-size:.64rem }
.ov2-column-missing small { color:#9a5414 }
.ov2-chart:focus-visible { outline:2px solid #217750; outline-offset:2px }
.ov2-week-buttons { display:grid; grid-template-columns:repeat(auto-fit,minmax(112px,1fr)); gap:7px }
.ov2-week-buttons button { min-height:49px; text-align:start; display:grid; gap:3px; padding:8px 10px; border:1px solid var(--ov-line); border-radius:10px; background:#f6faf7; color:#16352a; font:inherit }
.ov2-week-buttons button small { font-size:.72rem }
.ov2-week-buttons button[aria-pressed=true] { border-color:#23764f; background:#eaf5ed; box-shadow:inset 0 -3px #edc540 }
.ov2-champion { background:#fff6d3; border-inline-start:4px solid #f3cd49; border-radius:10px; padding:10px 13px; display:flex; justify-content:space-between; align-items:center; gap:10px }
.ov2-champion strong { color:#184a35; font-size:1.5rem; white-space:nowrap }
.ov2-champion small,.ov2-ranking small { font-size:.72rem; color:#51635b }
.ov2-champion div>small,.ov2-ranking strong>small { display:block }
.ov2-ranking { list-style:none; margin:0; padding:0; display:grid }
.ov2-ranking li { display:grid; grid-template-columns:24px minmax(0,1fr) auto; gap:9px; align-items:center; padding:9px 0; border-bottom:1px solid #edf2ee }
.ov2-ranking li:last-child { border:0 }
.ov2-ranking li>strong { text-align:end; color:var(--ov-green); font-variant-numeric:tabular-nums }
.ov2-rank { background:#eaf5ed; color:var(--ov-green); border-radius:6px; text-align:center; line-height:24px; font-weight:700 }
.ov2-ranking li:first-child .ov2-rank { background:#fff0b3 }
.ov2-track { height:4px; background:#e1ece4; border-radius:4px; margin-top:4px }
.ov2-track i { display:block; height:100%; border-radius:4px; background:#398064 }
.ov2-empty { background:#f5f8f5; color:#52685c; padding:13px; border-radius:8px; margin:10px 0 0; font-size:.88rem }
.ov2-link { background:transparent; color:#1c6346; border:none; display:inline-block; min-height:34px; font-weight:650; text-decoration:underline; text-underline-offset:3px }
.ov2-advice { margin:10px 0; padding-inline-start:19px; display:grid; gap:7px }
.ov2-advice li { color:#244d3c; font-size:.87rem }
.ov2-advice li p { color:#485f54; margin:3px 0 0; line-height:1.45 }
.ov2-ranking-review .ov2-track i { background:#b97529 }
.ov2-ranking-review li:first-child .ov2-rank { background:#fff0dc; color:#774917 }
.ov2-risk-table .ov2-risk-pair>span,.ov2-risk-pair>small { display:block; line-height:1.65 }
.ov2-risk-table .ov2-risk-pair small { color:#52685c }
.ov2-risk-table td { font-variant-numeric:tabular-nums }
.ov2-risk-alert { color:#a22a22 }
@media(max-width:890px) { .ov2-columns { grid-template-columns:minmax(0,1fr) } }
