/* =========================================================================
   AdaptExec Sales Hub — brand system
   Type, color and texture taken from adaptexec.com
   ========================================================================= */

@font-face {
	font-family: "Thunder LC";
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/Thunder-LC.ttf") format("truetype");
}
@font-face {
	font-family: "Thunder LC";
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/Thunder-MediumLC.ttf") format("truetype");
}
@font-face {
	font-family: "AXH Inter";
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/Inter-var.woff2") format("woff2");
}

:root {
	--o: #EF5D0F;
	--o-dark: #C8490A;
	--o-soft: #FFF1E8;
	--blue: #046BD2;
	--blue-soft: #E6F1FC;
	--ink: #14181E;
	--slate: #334155;
	--gray: #69727D;
	--line: #E4E2DD;
	--line-2: #F1EFEA;
	--paper: #FFFFFF;
	--soft: #F6F5F3;
	--dark: #0D0E10;
	--dark-2: #16181C;
	--dark-line: #262930;
	--ok: #15803D;
	--ok-soft: #DCFCE7;
	--warn: #B45309;
	--warn-soft: #FEF3C7;
	--bad: #B91C1C;
	--bad-soft: #FEE2E2;
	--r: 12px;
	--shadow: 0 1px 2px rgba(20, 24, 30, .05), 0 10px 30px rgba(20, 24, 30, .07);
	--shadow-lg: 0 30px 70px rgba(13, 14, 16, .28);
	--side-w: 244px;
}

*, *::before, *::after { box-sizing: border-box; }

/* An author display rule must never beat the hidden attribute. */
[hidden] { display: none !important; }

body.axh-app-body,
body.axh-login-body {
	margin: 0;
	font-family: "AXH Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	line-height: 1.55;
	color: var(--slate);
	background: var(--soft);
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "cv11", "ss01";
}

.thunder {
	font-family: "Thunder LC", "Arial Narrow", sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	line-height: .94;
	letter-spacing: .01em;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul { list-style: none; padding: 0; }

.axh-weave {
	background-image:
		repeating-linear-gradient(45deg, rgba(255,255,255,.016) 0 34px, transparent 34px 68px),
		repeating-linear-gradient(-45deg, rgba(0,0,0,.22) 0 34px, transparent 34px 68px);
}

/* ============================================================ sign-in ==== */

.axh-login { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }

.axh-login__panel {
	position: relative;
	overflow: hidden;
	background: var(--dark);
	color: #fff;
	padding: 56px 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-image:
		radial-gradient(720px 420px at 78% 18%, rgba(239, 93, 15, .30), transparent 62%),
		repeating-linear-gradient(45deg, rgba(255,255,255,.016) 0 34px, transparent 34px 68px),
		repeating-linear-gradient(-45deg, rgba(0,0,0,.24) 0 34px, transparent 34px 68px);
}
.axh-login__logo { height: 40px; width: auto; margin-bottom: 46px; position: relative; }
.axh-login__panel h1 { font-size: 92px; color: #fff; position: relative; }
.axh-login__panel > p { font-size: 17px; color: #B9BEC7; margin-top: 20px; max-width: 30ch; position: relative; }
.axh-login__panel ul { margin-top: 34px; position: relative; }
.axh-login__panel li {
	padding: 11px 0;
	border-top: 1px solid rgba(255,255,255,.11);
	font-size: 14.5px;
	color: #D7DAE0;
}
.axh-login__panel li::before { content: "→ "; color: var(--o); font-weight: 700; }
.axh-login__shape {
	position: absolute;
	right: -110px;
	bottom: -80px;
	width: 380px;
	opacity: .42;
	pointer-events: none;
}

.axh-login__form { display: grid; place-items: center; padding: 40px; background: var(--paper); }
.axh-login__formInner { width: 100%; max-width: 380px; }
.axh-eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--o);
	margin-bottom: 10px;
}
.axh-login__formInner h2 { font-size: 52px; color: var(--ink); margin-bottom: 26px; }
.axh-login__formInner label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--gray);
	margin: 16px 0 6px;
}
.axh-login__formInner input[type="text"],
.axh-login__formInner input[type="password"] {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--soft);
	transition: border-color .15s, background .15s;
}
.axh-login__formInner input[type="text"]:focus,
.axh-login__formInner input[type="password"]:focus {
	outline: none;
	border-color: var(--o);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(239, 93, 15, .12);
}
.axh-check { display: flex !important; align-items: center; gap: 8px; margin: 18px 0 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 13.5px !important; font-weight: 500 !important; color: var(--slate) !important; }
.axh-check input { accent-color: var(--o); width: 16px; height: 16px; }
.axh-alert {
	background: var(--bad-soft);
	color: var(--bad);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 13.5px;
	font-weight: 500;
	margin-bottom: 6px;
}
.axh-login__help { margin-top: 22px; font-size: 13px; color: var(--gray); display: grid; gap: 6px; }
.axh-login__help a { color: var(--blue); font-weight: 600; }

/* ============================================================= buttons === */

.axh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 9px 16px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	transition: background .15s, border-color .15s, transform .08s, color .15s;
}
.axh-btn:active { transform: translateY(1px); }
.axh-btn--primary { background: var(--o); color: #fff; }
.axh-btn--primary:hover { background: var(--o-dark); }
.axh-btn--ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.axh-btn--ghost:hover { border-color: #CFCCC5; }
.axh-btn--dark { background: var(--ink); color: #fff; }
.axh-btn--dark:hover { background: #000; }
.axh-btn--quiet { background: transparent; color: var(--gray); }
.axh-btn--quiet:hover { color: var(--ink); background: var(--line-2); }
.axh-btn--danger { background: var(--bad-soft); color: var(--bad); }
.axh-btn--block { width: 100%; padding: 13px; font-size: 15px; margin-top: 10px; }
.axh-btn--sm { padding: 6px 11px; font-size: 12.5px; border-radius: 8px; }
.axh-btn[disabled] { opacity: .5; pointer-events: none; }

/* ============================================================== layout === */

.axh-app { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }

.axh-side {
	background: var(--dark);
	color: #C7CDD6;
	padding: 20px 14px 16px;
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 0;
	height: 100vh;
	background-image:
		repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 30px, transparent 30px 60px),
		repeating-linear-gradient(-45deg, rgba(0,0,0,.22) 0 30px, transparent 30px 60px);
}
.axh-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 20px; }
.axh-brand img { height: 30px; width: auto; }
.axh-brand__tag {
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--o);
	border-left: 1px solid var(--dark-line);
	padding-left: 10px;
}

.axh-nav { display: grid; gap: 2px; }
.axh-nav__group {
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255,255,255,.32);
	padding: 16px 10px 6px;
}
.axh-nav a {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 9px 11px;
	border-radius: 9px;
	font-size: 13.5px;
	font-weight: 500;
	color: #C7CDD6;
	transition: background .15s, color .15s;
}
.axh-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.axh-nav a.is-on { background: rgba(239, 93, 15, .16); color: #fff; }
.axh-nav a.is-on svg { color: var(--o); }
.axh-nav svg { flex: none; opacity: .9; }
.axh-nav__count {
	margin-left: auto;
	background: var(--o);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	border-radius: 999px;
	padding: 1px 7px;
	min-width: 20px;
	text-align: center;
}

.axh-side__foot {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--dark-line);
	display: flex;
	align-items: center;
	gap: 10px;
}
.axh-side__me { min-width: 0; flex: 1; }
.axh-side__me strong { display: block; color: #fff; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.axh-side__me span { font-size: 11px; color: rgba(255,255,255,.45); }
.axh-side__out { color: rgba(255,255,255,.5); padding: 6px; border-radius: 8px; }
.axh-side__out:hover { color: #fff; background: rgba(255,255,255,.08); }

.axh-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--o);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	flex: none;
}

.axh-main { min-width: 0; display: flex; flex-direction: column; }

.axh-top {
	position: sticky;
	top: 0;
	z-index: 20;
	height: 62px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 24px;
	background: rgba(255,255,255,.9);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.axh-top__spacer { flex: 1; }
.axh-burger { display: none; background: none; border: 0; color: var(--ink); padding: 6px; }
.axh-search {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 8px 13px;
	color: var(--gray);
	width: min(400px, 42vw);
}
.axh-search input { border: 0; background: none; outline: none; width: 100%; font-size: 13.5px; }

.axh-view { padding: 26px 24px 60px; flex: 1; }
.axh-boot { display: flex; align-items: center; gap: 10px; color: var(--gray); padding: 60px 0; justify-content: center; }
.axh-spin {
	width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid var(--line); border-top-color: var(--o);
	animation: axh-spin .7s linear infinite;
	display: inline-block;
}
@keyframes axh-spin { to { transform: rotate(360deg); } }

/* =============================================================== pages === */

.axh-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.axh-page-head h1 { font-size: 40px; color: var(--ink); }
.axh-page-head h1 .o { color: var(--o); }
.axh-page-head p { color: var(--gray); font-size: 13.5px; margin-top: 4px; }
.axh-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.axh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 20px; }
.axh-stat {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 16px 18px;
	position: relative;
	overflow: hidden;
}
.axh-stat::after {
	content: "";
	position: absolute;
	inset: auto -30px -40px auto;
	width: 110px; height: 110px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(239,93,15,.10), transparent 70%);
}
.axh-stat__l { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.axh-stat__v { font-family: "Thunder LC", sans-serif; font-weight: 500; font-size: 40px; line-height: 1; color: var(--ink); margin-top: 8px; letter-spacing: .01em; }
.axh-stat__d { font-size: 12px; color: var(--gray); margin-top: 5px; }
.axh-stat--accent .axh-stat__v { color: var(--o); }

.axh-grid { display: grid; gap: 16px; }
.axh-grid--2 { grid-template-columns: 1.4fr 1fr; }
.axh-grid--3 { grid-template-columns: repeat(3, 1fr); }

.axh-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 18px 20px;
	min-width: 0;
}
.axh-card__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.axh-card__h h3 { font-family: "Thunder LC", sans-serif; font-weight: 500; text-transform: uppercase; font-size: 20px; color: var(--ink); letter-spacing: .012em; }
.axh-card__h a, .axh-card__h button { font-size: 12.5px; font-weight: 600; color: var(--blue); background: none; border: 0; padding: 0; }

.axh-empty { text-align: center; padding: 44px 20px; color: var(--gray); }
.axh-empty svg { color: var(--line); margin-bottom: 12px; }
.axh-empty h4 { font-family: "Thunder LC", sans-serif; font-weight: 500; text-transform: uppercase; font-size: 22px; color: var(--ink); margin-bottom: 6px; }
.axh-empty p { font-size: 13.5px; max-width: 42ch; margin: 0 auto 16px; }

/* ================================================================ list === */

.axh-list li {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 11px 0;
	border-bottom: 1px solid var(--line-2);
	font-size: 13.5px;
}
.axh-list li:last-child { border-bottom: 0; }
.axh-list__t { flex: 1; min-width: 0; }
.axh-list__t b { display: block; font-weight: 600; color: var(--ink); }
.axh-list__t span { font-size: 12px; color: var(--gray); }
.axh-list__r { font-size: 12px; color: var(--gray); white-space: nowrap; }

.axh-table { width: 100%; border-collapse: collapse; }
.axh-table th {
	text-align: left;
	font-size: 10.5px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gray);
	font-weight: 700;
	padding: 8px 10px;
	border-bottom: 1px solid var(--line);
	white-space: nowrap;
}
.axh-table td { padding: 12px 10px; border-bottom: 1px solid var(--line-2); font-size: 13.5px; vertical-align: middle; }
.axh-table tr:last-child td { border-bottom: 0; }
.axh-table tbody tr { cursor: pointer; transition: background .12s; }
.axh-table tbody tr:hover { background: var(--soft); }
.axh-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.axh-co { font-weight: 600; color: var(--ink); }
.axh-co span { display: block; font-size: 12px; color: var(--gray); font-weight: 400; }

/* ============================================================== badges === */

.axh-badge {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}
.axh-badge--gray { background: #F1F0EC; color: #5B6470; }
.axh-badge--blue { background: var(--blue-soft); color: var(--blue); }
.axh-badge--amber { background: var(--warn-soft); color: var(--warn); }
.axh-badge--green { background: var(--ok-soft); color: var(--ok); }
.axh-badge--red { background: var(--bad-soft); color: var(--bad); }
.axh-badge--orange { background: var(--o-soft); color: var(--o-dark); }

/* ============================================================== kanban === */

.axh-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(252px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.axh-col { background: #EFEEEA; border-radius: var(--r); padding: 10px; min-height: 320px; }
.axh-col__h { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; }
.axh-col__h b { font-family: "Thunder LC", sans-serif; font-weight: 500; text-transform: uppercase; font-size: 16px; color: var(--ink); }
.axh-col__h span { font-size: 11px; font-weight: 600; color: var(--gray); background: #fff; border-radius: 999px; padding: 2px 8px; }
.axh-kc {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px 13px;
	margin-bottom: 8px;
	cursor: grab;
	box-shadow: 0 1px 2px rgba(20,24,30,.04);
	transition: box-shadow .15s, transform .1s, border-color .15s;
}
.axh-kc:hover { box-shadow: var(--shadow); border-color: #D6D3CC; }
.axh-kc.is-drag { opacity: .45; }
.axh-col.is-over { outline: 2px dashed var(--o); outline-offset: -3px; }
.axh-kc__t { font-weight: 600; color: var(--ink); font-size: 13.5px; }
.axh-kc__s { font-size: 12px; color: var(--gray); margin-top: 2px; }
.axh-kc__f { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.axh-kc__v { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); font-size: 13px; }

/* ========================================================= lead detail === */

.axh-lead-head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.axh-lead-head__id { flex: 1; min-width: 240px; }
.axh-lead-head h1 { font-size: 38px; color: var(--ink); }
.axh-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--gray); margin-top: 8px; }
.axh-meta a { color: var(--blue); font-weight: 500; }

.axh-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13.5px; }
.axh-kv dt { color: var(--gray); }
.axh-kv dd { margin: 0; font-weight: 500; color: var(--ink); }

.axh-tl { border-left: 2px solid var(--line); margin-left: 7px; }
.axh-tl li { position: relative; padding: 0 0 16px 18px; font-size: 13.5px; }
.axh-tl li::before {
	content: "";
	position: absolute;
	left: -7px; top: 4px;
	width: 12px; height: 12px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--o);
}
.axh-tl li.is-quiet::before { border-color: #C9CDD4; }
.axh-tl b { display: block; color: var(--ink); font-weight: 600; }
.axh-tl span { display: block; font-size: 12px; color: var(--gray); margin-top: 1px; }
.axh-tl p { margin-top: 4px; color: var(--slate); }

/* =========================================================== questions === */

.axh-disc { display: grid; grid-template-columns: 216px 1fr; gap: 20px; align-items: start; }
.axh-disc__nav { position: sticky; top: 86px; display: grid; gap: 3px; }
.axh-disc__nav button {
	display: flex;
	align-items: center;
	gap: 9px;
	text-align: left;
	background: none;
	border: 0;
	padding: 9px 11px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 500;
	color: var(--slate);
	width: 100%;
}
.axh-disc__nav button:hover { background: var(--line-2); }
.axh-disc__nav button.is-on { background: var(--ink); color: #fff; }
.axh-disc__num {
	width: 21px; height: 21px;
	border-radius: 50%;
	display: grid; place-items: center;
	font-size: 10.5px; font-weight: 700;
	background: var(--line-2);
	color: var(--gray);
	flex: none;
}
.axh-disc__nav button.is-on .axh-disc__num { background: var(--o); color: #fff; }
.axh-disc__nav button.is-done .axh-disc__num { background: var(--ok-soft); color: var(--ok); }

.axh-ring { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--soft); border-radius: var(--r); margin-bottom: 12px; }
.axh-ring__n { font-family: "Thunder LC", sans-serif; font-weight: 500; font-size: 30px; color: var(--o); line-height: 1; }
.axh-ring__b { flex: 1; }
.axh-ring__bar { height: 7px; background: #E4E2DD; border-radius: 999px; overflow: hidden; margin-top: 6px; }
.axh-ring__bar i { display: block; height: 100%; background: var(--o); border-radius: 999px; transition: width .3s; }

.axh-field { margin-bottom: 18px; }
.axh-field > label {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 6px;
}
.axh-field__help { font-size: 12px; color: var(--gray); margin-bottom: 7px; }
.axh-input, .axh-field textarea, .axh-field select, .axh-field input[type="text"], .axh-field input[type="number"], .axh-field input[type="email"], .axh-field input[type="tel"], .axh-field input[type="date"] {
	width: 100%;
	padding: 10px 13px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--paper);
	font-size: 13.5px;
	transition: border-color .15s, box-shadow .15s;
}
.axh-field textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.axh-input:focus, .axh-field textarea:focus, .axh-field select:focus, .axh-field input:focus {
	outline: none;
	border-color: var(--o);
	box-shadow: 0 0 0 3px rgba(239,93,15,.11);
}

/* A packet section asks its questions in named groups. */
.axh-disc__group {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--gray);
	margin: 22px 0 12px;
	padding-top: 14px;
	border-top: 1px solid var(--line-2);
}
.axh-disc__group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.axh-ring__of { font-size: 12.5px; color: var(--gray); white-space: nowrap; }

/* Short single-choice questions: the question left, one tap right. The auto
   packet asks 101 of these, and as dropdowns they do not get answered. */
.axh-field--scale {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 11px 0;
	margin-bottom: 0;
	border-bottom: 1px solid var(--line-2);
}
.axh-field--scale .axh-field__q { flex: 1; min-width: 0; }
.axh-field--scale label { margin-bottom: 0; }
.axh-field--scale .axh-field__help { margin: 2px 0 0; }
.axh-seg {
	display: flex;
	flex: none;
	border: 1px solid var(--line);
	border-radius: 9px;
	overflow: hidden;
	background: var(--paper);
}
.axh-seg button {
	border: 0;
	border-left: 1px solid var(--line);
	background: none;
	cursor: pointer;
	padding: 9px 13px;
	font: inherit;
	font-size: 12.5px;
	color: var(--gray);
	white-space: nowrap;
	min-height: 38px;
	transition: background .12s, color .12s;
}
.axh-seg button:first-child { border-left: 0; }
.axh-seg button:hover { background: var(--soft); color: var(--ink); }
.axh-seg button.is-on { background: var(--o); color: #fff; font-weight: 600; }

/* Choosing what to ask before it is sent. */
.axh-trim { padding: 12px 0; border-bottom: 1px solid var(--line-2); display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: start; }
.axh-trim:last-child { border-bottom: 0; }
.axh-trim.is-off { opacity: .5; }
.axh-trim__s { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; cursor: pointer; align-items: center; }
.axh-trim__s input { grid-row: span 2; accent-color: var(--o); width: 17px; height: 17px; }
.axh-trim__s b { font-size: 14.5px; color: var(--ink); }
.axh-trim__s span { grid-column: 2; font-size: 12.5px; color: var(--gray); }
.axh-trim__q { grid-column: 1 / -1; display: grid; gap: 5px; margin: 8px 0 2px 27px; }
.axh-trim__q label { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--slate); cursor: pointer; }
.axh-trim__q input { accent-color: var(--o); margin-top: 2px; }

.axh-copyrow { display: flex; gap: 8px; }
.axh-copyrow input {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--soft);
	font-size: 13px;
	color: var(--slate);
}

@media (max-width: 700px) {
	.axh-field--scale { display: block; }
	.axh-field--scale .axh-seg { margin-top: 9px; }
	.axh-seg button { flex: 1; padding: 10px 6px; }
}

.axh-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.axh-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 13px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--slate);
	transition: all .13s;
}
.axh-chip:hover { border-color: #CFCCC5; }
.axh-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.axh-chip.is-must { background: var(--o); border-color: var(--o); color: #fff; }
.axh-chip.is-nice { background: var(--o-soft); border-color: var(--o); color: var(--o-dark); }
.axh-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--o); flex: none; }
.axh-chip__dot--r { background: transparent; border: 1.5px solid #A8ADB6; width: 6px; height: 6px; }

.axh-modcat { margin-bottom: 20px; }
.axh-modcat__h { display: flex; align-items: baseline; gap: 9px; margin-bottom: 9px; }
.axh-modcat__h h4 { font-family: "Thunder LC", sans-serif; font-weight: 500; text-transform: uppercase; font-size: 19px; color: var(--ink); }
.axh-modcat__h span { font-size: 11.5px; color: var(--gray); }
.axh-modlegend { display: flex; gap: 18px; font-size: 11.5px; color: var(--gray); margin-bottom: 16px; font-weight: 600; }

.axh-stack__row { display: grid; grid-template-columns: 1.5fr 1fr .8fr auto; gap: 8px; margin-bottom: 8px; align-items: center; }
.axh-stack__row input { padding: 9px 11px; font-size: 13px; }

/* ============================================================== modal ==== */

.axh-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(13, 14, 16, .55);
	display: grid;
	place-items: center;
	padding: 20px;
	backdrop-filter: blur(3px);
	animation: axh-fade .16s ease;
}
@keyframes axh-fade { from { opacity: 0; } }
.axh-modal__box {
	background: var(--paper);
	border-radius: 16px;
	width: min(620px, 100%);
	max-height: 88vh;
	overflow: auto;
	box-shadow: var(--shadow-lg);
	animation: axh-rise .2s cubic-bezier(.2,.8,.3,1);
}
@keyframes axh-rise { from { transform: translateY(14px); opacity: 0; } }
.axh-modal__hd { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 0; }
.axh-modal__hd h3 { font-family: "Thunder LC", sans-serif; font-weight: 500; text-transform: uppercase; font-size: 26px; color: var(--ink); }
.axh-modal__bd { padding: 16px 22px; }
.axh-modal__ft { display: flex; justify-content: flex-end; gap: 8px; padding: 4px 22px 20px; }
.axh-x { background: none; border: 0; color: var(--gray); padding: 6px; border-radius: 8px; line-height: 0; }
.axh-x:hover { background: var(--line-2); color: var(--ink); }
.axh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.axh-form-grid .axh-span { grid-column: 1 / -1; }

/* ============================================================= present === */

.axh-present {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: #0A0B0C;
	display: flex;
	flex-direction: column;
}
.axh-present__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 16px;
	color: #C7CDD6;
	font-size: 13px;
	border-bottom: 1px solid #1C1E22;
	transition: opacity .3s;
}
.axh-present.is-clean .axh-present__bar { opacity: 0; pointer-events: none; }
.axh-present__bar b { color: #fff; font-weight: 600; }
.axh-present__spacer { flex: 1; }
.axh-present__btn {
	background: rgba(255,255,255,.08);
	border: 0;
	color: #E9EAEC;
	border-radius: 8px;
	padding: 7px 12px;
	font-size: 12.5px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.axh-present__btn:hover { background: rgba(255,255,255,.16); }
.axh-present__btn--o { background: var(--o); color: #fff; }
.axh-present__stage { flex: 1; position: relative; overflow: hidden; display: grid; place-items: center; }
/* The frame keeps its full 816x1056 layout box and is scaled down, so it is
   centred by translate rather than by the grid — an oversized grid item aligns
   to the start instead of the centre, which pushed the page off the bottom. */
.axh-present__frame {
	position: absolute;
	border: 0;
	background: #fff;
	box-shadow: 0 30px 90px rgba(0,0,0,.6);
	transform-origin: 0 0;   /* fitFrame() sets left/top in pixels */
}
.axh-present__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px; height: 46px;
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	border: 0;
	color: #fff;
	display: grid;
	place-items: center;
	transition: background .15s, opacity .3s;
}
.axh-present__nav:hover { background: rgba(255,255,255,.22); }
.axh-present__nav--prev { left: 18px; }
.axh-present__nav--next { right: 18px; }
.axh-present.is-clean .axh-present__nav { opacity: 0; }
.axh-present__count {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0,0,0,.6);
	color: #fff;
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	transition: opacity .3s;
}
.axh-present.is-clean .axh-present__count { opacity: 0; }

.axh-decks { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 16px; }
.axh-deck {
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
	background: var(--paper);
	text-align: left;
	padding: 0;
	transition: transform .15s, box-shadow .15s;
	display: block;
	width: 100%;
}
.axh-deck:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.axh-deck__cover {
	height: 128px;
	background: var(--dark);
	position: relative;
	display: grid;
	place-items: center;
	background-image:
		repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 26px, transparent 26px 52px),
		repeating-linear-gradient(-45deg, rgba(0,0,0,.25) 0 26px, transparent 26px 52px);
}
.axh-deck__cover b {
	font-family: "Thunder LC", sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	color: #fff;
	font-size: 26px;
	text-align: center;
	padding: 0 16px;
	line-height: .95;
}
.axh-deck__cover i {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 4px;
	background: var(--o);
}
.axh-deck__b { padding: 13px 15px; }
.axh-deck__b strong { display: block; font-size: 13.5px; color: var(--ink); font-weight: 600; }
.axh-deck__b span { font-size: 12px; color: var(--gray); }

/* ============================================================== toasts === */

.axh-toasts { position: fixed; right: 18px; bottom: 18px; z-index: 400; display: grid; gap: 8px; }
.axh-toast {
	background: var(--ink);
	color: #fff;
	border-radius: 10px;
	padding: 11px 16px;
	font-size: 13.5px;
	font-weight: 500;
	box-shadow: var(--shadow-lg);
	animation: axh-rise .2s ease;
	max-width: 340px;
}
.axh-toast--bad { background: var(--bad); }
.axh-toast--ok { background: var(--ok); }

/* ========================================================== responsive === */

.axh-scrim { position: fixed; inset: 0; background: rgba(13,14,16,.45); z-index: 29; }

@media (max-width: 1100px) {
	.axh-grid--2, .axh-grid--3 { grid-template-columns: 1fr; }
	.axh-disc { grid-template-columns: 1fr; }
	.axh-disc__nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; }
}

@media (max-width: 860px) {
	.axh-app { grid-template-columns: 1fr; }
	.axh-side {
		position: fixed;
		z-index: 30;
		width: var(--side-w);
		transform: translateX(-100%);
		transition: transform .22s cubic-bezier(.2,.8,.3,1);
	}
	.axh-app.is-open .axh-side { transform: none; }
	.axh-burger { display: block; }
	.axh-hide-sm { display: none !important; }
	.axh-view { padding: 18px 16px 60px; }
	.axh-top { padding: 0 14px; }
	.axh-page-head h1 { font-size: 32px; }
	.axh-form-grid { grid-template-columns: 1fr; }
	.axh-stack__row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	.axh-login { grid-template-columns: 1fr; }
	.axh-login__panel { display: none; }
}

@media print {
	.axh-side, .axh-top, .axh-toasts { display: none !important; }
	.axh-app { grid-template-columns: 1fr; }
	.axh-card { break-inside: avoid; }
}

/* ============================================================== forms ==== */

.axh-formgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 16px; }
.axh-formcard {
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
	background: var(--paper);
	transition: transform .15s, box-shadow .15s;
}
.axh-formcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.axh-formcard__top {
	padding: 18px 16px 16px;
	color: #fff;
	position: relative;
	min-height: 104px;
	display: flex;
	align-items: flex-end;
	background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 22px, transparent 22px 44px);
}
.axh-formcard__top b { font-family: "Thunder LC", sans-serif; font-weight: 500; text-transform: uppercase; font-size: 19px; line-height: 1; }
.axh-formcard__badge {
	position: absolute; top: 12px; right: 12px;
	background: rgba(0,0,0,.28);
	border-radius: 999px;
	padding: 3px 10px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.axh-formcard__b { padding: 14px 16px 16px; }
.axh-formcard__b strong { display: block; font-size: 14px; color: var(--ink); }
.axh-formcard__src { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gray); margin-top: 3px; }
.axh-formcard__stats { display: flex; gap: 14px; margin: 12px 0; font-size: 12px; color: var(--gray); }
.axh-formcard__stats b { color: var(--ink); font-size: 14px; font-weight: 700; }
.axh-formcard__acts { display: flex; gap: 6px; }

.axh-share { position: sticky; top: 84px; }
.axh-linkbox { display: flex; gap: 8px; }
.axh-linkbox input {
	flex: 1; min-width: 0;
	padding: 10px 13px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--soft);
	font-size: 12.5px;
	color: var(--slate);
}
.axh-qr {
	margin-top: 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 16px;
	display: grid;
	place-items: center;
}
.axh-qr svg { width: 100%; max-width: 220px; height: auto; display: block; }

.axh-swatches { display: flex; gap: 7px; flex-wrap: wrap; }
.axh-sw {
	width: 30px; height: 30px;
	border-radius: 8px;
	border: 2px solid transparent;
	box-shadow: 0 0 0 1px var(--line);
	padding: 0;
}
.axh-sw.is-on { border-color: #fff; box-shadow: 0 0 0 2px var(--ink); }

.axh-chip.is-locked { opacity: .75; cursor: default; }

.axh-toggle { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.axh-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.axh-toggle > span {
	width: 40px; height: 23px; border-radius: 999px;
	background: #D6D3CC; position: relative; flex: none; margin-top: 2px;
	transition: background .18s;
}
.axh-toggle > span::after {
	content: ""; position: absolute; top: 3px; left: 3px;
	width: 17px; height: 17px; border-radius: 50%;
	background: #fff; transition: transform .18s;
	box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.axh-toggle input:checked + span { background: var(--ok); }
.axh-toggle input:checked + span::after { transform: translateX(17px); }
.axh-toggle strong { display: block; font-size: 13.5px; color: var(--ink); }
.axh-toggle em { font-style: normal; font-size: 12px; color: var(--gray); }

@media (max-width: 1100px) {
	.axh-share { position: static; }
}

/* The top bar already carries Present / New lead on wide screens. */
.axh-only-sm { display: none; }
@media (max-width: 860px) {
	.axh-only-sm { display: inline-flex; }
	.axh-actions.axh-only-sm { display: flex; }
	.axh-board { grid-auto-columns: minmax(224px, 78vw); }
	.axh-col { min-height: 180px; }
	.axh-page-head { gap: 12px; }
	.axh-page-head h1 { font-size: 30px; }
}

/* Wide tables scroll inside their card rather than escaping it. */
@media (max-width: 860px) {
	.axh-card { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.axh-table { min-width: 520px; }
	.axh-table th, .axh-table td { padding: 10px 8px; white-space: nowrap; }
	.axh-co { white-space: normal; }
	.axh-co span { white-space: nowrap; }
}

/* ------------------------------------------------- shared presentations -- */

.axh-deck--slides { display: flex; flex-direction: column; }
.axh-deck--slides .axh-deck__acts {
	display: flex;
	gap: 8px;
	padding: 0 14px 14px;
	margin-top: auto;
}
.axh-deck--slides .axh-deck__acts .axh-btn { flex: 1; }

.axh-present__full { width: 100%; height: 100%; border: 0; display: block; }

.axh-sharebox { display: flex; gap: 8px; margin-bottom: 16px; }
.axh-sharebox input {
	flex: 1;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 11px 13px;
	background: var(--soft);
	font-size: 13.5px;
}
.axh-qrbox { display: grid; place-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.axh-qrbox svg { width: 200px; height: 200px; display: block; }
.axh-row-acts { display: flex; gap: 6px; justify-content: flex-end; white-space: nowrap; }
.axh-sub { display: block; font-size: 12px; color: var(--gray); margin-top: 2px; }

/* ================================================== card & form furniture ==
   These were referenced by the app but never styled — card headers, hint
   text under a field, and the questionnaire's 1–5 rating control. */

.axh-card__hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--line-2);
}
.axh-card__hd h3 {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--ink);
}

.axh-hint {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--gray);
	margin-top: 6px;
}

.axh-rate { display: flex; align-items: center; gap: 8px; }
.axh-rate button,
.axh-rate i {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1.5px solid var(--line);
	background: var(--paper);
	display: inline-block;
	padding: 0;
	transition: background .14s, border-color .14s;
}
.axh-rate button:hover { border-color: var(--o); }
.axh-rate button.is-on,
.axh-rate i.on { background: var(--o); border-color: var(--o); }
.axh-rate b { font-size: 12.5px; color: var(--gray); font-weight: 600; margin-left: 4px; }
.axh-rate--static i { width: 20px; height: 20px; }

/* ============================================================= earnings === */

.axh-table--earn td { vertical-align: top; }
.axh-leg { display: grid; gap: 3px; }
.axh-leg b { font-size: 14px; }
.axh-leg span { font-size: 11.5px; color: var(--gray); }
.axh-leg .axh-badge { justify-self: start; }

/* ================================================================ brief === */

.axh-page-head--brief { align-items: flex-start; }
.axh-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray);
	margin-bottom: 8px;
}
.axh-back:hover { color: var(--o); }

.axh-note {
	background: var(--o-soft);
	border: 1px solid color-mix(in srgb, var(--o) 26%, transparent);
	border-radius: var(--r);
	padding: 14px 18px;
	margin-bottom: 18px;
}
.axh-note b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--o-dark); }
.axh-note p { margin-top: 5px; font-size: 14px; line-height: 1.55; }

.axh-brief { margin-bottom: 18px; }
.axh-brief.is-empty { opacity: .62; }
.axh-brief__b { padding: 4px 18px 18px; }
.axh-qa { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.axh-qa:last-child { border-bottom: 0; padding-bottom: 0; }
.axh-qa h4 { font-size: 12.5px; font-weight: 700; color: var(--gray); letter-spacing: .02em; }
.axh-answer { font-size: 14.5px; line-height: 1.6; color: var(--ink); margin-top: 5px; white-space: pre-wrap; }
.axh-none { font-size: 13px; color: #A8AEB6; font-style: normal; }

.axh-mini { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.axh-mini th {
	text-align: left;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gray);
	padding: 6px 10px 6px 0;
	border-bottom: 1px solid var(--line);
}
.axh-mini td { padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line-2); }
.axh-mini .num, .axh-mini th.num { text-align: right; padding-right: 0; }

.axh-chips--static .axh-chip { pointer-events: none; }

.axh-mods { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 10px; }
.axh-modhd {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--gray);
	padding-bottom: 8px;
	border-bottom: 2px solid var(--line);
	margin-bottom: 12px;
}
.axh-modhd--must { color: var(--o-dark); border-bottom-color: var(--o); }
.axh-modgrp { margin-bottom: 14px; }
.axh-modgrp h5 { font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.axh-modgrp ul { display: grid; gap: 2px; }
.axh-modgrp li { font-size: 13.5px; color: var(--slate); padding-left: 13px; position: relative; }
.axh-modgrp li::before {
	content: "";
	position: absolute; left: 0; top: 8px;
	width: 5px; height: 5px; border-radius: 50%; background: var(--o);
}

@media (max-width: 860px) {
	.axh-mods { grid-template-columns: 1fr; }
	.axh-table--earn { min-width: 720px; }
}

/* ================================================================ print === */

@media print {
	.axh-side, .axh-top, .axh-toasts, .axh-modal, .axh-present,
	.axh-actions, .axh-back, .axh-scrim { display: none !important; }
	.axh-app { display: block; }
	.axh-view { padding: 0; }
	body.axh-app-body { background: #fff; }
	.axh-card {
		box-shadow: none;
		border: 1px solid #D6D3CD;
		break-inside: avoid;
		page-break-inside: avoid;
	}
	.axh-brief.is-empty { opacity: 1; }
	.axh-qa { break-inside: avoid; }
	.axh-stats { grid-template-columns: repeat(4, 1fr); }
	a[href]::after { content: ""; }
}

/* A prospect someone else already registered. Loud, because acting on it
   anyway costs the rep their commission under section 2.4. */
.axh-warn {
	background: var(--bad-soft);
	border: 1px solid color-mix(in srgb, var(--bad) 30%, transparent);
	border-radius: var(--r);
	padding: 14px 18px;
	margin-bottom: 18px;
}
.axh-warn b { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--bad); }
.axh-warn p { margin-top: 6px; font-size: 13.5px; line-height: 1.55; color: var(--slate); }

/* ============================================================ demo sites == */

.axh-demos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
}
.axh-demo {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	transition: transform .18s cubic-bezier(.22,.8,.28,1), box-shadow .18s;
}
.axh-demo:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.axh-demo__shot {
	position: relative;
	display: block;
	aspect-ratio: 720 / 446;
	background: var(--soft);
	border-bottom: 3px solid transparent;
	overflow: hidden;
}
.axh-demo__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.axh-demo__ph { display: block; width: 100%; height: 100%; }
.axh-demo__open {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(13, 14, 16, .58);
	color: #fff;
	font-size: 13.5px;
	font-weight: 700;
	opacity: 0;
	transition: opacity .18s;
}
.axh-demo__shot:hover .axh-demo__open,
.axh-demo__shot:focus-visible .axh-demo__open { opacity: 1; }
.axh-demo__b { padding: 15px 17px 17px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.axh-demo__tag { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.axh-demo__b strong { font-size: 16px; color: var(--ink); }
.axh-demo__b p { font-size: 13px; color: var(--gray); line-height: 1.5; }
.axh-demo__acts { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.axh-demo__acts .axh-btn { flex: 1; }
