/* =============================================================
   Local Electrician 24-7 — Customer Portal
   Loaded only on the page with [le_account]. Uses the site's colours
   from le-core.css where present, with fallbacks.
   ============================================================= */

.le-pt{
  --pt-ink: var(--ink, #0d1a26);
  --pt-body: var(--body, #3d4f5c);
  --pt-muted: var(--muted, #64748b);
  --pt-line: var(--line, #dbe5ec);
  --pt-soft: var(--surface-soft, #f6f9fb);
  --pt-navy: var(--navy, #102a43);
  --pt-blue: var(--blue, #2b6d8f);
  --pt-blue-tint: var(--blue-tint, #edf7fb);
  --pt-red: var(--red, #d40a15);
  --pt-red-dark: var(--red-dark, #b00811);
  --pt-red-tint: var(--red-tint, #fdeeee);
  --pt-mint: var(--mint, #167a5b);
  --pt-mint-tint: var(--mint-tint, #edf7f4);
  --pt-gold: #7a5600;
  --pt-gold-tint: #fff4d6;
  --pt-radius: 18px;
  --pt-shadow: 0 1px 2px rgba(16, 42, 67, .04), 0 10px 26px rgba(16, 42, 67, .06);
  color: var(--pt-ink);
  font-family: var(--font, Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  font-size: 1rem;
  line-height: 1.55;
}
.le-pt *, .le-pt *::before, .le-pt *::after{ box-sizing: border-box; }
.le-pt h2, .le-pt h3{ margin: 0; color: var(--pt-ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.le-pt p{ margin: 0; }
.le-pt ul, .le-pt ol{ margin: 0; padding: 0; list-style: none; }
.le-pt a{ color: var(--pt-blue); }
.le-pt a:hover{ color: var(--pt-red); }
.le-pt .screen-reader-text{ position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.le-pt-ico{ width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.le-pt-muted{ color: var(--pt-muted); font-size: .875rem; }
.le-pt-small{ color: var(--pt-muted); font-size: .8rem; }
.le-pt-quiet{ padding: 22px; border: 1px dashed var(--pt-line); border-radius: 14px; color: var(--pt-muted); text-align: center; }

/* ---------- Frame: menu + content ---------- */
.le-pt__layout{ display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.le-pt__nav{
  position: sticky;
  top: 140px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius);
  background: #fff;
  box-shadow: var(--pt-shadow);
}
.le-pt__who{ display: flex; gap: 12px; align-items: center; padding: 6px 8px 14px; border-bottom: 1px solid var(--pt-line); margin-bottom: 6px; min-width: 0; }
.le-pt__who span:last-child{ display: grid; min-width: 0; }
.le-pt__who strong{ overflow: hidden; font-size: .95rem; text-overflow: ellipsis; white-space: nowrap; }
.le-pt__who small{ overflow: hidden; color: var(--pt-muted); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.le-pt__avatar{
  display: grid; width: 42px; height: 42px; flex: none; place-items: center;
  border-radius: 50%; background: var(--pt-navy); color: #fff; font-weight: 800;
}
.le-pt__nav ul{ display: grid; gap: 2px; }
.le-pt__nav a{
  display: flex; gap: 12px; align-items: center; min-height: 46px; padding: 10px 12px;
  border-radius: 12px; color: var(--pt-navy); font-size: .95rem; font-weight: 700; text-decoration: none;
  transition: background-color .15s, color .15s;
}
.le-pt__nav a:hover{ background: var(--pt-soft); color: var(--pt-navy); }
.le-pt__nav a.is-active{ background: var(--pt-blue-tint); color: var(--pt-navy); box-shadow: inset 3px 0 0 var(--pt-blue); }
.le-pt__nav a span{ flex: 1 1 auto; }
.le-pt-count{ display: grid; min-width: 22px; height: 22px; padding: 0 6px; place-items: center; border-radius: 999px; background: var(--pt-red); color: #fff; font-size: .72rem; font-style: normal; font-weight: 800; }
.le-pt__logout{ margin-top: 6px; border-top: 1px solid var(--pt-line); border-radius: 0 0 12px 12px !important; color: var(--pt-muted) !important; }
.le-pt__main{ display: grid; gap: clamp(18px, 2.4vw, 26px); min-width: 0; }

/* ---------- Headings, cards, sections ---------- */
.le-pt-head{ display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; justify-content: space-between; }
.le-pt-head h2{ font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); }
.le-pt-head p{ margin-top: 4px; color: var(--pt-body); }
.le-pt-head__actions{ display: flex; flex-wrap: wrap; gap: 10px; }
.le-pt-card{ padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--pt-line); border-radius: var(--pt-radius); background: #fff; box-shadow: var(--pt-shadow); }
.le-pt-card h3{ margin-bottom: 12px; font-size: 1.15rem; }
.le-pt-section{ display: grid; gap: 12px; }
.le-pt-sub{ font-size: 1.1rem !important; }
.le-pt-grid2{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); align-items: start; }
.le-pt-two{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.le-pt-empty{ display: grid; gap: 10px; justify-items: center; padding: clamp(28px, 5vw, 56px) 20px; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); background: #fff; text-align: center; }
.le-pt-empty h3{ font-size: 1.2rem; }
.le-pt-empty p{ max-width: 46ch; color: var(--pt-body); }

/* ---------- Buttons and badges ---------- */
.le-pt-btn{
  display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px;
  border: 1px solid transparent; border-radius: 12px; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 800;
  line-height: 1.2; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.le-pt-btn--primary{ background: var(--pt-red); color: #fff !important; box-shadow: 0 8px 20px rgba(212, 10, 21, .18); }
.le-pt-btn--primary:hover{ background: var(--pt-red-dark); }
.le-pt-btn--ghost{ border-color: var(--pt-line); background: #fff; color: var(--pt-navy) !important; }
.le-pt-btn--ghost:hover{ border-color: var(--pt-navy); }
.le-pt-btn:focus-visible, .le-pt a:focus-visible, .le-pt input:focus-visible, .le-pt select:focus-visible, .le-pt textarea:focus-visible{ outline: 3px solid rgba(43, 109, 143, .4); outline-offset: 2px; }
.le-pt-link-btn{ padding: 0; border: 0; background: none; color: var(--pt-red); cursor: pointer; font: inherit; font-size: .85rem; font-weight: 700; text-decoration: underline; }

/* The theme (and Elementor's global button style) recolour every <button> on hover
   and focus. Scoped to .le-pt with the element name so the portal's own colours win. */
.le-pt button.le-pt-btn{ border-radius: 12px; padding: 10px 18px; font-size: .9rem; font-weight: 800; line-height: 1.2; letter-spacing: normal; text-transform: none; white-space: normal; }
.le-pt button.le-pt-btn--primary,
.le-pt button.le-pt-btn--primary:is(:hover, :focus, :active){ border-color: transparent; color: #fff; }
.le-pt button.le-pt-btn--primary{ background: var(--pt-red); }
.le-pt button.le-pt-btn--primary:is(:hover, :focus, :active){ background: var(--pt-red-dark); }
.le-pt button.le-pt-btn--ghost,
.le-pt button.le-pt-btn--ghost:is(:hover, :focus, :active){ background: #fff; color: var(--pt-navy); }
.le-pt button.le-pt-btn--ghost{ border-color: var(--pt-line); }
.le-pt button.le-pt-btn--ghost:is(:hover, :focus, :active){ border-color: var(--pt-navy); }
.le-pt button.le-pt-link-btn,
.le-pt button.le-pt-link-btn:is(:hover, :focus, :active){ padding: 0; border: 0; background: none; color: var(--pt-red); }
.le-pt-badge{ display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.le-pt-badge--good{ background: var(--pt-mint-tint); color: var(--pt-mint); }
.le-pt-badge--warn{ background: var(--pt-gold-tint); color: var(--pt-gold); }
.le-pt-badge--bad{ background: var(--pt-red-tint); color: var(--pt-red); }
.le-pt-badge--info{ background: var(--pt-blue-tint); color: var(--pt-blue); }
.le-pt-badge--muted{ background: var(--pt-soft); color: var(--pt-muted); }
.le-pt-alert{ padding: 12px 16px; border-radius: 12px; font-size: .92rem; font-weight: 700; }
.le-pt-alert--good{ background: var(--pt-mint-tint); color: var(--pt-mint); }
.le-pt-alert--bad{ background: var(--pt-red-tint); color: var(--pt-red); }
.le-pt-alert--info{ background: var(--pt-blue-tint); color: var(--pt-navy); }

/* ---------- Forms ---------- */
.le-pt label{ display: block; margin-top: 12px; color: var(--pt-ink); font-size: .88rem; font-weight: 700; }
.le-pt label small{ color: var(--pt-muted); font-weight: 600; }
.le-pt input[type="text"], .le-pt input[type="email"], .le-pt input[type="tel"], .le-pt input[type="password"],
.le-pt input[type="search"], .le-pt input[type="date"], .le-pt input:not([type]), .le-pt select, .le-pt textarea{
  display: block; width: 100%; min-height: 48px; margin-top: 6px; padding: 10px 14px;
  border: 1px solid var(--pt-line); border-radius: 12px; background: #fff; color: var(--pt-ink); font: inherit; font-size: .95rem;
}
.le-pt textarea{ min-height: 120px; resize: vertical; }
.le-pt .le-pt-check{ display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.le-pt .le-pt-check input{ width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pt-blue); }
.le-pt-actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px !important; }
.le-pt-hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.le-pt-search{ display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.le-pt-search input, .le-pt-search select{ flex: 1 1 260px; margin-top: 0 !important; }
.le-pt-formcard h3{ margin-bottom: 4px; }

/* Guests: log in beside create account */
.le-pt-guest{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); align-items: start; }
.le-pt--guest{ display: grid; gap: 16px; }
.le-pt-auth h2{ font-size: 1.35rem; }
.le-pt-auth .le-pt-btn{ margin-top: 18px; }
.le-pt-auth .le-pt-small{ margin-top: 12px; }

/* ---------- Tables (cards on phones) ---------- */
.le-pt-table{ overflow: hidden; border: 1px solid var(--pt-line); border-radius: 14px; background: #fff; }
.le-pt-table table{ width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: .9rem; }
.le-pt .le-pt-table th, .le-pt .le-pt-table td{ border: 0; background: transparent; }
.le-pt .le-pt-table th{ padding: 12px 16px; background: var(--pt-soft); color: var(--pt-muted); font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.le-pt .le-pt-table td{ padding: 14px 16px; border-top: 1px solid var(--pt-line); color: var(--pt-body); vertical-align: top; }
.le-pt-table td strong{ color: var(--pt-ink); }
.le-pt-table td .le-pt-ico{ margin-right: 6px; color: var(--pt-blue); vertical-align: -3px; }
.le-pt-table form{ display: inline; margin-left: 10px; }
.le-pt-dates{ display: block; margin-top: 4px; color: var(--pt-body); font-size: .8rem; line-height: 1.5; }
.le-pt-pager{ display: flex; gap: 14px; align-items: center; justify-content: center; font-size: .9rem; font-weight: 700; }

/* ---------- Bookings ---------- */
.le-pt-bookings{ display: grid; gap: 14px; }
.le-pt-booking{ display: grid; grid-template-columns: 132px minmax(0, 1fr) minmax(200px, 250px); overflow: hidden; border: 1px solid var(--pt-line); border-radius: 16px; background: #fff; box-shadow: var(--pt-shadow); }
.le-pt-booking.is-past{ background: var(--pt-soft); box-shadow: none; }
.le-pt-booking__time{ display: grid; align-content: start; gap: 4px; padding: 18px 16px; border-right: 1px solid var(--pt-line); background: var(--pt-blue-tint); color: var(--pt-navy); }
.le-pt-booking.is-past .le-pt-booking__time{ background: transparent; color: var(--pt-muted); }
.le-pt-booking__time span{ font-size: .85rem; font-weight: 700; }
.le-pt-booking__time strong{ font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; }
.le-pt-booking__main{ padding: 18px 20px; }
.le-pt-booking__main h3{ font-size: 1.08rem; }
.le-pt-booking dl{ display: grid; gap: 6px; margin: 12px 0 0; }
.le-pt-booking dl div{ display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; }
.le-pt-booking dt{ padding-top: 2px; color: var(--pt-muted); font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.le-pt-booking dd{ margin: 0; color: var(--pt-ink); font-size: .9rem; }
.le-pt-booking__side{ display: grid; align-content: start; gap: 8px; padding: 18px 20px; border-left: 1px solid var(--pt-line); }
.le-pt-booking__side .le-pt-badge{ justify-self: start; }
.le-pt-booking__price{ display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.le-pt-booking__price span{ color: var(--pt-muted); font-size: .85rem; font-weight: 700; }
.le-pt-booking__price strong{ font-size: 1.5rem; letter-spacing: -.03em; }
.le-pt-booking__actions{ display: flex; flex-wrap: wrap; gap: 8px; }
.le-pt-booking__actions .le-pt-btn{ min-height: 38px; padding: 8px 12px; font-size: .82rem; }

/* ---------- Inbox ---------- */
.le-pt-mailbox{ overflow: hidden; border: 1px solid var(--pt-line); border-radius: 16px; background: #fff; }
.le-pt-mailbox li + li{ border-top: 1px solid var(--pt-line); }
.le-pt-mailrow{ display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 18px; color: var(--pt-body) !important; text-decoration: none; }
.le-pt-mailrow:hover{ background: var(--pt-soft); }
.le-pt-mailrow__subject{ overflow: hidden; color: var(--pt-ink); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.le-pt-mailrow__snippet{ grid-column: 1; overflow: hidden; color: var(--pt-muted); font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }
.le-pt-mailrow time{ grid-row: 1; grid-column: 2; color: var(--pt-muted); font-size: .8rem; }
.le-pt-mailrow.is-unread .le-pt-mailrow__subject{ font-weight: 800; }
.le-pt-mailrow.is-unread .le-pt-mailrow__subject::before{ content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--pt-red); vertical-align: 2px; }
.le-pt-mail h3{ font-size: 1.2rem; }
.le-pt-mail__body{ margin-top: 16px; padding-top: 16px; overflow-x: auto; border-top: 1px solid var(--pt-line); color: var(--pt-body); }
.le-pt-mail__body table{ max-width: 100%; }

/* ---------- Tickets ---------- */
.le-pt-support{ display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: center; }
.le-pt-support > .le-pt-ico{ width: 52px; height: 52px; color: var(--pt-red); }
.le-pt-support > div{ flex: 1 1 260px; }
.le-pt-support h3{ margin-bottom: 4px; }
.le-pt-tabs{ display: flex; gap: 4px 22px; overflow-x: auto; border-bottom: 2px solid var(--pt-line); }
.le-pt-tabs a{ flex: none; margin-bottom: -2px; padding: 10px 2px; border-bottom: 2px solid transparent; color: var(--pt-navy); font-weight: 700; text-decoration: none; }
.le-pt-tabs a.is-active{ border-color: var(--pt-red); color: var(--pt-red); }
.le-pt-steps{ display: grid; gap: 8px; }
.le-pt-step{ position: relative; margin: 0; padding: 0 0 18px 46px; border: 0; }
.le-pt-step::before{ content: ""; position: absolute; top: 36px; bottom: 0; left: 16px; width: 1px; background: var(--pt-line); }
.le-pt-step legend{ display: flex; gap: 12px; align-items: center; margin-left: -46px; padding: 0; color: var(--pt-navy); font-size: 1.05rem; font-weight: 800; }
.le-pt-step legend span{ display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--pt-blue-tint); color: var(--pt-navy); font-size: .9rem; }
.le-pt-step legend em{ color: var(--pt-red); font-style: normal; }
.le-pt-step > .le-pt-muted{ margin: 8px 0 4px; }
.le-pt-choices{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.le-pt .le-pt-choice{ display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px 16px; border: 1px solid var(--pt-line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.le-pt-choice:hover{ border-color: var(--pt-blue); }
.le-pt-choice:has(input:checked){ border-color: var(--pt-blue); background: var(--pt-blue-tint); }
.le-pt-choice input{ width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--pt-blue); }
.le-pt-choice span{ display: grid; gap: 2px; }
.le-pt-choice strong{ color: var(--pt-navy); font-size: .92rem; }
.le-pt-choice small{ color: var(--pt-muted); font-size: .8rem; font-weight: 500; line-height: 1.45; }
.le-pt-drop{ margin-top: 14px; }
.le-pt .le-pt-drop label{ display: grid; gap: 8px; justify-items: center; margin: 0; padding: 22px 16px; border: 1.5px dashed var(--pt-line); border-radius: 14px; background: var(--pt-soft); color: var(--pt-navy); text-align: center; cursor: pointer; }
.le-pt-drop label:hover{ border-color: var(--pt-blue); }
.le-pt-drop label .le-pt-ico{ width: 28px; height: 28px; color: var(--pt-blue); }
.le-pt-drop input[type="file"]{ max-width: 100%; font-size: .85rem; }
.le-pt-drop .le-pt-small{ margin-top: 6px; }
.le-pt-drop__list li{ margin-top: 4px; color: var(--pt-body); font-size: .85rem; }
.le-pt-drop__list li.is-bad{ color: var(--pt-red); font-weight: 700; }
.le-pt-ticket__top{ display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.le-pt-ticket__actions{ display: flex; flex-wrap: wrap; gap: 8px; }
.le-pt-ticket .le-pt-muted + .le-pt-muted{ margin-top: 2px; }
.le-pt-thread{ display: grid; gap: 12px; margin-top: 18px !important; }
.le-pt-msg{ padding: 14px 16px; border: 1px solid var(--pt-line); border-left: 4px solid var(--pt-line); border-radius: 12px; background: #fff; }
.le-pt-msg--office{ border-left-color: var(--pt-blue); background: var(--pt-blue-tint); }
.le-pt-msg__who{ color: var(--pt-muted); font-size: .8rem; }
.le-pt-msg__who strong{ color: var(--pt-ink); }
.le-pt-msg__body{ margin-top: 6px; color: var(--pt-ink); white-space: normal; overflow-wrap: anywhere; }
.le-pt-files{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.le-pt-files a{ display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border: 1px solid var(--pt-line); border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 700; text-decoration: none; }
.le-pt-reply label:first-of-type{ margin-top: 0; }

/* ---------- Admin ---------- */
.le-pt-stats{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.le-pt-stat{ display: grid; gap: 4px; padding: 18px; border: 1px solid var(--pt-line); border-radius: 16px; background: #fff; box-shadow: var(--pt-shadow); color: var(--pt-body) !important; text-decoration: none; }
.le-pt-stat strong{ color: var(--pt-navy); font-size: 2rem; letter-spacing: -.04em; line-height: 1; }
.le-pt-stat span{ font-size: .85rem; font-weight: 600; }
.le-pt-stat:hover{ border-color: var(--pt-blue); }
.le-pt-facts dl{ display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 24px; margin: 0; }
.le-pt-facts dt{ color: var(--pt-muted); font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.le-pt-facts dd{ margin: 2px 0 0; color: var(--pt-ink); font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Receipt ---------- */
.le-pt-receipt{ display: grid; gap: 18px; }
.le-pt-receipt header{ display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; color: var(--pt-body); font-size: .9rem; }
.le-pt-receipt__no{ display: grid; text-align: right; }
.le-pt-receipt__no strong{ color: var(--pt-ink); font-size: 1.5rem; }
.le-pt-receipt__total{ display: flex; justify-content: space-between; padding-top: 12px; border-top: 2px solid var(--pt-ink); font-weight: 800; }
.le-pt-receipt__total strong{ font-size: 1.4rem; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 1100px){
  .le-pt-stats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .le-pt-booking{ grid-template-columns: 120px minmax(0, 1fr); }
  .le-pt-booking__side{ grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--pt-line); }
}
/* Tablets and phones: the menu becomes a grid of tiles, so every tab is in view. */
@media (max-width: 960px){
  .le-pt__layout{ grid-template-columns: minmax(0, 1fr); }
  .le-pt__nav{ position: static; display: block; padding: 8px; }
  .le-pt__who{ display: none; }
  .le-pt__nav ul{ grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
  .le-pt__nav a{ position: relative; flex-direction: column; justify-content: center; gap: 4px; min-height: 66px; padding: 8px 4px; font-size: .8rem; line-height: 1.2; text-align: center; }
  .le-pt__nav a span{ flex: none; }
  .le-pt__nav a.is-active{ box-shadow: inset 0 0 0 1.5px var(--pt-blue); }
  .le-pt__nav .le-pt-count{ position: absolute; top: 6px; left: calc(50% + 6px); }
  .le-pt__logout{ flex-direction: row !important; min-height: 40px !important; margin-top: 4px; border-radius: 0 0 10px 10px !important; }
  .le-pt-grid2, .le-pt-guest{ grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px){
  .le-pt__nav ul{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px){
  .le-pt-choices, .le-pt-two{ grid-template-columns: minmax(0, 1fr); }
  .le-pt-booking{ grid-template-columns: minmax(0, 1fr); }
  .le-pt-booking__time{ grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; border-right: 0; border-bottom: 1px solid var(--pt-line); }
  /* Each row becomes a card: the column name on the left of every value. */
  .le-pt-table table, .le-pt-table tbody{ display: block; width: 100%; }
  .le-pt-table thead{ display: none; }
  .le-pt-table tr{ display: block; padding: 12px 16px; border-top: 1px solid var(--pt-line); }
  .le-pt-table tr:first-child{ border-top: 0; }
  .le-pt .le-pt-table td{ position: relative; display: block; min-height: 30px; padding: 5px 0 5px 112px; border: 0; overflow-wrap: anywhere; }
  .le-pt .le-pt-table td::before{ content: attr(data-label); position: absolute; top: 8px; left: 0; width: 100px; color: var(--pt-muted); font-size: .72rem; font-weight: 800; letter-spacing: .04em; line-height: 1.3; text-transform: uppercase; }
  .le-pt .le-pt-table td[data-label=""]{ padding-left: 0; }
  .le-pt .le-pt-table td[data-label=""]::before{ display: none; }
  .le-pt-table form{ display: block; margin: 6px 0 0; }
  .le-pt-step{ padding-left: 0; }
  .le-pt-step::before{ display: none; }
  .le-pt-step legend{ margin-left: 0; }
  .le-pt-stats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .le-pt-mailrow{ grid-template-columns: minmax(0, 1fr); }
  .le-pt-mailrow time{ grid-row: auto; grid-column: 1; }
}

/* ---------- Printing a receipt ---------- */
@media print{
  .le-pt__nav, .le-pt-head__actions, .le-pt-alert, header.site-header, .le-site-header, footer, .le-callbar{ display: none !important; }
  .le-pt__layout{ display: block; }
  .le-pt-card{ border: 0; box-shadow: none; }
}
