/* rezbee.app/panel — the business panel. Built on book.css tokens (--primary,
   --secondary, --line, --bg …). Desktop: a fixed sidebar and a content column.
   Phone: a top bar and bottom tabs, the way the app lays itself out. */

.pn { min-height: 100vh; background: var(--bg); color: var(--text); font-family: 'Inter', system-ui, sans-serif; padding-bottom: 0; }

/* ── Sign-in ─────────────────────────────────────────────────────── */
.pn-login { max-width: 440px; margin: 0 auto; padding: 48px 20px; }
.pn-login-brand { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 18px; color: var(--secondary); font-weight: 800; font-size: 20px; text-decoration: none; }
.pn-login-brand img { width: 36px; height: 36px; border-radius: 10px; }
.pn-login h1 { margin: 0 0 6px; font-size: 24px; text-align: center; color: var(--secondary); }
.pn-login .bp-muted { text-align: center; margin-bottom: 18px; }
.pn-login .rw-signin { box-shadow: var(--shadow); }
.pn-login-alt { margin-top: 14px; text-align: center; font-size: 13px; color: var(--text-light); }
.pn-login-alt a, .pn-login-alt button { color: var(--primary-ink); font-weight: 600; background: none; border: 0; cursor: pointer; text-decoration: underline; font-size: 13px; }
.pn-email-form { margin-top: 12px; display: grid; gap: 8px; }
.pn-email-form .rw-input { width: 100%; }

/* ── Shell ───────────────────────────────────────────────────────── */
.pn-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.pn-side { position: sticky; top: 0; height: 100vh; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 14px; }
.pn-brand { display: flex; align-items: center; gap: 10px; color: var(--secondary); font-weight: 800; text-decoration: none; font-size: 17px; padding: 4px 8px 16px; }
.pn-brand img { width: 30px; height: 30px; border-radius: 8px; }
.pn-biz { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #F4F8F9; margin-bottom: 14px; }
.pn-biz img, .pn-biz .pn-biz-ini { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; flex: none; }
.pn-biz-ini { display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; }
.pn-biz-name { font-weight: 700; font-size: 14px; color: var(--secondary); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-biz-sub { font-size: 12px; color: var(--muted); }
.pn-nav { display: grid; gap: 2px; }
.pn-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; }
.pn-nav a i { width: 18px; text-align: center; color: var(--muted); }
.pn-nav a:hover { background: #F4F8F9; }
.pn-nav a.current { background: var(--secondary); color: #fff; }
.pn-nav a.current i { color: #fff; }
.pn-nav .pn-badge { margin-left: auto; background: var(--bad); color: #fff; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; }
.pn-side-foot { margin-top: auto; display: grid; gap: 6px; font-size: 13px; }
.pn-side-foot a, .pn-side-foot button { display: flex; align-items: center; gap: 8px; color: var(--text-light); text-decoration: none; background: none; border: 0; padding: 8px 12px; cursor: pointer; font: inherit; font-size: 13px; border-radius: 10px; }
.pn-side-foot a:hover, .pn-side-foot button:hover { background: #F4F8F9; }
.pn-side-foot .rw-lang { align-self: start; margin: 4px 8px; }
.pn-side-foot .rw-lang-btn { color: var(--secondary); }
.pn-side-foot .rw-lang-btn.active { background: var(--secondary); color: #fff; }

.pn-main { min-width: 0; padding: 22px 28px 60px; }
.pn-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.pn-head h1 { margin: 0; font-size: 24px; font-weight: 800; color: var(--secondary); letter-spacing: -.01em; }
.pn-head p { margin: 4px 0 0; color: var(--text-light); font-size: 14px; }
.pn-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Phone layout */
.pn-topbar, .pn-tabs { display: none; }
@media (max-width: 900px) {
  .pn-shell { grid-template-columns: 1fr; }
  .pn-side { display: none; }
  .pn-topbar { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 14px; gap: 10px; }
  .pn-topbar .pn-brand { padding: 0; font-size: 16px; }
  .pn-topbar .pn-biz-name { max-width: 50vw; }
  .pn-topbar-right { display: flex; align-items: center; gap: 8px; }
  .pn-topbar-right button { background: none; border: 0; color: var(--text-light); font-size: 18px; padding: 6px; cursor: pointer; }
  .pn-main { padding: 14px 14px 90px; }
  .pn-tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .pn-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; padding: 4px 0; position: relative; }
  .pn-tabs a i { font-size: 18px; }
  .pn-tabs a.current { color: var(--primary-ink); }
  .pn-tabs .pn-badge { position: absolute; top: 0; right: 18%; background: var(--bad); color: #fff; font-size: 10px; font-weight: 800; padding: 0 5px; border-radius: 999px; }
  .pn-head h1 { font-size: 20px; }
}

/* ── Building blocks ──────────────────────────────────────────────── */
.pn-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.pn-card h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--secondary); display: flex; align-items: center; gap: 8px; }
.pn-card h2 i { color: var(--primary-ink); }
.pn-card h2 .pn-more { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--primary-ink); text-decoration: none; }
.pn-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pn-grid-2 { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; }
.pn-stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-bottom: 12px; }
.pn-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.pn-stat .n { font-size: 26px; font-weight: 800; color: var(--secondary); line-height: 1; }
.pn-stat .l { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.pn-stat.warn .n { color: var(--warn); }
.pn-stat.bad .n { color: var(--bad); }
.pn-stat.ok .n { color: var(--ok); }
.pn-muted, .bp-muted { color: var(--text-light); font-size: 13px; }
.pn-empty { padding: 24px; text-align: center; color: var(--muted); font-size: 14px; }
.pn-error { padding: 10px 12px; border-radius: 10px; background: #FDECEC; color: #8B1D1D; font-size: 13px; margin: 8px 0; }
.pn-notice { padding: 10px 12px; border-radius: 10px; background: #FFF4E5; color: #7A4B00; font-size: 13px; margin: 8px 0; }
.pn-ok { padding: 10px 12px; border-radius: 10px; background: #E8F7EE; color: #1C6B3A; font-size: 13px; margin: 8px 0; }

.pn-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--secondary); font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; }
.pn-btn:hover { background: #F4F8F9; }
.pn-btn:disabled { opacity: .5; cursor: default; }
.pn-btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.pn-btn.primary:hover { background: var(--primary-dark); }
.pn-btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.pn-btn.bad { background: var(--bad); border-color: var(--bad); color: #fff; }
.pn-btn.ghost { border-color: transparent; }
.pn-btn.sm { padding: 6px 10px; font-size: 12px; }
.pn-link { background: none; border: 0; color: var(--primary-ink); font-weight: 600; cursor: pointer; font-size: 13px; padding: 0; text-decoration: underline; }

.pn-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #EEF3F5; color: var(--text-light); }
.pn-chip.pending { background: #FFF4E5; color: #B45309; }
.pn-chip.accepted { background: #E6F7FA; color: #00747F; }
.pn-chip.in_progress { background: #E8EEFF; color: #3B4CCA; }
.pn-chip.completed { background: #E8F7EE; color: #1C6B3A; }
.pn-chip.cancelled, .pn-chip.refused, .pn-chip.no_show { background: #FDECEC; color: #8B1D1D; }
.pn-chip.manual { background: #F3E8FF; color: #6B21A8; }
.pn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-choice { padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text); }
.pn-choice.on { background: var(--secondary); border-color: var(--secondary); color: #fff; }

/* Rows: one booking per line */
.pn-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #F0F4F5; cursor: pointer; }
.pn-row:first-of-type { border-top: 0; }
.pn-row .pn-time { flex: none; width: 56px; font-weight: 800; color: var(--secondary); font-size: 14px; }
.pn-row .pn-time small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.pn-row .pn-body { flex: 1; min-width: 0; }
.pn-row .pn-who { font-weight: 700; font-size: 14px; color: var(--secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-row .pn-what { font-size: 12.5px; color: var(--text-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-row .pn-right { flex: none; display: flex; align-items: center; gap: 6px; }
.pn-row.free { cursor: default; }
.pn-row.free .pn-who { color: var(--muted); font-weight: 500; }
.pn-row:hover { background: #FAFCFC; }

/* Calendar strip */
.pn-days { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
.pn-days::-webkit-scrollbar { display: none; }
.pn-day { flex: none; width: 56px; padding: 8px 0; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; text-align: center; cursor: pointer; font: inherit; }
.pn-day small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.pn-day b { display: block; font-size: 17px; color: var(--secondary); }
.pn-day .dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); margin-top: 3px; opacity: 0; }
.pn-day.has .dot { opacity: 1; }
.pn-day.on { background: var(--secondary); border-color: var(--secondary); }
.pn-day.on small, .pn-day.on b { color: #fff; }
.pn-day.today { border-color: var(--primary); }
.pn-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pn-cal-head h2 { margin: 0; font-size: 16px; }
.pn-cal-head input[type=date] { border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 10px; font: inherit; }

/* Detail panel (drawer on desktop, sheet on phone) */
.pn-drawer-bg { position: fixed; inset: 0; background: rgba(10,30,35,.35); z-index: 40; display: flex; justify-content: flex-end; }
.pn-drawer { width: min(520px, 100%); height: 100%; background: #fff; overflow-y: auto; padding: 20px; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.pn-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.pn-drawer-head h2 { margin: 0; font-size: 20px; color: var(--secondary); }
.pn-close { background: none; border: 0; font-size: 20px; color: var(--muted); cursor: pointer; padding: 4px; }
.pn-kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 10px; font-size: 14px; margin: 10px 0; }
.pn-kv dt { color: var(--muted); }
.pn-kv dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.pn-drawer .pn-actions { margin-top: 14px; }
@media (max-width: 900px) {
  .pn-drawer-bg { align-items: flex-end; }
  .pn-drawer { width: 100%; height: auto; max-height: 92vh; border-radius: 18px 18px 0 0; }
}

/* Forms */
.pn-form { display: grid; gap: 10px; }
.pn-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text); }
.pn-form input, .pn-form select, .pn-form textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; width: 100%; box-sizing: border-box; }
.pn-form textarea { min-height: 80px; resize: vertical; }
.pn-form-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.pn-switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #F0F4F5; }
.pn-switch:first-child { border-top: 0; }
.pn-switch .t { font-weight: 600; font-size: 14px; color: var(--secondary); }
.pn-switch .h { font-size: 12.5px; color: var(--text-light); margin-top: 2px; }
.pn-toggle { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #D7E0E3; border: 0; cursor: pointer; flex: none; transition: background .15s; }
.pn-toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pn-toggle.on { background: var(--primary); }
.pn-toggle.on::after { left: 21px; }
.pn-hours { display: grid; gap: 8px; }
.pn-hours { max-width: 620px; }
.pn-hour { display: grid; grid-template-columns: 120px 140px 16px 140px auto; gap: 8px; align-items: center; font-size: 14px; }
.pn-hour input[type=time] { border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; }
.pn-hour .off { color: var(--muted); font-size: 13px; }
@media (max-width: 600px) { .pn-hour { grid-template-columns: 84px 1fr 12px 1fr 64px; font-size: 13px; } .pn-form-row { grid-template-columns: 1fr; } .pn-kv { grid-template-columns: 100px 1fr; } }

.pn-tabsbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pn-tabsbar a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 13px; }
.pn-tabsbar a.current { background: var(--secondary); border-color: var(--secondary); color: #fff; }

.pn-list-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pn-list-head input[type=search] { flex: 1; min-width: 180px; border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; font: inherit; }
.pn-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); color: var(--primary-ink); font-weight: 800; display: grid; place-items: center; flex: none; }
.pn-svc { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #F0F4F5; }
.pn-svc:first-of-type { border-top: 0; }
.pn-svc .pn-body { flex: 1; min-width: 0; }
.pn-svc .pn-price { font-weight: 800; color: var(--secondary); white-space: nowrap; }
.pn-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--secondary); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 60; box-shadow: var(--shadow); }
.pn-toast.bad { background: var(--bad); }
.pn-toast.ok { background: var(--ok); }
@media (max-width: 900px) { .pn-toast { bottom: 84px; } }

/* Grid children must be allowed to shrink below their content (day pills,
   long names), or the page scrolls sideways on a phone. */
.pn-shell > div, .pn-main, .pn-card, .pn-grid-2 > *, .pn-grid > * { min-width: 0; }
.pn-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.pn-grid { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
body:has(.pn) { overflow-x: hidden; }
@media (max-width: 900px) {
  .pn-topbar .pn-biz-name { flex: 1; min-width: 0; text-align: center; }
  .pn-head .pn-actions { width: 100%; }
  .pn-head .pn-actions > * { flex: 1 1 auto; justify-content: center; }
  .pn-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pn-tabs a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ── Week grid ──────────────────────────────────────────────────── */
.pn-wk { padding: 0; overflow: hidden; }
.pn-wk-head, .pn-wk-body { display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); }
.pn-wk-head { border-bottom: 1px solid var(--line); background: #FAFCFC; }
.pn-wk-head a { text-align: center; padding: 8px 0; text-decoration: none; color: var(--secondary); border-left: 1px solid #EEF3F5; }
.pn-wk-head a small { display: block; font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.pn-wk-head a b { font-size: 17px; }
.pn-wk-head a.today b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; }
.pn-wk-body { max-height: 70vh; overflow-y: auto; position: relative; }
.pn-wk-hours { position: relative; }
.pn-wk-hours div { position: absolute; right: 6px; transform: translateY(-50%); font-size: 11px; color: var(--muted); }
.pn-wk-hours div:first-child { transform: none; }
.pn-wk-col { position: relative; border-left: 1px solid #EEF3F5; cursor: copy; }
.pn-wk-col.today { background: #F7FDFE; }
.pn-wk-line { position: absolute; left: 0; right: 0; border-top: 1px solid #F0F4F5; pointer-events: none; }
.pn-wk-free { position: absolute; left: 3px; right: 3px; border-radius: 6px; background: repeating-linear-gradient(45deg, rgba(0,188,212,.06), rgba(0,188,212,.06) 6px, rgba(0,188,212,.12) 6px, rgba(0,188,212,.12) 12px); border: 1px dashed rgba(0,151,167,.35); }
.pn-wk-free:hover { background: rgba(0,188,212,.18); }
.pn-wk-ev { position: absolute; border-radius: 8px; padding: 3px 6px; background: color-mix(in srgb, var(--c) 14%, #fff); border-left: 3px solid var(--c); overflow: hidden; cursor: pointer; font-size: 11.5px; line-height: 1.25; color: var(--secondary); z-index: 1; }
.pn-wk-ev b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-wk-ev span { display: block; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn-wk-ev.pending { background: repeating-linear-gradient(135deg, #FFF7EB, #FFF7EB 6px, #FFEFD6 6px, #FFEFD6 12px); border-left-color: var(--warn); }
.pn-wk-ev.completed { opacity: .65; }
.pn-wk-ev.no_show, .pn-wk-ev.cancelled { opacity: .5; text-decoration: line-through; }
.pn-wk-ev:hover { box-shadow: 0 4px 14px rgba(0,0,0,.12); z-index: 2; }
.pn-wk-now { position: absolute; left: 0; right: 0; border-top: 2px solid var(--bad); z-index: 3; pointer-events: none; }
.pn-wk-now::before { content: ''; position: absolute; left: -4px; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); }
@media (max-width: 900px) {
  .pn-wk-head, .pn-wk-body { grid-template-columns: 40px repeat(7, minmax(46px, 1fr)); }
  .pn-wk { overflow-x: auto; }
  .pn-wk-ev span { display: none; }
}

.pn-svc .pn-who { font-weight: 700; font-size: 14px; color: var(--secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-svc .pn-what { font-size: 12.5px; color: var(--text-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pn-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.pn-photos figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #EEF3F5; aspect-ratio: 1; }
.pn-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pn-photos figcaption { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.pn-photos figcaption { text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.pn-photos figcaption button { background: rgba(0,0,0,.55); color: #fff; border: 0; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; line-height: 1; }

.pn-photo-add { display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 1; border-radius: 12px; border: 2px dashed var(--line); color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 600; }
.pn-photo-add i { font-size: 20px; }
.pn-photo-add:hover { border-color: var(--primary); color: var(--primary-ink); }

.pn-group { border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 12px; background: var(--surface-2, #F7FAFB); }
.pn-group-h { font-size: 13px; font-weight: 700; margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.pn-group-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 8px; padding: 6px 8px; cursor: pointer; font: inherit; color: inherit; }
.pn-group-row small { grid-column: 1; color: var(--muted); font-size: 12px; }
.pn-group-st { grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; }
.pn-group-row:hover, .pn-group-row.on { background: var(--card, #fff); }
.pn-group-row.on span { font-weight: 700; }
.pn-badge-group { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--primary-ink); background: rgba(0,0,0,.05); border-radius: 999px; padding: 1px 7px; margin-left: 6px; }

/* Pro plan */
.pn-pro { display: inline-flex; align-items: center; margin-left: auto; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #7A4E00; background: linear-gradient(135deg, #FFE08A, #FFC24D); }
.pn-nav a .pn-pro { margin-left: auto; }
.pn-nav a .pn-badge + .pn-pro { margin-left: 6px; }
h2 .pn-pro, .pn-tabsbar .pn-pro { margin-left: 8px; }
.pn-pro-hero { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #7A4E00; background: linear-gradient(135deg, #FFE08A, #FFC24D); margin: 0 auto 6px; }
.pn-locked { text-align: center; padding: 36px 24px; }
.pn-locked p { max-width: 520px; margin: 6px auto 16px; }
.pn-lock-note { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: #FFF7E0; border: 1px solid #F5DFA6; font-size: 14px; margin: 0 0 12px; }
.pn-lock-note .pn-btn { flex: none; }

/* Language picker — the home page's dropdown (index.html .lang-dropdown) */
.pn-ldd { position: relative; align-self: start; margin: 4px 8px; }
.pn-ldd .pn-ldd-toggle { display: inline-flex; align-items: center; gap: .45rem; background: rgba(0,188,212,.1); color: var(--secondary); border: none; padding: .55rem .85rem; border-radius: 20px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.pn-ldd .pn-ldd-toggle:hover, .pn-ldd .pn-ldd-toggle:focus-visible, .pn-side-foot .pn-ldd .pn-ldd-toggle:hover { background: rgba(0,188,212,.18); color: var(--primary); outline: none; }
.pn-ldd .pn-ldd-toggle .fa-globe { font-size: 1rem; color: var(--primary); }
.pn-ldd-caret { font-size: .7rem; opacity: .7; transition: transform .25s; }
.pn-ldd.open .pn-ldd-caret { transform: rotate(180deg); }
.pn-ldd-menu { position: absolute; top: calc(100% + 10px); left: 0; margin: 0; padding: .4rem; list-style: none; min-width: 170px; background: #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 1100; }
.pn-ldd.up .pn-ldd-menu { top: auto; bottom: calc(100% + 10px); transform: translateY(6px); }
.pn-ldd.open .pn-ldd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.pn-ldd-menu li { margin: 0; }
.pn-ldd .pn-ldd-opt { width: 100%; display: flex; align-items: center; gap: .65rem; background: transparent; border: none; padding: .55rem .75rem; border-radius: 8px; cursor: pointer; color: var(--text); font: inherit; font-size: .9rem; font-weight: 500; text-align: left; }
.pn-ldd .pn-ldd-opt:hover, .pn-side-foot .pn-ldd .pn-ldd-opt:hover { background: rgba(0,188,212,.1); color: var(--primary); }
.pn-ldd .pn-ldd-opt.active, .pn-side-foot .pn-ldd .pn-ldd-opt.active { background: var(--primary); color: #fff; }
.pn-ldd-flag { font-size: 1.05rem; line-height: 1; }
.pn-ldd-code { margin-left: auto; font-size: .7rem; font-weight: 700; opacity: .7; letter-spacing: .05em; }
.pn-auth-top .pn-ldd { margin: 0; }
.pn-auth-top .pn-ldd-menu { left: auto; right: 0; }

/* Client autocomplete in the quick booking */
.pn-ac { position: relative; }
.pn-ac-list { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: #fff; border-radius: 12px; box-shadow: 0 14px 36px rgba(14,23,38,.16), 0 0 0 1px rgba(14,23,38,.06); padding: 6px; z-index: 50; max-height: 300px; overflow: auto; }
.pn-ac-list[hidden] { display: none; }
.pn-ac-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; background: none; border-radius: 10px; cursor: pointer; text-align: left; font: inherit; color: var(--text); }
.pn-ac-item:hover, .pn-ac-item.on { background: #EEF8FA; }
.pn-ac-item .fa-circle-check { margin-left: auto; color: var(--primary); }
.pn-ac-tx { min-width: 0; display: grid; }
.pn-ac-tx b { font-size: 14px; font-weight: 700; }
.pn-ac-tx small { font-size: 12px; color: var(--text-light); font-weight: 500; }
.pn-avatar.sm { width: 30px; height: 30px; font-size: 12px; flex: none; }
.pn-ac-new { display: flex; align-items: center; gap: 6px; width: 100%; padding: 9px 10px; font: inherit; font-size: 13px; color: var(--primary-ink); background: none; border: 0; border-top: 1px solid var(--line); margin-top: 4px; cursor: pointer; text-align: left; border-radius: 0 0 10px 10px; }
.pn-ac-new:hover { background: #EEF8FA; }
.pn-ac.is-new input { border-color: var(--primary); }
.pn-ac-tag { display: none; position: absolute; right: 10px; top: 32px; font-size: 11px; font-weight: 800; color: var(--primary-ink); background: #E3F7FA; border-radius: 999px; padding: 2px 8px; pointer-events: none; }
.pn-ac.is-new .pn-ac-tag { display: inline-block; }
