/* ============================================================
   PrimeGuard vendor DASHBOARD — "Concept B · My Day" skin.
   Loaded ONLY by vendor-dashboard.html, AFTER vendor.css.
   Design system copied from the approved mock
   (vendor-portal-mocks/mock-b-today-board.html): Golden Hour
   tokens, money tiles on top, next-job hero card, slim section
   headers, fixed bottom tab bar. New classes are vd- prefixed
   so nothing here collides with styles.css / vendor.css.
   Legacy dashboard classes (.vjob, .vsteps, .vform, .vhrow,
   .vfield...) are re-skinned, not renamed, so every existing
   render function keeps working untouched.
   ============================================================ */

:root {
  --vd-gold-grad: linear-gradient(120deg, #ffdf7e, #f5c542 55%, #e0aa26);
  --vd-sh: 0 18px 44px rgba(120, 90, 10, .16);
  --vd-sh-sm: 0 10px 24px rgba(120, 90, 10, .10);
  --vd-alert-bg: #fdf3d3;
  --vd-alert-line: #e0aa26;
}

/* ---------- Layout wrappers ---------- */
.vwrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.vwrap#vd-topbar, .vwrap#vd-dash { max-width: 780px; }
#vd-dash section[id], #vd-dash div[id] { scroll-margin-top: 14px; }

/* ---------- Profile loading state ----------
   Shown only while the vendor profile fetch resolves after
   sign-in; the page's cream body background shows through. */
#vd-loading { text-align: center; padding: 84px 0 64px; }
#vd-loading img { width: 76px; height: auto; opacity: .92; }
#vd-loading p { color: var(--muted); font-size: .95rem; margin-top: 14px; }

/* ---------- Header (mock .hdr) ---------- */
.vd-hdr { display: flex; align-items: center; gap: 10px; padding: 14px 2px 10px; }
.vd-hdr-logo { height: 38px; width: auto; display: block; }
.vd-hdr-who { flex: 1 1 auto; min-width: 0; }
.vd-hdr-who strong { display: block; font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
.vd-hdr-who span { display: block; font-size: .82rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-hdr-who span:empty { display: none; }
.vavatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 30% 25%, #f5c542, #b98a1d);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #221a05;
}
.vd-hdr-logout { font-size: .85rem; font-weight: 700; color: var(--gold-deep); text-decoration: none; white-space: nowrap; }

/* ---------- Photo hero header (Concept A · Photo Hero, picked
   2026-10-16; replaces the plain .vd-hdr row inside #vd-topbar.
   Classes copied from vendor-portal-mocks/header-a-photo-hero.html
   with the vd-ph- prefix) ---------- */
.vd-ph {
  position: relative; height: 232px; border-radius: 22px; overflow: hidden;
  margin-top: 16px;
  background: url("assets/careers-crew.jpg") center 30% / cover no-repeat;
  box-shadow: var(--vd-sh);
  border: 1px solid rgba(255, 255, 255, .5);
}
.vd-ph::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 2, .05) 34%, rgba(20, 14, 2, .52) 66%, rgba(20, 14, 2, .86));
}
/* gold corner brackets (Daylight hero style) */
.vd-ph-br { position: absolute; width: 26px; height: 26px; z-index: 3; pointer-events: none; }
.vd-ph-br.tl { top: 12px; left: 12px; border-top: 3px solid #f5c542; border-left: 3px solid #f5c542; border-top-left-radius: 9px; }
.vd-ph-br.tr { top: 12px; right: 12px; border-top: 3px solid #f5c542; border-right: 3px solid #f5c542; border-top-right-radius: 9px; }
.vd-ph-br.bl { bottom: 12px; left: 12px; border-bottom: 3px solid #f5c542; border-left: 3px solid #f5c542; border-bottom-left-radius: 9px; }
.vd-ph-br.br2 { bottom: 12px; right: 12px; border-bottom: 3px solid #f5c542; border-right: 3px solid #f5c542; border-bottom-right-radius: 9px; }
.vd-ph-logochip {
  position: absolute; top: 20px; left: 20px; z-index: 4;
  /* Clearance for the fixed round burger at the viewport's top-left:
     at scroll position 0 the chip starts ~56px further right so the
     two never overlap. */
  margin-left: 56px;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1px solid rgba(255, 255, 255, .38); border-radius: 12px;
  padding: 7px 11px; display: flex; align-items: center;
  box-shadow: 0 6px 18px rgba(20, 14, 2, .25);
}
.vd-ph-logochip img { height: 26px; width: auto; display: block; }
.vd-ph-logout {
  position: absolute; top: 20px; right: 20px; z-index: 4;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px;
  padding: 8px 15px; color: #fff8e6; font-size: .85rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(20, 14, 2, .25);
}
.vd-ph-body { position: absolute; left: 20px; right: 20px; bottom: 17px; z-index: 4; }
.vd-ph-kicker {
  font-size: .7rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase;
  color: #ffd968; margin-bottom: 6px; text-shadow: 0 1px 8px rgba(20, 14, 2, .5);
}
.vd-ph-greet {
  font-size: 2.15rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.05;
  color: #fff; text-shadow: 0 2px 14px rgba(20, 14, 2, .45); margin: 0;
}
.vd-ph-sub {
  margin-top: 6px; font-size: .96rem; font-weight: 600;
  color: rgba(255, 248, 230, .95); text-shadow: 0 1px 8px rgba(20, 14, 2, .55);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vd-ph-sub #vd-area:not(:empty)::before { content: " · "; }
.vd-ph-pill {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 11px;
  background: var(--vd-gold-grad);
  color: #221a05; font-size: .78rem; font-weight: 800;
  padding: 6px 13px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(20, 14, 2, .35);
}
.vd-ph-pill:empty { display: none; }
.vd-ph-pill-frost {
  background: rgba(255, 255, 255, .16); color: #fff8e6;
  border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(20, 14, 2, .3);
}

/* ---------- App promo (Concept A · gold banner; sits directly
   under the money strip) ---------- */
.vd-promo {
  margin-top: 14px; border-radius: 18px; padding: 16px;
  background: var(--vd-gold-grad);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 14px 32px rgba(185, 138, 29, .32);
}
.vd-promo-row { display: flex; align-items: center; gap: 13px; }
.vd-promo-ico {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255, 255, 255, .38);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .65);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(120, 90, 10, .25);
}
.vd-promo-ico img { width: 40px; height: 40px; border-radius: 11px; display: block; }
.vd-promo-txt { flex: 1 1 auto; min-width: 0; }
.vd-promo-txt strong { display: block; font-size: 1.06rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.vd-promo-txt span { display: block; font-size: .86rem; font-weight: 600; color: rgba(34, 26, 5, .78); margin-top: 2px; line-height: 1.35; }
.vd-promo-btn {
  margin-top: 14px; min-height: 52px; width: 100%;
  border: none; border-radius: 999px; cursor: pointer;
  background: #221a05; color: #ffe9a8;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-size: .98rem; font-weight: 800; letter-spacing: .01em; font-family: inherit;
  box-shadow: 0 12px 26px rgba(34, 26, 5, .35);
}
.vd-promo-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Login / no-profile hero (photo band kept from the
   unified-login build; vendor.css paints it gold) ---------- */
.vhero {
  position: relative; border-radius: 22px; overflow: hidden;
  padding: 44px 28px 30px; margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, .5); box-shadow: var(--vd-sh);
}
.vkicker { text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; font-weight: 600; margin-bottom: 8px; }
.vhero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
.vsub { margin: 6px auto 0; max-width: 640px; }

/* ---------- Section headers (mock .sect) ---------- */
.vsec { padding: 26px 0 4px; }
.vsec h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; }
.vsec .cnt { font-size: .78rem; letter-spacing: .1em; margin-bottom: 16px; display: block; }
.vd-sect { margin: 0 2px 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.vd-sect h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.vd-sect .cnt { font-size: .9rem; font-weight: 700; color: var(--gold-deep); white-space: nowrap; margin: 0; display: inline; letter-spacing: 0; }
.vd-subhead { font-size: 1.05rem; font-weight: 800; margin: 22px 0 10px; }

/* ---------- Money strip (mock .money / .tile) ---------- */
.vd-money { display: flex; gap: 10px; margin-top: 6px; }
.vd-tile {
  flex: 1 1 0; background: var(--vd-gold-grad); border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 12px 26px rgba(185, 138, 29, .28); border: 1px solid rgba(255, 255, 255, .5);
  min-width: 0;
}
.vd-tile.plain { background: rgba(255, 255, 255, .92); border-color: rgba(255, 255, 255, .95); box-shadow: var(--vd-sh-sm); }
.vd-tile small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #6d5c26; }
.vd-tile.plain small { color: var(--muted); }
.vd-tile strong { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; margin-top: 2px; color: var(--text); }
.vd-tile-n { display: block; font-size: .78rem; font-weight: 600; color: #6d5c26; margin-top: 2px; }
.vd-tile-n:empty { display: none; }
.vd-ministats { display: flex; gap: 10px; margin-top: 10px; }
.vd-mini {
  flex: 1 1 0; min-width: 0; background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .95); border-radius: 16px;
  padding: 12px 14px; box-shadow: var(--vd-sh-sm);
}
.vd-mini-l { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-bottom: 3px; }
.vd-mini strong { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.vd-mini-n { display: block; font-size: .72rem; color: var(--faint); }
.vd-mini-n:empty { display: none; }

/* ---------- Next-job hero (mock .hero) ---------- */
.vd-hero {
  background: var(--card); border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 20px; box-shadow: var(--vd-sh); overflow: hidden;
}
.vd-hero-photo { position: relative; height: 150px; }
.vd-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-badge {
  position: absolute; top: 10px; left: 10px; background: var(--text); color: #ffe9a8;
  font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; box-shadow: 0 6px 16px rgba(34, 26, 5, .3);
}
.vd-hero-body { padding: 16px 16px 18px; }
.vd-hero-body h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; color: var(--text); }
.vd-bigwhen { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 1.12rem; font-weight: 800; color: var(--text); }
.vd-bigwhen svg { width: 20px; height: 20px; color: var(--gold-deep); flex: 0 0 auto; }
.vd-addr { margin-top: 8px; font-size: 1rem; color: #4c4225; }
.vd-addr strong { color: var(--text); }
.vd-payrow {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line-soft);
}
.vd-payrow small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.vd-pay { font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--text); }
.vd-pay-tqp { font-size: 1.25rem; line-height: 1.25; }
.vd-paynote { font-size: .88rem; font-weight: 700; color: var(--gold-deep); text-align: right; }
.vd-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 56px; border-radius: 14px; cursor: pointer; width: 100%;
  font-size: 1.08rem; font-weight: 800; font-family: inherit; text-decoration: none;
  padding: 12px 18px; text-align: center; margin-top: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.vd-btn svg { width: 21px; height: 21px; flex: 0 0 auto; }
.vd-btn-gold { background: var(--vd-gold-grad); color: var(--text); border: none; box-shadow: 0 10px 24px rgba(185, 138, 29, .35); }
.vd-btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--gold); box-shadow: var(--vd-sh-sm); }
.vd-btn-dark { background: var(--text); color: #ffe9a8; border: none; box-shadow: 0 12px 26px rgba(34, 26, 5, .35); }
.vd-btn[disabled] { opacity: .75; cursor: default; }
.vd-hero .vd-btn:first-of-type { margin-top: 16px; }
.vd-hero-empty .vd-hero-body { padding: 20px 18px; }
.vd-hero-empty h3 { font-size: 1.25rem; }

/* ---------- Job cards (legacy .vjob, re-skinned) ---------- */
.vjobs { display: grid; grid-template-columns: 1fr; gap: 14px; }
.vjob {
  border-radius: 20px; padding: 20px; position: relative; overflow: hidden;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--vd-sh);
}
.vjob::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #f5c542, #b98a1d);
}
.vjob .t { font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-deep); font-weight: 800; margin-bottom: 8px; }
.vjob h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.vjob p { color: var(--muted); font-size: .92rem; margin-bottom: 12px; }
.vjob .meta { font-size: .9rem; color: var(--faint); margin-bottom: 6px; }
.vjob .meta strong { color: var(--text); }
#vd-dash .vjob .btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; margin: 10px 0 0; min-height: 52px; border-radius: 14px;
  font-size: 1rem;
}
.vd-payline { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 6px; }
.vd-payline small { font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.vd-payline strong { font-size: 1.6rem; font-weight: 800; color: var(--text); line-height: 1; }
.vd-tqp { font-size: 1.05rem; font-weight: 800; color: var(--gold-deep); }
.vthumbs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.vthumbs img { width: 90px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(185, 138, 29, .35); }
.vvids { margin-bottom: 12px; }
.vvids a { color: var(--gold-deep); font-weight: 700; font-size: .9rem; margin-right: 14px; }
.vempty {
  font-size: .92rem; padding: 18px; border-radius: 14px;
  border: 1px dashed rgba(120, 90, 10, .3);
  background: rgba(255, 255, 255, .6); color: var(--muted);
}

/* Steps inside active-work cards */
.vsteps { list-style: none; margin: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.vsteps li { display: flex; align-items: center; gap: 12px; font-size: .93rem; }
.vdot {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.sdone .vdot { background: var(--vd-gold-grad); color: var(--text); }
.stodo .vdot { border: 1px dashed rgba(185, 138, 29, .5); color: var(--gold-deep); }
.stodo { color: var(--muted); }

/* ---------- Forms (layout; colors come from vendor.css) ---------- */
.vform label { display: block; font-size: .85rem; margin-bottom: 12px; }
.vform input, .vform textarea, .vform select {
  margin-top: 6px; width: 100%; padding: 12px 14px; border-radius: 10px;
  font-size: 1rem; font-family: inherit;
}
.vform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.verr { font-size: .9rem; margin: 10px 0; }
.vok { font-size: .9rem; margin: 10px 0; }

/* ---------- Completed rows + profile fields ---------- */
.vhist { display: flex; flex-direction: column; gap: 12px; }
.vhrow {
  display: flex; align-items: center; gap: 16px; border-radius: 14px; padding: 14px 18px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--vd-sh-sm);
}
.vhrow .info { flex: 1; min-width: 0; }
.vhrow .info strong { display: block; font-size: .93rem; color: var(--text); }
.vhrow .info span { font-size: .8rem; color: var(--faint); }
.vpaid { color: var(--gold-deep); font-weight: 700; font-size: .95rem; white-space: nowrap; text-align: right; }
.vpaid small { display: block; color: var(--faint); font-weight: 400; font-size: .72rem; }
.vgrid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.vfield {
  border-radius: 12px; padding: 14px 16px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .95);
}
.vfield span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--faint); margin-bottom: 4px; }
.vfield strong { font-size: .95rem; font-weight: 600; color: var(--text); }

/* ---------- Status banner (renderProfile paints it inline with
   dark-theme colors; pin readable Golden Hour values) ---------- */
#vd-status-banner { color: #7a5d10 !important; background: rgba(245, 197, 66, .16) !important; border-color: rgba(185, 138, 29, .5) !important; }

/* ---------- Documents alert (action needed) ---------- */
#vd-docs-sec.vsec {
  margin-top: 22px; padding: 18px;
  background: var(--vd-alert-bg); border: 1.5px solid var(--vd-alert-line);
  border-radius: 18px; box-shadow: var(--vd-sh-sm);
}
#vd-docs-sec h2 { margin-bottom: 4px; }
#vd-docs-list > div {
  background: #fff !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: 12px;
}
#vd-docs-list input[type="file"] { font-size: .85rem; max-width: 100%; }

/* ---------- "Más": document cards, quiet when done ---------- */
.vd-doccard {
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 18px; padding: 18px; box-shadow: var(--vd-sh);
}
.vd-doccard .t { font-size: .7rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold-deep); font-weight: 800; margin-bottom: 8px; }
.vd-doccard h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; color: var(--text); }
.vd-doccard p { color: var(--muted); font-size: .9rem; }
.vd-fine { font-size: .82rem; color: var(--muted); margin-top: 12px; }
#vd-w9-sec:not(.vd-doc-done) .vd-doccard { background: var(--vd-alert-bg); border: 1.5px solid var(--vd-alert-line); }
#vd-w9-sec.vd-doc-done .vd-doccard { background: rgba(255, 255, 255, .65); box-shadow: var(--vd-sh-sm); }
#vd-w9-sec.vd-doc-done .vd-w9-extra { display: none; }
#vd-agreements:not(.vd-doc-done) {
  background: var(--vd-alert-bg); border: 1.5px solid var(--vd-alert-line);
  border-radius: 18px; padding: 18px; margin-top: 22px;
}
.vd-docrow {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-bottom: 12px; padding: 12px 14px;
  border: 1px solid var(--line-soft); border-radius: 12px; background: #fff;
}
.vd-docline { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.vd-docline strong { color: var(--gold-deep); }

/* ---------- "Más": simple rows (push, etc.) ---------- */
.vd-masrow {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 18px; padding: 16px 18px; box-shadow: var(--vd-sh-sm);
}
.vd-masrow-tx { flex: 1; min-width: 220px; }
.vd-masrow-tx strong { display: block; font-size: 1rem; color: var(--text); }
.vd-masrow-tx span { font-size: .88rem; color: var(--muted); }

/* ---------- Bottom tab bar (mock .tabs) ---------- */
.vd-tabs {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(120, 90, 10, .12);
  display: flex; justify-content: center;
}
.vd-tabs-in { display: flex; width: 100%; max-width: 780px; padding: 8px 6px calc(10px + env(safe-area-inset-bottom)); }
.vd-tab {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: .72rem; font-weight: 700; color: var(--muted); text-decoration: none; padding: 4px 0 2px;
}
.vd-tab svg { width: 23px; height: 23px; }
.vd-tab.active { color: var(--gold-deep); }
.vd-tab.active svg { color: var(--gold); }

/* ---------- Left slide-over menu (burger + drawer) ----------
   Burger: fixed round frosted button, top-left (Edwin's standing
   nav pattern). Drawer: warm cream Golden Hour panel sliding from
   the left over a dim backdrop. Both live inside #vd-dash, so they
   render only while the dashboard is shown. */
.vd-burger {
  position: fixed; top: 14px; left: 14px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 8px 22px rgba(120, 90, 10, .25);
  color: var(--text); cursor: pointer; padding: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.vd-burger svg { width: 22px; height: 22px; }
.vd-burger:active { transform: scale(.94); }
.vd-drawer-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(34, 26, 5, .45);
  opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
}
.vd-drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.vd-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 90;
  width: min(320px, 88vw);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fffdf4, #faf3dd);
  border-right: 1px solid rgba(185, 138, 29, .35);
  box-shadow: 24px 0 48px rgba(34, 26, 5, .25);
  transform: translateX(-105%);
  transition: transform .28s ease;
  overflow-y: auto;
}
.vd-drawer.open { transform: translateX(0); }
.vd-drawer-head {
  background: var(--vd-gold-grad);
  padding: 18px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 10px 24px rgba(185, 138, 29, .25);
}
.vd-drawer-top { display: flex; align-items: flex-start; justify-content: space-between; }
.vd-drawer-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .75);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: #221a05;
  box-shadow: 0 8px 18px rgba(120, 90, 10, .3);
}
.vd-drawer-x {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .4); border: 1px solid rgba(255, 255, 255, .6);
  color: #221a05; cursor: pointer; padding: 0;
}
.vd-drawer-x svg { width: 17px; height: 17px; }
.vd-drawer-biz {
  display: block; margin-top: 12px;
  font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vd-drawer-status { display: block; margin-top: 2px; font-size: .85rem; font-weight: 700; color: rgba(34, 26, 5, .75); }
.vd-drawer-status:empty { display: none; }
.vd-drawer-nav { flex: 1 1 auto; padding: 12px 10px 6px; display: flex; flex-direction: column; }
.vd-drawer-link {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 12px; border-radius: 12px;
  font-size: .98rem; font-weight: 700; color: var(--text);
  text-decoration: none;
  border-left: 3px solid transparent;
}
.vd-drawer-link:active { background: rgba(245, 197, 66, .18); }
.vd-drawer-link.active { background: rgba(245, 197, 66, .2); border-left-color: var(--gold); color: var(--gold-deep); }
.vd-drawer-badge {
  margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px;
  border-radius: 999px; background: var(--vd-gold-grad);
  border: 1px solid rgba(255, 255, 255, .6);
  color: #221a05; font-size: .78rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(185, 138, 29, .3);
}
.vd-drawer-dot {
  margin-left: auto; width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--vd-gold-grad);
  border: 1px solid rgba(185, 138, 29, .6);
  box-shadow: 0 0 0 3px rgba(245, 197, 66, .3);
}
.vd-drawer-group {
  margin: 16px 12px 4px;
  font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep);
}
.vd-drawer-foot { padding: 14px; border-top: 1px solid var(--line-soft); }
.vd-drawer-logout {
  width: 100%; min-height: 50px; border-radius: 14px; cursor: pointer;
  background: var(--text); color: #ffe9a8; border: none;
  font-size: 1rem; font-weight: 800; font-family: inherit;
  box-shadow: 0 10px 22px rgba(34, 26, 5, .3);
}
@media (prefers-reduced-motion: reduce) {
  .vd-burger, .vd-drawer, .vd-drawer-backdrop { transition: none; }
}

/* ---------- Footer ---------- */
.vfooter { margin-top: 44px; border-top: 1px solid rgba(120, 90, 10, .18); padding: 40px 0 110px; }
.vfooter-inner { display: grid; gap: 26px; }
.vfooter-brand { display: flex; gap: 14px; align-items: center; }
.vfooter-brand img { width: 54px; height: 54px; }
.vfooter-brand p { font-weight: 700; margin: 0; color: var(--text); }
.vfooter-brand span { color: var(--faint); font-weight: 400; font-size: .85rem; }
.vfooter-contact { display: flex; flex-direction: column; gap: 6px; }
.vfooter-contact a { color: var(--gold-deep); font-weight: 600; }
.vfooter-contact span { color: var(--faint); font-size: .85rem; }
.vfooter-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: flex-start; }
.vfooter-links a { color: var(--muted); font-size: .9rem; }
.vfooter-note { color: var(--faint); font-size: .85rem; max-width: 600px; margin: 0; }
.vfooter-copy { color: var(--faint); font-size: .8rem; margin: 0; }
@media (min-width: 760px) {
  .vfooter-inner { grid-template-columns: 1.2fr 1fr 1fr; }
  .vfooter-note, .vfooter-copy { grid-column: 1 / -1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .vwrap { padding: 0 16px; }
  .vform .row2 { grid-template-columns: 1fr; }
  .vd-tile strong { font-size: 1.7rem; }
  .vd-pay { font-size: 2.05rem; }
  .vd-pay-tqp { font-size: 1.15rem; }
  .vd-mini { padding: 10px 12px; }
  .vd-mini strong { font-size: 1.1rem; }
  .vd-hero-body h3 { font-size: 1.3rem; }
}

/* ---------- Calendario (portal calendars, 2026-10-16) ---------- */
.vcal-card { background:#fffdf7; border:1px solid #eadfc6; border-radius:18px; padding:18px; box-shadow:var(--vd-sh-sm); max-width:720px; }
.vcal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.vcal-title { font-weight:800; font-size:1.05rem; text-transform:capitalize; }
.vcal-nav { width:38px; height:38px; border-radius:50%; border:1px solid #e0aa26; background:#ffffff; color:#8a6d1f; font-size:1.3rem; line-height:1; cursor:pointer; font-family:inherit; }
.vcal-dow { display:grid; grid-template-columns:repeat(7,1fr); text-align:center; font-size:.72rem; font-weight:700; color:#a08c5a; margin-bottom:6px; }
.vcal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.vcal-cell { aspect-ratio:1; border:1px solid transparent; background:transparent; border-radius:12px; font-family:inherit; font-size:.9rem; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:#3a2f16; padding:0; }
.vcal-cell.empty { cursor:default; }
.vcal-cell.today { border-color:#e0aa26; font-weight:800; }
.vcal-cell.sel { background:var(--vd-gold-grad); font-weight:800; }
.vcal-dots { display:flex; gap:3px; height:6px; }
.vcal-dot { width:6px; height:6px; border-radius:50%; background:#c9a227; }
.vcal-cell.sel .vcal-dot { background:#3a2f16; }
.vcal-day { margin-top:14px; border-top:1px solid #f0e6cd; padding-top:12px; }
.vcal-dayh { font-weight:800; text-transform:capitalize; margin-bottom:6px; }
.vcal-none { color:#8a7a52; font-size:.9rem; }
.vcal-ev { display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid #f5edd8; }
.vcal-ev:last-child { border-bottom:none; }
.vcal-ev-tx { flex:1; display:flex; flex-direction:column; min-width:0; }
.vcal-ev-tx small { color:#8a7a52; }
.vcal-ev-btn { padding:8px 14px; font-size:.85rem; white-space:nowrap; }
.vcal-connect { margin-top:16px; background:#fffdf7; border:1px solid #eadfc6; border-radius:18px; padding:18px; box-shadow:var(--vd-sh-sm); max-width:720px; }
.vcal-connect h3 { margin-bottom:6px; }
.vcal-connect p { color:#8a7a52; font-size:.9rem; margin-bottom:12px; }
.vcal-linkrow { display:flex; gap:10px; flex-wrap:wrap; }
.vcal-linkrow input { flex:1; min-width:220px; padding:11px 13px; border-radius:10px; border:1px solid #e3d5ae; background:#ffffff; font-size:.85rem; font-family:inherit; }
.vcal-connect .vcal-fine { font-size:.8rem; margin-bottom:4px; }

/* Job checklists (Oct 18) */
.vd-checkbar{ margin-top:12px; }
.vd-checkbar-top{ display:flex; justify-content:space-between; font-size:.78rem; font-weight:700; color:#5c5545; margin-bottom:5px; }
.vd-checktrack{ height:8px; border-radius:999px; background:#efe7d2; overflow:hidden; }
.vd-checktrack i{ display:block; height:100%; background:linear-gradient(90deg,#ffd968,#d9ab2b); border-radius:999px; transition:width .25s ease; }
.vd-checklist{ margin-top:10px; background:#fbf8ef; border:1px solid #eee5cd; border-radius:12px; padding:10px 12px; }
.vd-check{ display:flex; gap:9px; align-items:center; padding:6px 0; font-size:.9rem; cursor:pointer; }
.vd-check input{ width:19px; height:19px; accent-color:#b8912a; flex:none; }
.vd-check input:checked + span{ color:#8a8578; text-decoration:line-through; }

/* ---------- Precios fijos rate card (v31) ----------
   Static info card on the home view: the posted rates and the
   three how-it-works lines. Uses the Golden Hour tokens above. */
.vd-rate {
  background: #fff; border: 1px solid rgba(224, 170, 38, .35);
  border-radius: 18px; box-shadow: var(--vd-sh-sm);
  padding: 16px 18px 10px; margin-bottom: 6px;
}
.vd-rate-how { margin: 0 0 12px; padding-left: 22px; color: var(--text); font-size: .92rem; font-weight: 600; }
.vd-rate-how li { margin-bottom: 6px; }
.vd-rate-how li:last-child { margin-bottom: 0; }
.vd-rate-table { border-top: 2px solid var(--vd-alert-line); }
.vd-rate-head {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 2px 4px; font-size: .72rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; color: var(--gold-deep);
}
.vd-rate-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 9px 2px; border-top: 1px solid #f3e5bb; font-size: .95rem; color: var(--text);
}
.vd-rate-row strong { font-weight: 800; white-space: nowrap; }
.vd-rate-hi { background: var(--vd-alert-bg); border-radius: 10px; padding-left: 8px; padding-right: 8px; }

/* ---------- Collapsible sections + list sorting (v32, additive) ----------
   Edwin, Nov 7 2026: every dashboard section folds from a chevron in
   its header; the job lists carry a sort select next to it. The body
   wrapper (.vd-collapse-body) is built by vendor-dashboard.js; the
   section header itself always stays visible. */
.vd-head-tools { display: inline-flex; align-items: center; gap: 8px; flex: none; margin-left: 8px; }
.vd-sect.has-tools { justify-content: flex-start; }
.vd-sect.has-tools .cnt { margin-left: auto; }
.vd-sect-mini { margin: 0 2px 2px; min-height: 28px; }
.vd-collapse-btn {
  flex: none; width: 30px; height: 30px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .65);
  color: var(--gold-deep); font-size: .95rem; line-height: 1; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.vd-collapse-btn:hover { background: rgba(255, 255, 255, .95); }
.vsec.vd-collapsed .vd-collapse-body { display: none; }
.vd-sort-select {
  flex: none; max-width: 46vw; padding: 6px 8px; border-radius: 8px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .9);
  color: var(--text); font-size: .85rem; font-family: inherit; cursor: pointer;
}
