/* =========================================================================
   NAILS BY ELLIE — SHARED COMPONENTS
   Built only from tokens.css. Every interactive component defines:
   default, hover (pointer devices only), pressed, keyboard focus, disabled,
   and selected where it applies. Docs: DESIGN_SYSTEM.md.
   ========================================================================= */

/* ---- The hidden attribute always wins over a component's display ---- */
:where(.nbe-btn, .nbe-icon-btn, .nbe-bar-btn, .nbe-list-row, .nbe-sheet-btn, .nbe-tile-btn, .nbe-swipe-act, .nbe-bare-btn, .nbe-search, .nbe-field-box, .nbe-dot, .nbe-photo-btn, .nbe-seg, .nbe-badge, .nbe-pill, .nbe-chip, .nbe-switch, .nbe-field, .nbe-card, .nbe-sheet)[hidden]{ display: none !important; }

/* ---- Numbers line up with the text, everywhere (Nov 26): the serif's default figures are old-style, so a
   "0" in a heading read as the letter "o" ("o appointments"). Tabular figures set elsewhere still apply. ---- */
html{ font-variant-numeric: lining-nums; }

/* ---- Keyboard focus, everywhere ---- */
:where(a, button, [role="button"], input, select, textarea, summary, [tabindex]):focus-visible{
	outline: var(--nbe-focus-ring);
	outline-offset: var(--nbe-focus-offset);
}
/* Text fields show focus with the soft halo instead (Dec 1), the same as Search in Studio and every form on the
   site. A field that sits borderless inside a row or box turns this off (box-shadow: none) and lets the row show
   --nbe-focus-halo or --nbe-focus-inset with :focus-within. Checkboxes, radios and buttons keep the ring above. */
:where(input:not([type="checkbox"], [type="radio"], [type="range"], [type="submit"], [type="button"], [type="reset"], [type="file"], [type="color"], [type="image"]), textarea, select):focus-visible{
	outline: none; box-shadow: var(--nbe-focus-halo);
}

/* ---- Button ----------------------------------------------------------
   On a <button>, "body button.…" outranks the Elementor kit, which styles every <button> (pink fill, its own padding
   and hover); WPForms' submit button is the primary button too.
   .nbe-btn                primary: pink fill, ink text (site, booking, admin)
   .nbe-btn--app           primary inside Studio: rose fill
   .nbe-btn--outline       secondary
   .nbe-btn--soft          tertiary: soft rose fill
   .nbe-btn--ink           primary on a pink band: ink fill, white text
   .nbe-btn--danger        destructive
   .nbe-btn--link          text button
   .nbe-btn--underline     text button that always looks like a link (small print: "Before you book", "Exit testing mode")
   .nbe-btn--sm, --block   size helpers                                    */
.nbe-btn,
body button.nbe-btn, body button.nbe-btn:focus,
body .wpforms-container .wpforms-submit{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--nbe-space-2);
	box-sizing: border-box;
	min-height: var(--nbe-btn-h);
	padding: 0 var(--nbe-space-6);
	border: 1px solid transparent;
	border-radius: var(--nbe-radius);
	background: var(--nbe-brand);
	color: var(--nbe-ink);
	font-family: inherit;
	font-size: var(--nbe-text-base);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	letter-spacing: normal;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--nbe-fast) var(--nbe-ease), border-color var(--nbe-fast) var(--nbe-ease), color var(--nbe-fast) var(--nbe-ease), transform var(--nbe-fast) var(--nbe-ease);
}
.nbe-btn:active, body .wpforms-container .wpforms-submit:active{ transform: var(--nbe-press); }
.nbe-btn:is(:disabled, [aria-disabled="true"], .is-disabled){ opacity: var(--nbe-disabled); cursor: not-allowed; pointer-events: none; }
@media (hover: hover){
	.nbe-btn:hover, body button.nbe-btn:hover, body .wpforms-container .wpforms-submit:hover{ background: var(--nbe-brand-hover); color: var(--nbe-ink); }
}

.nbe-btn--app, body button.nbe-btn--app, body button.nbe-btn--app:focus{ background: var(--nbe-rose); color: var(--nbe-on-rose); }
@media (hover: hover){ .nbe-btn--app:hover, body button.nbe-btn--app:hover{ background: var(--nbe-rose-strong); color: var(--nbe-on-rose); } }

.nbe-btn--outline, body button.nbe-btn--outline, body button.nbe-btn--outline:focus{ background: transparent; border-color: var(--nbe-border); color: var(--nbe-ink); }
@media (hover: hover){ .nbe-btn--outline:hover, body button.nbe-btn--outline:hover{ background: var(--nbe-brand); border-color: var(--nbe-brand); color: var(--nbe-ink); } }

.nbe-btn--soft, body button.nbe-btn--soft, body button.nbe-btn--soft:focus{ background: var(--nbe-rose-soft); color: var(--nbe-rose); }
@media (hover: hover){ .nbe-btn--soft:hover, body button.nbe-btn--soft:hover{ background: var(--nbe-brand); color: var(--nbe-ink); } }

.nbe-btn--ink, body button.nbe-btn--ink, body button.nbe-btn--ink:focus{ background: var(--nbe-ink); color: var(--nbe-white); }
@media (hover: hover){ .nbe-btn--ink:hover, body button.nbe-btn--ink:hover{ background: var(--nbe-text); color: var(--nbe-white); } }

.nbe-btn--danger, body button.nbe-btn--danger, body button.nbe-btn--danger:focus{ background: var(--nbe-danger-soft); color: var(--nbe-danger); }
@media (hover: hover){ .nbe-btn--danger:hover, body button.nbe-btn--danger:hover{ background: var(--nbe-danger); color: var(--nbe-surface); } }
/* .sure: a delete that asks twice ("Delete" → "Tap again to delete") turns solid red while it waits */
.nbe-btn--danger.sure, body button.nbe-btn--danger.sure, body button.nbe-btn--danger.sure:focus{ background: var(--nbe-danger); color: var(--nbe-surface); }

.nbe-btn--link, body button.nbe-btn--link, body button.nbe-btn--link:focus{ min-height: 0; padding: 0; border: 0; background: none; color: var(--nbe-rose); font-weight: 600; }
@media (hover: hover){ .nbe-btn--link:hover, body button.nbe-btn--link:hover{ background: none; color: var(--nbe-rose); text-decoration: underline; text-underline-offset: 3px; } }

.nbe-btn--underline, body button.nbe-btn--underline, body button.nbe-btn--underline:focus{ min-height: 0; padding: 0; border: 0; background: none; color: var(--nbe-rose); font-size: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: normal; }
@media (hover: hover){ .nbe-btn--underline:hover, body button.nbe-btn--underline:hover{ background: none; color: var(--nbe-ink); } }
.nbe-btn--underline:active{ transform: none; opacity: var(--nbe-press-fade); }
.nbe-btn--sm, body button.nbe-btn--sm, body button.nbe-btn--sm:focus{ min-height: var(--nbe-btn-h-sm); padding: 0 var(--nbe-space-4); font-size: var(--nbe-text-md); }
.nbe-btn--block{ display: flex; width: 100%; }
/* --snug: less room each side, for two buttons sharing a phone-width row (the menu's text and Instagram buttons) */
.nbe-btn--snug, body button.nbe-btn--snug, body button.nbe-btn--snug:focus{ gap: var(--nbe-space-1-5); padding: 0 var(--nbe-space-3); }
/* --tap: a text button (--link, --underline) that still gets a full touch height */
.nbe-btn--tap, body button.nbe-btn--tap{ min-height: var(--nbe-tap); }

.nbe-app .nbe-btn{ font-size: var(--nbe-text-lg); }
.nbe-app .nbe-btn--sm{ font-size: var(--nbe-text-ui); }

/* Elementor button widgets are buttons too: pink and outline ones the same height side by side */
.elementor .elementor-widget-button .elementor-button{ border: 1px solid transparent; }

/* ---- Segmented control (every switcher) -------------------------------
   <div class="nbe-seg" role="tablist">
     <button class="nbe-seg__opt is-on" aria-pressed="true">Day</button> …   (.nbe-seg__opt marks an option in markup)
   Also accepts <a aria-current> links and <label><input type=radio><span>. */
.nbe-seg{
	display: flex;
	gap: var(--nbe-space-0-5);
	padding: var(--nbe-space-0-5);
	border-radius: calc(var(--nbe-radius-sm) + 2px);
	background: var(--nbe-track);
}
.nbe-seg > :is(button, a),
.nbe-seg__opt,
.nbe-seg > label > span{
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--nbe-space-1-5);
	box-sizing: border-box;
	min-height: var(--nbe-seg-h);
	padding: 0 var(--nbe-space-3);
	border: 0;
	border-radius: var(--nbe-radius-sm);
	background: none;
	color: var(--nbe-ink);
	font-family: inherit;
	font-size: var(--nbe-text-ui);
	font-weight: 600;
	line-height: var(--nbe-leading-tight);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color var(--nbe-fast) var(--nbe-ease), box-shadow var(--nbe-fast) var(--nbe-ease);
}
.nbe-seg > label{ flex: 1; display: flex; margin: 0; }
.nbe-seg > label > input{ position: absolute; opacity: 0; pointer-events: none; }
.nbe-seg > :is(button, a):is(.is-on, [aria-pressed="true"], [aria-current]),
.nbe-seg > label > input:checked + span{
	background: var(--nbe-surface-raised);
	box-shadow: var(--nbe-shadow-thumb);
}
.nbe-seg > label > input:focus-visible + span{ outline: var(--nbe-focus-ring); outline-offset: -2px; }
/* Sliding highlight (Nov 26): with .has-thumb (added by script) the raised highlight is its own piece that slides
   between options, like iOS. Without the script the selected option keeps its own highlight, as above. */
.nbe-seg.has-thumb{ position: relative; }
.nbe-seg.has-thumb > :is(button, a){ position: relative; z-index: 1; }
.nbe-seg.has-thumb > :is(button, a):is(.is-on, [aria-pressed="true"], [aria-current]){ background: none; box-shadow: none; }
.nbe-seg__thumb{
	position: absolute; top: 2px; bottom: 2px; left: 0; width: 0;
	border-radius: var(--nbe-radius-sm);
	background: var(--nbe-surface-raised);
	box-shadow: var(--nbe-shadow-thumb);
	pointer-events: none;
	transition: transform var(--nbe-dur-thumb) var(--nbe-spring), width var(--nbe-dur-thumb) var(--nbe-spring);
}
.nbe-seg__thumb.is-instant{ transition: none; }
.nbe-seg > :is(button, a):focus-visible{ outline-offset: -2px; }
.nbe-seg > :is(button, a):disabled{ opacity: var(--nbe-disabled); cursor: not-allowed; }
@media (hover: hover){
	.nbe-seg > :is(button, a):not(.is-on):not([aria-pressed="true"]):not([aria-current]):hover,
	.nbe-seg > label > input:not(:checked) + span:hover{ color: var(--nbe-rose); }
}
.nbe-seg--inline{ display: inline-flex; max-width: 100%; }
.nbe-seg--inline > :is(button, a), .nbe-seg--inline > label{ flex: 0 0 auto; }

/* ---- Count badge (inside a switcher, a tab or on an icon) ---- */
.nbe-badge{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: var(--nbe-glyph-md);
	height: var(--nbe-glyph-md);
	padding: 0 var(--nbe-space-1-5);
	border-radius: var(--nbe-radius-pill);
	background: var(--nbe-danger);
	color: var(--nbe-surface);
	font-size: var(--nbe-text-2xs);
	font-style: normal;
	font-weight: 700;
	line-height: 1;
}
.nbe-badge--rose{ background: var(--nbe-rose); color: var(--nbe-on-rose); }
.nbe-badge--muted{ background: var(--nbe-track); color: var(--nbe-muted); }
/* --lg: a count on a large tile (Studio Home's Texts and Reviews) */
.nbe-badge--lg{ min-width: var(--nbe-glyph-xl); height: var(--nbe-glyph-xl); padding: 0 var(--nbe-space-2); font-size: var(--nbe-text-md); font-weight: 600; }

/* ---- Status pill ---------------------------------------------------- */
.nbe-pill{
	display: inline-flex;
	align-items: center;
	gap: var(--nbe-space-1);
	padding: var(--nbe-space-0-5) var(--nbe-space-2);
	border-radius: var(--nbe-radius-pill);
	background: var(--nbe-track);
	color: var(--nbe-muted);
	font-size: var(--nbe-text-xs);
	font-style: normal;
	font-weight: 600;
	line-height: 18px;
	white-space: nowrap;
	vertical-align: 1px;
}
.nbe-pill--lg{ padding: var(--nbe-space-1) var(--nbe-space-3); font-size: var(--nbe-text-sm); }
.nbe-pill--success{ background: var(--nbe-success-soft); color: var(--nbe-success); }
.nbe-pill--warning{ background: var(--nbe-warning-soft); color: var(--nbe-warning); }
.nbe-pill--danger{ background: var(--nbe-danger-soft); color: var(--nbe-danger); }
.nbe-pill--info{ background: var(--nbe-info-soft); color: var(--nbe-info); }
.nbe-pill--rose{ background: var(--nbe-rose-soft); color: var(--nbe-rose); }

/* ---- Chip (tappable suggestion, filter or jump link) ----
   Elementor button widgets in a container with the class nbe-jump (Services: Full sets · Natural Nails · …) are
   chips too, so the gallery's style filters and the Services jump links are one component (Dec 1). Their widget
   style settings stay empty; the longer selector outranks Astra's and the Elementor kit's own button sizes. */
.nbe-chip,
body button.nbe-chip, body button.nbe-chip:focus,
body .nbe-jump .elementor-widget-button a.elementor-button{
	display: inline-flex;
	align-items: center;
	gap: var(--nbe-space-1-5);
	padding: var(--nbe-space-2) var(--nbe-space-3);
	border: 1px solid transparent;
	border-radius: var(--nbe-radius-pill);
	background: var(--nbe-rose-soft);
	color: var(--nbe-rose);
	font-family: inherit;
	font-size: var(--nbe-text-md);
	font-weight: 500;
	line-height: var(--nbe-leading-tight);
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--nbe-fast) var(--nbe-ease), transform var(--nbe-fast) var(--nbe-ease);
}
.nbe-chip:active,
body .nbe-jump .elementor-widget-button a.elementor-button:active{ transform: var(--nbe-press); }
.nbe-chip:is(.is-on, [aria-selected="true"], [aria-pressed="true"]), body button.nbe-chip:is(.is-on, [aria-selected="true"], [aria-pressed="true"]){ border-color: var(--nbe-rose); }
.nbe-chip:disabled{ opacity: var(--nbe-disabled); cursor: not-allowed; }
@media (hover: hover){ .nbe-chip:hover, body button.nbe-chip:hover, body .nbe-jump .elementor-widget-button a.elementor-button:hover{ background: var(--nbe-brand); color: var(--nbe-ink); } }
/* --toggle: an on/off choice (Studio's Text / Email per message). Off is grey on the track; on is rose with its border. */
.nbe-chip--toggle, body button.nbe-chip--toggle, body button.nbe-chip--toggle:focus{ justify-content: center; background: var(--nbe-track); color: var(--nbe-muted); }
.nbe-chip--toggle:is(.is-on, [aria-pressed="true"]), body button.nbe-chip--toggle:is(.is-on, [aria-pressed="true"]){ background: var(--nbe-rose-soft); color: var(--nbe-rose); }
.nbe-chip--toggle:focus-visible{ outline: var(--nbe-focus-ring); outline-offset: 2px; }
@media (hover: hover){
	.nbe-chip--toggle:hover{ background: var(--nbe-track); color: var(--nbe-ink); border-color: var(--nbe-line); }
	.nbe-chip--toggle:is(.is-on, [aria-pressed="true"]):hover{ background: var(--nbe-brand); color: var(--nbe-ink); border-color: var(--nbe-rose); }
}
/* --tap: a full 44px touch target (filters and jump links on the public site) */
.nbe-chip--tap,
body button.nbe-chip--tap, body button.nbe-chip--tap:focus,
body .nbe-jump .elementor-widget-button a.elementor-button{ min-height: var(--nbe-tap); padding: 0 var(--nbe-space-4); font-size: var(--nbe-text-ui); }
/* A chip that is a link (<a class="nbe-chip">): body outranks the theme's and Elementor kit's link colors */
body a.nbe-chip{ color: var(--nbe-rose); text-decoration: none; }
@media (hover: hover){ body a.nbe-chip:hover{ color: var(--nbe-ink); } }
/* --attention: something waits on it (photos to approve): brand border on the soft fill */
.nbe-chip--attention, body button.nbe-chip--attention{ border-color: var(--nbe-brand); background: var(--nbe-rose-soft); }
/* --code: a value to copy (a {{token}}): the monospace face */
.nbe-chip--code, body button.nbe-chip--code{ font-family: var(--nbe-font-mono); font-size: var(--nbe-text-xs); }
/* --float: a chip floating over the page (Show test note): lifted */
.nbe-chip--float{ box-shadow: var(--nbe-shadow-pop); }
/* --inverse: on a filled band (the red testing-mode pill): white outline and text; fills white on hover */
.nbe-chip--inverse, body button.nbe-chip--inverse, body button.nbe-chip--inverse:focus{ border-color: var(--nbe-white); background: transparent; color: var(--nbe-white); font-weight: 700; }
@media (hover: hover){ .nbe-chip--inverse:hover, body button.nbe-chip--inverse:hover{ background: var(--nbe-white); color: var(--nbe-danger); } }
/* --quiet: no fill until hovered; the current one is soft rose (the site header's page links) */
.nbe-chip--quiet, body a.nbe-chip--quiet{ background: transparent; color: var(--nbe-text); }
.nbe-chip--quiet:is(.is-on, [aria-current], [aria-pressed="true"]), body a.nbe-chip--quiet[aria-current]{ border-color: transparent; background: var(--nbe-rose-soft); color: var(--nbe-rose); }
@media (hover: hover){ .nbe-chip--quiet:hover, body a.nbe-chip--quiet:hover{ background: var(--nbe-surface); color: var(--nbe-ink); } }

/* ---- Off-site mark: the small ↗ after a link or button that opens another site in a new tab ---- */
svg.nbe-ext{ width: 0.85em; height: 0.85em; margin-left: var(--nbe-space-1); flex: 0 0 auto; vertical-align: -0.05em; fill: none; stroke: currentColor; stroke-width: var(--nbe-stroke-bold); stroke-linecap: round; stroke-linejoin: round; }

/* ---- Switch ----------------------------------------------------------
   <label class="nbe-switch"><input type="checkbox"><span class="nbe-switch__ui"></span> Label</label> */
.nbe-switch{ position: relative; display: inline-flex; align-items: center; gap: var(--nbe-space-2-5); cursor: pointer; }
.nbe-switch > input{ position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.nbe-switch__ui{
	position: relative;
	flex: none;
	width: var(--nbe-switch-w);
	height: var(--nbe-switch-h);
	border-radius: var(--nbe-radius-pill);
	background: var(--nbe-track);
	transition: background-color var(--nbe-medium) var(--nbe-ease);
}
.nbe-switch__ui::after{
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: var(--nbe-switch-knob);
	height: var(--nbe-switch-knob);
	border-radius: var(--nbe-radius-pill);
	background: var(--nbe-white);
	box-shadow: var(--nbe-shadow-thumb);
	transition: transform var(--nbe-medium) var(--nbe-ease);
}
.nbe-switch > input:checked + .nbe-switch__ui{ background: var(--nbe-success); }
.nbe-switch > input:checked + .nbe-switch__ui::after{ transform: translateX(calc(var(--nbe-switch-w) - var(--nbe-switch-knob) - 4px)); }
.nbe-switch > input:focus-visible + .nbe-switch__ui{ outline: var(--nbe-focus-ring); outline-offset: 2px; }
.nbe-switch > input:disabled + .nbe-switch__ui{ opacity: var(--nbe-disabled); cursor: not-allowed; }

/* ---- Text field ------------------------------------------------------- */
.nbe-field,
body .wpforms-container :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="password"], textarea, select){
	box-sizing: border-box;
	width: 100%;
	min-height: var(--nbe-field-h);
	padding: var(--nbe-space-3) var(--nbe-space-4);
	border: 1px solid var(--nbe-border);
	border-radius: var(--nbe-radius);
	background: var(--nbe-field);
	color: var(--nbe-ink);
	font-family: inherit;
	font-size: var(--nbe-text-base); /* 16px: phones don't zoom in */
	line-height: var(--nbe-leading-snug);
	transition: border-color var(--nbe-fast) var(--nbe-ease), box-shadow var(--nbe-fast) var(--nbe-ease);
}
.nbe-field::placeholder{ color: var(--nbe-muted); }
/* Any plain field on the site or in Studio (no class) gets the field look as a zero-weight default (Dec 2), so a new
   form can't come out unstyled. wp-admin and the sign-in page use components-admin.css instead. */
:where(body:not(.wp-admin):not(.login)) :where(input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="url"], [type="password"], [type="search"], [type="date"], [type="time"]), select, textarea){
	box-sizing: border-box; min-height: var(--nbe-field-h); padding: var(--nbe-space-3) var(--nbe-space-4);
	border: 1px solid var(--nbe-border); border-radius: var(--nbe-radius); background: var(--nbe-field);
	color: var(--nbe-ink); font-family: inherit; font-size: var(--nbe-text-base);
}
:where(body:not(.wp-admin):not(.login)) :where(textarea){ min-height: var(--nbe-textarea-h); }

/* WPForms: room around each field for the focus halo */
.wpforms-container .wpforms-field{ padding-left: var(--nbe-space-1); padding-right: var(--nbe-space-1); box-sizing: border-box; }
textarea.nbe-field, body .wpforms-container textarea{ min-height: var(--nbe-textarea-h); resize: vertical; }
select.nbe-field{ padding-right: var(--nbe-space-8); cursor: pointer; }
.nbe-field:focus, body .wpforms-container :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="password"], textarea, select):focus{ outline: none; border-color: var(--nbe-brand-hover); box-shadow: var(--nbe-focus-halo); }
.nbe-field:disabled{ opacity: var(--nbe-disabled); cursor: not-allowed; }
/* Read-only (shown, not edited: the email on the preferences page) */
.nbe-field[readonly]{ background: var(--nbe-surface-2); color: var(--nbe-text); cursor: default; pointer-events: none; }
@media (hover: hover){ .nbe-field:not(:focus):not(:disabled):hover, body .wpforms-container :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], input[type="password"], textarea, select):not(:focus):hover{ border-color: var(--nbe-brand); box-shadow: var(--nbe-hover-halo); } }

/* Grouped rows (Studio, iOS settings style): the row shows focus, the field has no border */
.nbe-field--grouped{ padding: var(--nbe-space-1-5) 0; border: 0; border-radius: 0; background: none; }
.nbe-field--grouped:focus{ box-shadow: none; }
@media (hover: hover){ .nbe-field--grouped:not(:focus):hover{ box-shadow: none; } }
.nbe-row-focus:focus-within{ box-shadow: var(--nbe-focus-inset); }
/* --chip: a short value set inside a grouped row (a date, a time, a repeat choice, a number), iPhone Settings-style:
   a small rounded fill on the track colour, its text centred */
.nbe-field.nbe-field--chip, body .nbe-field.nbe-field--chip:focus{
	width: auto; min-height: 0; padding: var(--nbe-space-1-5) var(--nbe-space-2);
	border: 0; border-radius: var(--nbe-radius-sm); background: var(--nbe-track); text-align: center;
}
select.nbe-field.nbe-field--chip{ padding-right: var(--nbe-space-2); -webkit-appearance: none; appearance: none; }
.nbe-field.nbe-field--chip:focus{ box-shadow: var(--nbe-focus-halo); }
/* a time chip drops the browser's clock icon (phones never show it), so "6:00 PM" fits beside its pair on a phone-width laptop window */
.nbe-field--chip[type="time"]::-webkit-calendar-picker-indicator{ display: none; }
@media (hover: hover){ .nbe-field.nbe-field--chip:not(:focus):hover{ box-shadow: var(--nbe-hover-halo); } }
/* --auto: a text area as tall as its text (a message, a quick reply): no set height, no drag handle, no scrollbar */
.nbe-field.nbe-field--auto{ min-height: 0; resize: none; overflow: hidden; }
/* Field box: the field look drawn around a field and its buttons (Studio's message box: text area plus Send). The
   field inside is --grouped; the box shows hover and focus. Round like a message bubble. */
.nbe-field-box{
	box-sizing: border-box; min-width: 0; padding: var(--nbe-space-0-5) var(--nbe-space-1) var(--nbe-space-0-5) var(--nbe-space-3-5);
	border: 1px solid var(--nbe-border); border-radius: var(--nbe-radius-sheet); background: var(--nbe-field); color: var(--nbe-ink);
	transition: border-color var(--nbe-fast) var(--nbe-ease), box-shadow var(--nbe-fast) var(--nbe-ease);
}
.nbe-field-box:focus-within{ border-color: var(--nbe-brand-hover); box-shadow: var(--nbe-focus-halo); }
@media (hover: hover){ .nbe-field-box:not(:focus-within):hover{ border-color: var(--nbe-brand); box-shadow: var(--nbe-hover-halo); } }

/* ---- Checkbox and radio: one size and colour everywhere (Dec 2) ----
   The browser's own control, sized and tinted, on the site, Studio and LatePoint's forms (wp-admin and the login
   screen keep WordPress's drawn checkbox, mapped in the admin skin). The switch's hidden input is left alone.
   Plugins don't style checkboxes or radios themselves (the lint's control rule). */
body:not(.wp-admin):not(.login) :is(input[type="checkbox"], input[type="radio"]):not(.nbe-switch > *){
	appearance: auto;
	width: var(--nbe-check);
	height: var(--nbe-check);
	min-width: var(--nbe-check);
	flex: 0 0 var(--nbe-check);
	margin: 0;
	accent-color: var(--nbe-brand-hover);
	vertical-align: middle;
	cursor: pointer;
}
body:not(.wp-admin):not(.login) :is(input[type="checkbox"], input[type="radio"]):not(.nbe-switch > *):disabled{ opacity: var(--nbe-disabled); cursor: not-allowed; }

/* ---- Icon button: a round button holding one line icon (back, close, arrows, send, delete) ----
   <button class="nbe-icon-btn" aria-label="Close"><svg>…</svg></button>
   --sm (dense bars), --xs (on a photo or chip), --lg (header icons on a large screen); --plain: no ring or fill
   (an icon in a bar, iPhone-style); --rose: filled (send); --quiet, --ink, --danger (below). */
.nbe-icon-btn,
body button.nbe-icon-btn, body button.nbe-icon-btn:focus{
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	box-sizing: border-box;
	width: var(--nbe-icon-btn); height: var(--nbe-icon-btn);
	padding: 0; border: 0;
	border-radius: var(--nbe-radius-pill);
	background: var(--nbe-surface);
	box-shadow: 0 0 0 1px var(--nbe-line);
	color: var(--nbe-ink);
	font: inherit; line-height: 1;
	cursor: pointer;
	transition: background-color var(--nbe-fast) var(--nbe-ease), color var(--nbe-fast) var(--nbe-ease), box-shadow var(--nbe-fast) var(--nbe-ease), transform var(--nbe-fast) var(--nbe-ease);
}
.nbe-icon-btn svg{ width: var(--nbe-glyph-md); height: var(--nbe-glyph-md); }
.nbe-icon-btn:active{ transform: var(--nbe-press); }
.nbe-icon-btn:is(:disabled, [aria-disabled="true"]){ opacity: var(--nbe-disabled); cursor: not-allowed; pointer-events: none; }
@media (hover: hover){ .nbe-icon-btn:hover, body button.nbe-icon-btn:hover{ color: var(--nbe-rose); box-shadow: 0 0 0 1px var(--nbe-brand); } }
/* Sizes carry the same "body button." weight as the base rule, or a <button> keeps the base size (fixed Dec 3) */
.nbe-icon-btn--sm, body button.nbe-icon-btn--sm, body button.nbe-icon-btn--sm:focus{ width: var(--nbe-icon-btn-sm); height: var(--nbe-icon-btn-sm); }
.nbe-icon-btn--sm svg{ width: var(--nbe-glyph-sm); height: var(--nbe-glyph-sm); }
.nbe-icon-btn--xs, body button.nbe-icon-btn--xs, body button.nbe-icon-btn--xs:focus{ width: var(--nbe-icon-btn-xs); height: var(--nbe-icon-btn-xs); }
.nbe-icon-btn--xs svg{ width: var(--nbe-glyph-xs); height: var(--nbe-glyph-xs); }
.nbe-icon-btn--lg, body button.nbe-icon-btn--lg, body button.nbe-icon-btn--lg:focus{ width: var(--nbe-icon-btn-lg); height: var(--nbe-icon-btn-lg); }
.nbe-icon-btn--plain, body button.nbe-icon-btn--plain, body button.nbe-icon-btn--plain:focus{ background: none; box-shadow: none; color: var(--nbe-rose); }
@media (hover: hover){ .nbe-icon-btn--plain:hover, body button.nbe-icon-btn--plain:hover{ box-shadow: none; opacity: var(--nbe-hover-fade); } }
.nbe-icon-btn--plain:active{ transform: none; opacity: var(--nbe-press-fade); }
.nbe-icon-btn--rose, body button.nbe-icon-btn--rose, body button.nbe-icon-btn--rose:focus{ background: var(--nbe-rose); box-shadow: none; color: var(--nbe-on-rose); }
@media (hover: hover){ .nbe-icon-btn--rose:hover, body button.nbe-icon-btn--rose:hover{ background: var(--nbe-rose-strong); color: var(--nbe-on-rose); box-shadow: none; } }

/* --quiet: an icon in a list that isn't the main action (move a quick reply up): plain and muted */
.nbe-icon-btn--quiet, body button.nbe-icon-btn--quiet, body button.nbe-icon-btn--quiet:focus{ background: none; box-shadow: none; color: var(--nbe-muted); }
@media (hover: hover){ .nbe-icon-btn--quiet:hover, body button.nbe-icon-btn--quiet:hover{ box-shadow: none; color: var(--nbe-ink); } }
.nbe-icon-btn--quiet:active{ transform: none; opacity: var(--nbe-press-fade); }
/* --ink: dark fill on a light photo (remove the photo you're about to send) */
.nbe-icon-btn--ink, body button.nbe-icon-btn--ink, body button.nbe-icon-btn--ink:focus{ background: var(--nbe-ink); box-shadow: none; color: var(--nbe-cream); }
@media (hover: hover){ .nbe-icon-btn--ink:hover, body button.nbe-icon-btn--ink:hover{ background: var(--nbe-ink); color: var(--nbe-cream); box-shadow: none; opacity: var(--nbe-hover-fade); } }
/* --danger: red fill (iPhone's remove-this-row minus) */
.nbe-icon-btn--danger, body button.nbe-icon-btn--danger, body button.nbe-icon-btn--danger:focus{ background: var(--nbe-danger); box-shadow: none; color: var(--nbe-on-rose); }
@media (hover: hover){ .nbe-icon-btn--danger:hover, body button.nbe-icon-btn--danger:hover{ background: var(--nbe-danger); color: var(--nbe-on-rose); box-shadow: none; opacity: var(--nbe-hover-fade); } }

/* .is-busy: working (the booking form's Back while a step loads): the icon gives way to a small spinner */
.nbe-icon-btn.is-busy{ position: relative; pointer-events: none; }
.nbe-icon-btn.is-busy svg{ opacity: 0; }
.nbe-icon-btn.is-busy::after{ content: ""; position: absolute; width: var(--nbe-glyph); height: var(--nbe-glyph); box-sizing: border-box; border-radius: var(--nbe-radius-pill); border: 2px solid color-mix(in srgb, var(--nbe-rose) 20%, transparent); border-top-color: var(--nbe-rose); animation: nbe-spin var(--nbe-dur-spin) linear infinite; }
@keyframes nbe-spin{ to{ transform: rotate(360deg); } }
/* --overlay: over a photo or a dark viewer (the gallery lightbox, Studio's photo viewer): translucent white */
.nbe-icon-btn--overlay, body button.nbe-icon-btn--overlay, body button.nbe-icon-btn--overlay:focus{ background: color-mix(in srgb, var(--nbe-white) 14%, transparent); box-shadow: none; color: var(--nbe-on-toast); }
@media (hover: hover){ .nbe-icon-btn--overlay:hover, body button.nbe-icon-btn--overlay:hover{ background: color-mix(in srgb, var(--nbe-white) 26%, transparent); box-shadow: none; color: var(--nbe-on-toast); } }
.nbe-icon-btn--overlay:focus-visible{ outline-color: var(--nbe-on-toast); }

/* ---- Pager dot (a carousel's "show item n"): a tappable box holding a small dot; the current one is a wide rose bar
   <button class="nbe-dot" aria-label="Show review 2"> ---- */
.nbe-dot, body button.nbe-dot, body button.nbe-dot:focus{
	position: relative; display: inline-block; flex: 0 0 auto;
	width: var(--nbe-box-xs); height: var(--nbe-box-sm); min-height: 0;
	margin: 0; padding: 0; border: 0; border-radius: var(--nbe-radius-pill);
	background: none; box-shadow: none; cursor: pointer;
}
.nbe-dot::before{ content: ""; position: absolute; top: 50%; left: 50%; width: var(--nbe-box-dot); height: var(--nbe-box-dot); translate: -50% -50%; border-radius: var(--nbe-radius-pill); background: var(--nbe-border); transition: width var(--nbe-medium) var(--nbe-ease), background-color var(--nbe-fast) var(--nbe-ease); }
.nbe-dot:is(.is-on, [aria-current="true"])::before{ width: var(--nbe-glyph-md); background: var(--nbe-rose); }
.nbe-dot:active::before{ transform: var(--nbe-shrink); }
.nbe-dot:focus-visible{ outline-offset: calc(var(--nbe-space-1) * -1); }
@media (hover: hover){ .nbe-dot:not(.is-on):hover::before, body button.nbe-dot:not(.is-on):hover::before{ background: var(--nbe-brand-hover); } body button.nbe-dot:hover{ background: none; } }

/* ---- Photo button: a photo that is the button (gallery tiles, photo pickers). No fill, the photo's corners. ---- */
.nbe-photo-btn, body button.nbe-photo-btn, body button.nbe-photo-btn:focus{
	position: relative; display: block; overflow: hidden;
	margin: 0; padding: 0; border: 0; border-radius: var(--nbe-radius);
	background: none; box-shadow: none; color: inherit; font: inherit; line-height: 0;
	cursor: pointer; transition: transform var(--nbe-fast) var(--nbe-ease);
}
.nbe-photo-btn:active{ transform: var(--nbe-press); }
.nbe-photo-btn, body button.nbe-photo-btn.nbe-photo-btn{ background: var(--nbe-subtle); }
.nbe-photo-btn.is-selected, body button.nbe-photo-btn.is-selected{ background: var(--nbe-line); }
.nbe-photo-btn:focus-visible{ outline: var(--nbe-focus-ring); outline-offset: var(--nbe-focus-offset); }
@media (hover: hover){ body button.nbe-photo-btn:hover{ background: none; } }

/* ---- Photo check: the round tick over a photo you're picking (Instagram, Google photos, Photos manager)
   <label><input type=checkbox hidden-ish> <img> <i class="nbe-photo-check"></i></label>; on when the input before it is
   checked or the tile is .is-selected. --right puts it top right; --danger marks photos to remove. ---- */
.nbe-photo-check{
	position: absolute; top: var(--nbe-space-2); left: var(--nbe-space-2);
	box-sizing: border-box; width: var(--nbe-box-xs); height: var(--nbe-box-xs);
	border: 2px solid var(--nbe-white); border-radius: var(--nbe-radius-pill);
	background: var(--nbe-scrim); box-shadow: var(--nbe-shadow-thumb);
}
.nbe-photo-check--right{ left: auto; right: var(--nbe-space-2); }
:checked ~ .nbe-photo-check, :checked ~ * .nbe-photo-check, .is-selected .nbe-photo-check{ background: var(--nbe-rose); }
:checked ~ .nbe-photo-check--danger{ background: var(--nbe-danger); }
:checked ~ .nbe-photo-check::after, :checked ~ * .nbe-photo-check::after, .is-selected .nbe-photo-check::after{
	content: ""; position: absolute; left: 32%; top: 12%; width: 26%; height: 50%;
	border: solid var(--nbe-white); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---- Round icon (a line icon in a ring) -------------------------------
   The link itself (.nbe-round-ic on an <a>) or inside a link (a row: the whole row is the target).
   Footer links and the Contact page rows use it. ---- */
.nbe-round-ic{
	width: var(--nbe-tap); height: var(--nbe-tap);
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	border-radius: var(--nbe-radius-pill);
	background: var(--nbe-surface);
	box-shadow: 0 0 0 1px var(--nbe-line);
	color: var(--nbe-ink);
	transition: color var(--nbe-fast) var(--nbe-ease), box-shadow var(--nbe-fast) var(--nbe-ease), transform var(--nbe-fast) var(--nbe-ease);
}
.nbe-round-ic svg{ width: var(--nbe-glyph-md); height: var(--nbe-glyph-md); fill: none; stroke: currentColor; stroke-width: var(--nbe-stroke); stroke-linecap: round; stroke-linejoin: round; }
a.nbe-round-ic:active, a:active > .nbe-round-ic{ transform: var(--nbe-press); }
:is(a.nbe-round-ic, a:has(> .nbe-round-ic)):is([aria-disabled="true"], .is-disabled){ opacity: var(--nbe-disabled); cursor: not-allowed; pointer-events: none; }
@media (hover: hover){ a.nbe-round-ic:hover, a:hover > .nbe-round-ic{ color: var(--nbe-rose); box-shadow: 0 0 0 1px var(--nbe-brand); } }

/* ---- Card and sheet --------------------------------------------------- */
.nbe-card{ box-sizing: border-box; border-radius: var(--nbe-radius-card); background: var(--nbe-surface); }
.nbe-card--raised{ border: 1px solid var(--nbe-subtle); box-shadow: var(--nbe-shadow-card); }
.nbe-sheet{ border-radius: var(--nbe-radius-sheet) var(--nbe-radius-sheet) 0 0; background: var(--nbe-surface); box-shadow: var(--nbe-shadow-sheet); }

/* ---- Motion preferences ---- */
@media (prefers-reduced-motion: reduce){
	:is(.nbe-btn, .nbe-chip, .nbe-seg > *, .nbe-seg__thumb, .nbe-switch__ui, .nbe-switch__ui::after){ transition: none; }
	:is(.nbe-btn, .nbe-icon-btn, .nbe-chip, .nbe-round-ic):active, a:active > .nbe-round-ic{ transform: none; }
	.nbe-round-ic{ transition: none; }
}
