/* Reports page, as in the approved preview (scoped to the page). */
.rep .tools,.repo .tools{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.rep .tool,.repo .tool{all:unset;cursor:pointer;box-sizing:border-box;display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.rep .tool:hover,.repo .tool:hover{border-color:var(--wine)}
.rep .tool:focus-visible,.repo .tool:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
.rep .tool i,.repo .tool i{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--wine-soft,#f6e8ec);color:var(--wine);flex:none}
.rep .tool b,.repo .tool b{display:block;font-size:14.5px}
.rep .tool small,.repo .tool small{color:var(--muted);font-size:12.5px}
.rep tr.warnr td,.repo tr.warnr td{background:#fdf0ec}
.rep .tl td:first-child,.repo .tl td:first-child{white-space:nowrap}
.rep .fl,.repo .fl{display:grid;gap:5px;font-size:13px;font-weight:600;color:#4a4044}
.rep .fl input,.repo .fl input,.rep .fl select,.repo .fl select{font:inherit;font-weight:400;font-size:14px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink,#221a1c)}
.rep .row2,.repo .row2{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.rep .cks,.repo .cks{display:flex;gap:8px;flex-wrap:wrap}
.rep .cks.col,.repo .cks.col{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:6px}
.rep .ck2,.repo .ck2{display:inline-flex;gap:7px;align-items:center;font-weight:400;font-size:13.5px;padding:6px 11px;border:1px solid var(--line);border-radius:999px;cursor:pointer}
.rep .ck2 input,.repo .ck2 input{accent-color:var(--wine);width:16px;height:16px}
.rep .schl,.repo .schl{display:grid;gap:8px}
.rep .sch,.repo .sch{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:11px 13px}
.rep .sch.off,.repo .sch.off{opacity:.6}
.rep .sch b,.repo .sch b{display:block;font-size:14px}
.rep .sch small,.repo .sch small{display:block;color:var(--muted);font-size:12.5px}
.rep .schb,.repo .schb{display:flex;gap:10px;align-items:center;flex:none}
.rep .sw,.repo .sw{display:inline-flex;gap:6px;align-items:center;font-size:12.5px;font-weight:600}
.rep .sw input,.repo .sw input{accent-color:var(--wine);width:16px;height:16px}
@media (max-width:560px){.rep .sch{flex-direction:column;align-items:flex-start}
}
.rep .wrap>*,.repo .wrap>*{min-width:0}
.rep .favs .accb,.repo .favs .accb{margin-left:auto;display:inline-flex;gap:6px;align-items:center}
.rep .lim,.repo .lim{margin:0;padding:10px 14px;border-radius:12px;background:var(--wine-soft,#f6e8ec);color:var(--wine);font-size:13.5px;font-weight:600}
.rep .dlg.wide,.repo .dlg.wide{max-width:560px}
.rep .accw,.repo .accw{max-height:58vh;overflow:auto;border:1px solid var(--line);border-radius:12px}
.rep .acct,.repo .acct{width:100%;border-collapse:collapse;font-size:13.5px}
.rep .acct th,.repo .acct th{position:sticky;top:0;background:#fff;text-align:center;font-size:12px;color:var(--muted);padding:9px 8px;border-bottom:1px solid var(--line);z-index:1}
.rep .acct td,.repo .acct td{padding:8px 10px;border-top:1px solid #f3ece7}
.rep .acct td:not(:first-child),.repo .acct td:not(:first-child){text-align:center;width:110px}
.rep .acct td small,.repo .acct td small{display:block;color:var(--muted);font-size:11.5px}
.rep .acct input,.repo .acct input{width:18px;height:18px;accent-color:var(--wine);cursor:pointer}
.rep .acct tr.ag td,.repo .acct tr.ag td{background:#faf5f2;font-weight:700;font-size:12.5px;color:var(--wine)}
.rep .aall,.repo .aall{all:unset;cursor:pointer;font-size:11.5px;font-weight:600;color:var(--wine);text-decoration:underline}
.rep .mini.pri,.repo .mini.pri{background:var(--wine);color:#fff;border-color:var(--wine)}
.rep #main,.repo #main{padding-bottom:140px}
.rep #body,.repo #body{display:grid;gap:14px;min-width:0}
.rep #body>*,.repo #body>*{min-width:0}
.rep .bar2,.repo .bar2{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between}
.rep .seg,.repo .seg{display:inline-flex;gap:4px;background:var(--paper);border:1px solid var(--line);border-radius:999px;padding:3px;flex-wrap:wrap}
.rep .seg button,.repo .seg button{all:unset;cursor:pointer;padding:6px 13px;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--muted)}
.rep .seg button[aria-pressed=true],.repo .seg button[aria-pressed=true]{background:var(--wine);color:#fff}
.rep .seg button:focus-visible,.repo .seg button:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
.rep .dts,.repo .dts{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.rep .dts input[type=date],.repo .dts input[type=date]{border:1px solid var(--line);border-radius:999px;padding:7px 12px;background:#fff;font-size:13.5px}
.rep .cmpc,.repo .cmpc{display:inline-flex;gap:6px;align-items:center;font-size:13.5px;color:var(--muted);cursor:pointer}
.rep .cmpc input,.repo .cmpc input{accent-color:var(--wine);width:16px;height:16px}
.rep .kpi small,.repo .kpi small{font-size:12px;color:var(--muted)}
.rep .kpi small.up,.repo .kpi small.up{color:var(--ok)}
.rep .kpi small.dn,.repo .kpi small.dn{color:var(--bad)}
.rep .card,.repo .card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:14px 16px}
.rep .card>h3,.repo .card>h3{margin:0 0 10px;font:600 15px var(--body);display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.rep .card>h3 small,.repo .card>h3 small{font-weight:400;color:var(--muted);font-size:12.5px}
.rep .favs,.repo .favs{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.rep .favs>span,.repo .favs>span{font-size:13px;color:var(--muted);margin-right:4px}
.rep .fav,.repo .fav{all:unset;cursor:pointer;display:inline-flex;gap:6px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:999px;padding:7px 13px;font-size:13.5px;font-weight:600}
.rep .fav:hover,.repo .fav:hover{border-color:var(--wine);color:var(--wine)}
.rep .fav svg,.repo .fav svg{color:#c08a1e}
.rep .groups,.repo .groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
@media(max-width:860px){.rep .groups{grid-template-columns:1fr}
}
.rep .grp,.repo .grp{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:6px 6px 8px}
.rep .grp>h2,.repo .grp>h2{margin:0;padding:10px 12px 6px;display:flex;align-items:center;gap:10px;font:600 20px/1.2 var(--display)}
.rep .grp>h2 i,.repo .grp>h2 i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--wine-soft);color:var(--wine);flex:none}
.rep .rp,.repo .rp{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-top:1px solid #f1e9e3;margin:0 6px}
.rep .grp>h2+.rp,.repo .grp>h2+.rp{border-top:0}
.rep .rp>button.o,.repo .rp>button.o{all:unset;cursor:pointer;padding:10px 6px;display:grid;gap:1px}
.rep .rp>button.o b,.repo .rp>button.o b{font-weight:600;font-size:14.5px}
.rep .rp>button.o small,.repo .rp>button.o small{color:var(--muted);font-size:12.5px}
.rep .rp:hover>button.o b,.repo .rp:hover>button.o b{color:var(--wine)}
.rep .rp>button.o:focus-visible,.repo .rp>button.o:focus-visible{outline:2px solid var(--wine);border-radius:8px}
.rep .star,.repo .star{all:unset;cursor:pointer;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#c9bcb4}
.rep .star[aria-pressed=true],.repo .star[aria-pressed=true]{color:#c08a1e}
.rep .star:hover,.repo .star:hover{background:#f6efe9}
.rep .star:focus-visible,.repo .star:focus-visible{outline:2px solid var(--wine)}
.rep .rhead,.repo .rhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.rep .rhead h2,.repo .rhead h2{margin:4px 0 2px;font:600 28px/1.1 var(--display)}
.rep .rhead p,.repo .rhead p{margin:0;color:var(--muted);font-size:14px}
.rep .back,.repo .back{all:unset;cursor:pointer;color:var(--wine);font-weight:600;font-size:14px}
.rep .back:focus-visible,.repo .back:focus-visible{outline:2px solid var(--wine)}
.rep .acts2,.repo .acts2{display:flex;gap:8px;flex-wrap:wrap}
.rep .tl,.repo .tl{width:100%;border-collapse:collapse;font-size:14px}
.rep .tl th,.repo .tl th{text-align:left;font-size:12px;color:var(--muted);font-weight:600;padding:8px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
.rep .tl td,.repo .tl td{padding:9px 10px;border-top:1px solid #f1e9e3;vertical-align:middle}
.rep .tl td.n,.repo .tl td.n,.rep .tl th.n,.repo .tl th.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.rep .tl tr.ft td,.repo .tl tr.ft td{font-weight:700;border-top:2px solid var(--line)}
.rep .tl tr.sub td,.repo .tl tr.sub td{font-weight:600;background:#fbf7f3}
.rep .tl tr.ind td:first-child,.repo .tl tr.ind td:first-child{padding-left:26px}
.rep .tl small,.repo .tl small{color:var(--muted);font-size:12px}
.rep .tw,.repo .tw{overflow-x:auto}
.rep .shp,.repo .shp{display:inline-block;font-size:11.5px;font-weight:700;padding:2px 9px;border-radius:999px;white-space:nowrap;background:var(--wine);color:#fff}
.rep .shp.s-tj,.repo .shp.s-tj{background:var(--tj)}
.rep .hb,.repo .hb{display:grid;grid-template-columns:minmax(90px,200px) minmax(0,1fr) auto;gap:6px 12px;align-items:center;font-size:13.5px}
.rep .hb .lb,.repo .hb .lb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rep .hb .tr,.repo .hb .tr{height:14px;border-radius:999px;background:#f3ece6;overflow:hidden;display:flex}
.rep .hb .tr i,.repo .hb .tr i{display:block;height:100%}
.rep .hb .v,.repo .hb .v{font-variant-numeric:tabular-nums;font-weight:600;text-align:right;white-space:nowrap}
.rep .lg,.repo .lg{display:flex;gap:14px;font-size:12.5px;color:var(--muted);flex-wrap:wrap}
.rep .lg span,.repo .lg span{display:inline-flex;gap:6px;align-items:center}
.rep .lg i,.repo .lg i{width:10px;height:10px;border-radius:3px;display:inline-block}
.rep .vb svg,.repo .vb svg{width:100%;height:auto;display:block}
.rep .heat,.repo .heat{display:grid;grid-template-columns:90px repeat(7,minmax(0,1fr));gap:4px;font-size:12.5px}
.rep .heat>span,.repo .heat>span{color:var(--muted);display:flex;align-items:center}
.rep .heat>span.c,.repo .heat>span.c{justify-content:center}
.rep .heat>b,.repo .heat>b{border-radius:8px;min-height:40px;display:grid;place-items:center;font-weight:600;font-size:12.5px}
.rep .note2,.repo .note2{font-size:12.5px;color:var(--muted);margin:0}
.rep .flt,.repo .flt{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.rep .showall,.repo .showall{all:unset;cursor:pointer;display:block;text-align:center;color:var(--wine);font-weight:600;font-size:14px;padding:10px}
@media (max-width:600px){}
.rep .dlg .ch,.repo .dlg .ch{display:flex;gap:8px;align-items:flex-start;font-size:14px;padding:6px 0}
.rep .dlg .ch input,.repo .dlg .ch input{accent-color:var(--wine);width:17px;height:17px;margin-top:2px}
@media(max-width:700px){.rep .kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.rep .tl .hm,.repo .tl .hm{display:none}
.rep .hb,.repo .hb{grid-template-columns:minmax(80px,120px) minmax(0,1fr) auto}
.rep .heat,.repo .heat{grid-template-columns:62px repeat(7,minmax(0,1fr))}
.rep .rhead h2,.repo .rhead h2{font-size:24px}
}
@media print{#snav,.snav,.mtop,.rep .bar2,.rep .acts2,.rep .back,.toast,.rep .showall,.rep .mtop{display:none!important}body{background:#fff}.rep.wrap{max-width:none;padding:0}.rep .card,.rep .kpi{border-color:#ddd;break-inside:avoid}}
