/*==================== BUSINESS — PAYMENT METHODS + CHECKOUT ====================*/
/* manage-payment.php (.pm-*) and approval-checkout.php (.co-*). Shared card bits: .bc-*
 * Load after biz-ui.css. */

/* ---------- Shared: brand tile ---------- */
.bc-tile { flex: 0 0 auto; display: inline-flex; flex-direction: column; justify-content: space-between; width: 52px; height: 34px; padding: 4px 6px; border-radius: 6px; background: #1a3c8f; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.bc-tile b { font-size: 7px; font-weight: 800; letter-spacing: .06em; line-height: 1; overflow: hidden; white-space: nowrap; color: #fff; }
.bc-tile i { font-style: normal; font-size: 8px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .85); }
.bc-tile.is-mastercard { background: #23272f; }
.bc-tile.is-amex { background: #2e6b74; }
.bc-tile.is-discover { background: #b4531c; }
.bc-tile.is-card { background: #59636e; }
.bc-tile.is-blank { align-items: center; justify-content: center; background: var(--bz-surface-2); color: var(--bz-muted); box-shadow: inset 0 0 0 1px var(--bz-border-strong); }
.bc-tile.is-blank .bi { font-size: 14px; color: var(--bz-muted) !important; }

/* ---------- Shared: card form ---------- */
.bc-field { min-width: 0; }
.bc-field + .bc-field, .bc-row + .bc-field, .bc-field + .bc-row, .bc-row + .bc-row { margin-top: 14px; }
/* Side-by-side fields: top-aligned, no stacked-field margin (fixes Expiry / Security code offset) */
.bc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.bc-row > .bc-field { margin-top: 0; }
.bc-address { min-width: 0; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--bz-border); }
.bz-ui .bc-legend { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--bz-heading); }
.bc-num { position: relative; }
.bz-ui .bc-num .bz-input { padding-right: 96px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.bc-num > .bi { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--bz-muted) !important; }
.bc-brand { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--bz-navy-2); }
.bc-brand.is-amex { color: #2e6b74; }
.bc-brand.is-mastercard { color: #23272f; }
.bz-ui .bc-check { margin-top: 16px; font-size: 14px; }

/* ======================= Payment methods ======================= */
.pm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; margin-top: 20px; align-items: start; }
.pm-count { font-size: 13px; color: var(--bz-muted); }
.pm-saved { overflow: hidden; }
.pm-list { padding: 8px 24px; }
.pm-card { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--bz-border); }
.pm-card:last-child { border-bottom: 0; }
.pm-card.is-new { animation: pm-flash 1.6s ease-out; }
@keyframes pm-flash { 0%, 30% { background: var(--bz-ok-bg); } 100% { background: transparent; } }
.pm-card-text { flex: 1 1 auto; min-width: 0; }
.pm-card-text strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--bz-heading); }
.pm-card-text small { display: block; margin-top: 2px; font-size: 13px; color: var(--bz-muted); }
.bz-ui .pm-card.is-expired .pm-card-text small:not(.pm-card-addr) { color: var(--bz-warn); }
.pm-card-actions { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.pm-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 36px 16px; text-align: center; }
.pm-empty .bi { font-size: 24px; color: var(--bz-muted) !important; margin-bottom: 4px; }
.pm-empty span { font-size: 13px; color: var(--bz-muted); }
.bz-ui .pm-secure { display: flex; gap: 8px; padding: 14px 24px 18px; border-top: 1px solid var(--bz-border); font-size: 12px; color: var(--bz-muted); background: var(--bz-surface-2); }

.bz-ui .pm-add { position: sticky; top: 96px; padding: 22px 24px 24px; }
.pm-add-head { margin-bottom: 18px; }
.bz-ui .pm-save { width: 100%; margin-top: 20px; }
.bz-ui .pm-form-note { margin-top: 10px; font-size: 12px; text-align: center; color: var(--bz-muted); }

/* Big card visual (small screens only) */
.pm-visual-wrap { display: none; padding: 16px 16px 4px; }
.pm-visual { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #1a3c8f, #10265c); box-shadow: 0 12px 28px rgba(16, 38, 92, .35); }
.pm-visual.is-mastercard { background: linear-gradient(135deg, #2f343d, #15181d); }
.pm-visual.is-amex { background: linear-gradient(135deg, #2e6b74, #1b454b); }
.pm-visual-top { display: flex; justify-content: space-between; align-items: center; }
.pm-visual-top b { font-size: 13px; letter-spacing: .08em; }
.pm-visual-tag { padding: 2px 8px; border-radius: 999px; background: #fff; color: #10265c; font-size: 11px; font-weight: 700; }
.pm-visual-chip { width: 34px; height: 24px; border-radius: 5px; background: linear-gradient(135deg, #f3d77a, #d4a73c); }
.pm-visual-num { font-family: ui-monospace, Menlo, Consolas, monospace !important; font-size: 18px; letter-spacing: .12em; }
.pm-visual-foot { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255, 255, 255, .85); }

.pm-mobile-cta { display: none; }

/* ======================= Checkout ======================= */
.co-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.co-crumbs { display: flex; gap: 8px; margin-bottom: 6px !important; font-size: 13px; color: var(--bz-muted); }
.co-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.bz-ui .co-crumbs a { color: var(--bz-navy-2) !important; text-decoration: none; }
.bz-ui .co-crumbs a:hover { text-decoration: underline; }
.bz-ui .co-title { font-size: 30px; }
.co-steps { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--bz-muted); }
.co-steps li { display: inline-flex; align-items: center; gap: 8px; }
.co-steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--bz-border-strong); margin-right: 2px; }
.co-steps span { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--bz-border-strong); font-size: 12px; background: var(--bz-surface); }
.co-steps .is-done { color: var(--bz-ok); }
.co-steps .is-done span { background: var(--bz-ok-bg); border-color: transparent; color: var(--bz-ok); }
.co-steps .is-current { color: var(--bz-heading); }
.co-steps .is-current span { background: var(--bz-navy-2); border-color: var(--bz-navy-2); color: #fff; }

.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.co-left { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.bz-ui .co-box { padding: 18px 22px 22px; }
.co-box-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bz-ui .co-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bz-muted); }
.bz-ui .co-h2 { font-size: 18px; }
.bz-ui .co-change { font-size: 13px; font-weight: 600; color: var(--bz-navy-2) !important; text-decoration: underline; text-underline-offset: 3px; }

.co-trips > li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.co-trips > li + li { border-top: 1px solid var(--bz-border); }
.co-trip-icon { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--bz-accent-bg); color: var(--bz-navy-2); }
.co-trip-text { flex: 1 1 auto; min-width: 0; }
.co-trip-text strong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; color: var(--bz-heading); }
.co-trip-text strong .bi { font-size: 13px; color: var(--bz-coral-dark) !important; }
.co-trip-city { font-size: 13px; font-weight: 400; color: var(--bz-muted); }
.co-trip-text small { display: block; margin-top: 2px; font-size: 13px; color: var(--bz-muted); }
.co-trip-id { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--bz-heading); }
.co-note-wrap { display: flex; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bz-surface-2); font-size: 13px; color: var(--bz-muted); }
.co-note-wrap q { color: var(--bz-heading); }

/* Card options */
.co-opts { display: flex; flex-direction: column; gap: 10px; }
.co-opt { position: relative; border: 1px solid var(--bz-border); border-radius: 14px; background: var(--bz-surface); transition: border-color .15s, box-shadow .15s; }
.co-opt:hover:not(.is-disabled) { border-color: var(--bz-border-strong); }
.co-opt.is-selected { border-color: var(--bz-navy-2); box-shadow: 0 0 0 1px var(--bz-navy-2); }
.co-opt-head { display: flex; align-items: center; gap: 14px; margin: 0; padding: 14px 16px; cursor: pointer; }
.co-opt.is-disabled .co-opt-head { cursor: not-allowed; padding-right: 130px; }
.co-opt.is-disabled .bc-tile, .co-opt.is-disabled .co-opt-text strong { opacity: .55; }
.co-opt-head input { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: var(--bz-navy-2); cursor: inherit; }
.co-opt-text { flex: 1 1 auto; min-width: 0; }
.co-opt-text strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--bz-heading); }
.co-opt-text small { display: block; margin-top: 2px; font-size: 12px; color: var(--bz-muted); }
.bz-ui .co-opt-text small.is-expired { color: var(--bz-warn); }
.bz-ui .co-update { position: absolute; right: 16px; top: 24px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.co-opt-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px 28px; align-items: start; padding: 2px 16px 18px 116px; }
.co-billing { min-width: 0; }
.bz-ui .co-billing p { margin-top: 0 !important; padding: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--bz-text); }
.bz-ui .co-billing-edit { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--bz-navy-2) !important; text-decoration: underline; text-underline-offset: 3px; }
.bz-ui .co-opt-addr, .bz-ui .pm-card-addr { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.co-opt-addr .bi, .pm-card-addr .bi { font-size: 11px; }
.co-opt-body.co-new { display: block; padding-top: 4px; }
.co-new .bc-field, .co-new .bc-row, .co-new .bc-address { max-width: 560px; }
.co-opt-body.co-new { padding-left: 116px; }
.bz-ui .co-pay-err { margin-top: 8px; }

/* Order summary */
.bz-ui .co-summary { position: sticky; top: 96px; padding: 22px; }
.co-lines { margin: 14px 0 0; }
.co-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; color: var(--bz-text); }
.co-lines li span small { display: block; font-size: 12px; color: var(--bz-muted); }
.co-lines li strong { font-weight: 600; white-space: nowrap; }
.co-totals { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--bz-border); }
.co-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 13px; color: var(--bz-muted); }
.co-totals dd { margin: 0; color: var(--bz-text); }
.co-totals .co-total { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--bz-border); font-size: 18px; font-weight: 700; color: var(--bz-heading); }
.co-totals .co-total dd { color: var(--bz-heading); }
.co-paying { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--bz-surface-2); border: 1px solid var(--bz-border); }
.co-paying small { display: block; margin-bottom: 6px; font-size: 12px; color: var(--bz-muted); }
.co-paying > div { display: flex; align-items: center; gap: 10px; }
.co-paying strong { font-size: 14px; color: var(--bz-heading); }
.bz-ui .co-pay { width: 100%; margin-top: 16px; }
.bz-ui .co-pay.is-loading .bi { animation: co-spin 1s linear infinite; }
.bz-ui .co-pay.is-loading .bi::before { content: "\F130"; }
@keyframes co-spin { to { transform: rotate(360deg); } }
.bz-ui .co-secure { display: flex; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--bz-muted); }
.bz-ui .co-terms { margin-top: 8px; font-size: 11px; color: var(--bz-muted); }

/* Empty + done */
.bz-ui .co-empty, .bz-ui .co-done { max-width: 620px; margin: 10px auto 0; padding: 36px 32px; text-align: center; }
.co-empty .bz-icon-tile { width: 52px; height: 52px; font-size: 24px; margin-bottom: 12px; }
.bz-ui .co-empty p { margin: 6px 0 18px; color: var(--bz-muted); }
.co-done:focus { outline: 0; }
.co-done-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bz-ok-solid); color: #fff; font-size: 32px; box-shadow: 0 0 0 8px var(--bz-ok-bg); }
.bz-ui .co-done-sub { margin: 8px auto 0; max-width: 480px; font-size: 15px; color: var(--bz-muted); }
.co-receipt { margin: 22px 0 0; text-align: left; border: 1px solid var(--bz-border); border-radius: 14px; overflow: hidden; }
.co-receipt > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 14px; }
.co-receipt > div + div { border-top: 1px solid var(--bz-border); }
.co-receipt dt { font-weight: 400; color: var(--bz-muted); }
.co-receipt dd { margin: 0; font-weight: 700; color: var(--bz-heading); }
.co-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .pm-layout, .co-layout { grid-template-columns: minmax(0, 1fr); }
  .co-opt-body, .co-opt-body.co-new { padding-left: 48px; }
  .bz-ui .pm-add, .bz-ui .co-summary { position: static; }
  .pm-visual-wrap { display: block; }
  .pm-mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1400; padding: 12px 16px; background: var(--bz-surface); border-top: 1px solid var(--bz-border); box-shadow: 0 -6px 20px rgba(15, 39, 51, .08); }
  .bz-ui.pm-mobile-cta .bz-btn { width: 100%; }
  .pm-page { padding-bottom: 96px; }
}
@media (max-width: 575.98px) {
  .pm-list { padding: 4px 16px; }
  .pm-card { flex-wrap: wrap; gap: 12px; }
  .pm-card-actions { width: 100%; padding-left: 64px; }
  .bz-ui .pm-secure { padding: 12px 16px; }
  .bz-ui .pm-add, .bz-ui .co-box, .bz-ui .co-summary { padding: 18px 16px; }
  .co-steps { width: 100%; justify-content: space-between; }
  .co-steps li + li::before { width: 14px; }
  .co-opt-body, .co-opt-body.co-new { grid-template-columns: minmax(0, 1fr); padding: 0 16px 16px; }
  .co-opt.is-disabled .co-opt-head { padding-right: 16px; padding-bottom: 40px; }
  .bz-ui .co-update { top: auto; bottom: 14px; left: 82px; right: auto; }
  .co-trips > li { flex-wrap: wrap; align-items: flex-start; }
  .co-trip-text { flex: 1 1 calc(100% - 48px); }
  .co-trip-id { width: 100%; padding-left: 48px; }
  .bz-ui .co-empty, .bz-ui .co-done { padding: 28px 18px; }
  .co-done-actions .bz-btn { width: 100%; }
}

/* ---------- 2026-10-07 — billing address options (saved / new / change) ---------- */
.bz-ui .bc-addr-opts { display: grid; gap: 8px; margin-top: 10px; }
.bz-ui .bc-addr-opt { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border: 1px solid var(--bz-border); border-radius: 12px; background: var(--bz-surface); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.bz-ui .bc-addr-opt:hover { border-color: var(--bz-border-strong); }
.bz-ui .bc-addr-opt input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--bz-navy-2); }
.bz-ui .bc-addr-opt span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bz-ui .bc-addr-opt strong { font-weight: 600; font-size: 14px; color: var(--bz-heading); }
.bz-ui .bc-addr-opt small { font-size: 13px; color: var(--bz-muted); }
.bz-ui .bc-addr-opt:has(input:checked) { border-color: var(--bz-navy-2); box-shadow: 0 0 0 1px var(--bz-navy-2); }
.bz-ui .bc-addr-opt:has(input:focus-visible) { outline: 2px solid var(--bz-navy-2); outline-offset: 2px; }
.bz-ui .bc-addr-opt.is-new strong { color: var(--bz-navy-2); }
.bz-ui .bc-addr-opt.is-new i { font-size: 13px; color: inherit; }
.bz-ui .bc-addr-opts + .bc-addr-new { margin-top: 12px; padding-top: 4px; }
.bz-ui .bc-addr-new[hidden] { display: none !important; }
.bz-ui .bc-addr-dialog .bc-address { border-top: 0; margin-top: 0; padding-top: 0; }
.bz-ui .co-billing-edit { display: inline-flex; align-items: center; gap: 5px; padding: 0; background: none; border: 0; cursor: pointer; }
.bz-ui .co-billing-edit i { font-size: 12px; color: inherit; }

/* ---------- employee-profile.php (.ep-*) — LEIS-951 ---------- */
.ep-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.ep-who { display: flex; align-items: center; gap: 16px; }
/* .bz-hero itself is always the dark navy/coral gradient (same on this page
 * as on Checkout/Payment methods' light-bodied pages) — only the two
 * elements below are specific to this page, and both just need to read
 * against that fixed dark hero, independent of whether the cards below it
 * are light or dark. */
.ep-avatar { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bz-coral); color: #fff; font-size: 20px; font-weight: 700; flex-shrink: 0; }

/* Same translucent-over-gradient treatment as .bz-hero-pill, so the ring reads as its own badge on the hero rather than floating loose. */
.ep-meter { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 12px 18px; }
.ep-ring { width: 52px; height: 52px; transform: rotate(-90deg); flex-shrink: 0; }
.ep-ring-bg { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 3; }
.ep-ring-fg { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; transition: stroke-dasharray .3s ease; }
.ep-meter-text { display: flex; flex-direction: column; color: #fff; }
.ep-meter-text strong { font-size: 18px; font-weight: 700; line-height: 1.1; }
.ep-meter-text span { font-size: 12px; color: rgba(255,255,255,.75); }
.ep-meter-text small { font-size: 11px; color: rgba(255,255,255,.6); }

.ep-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 20px; }
.ep-side { position: sticky; top: 96px; }
.bz-ui .ep-nav { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.bz-ui .ep-nav-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--bz-muted); margin: 0 0 8px; }
.ep-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--bz-text); transition: background .15s; }
.ep-nav-item:hover { background: var(--bz-surface-2); }
.ep-nav-item.is-active { background: var(--bz-accent-bg); }
.ep-nav-item.is-active .ep-nav-label { color: var(--bz-navy-2); }
.ep-nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--bz-surface-2); color: var(--bz-navy-2); flex-shrink: 0; }
.ep-nav-label { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; flex: 1; min-width: 0; color: var(--bz-heading); }
.ep-nav-label small { font-weight: 400; color: var(--bz-muted); font-size: 11px; }
.ep-nav-state { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; background: var(--bz-surface-2); border: 1px solid var(--bz-border); }
.ep-nav-state.is-complete { background: var(--bz-ok-solid); border-color: transparent; position: relative; }
.ep-nav-state.is-complete::before { content: "\F26E"; font-family: "bootstrap-icons"; color: #fff; font-size: 10px; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.ep-form { display: flex; flex-direction: column; gap: 16px; }
/* .bz-card itself carries no padding (only .bz-card-head/.bz-card-body do,
 * and this page's sections don't use that wrapper split) — without this,
 * every field sat flush against the card edge instead of matching the
 * design's padded card body. */
.ep-sec { scroll-margin-top: 96px; padding: 20px 24px; }
.ep-sec-head { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--bz-border); }
.ep-sec-note { font-weight: 400; color: var(--bz-muted); font-size: 13px; margin-left: 6px; }
/* .bz-banner has no margin of its own (shared with other pages, so left
 * alone there) — scoped here because Personal details' passport-accuracy
 * banner sat flush against the First/Middle/Surname row right below it. */
.ep-page .bz-banner { margin-bottom: 20px; }

.ep-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.ep-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ep-field { display: flex; flex-direction: column; min-width: 0; }
.ep-span-2 { grid-column: span 2; }

.ep-locked { position: relative; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 10px; background: var(--bz-surface-2); border: 1px solid var(--bz-border); }
.ep-locked .bi { color: var(--bz-muted); font-size: 14px; }
.ep-locked-input { flex: 1; border: 0; background: transparent; color: var(--bz-muted); font-size: 14px; min-width: 0; outline: none; }
.ep-locked-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--bz-surface); border: 1px solid var(--bz-border); font-size: 11px; font-weight: 600; color: var(--bz-muted); white-space: nowrap; }
.ep-locked-tag .bi { font-size: 10px; }

.ep-offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ep-office { cursor: pointer; }
.ep-office input { position: absolute; opacity: 0; width: 0; height: 0; }
.ep-office span { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--bz-border); font-size: 13px; color: var(--bz-text); transition: all .15s; }
.ep-office input:checked + span { background: var(--bz-navy-2); border-color: var(--bz-navy-2); color: #fff; }
.ep-office input:focus-visible + span { outline: 2px solid var(--bz-navy-2); outline-offset: 2px; }

.ep-validity { margin-top: 8px; font-size: 12px; color: var(--bz-muted); }
.ep-validity.is-warn { color: var(--bz-warn); }

.ep-phone-field { max-width: 440px; }
.ep-phone { display: flex; gap: 8px; }
.ep-dial { width: 170px; flex-shrink: 0; }

.ep-footnote { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--bz-muted); margin: 0; }
.ep-footnote .bi { font-size: 13px; }

.ep-upper { text-transform: uppercase; }

.ep-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--bz-border); }

@media (max-width: 860px) {
  .ep-layout { grid-template-columns: 1fr; }
  .ep-side { position: static; }
  .bz-ui .ep-nav { flex-direction: row; overflow-x: auto; }
  .ep-grid, .ep-grid-3 { grid-template-columns: 1fr; }
  .ep-span-2 { grid-column: span 1; }
  .ep-offices { grid-template-columns: 1fr; }
  .ep-actions { flex-direction: column-reverse; }
  .ep-actions .bz-btn { width: 100%; }
}
