/*
Theme Name: HireTeam
Theme URI: https://example.com/hireteam
Author: HireTeam
Description: Clean, card-based theme for a marketing-team outsourcing business in Bangladesh. Companies send "Hire Our Team" requests, candidates apply to join, and your private team list stays inside the admin and a staff-only dashboard. Brand colour is set in Appearance → Customize → HireTeam Settings.
Version: 1.17.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hireteam
Tags: business, custom-colors, custom-logo, custom-menu, one-column, two-columns
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ht-primary: #2563EB;
	--ht-primary-600: #1D4ED8;
	--ht-primary-50: rgba(37, 99, 235, .07);
	--ht-primary-100: rgba(37, 99, 235, .14);
	--ht-ring: rgba(37, 99, 235, .24);

	--ht-bg: #F9FAFB;
	--ht-white: #FFFFFF;
	--ht-border: #EAECF0;
	--ht-border-strong: #D0D5DD;
	--ht-text: #101828;
	--ht-text-2: #344054;
	--ht-muted: #475467;
	--ht-subtle: #667085;
	--ht-placeholder: #98A2B3;

	--ht-green: #17B26A;
	--ht-green-50: #ECFDF3;
	--ht-green-700: #067647;
	--ht-amber-50: #FFFAEB;
	--ht-amber-700: #B54708;
	--ht-red-50: #FEF3F2;
	--ht-red-700: #B42318;

	--ht-radius: 12px;
	--ht-radius-sm: 8px;
	--ht-shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
	--ht-shadow-md: 0 12px 16px -4px rgba(16, 24, 40, .08), 0 4px 6px -2px rgba(16, 24, 40, .03);

	--ht-font: "Inter", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ht-container: 1200px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ht-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ht-text);
	background: var(--ht-white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ht-primary); text-decoration: none; }
a:hover { color: var(--ht-primary-600); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; color: var(--ht-text); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ht-primary); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ht-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ht-white); padding: 8px 14px; border-radius: var(--ht-radius-sm); }
.ht-skip:focus { left: 8px; }
.ht-icon { flex-shrink: 0; }
.ht-muted { color: var(--ht-subtle); }
.ht-center { text-align: center; margin-top: 32px; }

.ht-container { width: 100%; max-width: var(--ht-container); margin: 0 auto; padding: 0 24px; }
.ht-container--narrow { max-width: 820px; }

/* ==========================================================================
   Buttons, pills, badges
   ========================================================================== */
.ht-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 16px; border-radius: var(--ht-radius-sm);
	font-size: 15px; font-weight: 600; line-height: 1.4;
	border: 1px solid transparent; cursor: pointer; white-space: nowrap;
	transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
	box-shadow: var(--ht-shadow-xs);
}
.ht-btn--primary { background: var(--ht-primary); color: #fff; border-color: var(--ht-primary); }
.ht-btn--primary:hover { background: var(--ht-primary-600); border-color: var(--ht-primary-600); color: #fff; }
.ht-btn--secondary { background: var(--ht-white); color: var(--ht-text-2); border-color: var(--ht-border-strong); }
.ht-btn--secondary:hover { background: var(--ht-bg); color: var(--ht-text); }
.ht-btn--white { background: #fff; color: var(--ht-primary); }
.ht-btn--white:hover { background: #F5F8FF; color: var(--ht-primary-600); }
.ht-btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); box-shadow: none; }
.ht-btn--ghost-white:hover { background: rgba(255,255,255,.1); color: #fff; }
.ht-btn--lg { padding: 12px 20px; font-size: 16px; }
.ht-btn--sm { padding: 6px 12px; font-size: 14px; }
.ht-btn:focus-visible { box-shadow: 0 0 0 4px var(--ht-ring); outline: none; }

.ht-icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: var(--ht-radius-sm);
	border: 1px solid var(--ht-border-strong); background: var(--ht-white); color: var(--ht-muted); cursor: pointer;
}
.ht-icon-btn:hover { background: var(--ht-bg); color: var(--ht-text); }

.ht-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 2px 10px; border-radius: 999px; border: 1px solid transparent;
	font-size: 13px; font-weight: 500; line-height: 20px; white-space: nowrap;
}
.ht-pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ht-pill--blue { background: #EFF4FF; color: var(--ht-primary); border-color: var(--ht-primary-100); }
.ht-pill--green { background: var(--ht-green-50); color: var(--ht-green-700); border-color: #ABEFC6; }
.ht-pill--green .ht-pill__dot { background: var(--ht-green); }
.ht-pill--amber { background: var(--ht-amber-50); color: var(--ht-amber-700); border-color: #FEDF89; }
.ht-pill--purple { background: #F4F3FF; color: #5925DC; border-color: #D9D6FE; }
.ht-pill--red { background: var(--ht-red-50); color: var(--ht-red-700); border-color: #FECDCA; }
.ht-pill--gray { background: var(--ht-bg); color: var(--ht-text-2); border-color: var(--ht-border); }

.ht-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 4px 12px 4px 10px; border-radius: 999px;
	background: var(--ht-green-50); color: var(--ht-green-700); border: 1px solid #ABEFC6;
	font-size: 14px; font-weight: 500;
}
.ht-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ht-green); box-shadow: 0 0 0 3px rgba(23,178,106,.18); }

.ht-trend {
	display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 6px;
	font-size: 13px; font-weight: 500; line-height: 20px; color: #fff; background: var(--ht-green); white-space: nowrap;
}
.ht-trend.is-down { background: #F04438; }

.ht-eyebrow { display: inline-block; color: var(--ht-primary); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.ht-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }

.ht-icon-box {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 10px;
	background: var(--ht-white); color: var(--ht-text-2);
	border: 1px solid var(--ht-border); box-shadow: var(--ht-shadow-xs);
}

/* ==========================================================================
   Card
   ========================================================================== */
.ht-card {
	background: var(--ht-white);
	border: 1px solid var(--ht-border);
	border-radius: var(--ht-radius);
	box-shadow: var(--ht-shadow-xs);
}

/* ==========================================================================
   Logo
   ========================================================================== */
.ht-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ht-text); }
.ht-logo:hover { color: var(--ht-text); }
.ht-logo img { max-height: 40px; width: auto; }
.ht-logo__mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 9px;
	background: var(--ht-primary); color: #fff; font-weight: 700; font-size: 18px;
	box-shadow: inset 0 -2px 0 rgba(0,0,0,.12);
}
.ht-logo__name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }

/* ==========================================================================
   Header
   ========================================================================== */
.ht-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--ht-border);
}
.admin-bar .ht-header { top: 32px; }
.ht-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.ht-nav { display: flex; align-items: center; gap: 32px; flex: 1; justify-content: flex-end; }
.ht-nav__list { display: flex; gap: 4px; list-style: none; margin-right: auto; margin-left: 40px; }
.ht-nav__list a { display: block; padding: 8px 12px; border-radius: var(--ht-radius-sm); color: var(--ht-muted); font-weight: 600; font-size: 15px; }
.ht-nav__list a:hover, .ht-nav__list .current-menu-item > a { color: var(--ht-text); background: var(--ht-bg); }
.ht-nav__actions { display: flex; gap: 12px; }
.ht-nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ht-text-2); cursor: pointer; }

/* ==========================================================================
   Hero
   ========================================================================== */
.ht-hero {
	padding: 88px 0 96px;
	background:
		radial-gradient(900px 420px at 85% 10%, var(--ht-primary-50), transparent 70%),
		linear-gradient(180deg, #fff 0%, var(--ht-bg) 100%);
	border-bottom: 1px solid var(--ht-border);
	overflow: hidden;
}
.ht-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.ht-hero__title { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.15; margin: 20px 0 20px; letter-spacing: -0.025em; }
.ht-hero__text { font-size: 19px; color: var(--ht-muted); max-width: 540px; margin-bottom: 32px; }
.ht-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.ht-hero__stats { display: flex; gap: 40px; padding-top: 28px; border-top: 1px solid var(--ht-border); max-width: 520px; }
.ht-hero__stat strong { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--ht-text); }
.ht-hero__stat span { color: var(--ht-subtle); font-size: 15px; }

.ht-hero__visual { position: relative; }
.ht-mock { padding: 24px 24px 52px; box-shadow: var(--ht-shadow-md); }
.ht-mock__head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--ht-border); }
.ht-mock__head strong { display: block; font-size: 18px; margin-bottom: 4px; }
.ht-mock__avatar, .ht-app__avatar {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: linear-gradient(135deg, var(--ht-primary-100), var(--ht-primary-50)); color: var(--ht-primary);
	border: 1px solid var(--ht-primary-100); flex-shrink: 0;
}
.ht-mock__avatar i, .ht-app__avatar i {
	position: absolute; right: -1px; bottom: -1px; width: 14px; height: 14px; border-radius: 50%;
	background: var(--ht-green); border: 2px solid #fff;
}
.ht-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 20px 0; }
.ht-stat-mini { border: 1px solid var(--ht-border); border-radius: 10px; padding: 12px 14px; }
.ht-stat-mini span { display: block; font-size: 13px; color: var(--ht-subtle); margin-bottom: 2px; }
.ht-stat-mini strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ht-stat-mini em { font-style: normal; font-size: 12px; font-weight: 500; color: #fff; background: var(--ht-green); border-radius: 5px; padding: 1px 6px; }
.ht-mock__label { font-weight: 600; margin-bottom: 12px; }
.ht-bar-row { display: grid; grid-template-columns: 140px 1fr 28px; gap: 12px; align-items: center; font-size: 14px; color: var(--ht-muted); margin-bottom: 12px; }
.ht-bar-row b { text-align: right; color: var(--ht-text); font-weight: 600; }
.ht-bar, .ht-progress { height: 8px; border-radius: 999px; background: var(--ht-border); overflow: hidden; }
.ht-bar i, .ht-progress i { display: block; height: 100%; border-radius: inherit; background: var(--ht-primary); }
.ht-mock-note {
	position: absolute; left: -36px; bottom: -32px;
	display: flex; align-items: center; gap: 12px; padding: 14px 18px; box-shadow: var(--ht-shadow-md);
}
.ht-mock-note strong { display: block; font-size: 15px; }
.ht-mock-note span { font-size: 13px; color: var(--ht-subtle); }
.ht-mock-note__icon { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--ht-green-50); color: var(--ht-green-700); }

/* ==========================================================================
   Sections + grids
   ========================================================================== */
.ht-section { padding: 96px 0; }
.ht-section--muted { background: var(--ht-bg); border-top: 1px solid var(--ht-border); border-bottom: 1px solid var(--ht-border); }
.ht-section--tight { padding: 0 0 96px; }
.ht-section--top0 { padding-top: 0; }
.ht-section--form { padding-top: 0; }
.ht-section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.ht-section__head h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.02em; }
.ht-section__head p { color: var(--ht-muted); font-size: 18px; margin: 0; }

.ht-grid { display: grid; gap: 24px; }
.ht-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ht-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Skill card */
.ht-skill { padding: 24px; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.ht-skill:hover { border-color: var(--ht-primary-100); box-shadow: var(--ht-shadow-md); transform: translateY(-2px); }
.ht-skill__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.ht-skill__title { font-size: 19px; margin-bottom: 8px; }
.ht-skill__desc { color: var(--ht-muted); margin-bottom: 18px; }
.ht-skill .ht-link { margin-top: auto; }
.ht-check-list { list-style: none; margin-bottom: 22px; }
.ht-check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ht-muted); margin-bottom: 10px; font-size: 15px; }
.ht-check-list .ht-icon { color: var(--ht-primary); background: var(--ht-primary-50); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }

/* Steps */
.ht-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.ht-step { padding: 28px; position: relative; }
.ht-step__num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; margin-bottom: 20px;
	background: var(--ht-primary); color: #fff; font-weight: 700; font-size: 18px;
	box-shadow: 0 0 0 6px var(--ht-primary-50);
}
.ht-step h3 { font-size: 19px; }
.ht-step p { color: var(--ht-muted); margin: 0; }

/* Features */
.ht-feature { padding: 24px; }
.ht-feature .ht-icon-box { margin-bottom: 20px; color: var(--ht-primary); }
.ht-feature h3 { font-size: 18px; }
.ht-feature p { color: var(--ht-muted); margin: 0; font-size: 15px; }

/* FAQ */
.ht-faq { display: grid; gap: 12px; }
.ht-faq__item { background: var(--ht-white); border: 1px solid var(--ht-border); border-radius: var(--ht-radius); padding: 0 24px; box-shadow: var(--ht-shadow-xs); }
.ht-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17px; }
.ht-faq__item summary::-webkit-details-marker { display: none; }
.ht-faq__icon { color: var(--ht-subtle); border: 1.5px solid var(--ht-border-strong); border-radius: 50%; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; }
.ht-faq__icon .ht-icon { width: 14px; height: 14px; }
.ht-faq__item[open] .ht-faq__icon { transform: rotate(45deg); color: var(--ht-primary); border-color: var(--ht-primary); }
.ht-faq__item p { color: var(--ht-muted); padding-bottom: 20px; margin: 0; }

/* CTA */
.ht-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	padding: 48px 56px; border-radius: 16px; color: #fff;
	background: radial-gradient(600px 300px at 90% 0%, rgba(255,255,255,.18), transparent 70%), var(--ht-primary);
}
.ht-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.ht-cta p { color: rgba(255,255,255,.85); margin: 0; font-size: 17px; }
.ht-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Inner page hero + breadcrumb
   ========================================================================== */
.ht-page-hero { padding: 40px 0 40px; background: var(--ht-white); }
.ht-breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--ht-subtle); font-size: 15px; margin-bottom: 24px; }
.ht-breadcrumb a { color: var(--ht-subtle); display: inline-flex; }
.ht-breadcrumb a:hover { color: var(--ht-text); }
.ht-breadcrumb span { color: var(--ht-text-2); font-weight: 500; }
.ht-breadcrumb .ht-icon[width="16"] { color: var(--ht-border-strong); }
.ht-page-hero__title { font-size: clamp(30px, 3.6vw, 40px); letter-spacing: -0.02em; margin-bottom: 10px; }
.ht-page-hero__sub { color: var(--ht-muted); font-size: 18px; max-width: 720px; margin: 0; padding-bottom: 32px; border-bottom: 1px solid var(--ht-border); }

/* ==========================================================================
   Forms
   ========================================================================== */
.ht-form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.ht-form-card { padding: 32px; }
.ht-form-aside { display: grid; gap: 20px; position: sticky; top: 96px; }
.ht-aside-card { padding: 24px; }
.ht-aside-card--soft { background: var(--ht-bg); }
.ht-aside-card__title { font-size: 17px; margin-bottom: 16px; }
.ht-contact-line { display: flex; align-items: center; gap: 10px; color: var(--ht-text-2); font-weight: 500; padding: 8px 0; }
.ht-contact-line .ht-icon { color: var(--ht-primary); }

.ht-timeline { list-style: none; position: relative; }
.ht-timeline li { position: relative; padding: 0 0 18px 30px; }
.ht-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ht-primary); background: #fff; box-shadow: 0 0 0 4px var(--ht-primary-50); }
.ht-timeline li::after { content: ""; position: absolute; left: 7px; top: 24px; bottom: 2px; width: 2px; background: var(--ht-border); }
.ht-timeline li:last-child { padding-bottom: 0; }
.ht-timeline li:last-child::after { display: none; }
.ht-timeline strong { display: block; font-size: 15px; }
.ht-timeline span { color: var(--ht-subtle); font-size: 14px; }

.ht-stepper { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.ht-stepper li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 4px solid var(--ht-border); color: var(--ht-subtle); font-weight: 600; font-size: 15px; }
.ht-stepper span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ht-border-strong); font-size: 14px; }
.ht-stepper li.is-active, .ht-stepper li.is-done { border-top-color: var(--ht-primary); color: var(--ht-text); }
.ht-stepper li.is-active span { border-color: var(--ht-primary); color: var(--ht-primary); box-shadow: 0 0 0 4px var(--ht-primary-50); }
.ht-stepper li.is-done span { background: var(--ht-primary); border-color: var(--ht-primary); color: #fff; }

.ht-step-panel { border: 0; padding: 0; margin: 0; min-width: 0; }
.ht-js .ht-steps-form .ht-step-panel { display: none; }
.ht-js .ht-steps-form .ht-step-panel.is-active { display: block; animation: htFade .25s ease; }
@keyframes htFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ht-step-panel__title, .ht-form-section { font-size: 20px; font-weight: 600; margin: 0 0 20px; padding: 0; }
.ht-form-section { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--ht-border); }
.ht-form-section:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.ht-step-panel + .ht-step-panel { margin-top: 32px; }
.ht-js .ht-step-panel + .ht-step-panel { margin-top: 0; }

.ht-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.ht-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; min-width: 0; }
.ht-form-grid .ht-field { margin-bottom: 0; }
.ht-field--full { grid-column: 1 / -1; }
.ht-field label, .ht-label { font-size: 14px; font-weight: 500; color: var(--ht-text-2); }
.ht-req { color: var(--ht-primary); }
.ht-hint { color: var(--ht-subtle); font-size: 13px; }

.ht-form input[type="text"], .ht-form input[type="email"], .ht-form input[type="tel"], .ht-form input[type="number"],
.ht-form input[type="date"], .ht-form input[type="url"], .ht-form select, .ht-form textarea, .ht-search input {
	width: 100%; padding: 10px 14px; border: 1px solid var(--ht-border-strong); border-radius: var(--ht-radius-sm);
	background: var(--ht-white); color: var(--ht-text); font-size: 16px; box-shadow: var(--ht-shadow-xs);
	transition: border-color .15s, box-shadow .15s;
}
.ht-form select {
	appearance: none; padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
}
.ht-form textarea { resize: vertical; min-height: 120px; }
.ht-form ::placeholder, .ht-search ::placeholder { color: var(--ht-placeholder); }
.ht-form input:focus, .ht-form select:focus, .ht-form textarea:focus, .ht-search input:focus {
	outline: none; border-color: var(--ht-primary); box-shadow: 0 0 0 4px var(--ht-ring);
}
.ht-form .is-invalid { border-color: #FDA29B !important; box-shadow: 0 0 0 4px rgba(240,68,56,.12) !important; }
.ht-field-error { color: var(--ht-red-700); font-size: 13px; }

.ht-skill-rows { display: grid; gap: 12px; margin-bottom: 16px; }
.ht-skill-row { display: grid; grid-template-columns: 1.6fr 110px 1.2fr 38px; gap: 12px; align-items: end; padding: 16px; border: 1px solid var(--ht-border); border-radius: 10px; background: var(--ht-bg); }
.ht-skill-row .ht-field { margin: 0; }
.ht-skill-row:only-child .ht-remove-row { visibility: hidden; }
.ht-remove-row { margin-bottom: 3px; }
.ht-total { margin: 16px 0 0; color: var(--ht-muted); }
.ht-total strong { color: var(--ht-text); font-size: 18px; }

.ht-choice-group { display: flex; flex-wrap: wrap; gap: 10px; }
.ht-choice { position: relative; cursor: pointer; }
.ht-choice input, .ht-tag input { position: absolute; opacity: 0; pointer-events: none; }
.ht-choice span {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 14px; border-radius: var(--ht-radius-sm);
	border: 1px solid var(--ht-border-strong); background: var(--ht-white); font-weight: 500; font-size: 15px; color: var(--ht-text-2);
	box-shadow: var(--ht-shadow-xs); transition: all .15s;
}
.ht-choice span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ht-border-strong); background: #fff; }
.ht-choice input:checked + span { border-color: var(--ht-primary); background: #F5F8FF; color: var(--ht-text); box-shadow: 0 0 0 1px var(--ht-primary); }
.ht-choice input:checked + span::before { border: 5px solid var(--ht-primary); }
.ht-choice input:focus-visible + span { box-shadow: 0 0 0 4px var(--ht-ring); }

.ht-tag-group { display: flex; flex-wrap: wrap; gap: 8px; }
.ht-tag { position: relative; cursor: pointer; }
.ht-tag span { display: inline-block; padding: 6px 12px; border: 1px solid var(--ht-border-strong); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ht-text-2); background: #fff; transition: all .15s; }
.ht-tag input:checked + span { background: var(--ht-primary); border-color: var(--ht-primary); color: #fff; }
.ht-tag input:focus-visible + span { box-shadow: 0 0 0 4px var(--ht-ring); }

.ht-dropzone {
	position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px;
	border: 1.5px dashed var(--ht-border-strong); border-radius: var(--ht-radius); background: var(--ht-white); cursor: pointer;
	transition: border-color .15s, background .15s;
}
.ht-dropzone:hover, .ht-dropzone.is-drag { border-color: var(--ht-primary); background: #F5F8FF; }
.ht-dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ht-dropzone__text { color: var(--ht-muted); font-size: 15px; }
.ht-dropzone__text strong { color: var(--ht-primary); }
.ht-dropzone__text small { display: block; color: var(--ht-subtle); font-size: 13px; margin-top: 2px; }
.ht-dropzone.has-file { border-style: solid; border-color: var(--ht-primary); }

.ht-check { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 24px; color: var(--ht-muted); font-size: 15px; cursor: pointer; }
.ht-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ht-primary); flex-shrink: 0; }

.ht-step-actions { display: flex; justify-content: space-between; gap: 12px; padding-top: 24px; margin-top: 8px; border-top: 1px solid var(--ht-border); }
.ht-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ht-alert { display: flex; gap: 12px; padding: 16px; border-radius: var(--ht-radius); margin-bottom: 28px; border: 1px solid; }
.ht-alert p { margin: 2px 0 0; font-size: 15px; }
.ht-alert .ht-icon { margin-top: 2px; }
.ht-alert--success { background: var(--ht-green-50); border-color: #ABEFC6; color: var(--ht-green-700); }
.ht-alert--error { background: var(--ht-red-50); border-color: #FECDCA; color: var(--ht-red-700); }

/* Contact + prose + posts */
.ht-contact-card { padding: 28px; color: var(--ht-text); display: block; transition: box-shadow .15s, border-color .15s; }
a.ht-contact-card:hover { color: var(--ht-text); border-color: var(--ht-primary-100); box-shadow: var(--ht-shadow-md); }
.ht-contact-card .ht-icon-box { color: var(--ht-primary); margin-bottom: 20px; }
.ht-contact-card h3 { font-size: 18px; margin-bottom: 4px; }
.ht-contact-card p { color: var(--ht-primary); font-weight: 600; margin: 0; }
.ht-prose { color: var(--ht-text-2); font-size: 17px; }
.ht-prose--card { padding: 40px; margin-top: 24px; }
.ht-prose--intro { max-width: 760px; margin-bottom: 32px; }
.ht-prose h2 { font-size: 26px; margin-top: 1.4em; }
.ht-prose h3 { font-size: 21px; margin-top: 1.3em; }
.ht-prose ul, .ht-prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.ht-prose img { border-radius: var(--ht-radius-sm); margin: 0 0 24px; }
.ht-post-card { overflow: hidden; display: flex; flex-direction: column; }
.ht-post-card__img img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.ht-post-card__body { padding: 24px; }
.ht-post-card h2 { font-size: 19px; margin: 6px 0 8px; }
.ht-post-card h2 a { color: var(--ht-text); }
.ht-post-card p { color: var(--ht-muted); font-size: 15px; }
.ht-pagination { margin-top: 40px; text-align: center; }
.ht-pagination .page-numbers { display: inline-block; padding: 8px 14px; border-radius: var(--ht-radius-sm); color: var(--ht-muted); font-weight: 600; }
.ht-pagination .current { background: var(--ht-primary-50); color: var(--ht-primary); }

/* ==========================================================================
   Footer
   ========================================================================== */
.ht-footer { background: var(--ht-bg); border-top: 1px solid var(--ht-border); padding-top: 64px; }
.ht-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.ht-footer__brand p { color: var(--ht-muted); margin: 16px 0 20px; max-width: 320px; }
.ht-footer__title { font-size: 14px; color: var(--ht-subtle); font-weight: 600; margin-bottom: 16px; }
.ht-footer__links, .ht-footer__contact { list-style: none; display: grid; gap: 12px; }
.ht-footer__links a { color: var(--ht-muted); font-weight: 500; }
.ht-footer__links a:hover { color: var(--ht-text); }
.ht-footer__contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--ht-muted); }
.ht-footer__contact a { color: var(--ht-muted); }
.ht-footer__contact .ht-icon { color: var(--ht-primary); margin-top: 3px; }
.ht-social { display: flex; gap: 10px; }
.ht-social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--ht-border-strong); color: var(--ht-muted); background: #fff; }
.ht-social a:hover { color: var(--ht-primary); border-color: var(--ht-primary); }
.ht-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding: 28px 24px; border-top: 1px solid var(--ht-border); color: var(--ht-subtle); font-size: 14px; }
.ht-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--ht-shadow-md); }
.ht-wa-float:hover { color: #fff; transform: scale(1.05); }

/* ==========================================================================
   Staff dashboard (template-dashboard.php)
   ========================================================================== */
.ht-dashboard-body { background: var(--ht-bg); }
.ht-app { display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 100vh; }

.ht-sidebar {
	position: sticky; top: 0; height: 100vh; overflow-y: auto;
	display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
	padding: 32px 16px 24px; background: var(--ht-white); border-right: 1px solid var(--ht-border);
}
.ht-sidebar .ht-logo { padding: 0 8px; margin-bottom: 24px; }
.ht-search { position: relative; display: block; margin: 0 0 24px; }
.ht-search .ht-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ht-subtle); pointer-events: none; }
.ht-search input { padding-left: 42px; }
.ht-search--sm { margin: 0; width: 100%; max-width: 280px; }

.ht-side-nav { display: grid; gap: 4px; }
.ht-side-nav a {
	display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 6px;
	color: var(--ht-text-2); font-weight: 600; font-size: 16px;
}
.ht-side-nav a .ht-icon { color: var(--ht-subtle); }
.ht-side-nav a:hover { background: var(--ht-bg); color: var(--ht-text); }
.ht-side-nav a.is-active { background: var(--ht-bg); color: var(--ht-text); }
.ht-side-nav a.is-active .ht-icon { color: var(--ht-primary); }
.ht-count { margin-left: auto; background: var(--ht-bg); border: 1px solid var(--ht-border); color: var(--ht-text-2); font-size: 12px; font-weight: 500; padding: 0 8px; border-radius: 999px; line-height: 20px; }
.ht-side-nav a.is-active .ht-count { background: #fff; }
.ht-side-nav__group { display: flex; align-items: center; }
.ht-side-nav__group > a:first-child { flex: 1; }
.ht-side-nav__add { padding: 8px !important; }
.ht-side-nav__sub { display: grid; gap: 2px; margin: 2px 0 6px; }
.ht-side-nav__sub a { padding: 8px 12px 8px 48px; font-weight: 500; font-size: 15px; color: var(--ht-text-2); }

.ht-side-card { background: var(--ht-bg); border-radius: 8px; padding: 20px 16px; margin: 16px 0 20px; }
.ht-side-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.ht-side-card p { color: var(--ht-muted); font-size: 14px; margin-bottom: 16px; }
.ht-side-card .ht-progress { margin-bottom: 16px; }
.ht-side-card__links { display: flex; gap: 14px; font-size: 14px; font-weight: 600; }
.ht-side-card__links a { color: var(--ht-muted); }
.ht-side-card__links a.is-primary { color: var(--ht-primary); }

.ht-user { display: flex; align-items: center; gap: 12px; padding: 20px 8px 0; border-top: 1px solid var(--ht-border); }
.ht-avatar img { width: 40px; height: 40px; border-radius: 50%; }
.ht-user__meta { flex: 1; min-width: 0; }
.ht-user__meta strong { display: block; font-size: 14px; }
.ht-user__meta span { display: block; font-size: 14px; color: var(--ht-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-user .ht-icon-btn { border: 0; width: 32px; height: 32px; }

.ht-app__main { padding: 32px 32px 48px; min-width: 0; }
.ht-app__topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ht-app__topbar .ht-breadcrumb { margin: 0; }
.ht-sidebar-toggle { display: none; }
.ht-app__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--ht-border); }
.ht-app__title { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ht-app__title h1 { font-size: 30px; margin: 0 4px 0 6px; letter-spacing: -0.02em; }
.ht-app__avatar { width: 60px; height: 60px; }
.ht-app__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.ht-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.ht-kpi { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 20px; }
.ht-kpi strong { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; }
.ht-kpi strong .ht-icon { color: var(--ht-placeholder); }
.ht-kpi span { font-size: 14px; color: var(--ht-text-2); }
.ht-kpi__value { display: flex; align-items: center; gap: 10px; }
.ht-kpi__value b { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.ht-kpi__value .ht-trend { color: #fff; }

.ht-dash-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ht-dash-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; min-width: 0; }
.ht-panel { padding: 20px; }
.ht-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ht-panel__head h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; margin: 0 0 2px; }
.ht-panel__head h2 .ht-icon[width="15"] { color: var(--ht-placeholder); }
.ht-panel__head .ht-muted { font-size: 15px; }
.ht-panel__head--search { align-items: center; }

.ht-alerts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ht-alert-card { padding: 18px 20px; border-radius: 10px; font-size: 15px; }
.ht-alert-card p { margin-bottom: 12px; }
.ht-alert-card a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.ht-alert-card--warn { background: var(--ht-amber-50); color: var(--ht-amber-700); }
.ht-alert-card--warn a { color: var(--ht-amber-700); }
.ht-alert-card--ok { background: var(--ht-green-50); color: var(--ht-green-700); }
.ht-alert-card--ok a { color: var(--ht-green-700); }
.ht-alert-card--info { background: #F5F8FF; color: var(--ht-primary-600); }
.ht-alert-card--info a { color: var(--ht-primary); }

.ht-people { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.ht-people li { min-width: 0; }
.ht-people--compact { grid-template-columns: minmax(0, 1fr); }
.ht-people a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 8px; color: var(--ht-text); }
.ht-people a:hover { background: var(--ht-bg); }
.ht-people__meta { flex: 1; min-width: 0; }
.ht-people__meta strong { display: block; font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-people__meta span { display: block; color: var(--ht-muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-initials { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: var(--ht-primary-50); color: var(--ht-primary); font-weight: 600; font-size: 14px; border: 1px solid var(--ht-primary-100); }
.ht-initials--soft { background: var(--ht-bg); color: var(--ht-muted); border-color: var(--ht-border); }
.ht-people .ht-pill { font-size: 12px; padding: 0 8px; }

.ht-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ht-quick a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--ht-border-strong); border-radius: 8px; color: var(--ht-text-2); font-weight: 600; font-size: 14px; box-shadow: var(--ht-shadow-xs); }
.ht-quick a .ht-icon { color: var(--ht-primary); }
.ht-quick a:hover { background: var(--ht-bg); color: var(--ht-text); }

.ht-skillbars { display: grid; gap: 22px; }
.ht-progress--slim { height: 8px; background: var(--ht-border); margin-bottom: 10px; }
.ht-progress--slim i { background: var(--ht-primary); opacity: .85; }
.ht-skillbar__labels { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; color: var(--ht-text-2); }

.ht-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 16px; color: var(--ht-subtle); }
.ht-empty p { margin: 0; max-width: 360px; font-size: 15px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.ht-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.ht-dash-grid { grid-template-columns: 1fr; }
	.ht-kpis { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
	.ht-nav-toggle { display: inline-flex; }
	.ht-nav {
		position: absolute; top: 100%; left: 0; right: 0; display: none;
		flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 24px 24px;
		background: #fff; border-bottom: 1px solid var(--ht-border); box-shadow: var(--ht-shadow-md);
	}
	.ht-nav.is-open { display: flex; }
	.ht-nav__list { flex-direction: column; margin: 0; }
	.ht-nav__actions { flex-direction: column; }
	.ht-hero { padding: 56px 0 72px; }
	.ht-hero__grid { grid-template-columns: 1fr; gap: 56px; }
	.ht-mock-note { left: 12px; bottom: -28px; }
	.ht-grid--3, .ht-steps { grid-template-columns: 1fr 1fr; }
	.ht-form-layout { grid-template-columns: 1fr; }
	.ht-form-aside { position: static; }
	.ht-footer__grid { grid-template-columns: 1fr 1fr; }

	.ht-app { grid-template-columns: 1fr; }
	.ht-sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 300px; z-index: 80; transform: translateX(-100%); transition: transform .25s; box-shadow: var(--ht-shadow-md); }
	.ht-sidebar.is-open { transform: none; }
	.ht-sidebar-toggle { display: inline-flex; }
	.ht-app__main { padding: 20px 16px 40px; }
}
@media (max-width: 640px) {
	.ht-container { padding: 0 16px; }
	.ht-section { padding: 64px 0; }
	.ht-section--tight { padding-bottom: 64px; }
	.ht-section__head { margin-bottom: 36px; }
	.ht-grid--3, .ht-grid--4, .ht-steps { grid-template-columns: 1fr; }
	.ht-hero__stats { gap: 24px; }
	.ht-hero__stat strong { font-size: 22px; }
	.ht-mock { padding: 18px; }
	.ht-mock__stats { grid-template-columns: 1fr 1fr; }
	.ht-bar-row { grid-template-columns: 110px 1fr 24px; }
	.ht-form-card { padding: 20px; }
	.ht-form-grid { grid-template-columns: 1fr; }
	.ht-stepper li { font-size: 0; gap: 0; }
	.ht-stepper span { font-size: 14px; }
	.ht-skill-row { grid-template-columns: 1fr 90px; }
	.ht-skill-row .ht-field:nth-child(3) { grid-column: 1 / 2; }
	.ht-cta { padding: 32px 24px; }
	.ht-footer__grid { grid-template-columns: 1fr; }
	.ht-footer__bottom { flex-direction: column; }
	.ht-prose--card { padding: 24px; }
	.ht-alerts, .ht-people, .ht-quick { grid-template-columns: minmax(0, 1fr); }
	.ht-panel__head--search { flex-direction: column; align-items: stretch; }
	.ht-search--sm { max-width: none; }
	.admin-bar .ht-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.ht-dropzone.is-invalid { border-color: #FDA29B; background: var(--ht-red-50); }

/* ==========================================================================
   Professional layer (v1.1): dark accents, refined hero, process, footer
   ========================================================================== */
:root {
	--ht-navy: #0B1220;
	--ht-navy-2: #111A2E;
	--ht-grid-line: rgba(16, 24, 40, .05);
}
h1, h2 { font-weight: 700; letter-spacing: -0.028em; }
h3 { letter-spacing: -0.015em; }
.ht-btn { border-radius: 10px; }
.ht-btn--primary { box-shadow: 0 1px 2px rgba(16,24,40,.08), inset 0 1px 0 rgba(255,255,255,.14); }
.ht-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -4px var(--ht-ring); }
.ht-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; }
.ht-icon-box--brand { background: var(--ht-primary-50); color: var(--ht-primary); border-color: var(--ht-primary-100); box-shadow: none; }

/* Top bar */
.ht-topbar { background: var(--ht-navy); color: rgba(255,255,255,.72); font-size: 13.5px; }
.ht-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.ht-topbar__note, .ht-topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.ht-topbar__note .ht-icon { color: #60A5FA; }
.ht-topbar__links { display: flex; gap: 24px; }
.ht-topbar__links a { color: rgba(255,255,255,.82); }
.ht-topbar__links a:hover { color: #fff; }

/* Header */
.ht-header__inner { min-height: 76px; }
.ht-nav__list a { color: var(--ht-text-2); font-weight: 500; position: relative; }
.ht-nav__list a:hover { background: transparent; color: var(--ht-primary); }
.ht-nav__list .current-menu-item > a { background: transparent; color: var(--ht-primary); }
.ht-nav__list .current-menu-item > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; border-radius: 2px; background: var(--ht-primary); }
.ht-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(16,24,40,.18); }

/* Hero */
.ht-hero { position: relative; padding: 96px 0 0; background: #fff; border-bottom: 0; overflow: visible; }
.ht-hero__bg {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background:
		radial-gradient(700px 380px at 80% 18%, var(--ht-primary-100), transparent 70%);
	-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.ht-hero > .ht-container { position: relative; z-index: 1; }
.ht-hero__title { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.035em; margin: 22px 0 22px; }
.ht-hero__text { font-size: 19px; line-height: 1.65; }
.ht-hero__actions { margin-bottom: 28px; }
.ht-hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ht-text-2); font-size: 15px; font-weight: 500; }
.ht-hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.ht-hero__points .ht-icon { color: #fff; background: var(--ht-green); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

.ht-mock { padding: 0; overflow: hidden; border-radius: 16px; box-shadow: 0 24px 48px -12px rgba(16,24,40,.18); }
.ht-mock__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--ht-bg); border-bottom: 1px solid var(--ht-border); }
.ht-mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ht-border-strong); }
.ht-mock__bar span { margin-left: 10px; font-size: 13px; color: var(--ht-subtle); font-weight: 500; }
.ht-mock__body { padding: 24px 24px 56px; }
.ht-mock-kpi {
	position: absolute; right: -32px; top: -36px; width: 200px; padding: 14px 16px 10px; border-radius: 14px;
	box-shadow: 0 16px 32px -12px rgba(16,24,40,.22); color: var(--ht-primary);
}
.ht-mock-kpi span { display: block; font-size: 12.5px; color: var(--ht-subtle); }
.ht-mock-kpi strong { display: flex; align-items: center; gap: 6px; font-size: 22px; color: var(--ht-text); letter-spacing: -0.02em; }
.ht-mock-kpi em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ht-green-700); background: var(--ht-green-50); border-radius: 5px; padding: 1px 6px; }
.ht-mock-kpi svg { width: 100%; height: 36px; display: block; margin-top: 4px; }
.ht-mock-note { border-radius: 14px; box-shadow: 0 16px 32px -12px rgba(16,24,40,.22); }

/* Stat band under the hero */
.ht-statband {
	position: relative; z-index: 2; margin: 80px 0 -56px;
	display: grid; grid-template-columns: repeat(3, 1fr) 2fr;
	background: #fff; border: 1px solid var(--ht-border); border-radius: 16px;
	box-shadow: 0 12px 32px -12px rgba(16,24,40,.12);
}
.ht-statband__item { padding: 24px 28px; border-left: 1px solid var(--ht-border); }
.ht-statband__item:first-child { border-left: 0; }
.ht-statband__item strong { display: block; font-size: 32px; font-weight: 700; letter-spacing: -0.03em; color: var(--ht-text); line-height: 1.2; }
.ht-statband__item > span { color: var(--ht-subtle); font-size: 14.5px; }
.ht-statband__industries > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ht-statband__industries em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--ht-text-2); background: var(--ht-bg); border: 1px solid var(--ht-border); border-radius: 999px; padding: 3px 10px; }
.ht-hero + .ht-section { padding-top: 160px; }

/* Sections */
.ht-section { padding: 112px 0; }
.ht-section__head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.ht-section__head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; text-align: left; max-width: none; margin-bottom: 48px; }
.ht-section__head--split h2 { margin: 0; }
.ht-section__head--split p { margin-bottom: 12px; }

/* Service cards */
.ht-skill { padding: 28px; border-radius: 16px; position: relative; overflow: hidden; }
.ht-skill::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--ht-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.ht-skill:hover::before { transform: scaleX(1); }
.ht-skill .ht-icon-box { background: var(--ht-primary-50); color: var(--ht-primary); border-color: var(--ht-primary-100); box-shadow: none; width: 48px; height: 48px; border-radius: 12px; }
.ht-skill__title { font-size: 20px; }

/* Process */
.ht-process { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.ht-process::before { content: ""; position: absolute; top: 32px; left: 16.66%; right: 16.66%; height: 2px; background: repeating-linear-gradient(90deg, var(--ht-primary-100) 0 8px, transparent 8px 16px); }
.ht-process__step { text-align: center; position: relative; padding: 0 12px; }
.ht-process__marker { display: flex; justify-content: center; margin-bottom: 24px; }
.ht-process__marker span {
	display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px;
	background: #fff; color: var(--ht-primary); border: 1px solid var(--ht-primary-100);
	box-shadow: 0 0 0 8px var(--ht-bg), 0 8px 20px -8px var(--ht-ring);
}
.ht-process__num { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ht-primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.ht-process__step h3 { font-size: 20px; }
.ht-process__step p { color: var(--ht-muted); max-width: 320px; margin: 0 auto; }

/* Why us */
.ht-why { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.ht-why__intro h2 { font-size: clamp(30px, 3.6vw, 42px); }
.ht-why__intro > p { color: var(--ht-muted); font-size: 18px; margin-bottom: 24px; }
.ht-why__intro .ht-check-list { margin-bottom: 32px; }
.ht-why__intro .ht-check-list li { color: var(--ht-text-2); font-size: 16px; }
.ht-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ht-why__grid .ht-feature:nth-child(2), .ht-why__grid .ht-feature:nth-child(4) { transform: translateY(28px); }
.ht-feature { padding: 28px; border-radius: 16px; }

/* FAQ */
.ht-faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.ht-faq-wrap__intro { position: sticky; top: 120px; }
.ht-faq-wrap__intro h2 { font-size: clamp(30px, 3.6vw, 40px); }
.ht-faq-wrap__intro > p { color: var(--ht-muted); font-size: 17px; margin-bottom: 24px; }
.ht-faq-contact { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 14px; }
.ht-faq-contact strong { display: block; font-size: 15px; }
.ht-faq-contact a { font-weight: 700; font-size: 18px; color: var(--ht-text); }
.ht-faq__item { border-radius: 14px; }
.ht-faq__item[open] { border-color: var(--ht-primary-100); box-shadow: 0 8px 24px -12px var(--ht-ring); }

/* CTA (dark) */
.ht-section--tight { padding: 112px 0; }
.ht-cta {
	position: relative; overflow: hidden; padding: 64px; border-radius: 24px;
	background:
		radial-gradient(520px 280px at 85% 0%, rgba(59,130,246,.45), transparent 70%),
		radial-gradient(420px 240px at 0% 100%, rgba(37,99,235,.25), transparent 70%),
		var(--ht-navy);
}
.ht-cta::before { content: none; }
.ht-cta > * { position: relative; }
.ht-cta h2 { font-size: clamp(28px, 3.4vw, 38px); max-width: 620px; }
.ht-cta p { color: rgba(255,255,255,.72); }
.ht-btn--white { background: var(--ht-primary); color: #fff; border-color: var(--ht-primary); }
.ht-btn--white:hover { background: var(--ht-primary-600); color: #fff; }
.ht-btn--ghost-white { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }

/* Inner page hero */
.ht-page-hero {
	position: relative; padding: 56px 0 52px; margin-bottom: 56px;
	background:
		linear-gradient(180deg, #F5F8FF 0%, #fff 100%);
	border-bottom: 1px solid var(--ht-border);
}
.ht-page-hero__title { font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.03em; }
.ht-page-hero__sub { border-bottom: 0; padding-bottom: 0; }

/* Footer (dark) */
.ht-footer { background: var(--ht-navy); border-top: 0; color: rgba(255,255,255,.68); padding-top: 80px; }
.ht-footer .ht-logo, .ht-footer .ht-logo:hover { color: #fff; }
.ht-footer__brand p { color: rgba(255,255,255,.6); }
.ht-footer__title { color: #fff; font-size: 15px; }
.ht-footer__links a, .ht-footer__contact a, .ht-footer__contact li { color: rgba(255,255,255,.68); }
.ht-footer__links a:hover, .ht-footer__contact a:hover { color: #fff; }
.ht-footer__contact .ht-icon { color: #60A5FA; }
.ht-social a { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }
.ht-social a:hover { color: #fff; border-color: #60A5FA; }
.ht-footer__bottom { border-top-color: rgba(255,255,255,.1); color: rgba(255,255,255,.5); }

/* Forms polish */
.ht-form-card { border-radius: 16px; padding: 36px; box-shadow: 0 12px 32px -16px rgba(16,24,40,.12); }
.ht-aside-card { border-radius: 16px; }

@media (max-width: 1100px) {
	.ht-statband { grid-template-columns: repeat(3, 1fr); }
	.ht-statband__industries { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--ht-border); }
	.ht-mock-kpi { right: 8px; }
}
@media (max-width: 960px) {
	.ht-topbar__note { display: none; }
	.ht-topbar__inner { justify-content: center; }
	.ht-hero { padding-top: 56px; }
	.ht-section__head--split, .ht-why, .ht-faq-wrap { grid-template-columns: 1fr; gap: 32px; }
	.ht-faq-wrap__intro { position: static; }
	.ht-process { grid-template-columns: 1fr; gap: 40px; }
	.ht-process::before { display: none; }
	.ht-why__grid .ht-feature:nth-child(2), .ht-why__grid .ht-feature:nth-child(4) { transform: none; }
}
@media (max-width: 640px) {
	.ht-topbar__links { gap: 16px; font-size: 12.5px; }
	.ht-statband { grid-template-columns: 1fr 1fr; margin-top: 56px; }
	.ht-statband__item:nth-child(3) { border-left: 0; border-top: 1px solid var(--ht-border); grid-column: 1 / -1; }
	.ht-statband__item { padding: 18px 20px; }
	.ht-statband__item strong { font-size: 26px; }
	.ht-hero + .ht-section { padding-top: 120px; }
	.ht-section, .ht-section--tight { padding: 72px 0; }
	.ht-why__grid { grid-template-columns: 1fr; }
	.ht-mock-kpi { display: none; }
	.ht-cta { padding: 40px 24px; border-radius: 18px; }
}
.ht-section--top0, .ht-section--form { padding-top: 0; }

/* ==========================================================================
   Dashboard v1.2: in-dashboard screens (lists, details, forms, settings)
   ========================================================================== */
.ht-small { font-size: 14px; }
.ht-btn--block { width: 100%; }
.ht-btn--danger-ghost { background: transparent; color: var(--ht-red-700); border-color: #FECDCA; box-shadow: none; }
.ht-btn--danger-ghost:hover { background: var(--ht-red-50); color: var(--ht-red-700); }
a.ht-kpi, a.ht-skillbar { color: inherit; transition: border-color .15s, box-shadow .15s; }
a.ht-kpi:hover { border-color: var(--ht-primary-100); box-shadow: 0 8px 24px -14px var(--ht-ring); color: inherit; }
a.ht-skillbar { display: block; border-radius: 8px; }
a.ht-skillbar:hover .ht-skillbar__labels span:first-child { color: var(--ht-primary); }
.ht-side-nav a > span:not(.ht-count) { flex: 1; }
.ht-app__actions .ht-btn { padding: 9px 14px; }

/* Toast */
.ht-toast { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 16px; border-radius: 10px; margin: -4px 0 20px; font-weight: 500; font-size: 15px; border: 1px solid; animation: htFade .25s ease; }
.ht-toast span { flex: 1; }
.ht-toast--success { background: var(--ht-green-50); color: var(--ht-green-700); border-color: #ABEFC6; }
.ht-toast--error { background: var(--ht-red-50); color: var(--ht-red-700); border-color: #FECDCA; }
.ht-toast__close { background: none; border: 0; color: inherit; cursor: pointer; padding: 4px; display: inline-flex; opacity: .7; }
.ht-toast__close:hover { opacity: 1; }

/* List panels */
.ht-panel--flush { padding: 0; overflow: hidden; }
.ht-panel__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-bottom: 1px solid var(--ht-border); }
.ht-tabs { display: flex; flex-wrap: wrap; gap: 4px; background: var(--ht-bg); border: 1px solid var(--ht-border); border-radius: 10px; padding: 4px; }
.ht-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 7px; color: var(--ht-muted); font-weight: 600; font-size: 14px; }
.ht-tabs a span { font-size: 12px; font-weight: 500; color: var(--ht-subtle); background: #fff; border: 1px solid var(--ht-border); padding: 0 7px; border-radius: 999px; line-height: 18px; }
.ht-tabs a:hover { color: var(--ht-text); }
.ht-tabs a.is-active { background: #fff; color: var(--ht-text); box-shadow: var(--ht-shadow-xs); }
.ht-tabs a.is-active span { background: var(--ht-primary-50); color: var(--ht-primary); border-color: var(--ht-primary-100); }
.ht-filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ht-filterbar .ht-search { width: 240px; }
.ht-filterbar select { width: auto; min-width: 170px; padding-top: 9px; padding-bottom: 9px; font-size: 15px; }
.ht-filterbar .ht-btn { padding: 9px 14px; }

.ht-table-wrap { overflow-x: auto; }
.ht-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ht-table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--ht-subtle); background: var(--ht-bg); padding: 11px 20px; border-bottom: 1px solid var(--ht-border); white-space: nowrap; }
.ht-table td { padding: 14px 20px; border-bottom: 1px solid var(--ht-border); color: var(--ht-muted); vertical-align: middle; }
.ht-table tbody tr:last-child td { border-bottom: 0; }
.ht-table tbody tr[data-href] { cursor: pointer; transition: background .12s; }
.ht-table tbody tr[data-href]:hover { background: #FAFBFD; }
.ht-table--plain th { background: transparent; padding: 8px 0; }
.ht-table--plain td { padding: 12px 0; }
.ht-table--plain th + th, .ht-table--plain td + td { padding-left: 16px; }
.ht-cell-main { display: flex; align-items: center; gap: 12px; color: var(--ht-text); min-width: 220px; }
.ht-cell-main strong, .ht-cell-stack { display: block; font-weight: 600; color: var(--ht-text); }
.ht-cell-main small, .ht-cell-stack small { display: block; font-size: 13px; color: var(--ht-subtle); font-weight: 400; }
.ht-cell-stack { font-weight: 500; }
.ht-cell-wrap { min-width: 200px; }
.ht-pager { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 16px; border-top: 1px solid var(--ht-border); color: var(--ht-subtle); font-size: 14px; }

/* Detail pages */
.ht-detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.ht-detail__main, .ht-detail__side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; min-width: 0; }
.ht-detail__side { position: sticky; top: 24px; }
.ht-dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--ht-border); }
.ht-dl > div { padding: 14px 0; border-bottom: 1px solid var(--ht-border); min-width: 0; }
.ht-dl > div:nth-child(odd) { padding-right: 16px; }
.ht-dl dt { font-size: 13px; color: var(--ht-subtle); margin-bottom: 2px; }
.ht-dl dd { margin: 0; color: var(--ht-text); font-weight: 500; overflow-wrap: anywhere; }
.ht-note-box { margin-top: 20px; padding: 16px 18px; background: var(--ht-bg); border: 1px solid var(--ht-border); border-radius: 10px; }
.ht-note-box strong { display: block; font-size: 13px; color: var(--ht-subtle); font-weight: 600; margin-bottom: 4px; }
.ht-note-box p { margin: 0; color: var(--ht-text-2); }
.ht-file { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--ht-border); border-radius: 12px; color: var(--ht-text); }
.ht-file:hover { border-color: var(--ht-primary-100); background: #F5F8FF; color: var(--ht-text); }
.ht-file strong, .ht-linkcard strong { display: block; font-size: 15px; }
.ht-file small, .ht-linkcard small { display: block; font-size: 13px; color: var(--ht-subtle); }
.ht-detail .ht-panel__head h2 { font-size: 18px; }
.ht-detail .ht-field { margin-bottom: 18px; }
.ht-detail .ht-form-grid .ht-field { margin-bottom: 0; }
.ht-assign-search { margin: 10px 0 8px; max-width: none; }
.ht-assign-list { display: grid; gap: 6px; max-height: 300px; overflow-y: auto; padding-right: 2px; }
.ht-assign { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--ht-border); border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.ht-assign input { width: 16px; height: 16px; accent-color: var(--ht-primary); flex-shrink: 0; }
.ht-assign:has(input:checked) { border-color: var(--ht-primary); background: #F5F8FF; }
.ht-assign__meta { min-width: 0; }
.ht-assign__meta strong { display: block; font-size: 14px; font-weight: 600; }
.ht-assign__meta small { display: block; font-size: 12.5px; color: var(--ht-subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-initials--sm { width: 32px; height: 32px; font-size: 12px; }
.ht-linkcard { display: flex; align-items: center; gap: 14px; color: var(--ht-text); }
.ht-linkcard > span:nth-child(2) { flex: 1; }
.ht-linkcard:hover { color: var(--ht-text); border-color: var(--ht-primary-100); }
.ht-danger { display: flex; justify-content: flex-end; }
.ht-danger--page { margin-top: 24px; justify-content: flex-start; }
.ht-plain-list { list-style: none; display: grid; gap: 8px; margin-bottom: 16px; }
.ht-plain-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.ht-plain-list .ht-pill { font-size: 12px; padding: 0 8px; }

/* Skills screen */
.ht-collapse { padding: 0; margin-bottom: 12px; }
.ht-collapse > summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; }
.ht-collapse > summary::-webkit-details-marker { display: none; }
.ht-collapse > summary > span:nth-child(2) { flex: 1; min-width: 0; }
.ht-collapse > summary strong { display: block; font-size: 16px; }
.ht-collapse > summary small { display: block; font-size: 13.5px; color: var(--ht-subtle); }
.ht-collapse__edit { font-size: 14px; font-weight: 600; color: var(--ht-primary); }
.ht-collapse[open] > summary { border-bottom: 1px solid var(--ht-border); }
.ht-collapse[open] .ht-collapse__edit { color: var(--ht-subtle); }
.ht-skill-form { padding: 20px; }
.ht-skill-form .ht-form-grid { margin-bottom: 0; }
.ht-skill-form .ht-field { margin-bottom: 0; }
.ht-form-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.ht-skill-delete { padding: 0 20px 20px; margin-top: -8px; }
.ht-skill-admin { display: grid; grid-template-columns: minmax(0, 1fr); }

/* Settings */
.ht-settings { display: grid; gap: 24px; max-width: 1080px; }
.ht-settings__section { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding: 28px; }
.ht-settings__intro h2 { font-size: 18px; margin-bottom: 4px; }
.ht-settings__intro p { font-size: 14.5px; }
.ht-settings__fields .ht-field { margin-bottom: 18px; }
.ht-settings__fields .ht-form-grid { margin-bottom: 18px; }
.ht-settings__fields .ht-form-grid .ht-field { margin-bottom: 0; }
.ht-form-grid--stats { grid-template-columns: 1fr 2fr; }
.ht-color { display: flex; align-items: center; gap: 12px; }
.ht-color input[type="color"] { width: 48px; height: 44px; padding: 3px; border: 1px solid var(--ht-border-strong); border-radius: 8px; background: #fff; cursor: pointer; }
.ht-color code { font-size: 14px; color: var(--ht-muted); background: var(--ht-bg); padding: 4px 8px; border-radius: 6px; }
.ht-settings__save { position: sticky; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border: 1px solid var(--ht-border); border-radius: 12px; box-shadow: 0 12px 32px -16px rgba(16,24,40,.2); }

.ht-search-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ht-panel__head h2 .ht-count { font-size: 12px; }

@media (max-width: 1200px) {
	.ht-detail { grid-template-columns: minmax(0, 1fr) 340px; }
	.ht-search-results { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
	.ht-detail { grid-template-columns: 1fr; }
	.ht-detail__side { position: static; }
	.ht-settings__section { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
	.ht-dl { grid-template-columns: 1fr; }
	.ht-dl > div:nth-child(odd) { padding-right: 0; }
	.ht-filterbar, .ht-filterbar .ht-search, .ht-filterbar select { width: 100%; }
	.ht-form-grid--stats { grid-template-columns: 1fr; }
	.ht-collapse__edit { display: none; }
}
.ht-table td { white-space: nowrap; }
.ht-table td.ht-cell-wrap { white-space: normal; }

/* ==========================================================================
   Roles v1.3: categories, tools, examples
   ========================================================================== */
.ht-skill__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ht-subtle); margin: 4px 0 10px; }
.ht-skill .ht-check-list { margin-bottom: 18px; }
.ht-skill .ht-check-list li { font-size: 14.5px; margin-bottom: 8px; }
.ht-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.ht-chips span { font-size: 12.5px; font-weight: 500; color: var(--ht-text-2); background: var(--ht-bg); border: 1px solid var(--ht-border); border-radius: 6px; padding: 2px 8px; }
.ht-skill__example { background: #F5F8FF; border: 1px solid var(--ht-primary-100); border-radius: 10px; padding: 12px 14px; margin-bottom: 20px; }
.ht-skill__example strong { display: flex; align-items: center; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--ht-primary); margin-bottom: 4px; }
.ht-skill__example p { margin: 0; font-size: 14.5px; color: var(--ht-text-2); }

.ht-group-tabs { position: sticky; top: 84px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; margin-bottom: 24px; background: linear-gradient(#fff 80%, rgba(255,255,255,0)); scrollbar-width: none; }
.ht-group-tabs::-webkit-scrollbar { display: none; }
.ht-group-tabs button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ht-border-strong); background: #fff; color: var(--ht-text-2); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all .15s; }
.ht-group-tabs button span { font-size: 12px; color: var(--ht-subtle); background: var(--ht-bg); border-radius: 999px; padding: 0 7px; }
.ht-group-tabs button:hover { border-color: var(--ht-primary); color: var(--ht-primary); }
.ht-group-tabs button.is-active { background: var(--ht-primary); border-color: var(--ht-primary); color: #fff; }
.ht-group-tabs button.is-active span { background: rgba(255,255,255,.2); color: #fff; }
.ht-group { margin-bottom: 64px; scroll-margin-top: 150px; }
.ht-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ht-group__head h2 { font-size: 26px; margin: 0; }
.ht-group__head p { margin: 2px 0 0; color: var(--ht-muted); }
.ht-group.is-hidden { display: none; }

.ht-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ht-area { display: flex; flex-direction: column; padding: 24px; border-radius: 16px; color: var(--ht-text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.ht-area:hover { color: var(--ht-text); border-color: var(--ht-primary-100); box-shadow: var(--ht-shadow-md); transform: translateY(-2px); }
.ht-area__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.ht-area h3 { font-size: 19px; margin-bottom: 6px; }
.ht-area > p { color: var(--ht-muted); font-size: 15px; margin-bottom: 16px; }
.ht-area__roles { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.ht-area__roles li { font-size: 13px; font-weight: 500; color: var(--ht-text-2); background: var(--ht-bg); border: 1px solid var(--ht-border); border-radius: 999px; padding: 3px 10px; }
.ht-area__roles li.is-more { color: var(--ht-primary); background: var(--ht-primary-50); border-color: var(--ht-primary-100); }
.ht-area .ht-link { margin-top: auto; }

.ht-more-skills { border: 1px solid var(--ht-border-strong); border-radius: var(--ht-radius-sm); padding: 0 14px; background: #fff; }
.ht-more-skills > summary { cursor: pointer; padding: 11px 0; font-size: 15px; color: var(--ht-text-2); list-style: none; display: flex; justify-content: space-between; gap: 8px; }
.ht-more-skills > summary::-webkit-details-marker { display: none; }
.ht-more-skills > summary::after { content: "+"; font-size: 18px; color: var(--ht-subtle); }
.ht-more-skills[open] > summary::after { content: "–"; }
.ht-more-skills__count { margin-left: auto; color: var(--ht-primary); font-weight: 600; }
.ht-tag-heading { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ht-subtle); margin: 10px 0 8px; }
.ht-more-skills .ht-tag-group { margin-bottom: 8px; }
.ht-more-skills[open] { padding-bottom: 12px; }

.ht-skill-admin__heading { display: flex; align-items: center; gap: 8px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--ht-subtle); margin: 28px 0 12px; }
.ht-skill-admin__heading .ht-icon { color: var(--ht-primary); }

@media (max-width: 1100px) { .ht-areas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
	.ht-areas { grid-template-columns: 1fr; }
	.ht-group-tabs { top: 76px; }
}
.ht-area .ht-link { color: var(--ht-primary); }

/* Roles v1.4: bold-label duties with "Show all" */
.ht-duties li { line-height: 1.5; }
.ht-duties li span { color: var(--ht-muted); }
.ht-duties li strong { color: var(--ht-text); font-weight: 600; }
.ht-skill .ht-duties { margin-bottom: 12px; }
.ht-duties-more { margin: 0 0 18px; }
.ht-duties-more > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ht-primary); padding: 4px 0; }
.ht-duties-more > summary::-webkit-details-marker { display: none; }
.ht-duties-more > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.ht-duties-more[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.ht-duties-more__close, .ht-duties-more[open] .ht-duties-more__open { display: none; }
.ht-duties-more[open] .ht-duties-more__close { display: inline; }
.ht-duties-more[open] > summary { order: 2; }
.ht-duties-more[open] { display: flex; flex-direction: column; }
.ht-duties-more .ht-duties { margin: 4px 0 6px; }
.ht-group .ht-grid { align-items: start; }

/* Hire form v1.6: role cards with client-typed skills */
.ht-role-card { display: block; padding: 20px; background: var(--ht-bg); }
.ht-role-card .ht-field { margin-bottom: 16px; }
.ht-role-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ht-role-card__num { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ht-primary); }
.ht-role-card__head .ht-remove-row { width: 32px; height: 32px; margin: 0; }
.ht-role-card__row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.ht-role-card__row .ht-field { margin-bottom: 0; }
.ht-tags {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 46px; padding: 6px 8px;
	background: #fff; border: 1px solid var(--ht-border-strong); border-radius: var(--ht-radius-sm);
	box-shadow: var(--ht-shadow-xs); cursor: text; transition: border-color .15s, box-shadow .15s;
}
.ht-tags:focus-within { border-color: var(--ht-primary); box-shadow: 0 0 0 4px var(--ht-ring); }
.ht-tags:has(.ht-tags__entry.is-invalid) { border-color: #FDA29B; box-shadow: 0 0 0 4px rgba(240,68,56,.12); }
.ht-form .ht-tags .ht-tags__entry { flex: 1; min-width: 160px; border: 0 !important; box-shadow: none !important; padding: 6px 4px; background: transparent; outline: none; }
.ht-tags .ht-tags__source[type="text"] { border: 0; box-shadow: none; padding: 6px 4px; width: 100%; }
.ht-tag-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px 4px 10px; border-radius: 999px; background: var(--ht-primary-50); color: var(--ht-primary-600); border: 1px solid var(--ht-primary-100); font-size: 14px; font-weight: 600; line-height: 1.2; }
.ht-tag-chip button { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 16px; line-height: 1; cursor: pointer; }
.ht-tag-chip button:hover { background: var(--ht-primary-100); }
.ht-chips--table { margin: 0; }
@media (max-width: 640px) { .ht-role-card__row { grid-template-columns: 1fr; } }

/* Hire form v1.7: fixed budget with BDT prefix */
.ht-input-prefix { display: flex; align-items: stretch; border: 1px solid var(--ht-border-strong); border-radius: var(--ht-radius-sm); background: #fff; box-shadow: var(--ht-shadow-xs); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.ht-input-prefix:focus-within { border-color: var(--ht-primary); box-shadow: 0 0 0 4px var(--ht-ring); }
.ht-input-prefix:has(.is-invalid) { border-color: #FDA29B; box-shadow: 0 0 0 4px rgba(240,68,56,.12); }
.ht-input-prefix span { display: flex; align-items: center; padding: 0 12px; background: var(--ht-bg); border-right: 1px solid var(--ht-border); color: var(--ht-muted); font-weight: 600; font-size: 14px; }
.ht-form .ht-input-prefix input { border: 0 !important; box-shadow: none !important; border-radius: 0; }

/* Hire form v1.8: meeting / call availability */
.ht-meeting { margin: 4px 0 24px; padding: 20px; border: 1px solid var(--ht-primary-100); background: #F5F8FF; border-radius: 12px; }
.ht-meeting__title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ht-text); margin: 0 0 16px; }
.ht-meeting__title .ht-icon { color: var(--ht-primary); }
.ht-meeting .ht-form-grid { margin-bottom: 10px; }
.ht-meet-card { display: flex; align-items: center; gap: 14px; border-color: var(--ht-primary-100); background: #F5F8FF; }
.ht-meet-card__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ht-primary); }
.ht-meet-card strong { display: block; font-size: 17px; margin: 2px 0; }
.ht-meet-card small { color: var(--ht-subtle); font-size: 13px; }
.ht-meet-card.is-past { background: var(--ht-bg); border-color: var(--ht-border); }
.ht-meet-card.is-past .ht-meet-card__label { color: var(--ht-subtle); }

/* ==========================================================================
   Page sections v1.12 (every page is built from editable blocks)
   ========================================================================== */
.ht-blocks > :not(section) { max-width: var(--ht-container); margin: 32px auto; padding: 0 24px; }
.ht-blocks > :not(section) img { max-width: 100%; height: auto; }
.ht-blocks > :not(section) + section { margin-top: 0; }

.ht-hero--nostats { padding-bottom: 96px; }
.ht-hero.ht-hero--nostats + .ht-section { padding-top: 112px; }
.ht-hero--novisual .ht-hero__grid { grid-template-columns: minmax(0, 820px); }

.ht-process--1 { grid-template-columns: minmax(0, 420px); justify-content: center; }
.ht-process--2 { grid-template-columns: repeat(2, 1fr); }
.ht-process--2::before { left: 25%; right: 25%; }
.ht-process--4 { grid-template-columns: repeat(4, 1fr); }
.ht-process--4::before { left: 12.5%; right: 12.5%; }
.ht-process--1::before { display: none; }

.ht-split-media { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ht-split-media--left .ht-split-media__image { order: -1; }
.ht-split-media h2 { font-size: clamp(30px, 3.6vw, 42px); }
.ht-split-media__text p { color: var(--ht-muted); font-size: 18px; }
.ht-split-media .ht-check-list li { color: var(--ht-text-2); font-size: 16px; }
.ht-split-media .ht-btn { margin-top: 8px; }
.ht-split-media__image img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 24px 48px -16px rgba(16,24,40,.2); }
.ht-split-media__ph { aspect-ratio: 4 / 3; border-radius: 20px; background: var(--ht-primary-50); border: 1px dashed var(--ht-primary-100); display: flex; align-items: center; justify-content: center; color: var(--ht-primary); }

.ht-hb-cards { display: grid; gap: 20px; }
.ht-hb-cards--2 { grid-template-columns: repeat(2, 1fr); }
.ht-hb-cards--3 { grid-template-columns: repeat(3, 1fr); }
.ht-hb-cards--4 { grid-template-columns: repeat(4, 1fr); }
.ht-hb-cards .ht-feature p { margin: 0; }

.ht-hb-text { max-width: 760px; }
.ht-hb-text--center { margin: 0 auto; text-align: center; }
.ht-hb-text h2 { font-size: clamp(30px, 3.6vw, 42px); }
.ht-hb-text__body p { color: var(--ht-muted); font-size: 18px; }
.ht-hb-text .ht-btn { margin-top: 12px; }

.ht-form-layout--single { grid-template-columns: minmax(0, 860px); justify-content: center; }

/* Team dashboard → Settings → Pages */
.ht-page-links { list-style: none; margin: 0 0 18px; border: 1px solid var(--ht-border); border-radius: 12px; }
.ht-page-links li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--ht-border); }
.ht-page-links li:first-child { border-top: 0; }
.ht-page-links__name { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ht-subtle); }
.ht-page-links__name strong { color: var(--ht-text); font-weight: 600; }
.ht-page-links__actions { display: flex; gap: 8px; flex-shrink: 0; }
.ht-page-links .ht-btn .ht-icon { width: 16px; height: 16px; }

@media (max-width: 960px) {
	.ht-split-media { grid-template-columns: 1fr; gap: 36px; }
	.ht-split-media--left .ht-split-media__image { order: 0; }
	.ht-hb-cards--3, .ht-hb-cards--4 { grid-template-columns: repeat(2, 1fr); }
	.ht-process--2, .ht-process--4 { grid-template-columns: 1fr; }
	.ht-process--2::before, .ht-process--4::before { display: none; }
}
@media (max-width: 640px) {
	.ht-hb-cards--2, .ht-hb-cards--3, .ht-hb-cards--4 { grid-template-columns: 1fr; }
	.ht-blocks > :not(section) { padding: 0 16px; }
	.ht-hero--nostats { padding-bottom: 64px; }
	.ht-page-links li { flex-direction: column; align-items: flex-start; }
}

/* v1.13: plain WordPress blocks / shortcodes placed between sections */
.ht-hero:not(.ht-hero--nostats) + :not(section) { margin-top: 112px; }
.ht-blocks > :not(section) + :not(section) { margin-top: 24px; }
.ht-blocks > :not(section):last-child { margin-bottom: 96px; }
.ht-blocks > pre.wp-block-code { background: transparent; border: 0; padding-top: 0; padding-bottom: 0; font: inherit; white-space: normal; }
.ht-hb-shortcode { min-width: 0; }
.ht-hb-shortcode > *:last-child { margin-bottom: 0; }

/* v1.14: hero picture = campaign sales dashboard */
.ht-mock--dash .ht-mock__body { padding: 20px 22px 50px; }
.ht-mock--dash .ht-mock__head { padding-bottom: 16px; }
.ht-mock__headtext { min-width: 0; flex: 1; }
.ht-mock__headtext strong { font-size: 17px; }
.ht-mock__team-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.ht-mock__team-stack small { font-size: 12px; color: var(--ht-subtle); font-weight: 500; }
.ht-faces { display: flex; }
.ht-faces i { width: 26px; height: 26px; margin-left: -7px; border-radius: 50%; border: 2px solid #fff; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 9.5px; font-weight: 700; color: #fff; background: var(--ht-primary); }
.ht-faces i:first-child { margin-left: 0; }
.ht-faces i:nth-child(2) { background: #0EA5E9; }
.ht-faces i:nth-child(3) { background: #8B5CF6; }
.ht-faces i:nth-child(4) { background: #F59E0B; }

.ht-chartbox { padding: 18px 0 4px; }
.ht-chartbox__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ht-chartbox__title { font-weight: 700; font-size: 15px; color: var(--ht-text); margin: 0; }
.ht-chartbox__sub { font-size: 12.5px; color: var(--ht-subtle); margin: 2px 0 0; }
.ht-seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--ht-bg); border: 1px solid var(--ht-border); border-radius: 10px; flex-shrink: 0; }
.ht-seg span { font-size: 12px; font-weight: 500; color: var(--ht-subtle); padding: 4px 10px; border-radius: 7px; }
.ht-seg span.is-active { background: #fff; color: var(--ht-text); font-weight: 600; box-shadow: 0 1px 2px rgba(16,24,40,.08), 0 0 0 1px var(--ht-border); }
.ht-chartbox__kpi { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 14px 0 12px; }
.ht-chartbox__kpi strong { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--ht-text); line-height: 1.1; }
.ht-chartbox__up { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--ht-green-700); }
.ht-chartbox__note { font-size: 12.5px; color: var(--ht-subtle); }

.ht-chart { display: grid; grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: 150px auto; column-gap: 8px; }
.ht-chart__y { display: flex; flex-direction: column; justify-content: space-between; font-size: 10.5px; color: var(--ht-subtle); text-align: right; padding: 0; margin-top: -2px; margin-bottom: -6px; }
.ht-chart__plot { position: relative; color: var(--ht-primary); }
.ht-chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ht-chart__grid { stroke: var(--ht-border); stroke-width: 1; stroke-dasharray: 3 4; }
.ht-chart__after-bg { fill: var(--ht-primary); opacity: .035; }
.ht-chart__line { fill: none; stroke: var(--ht-primary); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ht-chart__before { fill: none; stroke: #98A2B3; stroke-width: 1.6; stroke-dasharray: 5 5; }
.ht-chart__mark { position: absolute; top: -4px; bottom: 0; border-left: 1.5px dashed var(--ht-primary); }
.ht-chart__mark span { position: absolute; top: -10px; left: 6px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 11px; font-weight: 600; color: var(--ht-primary); background: #fff; border: 1px solid var(--ht-primary-100); border-radius: 999px; padding: 2px 8px 2px 6px; box-shadow: 0 4px 10px -4px var(--ht-ring); }
.ht-chart__mark .ht-icon { width: 12px; height: 12px; }
.ht-chart__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ht-primary); box-shadow: 0 0 0 5px var(--ht-primary-100); }
.ht-chart__x { grid-column: 2; display: flex; justify-content: space-between; font-size: 10.5px; color: var(--ht-subtle); padding-top: 8px; }
.ht-chart__legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--ht-muted); }
.ht-chart__legend span { display: inline-flex; align-items: center; gap: 6px; }
.ht-chart__legend i { display: inline-block; width: 16px; border-top: 2.5px solid var(--ht-primary); border-radius: 2px; }
.ht-chart__legend i.is-dashed { border-top: 2px dashed #98A2B3; }
.ht-mock--dash .ht-mock__stats { padding: 16px 0 0; margin-top: 14px; border-top: 1px solid var(--ht-border); }
.ht-mock--dash .ht-stat-mini { padding: 10px 12px; }
.ht-mock--dash .ht-stat-mini strong { font-size: 19px; }

.ht-mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 6px; }
.ht-mini-bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: var(--ht-primary-100); }
.ht-mini-bars i:last-child { background: var(--ht-primary); }

@media (max-width: 640px) {
	.ht-mock__team-stack { display: none; }
	.ht-chartbox__top { flex-direction: column; }
	.ht-chartbox__kpi strong { font-size: 24px; }
	.ht-chart { grid-template-rows: 120px auto; }
	.ht-mock--dash .ht-mock__stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
	.ht-mock--dash .ht-stat-mini strong { font-size: 16px; }
}
.ht-mock__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ht-mock__meta .ht-pill { margin: 0; }
.ht-mock__team-stack { flex-direction: row; align-items: center; gap: 6px; }
.ht-chart__mark span b { width: 6px; height: 6px; border-radius: 50%; background: var(--ht-primary); }
@media (max-width: 640px) { .ht-mock__team-stack { display: inline-flex; } }

/* v1.15: "Flexible ways to work" row under the steps */
.ht-ways { margin-top: 72px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: center; background: #fff; border: 1px solid var(--ht-border); border-radius: 20px; padding: 28px 32px; box-shadow: 0 12px 32px -16px rgba(16,24,40,.14); text-align: left; }
.ht-ways__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ht-primary); background: var(--ht-primary-50); border: 1px solid var(--ht-primary-100); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.ht-ways__intro h3 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 6px; }
.ht-ways__intro p { color: var(--ht-muted); font-size: 15px; margin: 0; }
.ht-ways__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--ht-border); }
.ht-ways--3 .ht-ways__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ht-ways--2 .ht-ways__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ht-ways--1 .ht-ways__list { grid-template-columns: minmax(0, 1fr); }
.ht-ways__item { padding: 6px 22px; border-right: 1px solid var(--ht-border); display: flex; flex-direction: column; gap: 4px; }
.ht-ways__item:last-child { border-right: 0; }
.ht-ways__icon { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--ht-primary-50); color: var(--ht-primary); border: 1px solid var(--ht-primary-100); margin-bottom: 10px; }
.ht-ways__item strong { font-size: 16px; color: var(--ht-text); }
.ht-ways__text { font-size: 14px; color: var(--ht-muted); line-height: 1.5; }
@media (max-width: 1100px) {
	.ht-ways { grid-template-columns: 1fr; gap: 20px; }
	.ht-ways__list { border-left: 0; }
	.ht-ways__item:first-child { padding-left: 0; }
}
@media (max-width: 640px) {
	.ht-ways { padding: 22px; margin-top: 48px; gap: 18px; }
	.ht-ways__list, .ht-ways--3 .ht-ways__list { grid-template-columns: 1fr 1fr; }
	.ht-ways--1 .ht-ways__list { grid-template-columns: 1fr; }
	.ht-ways__item { padding: 16px 12px; border-right: 0; border-top: 1px solid var(--ht-border); }
	.ht-ways__item:nth-child(odd) { border-right: 1px solid var(--ht-border); padding-left: 0; }
	.ht-ways__item:last-child:nth-child(odd) { border-right: 0; }
}
