/*
	# Front page: "Ask, then see it all" (Nov 2026)
	-------------------------------------------------------------------------------
	layouts/front.layout.php. Loaded on the front page only, after the other
	stylesheets. Everything is scoped to #home (.hx) so the older #hero rules
	don't reach it; the guides and the letter after it keep their own styles.
	The site sets font-size:0 on wrappers, so text sets its own size here.
	-------------------------------------------------------------------------------*/

.hx {
	--navy: #141F38; --ink: #26375F; --muted: #4D5A7A; --soft: #5E6782;
	--line: #E6E8F2; --line2: #DDE1EC; --bg: #F5F6FA; --lav: #F3F5FF;
	--blue: #356CF0; --blue-d: #2457D6; --blue-l: #8FB0FF; --sky: #B9CCFF;
	--night: #0B1430; --night2: #141F38; --night-line: #33437A; --night-text: #C9D3EE;
	--amber: #F5A524; --violet: #7C5CE0;
	display: block; width: 100%; font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.5;
	color: var(--navy); -webkit-font-smoothing: antialiased; text-align: left;
}
/* Resets with no specificity (:where), so every component rule below wins over them. */
.hx *, .hx *::before, .hx *::after { box-sizing: border-box; }
:where(.hx) :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; padding: 0; }
:where(.hx) :where(ul, ol) { list-style: none; }
/* rbhq_reset.css zeroes font-size and line-height on every list; give them back. */
.hx ul, .hx ol { font-size: inherit; line-height: inherit; }
:where(.hx) :where(b, strong) { font-weight: 700; }
:where(.hx) :where(i) { font-style: normal; }
:where(.hx) :where(mark) { background: none; color: inherit; }
:where(.hx) :where(a) { text-decoration: none; }
/* Drawn controls are real buttons; strip the browser's look so each component styles its own. */
.hx :where(button) { margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-align: inherit; text-transform: none; }

.hx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.hx [id] { scroll-margin-top: 110px; } /* clear the fixed header when the nav jumps to a section */
.hx-kicker { display: inline-flex; align-items: center; font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-d); }
.hx h2 { font-size: 48px; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; color: var(--navy); text-wrap: balance; }
.hx-lead { font-size: 19px; line-height: 1.55; color: var(--muted); }
.hx-head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.hx-center { align-items: center; text-align: center; margin: 0 auto; }
.hx-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hx-row-start { justify-content: flex-start; }
.hx-muted { color: var(--soft); }
.hx-small { font-size: 14px !important; }

/* Buttons (real links) */
.hx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font-size: 16px; font-weight: 600; line-height: 1; transition: background-color .2s ease, border-color .2s ease; }
.hx-btn-p { background: var(--blue); color: #FFFFFF; box-shadow: 0 8px 24px rgba(53,108,240,.28); }
.hx-btn-p:hover { background: var(--blue-d); color: #FFFFFF; }
.hx-btn-g { color: #FFFFFF; border-color: #3A4B7E; }
.hx-btn-g:hover { border-color: var(--blue-l); color: #FFFFFF; }
.hx-btn-s { background: #FFFFFF; color: var(--navy); border-color: var(--line2); }
.hx-btn-s:hover { border-color: #9FBAF8; color: var(--navy); }
.hx-btn:focus-visible, .hx-chip:focus-visible, .hx a:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 3px; }

/* Drawn UI pieces (not controls) */
.hx-ui-btn { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.hx-ui-btn-p { background: var(--blue); color: #FFFFFF; }
.hx-ui-btn-o { border: 1px solid #45548A; color: #FFFFFF; font-weight: 500; }
.hx-ui-btn-dark { background: var(--navy); color: #FFFFFF; padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.hx-ui-btn-line { border: 1px solid var(--line2); padding: 7px 12px; font-size: 13px; border-radius: 8px; font-weight: 500; }
.hx-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; }
.hx-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line2); background: #FFFFFF; font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.hx-pill.on { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.hx-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: #F3F4F8; }
.hx-seg span { padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; color: var(--muted); }
.hx-seg span.on { background: #FFFFFF; color: var(--navy); box-shadow: 0 1px 3px rgba(20,31,56,.12); }
.hx-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.t-you { background: #EEF3FF; color: var(--blue-d); }
.t-them { background: #F1ECFF; color: #5B3BC4; }
.t-none { background: var(--bg); color: var(--muted); }
.t-ok { background: #E8F7EE; color: #17663A; }
.c-blue { background: #6E9BFF; }
.c-sky { background: var(--sky); }
.c-amber { background: var(--amber); }
.c-green { background: #17A34A; }
.c-violet { background: var(--violet); }


/*	Hero
-------------------------------------------------------------------------------*/
.hx-hero { position: relative; padding: 72px 0 300px; color: #FFFFFF; background: radial-gradient(1200px 600px at 50% 0%, #1E2C63 0%, #0F1836 55%, var(--night) 100%); }
.hx-hero-copy { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hx-kicker-pill { padding: 7px 14px; border: 1px solid var(--night-line); border-radius: 999px; font-size: 12px; color: var(--blue-l); }
.hx-display { max-width: 980px; font-size: 76px; line-height: 1.0; letter-spacing: -.04em; font-weight: 700; color: #FFFFFF; text-wrap: balance; }
.hx-display mark { display: block; color: var(--blue-l); }
.hx-hero .hx-lead { max-width: 740px; color: var(--night-text); }
.hx-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hx-ask { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hx-askbox { width: 100%; max-width: 860px; min-height: 68px; display: flex; align-items: center; gap: 14px; padding: 0 12px 0 22px; border-radius: 18px; background: #FFFFFF; color: var(--blue); box-shadow: 0 0 0 6px rgba(110,155,255,.18), 0 30px 60px -20px rgba(0,0,0,.6); }
.hx-askbox-q { flex: 1; font-size: 20px; color: var(--navy); }
.hx-askbox-q::after { content: ''; display: inline-block; width: 2px; height: 22px; margin-left: 2px; vertical-align: -4px; background: var(--blue); animation: hx-blink 1.1s steps(1) infinite; }
.hx-askbox-go { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--blue); color: #FFFFFF; }
@keyframes hx-blink { 50% { opacity: 0; } }
.hx-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.hx-chips > span { margin-right: 4px; font-size: 14px; color: #9FB4E8; }
.hx-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--night-line); background: #121D42; color: #DCE3F5; font: 500 15px/1 'DM Sans', system-ui, sans-serif; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.hx-chip:hover { border-color: var(--blue-l); }
.hx-chip[aria-pressed="true"] { background: #FFFFFF; border-color: #FFFFFF; color: var(--navy); }

.hx-answer { margin-top: 40px; }
.hx-answer[hidden] { display: none; }
.hx-answer.is-in { animation: hx-in .35s ease both; }
@keyframes hx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hx-insight { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; padding: 34px 36px; border-radius: 22px; border: 1px solid var(--night-line); background: linear-gradient(135deg, #131C40 0%, #1A2552 55%, #22306A 100%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.hx-insight-main { display: flex; flex-direction: column; gap: 12px; }
.hx-insight-src { font-size: 13px; color: #9FB4E8; }
.hx-insight-src b { color: var(--blue-l); }
.hx-insight-head { font-size: 38px; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; color: #FFFFFF; }
.hx-insight-sub { font-size: 17px; line-height: 1.5; color: var(--night-text); }
.hx-insight-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.hx-insight-side { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--night-text); }
.hx-insight-side > b { font-size: 14px; color: #FFFFFF; }
.hx-insight-side > b + .hx-segbar { margin-top: 2px; }
.hx-segbar { display: flex; gap: 2px; height: 10px; border-radius: 5px; overflow: hidden; }
.hx-segbar i { display: block; height: 100%; }
.hx-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
.hx-legend li { display: inline-flex; align-items: center; gap: 6px; }
.hx-legend i { width: 9px; height: 9px; border-radius: 2px; }
.hx-bars li { display: grid; grid-template-columns: 120px 1fr 52px; align-items: center; gap: 10px; padding: 3px 0; }
.hx-bars li > i { height: 6px; border-radius: 3px; background: #2C3A6E; overflow: hidden; }
.hx-bars li > i > i { display: block; height: 6px; border-radius: 3px; background: #9FBAF8; }
.hx-bars li > b { text-align: right; color: #FFFFFF; }

.hx-steps { max-width: 1080px; margin: 18px auto 0; border-radius: 18px; overflow: hidden; background: #FFFFFF; color: var(--navy); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.hx-steps-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 20px; font-size: 15px; }
.hx-steps li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid #EEF0F6; font-size: 14px; }
.hx-steps small { display: block; font-size: 12px; color: var(--soft); }
.hx-reason { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.hx-reason i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hx-act { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line2); font-size: 13px; font-weight: 600; color: var(--blue-d); }

.hx-product-head { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 88px; text-align: center; }
.hx-product-head .hx-kicker { color: var(--blue-l); }
.hx-product-head h2 { font-size: 32px; letter-spacing: -.02em; color: #FFFFFF; }


/*	The app window
-------------------------------------------------------------------------------*/
.hx-product { position: relative; margin-top: -260px; padding-bottom: 72px; }
.hx-win { position: relative; overflow: hidden; border: 1px solid var(--line2); border-radius: 18px; background: #FFFFFF; box-shadow: 0 50px 100px -30px rgba(11,20,48,.55), 0 2px 6px rgba(20,31,56,.06); }
.hx-win-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: #F6F7FB; border-bottom: 1px solid var(--line); }
.hx-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.hx-win-bar span { flex: 1; max-width: 360px; height: 24px; margin-left: 16px; padding: 0 10px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: #FFFFFF; font-size: 12px; color: var(--soft); }
.hx-win-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.hx-win-main { display: flex; flex-direction: column; gap: 16px; padding: 20px 22px 24px; background: #FAFBFD; border-right: 1px solid var(--line); }
.hx-win-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hx-win-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.hx-win-logo mark, .hx-ai-name mark { color: var(--blue); }
.hx-dash { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; }
.hx-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hx-stat { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; }
.hx-stat small, .hx-stat span { display: block; font-size: 12px; color: var(--soft); }
.hx-stat b { display: block; margin: 2px 0; font-size: 24px; letter-spacing: -.01em; }
.hx-stat-dark { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.hx-stat-dark small, .hx-stat-dark span { color: #B9C3DE; }
.hx-stat-dark > i { display: block; height: 4px; margin: 6px 0 4px; border-radius: 2px; background: #33416A; }
.hx-stat-dark > i > i { display: block; height: 4px; border-radius: 2px; background: #6E9BFF; }
.hx-stat-warn { background: #FFF6EA; border-color: #F6DDB8; }
.hx-stat-warn small, .hx-stat-warn span { color: #8A4B0B; }
.hx-stat-warn span { font-weight: 600; }
.hx-stat-warn b { color: #7A3E06; }
.hx-stages { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.hx-stages .hx-row { margin-bottom: 4px; font-size: 15px; }
.hx-link { font-size: 12px; font-weight: 600; color: var(--blue-d); }
.hx-stage { display: grid; grid-template-columns: 86px 1fr 92px; align-items: center; gap: 10px; height: 22px; font-size: 12px; color: var(--ink); }
.hx-stage > span:last-child { text-align: right; }
.hx-stage > i { height: 12px; border-radius: 6px; background: #EEF0F6; overflow: hidden; }
.hx-stage > i > i { display: block; height: 12px; border-radius: 6px; }
.hx-stage .s1 { background: #C9D8FF; } .hx-stage .s2 { background: #A9C1FF; } .hx-stage .s3 { background: #7FA3FF; }
.hx-stage .s4 { background: #5687FF; } .hx-stage .s5 { background: var(--blue); } .hx-stage .s0 { background: #D5D9E5; }
.hx-records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hx-record { padding: 14px 16px; font-size: 15px; }
.hx-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; font-size: 12px; color: var(--soft); }
.hx-nums span { padding: 8px; border-radius: 8px; background: var(--bg); }
.hx-nums b { display: block; font-size: 14px; color: var(--navy); }
.hx-win-ai { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: #FFFFFF; font-size: 13px; }
.hx-win-ai small { font-size: 12px; color: var(--soft); }
.hx-ai-name { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.hx-ai-mark { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: linear-gradient(135deg, #6E9BFF, var(--blue)); color: #FFFFFF; }
.hx-bubble { align-self: flex-end; padding: 9px 12px; border-radius: 12px 12px 4px 12px; background: #EEF3FF; }
.hx-reply { line-height: 1.5; color: var(--ink); }
.hx-reply b { color: var(--navy); }
.hx-suggest { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; }
.hx-followup { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 12px; color: var(--soft); }
.hx-followup i { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--blue); color: #FFFFFF; }
.hx .hx-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 80px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.hx-points b { color: var(--navy); }


/*	Works with
-------------------------------------------------------------------------------*/
.hx-strip { padding: 28px 0; border-top: 1px solid #EEF0F6; border-bottom: 1px solid #EEF0F6; }
.hx-strip .hx-wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.hx-strip-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.hx-strip b { font-size: 18px; color: var(--ink); }
.hx-strip i { width: 1px; height: 22px; background: var(--line2); }


/*	Deal views
-------------------------------------------------------------------------------*/
.hx-deals { padding: 120px 0 110px; }
.hx-split { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 64px; align-items: center; }
.hx-copy { display: flex; flex-direction: column; gap: 20px; }
.hx-numbered { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; counter-reset: hx; }
.hx-numbered li { position: relative; padding-left: 34px; font-size: 15px; line-height: 1.45; color: var(--ink); counter-increment: hx; }
.hx-numbered li::before { content: counter(hx, decimal-leading-zero); position: absolute; left: 0; font-weight: 700; color: var(--blue); }
.hx-board { padding: 22px; background: #FAFBFD; box-shadow: 0 40px 80px -24px rgba(20,31,56,.28); }
.hx-board-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hx-filters { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.hx-board-cols { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 12px; }
.hx-col { display: flex; flex-direction: column; gap: 10px; }
.hx-col-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); }
.hx-deal { display: flex; flex-direction: column; gap: 6px; padding: 12px; font-size: 12px; }
.hx-deal > b { font-size: 13px; }
.hx-deal.is-stalled { border-color: #F6DDB8; }
.hx-deal-flag { font-weight: 600; color: #8A4B0B; }


/*	Co-selling features
-------------------------------------------------------------------------------*/
.hx-cosell { padding: 110px 0; background: var(--lav); }
.hx-cosell .hx-head { margin-bottom: 48px; }
.hx-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hx-tile { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg); }
.hx-tile h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; font-weight: 700; }
.hx-tile p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.hx-tile p strong { color: var(--navy); }
.hx-tile-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: center; background: #FFFFFF; }
.hx-tile-copy { display: flex; flex-direction: column; gap: 14px; }
.hx-plan { display: flex; flex-direction: column; gap: 10px; padding: 16px; font-size: 13px; box-shadow: 0 12px 30px -12px rgba(20,31,56,.18); }
.hx-plan .hx-row { font-size: 14px; }
.hx-step { display: flex; align-items: center; gap: 10px; }
.hx-step > span:first-of-type { flex: 1; }
.hx-step.is-done > span { color: var(--soft); text-decoration: line-through; }
.hx-box { width: 18px; height: 18px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; border: 1.5px solid #B8C0D6; color: #FFFFFF; }
.is-done .hx-box { background: var(--blue); border-color: var(--blue); }
.hx-av { width: 22px; height: 22px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 10px; font-weight: 700; color: #FFFFFF; }
.a-you { background: var(--blue); }
.a-them { background: var(--violet); }
.hx-guest { margin-top: 4px; padding-top: 10px; border-top: 1px solid #EEF0F6; color: var(--muted); }
.hx-guest svg { color: var(--blue); flex: none; }
.hx-mini { display: flex; flex-direction: column; gap: 8px; padding: 14px; margin-top: auto; font-size: 13px; }
.hx-table { gap: 0; padding: 12px 14px; font-size: 12px; }
.hx-tr { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 6px; padding: 7px 0; border-bottom: 1px solid #EEF0F6; }
.hx-tr:last-child { border-bottom: 0; }
.hx-th { padding-top: 0; color: var(--soft); }
.hx-pick { display: flex; gap: 8px; }
.hx-pick span { flex: 1; padding: 8px; border: 1px solid var(--line2); border-radius: 8px; }
.hx-pick span.on { border: 1.5px solid var(--blue); background: #EEF3FF; }
.hx-pick small { display: block; font-size: 11px; color: var(--muted); }
.hx-dotline { display: flex; align-items: center; gap: 10px; }
.hx-dotline i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hx-more { max-width: 980px; margin-top: 48px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.hx-more strong { color: var(--navy); }
.hx-more a, .hx-textlink { font-weight: 600; color: var(--blue-d); }
.hx-more a:hover, .hx-textlink:hover { text-decoration: underline; }


/*	Your AI
-------------------------------------------------------------------------------*/
.hx-ai { padding: 120px 0; background: var(--night2); color: #FFFFFF; }
.hx-ai .hx-kicker { color: #9FBAF8; }
.hx-ai h2 { margin-top: 16px; color: #FFFFFF; }
.hx-ai .hx-lead { color: var(--night-text); }
.hx-ai .hx-textlink { display: inline-block; margin-top: 14px; color: var(--blue-l); }
.hx-ai-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: end; margin-bottom: 48px; }
.hx-chats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hx-chat { display: flex; flex-direction: column; gap: 14px; padding: 24px; border: 1px solid #2C3B66; border-radius: 20px; background: #1C2A4D; font-size: 14px; line-height: 1.55; }
.hx-chat figcaption { font-size: 15px; font-weight: 700; }
.hx-chat-you { align-self: flex-end; max-width: 92%; padding: 10px 12px; border-radius: 12px 12px 4px 12px; background: #2E3F6E; }
.hx-chat code { align-self: flex-start; padding: 4px 8px; border: 1px solid #3A4B7E; border-radius: 6px; font: 12px/1.4 'DM Sans', system-ui, sans-serif; color: #9FB4E8; background: none; }
.hx-chat-ai { color: #DCE3F5; }
.hx-safe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 22px 26px; border: 1px solid #2C3B66; border-radius: 16px; background: var(--night); }
.hx-safe > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.hx-safe b { font-size: 18px; }
.hx-safe span { font-size: 15px; color: var(--night-text); }
.hx-proposal { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border: 1px solid #3A4B7E; border-radius: 12px; background: #172342; }
.hx-proposal > span:first-child { font-size: 14px; color: #FFFFFF; }
.hx-proposal em { font-style: normal; font-weight: 600; color: #F8C46A; }
.hx-proposal .hx-ui-btn { padding: 7px 12px; font-size: 13px; border-radius: 8px; color: #FFFFFF; }


/*	Quotes, pricing, FAQ
-------------------------------------------------------------------------------*/
.hx-quotes { padding: 110px 0 90px; }
.hx-quotes h2 { font-size: 40px; text-align: center; }
.hx-quote-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.hx-quote { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.hx-stars { letter-spacing: 2px; color: var(--amber); font-size: 16px; }
.hx-quote blockquote { font-size: 18px; line-height: 1.5; color: var(--ink); }
.hx-quote blockquote em { font-style: normal; font-weight: 600; color: var(--navy); background: linear-gradient(transparent 62%, #DCE6FF 62%); }

.hx-pricing { padding: 90px 0 110px; }
.hx-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 860px; margin: 40px auto 0; }
.hx-plan-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border: 1px solid var(--line2); border-radius: 20px; background: #FFFFFF; font-size: 16px; color: var(--muted); }
.hx-plan-card > b { font-size: 18px; color: var(--navy); }
.hx-plan-card.is-pro { border-color: var(--blue); box-shadow: 0 20px 50px -20px rgba(53,108,240,.45); }
.hx-price { font-size: 52px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--navy); }
.hx-price small { display: inline; vertical-align: baseline; line-height: 1; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.hx-includes { max-width: 860px; margin: 32px auto 0; text-align: center; font-size: 15px; line-height: 1.7; color: var(--muted); }

.hx-faq { padding: 100px 0 110px; background: var(--bg); }
.hx-faq h2 { font-size: 40px; text-align: center; }
.hx-faq dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.hx-faq dl > div { padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: #FFFFFF; }
.hx-faq dt { font-size: 18px; line-height: 1.35; font-weight: 700; color: var(--navy); }
.hx-faq dd { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.hx-faq dd a { font-weight: 600; color: var(--blue-d); }
.hx-faq dd a:hover { text-decoration: underline; }

/* The guides and letter that follow keep their own styles; just space them. */
.hx-after { padding: 0 !important; }


/*	Header on the front page (desktop): dark, to sit on the hero
-------------------------------------------------------------------------------*/
@media (min-width:761px){
	body.home #rbhq_header { background: #0B1430; }
	body.home #rbhq_header .offer { background: rgba(255,255,255,.06); border-bottom-color: rgba(255,255,255,.08); }
	body.home #rbhq_header .offer p { color: #C9D3EE; }
	body.home #rbhq_header .offer p em, body.home #rbhq_header .offer p a { color: #8FB0FF; }
	body.home #rbhq_header .crown { border-bottom-color: rgba(255,255,255,.08); }
	body.home #rbhq_header .logo strong { color: #FFFFFF; }
	body.home #rbhq_header .logo strong mark { color: #8FB0FF; }
	body.home #rbhq_header a.site { color: #C9D3EE; }
	body.home #rbhq_header a.site:hover { color: #FFFFFF; }
	body.home #rbhq_header nav section a:nth-child(2) { color: #FFFFFF; }
	body.home #rbhq_header nav section a:nth-child(2):hover { background-color: rgba(255,255,255,.08); color: #FFFFFF; }
}


/*	Narrower screens
-------------------------------------------------------------------------------*/
@media (max-width:1080px){
	.hx-display { font-size: 60px; }
	.hx h2 { font-size: 40px; }
	.hx-win-body { grid-template-columns: minmax(0, 1fr); }
	.hx-win-main { border-right: 0; border-bottom: 1px solid var(--line); }
	.hx-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.hx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hx-chats { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width:760px){
	.hx-wrap { padding: 0 16px; }
	.hx h2 { font-size: 32px; }
	.hx-lead { font-size: 16px; }
	.hx-hero { padding: 40px 0 200px; }
	.hx-display { font-size: 44px; line-height: 1.02; letter-spacing: -.035em; }
	.hx-kicker-pill { font-size: 11px; }
	.hx-actions { width: 100%; flex-direction: column; }
	.hx-actions .hx-btn { width: 100%; min-height: 52px; }
	.hx-ask { margin-top: 28px; }
	.hx-askbox { min-height: 56px; padding: 0 8px 0 16px; gap: 10px; border-radius: 16px; }
	.hx-askbox-q { font-size: 16px; }
	.hx-askbox-go { width: 40px; height: 40px; }
	.hx-chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
	.hx-chips > span { display: none; }
	.hx-chip { flex: none; font-size: 14px; }
	.hx-answer { margin-top: 20px; }
	.hx-insight { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 22px 20px; border-radius: 18px; }
	.hx-insight-head { font-size: 26px; }
	.hx-insight-sub { font-size: 14px; }
	.hx-insight-btns .hx-ui-btn-o { display: none; }
	.hx-insight-btns .hx-ui-btn-p { width: 100%; justify-content: center; }
	.hx-bars li { grid-template-columns: 96px 1fr 48px; }
	.hx-steps { border-radius: 16px; margin-top: 12px; }
	.hx-steps-top .hx-seg { display: none; }
	.hx-steps li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 12px 16px; font-size: 13px; }
	.hx-steps li .hx-reason { grid-row: 2; font-size: 12px; }
	.hx-steps li .hx-act { grid-row: 1 / span 2; grid-column: 2; }
	.hx-product-head { margin-top: 48px; }
	.hx-product-head h2 { font-size: 22px; }
	.hx-product { margin-top: -150px; padding-bottom: 48px; }
	.hx-win-bar { display: none; }
	.hx-win-main { padding: 14px; }
	.hx-win-top .hx-pill { display: none; }
	.hx-dash { grid-template-columns: minmax(0, 1fr); }
	.hx-stat b { font-size: 20px; }
	.hx-records { grid-template-columns: minmax(0, 1fr); }
	.hx .hx-points { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 44px; }
	.hx-strip .hx-wrap { gap: 10px 18px; }
	.hx-strip i { flex-basis: 100%; height: 0; }
	.hx-strip b { font-size: 15px; }
	.hx-deals, .hx-cosell, .hx-ai { padding: 72px 0; }
	.hx-board { padding: 14px; overflow-x: auto; }
	.hx-board-top .hx-filters { display: none; }
	.hx-board-cols { grid-template-columns: repeat(var(--cols, 4), 200px); }
	.hx-bento { grid-template-columns: minmax(0, 1fr); }
	.hx-tile-wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
	.hx-tile { padding: 22px; }
	.hx-ai-head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 32px; }
	.hx-proposal { width: 100%; justify-content: space-between; }
	.hx-quotes, .hx-pricing, .hx-faq { padding: 72px 0; }
	.hx-quotes h2, .hx-faq h2 { font-size: 30px; }
	.hx-quote-list, .hx-plans, .hx-faq dl { grid-template-columns: minmax(0, 1fr); }
	.hx-price { font-size: 44px; }
}

/*	Live demo (scripts/rbhq-home.js adds .hx-live)
-------------------------------------------------------------------------------*/
.hx button:focus-visible, .hx [tabindex]:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 2px; }
.hx-live :is(.hx-stat, .hx-stage, .hx-record, .hx-act, .hx-ui-btn, .hx-pill, .hx-followup, .hx-step, .hx-dotline, .hx-pick button, .hx-th button, .hx-seg button, .hx-deal, .hx-sl-row.is-link) { cursor: pointer; }
.is-flash { animation: hx-flash 1.2s ease; }
@keyframes hx-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(53,108,240,0); } 25% { box-shadow: 0 0 0 4px rgba(53,108,240,.45); } }

/* Hero: the question types, the answer builds */
.hx-ask.is-typing .hx-askbox-q::after { animation: none; }
.hx-insight-btns .hx-ui-btn { transition: background-color .2s ease, border-color .2s ease; }
.hx-insight-btns .hx-ui-btn-p:hover { background: var(--blue-d); }
.hx-insight-btns .hx-ui-btn-o:hover { border-color: var(--blue-l); }
.hx-answer.is-in .hx-segbar i, .hx-answer.is-in .hx-bars li > i > i { transform-origin: left; animation: hx-grow .7s cubic-bezier(.2,.7,.2,1) both; }
.hx-answer.is-in .hx-bars li:nth-child(2) > i > i { animation-delay: .08s; }
.hx-answer.is-in .hx-bars li:nth-child(3) > i > i { animation-delay: .16s; }
.hx-answer.is-in .hx-bars li:nth-child(4) > i > i { animation-delay: .24s; }
@keyframes hx-grow { from { transform: scaleX(0); } to { transform: none; } }
.hx-answer.is-in .hx-insight-head { animation: hx-in .45s ease both; }
.hx-answer.is-in :is(.hx-steps li, .hx-dsteps li, .hx-dtr, .hx-dcard, .hx-deal) { animation: hx-in .4s ease both; animation-delay: calc(.25s + var(--i, 0) * 90ms); }
.hx-steps.is-in .hx-view-host > *, .hx-steps.is-in > ul { animation: hx-in .3s ease both; }
.hx-act { background: #FFFFFF; transition: border-color .2s ease, background-color .2s ease; }
.hx-act:hover { border-color: #9FBAF8; background: #F5F8FF; }
.hx-act.is-done { gap: 6px; border-color: #BFE6CD; background: #E8F7EE; color: #17663A; cursor: default; }

/* The view switch */
.hx-seg button { padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--muted); transition: background-color .15s ease, color .15s ease; }
.hx-seg button:hover { color: var(--navy); }
.hx-seg button.on { background: #FFFFFF; color: var(--navy); box-shadow: 0 1px 3px rgba(20,31,56,.12); }
.hx-view-host { border-top: 1px solid #EEF0F6; }
.hx-view-host[hidden], .hx-steps > ul[hidden] { display: none; }
.hx-dtable.no-partner .hx-dtr { grid-template-columns: minmax(0, 1.6fr) .8fr 1fr 1.6fr; }
.hx-steps .hx-view-host { padding: 14px 20px 18px; }
.hx-dsteps li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 4px; border-top: 1px solid #EEF0F6; font-size: 14px; }
.hx-dsteps li:first-child { border-top: 0; }
.hx-dsteps small { display: block; font-size: 12px; color: var(--soft); }
.hx-dtable { font-size: 13px; }
.hx-dtr { display: grid; grid-template-columns: minmax(0, 1.6fr) .8fr 1fr 1.4fr 1fr; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid #EEF0F6; color: var(--ink); }
.hx-dtr small { display: block; font-size: 12px; color: var(--soft); }
.hx-dth { border-top: 0; padding-top: 0; font-size: 12px; font-weight: 600; color: var(--soft); }
.hx-dtr.is-stalled > span:first-child b { color: #7A3E06; }
.hx-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; vertical-align: 0; }
.hx-dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hx-dcard { display: flex; flex-direction: column; gap: 6px; padding: 14px; font-size: 13px; }
.hx-dcard.is-stalled { border-color: #F6DDB8; }
.hx-dcard-amt { font-size: 22px; letter-spacing: -.01em; }
.hx-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.hx-progress i { height: 5px; border-radius: 3px; background: #EEF0F6; }
.hx-progress i.on { background: var(--blue); }
.hx-empty, .hx-col-empty { padding: 18px 4px; font-size: 13px; color: var(--soft); }
.hx-col-empty { padding: 10px 0; text-align: center; }

/* The tour above the app window */
.hx-tour { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.hx-tour[hidden] { display: none; }
.hx-tour-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--blue-l); }
.hx-tour-label i { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }
.hx-tour-steps { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-tour-step { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px 0 6px; border: 1px solid var(--night-line); border-radius: 999px; background: #121D42; font-size: 14px; font-weight: 500; color: #DCE3F5; transition: border-color .2s ease, background-color .2s ease; }
.hx-tour-step b { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #2A3A75; font-size: 12px; color: #FFFFFF; }
.hx-tour-step:hover { border-color: var(--blue-l); }
.hx-tour-step.on { background: #FFFFFF; border-color: #FFFFFF; color: var(--navy); }
.hx-tour-step.on b { background: var(--blue); }
.hx-tour-tip { flex-basis: 100%; min-height: 1.5em; font-size: 15px; color: var(--night-text); }

/* Numbered areas, and the tour's spotlight */
.hx-live [data-hx-area] { position: relative; }
.hx-win.is-touring [data-hx-area] { transition: opacity .3s ease, box-shadow .3s ease; }
.hx-win.is-touring [data-hx-area]:not(.is-focus) { opacity: .45; }
.hx-win.is-touring [data-hx-area].is-focus { border-radius: 14px; box-shadow: 0 0 0 3px rgba(53,108,240,.55); }
.hx-win.is-touring [data-hx-area].is-focus > .hx-callout { animation: hx-ping 1.4s ease infinite; }

/* Callouts: "this is clickable". A number pill on the window's areas, "Try it" on the
   tiles, "Drag me" on a Board deal. They shrink (or fade) once that part is used. */
.hx-live [data-hx-try] { position: relative; }
.hx-callout { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 4px; border-radius: 999px; background: var(--blue); color: #FFFFFF; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0; white-space: nowrap; box-shadow: 0 0 0 3px #FFFFFF, 0 8px 18px -6px rgba(53,108,240,.6); pointer-events: none; animation: hx-bob 2.8s ease-in-out infinite; transition: padding .3s ease, gap .3s ease, opacity .3s ease, transform .3s ease; }
.hx-callout b { width: 18px; height: 18px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #FFFFFF; color: var(--blue); font-size: 11px; font-weight: 700; }
.hx-callout svg { flex: none; margin-left: 5px; }
.hx-callout > span { display: inline-block; max-width: 180px; overflow: hidden; transition: max-width .35s ease, opacity .25s ease; }
.hx-callout.is-used { gap: 0; padding: 0 4px; animation: none; }
.hx-callout.is-used > span { max-width: 0; opacity: 0; }
.hx-callout-try.is-used, .hx-callout-drag.is-used { opacity: 0; transform: scale(.85); }
@keyframes hx-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.hx-callout-area { top: -13px; left: -8px; }
.hx-win-ai > .hx-callout-area { top: 14px; left: auto; right: 14px; }
.hx-callout-try { top: -17px; right: -8px; }
.hx-callout-drag { bottom: -15px; left: 10px; }
.hx-proposal .hx-callout-try { box-shadow: 0 0 0 3px var(--night2), 0 8px 18px -6px rgba(0,0,0,.6); }
@keyframes hx-ping { 0% { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 3px rgba(53,108,240,.5); } 100% { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 14px rgba(53,108,240,0); } }

/* App window: what can be clicked */
.hx-stat, .hx-record { width: 100%; text-align: left; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.hx-live .hx-stat:hover, .hx-live .hx-record:hover { border-color: #9FBAF8; box-shadow: 0 8px 20px -10px rgba(20,31,56,.3); transform: translateY(-1px); }
.hx-live .hx-stat-dark:hover { border-color: var(--blue); }
.hx-live .hx-stat-warn:hover { border-color: #E9B56B; }
.hx-stage { width: 100%; margin: 0 -6px; padding: 0 6px; border-radius: 6px; box-sizing: content-box; text-align: left; transition: background-color .15s ease; }
.hx-live .hx-stage:hover, .hx-stage.is-on { background: #F1F4FD; }
.hx-stage.is-on > span:first-child { font-weight: 700; color: var(--blue-d); }
.hx-link { cursor: pointer; }
.hx-link:hover { text-decoration: underline; }
.hx-records.is-list { grid-template-columns: minmax(0, 1fr); }
.hx-stagelist { display: flex; flex-direction: column; padding: 14px 16px; font-size: 14px; }
.hx-stagelist.is-in { animation: hx-in .3s ease both; }
.hx-stagelist > .hx-row { margin-bottom: 6px; }
.hx-sl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px 60px; align-items: center; gap: 10px; width: 100%; padding: 9px 6px; margin: 0 -6px; border-top: 1px solid #EEF0F6; border-radius: 6px; box-sizing: content-box; font-size: 13px; text-align: left; }
.hx-sl-row > b, .hx-sl-row > .hx-link { text-align: right; }
.hx-sl-row.is-link:hover { background: #F1F4FD; }

/* A record, opened over the dashboard */
.hx-win-main { position: relative; }
.hx-drawer { position: absolute; z-index: 3; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; border-left: 1px solid var(--line); background: #FFFFFF; box-shadow: -24px 0 48px -24px rgba(20,31,56,.35); overflow-y: auto; font-size: 13px; animation: hx-slide .3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hx-slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.hx-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hx-drawer-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hx-drawer-head b { font-size: 20px; letter-spacing: -.01em; outline: none; }
.hx-x { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 22px; line-height: 1; color: var(--soft); cursor: pointer; }
.hx-x:hover { background: var(--bg); color: var(--navy); }
.hx-who { display: flex; align-items: center; gap: 4px; }
.hx-who small { margin-right: 6px; font-size: 12px; color: var(--soft); }
.hx-rtabs { align-self: flex-start; }
.hx-drawer-body { display: flex; flex-direction: column; gap: 10px; }
.hx-rdeal { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; }
.hx-credit { align-self: flex-start; margin-top: 4px; padding: 3px 8px; border-radius: 6px; background: #F1ECFF; font-size: 11px; font-weight: 600; color: #5B3BC4; }
.hx-note { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.hx-note p { font-size: 13px; line-height: 1.5; color: var(--ink); }
.hx-chip-note { padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.n-partner { background: #F1ECFF; color: #5B3BC4; }
.n-shared { background: #EEF3FF; color: var(--blue-d); }
.n-internal { background: #FFF6EA; color: #8A4B0B; }
.hx-drawer .hx-step { width: 100%; text-align: left; }

/* RecordbookAI in the window: a thread that scrolls inside the panel */
.hx-win-ai { position: relative; }
.hx-ai-inner { display: flex; flex-direction: column; gap: 14px; height: 100%; }
@media (min-width:1081px){
	.hx-win-ai { padding: 0; }
	.hx-ai-inner { position: absolute; inset: 0; padding: 18px; }
}
.hx-thread { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.hx-exchange { display: flex; flex-direction: column; gap: 10px; }
.hx-exchange .hx-bubble { animation: hx-in .25s ease both; }
.hx-reply.is-in { animation: hx-in .35s ease both; }
.hx-reply.is-thinking { padding: 4px 0; }
.hx-dots { display: inline-flex; gap: 4px; }
.hx-dots i { width: 7px; height: 7px; border-radius: 50%; background: #9FBAF8; animation: hx-dot 1s ease infinite; }
.hx-dots i:nth-child(2) { animation-delay: .15s; }
.hx-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hx-dot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }
.hx-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.hx-kv span { padding: 8px; border-radius: 8px; background: var(--bg); }
.hx-kv small { display: block; font-size: 11px; color: var(--soft); }
.hx-kv b { font-size: 14px; }
.hx-ai-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.hx-ai-list li { position: relative; padding-left: 14px; }
.hx-ai-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hx-propose { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 10px; border: 1px solid #F6DDB8; border-radius: 10px; background: #FFFBF4; }
.hx-propose em { font-style: normal; font-weight: 600; color: #8A4B0B; }
.hx-propose .hx-ui-btn { padding: 6px 12px; font-size: 12px; border-radius: 8px; }
.hx-propose.is-done { border-color: #BFE6CD; background: #E8F7EE; color: #17663A; }
.hx-suggest { flex: 0 0 auto; }
.hx-suggest .hx-pill { height: auto; min-height: 28px; padding: 5px 12px; white-space: normal; text-align: left; transition: border-color .2s ease; }
.hx-suggest .hx-pill:hover { border-color: #9FBAF8; }
.hx-followup { width: 100%; transition: border-color .2s ease; }
.hx-followup:hover { border-color: #9FBAF8; }

/* The Board */
.hx-board-body { position: relative; }
.hx-filters .hx-pill { transition: border-color .2s ease; }
.hx-filters .hx-pill:hover:not(.on) { border-color: #9FBAF8; }
.hx-board[data-view="board"] .hx-deal { position: relative; transition: border-color .2s ease, box-shadow .2s ease; user-select: none; }
.hx-board[data-view="board"] .hx-deal:hover { border-color: #9FBAF8; box-shadow: 0 8px 18px -10px rgba(20,31,56,.35); }
.hx-board .hx-col { min-height: 120px; padding: 4px; margin: -4px; border-radius: 12px; transition: background-color .15s ease; }
.hx-col.is-over { background: #E8EEFF; box-shadow: inset 0 0 0 2px #9FBAF8; }
.hx-deal.is-lifted { opacity: .35; }
.hx-ghost { position: fixed; z-index: 9999; top: 0; left: 0; margin: 0; pointer-events: none; box-shadow: 0 20px 40px -12px rgba(20,31,56,.45); font-family: 'DM Sans', system-ui, sans-serif; font-size: 12px; }
.hx-board.is-dragging, .hx-board.is-dragging * { cursor: grabbing !important; }
.hx-move { position: absolute; z-index: 4; top: calc(100% + 6px); left: 0; right: 0; display: flex; flex-direction: column; gap: 2px; padding: 6px; border: 1px solid var(--line2); border-radius: 10px; background: #FFFFFF; box-shadow: 0 16px 32px -12px rgba(20,31,56,.35); animation: hx-in .2s ease both; }
.hx-move small { padding: 4px 8px; font-size: 11px; color: var(--soft); }
.hx-move button { padding: 7px 8px; border-radius: 6px; font-size: 13px; font-weight: 500; }
.hx-move button:hover, .hx-move button:focus-visible { background: #EEF3FF; color: var(--blue-d); }
.hx-board-hint { margin-top: 14px; font-size: 13px; color: var(--soft); }
.hx-board-hint[hidden] { display: none; }
.hx-toast { position: absolute; left: 50%; bottom: 18px; z-index: 5; width: max-content; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px; background: var(--navy); color: #FFFFFF; font-size: 13px; line-height: 1.45; box-shadow: 0 16px 40px -12px rgba(11,20,48,.6); opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.hx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.hx-board .hx-dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hx-board .hx-dtable, .hx-board .hx-dsteps { border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; }
.hx-board .hx-dtable { padding: 12px 14px 4px; }
.hx-board .hx-dsteps li { padding: 12px 14px; }

/* Co-selling tiles */
.hx-plan .hx-step { width: 100%; text-align: left; padding: 3px 4px; margin: -3px -4px; border-radius: 6px; box-sizing: content-box; transition: background-color .15s ease; }
.hx-plan .hx-step:hover { background: var(--bg); }
.hx-step .hx-box svg { opacity: 0; transition: opacity .15s ease; }
.hx-step.is-done .hx-box svg { opacity: 1; }
.hx-box { transition: background-color .15s ease, border-color .15s ease; }
.hx-guest:hover span { color: var(--blue-d); text-decoration: underline; }
.hx-guest.is-sent { cursor: default; }
.hx-guest.is-sent span { text-decoration: none; color: #17663A; }
.hx-guest.is-sent svg { color: #17A34A; }
.hx-ui-btn-dark:hover { background: #26375F; }
.hx-ui-btn-line:hover { border-color: #9FBAF8; }
.hx-reg-result { font-size: 13px; line-height: 1.5; color: var(--ink); animation: hx-in .3s ease both; }
.hx-reg-result[hidden], [data-hx-reg-btns][hidden] { display: none; }
[data-hx-reg-ok] b { color: #17663A; }
[data-hx-reg-no] b { color: #8A4B0B; }
.hx-undo { margin-left: 4px; font-weight: 600; color: var(--blue-d); cursor: pointer; }
.hx-undo:hover { text-decoration: underline; }
.hx-th button { font-weight: inherit; text-align: left; }
.hx-th button { white-space: nowrap; text-decoration: underline dotted #B8C0D6; text-underline-offset: 3px; }
.hx-th button.on { color: var(--navy); font-weight: 600; text-decoration: underline solid var(--blue); text-decoration-thickness: 2px; }
.hx-th button:hover { color: var(--navy); }
.hx-pick button { flex: 1; padding: 8px; border: 1px solid var(--line2); border-radius: 8px; text-align: left; transition: border-color .15s ease, background-color .15s ease, opacity .15s ease; }
.hx-pick button:hover { border-color: #9FBAF8; }
.hx-pick button.on { border: 1.5px solid var(--blue); background: #EEF3FF; }
.is-picked .hx-pick button:not(.on) { opacity: .5; }
.hx-sync-msg { font-size: 12px; }
.hx-sync-msg b { color: var(--navy); }
.hx-dotline { width: 100%; padding: 3px 4px; margin: -3px -4px; border-radius: 6px; box-sizing: content-box; text-align: left; transition: background-color .15s ease, color .15s ease; }
.hx-dotline:hover { background: var(--bg); }
.hx-dotline.is-read { color: var(--soft); text-decoration: line-through; }
.hx-dotline.is-read i { background: #17A34A; }
.hx-digest-left { font-weight: 600; color: var(--blue-d); }

/* Your AI: the chats play in */
.hx-chat figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hx-replay { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #3A4B7E; border-radius: 8px; color: #9FB4E8; cursor: pointer; }
.hx-replay:hover { border-color: var(--blue-l); color: #FFFFFF; }
.hx-chat.is-waiting > :not(figcaption) { opacity: 0; }
.hx-chat.is-played .hx-chat-you { animation: hx-in .4s ease both; }
.hx-chat.is-played code { animation: hx-in .4s ease .7s both, hx-run 1s ease .7s 1; }
.hx-chat.is-played .hx-chat-ai { animation: hx-in .5s ease 1.5s both; }
@keyframes hx-run { 0%, 100% { border-color: #3A4B7E; } 50% { border-color: var(--blue-l); color: #FFFFFF; } }
.hx-proposal { transition: border-color .2s ease, background-color .2s ease; }
.hx-proposal.is-done { border-color: #2F7A4F; background: #10301F; }
.hx-proposal.is-done > span:first-child { color: #B8F0CC; }
.hx-proposal.is-done .hx-ui-btn { background: none; border: 1px solid #3A4B7E; }

@media (max-width:1080px){
	.hx-dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hx-thread { max-height: 380px; }
}
@media (max-width:760px){
	.hx-tour { margin-bottom: 14px; }
	.hx-tour-label { display: none; }
	.hx-tour-steps { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
	.hx-tour-step { flex: none; font-size: 13px; }
	.hx-tour-tip { font-size: 14px; }
	.hx-win-ai { border-top: 1px solid var(--line); }
	.hx-drawer { width: 100%; border-left: 0; }
	.hx-dtr { grid-template-columns: minmax(0, 1.4fr) .8fr 1fr; }
	.hx-dtr > span:nth-child(4), .hx-dtr > span:nth-child(5) { display: none; }
	.hx-dcards, .hx-board .hx-dcards { grid-template-columns: minmax(0, 1fr); }
	.hx-dsteps li { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; font-size: 13px; }
	.hx-dsteps li .hx-reason { grid-row: 2; font-size: 12px; }
	.hx-dsteps li .hx-act { grid-row: 1 / span 2; grid-column: 2; }
	.hx-board-top .hx-seg { overflow-x: auto; max-width: 100%; }
	.hx-sl-row { grid-template-columns: minmax(0, 1fr) 56px 44px; }
	.hx-sl-row > .hx-tag { display: none; }
	.hx-callout-area { left: -4px; }
	.hx-callout-try { right: -4px; }
}

@media (prefers-reduced-motion: reduce){
	.hx *, .hx *::before, .hx *::after { animation: none !important; transition: none !important; }
}
.hx .hx-drawer-head b:focus, .hx .hx-drawer-head b:focus-visible { outline: none; }
@media (min-width:761px){ .hx-live .hx-board-body { min-height: 352px; } }
@media (max-width:760px){ .hx-drawer { bottom: auto; max-height: 100%; border-radius: 0 0 14px 14px; box-shadow: 0 0 0 100vmax rgba(20,31,56,.28), 0 20px 40px -12px rgba(20,31,56,.35); } }
