/* 📱 The New booking pop-up in the new phone look (25 Nov 2026) — the same look
   as the quote / job card (phone-popup.css): a head with ‹ Back, the date first
   and bold, cards, 48px buttons, GetBookedUp blue #006aac, a pinned bottom bar.

   EVERY RULE IS SCOPED to something phone-booking.js adds only on a phone and
   only where the business has the new phone pop-up switched on:
     .pb-on / .pb-host   the booking pop-up while it is in the new look
     #pb-… / .pb-…       elements that exist only inside its shell
     .pb-dlg             the two small dialogs that go with it
   Nothing here can touch the desktop pop-up, a tablet, or a phone at a
   business where the switch is off.

   Never colour alone: the chosen thing always carries a ✓ or a word.
   Tap targets 44px or taller (48 for the main buttons). Boxes you type in 16px. */

#overlay.pb-host{padding:0;align-items:stretch;overflow:hidden;}
#overlay .modal.pb-on{width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:none;border-radius:0;padding:0;margin:0;
  display:flex;flex-direction:column;overflow:hidden;background:#f3f6f9;box-shadow:none;}
/* Everything the old layout drew is hidden wholesale; what this look needs has been
   MOVED into the shell (and is moved back whenever the pop-up closes). */
#overlay .modal.pb-on > :not(#pb-shell){display:none !important;}
#pb-shell{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;position:relative;color:#13202e;font-size:16px;line-height:1.4;}
#pb-shell[hidden]{display:none;}
#pb-shell *{box-sizing:border-box;}
.pb-slot{min-width:0;}
.pb-slot:empty,.pb-slot[hidden]{display:none;}

/* ── the front: scrolls as one, the bar stays ── */
#pb-front{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;}
#pb-top{background:#fff;padding:6px 16px 12px;border-bottom:1px solid #dde4ec;}
.pb-nav{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 -8px;}
.pb-link{appearance:none;border:0;background:none;color:#006aac;font:inherit;font-weight:600;font-size:16px;
  min-height:44px;min-width:44px;padding:0 8px;display:inline-flex;align-items:center;gap:2px;cursor:pointer;flex:none;}
.pb-link svg{width:20px;height:20px;}
.pb-when{font-size:17px;overflow-wrap:anywhere;}
.pb-when b{font-weight:800;}
.pb-name{font-size:25px;font-weight:800;letter-spacing:-.01em;line-height:1.2;margin:2px 0;overflow-wrap:anywhere;}
.pb-with{font-size:15px;font-weight:600;color:#5a6b7e;letter-spacing:0;}
.pb-addr{color:#5a6b7e;font-size:15px;overflow-wrap:anywhere;}
.pb-addr[hidden]{display:none;}
.pb-addr b{color:#13202e;}
.pb-labrow{display:flex;flex-wrap:wrap;gap:0 8px;align-items:center;margin-top:2px;}
.pb-chip{display:inline-flex;align-items:center;font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px;background:#e6f1f8;color:#006aac;overflow-wrap:anywhere;}
.pb-chip[hidden]{display:none;}
/* Status and Marker: a label you can read, and tap to change. The button is a
   fingertip tall (44px); the pill drawn inside it stays the size of a label. */
.pb-lab{appearance:none;border:0;background:none;padding:0;margin:0;font:inherit;color:inherit;min-height:44px;display:inline-flex;align-items:center;cursor:pointer;max-width:100%;min-width:0;}
.pb-lab[hidden]{display:none;}
.pb-lab-in{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:3px 12px;border-radius:999px;border:1.5px solid #006aac;background:#fff;color:#006aac;font-size:14px;font-weight:700;max-width:100%;min-width:0;}
.pb-lab-in > span:not(.pb-lab-sw){overflow-wrap:anywhere;text-align:left;min-width:0;}
.pb-lab-in::after{content:"\25BE";font-size:12px;flex:none;}
.pb-lab[aria-expanded="true"] .pb-lab-in{background:#006aac;color:#fff;}
.pb-lab[aria-expanded="true"] .pb-lab-in::after{content:"\25B4";}
.pb-lab:focus-visible .pb-lab-in{outline:2px solid #006aac;outline-offset:2px;}
.pb-lab-sw{width:12px;height:12px;border-radius:3px;border:1px dashed rgba(0,0,0,.45);flex:none;}
.pb-pick{margin-top:6px;border:1px solid #dde4ec;border-radius:14px;padding:10px 12px;background:#fff;}
.pb-pick[hidden]{display:none;}
#pb-shell .pb-pick #m-status-row > label{margin-top:0;}
#pb-shell .statusseg{gap:8px;}
#pb-shell .statusseg button{min-height:44px;font-size:15px;font-weight:700;padding:0 14px;border-radius:999px;border:1.5px solid #c5d0dc;color:#13202e;}
#pb-shell .statusseg button.on{background:#006aac;border-color:#006aac;color:#fff;}
#pb-shell .statusseg button.on::before{content:"\2713\00a0";font-weight:800;}

/* ── the cards ── */
#pb-body{padding:10px 12px 14px;display:flex;flex-direction:column;gap:10px;}
.pb-card{background:#fff;border:1px solid #dde4ec;border-radius:16px;padding:10px 14px;min-width:0;display:flex;flex-direction:column;gap:10px;}
.pb-card[hidden]{display:none;}
.pb-card.pb-slim{padding:8px;}
.pb-field{min-width:0;}
.pb-field[hidden]{display:none;}
.pb-h{font-size:13px;font-weight:700;color:#5a6b7e;margin:0;display:flex;justify-content:space-between;align-items:baseline;gap:8px;}
.pb-h b{color:#13202e;font-size:15px;font-weight:800;}
/* A field's label, above the box — never words inside the box. */
#pb-shell label,#pb-shell .pb-fl{display:block;font-size:13px;font-weight:700;color:#5a6b7e;margin:0 0 6px;line-height:1.3;}
#pb-shell .pb-fl span,#pb-shell label .muted{font-weight:500;color:#5a6b7e;}
#pb-shell .acc-body label{margin-top:10px;}
#pb-shell .acc-body > label:first-child,#pb-shell .acc-body > [id$="-chips"]:empty + label{margin-top:0;}
#pb-shell ::placeholder{color:transparent;}
.pb-hint{font-size:13.5px;color:#5a6b7e;margin:6px 0 0;}
.pb-hint[hidden]{display:none;}
#pb-shell select,#pb-shell input[type=text],#pb-shell input[type=number],#pb-shell input[type=datetime-local],#pb-shell textarea{
  width:100%;min-height:48px;border:1.5px solid #c5d0dc !important;border-radius:12px !important;background:#fff;padding:8px 12px !important;
  font-family:inherit;font-size:16px;font-weight:600;color:#13202e;margin:0;}
#pb-shell select + select{margin-top:8px !important;}
#pb-shell textarea{font-weight:400;min-height:76px;}
#pb-shell select:disabled,#pb-shell input:disabled{background:#f3f6f9;color:#5a6b7e;}
.pb-typerow{display:flex;align-items:center;gap:10px;min-width:0;}
.pb-typerow > .pb-slot:last-child{flex:1;min-width:0;}
#pb-shell .msw{width:18px !important;height:18px !important;border-radius:5px;margin:0;flex:none;}

/* Customer | Block Out | Task */
.pb-seg3{display:flex;gap:8px;}
.pb-seg3 button{appearance:none;flex:1 1 auto;min-width:0;min-height:48px;border-radius:12px;border:1.5px solid #c5d0dc;background:#fff;color:#13202e;
  font:inherit;font-weight:700;font-size:15px;padding:4px 6px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;white-space:nowrap;}
.pb-seg3 button[hidden]{display:none;}
.pb-seg3 button[aria-pressed="true"]{background:#006aac;border-color:#006aac;color:#fff;}
.pb-seg3 button[aria-pressed="true"]::before{content:"\2713\00a0";font-weight:800;}
#pb-kind-hint{margin:0 6px 2px;}
@media (max-width:360px){ .pb-emo{display:none;} }

/* Client */
#pb-shell #m-client-row > label::after{content:" (search name, email or phone)";font-weight:500;}
/* A client that cannot be changed here (from their record, or while editing) is not a search. */
#pb-shell #m-client-row:has(#m-contact:disabled) > label::after{content:"";}
#pb-shell .results{border:1px solid #dde4ec;border-radius:12px;margin-top:6px;max-height:232px;}
#pb-shell .results div{min-height:44px;padding:10px 12px;font-size:16px;display:flex;align-items:center;flex-wrap:wrap;gap:6px;overflow-wrap:anywhere;}
#pb-shell .results .search-failed .btn{min-height:44px;font-size:15px;padding:0 14px;margin:0;}
#pb-shell .chosen{font-size:16px;font-weight:700;margin-top:8px;overflow-wrap:anywhere;}
#pb-shell .chosen:empty{display:none;}
#pb-shell .chosen-addr{font-size:15px;color:#5a6b7e;overflow-wrap:anywhere;}

/* When: Start and Length */
#pb-shell .m-timeedit{margin:0;padding:0;background:none;border:0;border-radius:0;}
#pb-shell .m-te-row{gap:8px;flex-wrap:wrap;}
#pb-shell .m-te-row + .m-te-row{margin-top:10px;}
#pb-shell .m-te-lbl{font-size:13px;font-weight:700;color:#5a6b7e;min-width:44px;}
#pb-shell .m-te-row + .m-te-row .m-te-lbl{flex:1 1 100%;}
#pb-shell .m-te-sel{flex:1;min-width:0;width:auto;font-weight:800;font-size:18px;}
#pb-shell .m-te-colon{font-weight:800;font-size:18px;}
#pb-shell .m-te-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(50px,1fr));gap:6px;flex:1 1 100%;}
#pb-shell .m-te-chip{min-height:44px;border-radius:12px;border:1.5px solid #c5d0dc;background:#fff;color:#13202e;font-weight:700;font-size:15px;
  padding:0 2px;display:inline-flex;align-items:center;justify-content:center;gap:2px;white-space:nowrap;}
/* The chosen length: its ✓ needs the room, so its own figures are a touch smaller (measured at 320 wide). */
#pb-shell .m-te-chip.on{background:#006aac;border-color:#006aac;color:#fff;font-size:14px;}
#pb-shell .m-te-chip.on::before{content:"\2713";font-weight:800;font-size:11px;}

/* Fixed or Flexible (and the two small switches inside "Move / close an opportunity") */
#pb-shell .seg{gap:8px;}
#pb-shell .seg button{min-height:48px;border-radius:12px;border:1.5px solid #c5d0dc;font-weight:700;font-size:16px;padding:4px 6px;color:#13202e;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;}
#pb-shell .seg button.on{background:#006aac !important;border-color:#006aac;color:#fff !important;}
#pb-shell .seg button.on::before{content:"\2713";font-weight:800;}
#pb-shell #m-style button[data-style="flexible"]::after{content:"\2194";order:-1;}
#pb-shell #m-style button[data-style="fixed"]::after{content:"\1F4CC";order:-1;}
#pb-shell #m-style button.on::before{order:-2;}

/* Workshop duty: a tick box a fingertip tall, and its ⓘ */
#pb-shell #m-workshop-row{margin:0 !important;}
#pb-shell #m-workshop-row label{min-height:48px;font-size:15px !important;margin:0 !important;padding:6px 10px !important;border-radius:12px !important;flex-wrap:wrap;}
#pb-shell #m-workshop-row label span{white-space:normal !important;}
#pb-shell #m-workshop-i{min-width:44px;min-height:44px;font-size:18px;padding:0;flex:none;}
#pb-shell .ws-help{font-size:15px;}

/* Tick boxes: a 44px tap area around a 24px box, so the finger gets the room. */
#pb-shell input[type=checkbox]{-webkit-appearance:none;appearance:none;width:44px;height:44px;margin:0;border:0;flex:none;cursor:pointer;
  background:no-repeat center/24px 24px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1.5' y='1.5' width='21' height='21' rx='5' fill='%23fff' stroke='%239aa8b8' stroke-width='2.5'/%3E%3C/svg%3E");}
#pb-shell input[type=checkbox]:checked{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1.5' y='1.5' width='21' height='21' rx='5' fill='%23006aac' stroke='%23006aac' stroke-width='2.5'/%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
#pb-shell input[type=checkbox]:focus-visible{outline:2px solid #006aac;outline-offset:-6px;border-radius:10px;}
#pb-shell input[type=checkbox]:disabled{opacity:.55;cursor:not-allowed;}

/* Reference / PO, and money overdue: today's own boxes, with room. Each is already a box
   with its own edge, so the card around them draws nothing. */
#pb-card-po{background:none;border:0;padding:0;border-radius:0;}
#pb-shell #m-po-row,#pb-shell #m-owed-row{margin:0;border-radius:12px;}
#pb-shell #m-po-row .m-po-who,#pb-shell #m-owed-row .m-owed-line{font-size:15px;overflow-wrap:anywhere;}
#pb-shell #m-po-row .m-po-hint,#pb-shell #m-owed-row .m-owed-hint{font-size:13.5px;}
#pb-shell .po-needed{font-size:13.5px;}
#pb-shell a.xh-i{display:inline-flex;align-items:center;min-height:44px;font-size:14px;padding:0 14px;}

/* ── the rows, and the recurring set-up button ── */
#pb-rows{background:#fff;border-radius:16px;border:1px solid #dde4ec;overflow:hidden;}
#pb-rows[hidden]{display:none;}
.pb-row{appearance:none;border:0;border-top:1px solid #dde4ec;background:#fff;color:inherit;font:inherit;text-align:left;width:100%;
  display:flex;align-items:center;gap:12px;padding:8px 12px;min-height:56px;cursor:pointer;}
.pb-row:first-child{border-top:0;}
.pb-ico{width:38px;height:38px;border-radius:10px;background:#e6f1f8;color:#006aac;display:grid;place-items:center;flex:none;font-size:18px;}
.pb-row-text{flex:1;min-width:0;display:flex;flex-direction:column;}
.pb-row-title{font-size:16px;font-weight:700;}
.pb-row-sum{font-size:13.5px;color:#5a6b7e;overflow-wrap:break-word;}
.pb-chev{color:#9aa8b8;flex:none;display:grid;place-items:center;}
.pb-chev svg{width:20px;height:20px;}
.pb-card.pb-stack{padding:8px;}
#pb-shell #m-repeat{min-height:48px;width:100%;margin:0 !important;border-radius:12px;border:1.5px solid #c5d0dc;font-size:16px;font-weight:700;color:#13202e;}

/* ── what it has to say, and the bottom bar ── */
#pb-msg{flex:none;background:#fff;padding:0 12px;}
#pb-shell #m-err{font-size:15px;line-height:1.35;margin:10px 0;overflow-wrap:anywhere;}
#pb-shell #m-repick{min-height:48px;margin:0 0 10px !important;border-radius:12px;border:1.5px solid #006aac;color:#006aac;font-size:15.5px;font-weight:700;white-space:normal;}
#pb-why{font-size:14px;font-weight:600;color:#5a6b7e;padding:8px 0;}
#pb-why[hidden]{display:none;}
#pb-bar,#pb-sheet-bar{background:#fff;border-top:1px solid #dde4ec;display:flex;gap:10px;flex:none;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));}
#pb-bar .pb-slot{display:flex;}
#pb-bar #pb-s-confirm{flex:1;}
#pb-shell #pb-bar .btn,#pb-shell #pb-sheet-bar .btn{min-height:50px;border-radius:12px;font-size:16px;font-weight:800;margin:0;padding:0 16px;border:1.5px solid #c5d0dc;color:#13202e;}
#pb-shell #pb-bar #m-confirm,#pb-shell #pb-sheet-bar .btn.primary{flex:1;background:#006aac;border-color:#006aac;color:#fff;}
#pb-shell #pb-bar #m-confirm:disabled{opacity:.5;}

/* ── Follow-up actions, on a screen of their own ── */
#pb-sheet{position:absolute;inset:0;background:#f3f6f9;display:flex;flex-direction:column;z-index:3;}
#pb-sheet[hidden]{display:none;}
#pb-sheet-head{background:#fff;padding:6px 16px 10px;border-bottom:1px solid #dde4ec;flex:none;}
#pb-sheet-title{margin:0;font-size:23px;font-weight:800;line-height:1.2;}
#pb-sheet-sub{margin:2px 0 0;font-size:14.5px;color:#5a6b7e;overflow-wrap:anywhere;}
#pb-sheet-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:12px;}
#pb-shell #m-actions-pane{border:0;padding:0;margin:0;}
/* The sheet's own title says "Follow-up actions". */
#pb-shell #m-actions-pane .bp-right-head{display:none;}
#pb-shell #m-acc{background:#fff;border:1px solid #dde4ec;border-radius:16px;overflow:hidden;}
/* Each row opens and closes like a drawer: a chevron that points down when shut, up when open. */
#pb-shell .acc-row{border:0;border-top:1px solid #dde4ec;border-radius:0;margin:0;}
#pb-shell .acc-row:first-child{border-top:0;}
/* No tick here (Allan, card q20: "they are choosing something, not on/off"): filling a row in is
   what makes it run, and Clear empties it. Today's tick box stays in the page, hidden; phone-booking.js
   ticks it as a row is filled in, because that is what Confirm reads. */
#pb-shell .acc-en{display:none;}
#pb-shell .acc-head{padding:4px 12px 4px 14px;gap:4px;background:#fff;min-height:56px;}
#pb-shell .acc-row.on .acc-head{background:#fff;}
#pb-shell .acc-toggle{min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;align-items:center;align-content:center;min-width:0;}
#pb-shell .acc-lbl{grid-column:1;font-size:16px;font-weight:700;line-height:1.3;overflow-wrap:anywhere;}
#pb-shell .acc-on{display:none;}
.pb-acc-sum{grid-column:1;font-size:13.5px;font-weight:600;color:#5a6b7e;line-height:1.3;overflow-wrap:anywhere;}
.pb-acc-sum[hidden]{display:none;}
/* The words carry the meaning (✓ / ⚠ / "Not used"); the colour only backs them up. */
.pb-acc-sum[data-state="run"]{color:#17703f;}
.pb-acc-sum[data-state="warn"]{color:#9a4d00;}
.pb-acc-sum[data-state="none"]{font-weight:500;}
/* Clear: empties an open row, so it will not run. Plain, a fingertip tall, never the blue of a "do it" button. */
.pb-acc-clear{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:88px;margin:14px 0 0;padding:0 18px;
  border-radius:12px;border:1.5px solid #c5d0dc;background:#fff;color:#13202e;font:inherit;font-size:15px;font-weight:700;cursor:pointer;}
.pb-acc-clear:focus-visible{outline:2px solid #006aac;outline-offset:2px;}
#pb-shell .acc-chev{grid-column:2;grid-row:1 / span 2;width:28px;height:28px;border:0;border-radius:0;background:none;color:#5a6b7e;}
#pb-shell .acc-chev::before{content:"";width:22px;height:22px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;}
#pb-shell .acc-toggle[aria-expanded="true"] .acc-chev{background:none;color:#006aac;}
/* color here too: the diary's own rule turns an open row's mark white (it sat on a blue box). */
#pb-shell .acc-toggle[aria-expanded="true"] .acc-chev::before{content:"";color:#006aac;transform:rotate(180deg);}
#pb-shell .acc-body{padding:10px 14px 14px;border-top:1px solid #dde4ec;}
#pb-shell .acc-body[hidden]{display:none;}
/* :not(textarea) — the text message box is "act-sms-msg" too, and a box you type in stays 16px (an iPhone zooms in under that). */
#pb-shell .acc-note,#pb-shell .acc-msg,#pb-shell .acc-body [id$="-msg"]:not(textarea){font-size:13.5px !important;}
#pb-shell .acc-msg[hidden]{display:none;}
/* A chosen tag or workflow: its ✕ is a fingertip wide. */
#pb-shell [id$="-chips"]:empty{display:none !important;}
#pb-shell [id$="-chips"] > span{min-height:44px;padding:0 0 0 12px !important;font-size:15px !important;font-weight:600;gap:0 !important;}
#pb-shell [id$="-chips"] > span > span{min-width:44px;min-height:44px;display:inline-grid;place-items:center;font-size:16px;}
#pb-shell .opp-list{max-height:none;gap:8px;}
#pb-shell .opp-pick{display:flex;min-height:48px;margin:0;padding:8px 12px;border-radius:12px;border:1.5px solid #c5d0dc;align-items:center;gap:10px;font-size:15px;font-weight:400;color:#13202e;}
#pb-shell .opp-pick input{width:22px;height:22px;margin:0;flex:none;}
#pb-shell .opp-pick .opp-pipe{font-size:15px;}
#pb-shell .opp-pick .opp-stage{font-size:14px;margin-left:0;}
#pb-shell .opp-pick .opp-meta{font-size:13.5px;}

/* A phone held sideways has no height to spare: tighter top, same rules. */
@media (orientation:landscape) and (max-height:520px){
  .pb-name{font-size:20px;}
  #pb-top{padding-bottom:8px;}
}

/* ── the two small dialogs that go with it: "Change appointment" and the question / notice ──
   Same sheet, same head, same pinned bar. Scoped to .pb-dlg, which phone-booking.js adds
   only on a phone with the switch on. !important only where the dialogs' own inline sizes
   (written for a mouse) have to be beaten. */
.overlay.pb-dlg{background:#f3f6f9;padding:0;align-items:stretch;}
.overlay.pb-dlg > .modal{background:#f3f6f9;padding:0 !important;display:flex;flex-direction:column;box-shadow:none;color:#13202e;font-size:16px;line-height:1.4;}
.overlay.pb-dlg > .modal > h2{background:#fff;margin:0;padding:18px 16px 6px;font-size:23px;font-weight:800;line-height:1.2;letter-spacing:-.01em;color:#13202e;overflow-wrap:anywhere;flex:none;}
.overlay.pb-dlg > .modal > .confirm-body{background:#fff;margin:0 !important;padding:0 16px 14px;border-bottom:1px solid #dde4ec;font-size:16px;line-height:1.45;color:#13202e;overflow-wrap:anywhere;flex:none;}
.overlay.pb-dlg > .modal > .confirm-body b{font-weight:800;}
.overlay.pb-dlg > .modal > .actions{position:sticky;bottom:0;margin:auto 0 0 !important;padding:10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
  background:#fff;border-top:1px solid #dde4ec;display:flex;flex-wrap:nowrap;gap:10px;flex:none;}
.overlay.pb-dlg > .modal > .actions .btn{min-height:50px !important;border-radius:12px;border:1.5px solid #c5d0dc;font-size:16px !important;font-weight:800 !important;padding:0 16px !important;margin:0;color:#13202e;}
.overlay.pb-dlg > .modal > .actions .btn.primary{flex:1;background:#006aac;border-color:#006aac;color:#fff;}
.overlay.pb-dlg > .modal > .actions .btn.danger-primary{flex:1;background:#dc2626;border-color:#dc2626;color:#fff;}
.overlay.pb-dlg > .modal > .actions .btn:only-child{flex:1;}
/* Change appointment: each choice is a card you tap. */
.overlay.pb-dlg-change > .modal > .btn,
.overlay.pb-dlg-change > .modal > div > .btn[data-act="move"]{min-height:64px;border:1px solid #dde4ec !important;border-radius:16px;background:#fff;
  padding:12px 14px !important;font-size:17px;color:#13202e;white-space:normal;}
.overlay.pb-dlg-change > .modal > .btn{margin:12px 12px 0 !important;width:calc(100% - 24px) !important;flex:none;}
.overlay.pb-dlg-change > .modal > .btn b,.overlay.pb-dlg-change > .modal > div > .btn[data-act="move"] b{font-weight:800;}
.overlay.pb-dlg-change > .modal > .btn > div,
.overlay.pb-dlg-change > .modal > div > .btn[data-act="move"] > div{font-size:14px !important;line-height:1.4;color:#5a6b7e !important;margin-top:4px !important;}
.overlay.pb-dlg-change > .modal > div:has(> [data-act="move"]){margin:12px 12px 0 !important;gap:8px !important;flex:none;}
.overlay.pb-dlg-change > .modal > div > [data-act="move-info"]{min-height:48px !important;flex:0 0 48px !important;border-radius:16px;}
.overlay.pb-dlg-change #move-info{margin:8px 12px 0 !important;font-size:15px !important;border-radius:12px !important;flex:none;}
.overlay.pb-dlg-change #move-info[hidden]{display:none;}
.overlay.pb-dlg-change #move-info a{display:inline-flex;align-items:center;min-height:44px;}
