/* RANKED LISTS AND THE "VIEW ALL" DIALOG, shared by the zone's pages.
   The dashboard's "Who is hiring on your site" and Graduate outcomes' "Your
   students on Talentbank" both draw a card of ranked rows that ends in
   "View all N", which opens the whole list in one dialog. They were one
   page's; when the students section moved to Graduate outcomes the rows and
   the dialog came out here rather than being copied, so the two lists cannot
   drift apart. JS half: uni-rank.js. Load this after ../tokens.css. */
/* TWO LABELLED SECTIONS UNDER THE FIGURES — your students, then who is
   hiring — each a heading outside the cards and the cards under it, so the
   page reads as sections rather than as one run of boxes. */
.sech{margin:0 0 12px}
.sech h2{font-family:var(--disp);font-weight:600;font-size:19px;margin:0}
.sech p{font-size:13.5px;color:var(--mut);margin-top:4px;line-height:1.5}
.pane{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:20px 22px;min-width:0;display:flex;flex-direction:column}
.pane h3{font-family:var(--disp);font-weight:600;font-size:16px;margin:0}
.pane .sub{font-size:13px;color:var(--mut);margin-top:4px;line-height:1.5}
.pane .rk{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-direction:column;justify-content:space-between;gap:11px;flex:1}
.rk li{display:flex;align-items:center;gap:11px;min-width:0}
.rk .rt{flex:1;min-width:0}
.rk .rl{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.rk .n{font-weight:600;font-size:13.5px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.rk .c{font-family:var(--mono);font-size:12px;color:var(--ink);font-weight:500;flex:0 0 auto}
/* The share sits after the count in a fixed width, so the counts line up
   down the list and the shares line up beside them. */
.rk .c .pc{display:inline-block;width:36px;text-align:right;color:var(--mut);font-weight:400;margin-left:6px}
/* Thinner and softened: at 6px and full strength eight bars in a row were
   the heaviest thing on the page, heavier than the figures they rank. */
.rk .tr{height:4px;border-radius:50px;background:var(--soft);margin-top:6px;overflow:hidden}
.rk .tr i{display:block;height:100%;border-radius:50px;background:var(--bc,var(--edu));opacity:.72}
.pane.emp{--bc:var(--acc)}
.pane.sec{--bc:var(--edu-m)}
.pane.stf{--bc:var(--jade)}
/* THE REST OF A LIST OPENS IN A PANEL, not in place. Unfolding it inline
   pushed the card — and everything under it — down by as many rows as the
   list has, and a real institution's field list can run to sixty. So the
   card keeps its eight rows and ends in one row carrying the count and the
   total (a sum of several rows is not a rank, so it gets no bar), and that
   row opens the whole list in a dialog that scrolls on its own. */
.rk .tog{padding-top:2px}
.rkmore{display:flex;align-items:baseline;justify-content:space-between;gap:10px;width:100%;background:none;border:0;
        padding:4px 0;margin:0;font:inherit;font-size:13.5px;color:var(--mut);text-align:left;cursor:pointer}
.rkmore .lab{color:var(--edu-t);font-weight:600;font-size:12.5px;white-space:nowrap}
.rkmore:hover .lab{text-decoration:underline}
.rkmore:focus-visible,.lst .x:focus-visible{outline:2px solid var(--edu);outline-offset:2px;border-radius:6px}

/* ---- the full-list dialog ---- */
/* margin:auto IS LOAD-BEARING: the page's *{margin:0} reset takes away the
   UA margin a native <dialog> centres itself with (site-settings.html met
   the same thing). Header fixed, list scrolls, so the title and the close
   stay on screen however long the list is. */
dialog.lst{margin:auto;border:0;border-radius:16px;padding:0;width:min(520px,calc(100vw - 32px));max-height:min(720px,calc(100vh - 48px));
           background:var(--card);color:var(--ink);box-shadow:0 30px 80px -30px rgba(22,40,75,.45);overflow:hidden}
dialog.lst[open]{display:flex;flex-direction:column}
dialog.lst::backdrop{background:rgba(10,14,30,.5)}
.lst .lh{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 22px 12px;border-bottom:1px solid var(--line2)}
.lst h2{font-family:var(--disp);font-weight:600;font-size:19px;line-height:1.25;margin:0}
.lst .lh p{font-size:13px;color:var(--mut);margin-top:3px}
.lst .x{flex:0 0 auto;width:34px;height:34px;border-radius:9px;border:1px solid var(--line);background:#fff;color:var(--ink);
        display:grid;place-items:center;cursor:pointer;font-size:18px;line-height:1}
.lst .x:hover{border-color:var(--edu)}
.lst .q{margin:12px 22px 0;width:calc(100% - 44px);font:inherit;font-size:14px;color:var(--ink);background:#fff;
        border:1.5px solid var(--line);border-radius:10px;padding:9px 12px}
.lst .q:focus{outline:0;border-color:var(--edu)}
/* contain: reaching the end of the list does not pass the scroll on. */
.lst .lb{overflow:auto;overscroll-behavior:contain;padding:14px 22px 20px;flex:1;min-height:0}
.lst .rk{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.lst .rk .rank{font-family:var(--mono);font-size:11.5px;color:var(--mut);width:22px;flex:0 0 auto;text-align:right}
.lst .none{font-size:13.5px;color:var(--mut);padding:8px 0}
.lst.stf{--bc:var(--jade)}
.lst.sec{--bc:var(--edu-m)}

/* The plate is the directory's — white, the real mark where the repo holds
   one, the initials in the display face where it does not — so a company
   looks the same here as on companies.html. Real marks are fine on THIS page:
   it is our chrome, read by the partner, not their white-label skin
   (CLAUDE.md, "Mock vs real"). */
.pl{width:40px;height:30px;border-radius:7px;flex:0 0 auto;background:#fff;border:1px solid var(--line2);display:flex;align-items:center;justify-content:center;overflow:hidden}
.pl img{width:84%;height:84%;object-fit:contain;display:block}
.pl.ini{border:0;background:none}
.pl.ini svg{display:block;width:100%;height:100%}
/* The same tile a size down where it sits beside a name in a card's list
   (Graduate outcomes' hiring cards, hiring-by-field.html). */
.pl.sm{width:36px;height:27px;border-radius:6px}
