/* Notarica 1.0.283 — one presentation layer for booking, independent of entry page.
   Selection, availability, payments and each flow's step order remain in JS. */
:root {
  --ntc-book-title:22px;
  --ntc-book-copy:16px;
  --ntc-book-note:15px;
  --ntc-book-button:16px;
  --ntc-book-pad:20px;
}
html:root :is(#overlay .modal,#ntcbSm .ntcb-sm,#ntcTfBack .ntc-tf,.nw-booking,.ntc-overlay .ntc-window) {
  --sans:Manrope,system-ui,sans-serif;
  --serif:"Playfair Display",Georgia,serif;
  --ink:#113943;--ink-soft:#63797F;--paper:#FFFFFF;--line:#D5DFE1;--gold:#FF4900;
  font-family:var(--sans);font-size:var(--ntc-book-copy);color:var(--ink);
  background:var(--paper);box-sizing:border-box;
}
html:root :is(#overlay .m-head,#ntcbSm .ntcb-sm-h,#ntcTfBack .ntc-tf-h,.ntc-overlay .ntc-head) {
  padding:16px var(--ntc-book-pad)!important;gap:10px;flex:none;
}
html:root :is(#overlay #mTitle,#ntcbSm #ntcbSmT,#ntcTfBack .tt,.nw-booking #nwTtl,.ntc-overlay .ntc-h) {
  font:700 var(--ntc-book-title)/1.25 "Playfair Display",Georgia,serif!important;
  color:#FF4900!important;letter-spacing:normal;min-width:0;
}
html:root :is(#overlay .m-body,#ntcbSm #ntcbSmBody,#ntcTfBack #ntcTfBody,.nw-booking #nwBody,.ntc-overlay .ntc-body) {
  box-sizing:border-box;padding:20px var(--ntc-book-pad)!important;min-height:0;
  overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  overflow-anchor:none;scroll-behavior:auto;font-size:var(--ntc-book-copy);line-height:1.5;
}
html:root :is(#overlay .m-foot,#ntcbSm .next-wrap,#ntcTfBack .ntc-tf-foot,.nw-booking #nwFoot) {
  box-sizing:border-box;padding:14px var(--ntc-book-pad)!important;margin:0;
  border-top:1px solid #D5DFE1;background:#FFFFFF;flex:none;gap:12px;
}
html:root :is(#overlay #backBtn,#overlay #nextBtn,#ntcbSm .next-wrap>button,#ntcTfBack .ntc-tf-foot>button,.nw-booking #nwFoot>button,.ntc-overlay .ntc-nav>button) {
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  font:600 var(--ntc-book-button)/1.3 Manrope,system-ui,sans-serif!important;
  min-height:46px;padding:12px 18px!important;letter-spacing:normal!important;
  text-align:center;text-indent:0!important;transform:none!important;border-radius:0 14px 0 14px!important;
}
html:root :is(#overlay #backBtn,#ntcbSm .ntcb-sm-back2,#ntcTfBack .ntc-tf-back-b,.nw-booking .nw-no) {
  color:#113943;background:#FFFFFF;border:1px solid #D5DFE1;
}
html:root :is(#overlay #nextBtn,#ntcbSm #nextBtnPage,#ntcTfBack .ntc-tf-next,.nw-booking .nw-yes) {
  color:#FFFFFF;background:#113943;border:1px solid #113943;
}
html:root :is(#overlay #footHint,#ntcbSm .next-hint,#ntcTfBack .ntc-tf-hint) {
  font-size:var(--ntc-book-note)!important;line-height:1.45!important;
}
html:root :is(#overlay .m-close,#overlay .m-full,#overlay .m-back,#ntcbSm .ntcb-sm-x,#ntcbSm .ntcb-sm-b,#ntcTfBack .ntc-tf-x,#ntcTfHeaderBack,.nw-booking .nw-x,.ntc-overlay .ntc-ic) {
  box-sizing:border-box!important;width:44px!important;height:44px!important;
  min-width:44px!important;min-height:44px!important;max-width:44px!important;flex:0 0 44px!important;
  display:inline-flex!important;align-items:center;justify-content:center;padding:0!important;
  border:1.5px solid #FF4900!important;border-radius:0 14px 0 14px!important;
  background:transparent!important;color:#FF4900!important;font-size:28px!important;line-height:1!important;box-shadow:none!important;
}
html:root :is(#overlay .m-back,#ntcbSm .ntcb-sm-b,#ntcTfHeaderBack,.nw-booking .nw-x)[hidden] {display:none!important}
html:root :is(#overlay .m-close,#ntcbSm .ntcb-sm-x,#ntcTfBack .ntc-tf-x,.nw-booking .nw-x):focus-visible {outline:none;box-shadow:inset 0 0 0 2px #FF4900!important}
html:root :is(#overlay,#ntcbSm,#ntcTfBack) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea,.ntc-dd-btn) {
  font-family:Manrope,system-ui,sans-serif;font-size:16px!important;line-height:1.4;
}
html:root :is(#overlay,#ntcbSm,#ntcTfBack) :is(.mfield>label,.mf-label,.dsearch input,.dsdd .it .t,.ntcb-pos-i .dt-name,.plashka .pn) {font-size:16px!important;line-height:1.4}
html:root :is(#overlay,#ntcbSm,#ntcTfBack) :is(.mf-hint,.mfield .sub,.mfield .help,.plashka .pp,.dsdd .it .g,.ntcb-pos-h,.ntcb-pause-note) {font-size:15px!important;line-height:1.45}

/* The two choice cards have the same type and spacing in both booking flows. */
html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind {gap:16px}
html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind>button {padding:20px!important;gap:16px!important;min-width:0;max-width:100%;border-radius:0 18px 0 18px}
html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind .ki {width:48px!important;height:48px!important;flex:none}
html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind b {font-size:20px!important;line-height:1.25!important}
html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind .kt {font-size:16px!important;line-height:1.5!important;display:block!important}
html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind .kg {font-size:16px!important;line-height:1.4;margin-top:4px!important}
html:root #ntcbSm .ntcb-choice-sticky:before {left:calc(-1 * var(--ntc-book-pad));right:calc(-1 * var(--ntc-book-pad))}

/* A slot dialog owns scrolling; the map and its fullscreen control stay below it. */
html:root #ntcTfMap:not(.ntc-tf-mapfull) {position:relative!important;isolation:isolate;z-index:0!important}
html:root #ntcTfBody.tf-slots-open {overflow:hidden!important;overscroll-behavior:none}
html:root #ntcTfBody.tf-slots-open>.ntc-tf-lay.on {box-sizing:border-box;align-items:flex-start;padding:8px 10px;overflow:hidden;overscroll-behavior:none}
html:root #ntcTfBody.tf-slots-open .ntc-tf-when {box-sizing:border-box;margin-top:0!important;max-height:100%!important;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html:root #ntcTfBack .ntc-tf-when :is(p,.ntc-tf-note,.ntc-tf-hint) {font-size:16px;line-height:1.5}

/* Client-only booking variants keep their own calendars and callbacks. */
html:root .nw-booking-back {z-index:100001;padding:20px}
html:root .nw-booking {
  display:flex;flex-direction:column;overflow:hidden;padding:0!important;margin:0!important;
  max-height:calc(100dvh - 40px);width:min(560px,100%);max-width:560px;border-radius:0 24px 0 24px;
}
html:root .nw-booking.wide {width:min(1120px,100%);max-width:1120px;height:min(860px,calc(100dvh - 40px))}
html:root .nw-booking #nwTtl {flex:none;margin:0!important;padding:18px 76px 18px var(--ntc-book-pad);border-bottom:1px solid #D5DFE1;min-height:78px;box-sizing:border-box}
html:root .nw-booking .nw-x {top:16px!important;right:20px!important}
html:root .nw-booking #nwBody {flex:1;min-height:0}
html:root .nw-booking #nwBody :is(p,.sub,.ag-sub,.ag-who,.mv-note) {font-size:16px!important;line-height:1.5;color:#63797F}
html:root .nw-booking #nwBody :is(input,select,textarea,.ntc-dd-btn) {font:16px/1.4 Manrope,system-ui,sans-serif}
html:root .nw-booking #nwFoot {display:flex;flex-wrap:wrap;justify-content:flex-end}
html:root .nw-booking #nwFoot[hidden] {display:none}
html:root .nw-booking #nwFoot>button {flex:1 1 160px;margin:0;min-width:0}

/* Retained shortcode constructor: its standalone document flow stays intact. */
html:root .ntc-overlay .ntc-window {border-radius:0 24px 0 24px;width:min(1120px,calc(100vw - 40px));max-height:calc(100dvh - 40px)}
html:root .ntc-overlay :is(.ntc-btn,.ntc-doc-card) {font-family:Manrope,system-ui,sans-serif;font-size:16px}
html:root .ntc-overlay :is(.ntc-cat-t,.ntc-label) {font-size:16px}
html:root .ntc-overlay :is(.ntc-muted,.ntc-tag,.ntc-hint) {font-size:15px}
.ntcb-hold-break {display:none}

@media(max-width:760px) {
  :root {--ntc-book-pad:16px;--ntc-book-copy:17px}
  html:root :is(#overlay .m-head,#ntcbSm .ntcb-sm-h,#ntcTfBack .ntc-tf-h) {padding:16px var(--ntc-book-pad)!important}
  html:root :is(#overlay .m-body,#ntcbSm #ntcbSmBody,#ntcTfBack #ntcTfBody) {padding:16px var(--ntc-book-pad)!important}
  html:root :is(#ntcbSmBody,#ntcTfBody).ntcb-choice-scroll {padding-bottom:68px!important}
  html:root #ntcTfBack .ntc-tf-h {display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;column-gap:10px!important;row-gap:8px!important;align-items:center!important}
  html:root #ntcTfHeaderBack {grid-column:1;grid-row:1;position:static!important}
  html:root #ntcTfBack .tt {grid-column:2;grid-row:1;width:auto!important;min-width:0!important}
  html:root #ntcTfBack .ntc-tf-x {grid-column:3;grid-row:1;position:static!important;margin:0!important}
  html:root #ntcTfBack .ntc-tf-h:has(#ntcTfHeaderBack[hidden]) .tt {grid-column:1/3}
  html:root #ntcTfStat {grid-column:1/4;grid-row:2;display:flex;flex-wrap:nowrap;gap:8px;margin:0!important;font:700 15px/1.4 Manrope,system-ui,sans-serif!important;white-space:nowrap}
  html:root #ntcTfStat:empty {display:none}
  html:root #ntcTfStat>span {display:inline!important;white-space:nowrap!important}
  html:root :is(#overlay .stepbar,#ntcbSmChain,#ntcTfChain) {
    display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:center!important;
    gap:14px!important;padding:10px 12px!important;min-height:52px;box-sizing:border-box;
    overflow-x:auto!important;overflow-y:hidden!important;width:100%;white-space:nowrap!important;scrollbar-width:none;overscroll-behavior-x:contain;
  }
  html:root :is(#overlay .stepbar,#ntcbSmChain,#ntcTfChain)::-webkit-scrollbar {display:none}
  html:root :is(#ntcbSmChain,#ntcTfChain)[hidden] {display:none!important}
  html:root :is(#overlay .stepbar,#ntcbSmChain,#ntcTfChain) .s {
    position:static!important;flex:0 0 auto!important;width:max-content!important;min-width:max-content!important;max-width:none!important;
    display:flex!important;align-items:center!important;gap:6px!important;font-size:15px!important;line-height:1.3!important;white-space:nowrap!important;
  }
  html:root :is(#overlay .stepbar,#ntcbSmChain,#ntcTfChain) .n {display:inline-flex!important;width:28px!important;height:28px!important;min-width:28px;align-items:center;justify-content:center;font-size:14px!important}
  html:root :is(#overlay .stepbar,#ntcbSmChain,#ntcTfChain) .ntc-step-label {display:inline!important;position:static!important;flex:none!important;width:auto!important;max-width:none!important;font-size:15px!important;white-space:nowrap!important}
  html:root :is(#overlay .stepbar,#ntcbSmChain,#ntcTfChain)::before,
  html:root :is(#overlay .stepbar,#ntcbSmChain,#ntcTfChain)::after {content:"";display:block;flex:0 0 calc(50% - 14px)}
  html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind {gap:12px}
  html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind>button {padding:14px!important;gap:12px!important}
  html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind .ki {width:40px!important;height:40px!important}
  html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind .ki svg {width:22px!important;height:22px!important}
  html:root :is(#ntcbSm,#ntcTfBack) .ntcb-kind b {font-size:18px!important;line-height:1.25!important}
  html:root #ntcbSm .ntcb-pos {width:calc(100% + 2 * var(--ntc-book-pad));max-width:none;margin-left:calc(-1 * var(--ntc-book-pad));margin-right:calc(-1 * var(--ntc-book-pad))}
  html:root #ntcTfBack.tf-kind-step {padding:0!important}
  html:root #ntcTfBack.tf-kind-step .ntc-tf {height:100dvh!important;max-height:100dvh!important;width:100%!important;border-radius:16px!important}
  html:root #ntcTfBack.tf-kind-step .ntc-tf-body {min-height:0!important}
  html:root :is(#overlay .m-foot,#ntcTfBack .ntc-tf-foot) {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  html:root :is(#overlay #footHint,#ntcTfHint) {grid-column:1/-1;text-align:center;order:3}
  html:root :is(#overlay #backBtn,#overlay #nextBtn,#ntcbSm .next-wrap>button,#ntcTfBack .ntc-tf-foot>button) {padding:12px 10px!important}
  html:root .nw-booking-back {padding:12px}
  html:root .nw-booking-back:has(.nw-booking.wide) {padding:0}
  html:root .nw-booking.wide {width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0}
  html:root .nw-booking #nwBody :is(p,.sub,.ag-sub,.ag-who,.mv-note) {font-size:17px!important}
  html:root .ntc-overlay {padding:0}
  html:root .ntc-overlay .ntc-window {width:100%;height:100dvh;max-height:100dvh;border-radius:0}
  html:root #overlay .ntcb-hold {font-size:15px;line-height:1.4}
  html:root :is(#overlay,#ntcbSm,#ntcTfBack) :is(.fex,.ntcb-up-note,.consent,.ntcb-pvok,.ntcb-cn,.dt-rod,.dt-cena,.dt-soon,.dt-p i,.ntcb-sm-tt span,.iv-watch-sub,.ntcb-in-share) {font-size:15px!important;line-height:1.45!important}
  html:root :is(#overlay,#ntcbSm,#ntcTfBack) :is(.ntcb-up-btn,.ntcb-si,.ntcb-ci,.ntcb-call,.ntcb-cclr,.ntcb-capply,.dt-w-n) {font-size:16px!important;line-height:1.4!important;white-space:normal}
  html:root :is(#overlay,#ntcbSm,#ntcTfBack) :is(.ntcb-booking-note,.ntcb-inactive p,.ntcb-in-note) {font-size:17px!important;line-height:1.5!important}
  html:root #overlay .pay-sum:not(.total) {font-size:16px!important;line-height:1.5}
  html:root #overlay #ntcbBring :is(div,ul) {font-size:17px!important;line-height:1.5!important}
  .ntcb-hold-break {display:block}
}

/* Equal document choices on every entry and screen size. */
html:root :is(#ntcbSm,#ntcTfBack,#overlay) .dt-fork{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:8px!important;width:540px!important;max-width:100%!important;margin-inline:auto!important}
html:root :is(#ntcbSm,#ntcTfBack,#overlay) .dt-path{align-self:stretch;display:flex!important;align-items:stretch!important;padding:0!important;min-width:0!important}
html:root :is(#ntcbSm,#ntcTfBack,#overlay) .dt-w{width:100%!important;height:auto!important;padding-left:3px!important;padding-right:3px!important}
/* 1.0.283: compact choices and a viewport fallback for older mobile Safari. */
@media(max-width:760px) {
 html:root #overlay .m-head [onclick*="toggleFull"],
 html:root .ntc-overlay .ntc-head [data-ntc-full] {display:none!important}
 html:root #overlay,html:root #ntcbSm,html:root #ntcTfBack {box-sizing:border-box;width:100%;max-width:100%;height:var(--ntc-book-viewport,100vh)!important;max-height:var(--ntc-book-viewport,100vh)!important;padding:0!important;overflow:hidden}
 html:root #overlay .modal,html:root #ntcbSm .ntcb-sm,html:root #ntcTfBack .ntc-tf,
 html:root #ntcTfBack.tf-kind-step .ntc-tf,html:root .nw-booking.wide,html:root .ntc-overlay .ntc-window {
  box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;
  height:var(--ntc-book-viewport,100vh)!important;max-height:var(--ntc-book-viewport,100vh)!important;
  margin:0!important;overflow:hidden;
 }
 html:root .nw-booking {max-height:calc(var(--ntc-book-viewport,100vh) - 24px)}
 html:root .nw-booking-back {box-sizing:border-box;max-height:var(--ntc-book-viewport,100vh);overflow:hidden}
 html:root #ntcbSmBody,html:root #ntcTfBody,html:root #overlay .m-body {min-width:0;flex:1 1 auto;-webkit-overflow-scrolling:touch}
 html:root #ntcbSm .dt-fork,html:root #ntcTfBack .dt-fork,html:root #overlay .dt-fork {
  display:grid!important;flex:0 0 auto!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:244px!important;max-width:calc(100% - 16px)!important;
  min-width:0!important;box-sizing:border-box;margin-left:auto!important;margin-right:auto!important;
 }
 html:root #ntcbSm .dt-path,html:root #ntcTfBack .dt-path,html:root #overlay .dt-path,
 html:root #ntcbSm .dt-w,html:root #ntcTfBack .dt-w,html:root #overlay .dt-w {min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
 html:root #ntcbSm .dt-w,html:root #ntcTfBack .dt-w,html:root #overlay .dt-w {padding-left:3px!important;padding-right:3px!important}
 html:root #ntcbSm .dt-name,html:root #ntcTfBack .dt-name,html:root #overlay .dt-name {min-width:0;overflow-wrap:break-word;word-wrap:break-word}
 html:root #ntcbSm .ntcb-kind>button>div,html:root #ntcTfBack .ntcb-kind>button>div {min-width:0}
}
@media(max-width:760px){
 html:root #ntcTfBack #ntcTfHeaderBack[hidden]+.tt{grid-column:1/3}
}
html:root #ntcTfBack .ntcb-choice-sticky:before{left:calc(-1 * var(--ntc-book-pad));right:calc(-1 * var(--ntc-book-pad))}

/* 1.0.284: Safari may pan the visual viewport when the keyboard opens. */
@media(max-width:760px){
 html:root #overlay,html:root #ntcbSm,html:root #ntcTfBack,html:root .nw-booking-back,html:root .ntc-overlay{top:var(--ntc-book-top,0px)!important;bottom:auto!important}
 html:root :is(#overlay,#ntcbSm,#ntcTfBack) .dt-path{display:flex;align-items:stretch;margin:0!important}
 html:root :is(#overlay,#ntcbSm,#ntcTfBack) .dt-w{height:auto!important;min-height:48px;padding-top:12px!important;padding-bottom:12px!important;margin:0!important;word-break:normal;overflow-wrap:normal}
 html:root :is(#overlay,#ntcbSm,#ntcTfBack) .dt-w-n{font-size:16px!important;line-height:1.3!important;white-space:normal}
 html:root :is(#overlay,#ntcbSm,#ntcTfBack) :is(input,textarea,select){font-size:16px!important}
}

@media(min-width:761px){
 html:root :is(#ntcbSm,#ntcTfBack,#overlay) .dt-fork{width:780px!important;max-width:100%!important}
 html:root :is(#ntcbSm,#ntcTfBack,#overlay) .dt-w,html:root :is(#ntcbSm,#ntcTfBack,#overlay) .dt-w-n{white-space:nowrap!important;hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important}
}

/* Agreement dates are a request route, never a free-slot colour. */
.cd2.ntca-date,.ntc-tf .cd2.ntca-date,.qr-calendar button.ntca-date{color:#FF4900!important;font-weight:800;opacity:1;cursor:pointer}
.cd2.ntca-date.on,.ntc-tf .cd2.ntca-date.on{background:rgba(255,73,0,.12)!important;border-color:#FF4900!important}
.ntca-legend{font-size:13px;line-height:1.5;color:#FF4900}
.ntca-note{padding:14px;border:1px solid #63797F;border-left:3px solid #FF4900;border-radius:0 14px 0 14px;line-height:1.5;color:var(--ink,#113943)}
.ntca-note p{margin:8px 0}.ntca-times{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ntca-times>*{min-width:0}.ntca-times select{display:block;width:100%;font:inherit;padding:9px;border:1px solid #63797F;border-radius:8px;background:var(--paper,#FFFFFF);color:var(--ink,#113943)}
.ntca-note [data-request-mode]{font:inherit;padding:8px;border:1px solid #63797F;border-radius:8px;background:transparent;color:var(--ink,#113943);cursor:pointer}.ntca-note [data-request-mode][aria-pressed=true]{border-color:#FF4900;color:#FF4900}

.hold-days .ntca-date{color:#FF4900!important;font-weight:800;border-color:#FF4900}
/* 1.0.295: final step of the common wizard, including an unconfirmed request. */
#overlay .mstep[data-step="done"]{text-align:center}
#overlay .mstep[data-step="done"] .done-ic{margin:0 auto 20px}
#overlay .mstep[data-step="done"] p{margin:10px auto;max-width:760px}
#overlay .mstep[data-step="done"]>.btn,#overlay .mstep[data-step="done"]>a.btn{display:inline-flex;margin-top:22px;align-items:center;justify-content:center}
