/*
 * AquaNetica Consultants — listing + profile.
 *
 * VALUES are ported from ocnark-elementor-widgets/widgets/directory.css so the
 * consultant listing is visually indistinguishable from /directory/ (56px logo
 * on a 120px banner with -27px overlap, 16px radius, 11px 6px-radius tags,
 * 260px sticky sidebar, 960/640 breakpoints).
 *
 * CLASS NAMES are NOT shared, deliberately. An earlier version reused the
 * host's .dir-card / .directory-* names, which is unsafe in both directions
 * once SiteGround Optimizer combines stylesheets:
 *
 *   - our rules could apply to company cards we never rendered;
 *   - and worse in practice, the host's rules applied to OUR markup. A stray
 *     site rule, `.dir-card .dir-card-ribbon{position:absolute;top:14px;...}`,
 *     combined with our own `bottom:10px` to give an absolutely-positioned
 *     element BOTH top and bottom with auto height — which stretches it into a
 *     full-height slab. That is what broke the consultant featured ribbon.
 *
 * Every class is therefore namespaced aqnc-*, and every element carries the
 * .aqnc-root marker. Identical visual language, zero shared selectors.
 *
 * No pseudo-element in this file injects text content onto anything; the only
 * ::before is an empty decorative dot on our own .aqnc-timezone.
 *
 * No framework, no build step.
 */

/* Own the box model rather than inheriting the theme's: without it a 44px
   touch target renders 66px and fixed widths overflow. */
.aqnc-root, .aqnc-root *, .aqnc-root *::before, .aqnc-root *::after {
	box-sizing: border-box;
}

.aqnc-section, .aqnc-profile, .aqnc-dash {
	--c-teal: #15807d;        /* fills */
	--c-teal-ink: #15807d;    /* text — lightens on dark, fills do not */
	--c-teal-hover: #0d6b68;
	--c-bg: #f8fafc;
	--c-surface: #fff;
	--c-border: #e2e8f0;          /* inputs — matches the rendered search/sort */
	--c-card-border: #e6eef0;     /* card — the live site overrides directory.css */
	--c-panel-border: #e3eceb;    /* filters panel — overridden again, differently */
	--c-border-strong: #cbd5e1;
	--c-heading: #0b1320;
	--c-text: #0f172a;
	--c-body: #475569;
	--c-muted: #64748b;
	--c-chip: #f1f5f9;
	--c-banner: linear-gradient(135deg, #eaf5f4 0%, #d6e9e7 100%);
}

/* ========================================================================
 * Section, header, toolbar — directory parity
 * ===================================================================== */

.aqnc-section { padding: 64px 0; background: var(--c-bg); color: var(--c-text); }
.aqnc-section .aqnc-container {
	width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.aqnc-dir-header { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.aqnc-dir-eyebrow {
	display: inline-block; font-size: 12px; letter-spacing: .12em;
	text-transform: uppercase; color: var(--c-teal-ink); font-weight: 700;
	margin-bottom: 12px;
}
.aqnc-dir-header h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; color: var(--c-heading); }
.aqnc-dir-header p { font-size: 16px; line-height: 1.55; color: var(--c-body); margin: 0; }

.aqnc-dir-toolbar {
	display: grid; grid-template-columns: 1fr auto auto;
	gap: 12px; margin-bottom: 24px; align-items: center;
}
.aqnc-dir-search-wrap { position: relative; }
.aqnc-dir-search-icon {
	position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
	color: var(--c-muted); pointer-events: none;
}
.aqnc-dir-search {
	width: 100%; height: 52px; padding: 0 14px 0 40px;
	border: 1px solid var(--c-border); background: var(--c-surface);
	color: var(--c-text); border-radius: 10px; font: inherit; font-size: 15px;
	transition: border-color .15s, box-shadow .15s;
}
.aqnc-dir-search:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(21,128,125,.15); }
.aqnc-dir-sort {
	height: 44px; border: 1px solid var(--c-border); background: var(--c-surface);
	color: var(--c-text); border-radius: 10px; padding: 0 12px;
	font: inherit; font-size: 14px; cursor: pointer;
}
.aqnc-dir-filter-toggle {
	display: none; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
	background: var(--c-surface); color: var(--c-text);
	border: 1px solid var(--c-border); border-radius: 10px;
	font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}

.aqnc-dir-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.aqnc-dir-main { display: flex; flex-direction: column; }
.aqnc-dir-main > .aqnc-dir-loadmore { align-self: center; }

/* ========================================================================
 * Filters sidebar
 * ===================================================================== */

.aqnc-dir-filters {
	position: sticky; top: 24px;
	background: var(--c-surface); border: 1px solid var(--c-panel-border);
	border-radius: 16px; padding: 20px;
	box-shadow: 0 8px 24px rgba(14,31,51,.05);
	max-height: calc(100vh - 48px); overflow-y: auto;
}
.aqnc-dir-filters-head { display: none; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.aqnc-dir-filters-close {
	background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer;
	color: var(--c-muted); width: 44px; height: 44px;   /* touch target */
}
.aqnc-filter-group { padding: 12px 0; border-top: 1px solid var(--c-chip); border-left: 0; border-right: 0; border-bottom: 0; margin: 0; }
.aqnc-filter-group:first-of-type { padding-top: 0; border-top: 0; }
.aqnc-filter-title {
	font-size: 13.5px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .08em; color: var(--c-text); margin-bottom: 10px; padding: 0;
}
.aqnc-filter-chip {
	display: flex; align-items: center; gap: 8px; padding: 5px 0;
	font-size: 14px; color: var(--c-body); cursor: pointer; line-height: 1.3;
	min-height: 32px;
}
.aqnc-filter-chip input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--c-teal); cursor: pointer; flex-shrink: 0; }
.aqnc-filter-chip:hover span { color: var(--c-teal-ink); }
.aqnc-dir-clear {
	margin-top: 16px; width: 100%; min-height: 44px;
	background: var(--c-chip); border: 0; color: var(--c-body);
	padding: 10px 14px; border-radius: 8px;
	font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.aqnc-dir-clear:hover { background: var(--c-border); color: var(--c-text); }

/* ========================================================================
 * Cards
 * ===================================================================== */

.aqnc-dir-featured-strip {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px; margin-bottom: 28px; padding-bottom: 28px;
	border-bottom: 1px dashed var(--c-border);
}
.aqnc-dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.aqnc-card {
	display: flex; flex-direction: column;
	background: var(--c-surface); border: 1px solid var(--c-card-border);
	border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	box-shadow: 0 6px 18px rgba(14,31,51,.05);
}
.aqnc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,42,.08); border-color: var(--c-border-strong); }

/*
 * The banner + overlapping logo is the directory card's visual signature, so
 * the consultant card keeps it: 120px banner, 160px when featured, and the
 * avatar pulled up 42px over it.
 */
/*
 * DELIBERATE DIVERGENCE from the company card, which uses 120/160px. A
 * consultant card leads with a face and a headline, not a company banner, so
 * the band is trimmed to a header strip: 72px, 104px when featured. The ribbon
 * (21px at bottom:10px) and the verified pip (26px at top:10px) both still sit
 * clear inside 72px, on opposite corners.
 *
 * The avatar is 54px at margin-top:-27px — exactly half — so it keeps sitting
 * half on the band without any change here; the proportion is a function of the
 * avatar, not the band height.
 */
.aqnc-card-banner {
	position: relative; height: 72px;
	background: var(--c-banner); background-size: cover; background-position: center;
}
.aqnc-card-featured .aqnc-card-banner { height: 104px; }
.aqnc-card-verified {
	position: absolute; top: 10px; left: 10px;
	width: 26px; height: 26px;
	display: inline-flex; align-items: center; justify-content: center;
	background: #16a34a; color: #fff; border-radius: 999px;
	box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.aqnc-card .aqnc-card-ribbon,
.aqnc-card-banner .aqnc-card-ribbon {
	position: absolute; bottom: 10px; right: 10px;
	display: inline-block; width: auto; height: auto;
	background: var(--c-teal); color: #fff;
	font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .05em; padding: 4px 10px; border-radius: 4px;
	box-shadow: 0 2px 6px rgba(0,0,0,.18); line-height: 1.2;
}

.aqnc-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1 1 auto; position: relative; }
/* The action row is the last thing in the card; keep it clear of the tags. */
.aqnc-card-actions { padding-top: 4px; }
.aqnc-card .aqnc-card-logo {
	width: 54px; height: 54px; border-radius: 14px;
	background: var(--c-surface); border: 3px solid var(--c-surface);
	/* Specificity is deliberate: the logo is an <a> here (the card is a div with
	   two buttons), and theme link resets strip box-shadow from anchors. */
	box-shadow: 0 6px 14px rgba(14,31,51,.12);
	overflow: hidden; margin-top: -27px; margin-bottom: 12px;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	text-decoration: none;
}
.aqnc-card-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aqnc-card-initials {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	background: var(--c-teal); color: #fff;
	font-weight: 700; font-size: 18px; letter-spacing: .02em;
}
.aqnc-card-name { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--c-heading); line-height: 1.25; }
.aqnc-card-name a { color: inherit; text-decoration: none; }
.aqnc-card-name a:hover { color: var(--c-teal-ink); }
.aqnc-card-tagline { font-size: 13px; line-height: 1.45; color: var(--c-body); margin: 0 0 12px; flex: 1 1 auto; }
.aqnc-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; color: var(--c-muted); margin-bottom: 12px; }
.aqnc-card-country { display: inline-flex; align-items: center; gap: 4px; }
.aqnc-card-rate strong { color: var(--c-teal-ink); }
.aqnc-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.aqnc-card-tag {
	display: inline-block; background: var(--c-chip); color: var(--c-body);
	font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 6px;
}

/*
 * Languages, timezone and LinkedIn.
 *
 * Language tags are visually subordinate to specialism tags — outlined rather
 * than filled — so a card reads "what they do" first and "what they speak"
 * second. All three are omitted entirely when empty; nothing renders a label
 * with no value.
 */
.aqnc-timezone { display: inline-flex; align-items: center; }
.aqnc-timezone::before {
	content: ""; width: 4px; height: 4px; border-radius: 50%;
	background: currentColor; opacity: .5; margin-right: 8px;
}
.aqnc-card-meta > .aqnc-timezone:first-child::before,
.aqnc-profile-meta > .aqnc-timezone:first-child::before { display: none; margin: 0; }

.aqnc-lang-tag {
	display: inline-block; border: 1px solid var(--c-border);
	color: var(--c-muted); background: transparent;
	font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px;
}
.aqnc-card-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.aqnc-lang-more { border-style: dashed; }

.aqnc-languages { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.aqnc-languages-label {
	font-size: 12px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .06em; color: var(--c-muted); margin-right: 2px;
}
.aqnc-profile-head .aqnc-lang-tag { font-size: 12px; padding: 4px 9px; }

.aqnc-linkedin {
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--c-muted); text-decoration: none;
	border-radius: 8px; transition: color .15s, background .15s;
}
.aqnc-linkedin:hover { color: #0a66c2; background: var(--c-chip); }
/* In the card footer it sits beside the two buttons and must not stretch like
   them, but still needs a full touch target. */
.aqnc-card-actions .aqnc-linkedin-card { flex: 0 0 44px; width: 44px; min-height: 44px; border: 1px solid var(--c-border); }
/* In the profile meta row it is inline text-height, so give it a hit area
   without disturbing the row's rhythm. */
.aqnc-profile-meta .aqnc-linkedin { width: 32px; height: 32px; margin: -6px 0; }

/* Availability badge — new, sized to sit in the directory's meta row. */
.aqnc-badge { display: inline-block; border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.aqnc-badge-available { background: #dcfce7; color: #166534; }
.aqnc-badge-limited   { background: #fef3c7; color: #92400e; }
.aqnc-badge-closed    { background: #e2e8f0; color: #475569; }

/*
 * Action row — STACKED, full width.
 *
 * Side by side in a 273px card gave each button ~110px, which wrapped
 * "Request an introduction" onto two lines. Stacking removes the constraint
 * entirely: labels can never wrap at any card width, both buttons share one
 * height, and the booking action leads because that is the point of the card.
 * The directory's own card ends in a single .aqnc-card-cta link, so a stacked
 * pair sits in the same place with the same weight.
 */
.aqnc-card-actions {
	display: flex; flex-direction: column; gap: 8px;
	margin-top: auto;
}
.aqnc-btn,
.aqnc-card-actions .latepoint-book-button,
.aqnc-card-actions a.latepoint_book_button {
	width: 100%; min-height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 10px 14px; border-radius: 10px;
	font: inherit; font-size: 13.5px; font-weight: 600; text-align: center;
	text-decoration: none; cursor: pointer; border: 1px solid transparent;
	/* The label is a single line at every width — this is the fix. */
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	transition: background .15s, color .15s, border-color .15s;
}
/* Primary: the booking action, first in the row. LatePoint's own button gets
   the same treatment so a bookable and a non-bookable card look identical. */
.aqnc-btn-primary,
.aqnc-card-actions .latepoint-book-button,
.aqnc-card-actions a.latepoint_book_button {
	background: var(--c-teal); border-color: var(--c-teal); color: #fff;
}
.aqnc-btn-primary:hover,
.aqnc-card-actions .latepoint-book-button:hover,
.aqnc-card-actions a.latepoint_book_button:hover {
	background: var(--c-teal-hover); border-color: var(--c-teal-hover); color: #fff;
}
/* Quiet secondary: View profile. Lighter than the outlined style so the
   booking action clearly leads. */
.aqnc-btn-quiet {
	background: var(--c-chip); border-color: transparent; color: var(--c-body);
}
.aqnc-btn-quiet:hover { background: var(--c-border); color: var(--c-text); }
/* Outlined secondary: white, 1px teal border, teal text. Used by the profile
   panel and by every secondary action in the account area.
   The border was --c-border (a grey #e2e8f0) and the fill was --c-chip, which
   is what made the account buttons read as disabled — a pale grey-blue that
   appears nowhere else on the site. --c-teal-ink is #15807d on light and
   lightens to #1a9e9a on dark, where a flat #15807d edge goes muddy. */
.aqnc-btn-secondary {
	background: var(--c-surface); border-color: var(--c-teal-ink); color: var(--c-teal-ink);
}
/* Fills on hover rather than tinting. Teal text on any tint pale enough to
   read as "hover" lands under 4.5:1 — #15807d is only 4.76 on plain white, so
   there is no headroom. White on the solid fill is 4.76 and cannot drift. */
.aqnc-btn-secondary:hover {
	background: var(--c-teal); border-color: var(--c-teal); color: #fff;
}

.aqnc-dir-empty {
	padding: 40px 20px; text-align: center; color: var(--c-muted);
	background: var(--c-surface); border: 1px dashed var(--c-border-strong);
	border-radius: 14px; margin-top: 16px;
}
.aqnc-dir-loadmore {
	display: inline-block; margin: 28px auto 0;
	background: var(--c-teal); color: #fff; border: 0;
	/* Rendered radius and padding from the live directory. Its button computes
	   to 35.5px tall; min-height keeps ours at the 44px touch target instead —
	   the one place we deliberately do not copy the live render. */
	padding: 9px 20px; min-height: 44px;
	font: inherit; font-size: 14px; font-weight: 600; border-radius: 8px;
	cursor: pointer; transition: background .15s, transform .15s;
}
.aqnc-dir-loadmore:hover { background: var(--c-teal-hover); transform: translateY(-1px); }

/*
 * .aqnc-card is display:flex, which beats the browser default
 * [hidden]{display:none} and would leave filtered-out cards visible. The
 * directory carries the same override for the same reason.
 */
.aqnc-section .aqnc-card[hidden],
.aqnc-section .aqnc-dir-featured-strip[hidden],
.aqnc-section .aqnc-dir-loadmore[hidden],
.aqnc-section .aqnc-dir-empty[hidden] { display: none !important; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* ========================================================================
 * Profile
 * ===================================================================== */

.aqnc-profile { padding: 48px 0 64px; background: var(--c-bg); color: var(--c-text); }
.aqnc-profile-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.aqnc-profile-head {
	display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap;
	padding-bottom: 28px; margin-bottom: 32px;
	border-bottom: 1px solid var(--c-border);
}
/*
 * The avatar sits directly on the page — no white rounded-square tile behind
 * it. The old treatment was a 20px-radius plate made of a surface background
 * plus a 4px surface border, which read as a tile the photo was mounted on.
 * Now: a circle, a 1px edge and a soft shadow, echoing the card avatar's
 * border-and-shadow treatment at profile scale. Card avatars are untouched.
 *
 * No background colour, so a transparent avatar sits on the page rather than
 * on a white square; the initials fallback carries its own teal fill.
 */
.aqnc-profile-photo {
	width: 150px; height: 150px; border-radius: 50%; overflow: hidden; flex: none;
	border: 1px solid var(--c-border);
	box-shadow: 0 4px 14px rgba(14,31,51,.10);
}
.aqnc-profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aqnc-profile-photo .aqnc-card-initials { font-size: 44px; border-radius: 50%; }

.aqnc-profile-id { flex: 1 1 320px; min-width: 0; }
.aqnc-profile-name { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; color: var(--c-heading); font-weight: 700; }
.aqnc-profile-headline { margin: 0 0 16px; color: var(--c-body); font-size: 17px; line-height: 1.5; }
.aqnc-profile-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
	font-size: 14px; color: var(--c-muted); margin-bottom: 16px;
}
.aqnc-profile-rate strong { color: var(--c-teal-ink); font-size: 16px; }
.aqnc-insured { display: inline-flex; align-items: center; gap: 6px; color: #166534; font-weight: 600; }
.aqnc-profile-head .aqnc-card-tags { margin-bottom: 0; }
.aqnc-profile-head .aqnc-card-tag { font-size: 12px; padding: 5px 10px; }

.aqnc-profile-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 40px; align-items: start; }
.aqnc-profile-main { min-width: 0; }
.aqnc-profile-main h2 {
	margin: 36px 0 14px; font-size: 20px; font-weight: 700; color: var(--c-heading);
	padding-top: 24px; border-top: 1px solid var(--c-border);
}
.aqnc-profile-main h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.aqnc-profile-bio p, .aqnc-profile-content p { margin: 0 0 14px; line-height: 1.7; color: var(--c-body); font-size: 15.5px; }
.aqnc-credentials { margin: 0; padding-left: 20px; line-height: 1.8; color: var(--c-body); }
.aqnc-credentials li { margin-bottom: 6px; }

.aqnc-profile-booking {
	position: sticky; top: 24px;
	border: 1px solid var(--c-border); border-radius: 14px;
	background: var(--c-surface); padding: 22px;
	box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.aqnc-profile-booking h2 { margin: 0 0 4px; font-size: 19px; font-weight: 700; color: var(--c-heading); }
.aqnc-booking-sub { margin: 0 0 16px; font-size: 13.5px; color: var(--c-muted); line-height: 1.5; }
.aqnc-profile-booking .aqnc-btn { width: 100%; min-height: 48px; font-size: 14px; }
.aqnc-notice { padding: 12px 14px; border: 1px dashed var(--c-border-strong); border-radius: 10px; color: var(--c-muted); }

/* ------------------------------------------------------------------------
 * Gated profile teaser
 *
 * Replaces the bio / credentials / booking columns for a logged-out visitor.
 * The header above it is untouched, so the panel has to read as a deliberate
 * next step rather than an error — hence the card treatment, matching the
 * booking panel it stands in for.
 * --------------------------------------------------------------------- */
.aqnc-gate { display: flex; justify-content: center; }
.aqnc-gate-panel {
	width: 100%; max-width: 520px; text-align: center;
	background: var(--c-surface); border: 1px solid var(--c-panel-border);
	border-radius: 16px; padding: 36px 32px;
	box-shadow: 0 8px 24px rgba(14,31,51,.05);
}
.aqnc-gate-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; margin-bottom: 16px;
	border-radius: 14px;
	background: var(--c-chip); color: var(--c-teal-ink);
}
.aqnc-gate-panel h2 {
	margin: 0 0 8px; font-size: 22px; line-height: 1.25;
	font-weight: 700; color: var(--c-heading);
	/* The shared h2 rule adds a top rule for section rhythm; not wanted here. */
	padding-top: 0; border-top: 0;
}
.aqnc-gate-panel p {
	margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: var(--c-body);
}
.aqnc-gate-actions {
	display: flex; flex-direction: column; gap: 10px;
	max-width: 320px; margin: 0 auto;
}
.aqnc-gate-actions .aqnc-btn { min-height: 48px; font-size: 14.5px; }

/* ========================================================================
 * Responsive — directory's own 960 / 640 breakpoints
 * ===================================================================== */

@media (max-width: 960px) {
	.aqnc-dir-layout { grid-template-columns: 1fr; }
	.aqnc-dir-toolbar { grid-template-columns: 1fr auto; }
	.aqnc-dir-sort { grid-column: 2; }
	.aqnc-dir-filter-toggle { display: inline-flex; grid-column: 2; grid-row: 1; }
	.aqnc-dir-search-wrap { grid-column: 1 / -1; }
	.aqnc-dir-filters {
		position: fixed; top: 0; left: 0;
		width: min(320px, 88vw); height: 100vh; height: 100dvh; max-height: none;
		border-radius: 0; transform: translateX(-100%);
		transition: transform .25s ease; z-index: 9999;
		box-shadow: 4px 0 24px rgba(0,0,0,.15);
	}
	.aqnc-dir-filters.is-open { transform: translateX(0); }
	.aqnc-dir-filters-head { display: flex; }
	body.aqnc-directory-locked { overflow: hidden; }

	.aqnc-profile-body { grid-template-columns: 1fr; gap: 28px; }
	.aqnc-profile-booking { position: static; }
}

@media (prefers-reduced-motion: reduce) {
	.aqnc-dir-filters { transition: none; }
	.aqnc-card:hover { transform: none; }
	.aqnc-card, .aqnc-btn, .aqnc-dir-loadmore { transition: none; }
}

@media (max-width: 640px) {
	.aqnc-section { padding: 40px 0; }
	.aqnc-section .aqnc-container, .aqnc-profile-container { padding: 0 16px; }
	.aqnc-dir-grid, .aqnc-dir-featured-strip { grid-template-columns: 1fr; }
	.aqnc-dir-toolbar { grid-template-columns: 1fr; }
	.aqnc-dir-sort, .aqnc-dir-filter-toggle, .aqnc-dir-search-wrap { grid-column: 1; }
	/* 16px stops iOS zooming the page when the field takes focus. The directory
	   uses 14px; this is the one deliberate deviation, and only on phones. */
	.aqnc-dir-search, .aqnc-dir-sort { font-size: 16px; }
	/* Comfortable thumb separation between the two stacked actions. */
	.aqnc-card-actions { gap: 10px; padding-top: 6px; }
	.aqnc-btn,
	.aqnc-card-actions .latepoint-book-button,
	.aqnc-card-actions a.latepoint_book_button { min-height: 48px; font-size: 14px; }
	/* Content breathes: the card is the full column width on a phone, so the
	   tighter desktop rhythm reads cramped. */
	.aqnc-card-body { padding: 18px 18px 22px; }
	.aqnc-card-name { font-size: 18px; margin-bottom: 8px; }
	.aqnc-card-tagline { font-size: 14px; margin-bottom: 14px; }
	.aqnc-card-meta { gap: 10px 14px; margin-bottom: 14px; font-size: 12.5px; }
	.aqnc-card-tags, .aqnc-card-langs { margin-bottom: 16px; }

	.aqnc-profile { padding: 32px 0 48px; }
	.aqnc-profile-head { gap: 20px; padding-bottom: 22px; margin-bottom: 26px; }
	.aqnc-profile-photo { width: 104px; height: 104px; border-radius: 50%; }
	.aqnc-profile-photo .aqnc-card-initials { font-size: 30px; }
	.aqnc-profile-main h2 { margin-top: 28px; padding-top: 20px; }
	.aqnc-gate-panel { padding: 28px 20px; border-radius: 14px; }
	.aqnc-gate-panel h2 { font-size: 20px; }
	.aqnc-gate-actions { max-width: none; }
}

/* ========================================================================
 * Dark
 * ===================================================================== */

@media (prefers-color-scheme: dark) {
	.aqnc-section, .aqnc-profile, .aqnc-dash {
		--c-teal-ink: #1a9e9a;    /* #15807d is 3.81:1 on a dark card — below AA */
		--c-bg: #0b0d10;
		--c-surface: #14161a;
		--c-border: rgba(255,255,255,.12);
		--c-card-border: rgba(255,255,255,.12);
		--c-panel-border: rgba(255,255,255,.12);
		--c-border-strong: rgba(255,255,255,.24);
		--c-heading: #f8fafc;
		--c-text: #f1f5f9;
		--c-body: #c3ccd8;
		--c-muted: #9aa4b2;
		--c-chip: rgba(255,255,255,.07);
		--c-banner: linear-gradient(135deg, #17272c 0%, #101c21 100%);
	}
	.aqnc-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.5); }
	.aqnc-badge-available { background: rgba(34,197,94,.18);  color: #86efac; }
	.aqnc-badge-limited   { background: rgba(245,158,11,.18); color: #fcd34d; }
	.aqnc-badge-closed    { background: rgba(148,163,184,.18); color: #cbd5e1; }
	.aqnc-insured { color: #86efac; }
	.aqnc-lang-tag { border-color: rgba(255,255,255,.22); }
	.aqnc-linkedin:hover { color: #70b5f9; }
	.aqnc-profile-photo { box-shadow: 0 4px 14px rgba(0,0,0,.45); }
	.aqnc-gate-panel { box-shadow: 0 8px 24px rgba(0,0,0,.45); }
}

/* Explicit theme classes win over the media query, for sites that toggle. */
:root[data-theme="light"] .aqnc-section, :root[data-theme="light"] .aqnc-profile,
:root[data-theme="light"] .aqnc-dash, body.is-light .aqnc-dash,
body.is-light .aqnc-section, body.is-light .aqnc-profile {
	--c-teal-ink: #15807d; --c-bg: #f8fafc; --c-surface: #fff;
	--c-border: #e2e8f0; --c-card-border: #e6eef0; --c-panel-border: #e3eceb;
	--c-border-strong: #cbd5e1; --c-heading: #0b1320;
	--c-text: #0f172a; --c-body: #475569; --c-muted: #64748b; --c-chip: #f1f5f9;
	--c-banner: linear-gradient(135deg, #eaf5f4 0%, #d6e9e7 100%);
}
:root[data-theme="dark"] .aqnc-section, :root[data-theme="dark"] .aqnc-profile,
:root[data-theme="dark"] .aqnc-dash, body.is-dark .aqnc-dash,
body.is-dark .aqnc-section, body.is-dark .aqnc-profile {
	--c-teal-ink: #1a9e9a; --c-bg: #0b0d10; --c-surface: #14161a;
	--c-border: rgba(255,255,255,.12); --c-card-border: rgba(255,255,255,.12);
	--c-panel-border: rgba(255,255,255,.12); --c-border-strong: rgba(255,255,255,.24);
	--c-heading: #f8fafc; --c-text: #f1f5f9; --c-body: #c3ccd8;
	--c-muted: #9aa4b2; --c-chip: rgba(255,255,255,.07);
	--c-banner: linear-gradient(135deg, #17272c 0%, #101c21 100%);
}

/* Admin-only hint when a field is empty, so a blank area reads as "not filled
   in" rather than "template broken". Never shown to visitors. */
.aqnc-empty-hint { color: var(--c-muted); font-style: italic; }

/* ========================================================================
 * My Account → Bookings
 *
 * The LatePoint cabinet ships its own look; this only makes it sit inside
 * WooCommerce's content column instead of alongside it. Deliberately minimal:
 * restyling LatePoint's internals from here would break on its next update.
 * ===================================================================== */
.aqnc-account-bookings { width: 100%; max-width: 100%; }
.aqnc-account-bookings > * { max-width: 100%; }
/* The cabinet assumes it owns the page width; inside Woo's column it must not
   push the layout out or introduce a second horizontal scroller. */
.aqnc-account-bookings [class*="latepoint"] { max-width: 100%; box-sizing: border-box; }
.aqnc-account-bookings table { width: 100%; display: block; overflow-x: auto; }
.woocommerce-MyAccount-content .aqnc-account-bookings { margin: 0; }
.aqnc-account-empty {
	padding: 16px 18px; border: 1px dashed #cbd5e1; border-radius: 10px;
	color: #64748b; margin: 0;
}
@media (max-width: 640px) {
	.aqnc-account-bookings { font-size: 15px; }
}

/* ========================================================================
 * Consultant badges
 *
 * Separate from the featured ribbon, which is unchanged. Two presentations of
 * the same library: named chips on the profile, marks only on the card, where
 * a 273px column has no room for labels.
 * ===================================================================== */

/* Profile — icon + name chips, directly under the name. */
.aqnc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.aqnc-badge-chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 10px 5px 6px; border-radius: 999px;
	background: var(--c-chip); border: 1px solid var(--c-border);
	font-size: 12.5px; font-weight: 600; color: var(--c-body);
	/* A tooltip is a title attribute, so hint that hovering does something. */
	cursor: default;
}
.aqnc-badge-chip[title] { cursor: help; }
.aqnc-badge-chip-img {
	width: 18px; height: 18px; border-radius: 50%;
	object-fit: contain; display: block; flex: none;
}
.aqnc-badge-chip-name { line-height: 1.3; }

/* A badge with no image yet: its initial, so a half-configured badge is
   visible in admin without rendering a broken image on the front end. */
.aqnc-badge-chip-fallback {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--c-teal); color: #fff;
	font-size: 10px; font-weight: 700; line-height: 1;
}

/* Card — marks only, inline after the name. */
.aqnc-card-name .aqnc-badge-icons {
	display: inline-flex; align-items: center; gap: 4px;
	margin-left: 6px; vertical-align: middle;
}
.aqnc-badge-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 20px; height: 20px; border-radius: 50%; flex: none;
	background: var(--c-chip); border: 1px solid var(--c-border);
	overflow: hidden;
}
.aqnc-badge-icon[title] { cursor: help; }
.aqnc-badge-icon-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.aqnc-badge-icon .aqnc-badge-chip-fallback { width: 100%; height: 100%; border-radius: 50%; }
.aqnc-badge-more {
	font-size: 10px; font-weight: 700; color: var(--c-muted);
	background: var(--c-chip); border-style: dashed;
}

@media (max-width: 640px) {
	/* Slightly larger on a phone, where the card is full width and these are
	   the only hover-free affordance for the tooltip. */
	.aqnc-badge-icon { width: 22px; height: 22px; }
	.aqnc-badges { gap: 6px; margin-bottom: 12px; }
}

@media (prefers-color-scheme: dark) {
	.aqnc-badge-chip, .aqnc-badge-icon { border-color: rgba(255,255,255,.18); }
	.aqnc-badge-more { color: #9aa4b2; }
}
:root[data-theme="dark"] .aqnc-badge-chip, body.is-dark .aqnc-badge-chip,
:root[data-theme="dark"] .aqnc-badge-icon, body.is-dark .aqnc-badge-icon {
	border-color: rgba(255,255,255,.18);
}

/* ========================================================================
 * My Account → Dashboard (member dashboard)
 *
 * Same card and button system as the consultant directory — a member moving
 * between /find-a-consultant/ and /my-account/ should not feel handed off to a
 * different product. Every selector is namespaced under .aqnc-dash; nothing
 * here may match WooCommerce's or the theme's own account markup.
 *
 * The .aqnc-dash prefix on child selectors is deliberate and not redundant. A
 * theme styling `.woocommerce-MyAccount-content h2` scores (0,1,1) and would
 * otherwise beat a bare `.aqnc-dash-title` at (0,1,0) — which is exactly the
 * direction the earlier directory leak ran: the host reaching into our markup,
 * not the other way round. Two classes puts us ahead of ordinary theme rules.
 * (An `!important` in the theme still wins; that is not worth an arms race.)
 * ===================================================================== */

.aqnc-dash { width: 100%; max-width: 100%; color: var(--c-text); }

.aqnc-dash .aqnc-dash-welcome {
	font-size: 18px; line-height: 1.4; font-weight: 600;
	color: var(--c-heading); margin: 0 0 20px;
}

.aqnc-dash .aqnc-dash-card {
	background: var(--c-surface); border: 1px solid var(--c-card-border);
	border-radius: 16px; padding: 20px; margin: 0 0 16px;
}
.aqnc-dash .aqnc-dash-card:last-child { margin-bottom: 0; }

.aqnc-dash .aqnc-dash-title {
	font-size: 12px; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: var(--c-teal-ink);
	margin: 0 0 12px; padding: 0; border: 0;
}

.aqnc-dash .aqnc-dash-lead { font-size: 15px; line-height: 1.55; color: var(--c-body); margin: 0; }

/* The consultation time is the one thing on this page a member scans for. */
.aqnc-dash .aqnc-dash-when { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--c-heading); }
.aqnc-dash .aqnc-dash-time { border: 0; }
.aqnc-dash .aqnc-dash-time[title] { cursor: help; }
.aqnc-dash .aqnc-dash-who { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--c-body); }

/* Buttons sit side by side where there is room and stack on a phone. Width is
   capped so a lone button doesn't stretch the full column. */
.aqnc-dash .aqnc-dash-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.aqnc-dash .aqnc-dash-foot .aqnc-btn { width: auto; min-width: 0; flex: 0 1 auto; padding-left: 18px; padding-right: 18px; }

/* The only !important in this block, and it is defensive: themes routinely
   reset lists inside the account column with `!important`, and a bulleted,
   40px-indented order list is a visible break rather than a cosmetic one. */
.aqnc-dash .aqnc-dash-order-list { list-style: none !important; margin: 0; padding: 0 !important; }
.aqnc-dash .aqnc-dash-order {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 8px 12px; border-top: 1px solid var(--c-chip);
}
.aqnc-dash .aqnc-dash-order:first-child { border-top: 0; }
/* The whole 44px row is the tap target, not just the two lines of text —
   an order link measured 24px tall before this. */
.aqnc-dash .aqnc-dash-order > a {
	display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
	text-decoration: none; color: var(--c-text);
	min-height: 44px; padding: 6px 0; flex: 1 1 auto;
}
.aqnc-dash .aqnc-dash-order > a:hover .aqnc-dash-order-no { color: var(--c-teal-ink); }
.aqnc-dash .aqnc-dash-order-no { font-weight: 700; font-size: 15px; }
.aqnc-dash .aqnc-dash-order-date { font-size: 13px; color: var(--c-muted); }
.aqnc-dash .aqnc-dash-order-status {
	font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	background: var(--c-chip); color: var(--c-body);
	padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}

@media (max-width: 640px) {
	.aqnc-dash .aqnc-dash-card { padding: 16px; border-radius: 14px; }
	.aqnc-dash .aqnc-dash-when { font-size: 18px; }
	/* Full-width stacked buttons on a phone, matching the card action row. */
	.aqnc-dash .aqnc-dash-foot { flex-direction: column; }
	.aqnc-dash .aqnc-dash-foot .aqnc-btn { width: 100%; }
}

/* ========================================================================
 * My Account → Bookings (rendered by us, not LatePoint's cabinet)
 *
 * Same card, button and token system as the dashboard — this is the same
 * product, one tab across. Namespaced under .aqnc-bk for the same reason
 * everything else is: the account column belongs to WooCommerce and the theme.
 * ===================================================================== */

.aqnc-bk .aqnc-bk-list { list-style: none !important; margin: 0; padding: 0 !important; }

.aqnc-bk .aqnc-bk-item {
	display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
	gap: 12px 16px; padding: 16px 0; border-top: 1px solid var(--c-chip);
}
.aqnc-bk .aqnc-bk-item:first-child { border-top: 0; padding-top: 0; }

.aqnc-bk .aqnc-bk-main { flex: 1 1 260px; min-width: 0; }
.aqnc-bk .aqnc-bk-when {
	margin: 0; font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--c-heading);
}
.aqnc-bk .aqnc-bk-meta { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--c-body); }
.aqnc-bk .aqnc-bk-ref { margin: 6px 0 0; font-size: 12px; color: var(--c-muted); }
/* The confirmation code is what the member quotes back to us from their email,
   so it is set to be read character by character, not skimmed. */
.aqnc-bk .aqnc-bk-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px; letter-spacing: .06em; color: var(--c-text);
	background: var(--c-chip); border-radius: 6px; padding: 2px 7px;
	-webkit-user-select: all; user-select: all;
}

.aqnc-bk .aqnc-bk-side {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
	flex: 0 1 auto;
}
.aqnc-bk .aqnc-bk-status {
	font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
	background: var(--c-chip); color: var(--c-body);
	padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
/* Only statuses whose meaning is unambiguous get a colour; anything unknown
   keeps the neutral chip rather than being guessed into a traffic light.
   These run at 11px, so they are normal-size text for contrast purposes and
   need 4.5:1 — --c-teal-ink measured 4.07 and --c-muted 4.04 on their own
   tinted chips, so both step one shade darker here. */
.aqnc-bk .aqnc-bk-status--approved  { background: rgba(21,128,125,.12);  color: var(--c-teal-hover); }
.aqnc-bk .aqnc-bk-status--completed { background: rgba(21,128,125,.12);  color: var(--c-teal-hover); }
.aqnc-bk .aqnc-bk-status--pending,
.aqnc-bk .aqnc-bk-status--payment_pending { background: rgba(245,158,11,.16); color: #92600b; }
.aqnc-bk .aqnc-bk-status--cancelled,
.aqnc-bk .aqnc-bk-status--canceled,
.aqnc-bk .aqnc-bk-status--no_show   { background: rgba(148,163,184,.20); color: var(--c-body); }

.aqnc-bk .aqnc-bk-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.aqnc-bk .aqnc-bk-actions .aqnc-btn {
	width: auto; min-width: 0; flex: 0 1 auto; padding-left: 16px; padding-right: 16px;
}

.aqnc-bk .aqnc-bk-more { margin-top: 12px; }
.aqnc-bk .aqnc-bk-more > summary {
	display: inline-flex; align-items: center; min-height: 44px;
	font-size: 13.5px; font-weight: 600; color: var(--c-teal-ink);
	cursor: pointer; list-style: none;
}
.aqnc-bk .aqnc-bk-more > summary::-webkit-details-marker { display: none; }
.aqnc-bk .aqnc-bk-more > summary::after { content: "▾"; margin-left: 6px; }
.aqnc-bk .aqnc-bk-more[open] > summary::after { content: "▴"; }
.aqnc-bk .aqnc-bk-more > summary:focus-visible { outline: 2px solid var(--c-teal); outline-offset: 3px; border-radius: 6px; }
.aqnc-bk .aqnc-bk-more .aqnc-bk-list { border-top: 1px solid var(--c-chip); margin-top: 4px; }
.aqnc-bk .aqnc-bk-more .aqnc-bk-item:first-child { padding-top: 16px; }

@media (max-width: 640px) {
	/* Status and actions drop below the detail rather than squeezing beside it. */
	.aqnc-bk .aqnc-bk-side { flex-direction: row; align-items: center; flex-wrap: wrap; width: 100%; }
	.aqnc-bk .aqnc-bk-actions { width: 100%; flex-direction: column; }
	.aqnc-bk .aqnc-bk-actions .aqnc-btn { width: 100%; }
	.aqnc-bk .aqnc-bk-when { font-size: 15px; }
}

@media (prefers-color-scheme: dark) {
	.aqnc-bk .aqnc-bk-status--pending,
	.aqnc-bk .aqnc-bk-status--payment_pending { background: rgba(245,158,11,.18); color: #fcd34d; }
	/* --c-teal-hover stays #0d6b68 on dark, which is darker than the chip it
	   sits on. The lightened ink is the readable one here. */
	.aqnc-bk .aqnc-bk-status--approved,
	.aqnc-bk .aqnc-bk-status--completed { color: var(--c-teal-ink); }
}
:root[data-theme="dark"] .aqnc-bk .aqnc-bk-status--pending, body.is-dark .aqnc-bk .aqnc-bk-status--pending,
:root[data-theme="dark"] .aqnc-bk .aqnc-bk-status--payment_pending, body.is-dark .aqnc-bk .aqnc-bk-status--payment_pending {
	background: rgba(245,158,11,.18); color: #fcd34d;
}
:root[data-theme="dark"] .aqnc-bk .aqnc-bk-status--approved, body.is-dark .aqnc-bk .aqnc-bk-status--approved,
:root[data-theme="dark"] .aqnc-bk .aqnc-bk-status--completed, body.is-dark .aqnc-bk .aqnc-bk-status--completed {
	color: var(--c-teal-ink);
}

/* ========================================================================
 * Admin-only diagnostic
 *
 * Deliberately plain and obviously not part of the member UI: a member must
 * never see this, and an administrator must never mistake it for something a
 * member sees.
 * ===================================================================== */
.aqnc-dash .aqnc-diag {
	margin: 16px 0 0; padding: 14px 16px;
	border: 1px dashed var(--c-border-strong); border-radius: 12px;
	background: var(--c-chip); color: var(--c-body);
	font-size: 13px; line-height: 1.5;
}
/* --c-muted measured 4.34:1 on --c-chip; at 11px that is normal-size text and
   needs 4.5. --c-body is 6.5 on the same chip. */
.aqnc-dash .aqnc-diag-head {
	margin: 0 0 10px; font-size: 11px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; color: var(--c-body);
}
.aqnc-dash .aqnc-diag-list { margin: 0; display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 6px 14px; }
.aqnc-dash .aqnc-diag-list dt { margin: 0; font-weight: 700; color: var(--c-text); }
/* Column lists are long and unbreakable-looking; let them wrap anywhere rather
   than introduce a horizontal scrollbar inside the account column. */
.aqnc-dash .aqnc-diag-list dd { margin: 0; overflow-wrap: anywhere; word-break: break-word; }
.aqnc-dash .aqnc-diag-fix { margin: 12px 0 6px; font-weight: 600; color: var(--c-text); }
.aqnc-dash .aqnc-diag-code {
	margin: 0; padding: 10px 12px; border-radius: 8px;
	background: var(--c-surface); border: 1px solid var(--c-border);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12px; line-height: 1.5; color: var(--c-text);
	/* Wrap rather than scroll: the snippet is four short lines and a sideways
	   scrollbar inside an account column is worse than a soft wrap. */
	white-space: pre-wrap; overflow-wrap: anywhere;
}
.aqnc-dash .aqnc-diag-foot { margin: 12px 0 0; font-size: 12px; color: var(--c-body); }

@media (max-width: 640px) {
	.aqnc-dash .aqnc-diag-list { grid-template-columns: 1fr; gap: 2px; }
	.aqnc-dash .aqnc-diag-list dd { margin-bottom: 8px; }
}


/* Source reader: long code output scrolls rather than wraps, so line numbers
   and indentation stay aligned. Its own scroller, never the page's. */
.aqnc-dash .aqnc-diag-source .aqnc-diag-code {
	white-space: pre; overflow-x: auto; max-height: 70vh; overflow-y: auto;
	font-size: 11.5px; line-height: 1.45;
}

/* ========================================================================
 * LatePoint cabinet: the way back out (1.29.0)
 *
 * /customer-cabinet/ renders LatePoint's own chrome with no account nav, so
 * this sits above it as a sibling and gives a member a route back to
 * /my-account/. Styled from the same tokens as the dashboard and bookings
 * tabs so it reads as part of the account area, not as a LatePoint control.
 *
 * Deliberately NOT keyed to prefers-color-scheme: this page is theme chrome
 * plus a third-party panel, and following the OS instead of the SITE is what
 * produced a light header over a dark form on the marketplace. It follows
 * the site's declared theme only.
 * ===================================================================== */

.aqnc-cabinet-nav {
	--c-teal-ink: #15807d;
	--c-surface: #fff;
	--c-border: #e2e8f0;
	--c-chip: #f1f5f9;
	--c-body: #475569;
	--c-text: #0f172a;
	display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
	margin: 0 0 20px;
}
.aqnc-cabinet-nav .aqnc-cabinet-back {
	display: inline-flex; align-items: center; gap: 8px;
	/* Pinned: with the theme's box-sizing unknown, content-box would turn the
	   44px minimum into a 66px slab. border-box makes 44 mean 44. */
	box-sizing: border-box;
	min-height: 44px; padding: 10px 18px;
	background: var(--c-surface); border: 1px solid var(--c-teal-ink);
	border-radius: 10px;
	color: var(--c-teal-ink); font: inherit; font-size: 14px; font-weight: 600;
	text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}
/* Every state pinned, so no theme link rule can take the label. */
.aqnc-cabinet-nav a.aqnc-cabinet-back:link,
.aqnc-cabinet-nav a.aqnc-cabinet-back:visited {
	color: var(--c-teal-ink); text-decoration: none;
}
.aqnc-cabinet-nav a.aqnc-cabinet-back:hover,
.aqnc-cabinet-nav a.aqnc-cabinet-back:focus,
.aqnc-cabinet-nav a.aqnc-cabinet-back:active {
	background: var(--c-teal-ink); border-color: var(--c-teal-ink); color: #fff;
}
.aqnc-cabinet-nav a.aqnc-cabinet-back:focus-visible {
	outline: 2px solid var(--c-teal-ink); outline-offset: 2px;
}
@media (max-width: 640px) {
	/* Full width on a phone, matching the account action buttons. */
	.aqnc-cabinet-nav { margin-bottom: 16px; }
	.aqnc-cabinet-nav .aqnc-cabinet-back { width: 100%; justify-content: center; min-height: 48px; }
}
:root[data-theme="dark"] .aqnc-cabinet-nav, body.is-dark .aqnc-cabinet-nav {
	--c-teal-ink: #1a9e9a;
	--c-surface: #14161a;
	--c-border: rgba(255,255,255,.12);
	--c-chip: rgba(255,255,255,.07);
	--c-body: #c3ccd8;
	--c-text: #f1f5f9;
}
:root[data-theme="light"] .aqnc-cabinet-nav, body.is-light .aqnc-cabinet-nav {
	--c-teal-ink: #15807d; --c-surface: #fff;
	--c-border: #e2e8f0; --c-chip: #f1f5f9;
	--c-body: #475569; --c-text: #0f172a;
}
