/*
 * HIDEA B2B Parts — portal styles.
 * Tokens are exactly those of the handoff §9 (Industry design system, industry-styles.css).
 * Component styling is completed in step 11; this file already carries the app shell and login screen.
 */

/* Roboto Condensed (variable, 100–900) — self-hosted. SIL Open Font License 1.1, see ../fonts/OFL.txt. */
@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/roboto-condensed-greek-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+1F00-1FFF;
}
@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/roboto-condensed-greek-wght-normal.woff2") format("woff2");
	unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}
@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/roboto-condensed-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
	font-family: "Roboto Condensed";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("../fonts/roboto-condensed-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
	--hb-bg: #f2f2f3;
	--hb-surface: #e9e9ea;
	--hb-text: #1d1f20;
	--hb-accent: #5980a6;
	--hb-divider: rgba(29, 31, 32, .16);
	--hb-divider-soft: rgba(29, 31, 32, .08);

	--hb-neutral-100: #f5f5f8;
	--hb-neutral-200: #e7e7ea;
	--hb-neutral-300: #d4d4d7;
	--hb-neutral-400: #b7b7ba;
	--hb-neutral-500: #98989b;
	--hb-neutral-600: #7a7a7d;
	--hb-neutral-700: #5d5d60;
	--hb-neutral-800: #424244;
	--hb-neutral-900: #2b2b2d;

	--hb-accent-100: #eef6ff;
	--hb-accent-200: #d6ebff;
	--hb-accent-300: #b5d9fd;
	--hb-accent-400: #94bce3;
	--hb-accent-500: #749dc4;
	--hb-accent-600: #597ea3;
	--hb-accent-700: #416180;
	--hb-accent-800: #2c455d;
	--hb-accent-900: #1d2d3d;

	/* Barlow (handoff §9) has no Greek glyphs; Roboto Condensed replaces it for headings and body (decision Α9). */
	--hb-font-heading: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
	--hb-font-body: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
	--hb-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--hb-shadow-sm: 0 1px 2px rgba(43, 43, 45, .14);
	--hb-shadow-md: 0 3px 10px rgba(43, 43, 45, .16);

	--hb-sidebar-w: 228px;
	--hb-gap: 14px;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body.hb {
	margin: 0;
	background: var(--hb-neutral-200);
	color: var(--hb-text);
	font-family: var(--hb-font-body);
	font-size: 13px;
	line-height: 1.55;
}
.hb h1, .hb h2, .hb h3, .hb h4 {
	font-family: var(--hb-font-heading);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0;
}
.hb a { color: var(--hb-accent-700); text-underline-offset: 3px; }
.hb a:hover { color: var(--hb-accent-800); }
.hb :focus { outline: none; }
.hb :focus-visible { outline: 2px solid var(--hb-accent); outline-offset: 2px; }
.hb ::selection { background: rgba(89, 128, 166, .3); }
.hb-mono { font-family: var(--hb-font-mono); font-feature-settings: "tnum"; letter-spacing: .01em; }
.hb-tnum { font-feature-settings: "tnum"; }
.hb .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.hb-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	background: var(--hb-accent-900); color: var(--hb-bg) !important; padding: 8px 12px;
}
.hb-skip:focus { left: 8px; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.hb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 36px; padding: 6.8px 12.24px;
	font-family: var(--hb-font-heading); font-weight: 600; font-size: 14px; line-height: 1.2;
	color: var(--hb-text); text-decoration: none; cursor: pointer;
	background: transparent; border: 1px solid var(--hb-divider); border-radius: 0;
}
.hb-btn:disabled, .hb-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.hb-btn--primary { background: var(--hb-accent); border-color: var(--hb-accent); color: var(--hb-bg) !important; }
.hb-btn--primary:hover { background: var(--hb-accent-600); }
.hb-btn--primary:active { background: var(--hb-accent-700); }
.hb-btn--secondary { background: var(--hb-bg); }
.hb-btn--secondary:hover { background: rgba(29, 31, 32, .07); }
.hb-btn--secondary:active { background: rgba(29, 31, 32, .14); }
.hb-btn--ghost { border-color: transparent; color: var(--hb-accent); padding-inline: 3.4px; }
.hb-btn--ghost:hover { background: rgba(89, 128, 166, .10); }
.hb-btn--lg { min-height: 44px; font-size: 15px; padding: 0 22px; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.hb-field { display: flex; flex-direction: column; }
.hb-field > label { font-size: 12px; margin-bottom: 5px; color: rgba(29, 31, 32, .7); }
.hb-input {
	width: 100%; min-height: 36px; padding: 6px 10px;
	font: inherit; font-size: 14px; color: var(--hb-text); caret-color: var(--hb-accent);
	background: var(--hb-bg); border: 1px solid var(--hb-divider); border-radius: 0;
}
.hb-input:hover { border-color: rgba(29, 31, 32, .45); }
.hb-input:focus-visible { border-color: var(--hb-accent); outline-offset: 0; }
.hb-input--lg { min-height: 44px; }
.hb-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }

.hb-seg { display: inline-flex; overflow: hidden; border: 1px solid var(--hb-divider); background: var(--hb-bg); align-self: flex-start; }
.hb-seg__opt { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; min-height: 36px; font-size: 13px; cursor: pointer; }
.hb-seg__opt + .hb-seg__opt { border-left: 1px solid var(--hb-divider); }
.hb-seg__opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.hb-seg__opt:has(input:checked) { background: var(--hb-accent); color: var(--hb-bg); }
.hb-seg__opt:not(:has(input:checked)):hover { background: rgba(29, 31, 32, .07); }
.hb-seg__opt:has(input:focus-visible) { outline: 2px solid var(--hb-accent); outline-offset: -2px; }

.hb-notice { padding: 10px 12px; border: 1px solid var(--hb-accent-300); background: var(--hb-accent-100); color: var(--hb-accent-800); }
.hb-notice--error { border-color: var(--hb-neutral-700); background: var(--hb-bg); color: var(--hb-text); font-weight: 500; }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.hb-card { background: var(--hb-neutral-100); border: 1px solid var(--hb-divider); border-radius: 0; min-width: 0; }
.hb-card__head { padding: 14px 16px 10px; }
.hb-card__title { font-weight: 600; font-size: 15px; }
.hb-card__sub { font-size: 12px; color: var(--hb-neutral-700); }

/* ── Status pills (§9) ──────────────────────────────────────────────────── */
.hb-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.hb-pill--solid { background: var(--hb-accent-600); color: var(--hb-bg); }
.hb-pill--blue { background: var(--hb-accent-200); color: var(--hb-accent-800); }
.hb-pill--ok { background: var(--hb-neutral-200); color: var(--hb-neutral-800); }
.hb-pill--dash { background: transparent; color: var(--hb-neutral-700); border: 1px dashed var(--hb-neutral-500); }
.hb-pill--err { background: var(--hb-bg); color: var(--hb-text); border: 1px solid var(--hb-neutral-700); font-weight: 600; }
.hb-pill--warn { background: var(--hb-accent-100); color: var(--hb-accent-700); border: 1px solid var(--hb-accent-300); }

/* ── Brand ──────────────────────────────────────────────────────────────── */
.hb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hb-brand__mark {
	width: 30px; height: 30px; flex: none; display: grid; place-items: center;
	border: 1.5px solid var(--hb-accent-300); color: var(--hb-accent-200);
	font-family: var(--hb-font-heading); font-size: 18px; font-weight: 600;
}
.hb-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.hb-brand__name { font-family: var(--hb-font-heading); font-size: 19px; font-weight: 600; letter-spacing: .06em; color: var(--hb-bg); }
.hb-brand__tag { font-size: 10px; letter-spacing: .06em; color: var(--hb-accent-300); }
.hb-brand--lg .hb-brand__mark { width: 34px; height: 34px; font-size: 20px; }
.hb-brand--lg .hb-brand__name { font-size: 20px; }
.hb-brand__tag--plain { font-size: 11px; letter-spacing: 0; }

/* ── App shell ──────────────────────────────────────────────────────────── */
.hb-app-shell { min-height: 100vh; display: flex; }
.hb-sidebar {
	flex: 0 0 var(--hb-sidebar-w); width: var(--hb-sidebar-w);
	position: sticky; top: 0; align-self: flex-start; height: 100vh; overflow-y: auto;
	display: flex; flex-direction: column; gap: 2px; padding: 16px 10px;
	background: var(--hb-accent-900); color: var(--hb-accent-100);
}
.hb-sidebar .hb-brand { padding: 4px 8px 16px; }
.hb-account {
	display: flex; flex-direction: column; line-height: 1.25; margin: 0 0 12px; padding: 8px 10px;
	border: 1px solid rgba(242, 242, 243, .18);
}
.hb-account__company { color: var(--hb-bg); font-weight: 500; }
.hb-account__role { font-size: 11px; color: var(--hb-accent-300); }
.hb-nav { display: flex; flex-direction: column; gap: 2px; }
.hb-nav__item {
	display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 8px 10px;
	color: var(--hb-accent-200) !important; text-decoration: none; font-size: 13px;
}
.hb-nav__item:hover { background: rgba(116, 157, 196, .15); }
.hb-nav__item.is-active { background: rgba(116, 157, 196, .30); color: var(--hb-bg) !important; font-weight: 600; }
.hb-nav__label { flex: 1; }
.hb-nav__badge {
	display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 10px;
	font-size: 11px; font-weight: 500; font-feature-settings: "tnum";
	background: var(--hb-accent-500); color: var(--hb-bg);
}
.hb-nav__section { padding: 14px 10px 4px; font-size: 10px; letter-spacing: .1em; color: var(--hb-accent-400); }
.hb-sidebar__foot {
	margin-top: auto; padding: 12px 10px 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px;
	border-top: 1px solid rgba(242, 242, 243, .15); color: var(--hb-bg);
}
.hb-sidebar__foot-label { color: var(--hb-accent-300); }
.hb-sidebar__logout { margin-top: 8px; color: var(--hb-accent-300) !important; }

.hb-content { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; }
.hb-topbar {
	position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	padding: 10px 22px; background: var(--hb-neutral-100); border-bottom: 1px solid var(--hb-divider);
}
.hb-topbar__menu { display: none; }
.hb-topbar__title { font-size: 20px !important; min-width: 140px; }
.hb-topbar__search {
	flex: 1 1 320px; max-width: 620px; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 10px;
	border: 1px solid var(--hb-divider); background: var(--hb-bg); color: var(--hb-neutral-600);
}
.hb-topbar__search:focus-within { border-color: var(--hb-accent); }
.hb-topbar__search input {
	flex: 1; min-width: 0; border: 0; background: transparent; font-size: 13px; color: var(--hb-text); outline: none;
	-webkit-appearance: none; appearance: none;
}
.hb-kbd { font-size: 10px; border: 1px solid var(--hb-divider); padding: 0 5px; }
.hb-topbar__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.hb-topbar__help { font-size: 13px; text-decoration: none; }
.hb-demo-banner {
	padding: 4px 22px; font-size: 11px;
	background: var(--hb-accent-100); color: var(--hb-accent-800); border-bottom: 1px solid var(--hb-accent-200);
}
.hb-main { flex: 1; padding: 18px 22px 48px; display: flex; flex-direction: column; gap: var(--hb-gap); }
.hb-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(43, 43, 45, .5); }

/* ── Login (screen 1) ───────────────────────────────────────────────────── */
.hb-login { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); min-height: 100vh; }
.hb-login__intro {
	display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 40px 48px;
	background: var(--hb-accent-900); color: var(--hb-bg);
}
.hb-login__pitch { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.hb-login__pitch h1 { font-size: 46px; line-height: 1.02; color: var(--hb-bg); }
.hb-login__pitch p { margin: 0; font-size: 15px; color: var(--hb-accent-200); }
.hb-login__features {
	list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
	background: rgba(242, 242, 243, .2);
}
.hb-login__features li { display: flex; flex-direction: column; padding: 12px; background: var(--hb-accent-900); }
.hb-login__features li:first-child { padding-left: 0; }
.hb-login__features strong { font-weight: 600; font-size: 14px; }
.hb-login__features span { font-size: 12px; color: var(--hb-accent-300); }
.hb-login__panel { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 48px; background: var(--hb-neutral-100); }
.hb-login__panel h2 { font-size: 32px; }
.hb-form { display: flex; flex-direction: column; gap: 14px; }
.hb-form--narrow { max-width: 400px; }
.hb-login__panel:has([data-hb-tab="login"]:checked) [data-hb-pane="apply"],
.hb-login__panel:has([data-hb-tab="apply"]:checked) [data-hb-pane="login"] { display: none; }

/* ── Responsive (§8: <900px off-canvas sidebar, ≥44px targets) ─────────── */
@media (max-width: 899px) {
	.hb-sidebar {
		position: fixed; left: 0; top: 0; z-index: 50; height: 100vh;
		transform: translateX(-100%); transition: transform .2s ease;
	}
	.hb-app-shell.is-nav-open .hb-sidebar { transform: none; box-shadow: var(--hb-shadow-md); }
	.hb-topbar { padding: 8px 12px; gap: 10px; }
	.hb-topbar__menu {
		display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
		border: 1px solid var(--hb-divider); background: var(--hb-bg); color: var(--hb-text); cursor: pointer;
	}
	.hb-topbar__title { min-width: 0; flex: 1; font-size: 18px !important; }
	.hb-topbar__search { order: 3; flex-basis: 100%; max-width: none; height: 44px; }
	.hb-topbar__help { display: none; }
	.hb-nav__item, .hb-btn, .hb-input, .hb-seg__opt { min-height: 44px; }
	.hb-main { padding: 14px 12px 40px; }
	.hb-login__intro, .hb-login__panel { padding: 28px 20px; }
	.hb-login__pitch h1 { font-size: 34px; }
	.hb-login__features { grid-template-columns: 1fr; }
	.hb-login__features li { padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.hb-sidebar { transition: none; }
}

/* ── Forms: application (step 3) ───────────────────────────────────────── */
.hb-form--wide { max-width: 640px; gap: 12px; }
.hb-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.hb-form__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hb-field__label { display: block; font-size: 12px; margin-bottom: 5px; color: rgba(29, 31, 32, .7); }
.hb-field__error { margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--hb-text); }
.hb-field.is-invalid .hb-input, .hb-dd.is-invalid .hb-dd__btn { border-color: var(--hb-neutral-800); box-shadow: inset 3px 0 0 var(--hb-neutral-800); }
.hb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hb-muted { color: var(--hb-neutral-700); }
.hb-applied {
	display: flex; flex-direction: column; gap: 8px; max-width: 520px; padding: 22px;
	border: 1px solid var(--hb-divider); background: var(--hb-bg);
}
.hb-applied .hb-pill { align-self: flex-start; }
.hb-applied h3 { font-size: 25px; }
.hb-applied p { margin: 0; color: var(--hb-neutral-800); }

/* ── Custom dropdown (§9) ───────────────────────────────────────────────── */
.hb-dd { position: relative; width: 100%; }
.hb-dd__btn {
	width: 100%; height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 0 10px; font: inherit; font-size: 13px; color: var(--hb-text); text-align: left; cursor: pointer;
	background: var(--hb-bg); border: 1px solid var(--hb-divider); border-radius: 0;
}
.hb-dd__btn:hover { border-color: rgba(29, 31, 32, .45); }
.hb-dd.is-open .hb-dd__btn { border-color: var(--hb-accent); box-shadow: 0 0 0 1px var(--hb-accent); }
.hb-dd__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-dd__label.is-placeholder { color: var(--hb-neutral-600); }
.hb-dd__chev { flex: none; color: var(--hb-neutral-600); transition: transform .15s; }
.hb-dd.is-open .hb-dd__chev { transform: rotate(180deg); }
.hb-dd__list {
	position: absolute; top: calc(100% + 3px); left: 0; min-width: 100%; z-index: 60; margin: 0; padding: 4px 0; list-style: none;
	max-height: 264px; overflow-y: auto; background: var(--hb-neutral-100); border: 1px solid var(--hb-divider); box-shadow: var(--hb-shadow-md);
}
.hb-dd__list:focus { outline: none; }
.hb-dd__opt {
	display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px;
	font-size: 13px; white-space: nowrap; cursor: pointer;
}
.hb-dd__opt.is-active { background: var(--hb-accent-100); }
.hb-dd__list:focus-visible .hb-dd__opt.is-active { outline: 2px solid var(--hb-accent); outline-offset: -2px; }
.hb-dd__opt[aria-selected="true"] { background: var(--hb-accent-100); box-shadow: inset 2px 0 0 var(--hb-accent-600); font-weight: 600; color: var(--hb-accent-800); }
.hb-dd__check { flex: none; color: var(--hb-accent-700); visibility: hidden; }
.hb-dd__opt[aria-selected="true"] .hb-dd__check { visibility: visible; }
.hb-dd--sm .hb-dd__btn { height: 28px; padding: 0 8px; font-size: 12px; }
.hb-dd--sm .hb-dd__opt { padding: 6px 10px; font-size: 12px; }

/* ── Tables, KPIs, tabs (screen 12) ─────────────────────────────────────── */
.hb-grid { display: grid; gap: var(--hb-gap); }
.hb-grid--kpi { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.hb-kpi { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.hb-kpi__label { color: var(--hb-neutral-700); }
.hb-kpi__value { font-family: var(--hb-font-heading); font-size: 28px; font-weight: 600; line-height: 1.1; font-feature-settings: "tnum"; }
.hb-card__head--split { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.hb-card__foot { padding: 10px 16px; border-top: 1px solid var(--hb-divider); }
.hb-tabs { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--hb-divider); background: var(--hb-bg); }
.hb-tabs__item { padding: 5px 10px; font-size: 12px; text-decoration: none; color: var(--hb-text) !important; }
.hb-tabs__item + .hb-tabs__item { border-left: 1px solid var(--hb-divider); }
.hb-tabs__item span { color: var(--hb-neutral-600); font-feature-settings: "tnum"; }
.hb-tabs__item.is-active { background: var(--hb-accent); color: var(--hb-bg) !important; }
.hb-tabs__item.is-active span { color: var(--hb-accent-200); }
.hb-table-wrap { overflow-x: auto; }
.hb-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hb-table th {
	text-align: left; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
	color: rgba(29, 31, 32, .6); background: var(--hb-neutral-200); padding: 6.8px; border-bottom: 1px solid var(--hb-divider);
}
.hb-table td { padding: 8px 6.8px; border-bottom: 1px solid var(--hb-divider-soft); vertical-align: middle; }
.hb-table th:first-child, .hb-table td:first-child { padding-left: 16px; }
.hb-table th:last-child, .hb-table td:last-child { padding-right: 16px; }
.hb-table--zebra tbody tr:nth-child(even) { background: rgba(231, 231, 234, .55); }
.hb-table tbody tr:hover { background: rgba(29, 31, 32, .04); }
.hb-strong { font-weight: 500; }
.hb-meta { font-size: 11px; color: var(--hb-neutral-700); }
.hb-actions { white-space: nowrap; text-align: right; }
.hb-actions form { display: inline-flex; gap: 6px; }
.hb-dd-cell { min-width: 160px; }
.hb-btn--sm { min-height: 28px; height: 28px; padding: 0 10px; font-size: 13px; }
.hb-empty { padding: 36px 16px; text-align: center; color: var(--hb-neutral-700); border-top: 1px solid var(--hb-divider); }
.hb-pager { display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding: 10px 16px; color: var(--hb-neutral-700); }
@media (max-width: 899px) {
	.hb-dd__btn { height: 44px; }
	.hb-dd__opt { padding: 12px; }
	.hb-btn--sm { height: 44px; }
}

/* ── WP admin bar (staff only) ──────────────────────────────────────────── */
body.admin-bar .hb-sidebar { top: 32px; height: calc(100vh - 32px); }
body.admin-bar .hb-topbar { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .hb-sidebar { top: 46px; height: calc(100vh - 46px); }
	body.admin-bar .hb-topbar { top: 0; }
}
