/* Partners: one table (each partner's repeat rate once, with its bar against
   the SC average and the goal), and the bury vendor card. */
@layer pages{

/* ---- the partner table (owner, 9 Oct rebuild; look C "Partners at a glance") ---- */
table.partners td{padding-top:var(--s2);padding-bottom:var(--s2)}
table.partners .pt-name{white-space:nowrap}
table.partners .pt-name .go{margin-left:var(--s2);font-weight:700;color:var(--accent)}
table.partners tr.vcard:hover .vname{color:var(--accent)}
table.partners .pt-rep .pt-fig{font-size:var(--t5);font-weight:700;color:var(--ink)}
table.partners .pt-rep .spark-chip{margin-left:var(--s1)}
table.partners td.num .tsub{font-size:var(--t7)}
table.partners .pt-barh{min-width:12rem}
table.partners td.pt-bar{width:26%;min-width:10rem}
table.partners td.pt-bar .delta{margin-top:var(--s1);white-space:nowrap}
table.partners tr.pt-none td{color:var(--ink-3)}

/* The bar: official rate (light), what is left after review (dark) on top,
   the SC average (short mark) and the goal (tall mark). Over the goal, the
   bar turns bad. Colour is only ever good / watch / bad. */
.pbar{position:relative;height:var(--s3);margin-top:var(--s1);background:var(--surface-2);
  border:1px solid var(--line);border-radius:var(--r1)}
.pbar .pb-o,.pbar .pb-a{position:absolute;left:0;top:0;bottom:0;border-radius:var(--r1)}
.pbar .pb-o{background:var(--line-strong)}
.pbar .pb-a{background:var(--ink-2)}
.pbar.over .pb-o{background:var(--bad-soft);box-shadow:inset 0 0 0 1px var(--bad)}
.pbar.over .pb-a{background:var(--bad)}
.pbar .pb-avg,.pbar .pb-goal{position:absolute;width:2px;margin-left:-1px;border-radius:1px}
.pbar .pb-avg{top:calc(-1 * var(--s1));bottom:calc(-1 * var(--s1));background:var(--ink-3)}
.pbar .pb-goal{top:calc(-1 * var(--s2));bottom:calc(-1 * var(--s2));background:var(--ink)}

.pt-key{display:flex;flex-wrap:wrap;gap:var(--s1) var(--s5);margin-top:var(--s3);font-size:var(--t7);color:var(--ink-2)}
.pt-key span{display:inline-flex;align-items:center;gap:var(--s2)}
.pt-key i{display:inline-block;flex:none}
.pt-key .k-a,.pt-key .k-o{width:var(--s4);height:var(--s2);border-radius:var(--r1)}
.pt-key .k-a{background:var(--ink-2)}
.pt-key .k-o{background:var(--line-strong)}
.pt-key .k-avg{width:2px;height:var(--s3);background:var(--ink-3)}
.pt-key .k-goal{width:2px;height:var(--s4);background:var(--ink)}

/* A small share bar; no longer on Partners, still used by another page's list
   (app.js reasons list). Kept here until that page's sheet takes it. */
.bar-mini{height:var(--s2);margin-top:var(--s3);background:var(--surface-2);border-radius:var(--r1);overflow:hidden}
.bar-mini i{display:block;height:100%;background:var(--accent);border-radius:var(--r1)}

/* ---- Bury vendor (Admin and Lumos Team only) ----
   The vendor's fault is the headline figure; the other calls and the themes
   are ruled rows that open their repairs; how far the reading has got is a
   quiet line at the foot. */
.bury-lead{display:flex;align-items:center;gap:var(--s4);width:100%;margin:var(--s2) 0 0;padding:var(--s3) var(--s4);text-align:left;cursor:pointer;
  color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--r2)}
.bury-lead:hover{background:var(--surface-2)}
.bury-lead:hover .bury-lead-t{text-decoration:underline;text-underline-offset:3px}
.bury-big{font-size:var(--t1);font-weight:700;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums slashed-zero}
.bury-lead-t{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s1) var(--s2);flex:1;min-width:0;font-size:var(--t4);font-weight:700}
.bury-of{flex-basis:100%;font-size:var(--t6);font-weight:400;color:var(--ink-2)}
.bury-go{flex:none;font-size:var(--t3);font-weight:700;line-height:1;color:var(--accent)}

.bury-stack{display:flex;gap:2px;height:var(--s2);margin:var(--s3) 0 var(--s1);overflow:hidden;border-radius:var(--r1)}
.bury-stack i,.bury-sw{display:block}
.bury-sw{flex:none;width:var(--s3);height:var(--s3);border-radius:var(--r1)}
.bury-stack .s-v,.bury-sw.s-v{background:var(--bad)}
.bury-stack .s-n,.bury-sw.s-n{background:var(--line-strong)}
.bury-stack .s-c,.bury-sw.s-c{background:var(--watch)}

.bury-rows{margin:var(--s1) 0 0;padding:0;list-style:none;border-top:1px solid var(--line)}
.bury-row{display:flex;align-items:center;gap:var(--s3);width:100%;min-height:calc(var(--s5) + var(--s4));padding:var(--s2) var(--s2);
  text-align:left;cursor:pointer;color:var(--ink);background:none;border:0;border-bottom:1px solid var(--line);font-size:var(--t5)}
.bury-row:hover{background:var(--surface-2)}
.bury-row:hover .bury-lab{text-decoration:underline;text-underline-offset:3px}
.bury-row:focus-visible,.bury-lead:focus-visible{outline-offset:-2px}
.bury-lab{display:flex;align-items:center;gap:var(--s2);flex:1;min-width:0}
.bury-row b{font-family:var(--f-num);font-weight:600;font-variant-numeric:tabular-nums slashed-zero}
.bury-row .bury-go{font-size:var(--t4)}
.bury-rep{margin:var(--s4) 0 0;color:var(--ink-2)}
.bury-rep b{color:var(--ink)}
.bury-meta{margin:var(--s2) 0 0;font-size:var(--t7);color:var(--ink-3)}
.bury-meta .linkish{font-size:var(--t7)}
}
