/* =====================================================================
   Explore Careers on My Space's language (2026-10-24)

   Naveen: "next job is Explore Career part. Same approach." Four read-only
   agents measured Careers against the language My Space now uses
   (css/ms6/kit.css): 31 font sizes with 10% on the scale, ten tag recipes,
   five icon tiles, outlined controls and a colour per "selected". This
   sheet brings it onto that language. It loads last, after console.css,
   careers-v3.css, cards.css, v2.css and the career popup's sheets, so
   every value for Careers is decided here once:

   - surfaces: white cards on the canvas; a grid card 22px, a card inside
     one 14px, a page panel 28px; no outlined controls on white, a tint;
   - one icon tile: 36px, 11px corners, the tint, a navy icon;
   - one tag: a 22px tinted pill, 12px/600; on a tinted tile or a picture
     it is white; a stronger tag (a degree, a licence, "close to you") is
     the same pill in navy words, never a navy block;
   - one selected: a tab is navy with a blue line; the view switch is a
     white raised pill on a tint track; a toggle (Compare) is sky with a
     blue ring;
   - the type scale 11/12/13/14/15/16/18/20/28/34, weights 400/500/600;
   - the motion tokens --m-1..4 and --m-out/--m-in/--m-move.
   ===================================================================== */

:root{
  --cx-tile:color-mix(in srgb, var(--navy) 4%, #fff);   /* was #F3F6FA, a grey outside the palette */
  --cx-line:var(--hair);
  --cx-tint-2:color-mix(in srgb, var(--navy) 7%, #fff);
}

/* ------------------------------------------------------------ surfaces */
/* a career tile is a small card, so it takes a card's corners, not a pill's */
.main-careers .wgrid:not(.is-list) .wk{border-radius:14px !important}
/* saved careers: white cards like everywhere else, no outline */
.cx-cards .cc{border:0 !important; border-radius:var(--rc-s); box-shadow:var(--card-shade); transition:transform var(--m-2) var(--m-out), box-shadow var(--m-2) var(--m-out)}
.cx-cards .cc:hover{transform:translateY(-2px); box-shadow:0 1px 2px rgba(16,34,64,.05), 0 10px 22px -16px rgba(16,34,64,.32)}
/* the comparison sits in a white page panel; its heads read as labels, not shouting */
.cmp-scroll{border:0 !important; border-radius:var(--rc); background:#fff; box-shadow:var(--card-shade)}
.cmp-t thead th{background:none !important}
.cmp-t tbody th{font-size:.8125rem; font-weight:500; color:var(--ink-3); text-transform:none; letter-spacing:0}
.cmp-t th{font-weight:600}
.cmp-t td{font-size:.875rem}
.cmp-h b{font-size:1rem}

/* one icon tile for a career or a track, wherever it shows */
.ct-ic, .pk2-ic, .main-careers .wsec-h .ic-md, .cx-cards .cc > .ic, .cmp-h .ic{
  width:36px !important; height:36px !important; border-radius:11px !important; background:var(--cx-tile) !important; color:var(--navy) !important}
:is(.ct-ic, .pk2-ic, .main-careers .wsec-h .ic-md, .cx-cards .cc > .ic, .cmp-h .ic) .i{width:18px !important; height:18px !important}

/* the career popup's tiles: a card inside a card is 14px */
:is(.kp-ex, .pa-ways ol, .pa-try, .kp-exd, .kp-glance li, .kp-pc > div, .kp-scene){border-radius:14px}
.pa-try-i{width:36px; height:36px; border-radius:11px}
.kp-col > span{width:28px; height:28px; border-radius:9px}

/* the close button: one size in every popup layout, no ring */
.dlg-career .dlg-x, .dlg-col .dlg-x{width:36px; height:36px; border-radius:50%; box-shadow:none}
.dlg-career:not(:has(.pa-poster)):not(:has(.kp-hero)) .dlg-x{background:var(--cx-tile); color:var(--navy)}

/* study routes: tinted chips, no dashed rule above them */
.main-careers .wsr{border-top:0}
.main-careers .wsr-c{min-height:36px; border:0 !important; border-radius:999px !important; background:var(--cx-tile); box-shadow:none !important; font-size:.875rem;
  transition:background-color var(--m-1) var(--m-out)}
.main-careers .wsr-c:hover{background:var(--cx-tint-2)}

/* ------------------------------------------------------------ selected */
.main-careers .wtab.on, .main-careers .wtab.on small{color:var(--navy)}
.main-careers .wtab{font-size:.9375rem}
.main-careers .wtab small{font-size:.8125rem; font-weight:600}
/* the grid / list switch: My Space's segmented control */
.vswitch{padding:3px; gap:2px; border-radius:12px; background:var(--cx-tint-2)}
.vswitch button{width:34px; height:34px; border-radius:9px; transition:background-color var(--m-1) var(--m-out), color var(--m-1) var(--m-out)}
.vswitch button .i{width:18px; height:18px}
.vswitch button[aria-pressed="true"]{background:#fff; color:var(--navy); box-shadow:0 1px 2px rgba(16,34,64,.08), 0 0 0 1px var(--hair)}
/* Compare: a tinted toggle; picked is sky with a blue ring */
.cc-cmp{border:0 !important; border-radius:999px; background:var(--cx-tile); font-size:.875rem; font-weight:500; color:var(--ink-2);
  transition:background-color var(--m-1) var(--m-out), box-shadow var(--m-1) var(--m-out)}
.cc-cmp:hover{background:var(--cx-tint-2)}
.cc-cmp[aria-pressed="true"]{background:var(--sky-16); box-shadow:inset 0 0 0 2px var(--blue); color:var(--navy)}

/* ------------------------------------------------------------ one tag */
:is(.main-careers, .dlg-career, .cmp, .cx-cards) :is(.sr-stage, .band, .cc-fit, .wh-fit, .kp-door, .kp-ex-t, .cmp-chips i),
.wt-fit, .main-careers .pw .pc-nirf, .cx-saved em{
  display:inline-flex; align-items:center; height:22px; padding:0 9px; border-radius:999px; font-size:.75rem !important; font-weight:600; font-style:normal;
  letter-spacing:0; line-height:1; background:var(--cx-tint-2); color:var(--ink-2); box-shadow:none !important; white-space:nowrap}
/* the stronger ones: the same pill in navy words */
:is(.main-careers, .dlg-career, .cmp, .cx-cards) :is(.sr-stage.s-ug, .kp-door-licensed, .cc-fit, .wh-fit){color:var(--navy)}
/* on a tinted tile or a picture a tag is white */
:is(.wsr-c, .kp-ex, .pa-ways, .kp-hb) :is(.sr-stage, .kp-ex-t, .cc-fit), .wt-fit, .main-careers .pw .pc-nirf{background:#fff}
/* the saved count on its button */
.cx-saved em{min-width:22px; justify-content:center; background:var(--blue); color:#fff}

/* ------------------------------------------------------------ type */
.main-careers .wk-t{font-size:.9375rem}
.ct-t{font-size:1rem}
.ct-r, .pk2-b small, .cc-r{font-size:.8125rem}
.pk2-b b{font-size:.9375rem}
.main-careers .wsec-t{font-size:1.125rem}
.wsec-m{font-size:.8125rem}
.wsec-m a{font-size:.875rem; font-weight:600}
.wsr-t{font-size:.875rem} .wsr-t small{font-size:.8125rem}
.wh-s > *{font-size:.875rem}
.main-careers .wh2 .wh-t, .main-careers .wh-t{font-size:2.125rem}
/* the career popup */
.cp-b h3{font-size:.875rem}
.pa-diff p, .pa-asks li, .pa-pc li, .cp-meta{font-size:.9375rem}
.pa-lead{font-size:1.25rem}
.pa-poster .cp-n, .pa-try-t{font-size:1rem}
.kp-ex-b small, .pa-sim button{font-size:.8125rem}
.kp-col{font-size:.875rem}
.kp-hero .sx-t{font-size:1.75rem}
.cx-saved em, .cmp-t th{font-weight:600}

/* ------------------------------------------------------------ icons and buttons */
.kp-asks .i{stroke-width:1.8}
.wback .i, .cp-loc .i{width:16px; height:16px}
.cc-save{width:36px; height:36px; border-radius:50%; transition:background-color var(--m-1) var(--m-out), color var(--m-1) var(--m-out)}
.cc-save .i{width:18px; height:18px}
.cx-saved, .sx-save{height:42px; padding:0 18px}

/* ------------------------------------------------------------ motion
   every hover and press on the tokens; a Save changes its colour as fast as
   its words, so no frame shows pale words on a half-filled button */
.main-careers .ct, .main-careers .wk, .main-careers .pc.pw, .pk2{transition:transform var(--m-2) var(--m-out), box-shadow var(--m-2) var(--m-out)}
.main-careers .wk-t{transition:color var(--m-1) var(--m-out)}
.wsec-m a .i{transition:transform var(--m-2) var(--m-out)}
.sx-save, .pa-save, .kp-save{transition:background-color var(--m-1) var(--m-out), color var(--m-1) var(--m-out)}

/* the compare tray comes and goes (it is shown and hidden in place, console.js cmpSync) */
.cmp-tray{transition:opacity var(--m-3) var(--m-out), translate var(--m-3) var(--m-out), display var(--m-3) allow-discrete}
.cmp-tray[hidden]{display:none; opacity:0; translate:0 8px; transition-duration:var(--m-2); transition-timing-function:var(--m-in)}
@starting-style{ .cmp-tray:not([hidden]){opacity:0; translate:0 8px} }
@media (prefers-reduced-motion:reduce){ .cmp-tray{transition:opacity var(--m-1) linear, display var(--m-1) allow-discrete; translate:none} }
