/* ══════════════════════════════════════════════════════════
   TrustedContractor Network — Modern Professional UI v2
   ══════════════════════════════════════════════════════════ */

:root {
  --primary:      #E07B39;
  --primary-dk:   #C45F1E;
  --primary-lt:   #FFF4ED;
  --steel:        #1A2332;
  --steel-md:     #2B3A4A;
  --steel-lt:     #3D5166;
  --slate:        #4B5563;
  --muted:        #9CA3AF;
  --bg:           #F3F4F6;
  --surface:      #FFFFFF;
  --border:       #E5E7EB;
  --border-dk:    #D1D5DB;
  --success:      #059669;
  --success-bg:   #ECFDF5;
  --danger:       #DC2626;
  --danger-bg:    #FEF2F2;
  --warning:      #D97706;
  --warning-bg:   #FFFBEB;
  --info:         #2563EB;
  --info-bg:      #EFF6FF;
  --purple:       #7C3AED;
  --purple-bg:    #F5F3FF;

  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:       0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-md:    0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.05);
  --shadow-lg:    0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.05);

  --radius-sm:    4px;
  --radius:       8px;
  --radius-md:    12px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --nav-h:        60px;
  --font:         'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--steel);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Top Navigation ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--steel);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(224,123,57,.4);
}

.brand-text {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.2px;
}

.brand-text span { color: var(--primary); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
  flex: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .8rem;
  border-radius: var(--radius);
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  transition: all .15s;
  white-space: nowrap;
}

.nav-link:hover   { background: rgba(255,255,255,.08); color: #fff; }
.nav-link.active  { background: rgba(224,123,57,.2); color: var(--primary); }

.nav-icon { font-size: .9rem; }

.navbar-end {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
  flex-shrink: 0;
}

.notif-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 1rem;
  transition: all .15s;
}

.notif-btn:hover { background: rgba(255,255,255,.12); color: #fff; }

.notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  background: var(--primary);
  color: white;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--steel);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .6rem .3rem .35rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.avatar.gc    { background: linear-gradient(135deg, #E07B39, #C45F1E); }
.avatar.sub   { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.avatar.admin { background: linear-gradient(135deg, #7C3AED, #5B21B6); }

.user-name {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.role-pill {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: .1rem .45rem;
  border-radius: 99px;
}
.role-pill.gc    { background: rgba(224,123,57,.2); color: var(--primary); }
.role-pill.sub   { background: rgba(37,99,235,.2);  color: #60A5FA; }
.role-pill.admin { background: rgba(124,58,237,.2); color: #A78BFA; }

/* ── Layout ── */
.page-outer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--steel);
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.page-title-icon { color: var(--primary); }
.page-sub { font-size: .85rem; color: var(--muted); margin-top: .2rem; }

.page-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 1rem; }

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  gap: .75rem;
}

.card-title {
  font-weight: 700;
  font-size: .9rem;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.card-body { padding: 1.25rem; }
.card-footer {
  padding: .85rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* ── Stat Cards ── */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.stat-card.orange::before { background: var(--primary); }
.stat-card.blue::before   { background: var(--info); }
.stat-card.green::before  { background: var(--success); }
.stat-card.red::before    { background: var(--danger); }
.stat-card.purple::before { background: var(--purple); }

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stat-icon-wrap.orange { background: #FFF4ED; }
.stat-icon-wrap.blue   { background: var(--info-bg); }
.stat-icon-wrap.green  { background: var(--success-bg); }
.stat-icon-wrap.red    { background: var(--danger-bg); }
.stat-icon-wrap.purple { background: var(--purple-bg); }

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--steel);
  line-height: 1;
  letter-spacing: -.5px;
}

.stat-lbl {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .15rem;
  font-weight: 500;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: var(--radius);
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
  letter-spacing: .1px;
}

.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 1px 3px rgba(224,123,57,.3);
}
.btn-primary:hover { background: var(--primary-dk); box-shadow: 0 2px 8px rgba(224,123,57,.4); }

.btn-steel { background: var(--steel); color: white; }
.btn-steel:hover { background: var(--steel-md); }

.btn-success { background: var(--success); color: white; }
.btn-success:hover { background: #047857; }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #B91C1C; }

.btn-warning { background: var(--warning); color: white; }
.btn-warning:hover { background: #B45309; }

.btn-info { background: var(--info); color: white; }
.btn-info:hover { background: #1D4ED8; }

.btn-outline {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--border-dk);
}
.btn-outline:hover { background: var(--bg); border-color: var(--slate); }

.btn-ghost {
  background: transparent;
  color: var(--slate);
}
.btn-ghost:hover { background: var(--bg); }

.btn-sm  { padding: .3rem .7rem; font-size: .78rem; border-radius: var(--radius-sm); }
.btn-lg  { padding: .7rem 1.5rem; font-size: .9rem; border-radius: var(--radius-md); }
.btn-xl  { padding: .9rem 2rem; font-size: 1rem; border-radius: var(--radius-md); }

.btn-icon {
  width: 34px; height: 34px;
  padding: 0;
  justify-content: center;
  border-radius: var(--radius);
}

/* ── Trust Score ── */
.trust-score-ring {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.trust-score-ring svg { transform: rotate(-90deg); }

.trust-score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.trust-num  { font-size: 1.1rem; font-weight: 800; color: var(--steel); line-height: 1; }
.trust-lbl  { font-size: .6rem; color: var(--muted); font-weight: 600; text-transform: uppercase; }

.trust-bar-wrap { flex: 1; }
.trust-bar-label { display: flex; justify-content: space-between; margin-bottom: .35rem; font-size: .8rem; }
.trust-bar { height: 8px; background: var(--border); border-radius: 99px; overflow: hidden; }
.trust-bar-fill { height: 100%; border-radius: 99px; transition: width .4s ease; }

.trust-inline {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 99px;
}

/* ── Stars ── */
.stars { display: inline-flex; gap: .1rem; color: #FBBF24; font-size: .95rem; }
.stars .empty { color: var(--border-dk); }
.star-input { display: flex; gap: .25rem; }
.star-input input { display: none; }
.star-input label {
  font-size: 1.5rem;
  color: var(--border-dk);
  cursor: pointer;
  transition: color .1s;
  margin: 0;
  font-weight: 400;
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: #FBBF24; }
.star-input { flex-direction: row-reverse; }
.star-input label:hover,
.star-input label:hover ~ label { color: #FBBF24; }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .18rem .6rem;
  border-radius: 99px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3px;
  white-space: nowrap;
}

.badge-pending  { background: #FEF3C7; color: #92400E; }
.badge-verified { background: var(--success-bg); color: #065F46; }
.badge-rejected { background: var(--danger-bg); color: #991B1B; }
.badge-open     { background: var(--info-bg); color: #1E40AF; }
.badge-closed   { background: #F3F4F6; color: #374151; }
.badge-awarded  { background: var(--success-bg); color: #065F46; }
.badge-submitted    { background: var(--info-bg); color: #1E40AF; }
.badge-under-review { background: #FEF3C7; color: #92400E; }
.badge-accepted     { background: var(--success-bg); color: #065F46; }
.badge-rejected-bid { background: var(--danger-bg); color: #991B1B; }
.badge-new      { background: var(--primary-lt); color: var(--primary-dk); }
.badge-trade    { background: #F0F9FF; color: #0369A1; border: 1px solid #BAE6FD; }

/* ── Tables ── */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

table { width: 100%; border-collapse: collapse; }

thead th {
  padding: .75rem 1rem;
  background: var(--bg);
  color: var(--slate);
  font-size: .75rem;
  font-weight: 700;
  text-align: left;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: #FAFAFA; }
tbody td { padding: .85rem 1rem; color: var(--slate); font-size: .875rem; vertical-align: middle; }

/* ── Forms ── */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-wrap-header {
  background: var(--steel);
  color: white;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.form-wrap-header h2 { font-size: 1rem; font-weight: 700; }
.form-wrap-body { padding: 1.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 1rem; }

label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: .3rem;
  letter-spacing: .1px;
}

label .req { color: var(--danger); }

input[type=text], input[type=email], input[type=password],
input[type=number], input[type=date], input[type=tel], input[type=url],
select, textarea {
  width: 100%;
  padding: .55rem .85rem;
  border: 1.5px solid var(--border-dk);
  border-radius: var(--radius);
  font-size: .875rem;
  color: var(--steel);
  background: var(--surface);
  font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(224,123,57,.12);
}

select { appearance: none; cursor: pointer; }
textarea { resize: vertical; min-height: 100px; }

.field-hint { font-size: .75rem; color: var(--muted); margin-top: .25rem; }

.file-drop {
  border: 2px dashed var(--border-dk);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all .15s;
  background: var(--bg);
}

.file-drop:hover { border-color: var(--primary); background: var(--primary-lt); }
.file-drop input[type=file] { display: none; }
.file-drop-icon { font-size: 1.75rem; margin-bottom: .5rem; }
.file-drop-text { font-size: .85rem; color: var(--slate); }
.file-drop-hint { font-size: .75rem; color: var(--muted); margin-top: .25rem; }

/* ── Alerts & Flashes ── */
.flash-zone {
  max-width: 1200px;
  margin: .85rem auto 0;
  padding: 0 1.5rem;
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: .5rem;
  font-size: .875rem;
  border: 1px solid transparent;
}

.alert-icon { font-size: 1rem; flex-shrink: 0; margin-top: .05rem; }

.alert-success { background: var(--success-bg); color: #065F46; border-color: #A7F3D0; }
.alert-danger  { background: var(--danger-bg);  color: #991B1B; border-color: #FCA5A5; }
.alert-warning { background: var(--warning-bg); color: #92400E; border-color: #FCD34D; }
.alert-info    { background: var(--info-bg);    color: #1E40AF; border-color: #93C5FD; }

/* ── Warning Banners ── */
.warning-banner {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .875rem;
  font-weight: 500;
  border: 1px solid;
}

.warning-banner.expired  { background: var(--danger-bg);  color: #991B1B; border-color: #FCA5A5; }
.warning-banner.critical { background: var(--danger-bg);  color: #991B1B; border-color: #FCA5A5; }
.warning-banner.warning  { background: var(--warning-bg); color: #92400E; border-color: #FCD34D; }
.warning-banner.verified { background: var(--success-bg); color: #065F46; border-color: #A7F3D0; }
.warning-banner.pending  { background: #FFFBEB;           color: #92400E; border-color: #FCD34D; }

/* ── Contractor Profile Card ── */
.contractor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, transform .15s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contractor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.contractor-card-top {
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contractor-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
}

.contractor-name { font-weight: 700; font-size: .95rem; color: var(--steel); margin-bottom: .2rem; }
.contractor-trade { font-size: .78rem; color: var(--muted); }
.contractor-location { font-size: .78rem; color: var(--muted); margin-top: .1rem; }

.contractor-card-body { padding: 0 1.25rem 1rem; flex: 1; }
.contractor-card-footer {
  padding: .85rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

/* ── Profile Page ── */
.profile-header {
  background: linear-gradient(135deg, var(--steel) 0%, var(--steel-md) 100%);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.profile-avatar-lg {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,.2);
}

.profile-header-info h1 { font-size: 1.4rem; font-weight: 800; color: white; }
.profile-header-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }

.meta-chip {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  padding: .2rem .55rem;
  background: rgba(255,255,255,.08);
  border-radius: 99px;
}

/* ── Field display ── */
.field-list { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 560px) { .field-list { grid-template-columns: 1fr; } }

.field-item label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .2rem;
}

.field-item .fval {
  font-size: .9rem;
  color: var(--steel);
  font-weight: 500;
}

/* ── Bid cards ── */
.bid-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
  align-items: start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s;
}

.bid-card:hover { box-shadow: var(--shadow); }

.bid-title { font-weight: 700; color: var(--steel); margin-bottom: .2rem; font-size: .9rem; }
.bid-meta  { font-size: .78rem; color: var(--muted); }
.bid-price { font-size: 1.3rem; font-weight: 800; color: var(--primary); white-space: nowrap; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--steel) 0%, #243345 60%, #1E3A5F 100%);
  padding: 5rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(224,123,57,.15);
  border: 1px solid rgba(224,123,57,.3);
  color: var(--primary);
  padding: .3rem .85rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 1rem;
}

.hero h1 em { color: var(--primary); font-style: normal; }

.hero-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat-num { font-size: 1.5rem; font-weight: 800; color: white; }
.hero-stat-lbl { font-size: .75rem; color: rgba(255,255,255,.55); margin-top: .1rem; }

/* ── Search bar ── */
.search-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  max-width: 780px;
  margin: 2rem auto 0;
  position: relative;
}

.search-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: .6rem;
  align-items: end;
}

@media (max-width: 700px) { .search-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .search-grid { grid-template-columns: 1fr; } }

.search-grid .form-group { margin: 0; }

/* ── Filter bar ── */
.filter-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-end;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.filter-bar .form-group { margin: 0; }
.filter-bar select,
.filter-bar input { min-width: 130px; }

/* ── Messages ── */
.conv-list { list-style: none; }

.conv-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background .1s;
}

.conv-item:hover { background: var(--bg); }
.conv-item.unread .conv-subject { font-weight: 700; color: var(--steel); }
.conv-item.unread .conv-preview { color: var(--slate); }

.conv-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--steel);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

.conv-body { flex: 1; min-width: 0; }
.conv-subject { font-size: .875rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-preview { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: .1rem; }
.conv-meta { font-size: .72rem; color: var(--muted); flex-shrink: 0; }
.conv-unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

.msg-thread { display: flex; flex-direction: column; gap: .75rem; }

.msg-bubble {
  display: flex;
  flex-direction: column;
  max-width: 72%;
}

.msg-bubble.mine  { align-self: flex-end; align-items: flex-end; }
.msg-bubble.theirs { align-self: flex-start; align-items: flex-start; }

.bubble-content {
  padding: .65rem .95rem;
  border-radius: var(--radius-md);
  font-size: .875rem;
  line-height: 1.5;
  word-break: break-word;
}

.msg-bubble.mine  .bubble-content { background: var(--steel); color: white; border-bottom-right-radius: var(--radius-sm); }
.msg-bubble.theirs .bubble-content { background: var(--bg); color: var(--steel); border: 1px solid var(--border); border-bottom-left-radius: var(--radius-sm); }

.bubble-time { font-size: .7rem; color: var(--muted); margin-top: .2rem; padding: 0 .25rem; }

.msg-input-bar {
  display: flex;
  gap: .6rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.msg-input-bar textarea {
  flex: 1;
  min-height: 42px;
  max-height: 120px;
  resize: none;
  border-radius: var(--radius-md);
  padding: .55rem .85rem;
  font-size: .875rem;
}

/* ── Notification items ── */
.notif-list { list-style: none; }

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}

.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: #FFFBF7; }

.notif-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: .35rem; }
.notif-dot.unread { background: var(--primary); }
.notif-dot.read   { background: var(--border-dk); }

.notif-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
}

.notif-icon.invitation  { background: var(--info-bg);    }
.notif-icon.new_bid     { background: var(--primary-lt); }
.notif-icon.bid_accepted { background: var(--success-bg); }
.notif-icon.bid_rejected { background: var(--danger-bg);  }
.notif-icon.message     { background: var(--purple-bg);   }
.notif-icon.verification { background: var(--success-bg); }
.notif-icon.review      { background: #FFFBEB;            }

.notif-msg  { font-size: .875rem; color: var(--slate); }
.notif-time { font-size: .72rem; color: var(--muted); margin-top: .2rem; }

/* ── Document row ── */
.doc-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: .5rem;
}

.doc-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.doc-icon.pdf  { background: #FEE2E2; }
.doc-icon.img  { background: #ECFDF5; }
.doc-icon.doc  { background: var(--info-bg); }
.doc-icon.gen  { background: var(--bg); }

.doc-name { font-weight: 600; font-size: .875rem; color: var(--steel); }
.doc-meta { font-size: .75rem; color: var(--muted); margin-top: .1rem; }

/* ── Review card ── */
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: .65rem;
}

.review-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.review-author { font-weight: 700; font-size: .875rem; color: var(--steel); }
.review-date   { font-size: .75rem; color: var(--muted); margin-left: auto; }
.review-text   { font-size: .875rem; color: var(--slate); line-height: 1.6; }

/* ── Section headers ── */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .85rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--border);
}

.section-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ── Empty state ── */
.empty {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--muted);
}

.empty-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.empty h3   { font-size: 1rem; color: var(--slate); margin-bottom: .4rem; font-weight: 700; }
.empty p    { font-size: .875rem; max-width: 320px; margin: 0 auto; }

/* ── Sidebar layout ── */
.layout-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}

@media (max-width: 860px) { .layout-sidebar { grid-template-columns: 1fr; } }

/* ── Misc utils ── */
.divider { height: 1px; background: var(--border); margin: 1.25rem 0; }
.text-muted  { color: var(--muted) !important; }
.text-orange { color: var(--primary) !important; }
.text-green  { color: var(--success) !important; }
.text-red    { color: var(--danger) !important; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fs-sm  { font-size: .8rem; }
.fs-lg  { font-size: 1.05rem; }
.d-flex { display: flex; align-items: center; }
.gap-1  { gap: .4rem; }
.gap-2  { gap: .75rem; }
.gap-3  { gap: 1.25rem; }
.flex-1 { flex: 1; }
.ml-auto { margin-left: auto; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.p-0 { padding: 0 !important; }

/* ── Role selector (register) ── */
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.25rem; }
.role-opt input { display: none; }
.role-opt label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1rem;
  border: 2px solid var(--border-dk);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all .15s;
  font-weight: 600;
  font-size: .85rem;
  color: var(--slate);
  text-align: center;
  margin: 0;
}

.role-opt label .opt-icon { font-size: 1.5rem; }
.role-opt input:checked + label { border-color: var(--primary); background: var(--primary-lt); color: var(--primary-dk); }

.sub-extra { display: none; }
.sub-extra.show { display: block; }

/* ── Auth page ── */
.auth-page { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: flex-start; justify-content: center; padding: 2rem 1rem; }
.auth-box { width: 100%; max-width: 500px; }

/* ── Footer ── */
footer {
  background: var(--steel);
  color: rgba(255,255,255,.4);
  text-align: center;
  padding: 1.5rem;
  font-size: .78rem;
  margin-top: 4rem;
}

footer a { color: rgba(255,255,255,.6); text-decoration: none; }
footer a:hover { color: var(--primary); }

/* ── Responsive nav ── */
@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .nav-link .nav-txt { display: none; }
  .brand-text { display: none; }
  .user-name { display: none; }
  .role-pill { display: none; }
  .page-outer { padding: 1.25rem 1rem; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-dk); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE STYLES — Professional SaaS Homepage
   ═══════════════════════════════════════════════════════════════ */

/* ── Footer overhaul ── */
footer { padding: 0; text-align: left; margin-top: 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 2.75rem 2.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 2rem 1.25rem; }
  .footer-brand { grid-column: 1/-1; }
}
.footer-col-head { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: rgba(255,255,255,.4); margin-bottom: .65rem; }
.footer-link { display: block; color: rgba(255,255,255,.55); font-size: .82rem; text-decoration: none; margin-bottom: .4rem; transition: color .15s; }
.footer-link:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.1rem 2.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: .72rem; color: rgba(255,255,255,.28);
}

/* ── HERO ── */
.lp-hero {
  position: relative;
  background: var(--steel);
  overflow: hidden;
  padding: 5rem 1.5rem 0;
}
.lp-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.lp-hero-glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.lp-hero-glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224,123,57,.22) 0%, transparent 70%);
  top: -100px; left: -80px;
}
.lp-hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,91,219,.18) 0%, transparent 70%);
  bottom: 0; right: 0;
}
.lp-hero-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto;
  text-align: center;
}
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .5px;
  color: rgba(255,255,255,.5); margin-bottom: 1.5rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: .4rem .9rem; border-radius: 99px;
}
.lp-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 2px rgba(224,123,57,.35);
  animation: lp-pulse 2.2s ease infinite;
}
@keyframes lp-pulse {
  0%,100% { box-shadow: 0 0 0 2px rgba(224,123,57,.35); }
  50%      { box-shadow: 0 0 0 5px rgba(224,123,57,.12); }
}
.lp-h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900; letter-spacing: -1.5px;
  color: white; line-height: 1.08; margin-bottom: 1.25rem;
}
.lp-h1-accent { color: var(--primary); }
.lp-lead {
  font-size: 1.05rem; color: rgba(255,255,255,.58);
  line-height: 1.75; margin-bottom: 2.25rem; max-width: 600px; margin-left: auto; margin-right: auto;
}
.lp-br-hide { display: none; }
@media (min-width: 640px) { .lp-br-hide { display: inline; } }

.lp-cta-row {
  display: flex; align-items: center; justify-content: center;
  gap: .85rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.lp-btn-primary {
  display: inline-flex; align-items: center;
  background: var(--primary); color: white;
  padding: .75rem 1.6rem; border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 700; text-decoration: none;
  border: none; cursor: pointer; transition: background .15s, transform .12s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(224,123,57,.4);
}
.lp-btn-primary:hover { background: var(--primary-dk); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(224,123,57,.5); }
.lp-btn-ghost {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.75);
  padding: .75rem 1.4rem; border-radius: var(--radius-md);
  font-size: .9rem; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,.15); cursor: pointer;
  transition: background .15s, color .15s;
}
.lp-btn-ghost:hover { background: rgba(255,255,255,.14); color: white; }
.lp-btn-outline-dark {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--slate);
  padding: .55rem 1.1rem; border-radius: var(--radius);
  font-size: .82rem; font-weight: 700; text-decoration: none;
  border: 1.5px solid var(--border-dk); cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.lp-btn-outline-dark:hover { border-color: var(--steel); color: var(--steel); background: rgba(0,0,0,.04); }

/* ── Hero search bar ── */
.lp-search-card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.25), 0 4px 16px rgba(0,0,0,.15);
  margin-bottom: 2.75rem; overflow: hidden;
}
.lp-search-grid {
  display: flex; align-items: stretch;
}
@media (max-width: 640px) { .lp-search-grid { flex-direction: column; } }
.lp-search-field {
  display: flex; align-items: center; gap: .65rem;
  padding: .9rem 1.1rem; flex: 1; min-width: 0;
}
.lp-search-icon { font-size: 1rem; flex-shrink: 0; }
.lp-search-input {
  border: none; outline: none; font-size: .875rem; font-family: var(--font);
  color: var(--steel); background: transparent; width: 100%; min-width: 0;
}
.lp-search-input::placeholder { color: var(--muted); }
select.lp-search-input { cursor: pointer; }
.lp-search-sep { width: 1px; background: var(--border); margin: .6rem 0; flex-shrink: 0; }
@media (max-width: 640px) { .lp-search-sep { width: auto; height: 1px; margin: 0 1rem; } }
.lp-search-btn {
  background: var(--primary); color: white; border: none; padding: 0 1.6rem;
  font-size: .875rem; font-weight: 700; cursor: pointer; font-family: var(--font);
  transition: background .15s; flex-shrink: 0; white-space: nowrap;
}
.lp-search-btn:hover { background: var(--primary-dk); }
@media (max-width: 640px) { .lp-search-btn { padding: .85rem; border-radius: 0; } }

/* ── Hero stats strip ── */
.lp-stats-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 1.75rem 1rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.15);
}
.lp-stat { text-align: center; padding: .35rem 2rem; }
.lp-stat-num { font-size: 1.5rem; font-weight: 900; color: white; letter-spacing: -1px; }
.lp-stat-lbl { font-size: .72rem; color: rgba(255,255,255,.45); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-top: .15rem; }
.lp-stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.1); }
@media (max-width: 480px) { .lp-stat { padding: .35rem 1rem; } .lp-stat-div { display: none; } }

/* ── Trust bar ── */
.lp-trust-bar {
  background: white; border-bottom: 1px solid var(--border);
  padding: .9rem 1.5rem; display: flex; align-items: center;
  gap: .6rem; overflow-x: auto; white-space: nowrap;
}
.lp-trust-label { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; flex-shrink: 0; }
.lp-trade-pill {
  display: inline-block; padding: .25rem .7rem;
  background: #f0f4ff; color: #3b5bdb;
  border: 1px solid #c7d7ff; border-radius: 99px;
  font-size: .72rem; font-weight: 700; flex-shrink: 0;
  text-decoration: none; transition: background .15s;
}
.lp-trade-pill:hover { background: #e0e8ff; }
.lp-trade-pill-more { background: #fff4ed; color: var(--primary); border-color: rgba(224,123,57,.35); }
.lp-trade-pill-more:hover { background: #ffe8d6; }

/* ── Shared section styles ── */
.lp-section { padding: 5rem 1.5rem; }
.lp-section-white { background: white; }
.lp-section-gray  { background: var(--bg); }
.lp-section-inner { max-width: 1100px; margin: 0 auto; }
.lp-section-eyebrow {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .8px; color: var(--primary); margin-bottom: .6rem;
}
.lp-section-h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 900; color: var(--steel); letter-spacing: -.5px;
  margin-bottom: .75rem; line-height: 1.15;
}
.lp-section-sub {
  font-size: .95rem; color: var(--muted); line-height: 1.7;
  max-width: 560px; margin-bottom: 3rem;
}

/* ── Feature grid ── */
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.lp-feature-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  transition: box-shadow .2s, border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.lp-feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--primary), #f97316);
  opacity: 0; transition: opacity .2s;
}
.lp-feature-card:hover {
  box-shadow: var(--shadow-lg); border-color: rgba(224,123,57,.25);
  transform: translateY(-3px);
}
.lp-feature-card:hover::before { opacity: 1; }

.lp-feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 1rem;
}
.lp-icon-blue   { background: #eff6ff; }
.lp-icon-orange { background: #fff4ed; }
.lp-icon-green  { background: #ecfdf5; }
.lp-icon-purple { background: #f5f3ff; }
.lp-icon-amber  { background: #fffbeb; }
.lp-icon-teal   { background: #f0fdfa; }

.lp-feature-h3 { font-size: 1rem; font-weight: 800; color: var(--steel); margin-bottom: .5rem; }
.lp-feature-p  { font-size: .83rem; color: var(--muted); line-height: 1.7; margin-bottom: 1rem; }
.lp-feature-link { font-size: .8rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.lp-feature-link:hover { text-decoration: underline; }

/* ── How it works ── */
.lp-steps {
  display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap;
}
.lp-step {
  flex: 1; min-width: 240px; background: white;
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem; position: relative;
}
.lp-step-num {
  font-size: 3rem; font-weight: 900; color: var(--border);
  line-height: 1; margin-bottom: .5rem; letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}
.lp-step-icon { font-size: 1.6rem; margin-bottom: .85rem; }
.lp-step-h3 { font-size: 1rem; font-weight: 800; color: var(--steel); margin-bottom: .45rem; }
.lp-step-p  { font-size: .83rem; color: var(--muted); line-height: 1.7; }
.lp-step-arrow {
  font-size: 1.5rem; color: var(--border-dk); flex-shrink: 0;
  margin-top: 3.5rem; align-self: flex-start;
}
@media (max-width: 700px) { .lp-step-arrow { display: none; } }

/* ── Dark stats section ── */
.lp-stats-dark {
  background: var(--steel); padding: 4.5rem 1.5rem;
  position: relative; overflow: hidden;
}
.lp-stats-dark::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(224,123,57,.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(59,91,219,.08) 0%, transparent 60%);
}
.lp-stats-dark .lp-section-inner { position: relative; z-index: 1; }
.lp-stats-dark-h2 {
  text-align: center; color: white;
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900;
  letter-spacing: -.5px; margin-bottom: 3rem;
}
.lp-stats-dark-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem;
}
.lp-stats-dark-item { text-align: center; }
.lp-stats-dark-num {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 900;
  color: var(--primary); letter-spacing: -1.5px; line-height: 1; margin-bottom: .4rem;
}
.lp-stats-dark-lbl { font-size: .9rem; font-weight: 700; color: white; margin-bottom: .3rem; }
.lp-stats-dark-desc { font-size: .75rem; color: rgba(255,255,255,.38); line-height: 1.5; }

/* ── Testimonials ── */
.lp-testimonials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.lp-testimonial {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
}
.lp-testimonial-featured {
  border-color: rgba(224,123,57,.35);
  box-shadow: 0 8px 32px rgba(224,123,57,.12);
  position: relative;
}
.lp-testimonial-featured::before {
  content: '⭐ FEATURED';
  position: absolute; top: -1px; left: 1.5rem;
  background: var(--primary); color: white;
  font-size: .62rem; font-weight: 800; letter-spacing: .8px;
  padding: .2rem .7rem; border-radius: 0 0 6px 6px;
}
.lp-testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: .85rem; letter-spacing: 2px; }
.lp-testimonial-text  { font-size: .855rem; color: var(--slate); line-height: 1.75; font-style: italic; margin-bottom: 1.25rem; }
.lp-testimonial-author { display: flex; align-items: center; gap: .7rem; }
.lp-testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 800; color: white; flex-shrink: 0;
}
.lp-testimonial-name { font-size: .82rem; font-weight: 700; color: var(--slate); }
.lp-testimonial-role { font-size: .72rem; color: var(--muted); }

/* ── Featured contractors ── */
.lp-contractor-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem;
}
.lp-contractor-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  transition: box-shadow .2s, border-color .2s;
}
.lp-contractor-card:hover { box-shadow: var(--shadow-md); border-color: rgba(224,123,57,.25); }
.lp-contractor-card-top { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: .75rem; }
.lp-contractor-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #f97316);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 900; color: white; flex-shrink: 0;
}
.lp-contractor-name     { font-weight: 800; font-size: .9rem; color: var(--steel); }
.lp-contractor-trade    { font-size: .75rem; color: var(--primary); font-weight: 700; margin-top: .1rem; }
.lp-contractor-location { font-size: .72rem; color: var(--muted); margin-top: .15rem; }
.lp-compliance-badge    { font-size: .65rem; font-weight: 700; padding: .15rem .45rem; border-radius: 99px; border: 1px solid; white-space: nowrap; flex-shrink: 0; }
.lp-contractor-desc     { font-size: .79rem; color: var(--muted); line-height: 1.65; margin-bottom: .85rem; }
.lp-contractor-footer   { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.lp-trust-badge         { font-size: .72rem; font-weight: 700; padding: .2rem .55rem; border-radius: 99px; }
.lp-btn-card {
  margin-left: auto; padding: .3rem .75rem; border-radius: var(--radius);
  border: 1.5px solid var(--border); color: var(--slate);
  font-size: .75rem; font-weight: 700; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.lp-btn-card:hover { border-color: var(--primary); color: var(--primary); }

/* ── Dual CTA ── */
.lp-dual-cta { background: var(--steel); padding: 5rem 1.5rem; }
.lp-dual-cta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem;
  max-width: 960px; margin: 0 auto;
}
@media (max-width: 700px) { .lp-dual-cta-grid { grid-template-columns: 1fr; } }
.lp-cta-card {
  border-radius: var(--radius-xl); padding: 2.25rem;
  position: relative; overflow: hidden;
}
.lp-cta-card-gc  { background: var(--primary); }
.lp-cta-card-sub { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); }
.lp-cta-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.lp-cta-card-eyebrow { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; opacity: .7; color: white; margin-bottom: .5rem; }
.lp-cta-card-h3  { font-size: 1.25rem; font-weight: 900; color: white; margin-bottom: .65rem; letter-spacing: -.3px; }
.lp-cta-card-p   { font-size: .84rem; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 1.25rem; }
.lp-cta-checklist { list-style: none; padding: 0; margin-bottom: 1.75rem; }
.lp-cta-checklist li { font-size: .82rem; color: rgba(255,255,255,.8); padding: .2rem 0; font-weight: 500; }
.lp-cta-card-btn {
  display: inline-block; padding: .72rem 1.5rem;
  border-radius: var(--radius-md); font-size: .875rem; font-weight: 700;
  text-decoration: none; transition: all .15s; cursor: pointer;
}
.lp-cta-btn-primary { background: white; color: var(--primary); }
.lp-cta-btn-primary:hover { background: #f9f9f9; transform: translateY(-1px); }
.lp-cta-btn-outline { background: rgba(255,255,255,.1); color: white; border: 1.5px solid rgba(255,255,255,.3); }
.lp-cta-btn-outline:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }

/* ── Final CTA bar ── */
.lp-final-cta { background: var(--bg); border-top: 1px solid var(--border); padding: 4.5rem 1.5rem; }
.lp-final-h2  { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: var(--steel); margin-bottom: .6rem; letter-spacing: -.4px; }
.lp-final-sub { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.75rem; }
.lp-final-btns { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* ── Contact page uses lp-btn-primary/ghost too ── */

/* ═══════════════════════════════════════════════════════════════
   DESIGN v3 — Modern SaaS Platform UI (LinkedIn / Procore style)
   ═══════════════════════════════════════════════════════════════ */

/* ── Typography improvements ── */
body { font-size: 15px; line-height: 1.65; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.2px; }
.page-title { font-size: 1.7rem; font-weight: 900; letter-spacing: -.4px; }
.page-sub   { font-size: .875rem; }

/* ── Card polish ── */
.card {
  border-radius: 12px;
  border-color: #E8EBF0;
  transition: box-shadow .2s, border-color .2s;
}
.card-header { padding: 1rem 1.25rem; }
.card-title  { font-size: .88rem; font-weight: 800; letter-spacing: -.1px; }

/* ── Stat card lift ── */
.stat-card {
  border-radius: 12px;
  transition: box-shadow .18s, transform .15s;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
}
.stat-num  { font-size: 2.1rem; font-weight: 900; letter-spacing: -1px; }
.stat-lbl  { font-size: .79rem; font-weight: 600; }
.stat-icon-wrap { width: 46px; height: 46px; border-radius: 10px; font-size: 1.15rem; }

/* ── Mobile navigation ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 7px 9px;
  margin-left: .4rem;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: all .22s ease;
}
.nav-hamburger:hover span { background: white; }
.nav-hamburger:hover { background: rgba(255,255,255,.12); }

body.nav-open .nav-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
body.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .nav-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: rgba(0,0,0,.45);
  z-index: 198;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

@media (max-width: 900px) {
  .nav-hamburger { display: flex; }

  .navbar-nav {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: -300px;
    bottom: 0;
    width: 280px;
    background: var(--steel);
    z-index: 199;
    padding: .6rem;
    gap: .15rem;
    transition: left .26s cubic-bezier(.4,0,.2,1), box-shadow .26s;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,.07);
  }

  body.nav-open .navbar-nav {
    left: 0;
    box-shadow: 6px 0 32px rgba(0,0,0,.35);
  }
  body.nav-open .nav-mobile-overlay { display: block; }
  body.nav-open { overflow: hidden; }

  .nav-link {
    padding: .75rem 1rem;
    font-size: .9rem;
    border-radius: var(--radius);
  }
  .nav-link .nav-icon { font-size: 1.05rem; }
  .nav-link .nav-txt { display: inline !important; }

  .nav-mobile-section-label {
    font-size: .67rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: rgba(255,255,255,.3);
    padding: .9rem 1rem .3rem;
  }
}

/* ── Welcome banner ── */
.welcome-banner {
  background: linear-gradient(135deg, var(--steel) 0%, var(--steel-md) 50%, #1E3A52 100%);
  border-radius: 14px;
  padding: 1.4rem 1.75rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,.06);
}
.welcome-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 50%, rgba(224,123,57,.22) 0%, transparent 55%),
              radial-gradient(ellipse at 15% 80%, rgba(59,91,219,.12) 0%, transparent 50%);
}
.welcome-banner-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.welcome-greeting { font-size: 1.15rem; font-weight: 900; color: white; margin-bottom: .2rem; letter-spacing: -.2px; }
.welcome-sub      { font-size: .82rem; color: rgba(255,255,255,.5); }
.welcome-actions  { display: flex; gap: .55rem; flex-wrap: wrap; }

/* ── Section head v2 ── */
.sh {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .85rem;
}
.sh-title {
  font-size: .8rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .65px; color: var(--slate);
  display: flex; align-items: center; gap: .45rem;
}

/* ── Activity feed ── */
.activity-feed { }
.activity-item {
  display: flex; gap: .7rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.activity-item:last-child { border-bottom: none; padding-bottom: 0; }
.activity-dot {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; flex-shrink: 0;
}
.activity-text { font-size: .82rem; color: var(--slate); line-height: 1.5; }
.activity-time { font-size: .7rem; color: var(--muted); margin-top: .15rem; }

/* ── Chart containers ── */
.chart-wrap { position: relative; }
.chart-legend {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: center; margin-top: .75rem;
}
.chart-legend-item { display: flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; color: var(--slate); }
.chart-legend-dot  { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

/* ── Search v2 — sidebar layout ── */
.search-layout-v2 {
  display: grid;
  grid-template-columns: 252px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.search-sidebar-v2 {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}
.ssb-head {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  display: flex; justify-content: space-between; align-items: center;
}
.ssb-head-title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--slate); }
.ssb-section { padding: .9rem 1rem; border-bottom: 1px solid var(--border); }
.ssb-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-bottom: .45rem; }
.ssb-input { width: 100%; padding: .5rem .75rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .83rem; font-family: var(--font); color: var(--steel); outline: none; transition: border-color .15s; background: #fafbfc; }
.ssb-input:focus { border-color: var(--primary); background: white; }
.ssb-actions { padding: .85rem 1rem; }
.ssb-submit { width: 100%; padding: .6rem; background: var(--primary); color: white; border: none; border-radius: var(--radius); font-size: .83rem; font-weight: 700; cursor: pointer; font-family: var(--font); transition: background .15s; }
.ssb-submit:hover { background: var(--primary-dk); }
.ssb-clear { display: block; text-align: center; font-size: .75rem; color: var(--muted); text-decoration: none; margin-top: .5rem; }
.ssb-clear:hover { color: var(--slate); }

.search-results-v2 { display: flex; flex-direction: column; gap: .75rem; }
.search-results-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .6rem;
  margin-bottom: .1rem;
}
.search-count { font-size: .85rem; font-weight: 700; color: var(--slate); }
.search-sort { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--muted); }
.search-sort select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: .25rem .6rem; font-size: .78rem; font-family: var(--font); color: var(--slate); background: white; cursor: pointer; }
.search-chips { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .75rem; }
.search-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; background: var(--primary-lt); border: 1px solid rgba(224,123,57,.3); border-radius: 99px; font-size: .72rem; font-weight: 700; color: var(--primary-dk); }

.result-row {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow .18s, border-color .18s, transform .15s;
  text-decoration: none;
  color: inherit;
}
.result-row:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  border-color: rgba(224,123,57,.35);
  transform: translateX(2px);
}
.result-avatar {
  width: 54px; height: 54px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #f97316);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; color: white; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(224,123,57,.25);
}
.result-body  { flex: 1; min-width: 0; }
.result-name  { font-size: .98rem; font-weight: 800; color: var(--steel); margin-bottom: .15rem; }
.result-trade { font-size: .8rem; color: var(--primary); font-weight: 700; }
.result-meta  { font-size: .78rem; color: var(--muted); margin-top: .2rem; }
.result-pills { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .45rem; }
.result-actions { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.result-trust  { font-size: .78rem; font-weight: 800; padding: .2rem .6rem; border-radius: 99px; }
.result-rating { font-size: .78rem; color: #f59e0b; font-weight: 700; }

@media (max-width: 768px) {
  .search-layout-v2 { grid-template-columns: 1fr; }
  .search-sidebar-v2 { position: static; }
  .result-row { flex-wrap: wrap; }
  .result-actions { flex-direction: row; }
}

/* ── Profile page v2 — LinkedIn style ── */
.profile-cover-v2 {
  height: 190px;
  background: linear-gradient(130deg, #0F1C2D 0%, var(--steel) 45%, #2A3F5F 100%);
  position: relative; overflow: hidden;
}
.profile-cover-v2::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.profile-cover-glow-1 {
  position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,123,57,.28) 0%, transparent 65%);
  top: -80px; right: 80px; filter: blur(50px);
}
.profile-cover-glow-2 {
  position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,91,219,.2) 0%, transparent 65%);
  bottom: -40px; left: 30%; filter: blur(40px);
}
.profile-header-v2 {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem 1.25rem;
  position: relative;
}
.profile-avatar-float {
  position: absolute;
  top: -56px;
  left: 2rem;
}
.profile-avatar-xl-v2 {
  width: 112px; height: 112px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--steel));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: 900; color: white;
  border: 5px solid white;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  overflow: hidden;
}
.profile-header-body {
  padding-top: 68px;
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.profile-name-v2 { font-size: 1.5rem; font-weight: 900; color: var(--steel); letter-spacing: -.4px; }
.profile-meta-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .45rem; align-items: center; }
.profile-meta-chip { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: .25rem; }
.profile-meta-sep { color: var(--border-dk); }
.profile-action-row { display: flex; gap: .6rem; flex-wrap: wrap; }

.profile-layout-v2 {
  max-width: 1060px; margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 288px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.profile-sidebar-v2 {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  display: flex; flex-direction: column; gap: 1rem;
}
.profile-main-v2 { display: flex; flex-direction: column; gap: 1rem; }

.trust-ring-v2 {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem;
}
.trust-ring-svg { flex-shrink: 0; }
.trust-ring-info {}
.trust-ring-score { font-size: 1.8rem; font-weight: 900; color: var(--steel); line-height: 1; letter-spacing: -1px; }
.trust-ring-label { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-top: .15rem; }
.trust-ring-badge { font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; margin-top: .35rem; display: inline-block; }

.comp-row-v2 {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.comp-row-v2:last-child { border-bottom: none; }
.comp-icon-v2 { font-size: .9rem; flex-shrink: 0; width: 20px; text-align: center; }
.comp-name-v2 { flex: 1; font-size: .8rem; font-weight: 600; color: var(--slate); }
.comp-badge-v2 { font-size: .68rem; font-weight: 700; padding: .12rem .4rem; border-radius: 99px; border: 1px solid; white-space: nowrap; }

.review-card-v2 {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.review-card-v2:last-child { border-bottom: none; }
.review-header-v2 { display: flex; align-items: center; gap: .65rem; margin-bottom: .6rem; }
.review-avatar-v2 {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--steel-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; color: white; flex-shrink: 0;
}
.review-author-v2 { font-weight: 700; font-size: .85rem; color: var(--steel); }
.review-stars-v2  { color: #f59e0b; font-size: .85rem; letter-spacing: 1px; }
.review-date-v2   { font-size: .72rem; color: var(--muted); margin-left: auto; }
.review-text-v2   { font-size: .83rem; color: var(--slate); line-height: 1.65; font-style: italic; }

@media (max-width: 860px) {
  .profile-layout-v2 { grid-template-columns: 1fr; }
  .profile-sidebar-v2 { position: static; }
  .profile-cover-v2 { height: 130px; }
  .profile-avatar-xl-v2 { width: 84px; height: 84px; font-size: 1.8rem; border-width: 4px; }
  .profile-avatar-float { top: -42px; left: 1rem; }
  .profile-header-v2 { padding: 0 1rem 1rem; }
  .profile-header-body { padding-top: 52px; }
}

/* ── Dashboard improvements ── */
.dash-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 900px) { .dash-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dash-grid-3 { grid-template-columns: 1fr; } }

.mini-stat {
  background: white; border: 1.5px solid var(--border);
  border-radius: 12px; padding: 1.1rem 1.25rem;
  display: flex; align-items: center; gap: .85rem;
  transition: box-shadow .18s, transform .15s;
  position: relative; overflow: hidden;
}
.mini-stat::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 12px 12px 0 0;
}
.mini-stat:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.mini-stat-orange::after { background: var(--primary); }
.mini-stat-blue::after   { background: #3b82f6; }
.mini-stat-green::after  { background: #16a34a; }
.mini-stat-purple::after { background: #7c3aed; }

.mini-stat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.mini-stat-orange .mini-stat-icon { background: #fff4ed; }
.mini-stat-blue .mini-stat-icon   { background: #eff6ff; }
.mini-stat-green .mini-stat-icon  { background: #ecfdf5; }
.mini-stat-purple .mini-stat-icon { background: #f5f3ff; }

.mini-stat-num { font-size: 1.9rem; font-weight: 900; color: var(--steel); line-height: 1; letter-spacing: -1px; }
.mini-stat-lbl { font-size: .75rem; color: var(--muted); font-weight: 600; margin-top: .15rem; }
