/* ==========================================================================
   VacancyDubai.ae — candidate dashboard layer
   9 Oct 2026. Phase 4 of the POC design migration.

   Loaded AFTER main.css, vd-components.css and vd-primitives.css.
   Defines no colours of its own: everything comes from the Palette A tokens
   in main.css (--uae-*, --r-*, --shadow-*, --weight-*, --card-border).

   Same philosophy as vd-primitives.css — it restyles the LEGACY class names
   the logged-in views already use, so the user area adopts the POC look with
   almost no Blade edits and no risk to the payment-gateway markup inside
   includes/user_dashboard_menu.blade.php.

   What it reaches, deliberately:
     .profilestat    candidate AND employer dashboard stat strip
     .jobint         dashboard job cards, my-applied, my-favourites,
                     company posted jobs, and the public featured_jobs strip
     .empint         followed-employer cards, employer directory
     .profbox        the dashboard section cards
   Those classes are shared on purpose: the point is one consistent card.

   The vd-components.css DASHBOARD SHELL block (.dash, .stat-tile, .ring)
   stays the target shape. This file maps the legacy markup onto it rather
   than rewriting 710 lines of Blade; when those views are eventually ported
   to .dash / .stat-tile, delete the matching block here.
   ========================================================================== */


/* 1. Page shell -------------------------------------------------------------
   The dashboard opened with a full marketing search band — the same hero the
   logged-out homepage uses. Someone who has already signed in does not need
   to be sold the search box; it pushed every piece of real information below
   the fold. Reduced to a quiet header strip. */

.listpgWraper { background: var(--uae-sand); padding: 26px 0 48px; }

/*
 * Scoped away from the PUBLIC search hero (2026-10-20).
 *
 * .pageSearch is shared: the dashboard band and the job-search hero on
 * /jobs both carry it, and the hero also carries .uae-search-hero. Both
 * selectors are (0,1,0), and this file is linked AFTER main.css, so this
 * rule won the tie and its !important padding beat main.css's. The hero
 * went white while its own text stayed white: measured on
 * /jobs?functional_area_id[]=32, the h1 and the subline were at contrast
 * 1.00 -- literally invisible -- the eyebrow at 1.56, and the white
 * borderless search field had nothing to stand against.
 */
.pageSearch:not(.uae-search-hero) {
    padding: 22px 0 !important;
    border-bottom: 1px solid var(--uae-line);
    background: var(--uae-surface);
}
.pageSearch h3 {
    margin-bottom: 14px !important;
    color: var(--uae-ink);
    font-size: 22px;
    font-weight: var(--weight-heading);
}
.pageSearch .searchform .form-control {
    height: 46px;
    border: 1px solid var(--uae-line);
    border-radius: var(--r-control) 0 0 var(--r-control);
    font-size: 15px;
}
.pageSearch .searchform .btn {
    border-radius: 0 var(--r-control) var(--r-control) 0;
    background: var(--uae-primary);
    color: #fff;
}
.pageSearch .searchform .btn:hover { background: var(--uae-primary-deep); }


/* 2. Section cards ----------------------------------------------------------
   .profbox was a bare heading with a rule under it. Given it as the only
   grouping device on a page with six sections, it has to read as a container. */

.profbox {
    margin-bottom: 20px;
    padding: 22px 24px 8px;
    border: var(--card-border);
    border-radius: var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
}

.profbox > h3 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--uae-line);
    color: var(--uae-ink);
    font-size: 18px;
    font-weight: var(--weight-heading);
}

.profbox > h3 a {
    flex: none;
    color: var(--uae-primary-ink);
    font-size: 13px;
    font-weight: var(--weight-strong);
}
.profbox > h3 a:hover { text-decoration: underline; }
.profbox > h3 a i { font-size: 11px; }

/* The legacy markup leaves the row gutter inside the card, so the last row of
   cards sat flush against the bottom edge. */
.profbox > .featuredlist { margin-bottom: 0; }
.profbox > .featuredlist > li { margin-bottom: 16px; }


/* 3. Stat tiles -------------------------------------------------------------
   Was four saturated gradients — #667eea→#764ba2 purple, #fa8c16→#ff6b35
   orange, #4facfe→#00f2fe cyan, #43e97b→#38f9d7 mint. None of them are in
   Palette A, and four competing full-bleed colours make the numbers compete
   with each other instead of reading as one row. Now the surface is neutral
   and only the icon carries a wash, which is how .stat-tile already works in
   vd-components.css. */

.profilestat { margin-bottom: 20px; }

.profilestat > li > a.inbox,
.profilestat > li > .inbox {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 100%;
    padding: 16px;
    border: var(--card-border);
    border-radius: var(--r-card);
    background: var(--uae-surface) !important;
    box-shadow: var(--shadow-card);
    color: var(--uae-body);
    transition: border-color .15s ease;
}
.profilestat > li > .inbox:hover { border-color: var(--uae-primary); text-decoration: none; }

.profilestat > li .inbox i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin: 0;
    border-radius: var(--r-control);
    background: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
    font-size: 15px;
}

.profilestat > li .inbox h6 {
    margin: 0;
    color: var(--uae-ink);
    font: var(--weight-heading) 22px/1.1 Montserrat, system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
}
.profilestat > li .inbox h6 strong {
    display: block;
    margin-top: 3px;
    color: var(--uae-muted);
    font-family: "Open Sans", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

/* Rotate the icon wash across the row so the tiles are distinguishable
   without four different background colours. Gold stays Premium-only, so it
   is not in this rotation. */
.profilestat > li:nth-child(2) .inbox i { background: var(--uae-sand); color: var(--uae-ink); }
.profilestat > li:nth-child(3) .inbox i { background: var(--uae-surface); border: 1px solid var(--uae-line); color: var(--uae-muted); }
.profilestat > li:nth-child(4) .inbox i { background: var(--uae-primary-wash); color: var(--uae-primary-ink); }


/* 4. Identity header --------------------------------------------------------
   A 300px empty grey box reading "NO COVER PHOTO ADDED" was the largest
   element on the page and carried no information. Collapsed to a slim band;
   a real uploaded cover still shows, just at a sane height. */

.usercoverphoto {
    height: 132px;
    border-radius: var(--r-card) var(--r-card) 0 0;
    border: var(--card-border);
    border-bottom: 0;
    background: var(--uae-primary-wash);
}
.usercoverphoto img { height: 132px; object-fit: cover; }
.usercoverphoto a {
    border: 1px solid var(--uae-line);
    background: var(--uae-surface);
    color: var(--uae-muted);
    line-height: 34px;
}

/* The legacy rule is `margin-top: -70px`, written to pull the identity card up
   over a 300px cover photo. With the cover suppressed it pulled the card over
   the stat tiles instead and hid their labels. */
.profileban {
    margin-top: -40px;
    margin-bottom: 20px;
    border: var(--card-border);
    border-top: 0;
    border-radius: 0 0 var(--r-card) var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
}
/* No cover uploaded: the identity card is the whole thing, so it closes up
   and sits in normal flow. */
.profileban--nocover {
    margin-top: 0;
    border-top: var(--card-border);
    border-radius: var(--r-card);
}

/* .abtuser carried background #f1f5ff — a pale blue from the pre-Palette-A
   theme — and a 30px bottom margin that broke the card's own padding. */
.profileban .abtuser {
    margin: 0;
    padding: 18px 24px;
    background: transparent;
    border-radius: inherit;
}
.profileban .abtuser h4 { color: var(--uae-ink); font-size: 20px; }
.profileban .uavatar { margin-bottom: 0; }
.profileban .uavatar img { width: 92px; height: 92px; border-radius: 50%; }
.profileban .userdata { margin-top: 0; }
.profileban .userdata li { margin-top: 0; font-size: 13px; }
.profileban .userdata li i { width: auto; }
.profileban__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}
.profileban__edit { color: var(--uae-primary-ink); font-size: 13px; font-weight: var(--weight-strong); }
.profileban__edit:hover { text-decoration: underline; }
.profileban h4 {
    margin: 0 0 8px;
    color: var(--uae-ink);
    font-size: 20px;
    font-weight: var(--weight-heading);
}
.profileban .uavatar img,
.profileban .uavatar > * {
    border: 3px solid var(--uae-surface);
    border-radius: 50%;
    box-shadow: var(--shadow-card);
}
.profileban .userdata {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.profileban .userdata li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--uae-muted);
    font-size: 13px;
}
.profileban .userdata li i { color: var(--uae-primary-ink); font-size: 12px; }


/* 5. Job cards --------------------------------------------------------------
   Aligned with .job-card in vd-components.css: one hairline, one radius,
   hover is a border-colour change rather than a lift. */

.jobint {
    position: relative;
    height: 100%;
    padding: 18px;
    border: var(--card-border);
    border-radius: var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
    transition: border-color .15s ease;
}
.jobint:hover { border-color: var(--uae-primary); box-shadow: var(--shadow-card); transform: none; }

.jobint h4 { margin: 14px 0 10px; font-size: 16px; line-height: 1.35; }
.jobint h4 a { color: var(--uae-ink); font-weight: var(--weight-heading); }
.jobint h4 a:hover { color: var(--uae-primary-ink); }

.jobint .fticon {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: var(--r-pill);
    background: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
    font-size: 11px;
    font-weight: var(--weight-heading);
    line-height: 1;
}

.jobint .salary { color: var(--uae-muted); font-size: 13px; }
.jobint .salary strong { color: var(--uae-ink); font-variant-numeric: tabular-nums; }
.jobint > strong { display: flex; align-items: center; gap: 7px; color: var(--uae-muted); font-size: 13px; font-weight: 400; }
.jobint > strong i { color: var(--uae-primary-ink); font-size: 12px; }

.jobint .jobcompany {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--uae-line);
}
.jobint .ftjobcomp span { display: block; color: var(--uae-muted); font-size: 12px; }
.jobint .ftjobcomp a { color: var(--uae-body); font-size: 13px; font-weight: var(--weight-strong); }
.jobint .ftjobcomp a:hover { color: var(--uae-primary-ink); }
.jobint .company-logo img { max-height: 34px; width: auto; }

/* Application status. The legacy badges used Bootstrap's bg-danger for
   "rejected", which put decorative-looking red beside the green success
   state — the exact pairing Palette A reserves red to avoid. Rejected is a
   neutral outcome in a list, not an error, so it reads as a quiet outline. */
.jobint .badge {
    padding: 5px 10px;
    border-radius: var(--r-pill);
    font-size: 11px;
    font-weight: var(--weight-heading);
    letter-spacing: .02em;
}
.jobint .badge.bg-success { background: var(--uae-primary-wash) !important; color: var(--uae-primary-ink); }
.jobint .badge.bg-warning { background: var(--uae-gold-wash) !important; color: var(--uae-gold-text); }
.jobint .badge.bg-danger,
.jobint .badge.bg-secondary {
    background: var(--uae-surface) !important;
    border: 1px solid var(--uae-line);
    color: var(--uae-muted);
}

/* Featured marker. Was a 50px #ff0707 triangle — pure red, purely decorative.
   Featured is a Premium state, which Palette A assigns gold. */
.promotepof-badge:before { border-top-color: var(--uae-gold); }
.promotepof-badge i { color: var(--uae-gold-text); }
.featuredlist > li.featured .jobint { border-color: var(--uae-gold); }


/* 6. Followed employers ----------------------------------------------------- */

.empint .emptbox {
    height: 100%;
    padding: 18px;
    border: var(--card-border);
    border-radius: var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
    transition: border-color .15s ease;
}
.empint .emptbox:hover { border-color: var(--uae-primary); }
.empint h4 { margin: 0 0 4px; color: var(--uae-ink); font-size: 15px; font-weight: var(--weight-heading); }
.empint .indst { color: var(--uae-muted); font-size: 12px; }
.empint .emloc { margin-top: 6px; color: var(--uae-muted); font-size: 12px; }
.empint .emloc i, .empint .cm-info-bottom i { color: var(--uae-primary-ink); }
.empint .cm-info-bottom {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--uae-line);
    color: var(--uae-body);
    font-size: 12px;
    font-weight: var(--weight-strong);
}


/* 7. Notices and the package CTA -------------------------------------------- */

/* Incomplete-resume prompt. It is guidance, not a failure. */
.userprofilealert {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
    padding: 15px 20px;
    border: 1px solid var(--uae-gold);
    border-radius: var(--r-card);
    background: var(--uae-gold-wash);
}
.userprofilealert h5 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--uae-gold-text);
    font-size: 14px;
    font-weight: var(--weight-strong);
}
.userprofilealert .editbtbn a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: var(--r-control);
    background: var(--uae-ink-surface);
    color: #fff;
    font-size: 13px;
    font-weight: var(--weight-strong);
}
.userprofilealert .editbtbn a:hover { background: var(--uae-primary); }

/* Was the same #667eea→#764ba2 purple gradient as the stat tiles. */
.no-package-message {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px 24px;
    border: var(--card-border);
    border-radius: var(--r-card);
    background: var(--uae-surface) !important;
    box-shadow: var(--shadow-card);
}
.no-package-content { display: flex; align-items: center; gap: 14px; }
.no-package-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: var(--r-control);
    background: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
    font-size: 16px;
}
.no-package-text h4 { margin: 0 0 2px; color: var(--uae-ink); font-size: 16px; font-weight: var(--weight-heading); }
.no-package-text p { margin: 0; color: var(--uae-muted); font-size: 13px; }
.no-package-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border-radius: var(--r-control);
    background: var(--uae-primary);
    color: #fff !important;
    font-size: 14px;
    font-weight: var(--weight-strong);
}
.no-package-btn:hover { background: var(--uae-primary-deep); }


/* 8. Interviews table ------------------------------------------------------- */

.dashboard-interviews__table { margin: 0; }
.dashboard-interviews__table th {
    padding: 10px 12px;
    border-bottom: 1px solid var(--uae-line);
    background: var(--uae-sand);
    color: var(--uae-muted);
    font-size: 11px;
    font-weight: var(--weight-heading);
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.dashboard-interviews__table td {
    padding: 12px;
    border-bottom: 1px solid var(--uae-line);
    color: var(--uae-body);
    font-size: 14px;
    vertical-align: middle;
}
.dashboard-interviews__table tbody tr:last-child td { border-bottom: 0; }
.dashboard-interviews__table tbody tr:hover td { background: var(--uae-sand); }
.dashboard-interviews__company { display: flex; align-items: center; gap: 10px; }
.dashboard-interviews__company-name { color: var(--uae-ink); font-weight: var(--weight-strong); }
.dashboard-interviews__datetime { display: block; color: var(--uae-ink); font-variant-numeric: tabular-nums; }
.dashboard-interviews__tz { color: var(--uae-muted); font-size: 12px; }
.dashboard-interviews__muted { color: var(--uae-muted); }
.dashboard-interviews__status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
    font-size: 11px;
    font-weight: var(--weight-heading);
}


/* 9. The rail ---------------------------------------------------------------
   Shared by every logged-in candidate page, so this block restyles the whole
   user area, not just /home. */

.usernavdash {
    margin: 0 0 20px;
    padding: 10px;
    border: var(--card-border);
    border-radius: var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
    list-style: none;
}
.usernavdash > li { margin: 0; border: 0; }
.usernavdash > li > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--r-control);
    color: var(--uae-body);
    font-size: 14px;
    font-weight: var(--weight-strong);
}
.usernavdash > li > a:hover { background: var(--uae-sand); color: var(--uae-ink); text-decoration: none; }
.usernavdash > li > a i { width: 16px; text-align: center; opacity: .7; font-size: 13px; }
.usernavdash > li.active > a { background: var(--uae-primary-wash); color: var(--uae-primary-ink); }
.usernavdash > li.active > a i { opacity: 1; }

/* Featured Profile upsell. Was #00389b — a blue from the old palette that is
   not in Palette A and collided with the "Premium" meaning gold now carries. */
.featuredprofile {
    margin-bottom: 20px;
    border: 1px solid var(--uae-gold);
    border-radius: var(--r-card);
    background: var(--uae-gold-wash) !important;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.featuredprofile .packginfor { padding: 18px; }
.featuredprofile h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--uae-gold-text);
    font-size: 15px;
    font-weight: var(--weight-heading);
}
.featuredprofile .featprice {
    color: var(--uae-ink);
    font: var(--weight-heading) 26px/1.1 Montserrat, system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
}
.featuredprofile .featprice span {
    display: block;
    margin-top: 3px;
    color: var(--uae-gold-text);
    font-family: "Open Sans", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
}
.featuredprofile p { margin: 10px 0 12px; color: var(--uae-body); font-size: 13px; }
.featuredprofile .pckfeatlist { margin: 0; padding: 0; list-style: none; }
.featuredprofile .pckfeatlist li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 0;
    color: var(--uae-body);
    font-size: 13px;
}
.featuredprofile .pckfeatlist li i { width: 14px; color: var(--uae-gold-text); font-size: 12px; }
.featuredprofile .order { padding: 0 18px 18px; }
.featuredprofile .order a {
    justify-content: center !important;
    min-height: 44px;
    padding: 0 18px !important;
    border-radius: var(--r-control);
    background: var(--uae-ink-surface) !important;
    color: #fff;
    font-size: 14px;
    font-weight: var(--weight-strong);
}
.featuredprofile .order a:hover { background: var(--uae-primary) !important; }
.featuredprofile.purchased { border-color: var(--uae-primary); background: var(--uae-primary-wash) !important; }
.featuredprofile.purchased h5 { color: var(--uae-primary-ink); }

/* Profile readiness. The ring ran #e74c3c red → #f0a030 orange → #28a745
   green: three colours, none of them in Palette A, and a red ring for an
   incomplete profile reads as an error the candidate has to fix rather than
   progress on something they have just started. Red belongs to errors only,
   so the scale is now neutral → gold → green. */
.jp-profile-readiness--tier-low .jp-profile-readiness__arc { stroke: var(--uae-muted); }
.jp-profile-readiness--tier-low .jp-profile-readiness__pct { color: var(--uae-ink); }
.jp-profile-readiness--tier-mid .jp-profile-readiness__arc { stroke: var(--uae-gold); }
.jp-profile-readiness--tier-mid .jp-profile-readiness__pct { color: var(--uae-gold-text); }
.jp-profile-readiness--tier-high .jp-profile-readiness__arc { stroke: var(--uae-primary); }
.jp-profile-readiness--tier-high .jp-profile-readiness__pct { color: var(--uae-primary-ink); }
.jp-profile-readiness__track { stroke: var(--uae-line); }

.jp-profile-readiness__list { margin: 0; padding: 0; list-style: none; }
.jp-profile-readiness__item { padding: 0; border-bottom: 1px solid var(--uae-line); }
.jp-profile-readiness__item:last-child { border-bottom: 0; }
.jp-profile-readiness__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 2px;
    color: var(--uae-body);
    font-size: 13px;
}
.jp-profile-readiness__link:hover { color: var(--uae-primary-ink); text-decoration: none; }
.jp-profile-readiness__link--done { color: var(--uae-muted); }
.jp-profile-readiness__icon {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    font-size: 10px;
}
.jp-profile-readiness__done,
.jp-profile-readiness__link--done .jp-profile-readiness__icon { background: var(--uae-primary); color: #fff; }
/* Ink, not gold-text: gold-on-gold is 2.38:1. */
.jp-profile-readiness__warn,
.jp-profile-readiness__link--todo .jp-profile-readiness__icon { background: var(--uae-gold); color: var(--uae-ink); }
.jp-profile-readiness__done,
.jp-profile-readiness__warn {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: var(--weight-heading);
}
.jp-profile-readiness__link--done .jp-profile-readiness__status { color: var(--uae-primary-ink); border-top-color: var(--uae-line); }
.jp-profile-readiness__link--todo .jp-profile-readiness__status { color: var(--uae-gold-text); border-top-color: var(--uae-line); }
.jp-profile-readiness__status { font-size: 12px; }

.jp-profile-readiness {
    margin-bottom: 20px;
    padding: 18px;
    border: var(--card-border);
    border-radius: var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
}
.jp-profile-readiness h5,
.jp-profile-readiness__title {
    margin: 0 0 14px;
    color: var(--uae-ink);
    font-size: 15px;
    font-weight: var(--weight-heading);
}
.jp-profile-readiness__item,
.jp-profile-readiness li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--uae-line);
    font-size: 13px;
}
.jp-profile-readiness li:last-child { border-bottom: 0; }
.jp-profile-readiness .is-done,
.jp-profile-readiness__done { color: var(--uae-primary-ink); }
.jp-profile-readiness .is-todo,
.jp-profile-readiness__todo { color: var(--uae-muted); }
.jp-profile-readiness__upgrade-btn {
    width: 100%;
    margin-top: 14px;
    background: var(--uae-primary);
    border-color: var(--uae-primary);
    color: #fff;
}


/* 10. Empty states ----------------------------------------------------------
   "No matching jobs found" shipped as alert-danger — a red panel for the
   ordinary case of a new account with nothing in it yet. */

/* "No Followings Found" ships as a bare <li>, not an alert.
   The `:not(.modal-body ...)` guard keeps real validation alerts inside the
   payment modals looking like alerts. */
.profbox .compnaieslist > li:only-child:not([class*="col-lg-4"]),
.profbox .alert,
.profbox .alert-info,
.profbox .alert-danger,
.listpgWraper .col-lg-9 > .alert-info,
.listpgWraper .col-lg-9 > .alert-danger {
    margin: 0 0 16px;
    padding: 24px;
    border: 1px dashed var(--uae-line);
    border-radius: var(--r-card);
    background: var(--uae-sand);
    color: var(--uae-muted);
    font-size: 14px;
    text-align: center;
}


/* 11. Narrow screens -------------------------------------------------------- */

@media (max-width: 767.98px) {
    .listpgWraper { padding: 18px 0 32px; }
    .profbox { padding: 18px 16px 6px; }
    .pageSearch h3 { font-size: 18px; }
    .usercoverphoto, .usercoverphoto img { height: 96px; }
    .profilestat > li { margin-bottom: 12px; }
    .userprofilealert, .no-package-message { flex-direction: column; align-items: flex-start; }
    .profileban .abtuser { padding: 16px; }
}


/* ==========================================================================
   PART B — EMPLOYER DASHBOARD
   9 Oct 2026.

   The employer side already uses a newer BEM naming (.cdash-sidebar__*), so
   unlike the candidate rail it is not legacy markup — but it predates
   Palette A and was never part of the colour sweep, so it carries a dark
   slate rail, a green-to-violet gradient banner and a set of Tailwind-ish
   greys (#334155, #94a3b8, #1f2937, #4ade80) that are not tokens.

   .profilestat, .jobint, .userprofilealert and the empty states are shared
   with Part A and are already handled above; this part only covers what is
   employer-only.
   ========================================================================== */


/* B1. The rail --------------------------------------------------------------
   Was linear-gradient(180deg, #3f4654, #343a46) with white text at 0.62 and
   0.45 alpha. A dark slab is a different design language from every other
   surface on the site, and the two alphas put the menu labels and the
   location line under 4.5:1. It is the same navigation as the candidate rail,
   so it gets the same treatment: a plain card. */

.cdash-sidebar {
    min-height: 0;
    padding: 18px;
    border: var(--card-border);
    border-radius: var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
}

.cdash-sidebar__profile {
    padding-bottom: 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--uae-line);
}
.cdash-sidebar__logo img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    padding: 6px;
    border: 1px solid var(--uae-line);
    border-radius: 50%;
    background: var(--uae-surface);
}
.cdash-sidebar__name { margin: 12px 0 4px; color: var(--uae-ink); font-size: 16px; }
.cdash-sidebar__location { color: var(--uae-muted); font-size: 13px; }
.cdash-sidebar__location i { color: var(--uae-primary-ink); }

.cdash-sidebar__link {
    padding: 10px 12px;
    border-radius: var(--r-control);
    color: var(--uae-body);
    font-size: 14px;
    font-weight: var(--weight-strong);
}
.cdash-sidebar__link i { color: var(--uae-muted); font-size: 13px; opacity: .8; }
.cdash-sidebar__link:hover { background: var(--uae-sand); color: var(--uae-ink); }
.cdash-sidebar__link:hover i { color: var(--uae-ink); }

.cdash-sidebar__item.is-active .cdash-sidebar__link {
    background: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
    box-shadow: none;
}
.cdash-sidebar__item.is-active .cdash-sidebar__link i { color: var(--uae-primary-ink); opacity: 1; }

.cdash-sidebar__footer { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--uae-line); }
.cdash-sidebar__logout {
    padding: 10px 12px;
    border-radius: var(--r-control);
    color: var(--uae-body);
    font-size: 14px;
}
.cdash-sidebar__logout i { color: var(--uae-muted); }
.cdash-sidebar__logout:hover { background: var(--uae-sand); color: var(--uae-ink); }


/* B2. Auto Match banner -----------------------------------------------------
   Was linear-gradient(135deg, primary 0%, #7c3aed 52%, #22c55e 100%) plus two
   radial white glows and a 40px coloured shadow. The violet is not a palette
   colour and the three-stop ramp is the loudest thing in the whole product.
   Flat ink, which is what the homepage hero already uses. */

.company-auto-match-banner {
    margin-bottom: 20px;
    border-radius: var(--r-card);
    background: var(--uae-ink-surface);
    box-shadow: var(--shadow-card);
}
.company-auto-match-banner__glow { display: none; }
.company-auto-match-banner h2,
.company-auto-match-banner h3 { color: #fff; }
.company-auto-match-banner p { color: rgba(255, 255, 255, .82); }

/* The "SMART HIRING" eyebrow pill. */
.company-auto-match-banner__badge,
.company-auto-match-banner [class*="__badge"] {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border-radius: var(--r-pill);
    font-size: 11px;
    font-weight: var(--weight-heading);
    letter-spacing: .08em;
}
.company-auto-match-banner .btn,
.company-auto-match-banner a[class*="btn"] {
    background: #fff;
    border-color: #fff;
    color: var(--uae-ink);
    font-weight: var(--weight-strong);
}
.company-auto-match-banner .btn:hover,
.company-auto-match-banner a[class*="btn"]:hover {
    background: var(--uae-primary-wash);
    border-color: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
}


/* B3. Section cards and candidate tiles ------------------------------------- */

.hmcate {
    margin-bottom: 20px;
    padding: 22px 24px;
    border: var(--card-border);
    border-radius: var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
}
.hmcate > h2, .hmcate > h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 4px;
    color: var(--uae-ink);
    font-size: 18px;
    font-weight: var(--weight-heading);
}
.hmcate > h2 i, .hmcate > h3 i { color: var(--uae-primary-ink); font-size: 16px; }
.hmcate > p { margin: 0 0 18px; color: var(--uae-muted); font-size: 13px; }


/* B4. CV-search package cards -----------------------------------------------
   .package-info-card and .cvs-package shipped with #f8fafc / #334155 /
   #1f2937 / #94a3b8 — a Tailwind slate ramp sitting beside Palette A sand.
   #94a3b8 in particular is one of the greys CLAUDE.md lists as 2.5-3.5:1. */

.cvs-package,
.package-info-card {
    border: var(--card-border) !important;
    border-radius: var(--r-card) !important;
    background: var(--uae-surface) !important;
    box-shadow: var(--shadow-card) !important;
}
.package-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-control);
    background: var(--uae-primary-wash) !important;
    color: var(--uae-primary-ink) !important;
}
.package-label { color: var(--uae-muted) !important; font-size: 13px; }
.package-value {
    color: var(--uae-ink) !important;
    font-weight: var(--weight-heading);
    font-variant-numeric: tabular-nums;
}

.plan-pages i { color: var(--uae-primary-ink); }
.plan-name { color: var(--uae-ink); font-weight: var(--weight-heading); }
.plan-price1-1, .plan-price1-2, .totalpay {
    color: var(--uae-ink);
    font-variant-numeric: tabular-nums;
}
.four-plan .row div:nth-child(2) .boxes {
    background: var(--uae-primary-wash);
    border: 1px solid var(--uae-primary-border-subtle, var(--uae-line));
}
.reqbtn, .main-plan .order a {
    border-radius: var(--r-control);
    background: var(--uae-primary);
    color: #fff;
    font-weight: var(--weight-strong);
}
.reqbtn:hover, .main-plan .order a:hover { background: var(--uae-primary-deep); color: #fff; }


/* B5. Greys that were never tokenised ---------------------------------------
   Scoped to the employer dashboard so this does not reach the public pages,
   which were already audited. */

.listpgWraper .cdash-sidebar *,
.listpgWraper .hmcate *,
.listpgWraper .cvs-package *,
.listpgWraper .package-info-card * { text-shadow: none; }

.listpgWraper [style*="#94a3b8"],
.listpgWraper .text-slate,
.listpgWraper .cdash-sidebar small { color: var(--uae-muted); }


/* B6. Narrow screens -------------------------------------------------------- */

@media (max-width: 991.98px) {
    .cdash-sidebar { margin-bottom: 20px; }
}


/* B7. Auto Match modal ------------------------------------------------------
   main.css:5779 and :5845 — linear-gradient(135deg, var(--uae-primary),
   #6d28d9). The primary stop is a token, the violet stop is not, which is how
   it survived the palette sweep: a grep for raw brand hexes finds the ramp
   only if both ends are literals. */

.company-auto-match-modal__header,
.company-auto-match-modal__submit {
    background: var(--uae-primary) !important;
    border-color: var(--uae-primary) !important;
}
.company-auto-match-modal__submit:hover { background: var(--uae-primary-deep) !important; }


/* B8. Text colours the sweep never reached ---------------------------------
   #333, #777, #1f2937, #334155 and #94a3b8, scoped to the dashboard so the
   already-audited public pages are untouched. #94a3b8 is one of the greys
   CLAUDE.md records as 2.5-3.5:1. */

.listpgWraper .plan-pages,
.listpgWraper .plan-pages li { color: var(--uae-body); }
.listpgWraper .hmcate .text-muted,
.listpgWraper .hmcate p { color: var(--uae-muted); }
.listpgWraper .select2-selection__rendered { color: var(--uae-body); }
.listpgWraper .select2-selection__clear,
.listpgWraper .select2-selection__placeholder { color: var(--uae-muted); }

/* Payment-gateway links in the order modals rendered as bare black text. */
.listpgWraper .order a,
.listpgWraper .reqbtn { color: #fff; }
.listpgWraper .order a[onclick*="checkPaymentGateway"] {
    border: 1px solid var(--uae-line);
    border-radius: var(--r-control);
    background: var(--uae-surface);
    color: var(--uae-body);
}
.listpgWraper .order a[onclick*="checkPaymentGateway"]:hover {
    border-color: var(--uae-primary);
    background: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
}


/* B9. Suggested-candidate cards --------------------------------------------
   `.suggested-candidates-section .listbtn a` is (0,2,1), so the plain
   `.vd-btn` class the markup now carries loses to it. Matching specificity
   rather than reaching for !important. */

.suggested-candidates-section .listbtn a {
    background: var(--uae-primary);
    background-image: none;
    border-radius: var(--r-control);
    color: #fff;
    font-weight: var(--weight-strong);
}
.suggested-candidates-section .listbtn a:hover {
    background: var(--uae-primary-deep);
    background-image: none;
    color: #fff;
}
.suggested-candidates-section h3 i { color: var(--uae-primary-ink) !important; }
.suggested-candidates-section h3 { color: var(--uae-ink) !important; }

/* #777 on white is 4.48:1 — just under AA for body text. */
.listpgWraper .hmcate,
.listpgWraper .hmcate div { color: var(--uae-body); }
.listpgWraper .hmcate .justify-content-center { color: var(--uae-muted); }

/* Select2's own selectors are (0,3,0); match them. */
.listpgWraper .select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--uae-body); }
.select2-container--default .select2-selection--single .select2-selection__clear,
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--uae-muted); }

.company-auto-match-modal__label { color: var(--uae-ink); }


/* B10. Plan cards: white text on a white card -------------------------------
   Pre-existing, not introduced here. main.css:4846 sets
   `.main-plan .plan-price1-1/-2 { color: #fff }` — written when the plan box
   had a dark background. The box is white, so the price and the Buy Now label
   were invisible: measured at 1.00:1. */

.listpgWraper .main-plan .plan-price1-1,
.listpgWraper .main-plan .plan-price1-2,
.listpgWraper .main-plan .plan-price1-3,
.listpgWraper .pricing-unit1 {
    color: var(--uae-ink);
    font-variant-numeric: tabular-nums;
}

.listpgWraper a.reqbtn,
.listpgWraper .order a.reqbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: var(--r-control);
    background: var(--uae-primary);
    background-image: none;
    color: #fff;
    font-weight: var(--weight-strong);
}
.listpgWraper a.reqbtn:hover,
.listpgWraper .order a.reqbtn:hover { background: var(--uae-primary-deep); color: #fff; }

/* The highlighted middle plan was #e8f7ca lime with #000 ticks. */
.listpgWraper .four-plan .row div:nth-child(2) .boxes .plan-pages i { color: var(--uae-primary-ink); }
.listpgWraper .four-plan .row div:nth-child(2) .boxes .order a {
    background: var(--uae-ink-surface);
    color: #fff;
}


/* B11. "No package" empty state --------------------------------------------
   Pre-existing: the copy was #adb5bd (2.07:1) and the Buy Package button had
   a transparent background with white text, so it measured 1.00:1 — the CTA
   was invisible against the white card. */

.listpgWraper .company-payment-no-records p { color: var(--uae-muted); }
.listpgWraper .company-payment-no-records h4,
.listpgWraper .company-payment-no-records h5 { color: var(--uae-ink); }
.listpgWraper .company-payment-no-records .btn-primary {
    background: var(--uae-primary);
    border-color: var(--uae-primary);
    color: #fff;
}
.listpgWraper .company-payment-no-records .btn-primary:hover {
    background: var(--uae-primary-deep);
    border-color: var(--uae-primary-deep);
}
.listpgWraper .company-payment-no-records i { color: var(--uae-line); }


/* B12. Manage Jobs (/posted-jobs) ------------------------------------------
   Reached from the rail, so it is part of the same surface.

   main.css:11441/11450 — two more ramps with one token end and one literal:
   `linear-gradient(135deg, #22c55e, var(--uae-primary))` and
   `linear-gradient(135deg, var(--uae-primary), #003bb8)`. Same reason as the
   Auto Match modal: a hex-literal grep cannot see a half-tokenised gradient. */

.posted-job-actions__btn--match,
.posted-job-actions__btn--match:hover,
.posted-job-actions__btn--candidates,
.posted-job-actions__btn--candidates:hover {
    background-image: none;
}
.posted-job-actions__btn--match { background-color: var(--uae-primary); color: #fff; }
.posted-job-actions__btn--match:hover { background-color: var(--uae-primary-deep); }
.posted-job-actions__btn--candidates {
    background-color: var(--uae-surface);
    border: 1px solid var(--uae-line);
    color: var(--uae-body);
}
.posted-job-actions__btn--candidates:hover {
    background-color: var(--uae-primary-wash);
    border-color: var(--uae-primary);
    color: var(--uae-primary-ink);
}
.posted-job-actions__count {
    background: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
    font-variant-numeric: tabular-nums;
}

/* #999 on white is 2.85:1. */
.listpgWraper .job-stat-label { color: var(--uae-muted); }
.listpgWraper .job-stat-value { color: var(--uae-ink); font-variant-numeric: tabular-nums; }
.listpgWraper .nav-link { color: var(--uae-body); }
.listpgWraper .nav-link.active { color: var(--uae-primary-ink); font-weight: var(--weight-strong); }


/* B13. The one rule behind most of the grey ---------------------------------
   `.featuredlist .jobint span { color: #999 }` is (0,3,0) and sits on every
   job card in both dashboards — posted dates, visitor counts, applicant
   counts. #999 on white is 2.85:1. Matching its specificity fixes the lot. */

.featuredlist .jobint span,
.featuredlist .jobint .job-stat-label { color: var(--uae-muted); }
.featuredlist .jobint .job-stat-value,
.featuredlist .jobint .posted-job-actions__count { color: var(--uae-primary-ink); }


/* ==========================================================================
   PART C — PHONE ORDER (2026-10-24)

   On a phone the Bootstrap columns stack in source order, so the sidebar
   lands ABOVE the dashboard: a readiness ring, an Open-to-Work toggle and
   four zeroed stat tiles — about 1,100px, roughly 1.4 screens — before the
   first job. In the UAE most candidates arrive on a phone, so the one thing
   they opened the app for was below the fold every time.

   This reorders with flex `order` only. No Blade moved, so desktop, RTL and
   every other page that shares these partials are untouched.
   ========================================================================== */

@media (max-width: 991.98px) {

    /* 1. The dashboard before the sidebar. `.row` is already flex, so the two
          columns just swap. */
    .listpgWraper > .container > .row > .col-lg-3 { order: 2; }
    .listpgWraper > .container > .row > .col-lg-9 { order: 1; }

    /* 2. Inside the dashboard: who you are, then your numbers, then the jobs.
          The column becomes a flex container only at this width; ties fall
          back to source order, so anything not named here keeps its place. */
    .listpgWraper > .container > .row > .col-lg-9 { display: flex; flex-direction: column; }
    .listpgWraper > .container > .row > .col-lg-9 > * { order: 4; }
    .listpgWraper > .container > .row > .col-lg-9 > .userprofilealert { order: 1; }  /* a warning still leads */
    .listpgWraper > .container > .row > .col-lg-9 > .usercoverphoto,
    .listpgWraper > .container > .row > .col-lg-9 > .profileban { order: 2; }
    .listpgWraper > .container > .row > .col-lg-9 > .profilestat { order: 3; }

    /* flex kills the row gutter the stat strip relies on */
    .listpgWraper > .container > .row > .col-lg-9 > .profilestat { margin-inline: 0; }

    /* 3. The dashboard band repeats what the Jobs tab already does, and it cost
          most of a screen above the fold. Keep the heading, drop the field.

          :not(.uae-search-hero) is not optional — .pageSearch is shared with the
          PUBLIC /jobs hero. An unscoped rule here is what put that hero at
          contrast 1.00 on 2026-10-20 (see the note at the top of this file);
          unscoped, this one would hide the site's main search field on mobile. */
    .pageSearch:not(.uae-search-hero) { padding: 14px 0 !important; }
    .pageSearch:not(.uae-search-hero) h3 { margin-bottom: 0 !important; font-size: 17px; }
    .pageSearch:not(.uae-search-hero) .searchform { display: none; }

    /* 4. Tap targets. 55 controls measured under 40px on the dashboard. */
    .usernavdash > li > a,
    .profbox > h3 a,
    .profileban__edit { min-height: 44px; display: flex; align-items: center; }
    .profilestat > li > .inbox { min-height: 72px; }
}

/* Clear of the fixed mobile tab bar (.mobilenav, 58px) plus the safe area, so
   the last card is not trapped behind it. */
@media (max-width: 991.98px) {
    .listpgWraper { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}


/* ==========================================================================
   PART D — THE ACCOUNT SHEET (2026-10-24)

   #usermbnav had markup (header.blade.php) and JS (script.js: .openmbnav →
   setUserSheetOpen, backdrop, body class) but NO panel CSS — main.css carries
   only .usermbnav-backdrop and .usermbnav-open, both display:none. Nothing
   ever opened it, so nobody saw that it rendered as a 350px avatar and an
   invisible list. Styling it is what makes Part C's Account tab mean anything.

   The JS sets display:none/flex inline and toggles .show, so the animation
   has to ride on transform, not display.
   ========================================================================== */

@media (max-width: 991.98px) {

    .usermbnav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1000;              /* .mobilenav is 999 */
        background: rgba(10, 14, 22, .45);
    }
    .usermbnav-backdrop[hidden] { display: none; }

    .usermbnav-sheet {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        max-height: 82vh;
        flex-direction: column;
        padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
        border-radius: 20px 20px 0 0;
        background: var(--uae-surface);
        box-shadow: 0 -12px 32px rgba(16, 24, 40, .18);
        transform: translateY(100%);
        transition: transform .28s cubic-bezier(.22, .61, .36, 1);
    }
    .usermbnav-sheet.show { transform: none; }
    @media (prefers-reduced-motion: reduce) { .usermbnav-sheet { transition: none; } }

    .usermbnav-sheet__handle {
        width: 38px;
        height: 4px;
        margin: 0 auto 12px;
        border-radius: 999px;
        background: var(--uae-line);
    }

    .usermbnav-sheet__head {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-bottom: 12px;
        margin-bottom: 6px;
        border-bottom: 1px solid var(--uae-line);
    }
    .usermbnav-sheet__user { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
    .usermbnav-sheet__user strong { display: block; color: var(--uae-ink); font-size: 15px; font-weight: 600; }
    .usermbnav-sheet__user small { color: var(--uae-muted); font-size: 12.5px; }

    /* printUserImage() returns a bare <img> with no size, and the span was
       display:inline, so the image took the sheet's full width — 350px. */
    .usermbnav-sheet__avatar {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 50%;
        overflow: hidden;
        background: var(--uae-primary-wash);
    }
    .usermbnav-sheet__avatar img { width: 44px; height: 44px; object-fit: cover; display: block; }

    .usermbnav-sheet__close {
        width: 40px;
        height: 40px;
        flex: none;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: var(--uae-muted);
        font-size: 16px;
    }
    .usermbnav-sheet__close:active { background: var(--uae-sand); }

    /* .usernavdash is display:none on mobile — correct for the stacked sidebar,
       but the sheet reuses the same class for its list.

       position: static is the load-bearing one. A mobile rule elsewhere makes
       .usernavdash `position: fixed`, which took the list out of flow, so the
       flex sheet sized itself to the handle and header alone — 108px with 290px
       of links hanging outside it. */
    .usermbnav-sheet .usernavdash,
    .usermbnav-sheet__list {
        position: static;
        display: block;
        margin: 0;
        padding: 0;
        inset: auto;
        width: auto;
        /* .usernavdash is also styled as a slide-up drawer elsewhere: it carried
           position:fixed AND translateY(100%), which translated to exactly its
           own height (289.6px) and parked the list below the sheet's bottom
           edge. Both have to go, or the sheet opens empty. */
        transform: none;
        transition: none;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        list-style: none;
    }
    .usermbnav-sheet__list > li { margin: 0; border: 0; }
    .usermbnav-sheet__list > li > a {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 48px;
        padding: 4px 6px;
        border-radius: 8px;
        color: var(--uae-body);
        font-size: 15px;
        font-weight: 500;
    }
    .usermbnav-sheet__list > li > a:hover,
    .usermbnav-sheet__list > li > a:active { background: var(--uae-sand); color: var(--uae-ink); text-decoration: none; }
    .usermbnav-sheet__list > li > a i { width: 18px; text-align: center; color: var(--uae-muted); font-size: 14px; }
    .usermbnav-sheet__list > li > a[href*="logout"] { color: var(--uae-danger); }
    .usermbnav-sheet__list > li > a[href*="logout"] i { color: var(--uae-danger); }
}

/* The sheet is a phone pattern. On desktop the sidebar rail does this job, so
   keep it shut whatever the JS has left on the element. */
@media (min-width: 992px) {
    .usermbnav-sheet, .usermbnav-backdrop { display: none !important; }
}


/* ---------- PART D2 — the account sheet as the prototype's "More" screen
   (2026-10-24). Row anatomy ported from poc/candidate-app: a 32px icon chip,
   title over sub-label, optional pill, chevron. A row whose Phase 1 flag is
   off keeps its place and carries a "Soon" chip, so the menu reads as the
   finished product without linking anywhere that 404s. ------------------- */

@media (max-width: 991.98px) {

    .usermbnav-sheet__bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding-bottom: 10px;
        margin-bottom: 4px;
        border-bottom: 1px solid var(--uae-line);
    }
    .usermbnav-sheet__bar strong { color: var(--uae-ink); font-size: 16px; font-weight: 700; }

    .usermbnav-sheet__body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -4px;
        padding: 2px 4px 0;
    }

    /* cards */
    .jp-acct-card {
        display: flex;
        align-items: center;
        gap: 13px;
        padding: 14px;
        margin-top: 12px;
        border: 1px solid var(--uae-line);
        border-radius: 14px;
        background: var(--uae-surface);
    }
    .jp-acct-card--me { align-items: flex-start; }
    .jp-acct-avatar {
        display: grid;
        place-items: center;
        width: 72px;
        height: 72px;
        flex: 0 0 72px;
        border-radius: 50%;
        overflow: hidden;
        background: var(--uae-primary-wash);
    }
    .jp-acct-avatar img { width: 72px; height: 72px; object-fit: cover; display: block; }
    .jp-acct-me { flex: 1; min-width: 0; }
    .jp-acct-me h3 { margin: 0; color: var(--uae-ink); font-size: 17px; font-weight: 700; line-height: 1.3; }
    .jp-acct-me p { margin: 2px 0 0; color: var(--uae-muted); font-size: 13px; word-break: break-word; }

    .jp-acct-toggle > div { flex: 1; min-width: 0; }
    .jp-acct-toggle strong { display: block; color: var(--uae-ink); font-size: 14.5px; font-weight: 600; }
    .jp-acct-toggle small { color: var(--uae-muted); font-size: 12.5px; }

    /* pills */
    .jp-acct-pill {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        flex: none;
        padding: 3px 9px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .01em;
    }
    .jp-acct-pill--ok   { margin-top: 8px; background: var(--uae-primary-wash); color: var(--uae-primary-ink); }
    .jp-acct-pill--gold { background: var(--uae-gold-wash); color: var(--uae-gold-text); }
    .jp-acct-pill--soon { background: var(--uae-sand); border: 1px solid var(--uae-line); color: var(--uae-muted); }

    /* groups and rows */
    .jp-acct-group {
        margin: 18px 0 7px;
        color: var(--uae-muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .07em;
        text-transform: uppercase;
    }
    .jp-acct-rows {
        border: 1px solid var(--uae-line);
        border-radius: 14px;
        background: var(--uae-surface);
        overflow: hidden;
    }
    .jp-acct-rows--end { margin-top: 18px; }

    .jp-acct-row {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 60px;
        padding: 10px 14px;
        border-top: 1px solid var(--uae-line);
        color: var(--uae-body);
        text-decoration: none;
    }
    .jp-acct-row:first-child { border-top: 0; }
    .jp-acct-row:hover, .jp-acct-row:active { background: var(--uae-sand); text-decoration: none; }
    .jp-acct-row.is-on { background: var(--uae-primary-wash); }
    .jp-acct-row.is-on .jp-acct-main b { color: var(--uae-primary-ink); }
    /* No blanket opacity. A disabled row is still meant to be READ — that is
       the point of showing all of them — and fading the whole row to .55 put
       its title around 4:1 on white. The "Soon" chip and the flat icon carry
       the state instead. */
    .jp-acct-row.is-off { cursor: default; }
    .jp-acct-row.is-off:hover { background: transparent; }
    .jp-acct-row.is-off .jp-acct-main b { color: var(--uae-body); font-weight: 500; }
    .jp-acct-row.is-off .jp-acct-ico { background: var(--uae-surface); border: 1px solid var(--uae-line); }

    .jp-acct-ico {
        display: grid;
        place-items: center;
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        border-radius: 9px;
        background: var(--uae-sand);
        color: var(--uae-muted);
        font-size: 14px;
    }
    .jp-acct-row.is-on .jp-acct-ico { background: var(--uae-primary); color: #fff; }

    .jp-acct-main { flex: 1; min-width: 0; }
    .jp-acct-main b { display: block; color: var(--uae-ink); font-size: 14.5px; font-weight: 600; line-height: 1.35; }
    .jp-acct-main small { display: block; color: var(--uae-muted); font-size: 12.5px; line-height: 1.4; }

    .jp-acct-chev { flex: none; color: var(--uae-line); font-size: 12px; }

    .jp-acct-row--danger .jp-acct-main b { color: var(--uae-danger); }
    .jp-acct-row--danger .jp-acct-ico { background: var(--uae-danger-wash, var(--uae-sand)); color: var(--uae-danger); }

    /* Open to Work switch */
    .usermbnav-switch { position: relative; width: 46px; height: 27px; flex: none; }
    .usermbnav-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
    .usermbnav-switch > span[aria-hidden] {
        position: absolute; inset: 0;
        border-radius: 999px;
        background: var(--uae-line);
        transition: background .18s;
        pointer-events: none;
    }
    .usermbnav-switch > span[aria-hidden]::after {
        content: "";
        position: absolute; top: 3px; left: 3px;
        width: 21px; height: 21px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 2px rgba(16, 24, 40, .2);
        transition: transform .18s;
    }
    .usermbnav-switch input:checked + span[aria-hidden] { background: var(--uae-primary); }
    .usermbnav-switch input:checked + span[aria-hidden]::after { transform: translateX(19px); }
    .usermbnav-switch input:focus-visible + span[aria-hidden] { outline: 2px solid var(--uae-primary); outline-offset: 2px; }
}

    /* Account sheet icons are the ported sprite, not Font Awesome (see
       includes/icon_sprite.blade.php). Sizes chosen to sit where the solid
       glyphs sat: 17px inside the 32px chip, and a chevron that reads as a
       hairline rather than an arrowhead. */
    .jp-acct-ico .vd-ico { width: 17px; height: 17px; vertical-align: 0; }
    .jp-acct-chev { width: 15px; height: 15px; }
    .jp-acct-pill .vd-ico { width: 12px; height: 12px; }


/* =========================================================================
   PART E — Privacy & Data Settings  (/privacy-data-settings, 2026-10-24)
   =========================================================================
   These rules used to be a <style> block inside the view's @section('content').
   Two things were wrong with that, and both are why this lives here now:

   1. An inline block comes AFTER the head stylesheets in document order, so
      it beat every global rule at equal specificity — the front-end twin of
      the per-view font-size blocks the admin typography notes removed.
   2. scripts/build_dark_theme.php reads the four stylesheets and nothing
      else, so inline CSS is invisible to it. Night mode rendered a white
      card on a dark page with #2d3748 type on it. In this file the page is
      themed for free, with no rule of its own.

   The page is three panels, not three cards: one hairline container with
   divided rows, the same shape the walk-in event body uses. Three actions do
   not need three drop shadows.
   ========================================================================= */

.vd-privacy { max-width: 760px; }

.vd-privacy .vd-privacy__lede {
    margin: 0 0 20px;
    color: var(--uae-body);
    font-size: 15px;
    line-height: 1.6;
}

.vd-privacy__panel {
    display: flex;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid var(--uae-line);
}

.vd-privacy__panel:first-of-type { border-top: 0; padding-top: 4px; }

/* The icon chip. Deliberately quiet: the old page gave each card a 48px
   gradient glyph, which made the decoration the loudest thing on a page
   about deleting your account. */
.vd-privacy__ico {
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: var(--r-control);
    background: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
}

.vd-privacy__ico .vd-ico { width: 19px; height: 19px; vertical-align: 0; }

/* Red is reserved for errors and destructive actions, never decoration — so
   only the deletion panel gets it, and only on the chip and its button. */
.vd-privacy__ico--danger {
    background: var(--uae-sand);
    border: 1px solid var(--uae-line);
    color: var(--uae-danger);
}

.vd-privacy__main { flex: 1; min-width: 0; }

.vd-privacy__title {
    margin: 0 0 6px;
    color: var(--uae-ink);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.3;
}

.vd-privacy .vd-privacy__text {
    margin: 0 0 14px;
    color: var(--uae-body);
    font-size: 14px;
    line-height: 1.6;
}

.vd-privacy .vd-privacy__text a { color: var(--uae-primary-ink); }

/* Status reads as a sentence, not a pill. These lines carry dates and
   deadlines — "Requested 24 Oct, we will email it by 23 Nov" does not fit a
   20px badge, and the old build truncated it on a phone. */
.vd-privacy .vd-privacy__state {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: var(--r-control);
    font-size: 13.5px;
    line-height: 1.5;
}

.vd-privacy__state .vd-ico { width: 16px; height: 16px; flex: none; margin-top: 1px; vertical-align: 0; }

/* Prefixed like the rules above: at (0,1,0) these modifiers lost to
   `.userccount p { color: #999 }` at (0,1,1), so the status line rendered
   grey on the gold wash - 2.50:1. Dark mode passed only because the mapper
   had lightened that #999 to something that happened to clear the bar. */
.vd-privacy .vd-privacy__state--ok   { background: var(--uae-primary-wash); color: var(--uae-primary-ink); }
.vd-privacy .vd-privacy__state--wait { background: var(--uae-gold-wash); color: var(--uae-gold-text); }

.vd-privacy .vd-privacy__err {
    margin: 10px 0 0;
    color: var(--uae-danger);
    font-size: 13.5px;
}

.vd-privacy__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;              /* the tap-target floor used site-wide */
    padding: 0 18px;
    border: 1px solid var(--uae-primary);
    border-radius: var(--r-control);
    background: var(--uae-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

/* Hover is a colour change, never a lift. translateY on hover was removed
   from every card on the site; this page was still doing it. */
.vd-privacy__btn:hover,
.vd-privacy__btn:focus-visible { background: var(--uae-primary-deep); border-color: var(--uae-primary-deep); color: #fff; }

.vd-privacy__btn:disabled { opacity: .6; cursor: default; }

.vd-privacy__btn--danger {
    background: transparent;
    border-color: var(--uae-danger);
    color: var(--uae-danger);
}

.vd-privacy__btn--danger:hover,
.vd-privacy__btn--danger:focus-visible { background: var(--uae-danger); border-color: var(--uae-danger); color: #fff; }

.vd-privacy .vd-privacy__foot { margin: 18px 0 0; font-size: 13.5px; }
.vd-privacy .vd-privacy__foot a { color: var(--uae-primary-ink); }

/* The deletion dialog */
.vd-privacy-modal .modal-content { border: 1px solid var(--uae-line); border-radius: var(--r-card); }
.vd-privacy-modal .modal-header,
.vd-privacy-modal .modal-footer { border-color: var(--uae-line); }
.vd-privacy-modal .modal-title { color: var(--uae-ink); font-size: 17px; font-weight: 700; }

.vd-privacy__note {
    margin: 0 0 16px;
    padding: 12px;
    border-radius: var(--r-control);
    background: var(--uae-gold-wash);
    color: var(--uae-gold-text);
    font-size: 13.5px;
    line-height: 1.55;
}

.vd-privacy__field { margin-bottom: 14px; }
.vd-privacy__field label { display: block; margin-bottom: 6px; color: var(--uae-ink); font-size: 13.5px; font-weight: 600; }

/* The modal footer stacks on a phone so neither button is a 40%-width stub. */
@media (max-width: 575.98px) {
    .vd-privacy-modal .modal-footer { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
    .vd-privacy-modal .modal-footer .vd-privacy__btn { width: 100%; margin: 0; }
}


/* .userccount is shared by 28 views and carries a #f5f7ff lavender, 50px of
   padding and — the one that actually broke this page — `.userccount p
   { text-align: center; color: #999 }`. At (0,1,1) that beat every
   .vd-privacy__* rule, so the copy came out centred and at 2.85:1.

   A modifier rather than a fix to .userccount itself: the other 27 views are
   not in scope here, and several are auth screens that are centred on
   purpose. The text rules above are .vd-privacy-prefixed for the same reason.
   Fixing .userccount properly is worth doing on its own. */
.userccount--plain {
    background: var(--uae-surface);
    border: 1px solid var(--uae-line);
    border-radius: var(--r-card);
    padding: 24px;
}

.userccount--plain p { text-align: start; }

@media (max-width: 575.98px) {
    /* 50px of padding on a 375px screen leaves 275px of line. */
    .userccount--plain { padding: 16px; }
}

/* =========================================================================
   PART F — "At a glance" tiles  (candidate dashboard, 2026-10-24)
   =========================================================================
   The prototype's .tiles / .tile block, ported to Palette A. Was four
   Bootstrap columns stacking a centred icon over the figure; the prototype
   puts the icon beside the number, which reads faster and halves the height.

   Mapping from the prototype's variables:
     --surface/--line/--r-card/--shadow -> the Palette A equivalents
     --brand-wash + --brand             -> primary wash + primary-ink
     --ground + --muted (quiet)         -> sand + muted
     --gold-wash + --gold-ink           -> the gold pair

   Four different chip washes is the point, not decoration: on a new account
   every figure is 0, and without them the row reads as one grey block.
   ========================================================================= */

.vd-sec {
    margin: 22px 0 10px;
    color: var(--uae-ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.vd-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;    /* the prototype's phone layout */
    gap: 10px;
    margin-bottom: 4px;
}

/* Four across once there is room, which is what the Bootstrap columns this
   replaced did at lg. */
@media (min-width: 992px) {
    .vd-tiles { grid-template-columns: repeat(4, 1fr); }
}

.vd-tile {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    padding: 13px;
    border: 1px solid var(--uae-line);
    border-radius: var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
    color: var(--uae-body);
    text-decoration: none;
    transition: border-color .15s ease;
}

/* Hover is a border-colour change, never a lift — the rule the rest of the
   site follows. */
.vd-tile:hover,
.vd-tile:focus-visible { border-color: var(--uae-primary); text-decoration: none; color: var(--uae-body); }

.vd-tile__ico {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: var(--r-control);
    background: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
}

.vd-tile__ico .vd-ico { width: 17px; height: 17px; vertical-align: 0; }

.vd-tile__fig { min-width: 0; }

.vd-tile__fig b {
    display: block;
    color: var(--uae-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.vd-tile__fig span {
    display: block;
    color: var(--uae-muted);
    font-size: 12px;
    line-height: 1.35;
}

.vd-tile--quiet .vd-tile__ico { background: var(--uae-sand); border: 1px solid var(--uae-line); color: var(--uae-muted); }
.vd-tile--ok    .vd-tile__ico { background: var(--uae-primary-wash); color: var(--uae-ok); }
.vd-tile--gold  .vd-tile__ico { background: var(--uae-gold-wash); color: var(--uae-gold-text); }


/* =========================================================================
   PART G — dashboard job cards  (2026-10-24)
   =========================================================================
   The prototype's `.job` card (poc/candidate-app), for "Recommended Jobs"
   and "New from companies you follow". Everything is `vd-` prefixed: `.wi-*`
   belongs to the walk-in module and `.cal` is short enough to collide, and
   the walk-in notes already record what reusing one of those names costs.

   One card, two sections, and it replaces two DIFFERENT old designs — a
   three-across `.jobint` grid and a two-across `.empint` row — so the
   dashboard now has one job card instead of two.
   ========================================================================= */

.vd-stack { display: grid; gap: 10px; }

@media (min-width: 992px) {
    /* Two across on desktop. Three made the title wrap on almost every real
       job title; the prototype's single column is right for a phone only. */
    .vd-stack { grid-template-columns: 1fr 1fr; }
}

.vd-job {
    display: block;
    padding: 14px;
    border: 1px solid var(--uae-line);
    border-radius: var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
    color: var(--uae-body);
    text-decoration: none;
    transition: border-color .15s ease;
}

.vd-job:hover,
.vd-job:focus-visible { border-color: var(--uae-primary); text-decoration: none; color: var(--uae-body); }

/* Featured is the gold one. Premium = gold is the rule across the site. */
.vd-job--featured { border-color: var(--uae-gold); }

.vd-job__head { display: flex; align-items: flex-start; gap: 12px; }
.vd-job__body { flex: 1; min-width: 0; }

.vd-job__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.vd-job__logo {
    flex: none;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 40px;
    height: 40px;
    border: 1px solid var(--uae-line);
    border-radius: var(--r-control);
    background: var(--uae-sand);
    color: var(--uae-muted);
    font-size: 13px;
    font-weight: 700;
}

/* The prototype draws initials. Real logos exist here, so the square takes
   whichever is available and keeps the prototype's frame either way. */
.vd-job__logo img { width: 100%; height: 100%; object-fit: contain; }

.vd-job__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 9px 0 3px;
    color: var(--uae-ink);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
}

.vd-job__co { display: block; color: var(--uae-muted); font-size: 13px; }

.vd-job__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }

.vd-job__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--uae-line);
    color: var(--uae-muted);
    font-size: 12.5px;
}

.vd-job__pay { color: var(--uae-ink); font-weight: 600; }
.vd-job__per { color: var(--uae-muted); font-weight: 400; }
.vd-job__pay--none { color: var(--uae-muted); font-weight: 400; }

/* ---- pills ------------------------------------------------------------- */

.vd-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: var(--r-pill);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.vd-pill--quiet { background: var(--uae-sand); border: 1px solid var(--uae-line); color: var(--uae-muted); }
.vd-pill--gold  { background: var(--uae-gold-wash); color: var(--uae-gold-text); }

/* ---- the posted-date chip ---------------------------------------------- */
/* A date as a chip rather than a line of text, so a column of cards scans as
   a column of dates — the same shape the walk-in cards use. */

.vd-cal {
    flex: none;
    display: block;
    width: 46px;
    overflow: hidden;
    border: 1px solid var(--uae-line);
    border-radius: 9px;
    background: var(--uae-surface);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.vd-cal__m {
    display: block;
    padding: 3px 0 2px;
    background: var(--uae-primary);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: 1.2;
}

.vd-cal__d { display: block; padding-top: 3px; color: var(--uae-ink); font-size: 19px; font-weight: 700; line-height: 1.05; }
.vd-cal__y { display: block; padding-bottom: 4px; color: var(--uae-muted); font-size: 9.5px; line-height: 1.3; }

.vd-empty { margin: 0; padding: 18px 0; color: var(--uae-muted); font-size: 14px; }


/* =========================================================================
   PART H — the phone app shell  (.vd-app, 2026-10-24)
   =========================================================================
   `vd-app` is on <body> for the candidate's own screens only
   (App\Support\CandidateMenu::isAccountPage). Everything here is below lg;
   the desktop dashboard is unchanged.

   THE PROBLEM, measured at 375px before this: a job card sat inside
   .profbox, which sat inside .col-lg-9, inside .container. Card and .profbox
   both had a border, a radius and THE SAME surface background, so the page
   read as boxes inside boxes, and 12 + 12 + 16 = 40px of horizontal padding
   went before any content — card text started 43px from the screen edge on a
   375px phone.

   The fix is one gutter and one box level: the page gutter is 16px, sections
   are a heading plus content, and the only thing with a border is the card
   you can tap. That is the prototype's rhythm — `.sec` + `.stack` — and it is
   what makes a page feel like an app rather than a document.
   ========================================================================= */

@media (max-width: 991.98px) {

    /* --- one gutter, not three --- */
    .vd-app .listpgWraper > .container { padding-left: 16px; padding-right: 16px; }
    .vd-app .listpgWraper > .container > .row { margin-left: 0; margin-right: 0; }
    .vd-app .listpgWraper > .container > .row > [class*="col-"] { padding-left: 0; padding-right: 0; }

    /* --- sections stop being boxes --- */
    .vd-app .profbox {
        margin-bottom: 26px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    /* The section heading, matching .vd-sec ("At a glance") so every band on
       the page is introduced the same way. */
    .vd-app .profbox > h3 {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 10px;
        padding: 0;
        border-bottom: 0;
        color: var(--uae-ink);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .vd-app .profbox > h3 a {
        color: var(--uae-primary-ink);
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0;
        text-transform: none;
        white-space: nowrap;
    }

    /* .userccount is the same story one level down — see Part E. */
    .vd-app .userccount {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    /* --- no site footer on an account screen --- */
    /* The bottom tab bar and the account sheet carry navigation here. The
       footer's 34 links, its logo block and its address are a document
       footer, and they are one tap away on the public site. */
    /* .copyright is the second footer band — the copyright line, the
       operator notice and the legal links (About, Terms, Privacy, Cookie
       Policy, Scam Warning, Grievance Officer, Cookie settings). It is a
       SIBLING of .footerWrap, not a child, so hiding the footer alone left
       268px of it on screen. `.footerbottom` was a guess and matches
       nothing. */
    .vd-app .footerWrap,
    .vd-app .copyright { display: none; }

    /* The dashboard search band is empty on a phone: Part C hides the form,
       and the "Welcome to Your Candidate Dashboard" heading that used to sit
       in it was removed on 2026-10-24. What is left is 29px of padding and a
       white strip under the header. Collapse it.

       The :not() guard is load-bearing even inside .vd-app: .pageSearch is
       SHARED with the public /jobs hero, and an unscoped rule on this class
       is what produced the 1.00:1 contrast incident on 2026-10-20. */
    .vd-app .pageSearch:not(.uae-search-hero) { display: none; }

    /* The tab bar is fixed, so the last section needs room to clear it. */
    .vd-app .listpgWraper { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}


/* =========================================================================
   PART I — walk-in card + readiness placement  (2026-10-24)
   ========================================================================= */

/* The walk-in card is the prototype's `.wi`: the same frame as a job card,
   with a when-pill instead of a job type and a row of welcome flags along the
   bottom. `vd-` prefixed because `.wi-*` is the walk-in MODULE's namespace
   (main.css) and reusing one of those names inherits a grid and a click
   overlay — the walk-in notes record what that cost last time. */

.vd-stack--one { grid-template-columns: 1fr; }

@media (min-width: 992px) {
    .vd-stack--one { grid-template-columns: 1fr; }
}

.vd-wi {
    display: block;
    padding: 14px;
    border: 1px solid var(--uae-line);
    border-radius: var(--r-card);
    background: var(--uae-surface);
    box-shadow: var(--shadow-card);
    color: var(--uae-body);
    text-decoration: none;
    transition: border-color .15s ease;
}

.vd-wi:hover,
.vd-wi:focus-visible { border-color: var(--uae-primary); text-decoration: none; color: var(--uae-body); }

/* Today's walk-in gets a brand edge: on a list sorted by date, the one you
   could still attend today is the only one with any urgency. */
.vd-wi--today { border-inline-start: 3px solid var(--uae-primary); }

.vd-wi__head { display: flex; align-items: flex-start; gap: 12px; }
.vd-wi__body { flex: 1; min-width: 0; }
.vd-wi__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }

.vd-wi__when {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: var(--r-pill);
    background: var(--uae-primary-wash);
    color: var(--uae-primary-ink);
    font-size: 11.5px;
    font-weight: 600;
}

.vd-wi__when--live { background: var(--uae-gold-wash); color: var(--uae-gold-text); }

.vd-wi__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 9px 0 3px;
    color: var(--uae-ink);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.3;
}

.vd-wi__co { display: block; color: var(--uae-muted); font-size: 13px; }

.vd-wi__meta { display: grid; gap: 7px; margin-top: 11px; color: var(--uae-muted); font-size: 13px; }
.vd-wi__meta > span { display: flex; align-items: flex-start; gap: 8px; }
.vd-wi__meta .vd-ico { width: 14px; height: 14px; margin-top: 2px; flex: none; color: var(--uae-primary-ink); vertical-align: 0; }

.vd-wi__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--uae-line);
}

.vd-flag {
    padding: 3px 8px;
    border-radius: var(--r-pill);
    border: 1px solid var(--uae-line);
    background: var(--uae-sand);
    color: var(--uae-muted);
    font-size: 11px;
    font-weight: 500;
}

.vd-flag--ok   { background: var(--uae-primary-wash); border-color: transparent; color: var(--uae-ok); }
.vd-flag--gold { background: var(--uae-gold-wash); border-color: transparent; color: var(--uae-gold-text); }

/* ---- readiness, now in the main column --------------------------------- */
/* It carried rail-width styling (a card of its own, centred text). In the
   main column the .profbox around it is the card on desktop and the section
   heading on a phone, so it drops its own frame. */
/* Part J renamed these to .vd-ready. The box around it is the card on
   desktop and a plain section on a phone, so the readiness block itself
   never carries a second frame. */
.vd-readiness-box .vd-ready { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }

@media (max-width: 991.98px) {
    /* On a phone the rail is navigation the tab bar and the account sheet
       already carry, and Open to Work lives in that sheet. Hiding it is what
       makes the dashboard open on content instead of on a menu. The rail is
       untouched on desktop, where there is no sheet. */
    .vd-app .listpgWraper > .container > .row > .col-lg-3 { display: none; }

    .vd-app .vd-readiness-box .vd-ready { padding: 14px; border: 1px solid var(--uae-line); border-radius: var(--r-card); background: var(--uae-surface); box-shadow: var(--shadow-card); }
}


/* =========================================================================
   PART J — profile readiness, the prototype's `.ready` + `.checks`
   =========================================================================
   Was: a centred 110px ring with the percentage under a "Profile Readiness"
   caption, then rows that stacked a label over its status. That shape came
   from a 25%-wide sidebar rail; in the main column it left a column of air
   either side of the ring and made each row two lines for four words.

   The prototype puts the ring BESIDE the count and gives each row one line —
   icon, label, status — so eight sections fit in the space four used to take.
   ========================================================================= */

.vd-ready__head { display: flex; align-items: center; gap: 14px; }

.vd-ready__ring { position: relative; flex: none; width: 62px; height: 62px; }
.vd-ready__ring svg { width: 62px; height: 62px; display: block; }

/* The percentage sits in the hole, not under the ring. */
.vd-ready__ring b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--uae-ink);
    font-size: 14px;
    font-weight: 700;
}

.vd-ready__track { stroke: var(--uae-line); }

/* The tiers the rail version already had, kept: an arc that is gold at 40%
   and green at 100% says more than one that is brand-coloured throughout. */
/* Gold until complete, then green — the same two colours the checklist
   marks use, so the ring and the rows tell one story. The rail version made
   `low` muted grey, which read as "nothing happening" next to a row whose
   mark was already gold and saying "Action needed". */
.vd-ready--low  .vd-ready__arc { stroke: var(--uae-gold); }
.vd-ready--mid  .vd-ready__arc { stroke: var(--uae-gold); }
.vd-ready--high .vd-ready__arc { stroke: var(--uae-primary); }

.vd-ready__said { min-width: 0; }
.vd-ready__said strong { display: block; color: var(--uae-ink); font-size: 15px; font-weight: 700; line-height: 1.3; }
.vd-ready__said small { display: block; margin-top: 4px; color: var(--uae-muted); font-size: 13px; line-height: 1.45; }

/* ---- the checklist ----------------------------------------------------- */

.vd-checks { margin: 13px 0 0; padding: 0; list-style: none; }

.vd-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--uae-line);
    color: var(--uae-body);
    font-size: 14px;
    text-decoration: none;
}

.vd-check:hover,
.vd-check:focus-visible { text-decoration: none; }
.vd-check:hover .vd-check__label { color: var(--uae-primary-ink); }

/* The status mark. A filled disc either way, because a hollow one for "not
   done" reads as an empty checkbox the row is waiting for you to tick. */
.vd-check i {
    flex: none;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* --uae-primary, not --uae-ok: `ok` is a light green at night (#3fbf7a),
   where white on it measures 2.35:1. Primary is the fill-safe token in both
   themes - white clears 6.61:1 by day and 5.18:1 at night. */
.vd-check--yes i { background: var(--uae-primary); color: #fff; }

/* Gold, not red: an unfinished section is a prompt, and Palette A keeps red
   for errors so it never sits beside the green done-state. Dark ink on gold
   because gold stays light in both themes. */
.vd-check--no i { background: var(--uae-gold); color: var(--uae-ink-surface); }

.vd-check__label { flex: 1; min-width: 0; color: var(--uae-ink); }
.vd-check__status { flex: none; color: var(--uae-muted); font-size: 12px; }
.vd-check--no .vd-check__status { color: var(--uae-gold-text); }

.vd-ready__btn {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-top: 13px;
    padding: 0 16px;
    border-radius: var(--r-control);
    background: var(--uae-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.vd-ready__btn:hover { background: var(--uae-primary-deep); color: #fff; text-decoration: none; }
