/* ==============================
   CareerLift – FULL STYLESHEET (Silver / White Theme)
   - Removes blue tinge across site
   - Single :root (no duplicates)
   - Sidebar + app shell unified + readable
   - Buttons larger + more defined
   ============================== */

/* ===== THEME TOKENS ===== */
:root{
  /* Neutral silver background (no blue cast) */
  --bg0:#ededee;
  --bg1:#e2e2e4;
  --bg2:#d7d7da;

  /* Surfaces */
  --surface: rgba(255,255,255,0.58);
  --surface2: rgba(255,255,255,0.50);
  --surface3: rgba(255,255,255,0.42);

  /* Ink */
  --ink:#111214;
  --text:#1f2328;
  --muted:#5f666f;

  /* Lines + shadows */
  --line:  rgba(0,0,0,0.10);
  --line2: rgba(0,0,0,0.14);
  --shadow:  0 18px 50px rgba(0,0,0,0.12);
  --shadow2: 0 10px 24px rgba(0,0,0,0.10);

  /* Accent (keep subtle; do NOT tint backgrounds with this) */
  --primary:#0ea5a4;

  --radius: 16px;
  --radius2: 22px;

  --max: 1160px;
  --pad: 22px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";

  /* App shell */
  --side-w: 300px;

  /* Sidebar silver */
  --side-bg-top:#ececed;
  --side-bg-bot:#dadbdd;
  --side-card: rgba(255,255,255,.72);
  --side-item-top: rgba(255,255,255,.62);
  --side-item-bot: rgba(255,255,255,.38);
  --side-border: rgba(0,0,0,.10);
  --side-text: #1c1c1e;
  --side-muted: rgba(28,28,30,.62);

  /* States */
  --hover: rgba(0,0,0,.045);
  --active: rgba(0,0,0,.06);

  /* Utility */
  --glass: rgba(255,255,255,0.56);
  --glass2: rgba(255,255,255,0.44);
  --focus: rgba(0,0,0,0.10);
  --danger: rgba(220,38,38,0.9);
  --success: rgba(14,165,164,0.95);
}

/* ===== BASE ===== */
*{ box-sizing:border-box; }
html{
  min-height:100%;
  background: linear-gradient(180deg, var(--bg0), var(--bg1), var(--bg2));
}
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  line-height:1.55;
  overflow-x:hidden;
  background: transparent; /* background handled by .bg */
}
a{ color:inherit; text-decoration:none; }
p{ margin:0; }
h1,h2,h3{ margin:0; line-height:1.12; color: var(--ink); }
h1{ font-size: clamp(2.1rem, 3.0vw, 3.1rem); letter-spacing:-0.7px; }
h2{ font-size: clamp(1.55rem, 2.1vw, 2.05rem); letter-spacing:-0.4px; }
h3{ font-size: 1.08rem; letter-spacing:-0.2px; }

.container{
  width: min(var(--max), calc(100% - 2*var(--pad)));
  margin: 0 auto;
}
.muted{ color: var(--muted); }
.small{ font-size: 0.92rem; }

/* ===== BACKGROUND (neutral radial effects, no blue) ===== */
.bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% 0%, rgba(0,0,0,0.05), transparent 58%),
    radial-gradient(1100px 650px at 0% 70%, rgba(0,0,0,0.055), transparent 60%),
    radial-gradient(1100px 650px at 100% 80%, rgba(0,0,0,0.05), transparent 60%),
    /* only a whisper of accent, neutralized */
    radial-gradient(900px 520px at 18% 10%, rgba(14,165,164,0.035), transparent 64%),
    linear-gradient(135deg,
      rgba(255,255,255,0.08) 0%,
      rgba(255,255,255,0.03) 35%,
      rgba(0,0,0,0.015) 55%,
      rgba(255,255,255,0.04) 75%,
      rgba(255,255,255,0.07) 100%
    );
}
.bg:after{ content:""; position:absolute; inset:0; background:none; }

/* ===== NAV ===== */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237,237,238,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 860;
}
.mark{
  width: 26px; height: 26px;
  border-radius: 9px;
  display:block;
  object-fit: contain;
  background: rgba(255,255,255,0.40);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.06);
}
.links{ display:flex; gap: 18px; align-items:center; }
.links a{
  color: rgba(17,18,20,0.78);
  font-weight: 700;
  padding: 10px 10px;
  border-radius: 12px;
}
.links a:hover{ background: rgba(0,0,0,0.04); }
.actions{ display:flex; gap: 10px; align-items:center; }

.burger{
  display:none;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  cursor:pointer;
}
.burger span{
  display:block;
  width: 18px; height: 2px;
  background: rgba(17,18,20,0.70);
  margin: 4px auto;
  border-radius: 999px;
}

.mobile-nav{ display:none; padding: 10px 0 16px; }
.mobile-nav a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  font-weight: 700;
  color: rgba(17,18,20,0.78);
}
.mobile-nav a:hover{ background: rgba(0,0,0,0.04); }
.mobile-actions{ display:grid; gap: 10px; padding-top: 10px; }
.mobile-nav.open{ display:block; }

@media (max-width: 980px){
  .links, .actions{ display:none; }
  .burger{ display:block; }
}

/* ===== BUTTONS (bigger text + defined edges) ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.14);
  padding: 11px 14px;
  font-weight: 820;
  font-size: 14.5px;
  letter-spacing: .15px;
  cursor:pointer;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.52));
  box-shadow: 0 10px 18px rgba(0,0,0,0.08);
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 14px 24px rgba(0,0,0,0.10);
}
.btn:active{ transform: translateY(0px); }
.btn-lg{ padding: 12px 18px; border-radius: 16px; font-size: 15px; }

.btn-primary{
  background: linear-gradient(180deg, #2a2a2e, #141416);
  border-color: rgba(0,0,0,0.30);
  color: rgba(255,255,255,0.95);
  box-shadow: 0 16px 28px rgba(0,0,0,0.16);
}
.btn-primary:hover{
  filter: brightness(1.05);
  box-shadow: 0 20px 34px rgba(0,0,0,0.18);
}

.btn-ghost{
  background: rgba(255,255,255,0.55);
  color: rgba(17,18,20,0.86);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.72); }

.btn-soft{
  background: rgba(0,0,0,0.06);
  color: rgba(17,18,20,0.86);
  border-color: rgba(0,0,0,0.12);
}
.btn-soft:hover{ background: rgba(0,0,0,0.08); }
.full{ width:100%; }

/* ===== HERO ===== */
.hero{ padding: 54px 0 20px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items:start;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  color: rgba(17,18,20,0.72);
  font-weight: 740;
  width: fit-content;
}
.lead{
  margin-top: 14px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
}
.cta-row{ margin-top: 18px; display:flex; gap: 12px; flex-wrap: wrap; }
.trust-inline{
  margin-top: 14px;
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(17,18,20,0.70);
  font-weight: 700;
}
.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(14,165,164,0.85);
  box-shadow: 0 0 0 6px rgba(14,165,164,0.10);
}

.stats{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.stat{
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.stat-value{ font-weight: 860; color: rgba(17,18,20,0.92); }
.stat-label{ margin-top: 6px; color: rgba(17,18,20,0.68); font-size: 0.95rem; }

.hero-preview{ position: relative; padding-top: 6px; }
.hero-photo{
  position: relative;
  border-radius: var(--radius2);
  overflow: hidden;
  border: 10px solid rgba(0,0,0,0.10);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
  height: 350px;
  bottom: 20px;
}
.hero-photo img{
  width: 100%;
  height: 80%;
  object-fit: cover;
  object-position: 120% 62%;
  transform: scale(1.02);
  filter: saturate(0.88) contrast(0.96) brightness(0.99);
}
.hero-photo-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(237,237,238,0.0) 0%, rgba(237,237,238,0.55) 68%, rgba(237,237,238,0.86) 100%),
    radial-gradient(700px 220px at 60% 30%, rgba(14,165,164,0.06), transparent 60%);
}

/* Dashboard panel floats on top */
.panel{
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: var(--radius2);
  padding: 16px;
  box-shadow: var(--shadow);
}
.panel-float{ margin-top: -150px; position: relative; z-index: 2; }

.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
.ph-title{ font-weight: 900; color: rgba(17,18,20,0.92); }
.ph-sub{ margin-top: 4px; color: rgba(17,18,20,0.62); font-weight: 650; font-size: 0.92rem; }
.ph-pill{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14,165,164,0.08);
  border: 1px solid rgba(14,165,164,0.16);
  color: rgba(17,18,20,0.74);
  font-weight: 760;
  font-size: 0.90rem;
}

.job{
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.10);
}
.job-top{ display:flex; align-items:flex-start; justify-content:space-between; gap: 12px; }
.job-title{ font-weight: 860; color: rgba(17,18,20,0.92); }
.job-meta{ margin-top: 6px; color: rgba(17,18,20,0.62); font-size: 0.95rem; }
.job-score{ font-weight: 950; font-size: 1.25rem; }
.job-score.good{ color: rgba(14,165,164,0.90); }
.job-score.mid{ color: rgba(17,18,20,0.78); }

.job-reason{ margin-top: 10px; color: rgba(17,18,20,0.70); font-size: 0.95rem; }
.job-actions{ margin-top: 10px; display:flex; gap: 8px; flex-wrap: wrap; }
.chip{
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.60);
  color: rgba(17,18,20,0.78);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 780;
  cursor:pointer;
}
.chip:hover{ background: rgba(255,255,255,0.78); }

.panel-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid rgba(0,0,0,0.10);
}
.foot-note{ color: rgba(17,18,20,0.62); font-weight: 700; font-size: 0.92rem; }
.link{ color: rgba(17,18,20,0.88); font-weight: 820; }
.link:hover{ text-decoration: underline; }

/* Mini panels moved to left column */
.mini-panels.mini-left{ margin-top: 14px; }
.mini-panels.mini-left .mini-img{ height: 110px; }
@media (min-width: 981px){
  .mini-panels.mini-left{ max-width: 560px; }
}

.mini-panels{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini{
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  overflow: hidden;
}
.mini-title{ font-weight: 860; color: rgba(17,18,20,0.90); }
.mini-text{ margin-top: 6px; color: rgba(17,18,20,0.66); }

/* image mini-cards */
.mini-with-img{ padding: 0; }
.mini-img{
  height: 132px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
.mini-img img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: saturate(0.90) contrast(0.97) brightness(0.995);
}
.mini-with-img .mini-title,
.mini-with-img .mini-text{ padding: 12px 12px 0; }
.mini-with-img .mini-text{ padding-bottom: 12px; }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: 1fr; }
  .mini-panels{ grid-template-columns: 1fr; }
  .panel-float{ margin-top: -120px; }
  .hero-photo{ height: 280px; }
}

/* ===== STRIP ===== */
.strip{ padding: 12px 0; }
.strip-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.strip-left{ color: rgba(17,18,20,0.70); font-weight: 720; }
.strip-right{ display:flex; gap: 10px; flex-wrap: wrap; justify-content:flex-end; }
.badge{
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  color: rgba(17,18,20,0.72);
  font-weight: 760;
  font-size: 0.92rem;
}
@media (max-width: 980px){
  .strip-inner{ flex-direction:column; align-items:flex-start; }
  .strip-right{ justify-content:flex-start; }
}

/* ===== SECTIONS ===== */
.section{ padding: 64px 0; }
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,0.26), rgba(255,255,255,0.12));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 22px;
  margin-bottom: 18px;
}
.sub{ color: var(--muted); max-width: 72ch; }

/* HOW layout with image */
.how-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items:start;
}
@media (max-width: 980px){
  .how-grid{ grid-template-columns: 1fr; }
}

.steps{
  background: rgba(255,255,255,0.40);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 16px;
}
.step{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
.step:last-child{ border-bottom:none; }
.num{
  width: 34px; height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(14,165,164,0.08);
  border: 1px solid rgba(14,165,164,0.16);
  font-weight: 900;
  color: rgba(17,18,20,0.86);
}
.step p{ margin-top: 6px; color: rgba(17,18,20,0.68); }

.how-visual{ display:grid; gap: 12px; }
.photo-card{
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: var(--shadow2);
}
.photo-card img{
  width:100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(0.90) contrast(0.97) brightness(0.995);
}
.photo-caption{ padding: 12px 14px 14px; }
.pc-title{ font-weight: 900; color: rgba(17,18,20,0.90); }
.pc-sub{ margin-top: 6px; color: rgba(17,18,20,0.68); }

.callout{
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--line);
  color: rgba(17,18,20,0.74);
  font-weight: 680;
}

/* Split */
.split{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}
.ticks{ display:grid; gap: 10px; }
.tick{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.34);
  font-weight: 760;
  color: rgba(17,18,20,0.74);
}
@media (max-width: 980px){
  .section-head{ flex-direction:column; align-items:flex-start; }
  .split{ grid-template-columns: 1fr; }
}

/* Features */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.feature{
  background: rgba(255,255,255,0.40);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  overflow:hidden;
}
.feature-media{
  height: 130px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,0.10);
  margin-bottom: 12px;
}
.feature-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.97) brightness(0.995);
}
.feature p{ margin-top: 8px; color: rgba(17,18,20,0.70); }

@media (max-width: 1100px){
  .feature-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px){
  .feature-grid{ grid-template-columns: 1fr; }
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items:start;
}
.plan{
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
}
.plan-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
.plan-name{ font-weight: 950; color: rgba(17,18,20,0.92); }
.plan-desc{ margin-top: 6px; color: rgba(17,18,20,0.62); }
.plan-price{
  font-weight: 980;
  font-size: 2.2rem;
  color: rgba(17,18,20,0.92);
  letter-spacing: -0.6px;
  white-space: nowrap;
}
.pounds{ font-size: 1.2rem; margin-right: 2px; }
.per{ font-size: 1rem; color: rgba(17,18,20,0.62); font-weight: 760; }

.plan-list{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display:grid;
  gap: 10px;
}
.plan-list li{
  padding-left: 24px;
  position: relative;
  color: rgba(17,18,20,0.74);
  font-weight: 680;
}
.plan-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: rgba(14,165,164,0.90);
  font-weight: 950;
}
.plan-actions{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fine{ margin-top: 12px; color: rgba(17,18,20,0.62); font-weight: 700; }

.week{ margin-top: 12px; display:grid; gap: 10px; }
.week-item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(17,18,20,0.72);
  font-weight: 680;
}
.w-dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.30);
  box-shadow: 0 0 0 6px rgba(0,0,0,0.08);
  margin-top: 6px;
}
.note{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.40);
  border: 1px solid var(--line);
  color: rgba(17,18,20,0.72);
}
@media (max-width: 980px){
  .pricing{ grid-template-columns: 1fr; }
}

/* FAQ + final */
.faq{ display:grid; gap: 10px; }
details{
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
summary{
  cursor:pointer;
  font-weight: 860;
  color: rgba(17,18,20,0.88);
}
details p{ margin-top: 10px; color: rgba(17,18,20,0.72); }

.final{
  margin-top: 18px;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  box-shadow: var(--shadow2);
}
.final-actions{ display:flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 980px){
  .final{ flex-direction: column; align-items:flex-start; }
}

/* Footer */
.footer{
  padding: 46px 0;
  border-top: 1px solid var(--line);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
}
.foot-links{ display:flex; gap: 40px; }
.foot-title{
  font-weight: 900;
  margin-bottom: 10px;
  color: rgba(17,18,20,0.88);
}
.foot-links a{
  display:block;
  padding: 6px 0;
  color: rgba(17,18,20,0.72);
  font-weight: 700;
}
.foot-links a:hover{ color: rgba(17,18,20,0.90); }
@media (max-width: 980px){
  .footer-inner{ flex-direction: column; }
  .foot-links{ gap: 26px; }
}

/* =========================
   AUTH + APP SHELL (UNIFIED)
   ========================= */

.auth{ padding: 52px 0 70px; }

.auth-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}
.auth-hero{ padding: 18px 0; }

.auth-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.52);
  border: 1px solid var(--line);
  color: rgba(17,18,20,0.72);
  font-weight: 820;
  width: fit-content;
}
.pill-dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(14,165,164,0.88);
  box-shadow: 0 0 0 7px rgba(14,165,164,0.09);
}
.auth-headline{
  margin-top: 14px;
  font-size: clamp(2.0rem, 3.2vw, 3.2rem);
  letter-spacing: -0.8px;
}
.auth-sub{
  margin-top: 12px;
  color: rgba(17,18,20,0.66);
  max-width: 62ch;
  font-size: 1.05rem;
}
.auth-bullets{ margin-top: 16px; display:grid; gap: 10px; }
.auth-bullet{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.40);
  border: 1px solid rgba(0,0,0,0.10);
  font-weight: 760;
  color: rgba(17,18,20,0.72);
}
.auth-trust{
  margin-top: 16px;
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(17,18,20,0.70);
  font-weight: 760;
}

.auth-card, .register-card{
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 18px;
}

.auth-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  margin-bottom: 14px;
}
.auth-title{
  font-weight: 950;
  font-size: 1.35rem;
  color: rgba(17,18,20,0.92);
}
.auth-muted{
  margin-top: 6px;
  color: rgba(17,18,20,0.62);
  font-weight: 700;
  font-size: 0.95rem;
}
.auth-badge{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  color: rgba(17,18,20,0.74);
  font-weight: 820;
  font-size: 0.90rem;
}

.alert{
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.42);
  color: rgba(17,18,20,0.78);
  font-weight: 720;
  margin-bottom: 12px;
}
.alert-error{
  border-color: rgba(220,38,38,0.25);
  background: rgba(220,38,38,0.08);
  color: rgba(17,18,20,0.86);
}

.form{ display:grid; gap: 12px; }
.field{ display:grid; gap: 8px; }
.label{
  font-weight: 820;
  color: rgba(17,18,20,0.78);
  font-size: 0.95rem;
}
.input{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.62);
  padding: 12px 12px;
  font-weight: 760;
  color: rgba(17,18,20,0.86);
  outline: none;
  transition: box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
.input:focus{
  border-color: rgba(0,0,0,0.22);
  box-shadow: 0 0 0 5px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.74);
}
.input-area{ min-height: 120px; resize: vertical; }

.form-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.check{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 760;
  color: rgba(17,18,20,0.70);
}
.form-foot{
  text-align:center;
  color: rgba(17,18,20,0.72);
  font-weight: 740;
  padding-top: 6px;
}
.auth-footer{ margin-top: 14px; padding: 12px 2px 0; }

/* Register layout */
.register-shell{ display:grid; gap: 14px; }
.register-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
}
.register-steps{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.step-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.46);
  border: 1px solid rgba(0,0,0,0.10);
  font-weight: 820;
  color: rgba(17,18,20,0.70);
  font-size: 0.92rem;
}
.step-pill span{
  width: 22px; height: 22px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  font-weight: 950;
}
.step-pill.active{
  background: rgba(14,165,164,0.10);
  border-color: rgba(14,165,164,0.20);
  color: rgba(17,18,20,0.82);
}
.step-pill.active span{
  background: rgba(14,165,164,0.12);
  border-color: rgba(14,165,164,0.18);
}

.reg-step{ display:none; }
.reg-step.active{ display:block; }

.card-headline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  margin-bottom: 14px;
}
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.step-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.10);
}

/* Job type selector */
.jobtype-shell{ display:grid; gap: 12px; }
.jobtype-search{ display:flex; gap: 10px; align-items:center; }
.chip-grid{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 2px;
}
.chip-select{
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.56);
  color: rgba(17,18,20,0.78);
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 820;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.chip-select:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.74); }
.chip-select.on{
  background: rgba(14,165,164,0.10);
  border-color: rgba(14,165,164,0.20);
  color: rgba(17,18,20,0.86);
}
.selected-wrap{
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.44);
}
.selected-title{ font-weight: 900; margin-bottom: 10px; }
.selected-chips{ display:flex; flex-wrap: wrap; gap: 10px; }
.sel-pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  font-weight: 820;
}
.sel-pill button{
  border: none;
  background: transparent;
  cursor:pointer;
  font-weight: 950;
  font-size: 1.1rem;
  line-height: 1;
  color: rgba(17,18,20,0.68);
}

/* =========================
   APP SHELL (Dashboard pages)
   Uses .side from your sidebar partial
   ========================= */

.app-shell{
  min-height: 100vh;
  display:grid;
  grid-template-columns: var(--side-w) 1fr;
}

/* Sidebar (single definition) */
.side{
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 14px;
  border-right: 1px solid var(--side-border);
  background: linear-gradient(180deg, var(--side-bg-top), var(--side-bg-bot));
  display:flex;
  flex-direction: column;
  gap: 12px;
  color: var(--side-text);
}

.side-brand{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.46);
  border: 1px solid rgba(0,0,0,0.08);
}
.side-brand:hover{ background: rgba(255,255,255,0.62); }

.side .mark{
  width:30px; height:30px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 5px;
}

.side-user{
  display:grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items:center;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.50);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}
.avatar{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight: 950;
  color: rgba(17,18,20,0.84);
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
}
.side-name{ font-weight: 920; color: rgba(17,18,20,0.90); }
.side-sub{ margin-top: 4px; color: rgba(17,18,20,0.62); font-weight: 740; font-size: .92rem; }

.side-group{ display:grid; gap: 8px; }

.side-title{
  padding: 0 6px;
  font-weight: 900;
  color: rgba(17,18,20,0.56);
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Sidebar links (defined + readable) */
.side-nav{ display:flex; flex-direction:column; gap: 8px; }

.side-link{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.12);
  background: linear-gradient(180deg, var(--side-item-top), var(--side-item-bot));
  font-weight: 860;
  font-size: 14px;
  color: rgba(17,18,20,0.78);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
.side-link:hover{
  filter: brightness(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.side-link:active{ transform: translateY(1px); }

.side-link.active{
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.58));
  border-color: rgba(0,0,0,0.18);
  color: rgba(17,18,20,0.90);
}

.side-link.danger{
  color: rgba(185,28,28,0.92);
  border-color: rgba(185,28,28,0.20);
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.46));
}
.sico{ width: 24px; display:inline-flex; justify-content:center; opacity: .92; }

/* Sidebar CTA */
.side-cta{
  margin-top: auto;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.52);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}
.cta-title{ font-weight: 950; color: rgba(17,18,20,0.88); }
.cta-sub{ margin-top: 6px; color: var(--side-muted); }

/* Sidebar CTA button: larger text + defined */
.side-cta .btn.btn-primary,
.btn.btn-primary{
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 900;
  letter-spacing: .2px;
  background: linear-gradient(180deg, #2a2a2e, #141416);
  color: rgba(255,255,255,.95);
  border: 1px solid rgba(0,0,0,.32);
  box-shadow: 0 16px 28px rgba(0,0,0,.16);
}
.side-cta .btn.btn-primary:hover,
.btn.btn-primary:hover{
  filter: brightness(1.05);
  box-shadow: 0 20px 34px rgba(0,0,0,.18);
}

/* Main area */
.main{ padding: 22px; }
.main-wrap{
  width: min(var(--max), calc(100% - 2*var(--pad)));
  margin: 0 auto;
}

/* ===== DASHBOARD TOP / CARDS ===== */
.main-top,
.app-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  padding: 18px 18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: var(--shadow2);
}

.top-kicker{ color: rgba(17,18,20,0.62); font-weight: 820; }
.top-title{
  margin-top: 6px;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  letter-spacing: -0.6px;
}
.top-sub{ margin-top: 8px; color: rgba(17,18,20,0.68); font-weight: 740; }
.top-actions{ display:flex; gap: 10px; flex-wrap: wrap; }

.dash-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.dash-two{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.dash-card,
.card{
  background: var(--surface);
  border: 1px solid var(--line2);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 16px;
}

.card-h{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  margin-bottom: 14px;
}

/* ===== DASHBOARD POLISH PASS ===== */
.main-wrap{ display: grid; gap: 14px; }
.card{ margin-top: 2px; }

.kpis{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.kpi{
  background: rgba(255,255,255,0.40);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: var(--radius2);
  padding: 14px;
  box-shadow: var(--shadow2);
}
.kpi-top{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.kpi-label{ font-weight: 900; color: rgba(17,18,20,0.78); }
.kpi-pill{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  font-weight: 820;
  font-size: .9rem;
}
.kpi-pill.good{ background: rgba(14,165,164,0.10); border-color: rgba(14,165,164,0.18); }
.kpi-pill.mid{ background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.10); }

.kpi-val,
.kpi-value{
  margin-top: 10px;
  font-weight: 980;
  font-size: 2.0rem;
  letter-spacing: -0.6px;
  color: rgba(17,18,20,0.92);
}

.kpi-bar{
  margin-top: 12px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
}
.kpi-bar span{
  display:block;
  height:100%;
  width: 40%;
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
}
.kpi-pill.good ~ .kpi-bar span{ background: rgba(14,165,164,0.55); }

.hstack{ display:flex; align-items:flex-start; gap: 12px; }
.card-icon{
  width: 40px; height: 40px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(14,165,164,0.08);
  border: 1px solid rgba(14,165,164,0.16);
  font-size: 1.05rem;
}
.card-icon.subtle{
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.10);
}

.tag-strong{
  background: rgba(14,165,164,0.10);
  border: 1px solid rgba(14,165,164,0.18);
  color: rgba(17,18,20,0.82);
  font-weight: 900;
}

/* Lists */
.list{ display:grid; gap: 10px; margin-top: 12px; }
.list-item{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.04);
}
.li-title{ font-weight: 920; color: rgba(17,18,20,0.90); }
.li-sub{ margin-top: 6px; color: rgba(17,18,20,0.62); font-weight: 720; }
.score{ font-weight: 980; font-size: 1.25rem; }
.score.good{ color: rgba(14,165,164,0.90); }
.score.mid{ color: rgba(17,18,20,0.78); }

/* Action cards */
.action-grid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.action-card{
  display:block;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.40);
  transition: transform .12s ease, filter .12s ease;
}
.action-card:hover{ transform: translateY(-1px); filter: brightness(1.02); }
.ac-ico{ font-size: 1.4rem; }
.ac-title{ margin-top: 10px; font-weight: 920; color: rgba(17,18,20,0.88); }
.ac-sub{ margin-top: 6px; color: rgba(17,18,20,0.64); font-weight: 720; }

.todo{ margin-top: 12px; display:grid; gap: 10px; }
.todo-row{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.04);
  font-weight: 820;
  color: rgba(17,18,20,0.76);
}

.timeline{ margin-top: 12px; display:grid; gap: 12px; }
.tl-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.04);
}
.tl-dot{
  width: 12px; height: 12px;
  border-radius: 999px;
  background: rgba(14,165,164,0.88);
  box-shadow: 0 0 0 7px rgba(14,165,164,0.09);
  margin-top: 5px;
}
.tl-title{ font-weight: 920; }
.app-foot{ margin-top: 14px; padding: 6px 2px 0; }

/* ===== PROFILE PAGE ADDON ===== */
.profile-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.profile-card .form-grid{ grid-template-columns: 1fr 1fr; }

.subcard{
  margin-top: 12px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.40);
}
.subcard-title{
  font-weight: 950;
  color: rgba(17,18,20,0.82);
  margin-bottom: 10px;
}
.pill-row{ display: flex; flex-wrap: wrap; gap: 10px; }
.pill-check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.10);
  font-weight: 820;
  color: rgba(17,18,20,0.72);
  cursor: pointer;
  user-select: none;
}
.pill-check input{ transform: translateY(1px); }
.profile-actions{
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 6px;
}
.profile-card .input-area{ min-height: 110px; }

/* ===== JOB FEED ===== */
.feed-shell{
  display: grid;
  grid-template-columns: 0.55fr 1.1fr 0.75fr;
  gap: 12px;
  align-items: start;
}
.feed-filters .form-grid{ margin-top: 8px; }
.jobs-grid{ display: grid; gap: 10px; margin-top: 10px; }

.job-card{
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.10);
  display: grid;
  gap: 10px;
}
.job-title{
  font-weight: 950;
  color: rgba(17,18,20,0.88);
  letter-spacing: -0.02em;
}
.job-snippet{ line-height: 1.45; }
.job-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}

.feed-detail .detail-title{
  font-weight: 950;
  letter-spacing: -0.02em;
  color: rgba(17,18,20,0.90);
  font-size: 1.05rem;
}
.detail-body{
  margin-top: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.40);
  border: 1px solid rgba(0,0,0,0.10);
}
.detail-text{
  color: rgba(17,18,20,0.76);
  font-weight: 720;
  line-height: 1.55;
}
.detail-actions{
  display:flex;
  gap: 10px;
  justify-content:flex-end;
  margin-top: 12px;
}
.chip-check{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.10);
  font-weight: 850;
  color: rgba(17,18,20,0.78);
  cursor: pointer;
  user-select: none;
}
.chip-check input{ accent-color: var(--primary); }

@media (max-width: 1200px){
  .feed-shell{ grid-template-columns: 1fr; }
}

/* ===== Analytics / Diary (fixed: remove dark theme leftovers) ===== */
.analytics-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.analytics-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px;
  border-radius:12px;
  background: rgba(255,255,255,0.40);
  border:1px solid rgba(0,0,0,0.10);
}
.analytics-count{ font-weight:800; font-size:15px; }

.cal{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:10px;
}
.cal-h{
  font-size:12px;
  color:rgba(17,18,20,0.55);
  text-transform:uppercase;
  letter-spacing:.12em;
  padding:6px 4px;
}
.cal-d{
  display:block;
  border-radius:14px;
  padding:10px 10px 12px;
  border:1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.38);
  text-decoration:none;
  min-height:52px;
  position:relative;
  transition: transform .15s ease, border-color .15s ease, filter .15s ease;
}
.cal-d:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
  border-color: rgba(0,0,0,0.14);
}
.cal-blank{ background: transparent; border:0; }
.cal-n{ font-size:13px; font-weight:800; color:rgba(17,18,20,0.90); }
.cal-dot{
  position:absolute;
  right:10px;
  bottom:10px;
  font-size:11px;
  padding:3px 8px;
  border-radius:999px;
  background: rgba(0,0,0,0.06);
  border:1px solid rgba(0,0,0,0.10);
  color: rgba(17,18,20,0.78);
}
.cal-d.is-sel{
  border-color: rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.55);
}
.cal-d.is-today{
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10) inset;
}

.diary-list{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding-top: 4px;
}
.diary-item{
  border-radius:16px;
  padding:14px;
  border:1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.38);
}
.diary-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.diary-body{ margin-top:10px; line-height:1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1050px){
  .auth-grid{ grid-template-columns: 1fr; }
  .register-head{ flex-direction: column; align-items:flex-start; }
  .register-steps{ justify-content:flex-start; }
  .form-grid{ grid-template-columns: 1fr; }
  .app-shell{ grid-template-columns: 1fr; }
  .side{ position: relative; height: auto; }
  .dash-grid{ grid-template-columns: 1fr 1fr; }
  .dash-two{ grid-template-columns: 1fr; }
  .action-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .dash-grid{ grid-template-columns: 1fr; }
  .action-grid{ grid-template-columns: 1fr; }
  .jobtype-search{ flex-direction: column; align-items: stretch; }
}
/* =========================
   DASHBOARD (layout polish)
   ========================= */

.dash-layout{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  align-items:start;
}

.dash-col{ display:grid; gap: 12px; }
.dash-rail{ display:grid; gap: 12px; }

/* "Tag" used in dashboard headings */
.tag{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.05);
  font-weight: 900;
  font-size: 0.9rem;
  color: rgba(17,18,20,0.78);
}

/* Next best action layout */
.dash-nba{
  display:grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  align-items:start;
}

.nba-title{
  font-weight: 980;
  font-size: 1.12rem;
  color: rgba(17,18,20,0.92);
  letter-spacing: -0.02em;
}
.nba-sub{ margin-top: 6px; }

.nba-meta{
  margin-top: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.44);
  border: 1px solid rgba(0,0,0,0.10);
  font-weight: 850;
  color: rgba(17,18,20,0.72);
  font-size: 0.92rem;
}

.nba-right{ display:grid; gap: 10px; }

/* Shortcuts (cards) */
.shortcut-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.shortcut{
  display:block;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.40);
  transition: transform .12s ease, filter .12s ease, border-color .12s ease;
}
.shortcut:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
  border-color: rgba(0,0,0,0.14);
}
.si{ font-size: 1.45rem; }
.st{
  margin-top: 10px;
  font-weight: 950;
  color: rgba(17,18,20,0.88);
}
.ss{
  margin-top: 6px;
  color: rgba(17,18,20,0.64);
  font-weight: 720;
}

/* Signals */
.signals{ display:grid; gap: 10px; margin-top: 12px; }
.sig{
  display:grid;
  grid-template-columns: 14px 1fr auto;
  gap: 10px;
  align-items:center;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(0,0,0,0.04);
  font-weight: 820;
  color: rgba(17,18,20,0.78);
}
.sd{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  box-shadow: 0 0 0 7px rgba(0,0,0,0.08);
}
.sd.good{
  background: rgba(14,165,164,0.88);
  box-shadow: 0 0 0 7px rgba(14,165,164,0.10);
}
.sd.mid{
  background: rgba(0,0,0,0.32);
  box-shadow: 0 0 0 7px rgba(0,0,0,0.08);
}
.sr{
  font-weight: 900;
  color: rgba(17,18,20,0.72);
}

/* Quick actions in rail */
.quick-actions{ display:grid; gap: 10px; margin-top: 12px; }

/* Tip box */
.dash-tip{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.38);
  color: rgba(17,18,20,0.74);
  font-weight: 720;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 1050px){
  .dash-layout{ grid-template-columns: 1fr; }
  .dash-nba{ grid-template-columns: 1fr; }
  .shortcut-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .shortcut-grid{ grid-template-columns: 1fr; }
}
/* =========================
   DASHBOARD — rail essentials
   ========================= */

.essentials{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}

.es-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.34);
}

.es-left{ min-width: 0; }
.es-title{
  font-weight: 950;
  color: rgba(17,18,20,0.86);
  letter-spacing: -0.01em;
}
.es-sub{
  margin-top: 5px;
  font-weight: 740;
  font-size: 0.95rem;
  color: rgba(17,18,20,0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* =========================
   PROFILE — clean, organised layout
   ========================= */

.profile-top { margin-bottom: 10px; }

.profile-actionbar{
  top: 12px;
  z-index: 20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 12px;
  margin: 10px 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.42);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.18);
}

.pa-left{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.pa-right{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }

.profile-layout{
  display:grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 16px;
  align-items:start;
}

.profile-main{ display:grid; gap: 16px; }
.profile-side{ display:grid; gap: 16px; }

@media (max-width: 980px){
  .profile-layout{ grid-template-columns: 1fr; }
  .profile-side{ position: static; }
  .profile-actionbar{ top: 8px; }
}

.profile-card .card-h{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.hstack{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.card-icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.38);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  font-size: 18px;
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px){
  .grid-2{ grid-template-columns: 1fr; }
}

.need-input .input{
  border-color: rgba(255, 90, 90, .35) !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, .08);
}
.need-input .hint{
  display:block;
  margin-top:6px;
  font-size:12px;
  color: rgba(255, 125, 125, .92);
}

.missing-banner{
  margin: 10px 0 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 90, 90, .28);
  background: rgba(255, 90, 90, .07);
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.missing-banner .dot{
  width:10px;height:10px;border-radius:999px;
  background: rgba(255,90,90,.85);
  margin-top:4px;
  box-shadow: 0 0 0 4px rgba(255,90,90,.12);
}

.chips-tight{ gap: 8px !important; }
.jt-toolbar{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-top: 10px;
  margin-bottom: 10px;
}
.jt-search{ flex: 1 1 auto; }
.jt-btn{ white-space: nowrap; }

.jt-list{
  max-height: 340px;
  overflow:auto;
  padding-right: 4px;
}
.jt-foot{ margin-top: 10px; opacity: .78; }

.danger-card{
  border: 1px solid rgba(255,90,90,.22);
  background: rgba(255,90,90,.05);
}
.danger-btn{
  width: 100%;
  justify-content: center;
  border-color: rgba(255,90,90,.30);
}

/* Loading overlay (kept clean + consistent) */
.cl-loading{
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(8px);
}
.cl-loading.on{ display:flex; }
.cl-loading .box{
  width: min(560px, calc(100% - 32px));
  border-radius: 18px;
  padding: 18px 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 40px rgba(0,0,0,0.50);
}
.cl-loading .title{ font-weight: 900; font-size: 16px; margin: 0 0 6px; }
.cl-loading .sub{ margin: 0; opacity: .85; font-size: 14px; min-height: 20px; }
.cl-loading .row{ display:flex; align-items:center; justify-content:space-between; margin-top: 10px; opacity: .85; font-size: 12px; }
.cl-loading .bar{
  margin-top: 10px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}
.cl-loading .bar > i{
  display:block; height:100%; width:35%;
  background: rgba(255,255,255,0.30);
  border-radius: 999px;
  animation: clSlide 1.1s ease-in-out infinite;
}
@keyframes clSlide{
  0%{ transform: translateX(-120%); }
  100%{ transform: translateX(320%); }
}

/* Gate callouts (clean) */
.gate-wrap{ max-width: 980px; margin: 0 auto; padding: 22px 0; }
.gate-hero{
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 16px 38px rgba(0,0,0,0.16);
}
.gate-actions{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top: 12px; }

.cv-callout{
  margin: 12px 0 0;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 173, 99, .30);
  background: rgba(255, 173, 99, .08);
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.cv-callout .dot{
  width:10px;height:10px;border-radius:999px;
  background: rgba(255,173,99,.9);
  margin-top:4px;
  box-shadow: 0 0 0 4px rgba(255,173,99,.18);
}
.cv-callout .txt strong{ display:block; margin-bottom:3px; }
/* Job Types pills: add breathing room (only in Job Types section) */
.jt-list{
  padding: 6px 4px 2px;
}

.jt-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;            /* ✅ more padding */
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.42);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.jt-item input[type="checkbox"]{
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}

/* Remove padding from the inner span so it doesn’t crush the checkbox */
.jt-item span{
  padding: 0 !important;
  line-height: 1.15;
  font-weight: 650;
  white-space: nowrap;
}

.chips-tight{
  gap: 10px !important;          /* ✅ a touch more gap */
}
/* CV preview */
.cv-preview{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.25);
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

.cv-preview-frame{
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
  background: transparent;
}

@media (max-width: 980px){
  .cv-preview-frame{ height: 420px; }
}
/* Smaller, cleaner action bar */
.profile-actionbar{
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}

.btn-sm{
  padding: 9px 12px !important;
  border-radius: 12px !important;
  font-weight: 750;
}

/* CV pill */
.cv-pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.45);
}

.cv-pill-dot{
  width:10px;height:10px;border-radius:999px;
  background: rgba(40, 180, 120, .95);
  box-shadow: 0 0 0 4px rgba(40, 180, 120, .14);
}

.cv-pill-label{
  font-size: 13px;
  opacity: .92;
}

/* Bottom save */
.profile-bottom-actions{
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.30);
  display:flex;
  justify-content:flex-end;
}

@media (max-width: 720px){
  .profile-bottom-actions{
    justify-content: stretch;
  }
  .profile-bottom-actions .btn{
    width: 100%;
  }
}

@media (max-width: 520px){
  .row{ flex-direction: column; align-items: stretch; }
  .row .btns{ justify-content: flex-start; }
}
/* --- Header mobile fixes --- */
.nav .nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* Keep actions together and prevent "first button disappears" layouts */
.nav .actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

/* Prevent long brand text from pushing buttons off-screen */
.nav .brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.nav .brand .name{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:48vw;
}

/* Burger defaults to hidden on desktop */
.burger{
  display:none;
  width:42px;
  height:42px;
  border:0;
  background:transparent;
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}
.burger span{
  display:block;
  height:2px;
  margin:5px 0;
  background:currentColor;
  border-radius:2px;
}

/* Mobile nav hidden by default */
.mobile-nav{
  display:none;
}

/* --- Mobile breakpoint --- */
@media (max-width: 820px){
  /* Hide desktop link row; use mobile menu instead */
  .nav .links{ display:none; }

  /* Show burger */
  .burger{ display:inline-flex; align-items:center; justify-content:center; }

  /* If your buttons are too wide, hide them in the top row and keep them in the menu */
  .nav .actions > a.btn{ display:none; }

  .mobile-nav{
    display:block;
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
  }
  .mobile-nav.open{
    max-height:520px; /* enough to show items */
  }

  .mobile-nav-inner{
    padding:12px 16px 18px;
    display:grid;
    gap:10px;
  }

  .mobile-nav a{
    text-decoration:none;
    padding:12px 10px;
    border-radius:12px;
  }

  .mobile-actions{
    display:flex;
    gap:10px;
    margin-top:6px;
  }
  .mobile-actions .btn{
    flex:1;
    text-align:center;
  }
}
/* Hide mobile login on desktop */
.mobile-login {
  display: none;
  margin-top: 12px;
}

/* Mobile adjustments */
@media (max-width: 820px){

  /* Show mobile login button */
  .mobile-login {
    display: block;
  }

  /* Keep hero buttons stacked nicely */
  .cta-row {
    flex-direction: column;
    gap: 12px;
  }

  .cta-row .btn {
    width: 100%;
    text-align: center;
  }

  .mobile-login .btn {
    width: 100%;
    text-align: center;
  }
}