/* Bismillah - expertini-ui.css — job-seeker UI (en_template/ui/)
 *
 * The Expertini ATS design system (ats.expertini.com base.html /
 * public_base.html tokens) for the country job sites. COMMON file: the same
 * bytes ship to all 251 deploys. Bump jobseeker_ui.UI_VERSION on any change.
 *
 * Every class is prefixed `x-` so this sheet can sit on a page next to the
 * legacy theme (Bootstrap 4 + the job-board theme in base.html) without
 * either restyling the other while pages migrate one at a time.
 */

:root{
  --x-f-body:'Inter',-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --x-f-disp:'Plus Jakarta Sans','Inter',-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  --x-primary:#2563EB; --x-secondary:#1D4ED8; --x-accent:#06B6D4;
  --x-success:#10B981; --x-warning:#F59E0B; --x-danger:#EF4444;
  --x-bg:#F8FAFC; --x-surface:#FFFFFF; --x-text:#0F172A; --x-text-2:#334155; --x-text-3:#475569;
  --x-subtext:#64748B; --x-border:#E2E8F0; --x-navy:#172554;
  --x-glass:rgba(255,255,255,.62); --x-glass-border:rgba(255,255,255,.75);
  --x-glass-shadow:0 8px 32px rgba(37,99,235,.10);
  --x-tint:rgba(37,99,235,.08);
  --x-ring:0 0 0 3px rgba(37,99,235,.15);
  --x-r:18px;
  --x-topbar-h:64px;
  --x-sidebar-w:264px;
  --x-grad:linear-gradient(135deg,var(--x-primary),var(--x-secondary));
  --x-grad-text:linear-gradient(90deg,#2563EB,#0891B2);
  --x-rainbow:linear-gradient(90deg,#2563EB,#7c3aed,#ec4899,#F59E0B,#10B981,#0891B2,#2563EB);
  color-scheme:light;
}

/* ── base ─────────────────────────────────────────────────────────────────
   Two scopes:
   • .x-page — the <body> of a page on the NEW bases (ui/*_base.html): page
     background, plus everything under .x-ui below.
   • .x-ui   — any subtree drawn by the new UI. On new pages that is the
     whole <body>; on LEGACY pages (base.html / base_regional.html, still
     carrying the old Bootstrap + theme CSS) it is ONLY the new header,
     footer, drawer and bottom nav. Element rules (h1, p, a, label…) live
     under .x-ui so they never restyle an old page's own content — and the
     resets below undo the legacy sheet's global element rules
     (*{margin:0;padding:0;border:none;outline:0}, body weight 200,
     label margins, p 15px/24px, h1–h4 weight 400) inside the new shell.
   ─────────────────────────────────────────────────────────────────────── */
/* :where() keeps these at ELEMENT specificity (0,0,1): they beat the legacy
   sheet's equal-weight element rules only because this file loads after it,
   and every x- component class below still beats them. Do not "simplify"
   to `.x-ui h4` — that is (0,1,1) and would flatten .x-fh, .x-hero p, … */
/* Legacy page links (replaces base.html's removed global a[href]:not(…)
   rule): plain links take the surrounding text colour, normal weight, and
   underline on hover. ELEMENT specificity on purpose — beats the legacy
   head's a{color:#007bff} only by loading later, and loses to ANY class a
   page sets (e.g. .clt-btn-primary{color:white}). Must stay ABOVE the
   :where(.x-ui) a rule so shell links keep their own colours. */
:where(body.x-legacy) a{color:inherit;text-decoration:none;font-weight:inherit}
/* Legacy <a class="…btn…"> left inline: its background split into broken
   pieces when the label wrapped (interview-practice). Zero specificity, so
   any page rule that sets display still wins — only the inline ones change. */
:where(body.x-legacy) :where(a[class*="btn"],a[class*="button"]){display:inline-flex;align-items:center;justify-content:center;gap:.4em;max-width:100%;box-sizing:border-box;text-align:center;vertical-align:middle}
:where(body.x-legacy) a:hover{text-decoration:underline;text-decoration-color:#2563EB;text-underline-offset:2px}
:where(.x-ui),:where(.x-ui) *,:where(.x-ui) *::before,:where(.x-ui) *::after{box-sizing:border-box}
:where(.x-ui){font-family:var(--x-f-body);font-size:14px;line-height:1.5;font-weight:400;color:var(--x-text);-webkit-font-smoothing:antialiased;text-align:left}
:where(.x-ui) p{margin:0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit}
:where(.x-ui) label{margin:0}
:where(.x-ui) ul,:where(.x-ui) li{margin:0;padding:0;list-style:none}
:where(.x-ui) h1,:where(.x-ui) h2,:where(.x-ui) h3,:where(.x-ui) h4,.x-disp{font-family:var(--x-f-disp);letter-spacing:-.02em;margin:0;line-height:1.2;font-weight:700}
:where(.x-ui) a{color:var(--x-primary);text-decoration:none}
:where(.x-ui) a:hover{color:var(--x-secondary);text-decoration:none}
:where(.x-ui) img{max-width:100%}
:where(.x-ui) button{font-family:inherit}
/* !important: the legacy sheet's a:focus{outline:0} (0,1,1) would otherwise
   remove the keyboard focus ring inside the shell on legacy pages. */
:where(.x-ui) :focus-visible{outline:2px solid var(--x-primary)!important;outline-offset:2px}
body.x-page{
  margin:0;min-height:100vh;font-family:var(--x-f-body);font-size:14px;line-height:1.5;color:var(--x-text);
  overflow-x:hidden;overflow-x:clip;-webkit-font-smoothing:antialiased;
  background:
    radial-gradient(1000px 560px at 85% -10%,rgba(6,182,212,.15),transparent 60%),
    radial-gradient(860px 620px at -10% 25%,rgba(37,99,235,.13),transparent 55%),
    radial-gradient(760px 520px at 55% 115%,rgba(29,78,216,.10),transparent 60%),
    var(--x-bg);
  background-attachment:fixed;
}
.x-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.x-skip{position:absolute;left:12px;top:-60px;z-index:200;background:var(--x-text);color:#fff!important;padding:10px 16px;border-radius:10px;font-weight:600}
.x-skip:focus{top:12px}
.x-ico{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.x-wrap{max-width:1280px;margin:0 auto;padding:0 22px}
.x-rainbow{height:1px;background:var(--x-rainbow);background-size:200% 100%;animation:x-rb 7s linear infinite}
@keyframes x-rb{to{background-position:200% 0}}
.x-grad-text{background:var(--x-grad-text);-webkit-background-clip:text;background-clip:text;color:transparent}
.x-muted{color:var(--x-subtext)}
.x-grow{flex-grow:1}

/* ── colour tones (owner, 2026-09-28: "more colourful, more dynamic") ──
   ATS-style gradient icon tiles in rotating brand colours instead of all
   blue. Templates set x-tone-1…6 by position; contrast: white icons on
   each gradient's darker stop. */
.x-tone-1{background:linear-gradient(135deg,#2563EB,#06B6D4)!important}
.x-tone-2{background:linear-gradient(135deg,#7c3aed,#a855f7)!important}
.x-tone-3{background:linear-gradient(135deg,#db2777,#f472b6)!important}
.x-tone-4{background:linear-gradient(135deg,#d97706,#f59e0b)!important}
.x-tone-5{background:linear-gradient(135deg,#059669,#10b981)!important}
.x-tone-6{background:linear-gradient(135deg,#0891b2,#22d3ee)!important}
.x-vtile span.x-tone-1,.x-vtile span.x-tone-2,.x-vtile span.x-tone-3,.x-vtile span.x-tone-4,.x-vtile span.x-tone-5,.x-vtile span.x-tone-6{color:#fff!important}

/* ── logo ─────────────────────────────────────────────────────────────── */
.x-logo{display:flex;align-items:center;gap:9px;flex-shrink:0;color:var(--x-text)!important}
/* logo.png is the full wordmark (979×255): scale by height only */
.x-logo img{height:38px;width:auto;max-width:none;display:block}

/* ── buttons ──────────────────────────────────────────────────────────── */
.x-btn{border:0;cursor:pointer;font:500 14px var(--x-f-body);padding:11px 20px;border-radius:12px;color:#fff!important;
  background:var(--x-grad);box-shadow:0 6px 16px rgba(37,99,235,.35);transition:.18s;display:inline-flex;align-items:center;
  justify-content:center;gap:8px;white-space:nowrap;text-decoration:none;line-height:1.2}
.x-btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(37,99,235,.42)}
.x-btn .x-ico{width:16px;height:16px}
.x-btn--ghost{background:var(--x-glass);color:var(--x-primary)!important;border:1px solid var(--x-border);box-shadow:none}
.x-btn--ghost:hover{border-color:rgba(37,99,235,.35);box-shadow:none}
.x-btn--sm{padding:9px 15px;font-size:13px;border-radius:11px}
.x-btn--mini{padding:7px 13px;font-size:12.5px;border-radius:9px}
.x-btn--big{padding:0 28px;height:52px;font-size:15px;border-radius:14px}
.x-btn--block{width:100%}
.x-btn--danger{background:linear-gradient(135deg,var(--x-danger),#b91c1c);box-shadow:0 6px 16px rgba(239,68,68,.3)}

/* ── surfaces ─────────────────────────────────────────────────────────── */
.x-card{background:var(--x-glass);-webkit-backdrop-filter:blur(20px) saturate(1.35);backdrop-filter:blur(20px) saturate(1.35);
  border:1px solid var(--x-glass-border);border-radius:var(--x-r);box-shadow:var(--x-glass-shadow)}
.x-card--pad{padding:22px}
.x-card__head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px 12px}
.x-card__head h2,.x-card__head h3{font-size:15px;font-weight:800}
.x-card__head a{font-size:12.5px;font-weight:600}
.x-banner{display:flex;align-items:center;gap:14px;padding:12px 18px;border-radius:14px;font-size:13.5px;color:#1e3a8a;
  background:linear-gradient(135deg,rgba(37,99,235,.07),rgba(6,182,212,.07));border:1px solid rgba(37,99,235,.18)}
.x-banner__ico{width:32px;height:32px;border-radius:9px;background:#fff;color:var(--x-primary);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.x-banner--warn{background:#fffbeb;border-color:#fde68a;color:#92400e}
.x-banner--warn .x-banner__ico{color:#b45309}
.x-empty{padding:40px 20px;text-align:center;color:var(--x-subtext);font-size:14px}
.x-empty h3{color:var(--x-text);margin-bottom:8px;font-size:16px}

/* ── pills, badges, chips ─────────────────────────────────────────────── */
.x-pill{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:500;color:var(--x-text-2);background:#f1f5f9;white-space:nowrap}
.x-pill--blue{color:#1d4ed8;background:#eff6ff}
.x-pill--green{color:#15803d;background:#f0fdf4}
.x-pill--amber{color:#b45309;background:#fffbeb}
.x-pill--red{color:#dc2626;background:#fef2f2}
.x-badge{font-size:9.5px;font-weight:800;letter-spacing:.06em;padding:2px 6px;border-radius:6px;line-height:1.4;white-space:nowrap}
.x-badge--pro{color:#92400e;background:#fef3c7}
.x-badge--ex{color:#6d28d9;background:#f3e8ff}
.x-count{font-size:11px;font-weight:700;color:var(--x-text-3);background:#f1f5f9;padding:1px 7px;border-radius:99px}
.x-chip{display:inline-block;padding:6px 13px;border-radius:99px;background:#fff;border:1px solid var(--x-border);font-size:12.5px;font-weight:500;color:var(--x-text-2)!important}
.x-chip:hover{color:var(--x-primary)!important;border-color:rgba(37,99,235,.35)}
.x-kicker{display:inline-block;background:#fff;border:1px solid rgba(37,99,235,.28);color:var(--x-secondary);font-size:11.5px;font-weight:700;letter-spacing:.12em;padding:6px 14px;border-radius:99px;text-transform:uppercase}
.x-itile{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,var(--x-primary),var(--x-accent));box-shadow:0 6px 14px rgba(37,99,235,.25);flex-shrink:0}
.x-itile--sm{width:32px;height:32px;border-radius:9px;box-shadow:none}
.x-itile--sm .x-ico{width:15px;height:15px}
.x-itile--soft{background:var(--x-tint);color:var(--x-primary);box-shadow:none}

/* ── forms ────────────────────────────────────────────────────────────── */
.x-field label{display:block;font-size:12.5px;font-weight:500;color:var(--x-subtext);margin-bottom:6px}
.x-input,.x-field input,.x-field select,.x-field textarea{width:100%;padding:11px 14px;border-radius:12px;border:1px solid var(--x-border);
  background:rgba(255,255,255,.85);font:400 14px var(--x-f-body);color:var(--x-text);outline:0;transition:.15s}
.x-input:focus,.x-field input:focus,.x-field select:focus,.x-field textarea:focus{border-color:var(--x-primary);box-shadow:var(--x-ring)}
.x-fld{display:flex;align-items:center;gap:10px;padding:0 14px;height:52px;border-radius:12px;border:1px solid var(--x-border);
  background:rgba(255,255,255,.88);color:var(--x-subtext);flex:1 1 0;min-width:0}
.x-fld input,.x-fld select{border:0;outline:0;background:transparent;font:500 14.5px var(--x-f-body);color:var(--x-text);width:100%;min-width:0;height:100%}
.x-fld input::placeholder{color:var(--x-subtext)}
.x-fld:focus-within{border-color:var(--x-primary);box-shadow:var(--x-ring)}
.x-fld--sm{height:44px}
.x-fld--sm input,.x-fld--sm select{font-size:13.5px}

/* ── tabs ─────────────────────────────────────────────────────────────── */
.x-tabs{display:flex;gap:4px;border-bottom:1px solid var(--x-border);overflow-x:auto;scrollbar-width:none}
.x-tab{padding:10px 16px;font:600 13.5px var(--x-f-body);color:var(--x-subtext)!important;border:0;background:none;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer;white-space:nowrap}
.x-tab:hover{color:var(--x-primary)!important}
.x-tab.is-on{color:var(--x-primary)!important;border-bottom-color:var(--x-primary)}

/* ── tables ───────────────────────────────────────────────────────────── */
.x-table-wrap{overflow-x:auto}
.x-table{width:100%;border-collapse:collapse;font-size:14px}
.x-table th{font-weight:500;font-size:11.5px;letter-spacing:.07em;text-transform:uppercase;color:var(--x-subtext);text-align:left;padding:12px 16px;border-bottom:1px solid var(--x-border);white-space:nowrap}
.x-table td{padding:12px 16px;border-bottom:1px solid var(--x-border);vertical-align:middle}
.x-table tr:last-child td{border-bottom:0}
.x-table tr:hover td{background:rgba(37,99,235,.04)}

/* ── stat tiles ───────────────────────────────────────────────────────── */
.x-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}
.x-stat{padding:20px;position:relative;overflow:hidden;display:block;color:var(--x-text)!important}
.x-stat::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--x-primary),var(--x-accent))}
.x-stat__k{font-size:12.5px;color:var(--x-subtext);font-weight:500;display:flex;align-items:center;gap:7px}
.x-stat__k i{width:8px;height:8px;border-radius:99px;background:var(--x-dot,var(--x-accent))}
.x-stat__v{font-weight:800;font-size:30px;font-family:var(--x-f-disp);margin-top:6px;letter-spacing:-.03em;line-height:1.1}
.x-stat__d{font-size:12px;font-weight:600;margin-top:4px;color:var(--x-text-3)}

/* ── score ring ───────────────────────────────────────────────────────── */
.x-ring{--p:0;--rc:var(--x-primary);width:92px;height:92px;border-radius:99px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background:conic-gradient(var(--rc) calc(var(--p)*1%),rgba(100,116,139,.15) 0)}
.x-ring>span{width:74px;height:74px;border-radius:99px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
.x-ring b{font-family:var(--x-f-disp);font-size:21px;font-weight:800;line-height:1}
.x-ring small{font-size:10.5px;color:var(--x-subtext);margin-top:2px}

/* ══════════════════════════════════════════════════════════════════════
   PUBLIC SHELL
   ══════════════════════════════════════════════════════════════════════ */
.x-nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(22px) saturate(1.4);backdrop-filter:blur(22px) saturate(1.4)}
.x-nav__in{height:64px;display:flex;align-items:center;gap:16px}
.x-menu{display:flex;align-items:center;gap:2px;margin-left:10px}
.x-nl{position:relative;padding:20px 12px;font:500 13.5px var(--x-f-disp);letter-spacing:-.1px;color:#1e293b!important;display:inline-flex;align-items:center;gap:4px;background:none;border:0;cursor:pointer}
.x-nl::after{content:'';position:absolute;left:12px;right:12px;bottom:13px;height:2px;border-radius:99px;transform-origin:left;background:linear-gradient(90deg,var(--x-primary),var(--x-accent));transform:scaleX(0);transition:.2s}
.x-nl:hover,.x-nl.is-on,.x-nl[aria-expanded="true"]{color:var(--x-primary)!important}
.x-nl:hover::after,.x-nl.is-on::after,.x-nl[aria-expanded="true"]::after{transform:scaleX(1)}
.x-nl .x-ico{width:15px;height:15px;transition:transform .2s}
.x-nl[aria-expanded="true"] .x-ico{transform:rotate(180deg)}
.x-icb{height:36px;min-width:36px;border-radius:10px;border:1px solid var(--x-border);background:rgba(255,255,255,.7);color:var(--x-text-2)!important;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;font:600 12px var(--x-f-body);padding:0 9px;position:relative}
.x-icb:hover{color:var(--x-primary)!important;border-color:rgba(37,99,235,.35)}
.x-icb .x-ico{width:16px;height:16px}
.x-auth{display:flex;border:1px solid var(--x-border);border-radius:12px;overflow:hidden;background:#fff}
.x-auth a{padding:8px 14px;font-size:13px;font-weight:500;color:var(--x-text-2)!important}
.x-auth a+a{border-left:1px solid var(--x-border);color:var(--x-secondary)!important;background:rgba(37,99,235,.07)}
.x-auth a:hover{color:var(--x-primary)!important;background:rgba(37,99,235,.1)}
.x-emp{font-size:12.5px;font-weight:500;color:var(--x-text-3)!important;display:inline-flex;align-items:center;gap:4px;padding:0 4px}
.x-emp .x-ico{width:14px;height:14px}
/* Header items NEVER wrap: a two-line "Find / jobs" or a clipped "Register"
   is what a crowded header looked like on ac (2026-09-28). When space runs
   out, lower-priority items are hidden instead — see RESPONSIVE below. */
.x-nav__in>*{flex-shrink:0}
.x-nav__in>.x-grow{flex-shrink:1;min-width:0}
.x-nl,.x-icb,.x-emp,.x-auth a,.x-nav .x-btn{white-space:nowrap}
.x-only-mobile{display:none!important}

/* mega panel */
.x-mega-host{position:relative}
.x-mega{position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-40%);width:min(900px,92vw);padding:16px;display:none;
  grid-template-columns:repeat(3,minmax(0,1fr)) 250px;gap:10px;background:rgba(255,255,255,.97);border:1px solid var(--x-border);
  border-radius:var(--x-r);box-shadow:0 30px 80px rgba(15,23,42,.22);z-index:60}
.x-mega.is-open{display:grid}
.x-mega h4,.x-fh{font-family:var(--x-f-disp);font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  background:linear-gradient(90deg,#2563EB,#0e7490);-webkit-background-clip:text;background-clip:text;color:transparent;margin:0 0 12px}
.x-mega h4{margin:6px 10px}
.x-mi{display:flex;gap:11px;padding:10px;border-radius:12px;color:var(--x-text)!important}
.x-mi:hover{background:rgba(37,99,235,.06)}
.x-mi b{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;font-family:var(--x-f-disp)}
.x-mi small{display:block;font-size:12px;color:var(--x-subtext);line-height:1.35;margin-top:1px}
.x-mega__feat{border-radius:14px;padding:20px;color:#fff;background:linear-gradient(160deg,#2563EB,#1D4ED8 60%,#172554);display:flex;flex-direction:column;gap:10px}
.x-mega__feat span{font-size:10.5px;font-weight:800;letter-spacing:.12em;color:#bfdbfe}
.x-mega__feat strong{font-family:var(--x-f-disp);font-size:17px;line-height:1.3}
.x-mega__feat p{font-size:12.5px;color:#dbeafe}
.x-mega__feat a{margin-top:auto;align-self:flex-start;background:#fff;color:var(--x-secondary)!important;font-weight:700;font-size:12.5px;padding:8px 14px;border-radius:10px}

/* right-side drawer (public, mobile) */
.x-overlay{position:fixed;inset:0;z-index:90;background:rgba(15,23,42,.5);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.25s}
.x-overlay.is-open{opacity:1;visibility:visible}
.x-drawer{position:fixed;top:0;bottom:0;right:0;z-index:95;width:min(88vw,360px);background:#fff;box-shadow:-8px 0 40px rgba(15,23,42,.25);
  display:flex;flex-direction:column;transform:translateX(105%);transition:transform .28s cubic-bezier(.2,.8,.3,1);visibility:hidden}
.x-drawer.is-open{transform:none;visibility:visible}
.x-drawer__head{height:64px;padding:0 12px 0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--x-border);flex-shrink:0}
.x-drawer__body{flex-grow:1;overflow-y:auto;padding:6px 14px}
.x-drawer__foot{padding:14px 16px 18px;border-top:1px solid var(--x-border);display:flex;flex-direction:column;gap:8px;flex-shrink:0}
.x-dacc{border-bottom:1px solid var(--x-border)}
.x-dacc summary{list-style:none;display:flex;align-items:center;gap:12px;padding:12px 4px;cursor:pointer;font:500 14.5px var(--x-f-disp);color:#1e293b;min-height:52px}
.x-dacc summary::-webkit-details-marker{display:none}
/* `>` matters: without it this also hit the icon INSIDE each .x-dico tile
   (it is that span's last child too) — greyed, shifted and rotated it. */
.x-dacc summary>.x-ico:last-child{margin-left:auto;color:var(--x-subtext);width:16px;height:16px;transition:transform .2s}
.x-dacc[open] summary>.x-ico:last-child{transform:rotate(180deg)}
.x-dacc__links{display:flex;flex-direction:column;padding:0 4px 10px 42px}
.x-dacc__links a{font-size:13.5px;color:var(--x-text-2)!important;padding:9px 0;display:flex;align-items:center;gap:6px}
.x-dico{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(135deg,var(--x-primary),var(--x-accent));flex-shrink:0}
.x-dico .x-ico{width:14px;height:14px}

/* footer */
.x-footer{margin-top:72px;background:var(--x-glass);-webkit-backdrop-filter:blur(20px) saturate(1.35);backdrop-filter:blur(20px) saturate(1.35);border-top:1px solid var(--x-glass-border)}
.x-footer__in{padding-top:48px;display:flex;flex-direction:column;gap:36px}
.x-ftop{display:grid;grid-template-columns:1.25fr repeat(4,minmax(0,1fr));gap:18px;align-items:start}
.x-ftop__brand{display:flex;flex-direction:column;gap:12px;padding-right:24px}
.x-ftop__brand h3{font-size:18px;font-weight:800}
.x-ftop__brand p{font-size:13px;color:var(--x-text-3)}
.x-vtile{padding:16px;display:flex;flex-direction:column;gap:8px;box-shadow:none}
.x-vtile span:first-child{width:28px;height:28px;border-radius:8px;background:var(--x-tint);color:var(--x-primary);display:flex;align-items:center;justify-content:center}
.x-vtile span:first-child .x-ico{width:15px;height:15px}
.x-vtile b{font-size:13px;font-weight:600;font-family:var(--x-f-disp)}
.x-vtile small{font-size:12px;color:var(--x-text-3)}
.x-fgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.x-fgrid details>summary{list-style:none;cursor:default;pointer-events:none}
.x-fgrid details>summary::-webkit-details-marker{display:none}
.x-fgrid summary .x-ico{display:none}
.x-fl{display:flex;flex-direction:column;gap:0}
.x-fl a{font-size:12.5px;font-weight:400;line-height:1.4;padding:4.5px 0;color:#334155!important;transition:.18s;display:block}
.x-fl a:hover{color:var(--x-primary)!important;transform:translateX(2px)}
.x-fbottom{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:20px 0 28px;border-top:1px solid var(--x-border)}
.x-fbottom__l{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--x-text-3)}
.x-legal{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#CBD5E1;font-size:12px}
.x-legal a{color:var(--x-text-3)!important}
.x-legal a:hover{color:var(--x-primary)!important}
.x-country{width:240px;flex:0 0 auto}
.x-fnote{padding:0 0 28px;display:flex;flex-direction:column;gap:6px;font-size:11.5px;line-height:1.55;color:var(--x-text-3)}
.x-fnote a{color:var(--x-text-3)!important;text-decoration:underline!important;text-underline-offset:2px}
.x-fnote a:hover{color:var(--x-primary)!important}
.x-fbottom{padding-bottom:16px}

/* mobile bottom nav (both shells) */
.x-bnav{position:fixed;left:0;right:0;bottom:0;z-index:80;height:64px;display:none;padding:4px 6px calc(4px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid var(--x-border);box-shadow:0 -6px 20px rgba(15,23,42,.06)}
.x-bnav a,.x-bnav button{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:500 10.5px var(--x-f-body);
  color:var(--x-subtext)!important;min-height:56px;background:none;border:0;cursor:pointer;padding:0}
.x-bnav .is-on{color:var(--x-primary)!important}

/* ══════════════════════════════════════════════════════════════════════
   DASHBOARD SHELL
   ══════════════════════════════════════════════════════════════════════ */
.x-gtb{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);-webkit-backdrop-filter:blur(22px) saturate(1.4);backdrop-filter:blur(22px) saturate(1.4)}
.x-gtb__in{height:var(--x-topbar-h);padding:0 20px;display:flex;align-items:center;gap:12px;position:relative}
.x-gtb .x-logo img{height:38px}
.x-search{position:absolute;left:50%;transform:translateX(-50%);width:min(480px,36vw)}
.x-search__btn{display:flex;align-items:center;gap:9px;width:100%;padding:8px 13px;border:1px solid var(--x-border);border-radius:10px;
  background:rgba(255,255,255,.6);font:500 12.5px var(--x-f-body);color:var(--x-subtext)!important;cursor:pointer;text-align:left}
.x-search__btn:hover{border-color:rgba(37,99,235,.35)}
.x-search__btn .x-ico{width:15px;height:15px}
.x-kbd{margin-left:auto;font-size:9.5px;font-weight:700;padding:2px 6px;border-radius:6px;border:1px solid var(--x-border);background:#fff;color:var(--x-text-3)}
.x-atb{position:relative;width:32px;height:32px;border-radius:99px;border:1px solid var(--x-border);background:rgba(255,255,255,.6);color:var(--x-text-2)!important;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.x-atb:hover{color:var(--x-primary)!important;border-color:rgba(37,99,235,.35)}
.x-atb .x-ico{width:15px;height:15px}
.x-cta{padding:7px 14px;border-radius:10px;font-size:12px;font-weight:500}
.x-ub{display:flex;align-items:center;gap:6px;padding:3px 8px 3px 3px;border-radius:99px;border:1px solid var(--x-border);background:rgba(255,255,255,.7);cursor:pointer;color:var(--x-text-3)}
.x-ub:hover{border-color:rgba(37,99,235,.35)}
.x-ub .x-ico{width:14px;height:14px}
.x-av{width:34px;height:34px;border-radius:99px;background:var(--x-grad);color:#fff!important;font:800 13px var(--x-f-disp);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.x-av img{width:100%;height:100%;object-fit:cover}
.x-av--sm{width:30px;height:30px;font-size:11.5px}
.x-dd{position:absolute;top:calc(100% + 6px);right:0;min-width:230px;background:#fff;border:1px solid var(--x-border);border-radius:13px;
  box-shadow:0 20px 50px rgba(15,23,42,.18);padding:6px;display:none;flex-direction:column;z-index:70}
.x-dd.is-open{display:flex}
.x-dd__who{padding:10px 11px 8px}
.x-dd__who b{display:block;font-size:13px}
.x-dd__who small{font-size:12px;color:var(--x-subtext)}
.x-dd hr{border:0;height:1px;background:var(--x-border);margin:4px 0}
.x-dd a{display:flex;align-items:center;gap:9px;padding:8px 11px;border-radius:9px;font-size:12.5px;color:var(--x-text-2)!important}
.x-dd a:hover{background:var(--x-tint);color:var(--x-primary)!important}
.x-dd a .x-ico{width:15px;height:15px}
.x-dd a.is-danger{color:#b91c1c!important}
.x-menu-host{position:relative}

.x-app{display:grid;grid-template-columns:var(--x-sidebar-w) minmax(0,1fr);min-height:calc(100vh - var(--x-topbar-h) - 1px);transition:grid-template-columns .2s}
.x-sb{position:sticky;top:calc(var(--x-topbar-h) + 1px);height:calc(100vh - var(--x-topbar-h) - 1px);display:flex;flex-direction:column;
  background:var(--x-glass);-webkit-backdrop-filter:blur(20px) saturate(1.35);backdrop-filter:blur(20px) saturate(1.35);border-right:1px solid rgba(226,232,240,.8)}
.x-sb__nav{flex-grow:1;min-height:0;overflow-y:auto;padding:18px 12px 8px;display:flex;flex-direction:column;gap:2px;scrollbar-width:thin}
.x-nlab{font-size:10.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--x-subtext);padding:14px 13px 6px}
.x-na{width:100%;display:flex;align-items:center;gap:11px;padding:9px 12px;border-radius:12px;color:var(--x-text-3)!important;font:500 12.5px var(--x-f-body);
  background:none;border:0;cursor:pointer;text-align:left}
.x-na:hover{background:var(--x-tint);color:var(--x-primary)!important}
.x-na.is-on,.x-na.is-on:hover{background:var(--x-grad);color:#fff!important;box-shadow:0 6px 16px rgba(37,99,235,.35)}
.x-na__chev{width:14px!important;height:14px!important;margin-left:auto;transition:transform .2s}
.x-na[aria-expanded="true"] .x-na__chev{transform:rotate(180deg)}
.x-nsub{position:relative;display:none;flex-direction:column;gap:1px;padding:2px 0 6px 30px}
.x-nsub.is-open{display:flex}
.x-nsub::before{content:'';position:absolute;left:20px;top:2px;bottom:8px;width:2px;border-radius:2px;background:var(--x-border)}
.x-ns{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:9px;font-size:12px;color:var(--x-text-3)!important}
.x-ns:hover{background:var(--x-tint);color:var(--x-primary)!important}
.x-ns.is-on{color:var(--x-primary)!important;font-weight:600;background:rgba(37,99,235,.09)}
.x-ns span:first-child{flex-grow:1}
.x-sb__foot{padding:10px 12px 14px;display:flex;flex-direction:column;gap:10px;flex-shrink:0}
.x-plan{padding:14px;border-radius:14px;background:linear-gradient(135deg,rgba(37,99,235,.08),rgba(6,182,212,.08));border:1px solid rgba(37,99,235,.18);display:flex;flex-direction:column;gap:8px}
.x-plan__row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.x-plan b{font-family:var(--x-f-disp);font-size:13px}
.x-plan p{font-size:12px;color:var(--x-text-3)}
/* compact one-row foot: keeps the nav tall */
.x-sb__foot{padding:8px 12px 10px;border-top:1px solid var(--x-border)}
.x-plan--row{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px 7px 12px;border-radius:12px}
.x-plan--row b{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.x-plan--row .x-btn{flex:0 0 auto;padding:6px 12px;font-size:12px;line-height:1.2}
.x-plan--auth{padding:6px}
.x-plan--auth .x-btn{flex:1 1 0;justify-content:center}
.x-plan__link{font-size:12px;font-weight:600;color:var(--x-primary)!important;white-space:nowrap}

/* collapsed rail (desktop) */
.x-rail .x-app{--x-sidebar-w:76px}
.x-rail .x-na{justify-content:center;padding:11px 0}
.x-rail .x-na__label,.x-rail .x-na__chev,.x-rail .x-nlab,.x-rail .x-nsub,.x-rail .x-sb__foot{display:none!important}

.x-main{min-width:0;padding:28px 34px 48px;display:flex;flex-direction:column;gap:20px}
.x-phead{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.x-phead h1{font-size:24px;font-weight:800}
.x-phead__actions{display:flex;gap:10px;flex-wrap:wrap}
.x-crumbs{font-size:12.5px;color:var(--x-subtext);display:flex;gap:6px;align-items:center;margin-bottom:4px}
.x-crumbs a{color:var(--x-subtext)!important}
.x-crumbs a:hover{color:var(--x-primary)!important}
.x-hero{position:relative;overflow:hidden;padding:28px 32px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center}
.x-hero::before{content:'';position:absolute;inset:0;background-image:radial-gradient(rgba(37,99,235,.14) 1px,transparent 1.3px);background-size:22px 22px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 70%);mask-image:linear-gradient(90deg,transparent,#000 70%);pointer-events:none}
.x-hero>*{position:relative}
.x-hero h2{font-size:22px;font-weight:800}
.x-hero p{font-size:14px;color:var(--x-text-3);max-width:560px;margin-top:8px}
.x-hero__links{display:flex;gap:18px;margin-top:12px;font-size:13px;font-weight:600;flex-wrap:wrap}
.x-hero__side{display:flex;align-items:center;gap:18px}
.x-hero__meta{display:flex;flex-direction:column;gap:6px;align-items:flex-end;text-align:right}
.x-hero__meta b{font-size:12.5px}
.x-hero__meta small{font-size:12px;color:var(--x-text-3);max-width:210px}
.x-two{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:18px;align-items:start}
.x-stack{display:flex;flex-direction:column;gap:18px}
.x-row{display:flex;align-items:center;gap:12px;padding:12px 18px;border-top:1px solid var(--x-border);color:var(--x-text)!important}
.x-row:hover{background:rgba(37,99,235,.04)}
.x-row b{display:block;font-weight:600;font-size:13.5px}
.x-row small{display:block;font-size:12px;color:var(--x-subtext)}
.x-qgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.x-qt{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:14px;border:1px solid var(--x-border);background:rgba(255,255,255,.7);color:var(--x-text)!important;transition:.18s}
.x-qt:hover{border-color:rgba(37,99,235,.35);transform:translateY(-1px)}
.x-qt b{font-size:13px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.x-tile-ini{width:34px;height:34px;border-radius:10px;color:#fff;font:800 12px var(--x-f-disp);display:flex;align-items:center;justify-content:center;flex-shrink:0;background:var(--x-grad)}
.x-dir{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.x-dir a{display:flex;gap:12px;padding:14px;border-radius:14px;border:1px solid var(--x-border);background:rgba(255,255,255,.7);color:var(--x-text)!important}
.x-dir a:hover{border-color:rgba(37,99,235,.35)}
.x-dir b{display:flex;align-items:center;gap:6px;font-size:13.5px;flex-wrap:wrap}
.x-dir small{display:block;font-size:12.5px;color:var(--x-text-3);margin-top:2px}
.x-appfoot{padding:18px 34px 28px;font-size:12px;color:var(--x-text-3);display:flex;gap:14px;flex-wrap:wrap;border-top:1px solid var(--x-border)}
.x-appfoot a{color:var(--x-text-3)!important}

/* AdSense unit. min-height reserves the space so the page doesn't jump
   when the ad arrives (layout shift also hurts viewability measurement).
   An unfilled unit collapses instead of leaving a hole. */
.x-ad{display:flex;flex-direction:column;gap:4px;min-height:120px;width:100%;min-width:0}
.x-ad__label{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--x-subtext)}
.x-ad ins{width:100%}
.x-ad--rail{min-height:280px}
/* Layout shift (PageSpeed CLS 0.44 mobile, 2026-09-28): a responsive unit
   is usually a 250–280px rectangle; reserving only 120px made the page jump
   when it filled. Reserve the likely height; if AdSense reports no fill the
   box collapses (rare, and better than a blank gap). */
.x-ad{min-height:250px}
@media (max-width:720px){.x-ad{min-height:280px}}
.x-ad ins.adsbygoogle{min-height:inherit}
.x-ad:has(ins[data-ad-status="unfilled"]){display:none}
.x-ad:has(ins[data-ad-status="unfilled"]){display:none}

.x-sb__mhead{display:none}
.x-only-sm{display:none!important}

/* quick-find */
.x-find{position:fixed;z-index:100;top:12vh;left:50%;transform:translateX(-50%) translateY(-8px);width:min(640px,94vw);max-height:70vh;overflow:auto;
  background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(15,23,42,.28);padding:6px;opacity:0;visibility:hidden;transition:.18s}
.x-find.is-open{opacity:1;visibility:visible;transform:translateX(-50%)}
.x-find__in{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--x-border);color:var(--x-subtext)}
.x-find__in input{border:0;outline:0;flex:1;font:500 15px var(--x-f-body);color:var(--x-text);background:transparent;min-width:0}
.x-find .x-row{border-top:0;border-radius:10px;font-size:13.5px;padding:10px 14px}
.x-find__jobs{font-weight:600;color:var(--x-primary)!important}
/* 2026-09-28: every job-seeker page, grouped. The field stays put and
   only the list scrolls; the field is locked against legacy input CSS
   (the theme drew a blue box round it). */
.x-find{display:flex;flex-direction:column;overflow:hidden!important;padding:0!important;max-height:min(76vh,640px)!important}
.x-find__in{flex:0 0 auto;padding:12px 18px!important}
.x-find__in input,.x-find__in input:focus{height:40px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;outline:0!important;background:transparent!important;font:400 16px var(--x-f-body)!important;color:var(--x-text)!important}
.x-find__jobs{flex:0 0 auto;display:flex!important;align-items:center;gap:10px;margin:8px 8px 0;background:var(--x-tint)}
.x-find__list{flex:1 1 auto;overflow:auto;padding:4px 8px 10px;overscroll-behavior:contain}
.x-find__grp[hidden],.x-find__item[hidden],.x-find__none[hidden]{display:none!important}
.x-find__lab{padding:12px 12px 4px;font:600 11px/1 var(--x-f-body);letter-spacing:.08em;text-transform:uppercase;color:var(--x-subtext)}
.x-find .x-find__item{display:flex!important;align-items:center;gap:12px;padding:8px 12px;color:var(--x-text)!important}
.x-find .x-find__item:hover,.x-find .x-find__item:focus{background:var(--x-tint);outline:0}
.x-find__ico{flex:0 0 32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;
  background:rgba(37,99,235,.08);color:var(--x-primary)}
.x-find__txt{display:flex;flex-direction:column;min-width:0}
.x-find__txt b{font-weight:500;font-size:14px}
.x-find__txt small{font-size:12px;color:var(--x-subtext);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.x-find__none{margin:10px 12px;font-size:13px;color:var(--x-subtext)}

/* ══════════════════════════════════════════════════════════════════════
   LEGACY PAGES (base.html / base_regional.html, body.x-legacy)
   ══════════════════════════════════════════════════════════════════════ */
/* Tool pages inside the dashboard shell: content column next to the sidebar */
.x-dcol{min-width:0;display:flex;flex-direction:column}
.x-app--legacy .page-wrapper{min-width:0;background:transparent}

/* E — one look site-wide (owner, 2026-09-28): old page CONTENT takes the
   header/footer's typography and page background. !important is needed:
   ~640 inline style="font-family:…" declarations in page templates.
   Excluded, so they keep their own fonts: the new shell (.x-ui), icon fonts
   (Font Awesome / Flaticon / Line Awesome / Material — they ARE fonts),
   code, and any document preview (the CV builder's CV designs choose their
   fonts on purpose). Opt a subtree out with data-keep-font. */
body.x-legacy{font-family:var(--x-f-body);font-weight:400;color:var(--x-text-2);-webkit-font-smoothing:antialiased;
  background:
    radial-gradient(1000px 560px at 85% -10%,rgba(6,182,212,.12),transparent 60%),
    radial-gradient(860px 620px at -10% 25%,rgba(37,99,235,.10),transparent 55%),
    var(--x-bg)}
body.x-legacy .page-wrapper{background:transparent}
body.x-legacy :where(p,li,dt,dd,td,th,caption,label,legend,input,select,textarea,button,a,span,div,small,strong,b,em,blockquote,cite,figcaption,section,article,aside,nav,header,footer,main,ul,ol,form,fieldset,summary,details,h5,h6):not(.x-ui):not(.x-ui *):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not([class*="fa-"]):not([class*="flaticon"]):not(.la):not(.las):not(.lab):not(.lar):not([class^="la-"]):not([class*=" la-"]):not([class*="material-icons"]):not([class*="material-symbols"]):not([class*="icon"]):not([id*="preview"] *):not([class*="preview"] *):not([data-keep-font]):not([data-keep-font] *):not(pre *):not(code){font-family:var(--x-f-body)!important}
body.x-legacy :where(h1,h2,h3,h4):not(.x-ui *):not([id*="preview"] *):not([class*="preview"] *):not([data-keep-font] *){font-family:var(--x-f-disp)!important;letter-spacing:-.015em}
body.x-legacy :where(p,li,td,dd){font-weight:400}
/* The legacy sheet forces input{color:#2855a7!important} and
   input::placeholder,textarea{color:#0085f2!important} — bright blue text
   in every form on the site. Same neutral ink as the new shell. */
body.x-legacy input:not([type=submit]):not([type=button]),body.x-legacy textarea{color:var(--x-text)!important}
body.x-legacy input::placeholder,body.x-legacy textarea::placeholder{color:#64748B!important;opacity:1}
/* The two legacy button styles used on ~270 pages → the new buttons */
body.x-legacy .theme-btn.btn-style-one,body.x-legacy .btn-primary{background:var(--x-grad)!important;border:0!important;color:#fff!important;
  border-radius:12px!important;font-weight:600!important;box-shadow:0 6px 16px rgba(37,99,235,.28)}
body.x-legacy .theme-btn.btn-style-one:hover,body.x-legacy .btn-primary:hover{box-shadow:0 10px 22px rgba(37,99,235,.38)}
body.x-legacy .theme-btn.btn-style-two{background:#fff!important;color:var(--x-primary)!important;border:1px solid var(--x-border)!important;border-radius:12px!important;font-weight:600!important}

/* ── C: job search panel (public header search icon) ── */
.x-sp{position:fixed;z-index:100;top:10vh;left:50%;transform:translateX(-50%) translateY(-8px);width:min(640px,94vw);background:#fff;border-radius:18px;
  box-shadow:0 30px 80px rgba(15,23,42,.28);padding:18px;opacity:0;visibility:hidden;transition:.18s}
.x-sp.is-open{opacity:1;visibility:visible;transform:translateX(-50%)}
.x-sp__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.x-sp__head b{font-family:var(--x-f-disp);font-size:16px}
.x-sp form{display:flex;flex-direction:column;gap:10px}
/* the keyword row was squeezed to ~22px (owner screenshot, 2026-09-28):
   something sized the form below its content and the first flex row gave
   way. Rows never shrink; the form grows to fit them. */
.x-sp form{height:auto!important;max-height:none!important;min-height:0!important}
.x-sp form>*{flex:0 0 auto!important}
.x-sp .x-fld input{height:100%!important;min-height:0!important;flex:1 1 auto!important}

/* ── combobox: city suggestions (C) and searchable selects (F) ── */
.x-combo{position:relative}
.x-combo__list{position:absolute;z-index:110;left:0;right:0;top:calc(100% + 4px);max-height:280px;overflow:auto;background:#fff;
  border:1px solid var(--x-border);border-radius:12px;box-shadow:0 18px 40px rgba(15,23,42,.16);padding:4px;margin:0;list-style:none}
.x-combo__list[hidden]{display:none}
.x-combo__list li{padding:9px 12px;border-radius:9px;font-size:13.5px;color:var(--x-text-2);cursor:pointer}
.x-combo__list li[aria-selected="true"],.x-combo__list li:hover{background:var(--x-tint);color:var(--x-primary)}
.x-combo__empty{padding:10px 12px;font-size:12.5px;color:var(--x-subtext)}
/* searchable select: the native <select> stays in the form (value, events,
   validation) but is visually replaced by a filterable text box */
.x-ss{position:relative;display:inline-block;min-width:200px;max-width:100%;vertical-align:middle}
.x-ss__btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border:1px solid var(--x-border);border-radius:10px;
  background:#fff;font:500 13.5px var(--x-f-body)!important;color:var(--x-text);cursor:pointer;text-align:left}
.x-ss__btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.x-ss__pop{position:absolute;z-index:120;left:0;min-width:100%;width:max-content;max-width:min(420px,92vw);bottom:auto;top:calc(100% + 4px);background:#fff;
  border:1px solid var(--x-border);border-radius:12px;box-shadow:0 18px 40px rgba(15,23,42,.18);padding:6px}
.x-ss__pop[hidden]{display:none}
.x-ss--up .x-ss__pop{top:auto;bottom:calc(100% + 4px)}
.x-ss__pop input{width:100%;padding:9px 11px;border:1px solid var(--x-border)!important;border-radius:9px;font:500 13.5px var(--x-f-body)!important;color:var(--x-text)!important;outline:0}
.x-ss__pop input:focus{border-color:var(--x-primary)!important;box-shadow:var(--x-ring)}
.x-ss__pop ul{list-style:none;margin:6px 0 0;padding:0;max-height:260px;overflow:auto}
.x-ss__pop li{padding:8px 10px;border-radius:8px;font-size:13.5px;color:var(--x-text-2);cursor:pointer}
.x-ss__pop li[aria-selected="true"],.x-ss__pop li:hover{background:var(--x-tint);color:var(--x-primary)}
.x-fld .x-ss{flex:1;min-width:0}
.x-fld .x-ss__btn{border:0;padding:0;background:transparent}

/* ══════════════════════════════════════════════════════════════════════
   SHELL LOCK (2026-09-28) — the new header, footer, sidebar and panels must
   look identical on every page. Legacy page CSS loads AFTER this sheet and
   carries !important rules (input{color:#2855a7!important},
   input::placeholder{color:#0085f2!important}, input:invalid{border:red
   !important}, label{display:inline-block}…). These win back the shell.
   ══════════════════════════════════════════════════════════════════════ */
.x-ui .x-fld{display:flex!important;align-items:center!important;height:52px!important;margin:0!important;padding:0 14px!important;
  border:1px solid var(--x-border)!important;border-radius:12px!important;background:rgba(255,255,255,.92)!important;gap:10px!important}
.x-ui .x-fld.x-fld--sm{height:44px!important}
.x-ui .x-fld:focus-within{border-color:var(--x-primary)!important;box-shadow:var(--x-ring)!important}
.x-ui .x-fld input,.x-ui .x-fld select{flex:1 1 auto!important;width:100%!important;min-width:0!important;height:100%!important;margin:0!important;padding:0!important;
  border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;
  font:400 15px var(--x-f-body)!important;color:var(--x-text)!important;-webkit-appearance:none;appearance:none}
.x-ui .x-fld input::placeholder{color:#64748B!important;opacity:1}
.x-ui .x-fld input:focus-visible{outline:0!important}
.x-ui .x-fld .x-ico{color:var(--x-subtext)}

/* Weights (owner: "no bold in header/footer", "why bold in many places").
   Pinned with !important so legacy page CSS cannot thicken shell text. */
.x-nl{font:400 14px var(--x-f-body)!important;letter-spacing:0!important;color:#1e293b!important}
.x-nl:hover,.x-nl.is-on,.x-nl[aria-expanded="true"]{color:var(--x-primary)!important}
.x-auth a,.x-emp,.x-icb,.x-bnav a,.x-bnav button,.x-dd a{font-weight:400!important}
.x-mi b,.x-vtile b{font-weight:500!important}
.x-dacc summary{font:400 15px var(--x-f-body)!important}
.x-fl a{font-weight:400!important;color:#475569!important}
.x-fl a:hover{color:var(--x-primary)!important}
.x-na{font-weight:400!important}
.x-na.is-on{font-weight:500!important}
.x-ns{font-weight:400!important}
.x-ns.is-on{font-weight:500!important}
.x-dd__who b{font-weight:500!important}
.x-plan b{font-weight:600!important}
.x-dir b,.x-qt b,.x-row b{font-weight:500!important}
.x-card__head h2,.x-card__head h3{font-weight:600!important}
.x-phead h1,.x-hero h2{font-weight:700!important}
.x-btn{font-weight:500!important}

/* Footer bottom — ATS style: legal links, then a centred sign-off */
.x-fbar{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;padding:22px 0;border-top:1px solid var(--x-border)}
/* Google Translate: its dropdown is never shown (we render our own
   pop-up, ui/_pickers.html), and its top banner frame must not push the
   page down. */
#google_translate_element,.goog-te-banner-frame,iframe.skiptranslate,.goog-te-gadget{display:none!important}
body{top:0!important}
.x-legal{display:flex;align-items:center;gap:0;flex-wrap:wrap;font-size:12px}
.x-legal a{color:var(--x-text-3)!important;font-weight:400!important;padding:2px 0}
.x-legal a:hover{color:var(--x-primary)!important}
.x-legal__sep{color:#CBD5E1;margin:0 10px}
.x-fmeta{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:22px 0 34px;border-top:1px solid var(--x-border)}
.x-fmeta p{margin:0}
.x-fmeta__copy{font-size:12.5px;color:var(--x-text-2);letter-spacing:.01em}
.x-fmeta__place{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--x-subtext)}
.x-fmeta__fine{max-width:920px;font-size:11px;line-height:1.65;color:var(--x-subtext)}
.x-fmeta__fine a{color:var(--x-text-3)!important;text-decoration:underline;text-underline-offset:2px;text-decoration-color:#CBD5E1}
.x-fmeta__made{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--x-text-3);margin-top:4px}
.x-fmeta__made svg{width:13px;height:13px;fill:#ef4444}

/* Plans page (/candidate/subscription/ → candidates-packages.html) inside
   the dashboard (owner, 2026-09-28): its type was sized for a full-width
   public page and its grid (minmax(320px,1fr)) broke to two per row in the
   content column. Three in one row, compact type — scoped to dashboard
   mode, so the template itself is unchanged. */
.x-app--legacy .modern-pricing-section{padding:24px 0}
.x-app--legacy .modern-pricing-header h2{font-size:1.45rem}
.x-app--legacy .modern-pricing-header p{font-size:.95rem}
.x-app--legacy .modern-pricing-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:none;padding:0 20px}
.x-app--legacy .modern-pricing-card{padding:26px 18px}
.x-app--legacy .modern-plan-name{font-size:1.2rem}
.x-app--legacy .modern-plan-tagline{font-size:.82rem}
.x-app--legacy .modern-price{font-size:2.3rem}
.x-app--legacy .modern-price-duration{font-size:.9rem}
.x-app--legacy .modern-features-list li{font-size:.84rem;gap:9px}
.x-app--legacy .modern-category-divider{font-size:.7rem}
.x-app--legacy .modern-cta-button{padding:12px 18px;font-size:.92rem}
.x-app--legacy .modern-tab-buttons .tab-label{font-size:.92rem}
@media (max-width:1180px){.x-app--legacy .modern-pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.x-app--legacy .modern-pricing-grid{grid-template-columns:1fr}}

/* Dashboard footer: switchers only (+ the required O*NET line) */
.x-appfoot{flex-direction:column;align-items:flex-start;gap:10px}
.x-appfoot__tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
/* O*NET line (CV builder + career path visualizer only): one line on
   desktop; wraps on narrow screens rather than being cut off — a truncated
   attribution would not meet O*NET's terms. */
.x-appfoot__note{margin:0;font-size:10px;line-height:1.5;color:var(--x-subtext);white-space:nowrap}
@media (max-width:1200px){.x-appfoot__note{white-space:normal}}

/* toast */
.x-toast{position:fixed;bottom:24px;right:24px;padding:14px 20px;border-radius:14px;z-index:120;background:var(--x-text);color:#fff;font-size:14px;
  box-shadow:0 12px 30px rgba(15,23,42,.3);opacity:0;transform:translateY(8px);transition:.25s;pointer-events:none;max-width:min(420px,calc(100vw - 32px))}
.x-toast.is-on{opacity:1;transform:none;pointer-events:auto}

/* ── language + country pop-ups (ui/_pickers.html) — the ATS "Choose your
   language" look; header buttons .x-pkb (translate / globe + code) ── */
.x-pkb{width:auto!important;padding:0 11px!important;gap:6px;font:500 12.5px var(--x-f-body)!important;color:var(--x-text-2)!important}
.x-pkb .x-ico{width:17px;height:17px}
.x-pkb__code{letter-spacing:.03em}
@media (max-width:600px){.x-pkb{padding:0 9px!important}.x-pkb__code{display:none}}
.x-pk{position:fixed;inset:0;z-index:140;display:flex;align-items:flex-start;justify-content:center;
  padding:8vh 16px 16px;background:rgba(15,23,42,.45)}
.x-pk[hidden]{display:none!important}
.x-pk__panel{width:100%;max-width:640px;max-height:76vh;display:flex;flex-direction:column;overflow:hidden;
  background:#fff;border:1px solid var(--x-border);border-radius:16px;box-shadow:0 22px 60px rgba(15,23,42,.28);font-family:var(--x-f-body)}
.x-pk__top{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px}
.x-pk__top b{font:600 15px var(--x-f-body);color:var(--x-text)}
.x-pk__x{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:8px;
  background:none;color:var(--x-subtext);cursor:pointer}
.x-pk__x:hover{background:rgba(100,116,139,.12);color:var(--x-text)}
.x-ui .x-pk__q,.x-ui .x-pk__q:focus{box-sizing:border-box;margin:0 18px 12px!important;width:calc(100% - 36px)!important;height:44px!important;
  padding:0 13px!important;border:1px solid var(--x-border)!important;border-radius:10px!important;background:#fff!important;
  font:400 14px var(--x-f-body)!important;color:var(--x-text)!important;box-shadow:none}
.x-ui .x-pk__q:focus{border-color:var(--x-primary)!important;box-shadow:var(--x-ring)!important;outline:0}
.x-pk__list{flex:1 1 auto;overflow-y:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px;
  padding:0 18px 8px;overscroll-behavior:contain}
.x-pk__i{display:flex!important;align-items:baseline;gap:8px;padding:9px 11px;border-radius:9px;border:1px solid transparent;
  background:none;text-align:left;cursor:pointer;font:400 13.5px var(--x-f-body)!important;color:var(--x-text)!important;text-decoration:none!important}
.x-pk__i[hidden]{display:none!important}
.x-pk__i:hover,.x-pk__i:focus{background:rgba(37,99,235,.08);outline:0}
.x-pk__i.is-on{border-color:var(--x-primary);background:rgba(37,99,235,.06);font-weight:600!important}
.x-pk__i span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.x-pk__i em{margin-left:auto;font:normal 10.5px 'SFMono-Regular',Consolas,monospace;color:var(--x-subtext)}
/* only the list may shrink/scroll — the field, title and footnote never do */
.x-pk__top,.x-pk__q,.x-pk__none,.x-pk__foot{flex:0 0 auto!important}
.x-pk__none{margin:0;padding:10px 18px 16px;font-size:13px;color:var(--x-subtext)}
.x-pk__none[hidden]{display:none!important}
.x-pk__foot{margin:0;padding:12px 18px;border-top:1px solid var(--x-border);font-size:11.5px;line-height:1.5;color:var(--x-subtext)}
@media (max-width:520px){.x-pk{padding:0}.x-pk__panel{max-height:100vh;height:100%;border-radius:0}}

/* ── followed by / my ratings (ui/candidate_followers.html, candidate_ratings.html) ── */
.x-net{max-width:860px}
.x-net__lead{margin:-6px 0 18px;font-size:14px;line-height:1.6;color:var(--x-text-3)}
.x-net__lead a{color:var(--x-primary)!important;font-weight:500}
.x-net__list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.x-net__row,.x-net__rev{padding:16px 18px;border-radius:var(--x-r);background:#fff;border:1px solid var(--x-border)}
.x-net__row{display:flex;align-items:center;gap:14px}
.x-net__txt{flex:1;min-width:0;display:flex;flex-direction:column}
.x-net__txt b,.x-net__revhead b{font-weight:600;font-size:15px;color:var(--x-text)}
.x-net__revhead b a{color:var(--x-text)!important}
.x-net__txt small{font-size:12.5px;color:var(--x-subtext)}
.x-net__revhead{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.x-net__pill{margin-left:auto;padding:3px 10px;border-radius:99px;background:rgba(245,158,11,.14);color:#b45309;font-size:12.5px;font-weight:600}
.x-net__scores{display:grid;gap:6px;margin:0 0 10px}
.x-net__scores div{display:grid;grid-template-columns:140px 1fr 34px;align-items:center;gap:10px;font-size:13px;color:var(--x-text-3)}
.x-net__scores i{height:7px;border-radius:99px;background:linear-gradient(90deg,#F59E0B var(--p),rgba(100,116,139,.15) var(--p))}
.x-net__scores b{text-align:right;color:var(--x-text);font-weight:600}
.x-net__pro,.x-net__con{margin:6px 0 0;font-size:13.5px;line-height:1.55;color:var(--x-text-2)}
.x-net__pro b{color:#047857;margin-right:6px}
.x-net__con b{color:#b45309;margin-right:6px}
.x-net__sum{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-size:14px;color:var(--x-text-3)}
.x-net__sum>b{font:600 28px var(--x-f-disp);color:var(--x-text)}
.x-net__stars{width:100px;height:18px;background:linear-gradient(90deg,#F59E0B var(--p),#E2E8F0 var(--p));
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1l2.6 5.6 6 .7-4.5 4.1 1.2 6L10 14.4 4.7 17.4l1.2-6L1.4 7.3l6-.7z'/%3E%3Cuse href='%23s' x='20'/%3E%3Cuse href='%23s' x='40'/%3E%3Cuse href='%23s' x='60'/%3E%3Cuse href='%23s' x='80'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cg%3E%3Cpath id='s' d='M10 1l2.6 5.6 6 .7-4.5 4.1 1.2 6L10 14.4 4.7 17.4l1.2-6L1.4 7.3l6-.7z'/%3E%3Cuse href='%23s' x='20'/%3E%3Cuse href='%23s' x='40'/%3E%3Cuse href='%23s' x='60'/%3E%3Cuse href='%23s' x='80'/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat}
.x-net__empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:40px 20px;border-radius:var(--x-r);
  background:#fff;border:1px dashed var(--x-border);text-align:center;color:var(--x-subtext)}
.x-net__empty p{margin:0;max-width:420px;font-size:14px}
@media (max-width:560px){.x-net__scores div{grid-template-columns:110px 1fr 30px}}

/* ── "moved to" notice (ui/_moved_notice.html) ── */
.x-moved{display:flex;align-items:center;gap:16px;flex-wrap:wrap;max-width:1140px;margin:20px auto;padding:18px 22px;
  border-radius:var(--x-r);background:linear-gradient(135deg,rgba(37,99,235,.07),rgba(6,182,212,.07));
  border:1px solid rgba(37,99,235,.2);font-family:var(--x-f-body)}
.x-moved__ico{flex:0 0 48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;color:#fff}
.x-moved__txt{flex:1 1 320px;min-width:0}
.x-moved__txt b{display:block;margin-bottom:4px;font:600 16px/1.4 var(--x-f-disp);color:var(--x-text)}
.x-moved__txt p{margin:0;font-size:14px;line-height:1.55;color:var(--x-text-3)}
.x-moved .x-btn{flex:0 0 auto}

/* ── registered entities (ui/_legal_entities.html) — the ATS block ── */
.x-ent{max-width:1140px;margin:32px auto;padding:0 16px;font-family:var(--x-f-body)}
.x-ent h2{margin:0 0 10px;font:700 clamp(24px,3.4vw,36px)/1.2 var(--x-f-disp)!important;color:var(--x-text)!important;letter-spacing:-.02em}
.x-ent__lead{margin:0 0 22px;max-width:780px;font-size:15.5px;line-height:1.65;color:var(--x-text-3)}
.x-ent__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.x-ent__card{position:relative;padding:26px 26px 22px;border-radius:var(--x-r);background:#fff;border:1px solid var(--x-border);box-shadow:var(--x-glass-shadow);overflow:hidden}
.x-ent__card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--x-primary),var(--x-accent))}
.x-ent__cc{display:flex;align-items:center;gap:8px;margin:0 0 10px;font:600 12px var(--x-f-body);letter-spacing:.1em;text-transform:uppercase;color:var(--x-primary)}
.x-ent__cc span{padding:1px 6px;border:1px solid var(--x-primary);border-radius:5px;letter-spacing:.04em}
.x-ent__card h3{margin:0 0 12px;font:700 20px var(--x-f-disp)!important;color:var(--x-text)!important}
.x-ent__card dl{margin:0 0 14px;padding-bottom:14px;border-bottom:1px dashed var(--x-border)}
.x-ent__card dt{margin-top:8px;font:600 11.5px var(--x-f-body);letter-spacing:.08em;text-transform:uppercase;color:var(--x-subtext)}
.x-ent__card dd{margin:2px 0 0;font-size:15px;color:var(--x-text)}
.x-ent__card address{font-style:normal;font-size:15px;line-height:1.7;color:var(--x-text-3)}

/* ── settings (ui/candidate_settings.html) ── */
.x-set{display:grid;gap:16px;max-width:820px}
.x-set__card{padding:20px 22px;border-radius:var(--x-r);background:#fff;border:1px solid var(--x-border);box-shadow:0 2px 10px rgba(15,23,42,.04)}
.x-set__card--danger{border-color:#fecaca;background:#fffafa}
.x-set__head{display:flex;gap:14px;align-items:flex-start;margin-bottom:12px}
.x-set__head h2{margin:0 0 4px;font:600 16px/1.3 var(--x-f-disp)!important;color:var(--x-text)!important}
.x-set__head p{margin:0;font-size:13.5px;line-height:1.55;color:var(--x-text-3)}
.x-set__danger-ico{background:linear-gradient(135deg,#ef4444,#b91c1c)!important}
.x-set__dl{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px 18px;margin:0 0 14px}
.x-set__dl dt{font:600 11px var(--x-f-body);letter-spacing:.05em;text-transform:uppercase;color:var(--x-subtext)}
.x-set__dl dd{margin:2px 0 0;font-size:14px;color:var(--x-text);word-break:break-word}
.x-set__txt{margin:0 0 12px;font-size:13.5px;color:var(--x-text-2)}
.x-set__msg{margin:0 0 12px;padding:10px 14px;border-radius:10px;font-size:13.5px;background:rgba(16,185,129,.08);color:#047857}
.x-set__msg.is-err{background:#fff7ed;color:#9a3412}
.x-set__msg[hidden]{display:none!important}
.x-set__acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
.x-set__link{font-size:13.5px;font-weight:500;color:var(--x-primary)!important}

/* ── tools directory (ui/candidate_tools.html) — the ATS /hiring-tools/ look ── */
.x-td__top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin:-6px 0 22px}
.x-td__lead{margin:0;max-width:640px;font-size:14px;line-height:1.6;color:var(--x-text-3)}
.x-td__quota{min-width:260px;padding:16px 20px;border-radius:var(--x-r);background:var(--x-glass);border:1px solid var(--x-glass-border);
  -webkit-backdrop-filter:blur(20px) saturate(1.35);backdrop-filter:blur(20px) saturate(1.35);box-shadow:var(--x-glass-shadow)}
.x-td__plan{display:inline-flex;align-items:center;gap:5px;margin-bottom:10px;padding:3px 9px;border-radius:6px;background:rgba(37,99,235,.1);
  color:var(--x-primary);font:600 10.5px/1.4 var(--x-f-body);letter-spacing:.06em;text-transform:uppercase}
.x-td__qrow{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:5px}
.x-td__qrow span{font:600 11px var(--x-f-body);letter-spacing:.05em;text-transform:uppercase;color:var(--x-subtext)}
.x-td__qrow b{font-size:14px;font-weight:600;color:var(--x-text)}
.x-td__bar{height:6px;border-radius:99px;background:rgba(100,116,139,.15);overflow:hidden;margin-bottom:10px}
.x-td__bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--x-accent),var(--x-primary));transition:width .6s}
.x-td__reset{margin:6px 0 0;font-size:12px;color:var(--x-subtext)}
.x-td__reset a{color:var(--x-primary)!important;font-weight:600}
.x-td__chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.x-td__chips--quick{margin-bottom:26px}
.x-td__chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:99px;border:1px solid var(--x-border);background:var(--x-glass);
  font:500 13px var(--x-f-body)!important;color:var(--x-text-3)!important;cursor:pointer;transition:.18s}
.x-td__chip span{padding:1px 7px;border-radius:10px;background:rgba(100,116,139,.12);font-size:11px;font-weight:600}
.x-td__chip:hover{border-color:var(--x-primary);color:var(--x-primary)!important}
.x-td__chip.is-on{background:linear-gradient(135deg,var(--x-primary),var(--x-secondary));border-color:transparent;color:#fff!important;box-shadow:0 6px 16px rgba(37,99,235,.3)}
.x-td__chip.is-on span{background:rgba(255,255,255,.22);color:#fff}
.x-td__chips--quick .x-td__chip.is-on{background:linear-gradient(135deg,#7c3aed,#2563EB)}
.x-td__sec{margin-bottom:34px}
.x-td__sec[hidden],.x-td__card[hidden],.x-td__none[hidden]{display:none!important}
.x-td__sechead{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--x-border)}
.x-td__secico{width:32px;height:32px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(37,99,235,.1);color:var(--x-primary)}
.x-td__sechead h2{margin:0;font:600 16px/1.3 var(--x-f-disp)!important;color:var(--x-text)!important}
.x-td__seccount{margin-left:auto;font-size:12.5px;color:var(--x-subtext)}
.x-td__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.x-td__card{position:relative;display:flex;flex-direction:column;padding:20px;border-radius:var(--x-r);overflow:hidden;
  background:var(--x-glass);border:1px solid var(--x-glass-border);box-shadow:var(--x-glass-shadow);
  -webkit-backdrop-filter:blur(20px) saturate(1.35);backdrop-filter:blur(20px) saturate(1.35);color:inherit!important;text-decoration:none!important;transition:.18s}
.x-td__card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--x-rainbow);opacity:0;transition:.18s}
.x-td__card:hover{transform:translateY(-2px);border-color:rgba(37,99,235,.3);box-shadow:0 12px 36px rgba(37,99,235,.16)}
.x-td__card:hover::before{opacity:1}
.x-td__cardtop{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:14px}
.x-td__badges{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.x-td__b{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:6px;font:600 10.5px/1.3 var(--x-f-body);letter-spacing:.02em;white-space:nowrap}
.x-td__b .x-ico{width:11px;height:11px}
.x-td__b--acct{background:rgba(37,99,235,.1);color:#1d4ed8}
.x-td__b--dev{background:rgba(100,116,139,.12);color:#475569}
.x-td__b--inst{background:rgba(6,182,212,.12);color:#0e7490}
.x-td__b--ai{background:rgba(124,58,237,.1);color:#6d28d9}
.x-td__b--ad{background:#fff7ed;color:#c2410c}
.x-td__b--free{background:#f0fdf4;color:#15803d}
.x-td__card h3{margin:0 0 6px;font:600 15px/1.3 var(--x-f-disp)!important;color:var(--x-text)!important}
.x-td__card p{flex:1;margin:0 0 16px;font-size:13px;line-height:1.6;color:var(--x-subtext)}
.x-td__foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;border-top:1px solid var(--x-border)}
.x-td__meta{font-size:12px;color:var(--x-subtext)}
.x-td__cta{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:600;color:var(--x-primary)}
.x-td__none{margin:20px 0;color:var(--x-subtext)}
@media (max-width:860px){.x-td__quota{min-width:0;width:100%}.x-td__grid{grid-template-columns:1fr}}

/* ── to-do planner (ui/tools/todo.html) ── */
.x-todo__lead{margin:-6px 0 16px;max-width:760px;font-size:14px;line-height:1.6;color:var(--x-text-3)}
.x-todo__note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:12px 16px;border-radius:14px;
  background:rgba(37,99,235,.06);border:1px solid rgba(37,99,235,.15);font-size:13.5px;color:var(--x-text-2)}
.x-todo__note[hidden]{display:none!important}
.x-todo__note a{color:var(--x-primary)!important;font-weight:600}
.x-todo__note span{flex:1;min-width:220px}
.x-todo__note--warn{background:#fff7ed;border-color:#fed7aa;color:#9a3412}
.x-todo__note--import{background:rgba(124,58,237,.06);border-color:rgba(124,58,237,.2)}
.x-todo__stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 16px}
.x-todo__stats div{padding:14px 16px;border-radius:14px;background:#fff;border:1px solid var(--x-border)}
.x-todo__stats b{display:block;font:600 22px/1.2 var(--x-f-disp);color:var(--x-text)}
.x-todo__stats span{font-size:12px;color:var(--x-subtext)}
.x-todo__bar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:0 0 16px}
.x-todo__bar .x-fld{flex:1 1 240px;height:44px!important;background:#fff}
.x-todo__bar select{height:44px;padding:0 12px;border:1px solid var(--x-border);border-radius:12px;background:#fff;font:400 14px var(--x-f-body);color:var(--x-text-2)}
.x-todo__board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.x-todo__col{min-height:220px;padding:14px;border-radius:var(--x-r);background:rgba(241,245,249,.7);border:1px solid var(--x-border);transition:.15s}
.x-todo__col.is-over{border-color:var(--x-primary);background:rgba(37,99,235,.06)}
.x-todo__col header{display:flex;align-items:center;gap:8px;margin:0 0 12px}
.x-todo__col h2{margin:0;font:600 14px var(--x-f-disp)!important;color:var(--x-text)!important}
.x-todo__dot{width:10px;height:10px;border-radius:50%}
.x-todo__n{margin-left:auto;padding:1px 8px;border-radius:10px;background:#fff;border:1px solid var(--x-border);font-size:12px;color:var(--x-subtext)}
.x-todo__list{display:flex;flex-direction:column;gap:10px}
.x-todo__empty{margin:6px 0 0;font-size:13px;color:var(--x-subtext);text-align:center}
.x-todo__empty[hidden]{display:none!important}
.x-todo__card{padding:12px 14px;border-radius:14px;background:#fff;border:1px solid var(--x-border);box-shadow:0 2px 8px rgba(15,23,42,.04);cursor:grab}
.x-todo__card.is-drag{opacity:.5}
.x-todo__card h3{margin:6px 0 4px;font:500 14.5px/1.4 var(--x-f-body)!important;color:var(--x-text)!important;word-break:break-word}
.x-todo__card p{margin:0 0 6px;font-size:12.5px;line-height:1.5;color:var(--x-subtext);word-break:break-word}
.x-todo__cardtop{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.x-todo__cat{padding:2px 8px;border-radius:6px;font-size:11px;font-weight:600;background:rgba(37,99,235,.1);color:#1d4ed8}
.x-todo__cat--interviews{background:rgba(124,58,237,.1);color:#6d28d9}
.x-todo__cat--networking{background:rgba(6,182,212,.12);color:#0e7490}
.x-todo__cat--skills,.x-todo__cat--study{background:rgba(245,158,11,.14);color:#b45309}
.x-todo__cat--fitness,.x-todo__cat--mindfulness,.x-todo__cat--personal{background:rgba(16,185,129,.12);color:#047857}
.x-todo__cat--general{background:rgba(100,116,139,.12);color:#475569}
.x-todo__due{font-size:11.5px;color:var(--x-subtext)}
.x-todo__due.is-late{color:#b91c1c;font-weight:600}
.x-todo__due.is-today{color:#b45309;font-weight:600}
.x-todo__acts{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}
.x-todo__btn{padding:4px 9px;border-radius:8px;border:1px solid var(--x-border);background:#fff;font:500 12px var(--x-f-body)!important;color:var(--x-text-3)!important;cursor:pointer}
.x-todo__btn:hover{border-color:var(--x-primary);color:var(--x-primary)!important}
.x-todo__btn.is-danger:hover{border-color:#ef4444;color:#b91c1c!important}
.x-todo-dlg__card{width:min(520px,100%)!important;text-align:left!important}
.x-todo-dlg__card h2{margin-bottom:14px!important}
.x-todo-dlg__card .x-field{margin:0 0 12px}
.x-todo-dlg__card label{display:block;margin:0 0 5px;font-size:13px;font-weight:500;color:var(--x-text-2)}
.x-todo-dlg__card label small{font-weight:400;color:var(--x-subtext)}
.x-todo-dlg__row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.x-todo-dlg__err{min-height:1.2em;margin:0 0 6px!important;color:#b91c1c!important;font-size:13px!important}
@media (max-width:960px){.x-todo__board{grid-template-columns:1fr}.x-todo__stats{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.x-todo-dlg__row{grid-template-columns:1fr}}

/* external applications (candidate-dashboard-applied-job.html) */
.x-extapps{background:#fff;border:1px solid var(--x-border);border-radius:var(--x-r);padding:20px 22px;margin:0 0 24px;font-family:var(--x-f-body)}
.x-extapps__head h2{margin:0 0 4px;font:600 18px/1.3 var(--x-f-disp)!important;color:var(--x-text)!important}
.x-extapps__head p,.x-extapps__empty,.x-extapps__note{margin:0 0 12px;font-size:13.5px;color:var(--x-text-3)}
.x-extapps__note{margin:12px 0 0}
.x-extapps__note a{color:var(--x-primary)!important;font-weight:500}
.x-extapps__list{list-style:none;margin:0;padding:0}
.x-extapps__list li{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"badge title date" "badge meta date";
  column-gap:14px;row-gap:2px;align-items:center;padding:12px 0;border-top:1px solid var(--x-border)}
.x-extapps__list li:first-child{border-top:0}
.x-extapps__list .x-badge--ext{grid-area:badge}
.x-extapps__list b{grid-area:title;font-weight:500;font-size:15px;color:var(--x-text)}
.x-extapps__meta{grid-area:meta;font-size:13px;color:var(--x-subtext)}
.x-extapps__date{grid-area:date;font-size:12.5px;color:var(--x-subtext);white-space:nowrap}
.x-badge--ext{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:600;letter-spacing:.02em;
  color:#7c3aed;background:rgba(124,58,237,.1);white-space:nowrap}
@media (max-width:640px){
  .x-extapps__list li{grid-template-columns:1fr;grid-template-areas:"badge" "title" "meta" "date"}
  .x-extapps__list .x-badge--ext{justify-self:start}
}

/* rewarded unlock dialog (ui/_reward_gate.html) — sits above every legacy
   layer; [hidden] must win over display:flex */
.x-rw{position:fixed;inset:0;z-index:130;display:flex;align-items:center;justify-content:center;padding:16px;
  background:rgba(15,23,42,.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.x-rw[hidden]{display:none!important}
.x-rw__card{position:relative;width:min(420px,100%);background:#fff;border-radius:20px;padding:28px 26px 20px;text-align:center;
  box-shadow:0 24px 60px rgba(15,23,42,.35);font-family:var(--x-f-body)}
.x-rw__x{position:absolute;top:10px;right:10px}
.x-rw__ico{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:16px;margin-bottom:12px;
  color:#fff;background:linear-gradient(135deg,#2563EB,#7c3aed)}
.x-rw h2{margin:0 0 6px;font:600 19px/1.3 var(--x-f-disp)!important;color:var(--x-text)!important}
.x-rw p{margin:0 0 8px;font-size:14px;line-height:1.5;color:var(--x-text-3)}
.x-rw__msg{min-height:1.5em;font-size:13px!important;color:var(--x-primary)!important}
.x-rw__acts{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:6px 0 10px}
.x-rw__acts .x-btn{min-width:150px;justify-content:center}
.x-rw__acts .x-btn[disabled]{opacity:.6;cursor:progress}
.x-rw__fine{font-size:12px!important;color:var(--x-subtext)!important;margin:0!important}
.x-rw__fine a{color:var(--x-primary)!important;font-weight:500}
html.x-lock,html.x-lock body{overflow:hidden}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */
/* Header priority as the window narrows (≈ widths measured for the
   five-item menu): For employers goes first, then the country/language
   chip, then the Upload CV button; below 1020px the phone drawer takes over. */
@media (max-width:1340px){
  .x-emp{display:none}
}
@media (max-width:1220px){
  .x-nav .x-pkb__code{display:none}
  .x-menu{gap:16px;margin-left:8px}
}
@media (max-width:1120px){
  .x-nav .x-hide-md{display:none!important}
}
@media (max-width:1180px){
  .x-ftop{grid-template-columns:repeat(2,minmax(0,1fr))}
  .x-ftop__brand{grid-column:1/-1}
}
@media (max-width:1020px){
  .x-menu,.x-auth,.x-nav .x-hide-md{display:none!important}
  .x-only-mobile{display:inline-flex!important}
  .x-mega{display:none!important}
  .x-fgrid{grid-template-columns:1fr;gap:0}
  .x-fgrid details{border-bottom:1px solid var(--x-border)}
  .x-fgrid details>summary{pointer-events:auto;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:15px 2px;min-height:48px}
  .x-fgrid details>summary .x-fh{margin:0}
  .x-fgrid summary .x-ico{display:block;width:16px;height:16px;color:var(--x-subtext);transition:transform .2s}
  .x-fgrid details[open] summary .x-ico{transform:rotate(180deg)}
  .x-fgrid .x-fl{padding:0 2px 14px}
  .x-fgrid .x-fl a{padding:5px 0;font-size:13.5px}
}
@media (max-width:1100px){
  .x-two{grid-template-columns:1fr}
}
@media (max-width:960px){
  /* dashboard: sidebar becomes an off-canvas drawer from the left */
  .x-app,.x-rail .x-app{grid-template-columns:minmax(0,1fr)}
  .x-sb{position:fixed;top:0;left:0;bottom:0;height:auto;z-index:95;width:min(86vw,300px);background:#fff;box-shadow:8px 0 40px rgba(15,23,42,.25);
    transform:translateX(-105%);transition:transform .28s cubic-bezier(.2,.8,.3,1);visibility:hidden}
  .x-sb.is-open{transform:none;visibility:visible}
  .x-rail .x-na{justify-content:flex-start;padding:9px 12px}
  .x-rail .x-na__label,.x-rail .x-na__chev,.x-rail .x-nlab,.x-rail .x-sb__foot{display:revert!important}
  .x-rail .x-nsub.is-open{display:flex!important}
  .x-na{min-height:44px;font-size:14px}
  .x-ns{min-height:40px;font-size:13.5px}
  .x-search{display:none}
  .x-gtb .x-hide-sm{display:none!important}
  .x-gtb .x-only-sm{display:inline-flex!important}
  .x-sb__mhead{display:flex;height:64px;padding:0 12px 0 16px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--x-border);flex-shrink:0}
  .x-appfoot .x-country{margin-left:0!important;width:100%}
  .x-main{padding:20px 16px 96px}
  .x-appfoot{padding:16px 16px 88px}
  .x-bnav{display:flex}
  body.x-legacy--dash{padding-bottom:64px}
  .x-hero{grid-template-columns:1fr;padding:22px}
  .x-hero__side{justify-content:flex-start}
  .x-hero__meta{align-items:flex-start;text-align:left;order:2}
}
@media (max-width:720px){
  .x-wrap{padding:0 16px}
  .x-nav__in{height:60px;gap:8px}
  .x-logo img,.x-gtb .x-logo img{height:34px}
  .x-nav .x-icb{height:44px;min-width:44px;border-radius:12px}
  .x-nav .x-hide-sm{display:none!important}
  .x-bnav{display:flex}
  body.x-page--public{padding-bottom:64px}
  .x-ftop{grid-template-columns:1fr}
  .x-ftop .x-vtile{display:none}
  .x-fbottom,.x-fbar{flex-direction:column;align-items:flex-start}
  .x-country{width:100%}
  .x-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .x-stat{padding:16px}
  .x-stat__v{font-size:26px}
  .x-phead h1{font-size:22px}
  .x-gtb__in{padding:0 12px;gap:6px}
  .x-atb{width:44px;height:44px;border-radius:12px}
  .x-gtb .x-icb{height:44px;min-width:44px;border-radius:12px}
  .x-ring{width:72px;height:72px}
  .x-ring>span{width:58px;height:58px}
  .x-ring b{font-size:17px}
  .x-ring small{display:none}
  .x-banner{flex-wrap:wrap}
  .x-table--stack thead{display:none}
  .x-table--stack tr{display:flex;flex-wrap:wrap;gap:4px 10px;padding:12px 16px;border-bottom:1px solid var(--x-border)}
  .x-table--stack td{padding:0;border:0}
  .x-table--stack td:first-child{flex:1 1 100%}
  .x-toast{left:16px;right:16px;bottom:80px}
}
@media (prefers-reduced-motion:reduce){
  .x-ui *,.x-ui *::before,.x-ui *::after{animation:none!important;transition:none!important}
}
@media print{
  .x-nav,.x-gtb,.x-sb,.x-bnav,.x-footer,.x-drawer,.x-overlay{display:none!important}
  .x-app{display:block}
}
