
.btn {
	display: inline-flex;
	align-items: center;

	justify-content: center;
	gap: 0.65rem;
	height: var(--control-h, 48px);
	min-height: var(--control-h, 48px);
	padding: 0 1.4rem;

	font-family: var(--woko-b9a);
	font-size: var(--text-sm);
	font-weight: 500;
	letter-spacing: -0.01em;
	border-radius: var(--radius, 2px);
	cursor: pointer;
	white-space: nowrap;
	line-height: 1;
	text-decoration: none;
	transition: background-color var(--duration-fast) var(--ease-out-editorial),
							border-color var(--duration-fast) var(--ease-out-editorial),
							color var(--duration-fast) var(--ease-out-editorial),
							box-shadow var(--duration-fast) var(--ease-out-editorial),
							transform var(--duration-fast) var(--ease-out-editorial);
	border: 1px solid transparent;
	user-select: none;
}

/* Primary Accent Button (Strict 10% electric cyan rule) */
.btn-primary {
	background-color: var(--accent);
	color: var(--accent-ink);
	border-color: var(--accent);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
	background-color: #55D2F0;
	border-color: #55D2F0;
	box-shadow: 0 4px 14px rgba(53, 196, 230, 0.35);
}

.btn-primary:active {
	background-color: #27A8C7;
	border-color: #27A8C7;
	transform: translateY(1px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.btn-primary:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: 3px;
}

.btn-secondary {
	background-color: transparent;
	color: var(--ink);
	border-color: var(--line);
}

.btn-secondary:hover {
	background-color: var(--surface-2);
	border-color: var(--accent);
	color: var(--accent);
}

.btn-secondary:active {
	background-color: var(--surface);
	transform: translateY(1px);
	border-color: var(--ink-soft);
}

.btn-secondary:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* Subdued / Text Action Button */
.btn-text {
	background-color: transparent;
	color: var(--ink-soft);
	border-color: transparent;
	padding-inline: 0.75rem;
}

.btn-text:hover {
	color: var(--ink);
	background-color: var(--surface);
}

.btn-text:active {
	transform: translateY(1px);
	color: var(--accent);
}

.btn-text:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 90;
	background-color: rgba(14, 20, 36, 0.94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	height: var(--header-height);
	transition: transform var(--duration-normal) var(--ease-out-editorial),
							background-color var(--duration-fast) var(--ease-out-editorial);
	will-change: transform;
}

/* Header Slide-Out on Downward Scroll */
.site-header.header--hidden {
	transform: translateY(-100%);
}

.site-header.header--condensed {
	height: var(--header-condensed-height);
	background-color: rgba(14, 20, 36, 0.98);
}

.header-inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Wordmark & Logo Container */
.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	min-height: 44px;
	flex-shrink: 0;
	transition: opacity var(--duration-fast) var(--ease-out-editorial);
}

.brand:hover {
	opacity: 0.9;
}

.brand:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 4px;
}

.brand img {
	height: 2.1rem;
	width: auto;
	max-width: 38vw; /* Rule: Wordmark under two fifths of phone screen */
	display: block;
}

/* Symmetrical Split Navigation for Desktop */
.nav-desktop {
	display: none;
	align-items: center;
	gap: 1.75rem;
}

@media (min-width: 960px) {
	.nav-desktop {
		display: flex;
	}
}

.nav-link {
	font-family: var(--woko-b9a);
	font-size: var(--text-sm);
	color: var(--ink-soft);
	text-decoration: none;
	position: relative;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.4rem;
	letter-spacing: -0.01em;
	transition: color var(--duration-fast) var(--ease-out-editorial);
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: 8px;
	left: 0.4rem;
	right: 0.4rem;
	height: 1px;
	background-color: var(--accent);
	opacity: 0;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform var(--duration-fast) var(--ease-out-editorial),
							opacity var(--duration-fast) var(--ease-out-editorial);
}

.nav-link:hover {
	color: var(--ink);
}

.nav-link:hover::after {
	opacity: 1;
	transform: scaleX(1);
}

.nav-link:active {
	color: var(--accent);
}

.nav-link[aria-current="page"] {
	color: var(--ink);
	font-weight: 600;
}

.nav-link[aria-current="page"]::after {
	opacity: 1;
	transform: scaleX(1);
}

/* Header Action Call to Action */
.header-action {
	display: none;
}

@media (min-width: 960px) {
	.header-action {
		display: flex;
		align-items: center;
		gap: 1rem;
	}
}

.mobile-dock {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 100;
	height: var(--dock-height);
	background-color: rgba(14, 20, 36, 0.98);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
	padding-bottom: env(safe-area-inset-bottom, 0);
	display: flex;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}

@media (min-width: 960px) {
	.mobile-dock {
		display: none;
	}
}

.dock-list {
	display: flex;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dock-item {
	flex: 1 1 0;
	height: 100%;
}

.dock-link,
.dock-toggle {
	appearance: none;
	-webkit-appearance: none;
	background: none;
	border: 0;
	font: inherit;
	color: var(--ink-soft);
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 44px;
	padding: 0.35rem 0.2rem;
	gap: 0.25rem;
	cursor: pointer;
	transition: color var(--duration-fast) var(--ease-out-editorial),
							background-color var(--duration-fast) var(--ease-out-editorial);
	user-select: none;
}

.dock-icon {
	width: 22px;
	height: 22px;
	stroke-width: 2;
	transition: transform var(--duration-fast) var(--ease-out-editorial);
}

.dock-label {
	font-family: var(--woko-e8c);
	font-size: 11px;
	letter-spacing: 0.02em;
	white-space: nowrap;
	line-height: 1;
}

.dock-link:hover,
.dock-toggle:hover {
	color: var(--ink);
	background-color: var(--surface);
}

.dock-link:active,
.dock-toggle:active {
	color: var(--accent);
	background-color: var(--surface-2);
}

.dock-link:active .dock-icon,
.dock-toggle:active .dock-icon {
	transform: scale(0.92);
}

.dock-link[aria-current="page"] {
	color: var(--accent);
	font-weight: 600;
}

.dock-toggle[aria-expanded="true"] {
	color: var(--accent);
	background-color: var(--surface);
}

/* 4. FULL NAVIGATION DRAWER (Activated by Dock "Menu" or Desktop Controls) */
.nav-drawer {

	position: fixed;
	inset: 0;
	z-index: 95;
	background-color: rgba(14, 20, 36, 0.98);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(1.5rem, 4vw, 3rem);
	opacity: 0;
	pointer-events: none;
	transform: translateY(100%);
	transition: transform var(--duration-normal) var(--ease-out-editorial),
							opacity var(--duration-normal) var(--ease-out-editorial);
	overflow-y: auto;
}

.nav-drawer.drawer--open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
	padding-bottom: 1.25rem;
}

.drawer-close {
	appearance: none;
	background: transparent;
	border: 1px solid var(--line);
	color: var(--ink);
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-xs);
	cursor: pointer;
	transition: background-color var(--duration-fast) var(--ease-out-editorial),
							border-color var(--duration-fast) var(--ease-out-editorial),
							color var(--duration-fast) var(--ease-out-editorial);
}

.drawer-close:hover {
	background-color: var(--surface-2);
	border-color: var(--accent);
	color: var(--accent);
}

.drawer-close:active {
	transform: scale(0.95);
}

.drawer-nav {
	margin-block: 2rem;
}

.drawer-nav-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.drawer-nav-link {
	font-family: var(--woko-9cc);
	font-size: var(--text-2xl);
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 0.5rem;
	border-bottom: 1px solid rgba(62, 72, 97, 0.4);
	transition: color var(--duration-fast) var(--ease-out-editorial),
							padding-left var(--duration-fast) var(--ease-out-editorial);
}

.drawer-nav-link:hover {
	color: var(--accent);
	padding-left: 0.5rem;
}

.drawer-nav-link:active {
	color: #55D2F0;
}

.drawer-nav-link[aria-current="page"] {
	color: var(--accent);
}

.drawer-footer {
	border-top: 1px solid var(--line);
	padding-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-family: var(--woko-b9a);
	font-size: var(--text-xs);
	color: var(--ink-soft);
}

.spec-table-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--line);
	background-color: var(--surface);
	border-radius: var(--radius-xs);
	margin-block: 1.5rem;
}

.spec-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: var(--text-sm);
}

.spec-table th,
.spec-table td {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.spec-table th {
	background-color: var(--ground);
	font-family: var(--woko-b9a);
	font-size: var(--text-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ink-soft);
	white-space: nowrap;
}

.spec-table tr:last-child td {
	border-bottom: none;
}

.spec-table tr:hover td {
	background-color: rgba(35, 44, 67, 0.4);
}

.spec-price {
	font-family: var(--woko-b9a);
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}

/* Structural Detail Cards (Editorial Layout, No SaaS Gradients) */
.ledger-card {
	background-color: var(--surface);
	border: 1px solid var(--line);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--radius-xs);
	position: relative;
	transition: border-color var(--duration-fast) var(--ease-out-editorial),
							transform var(--duration-fast) var(--ease-out-editorial);
}

.ledger-card:hover {
	border-color: rgba(53, 196, 230, 0.5);
	transform: translateY(-2px);
}

.ledger-card-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 1px solid var(--line);
	padding-bottom: 0.75rem;
	margin-bottom: 1.25rem;
	gap: 1rem;
}

.ledger-card-title {
	font-family: var(--woko-9cc);
	font-size: var(--text-xl);
	font-weight: 700;
	color: var(--ink);
}

.ledger-card-price {
	font-family: var(--woko-b9a);
	font-size: var(--text-sm);
	color: var(--accent);
	white-space: nowrap;
	font-weight: 500;
}

.inquiry-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	background-color: var(--surface);
	border: 1px solid var(--line);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border-radius: var(--radius-xs);
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 640px) {
	.form-grid-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	position: relative;
}

.form-label {
	font-family: var(--woko-b9a);
	font-size: var(--text-xs);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ink-soft);
	display: flex;
	justify-content: space-between;
}

.form-label .optional {
	text-transform: none;
	font-style: italic;
	letter-spacing: normal;
	color: var(--ink-soft);
	opacity: 0.8;
}

.form-input,
.form-select,
.form-textarea {
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	height: var(--control-h, 48px);
	min-height: var(--control-h, 48px);
	background-color: var(--surface-2);
	border: 1px solid var(--line);
	color: var(--ink);
	font-family: var(--woko-e8c);
	font-size: var(--text-base);
	padding: 0 1rem;
	border-radius: var(--radius, 2px);
	transition: border-color var(--duration-fast) var(--ease-out-editorial),
							background-color var(--duration-fast) var(--ease-out-editorial),
							box-shadow var(--duration-fast) var(--ease-out-editorial);
}

.form-textarea {
	height: auto;
	min-height: 110px;
	padding: 0.65rem 1rem;
	resize: vertical;
	line-height: var(--leading-normal);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
	border-color: rgba(53, 196, 230, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--accent);
	background-color: #1A2236;
	box-shadow: 0 0 0 3px var(--accent-muted);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
	border-color: var(--error);
	background-color: var(--error-bg);
}

.form-error {
	font-family: var(--woko-b9a);
	font-size: var(--text-xs);
	color: var(--error);
	display: none;
	margin-top: 0.25rem;
}

.form-error.is-visible {
	display: block;
}

.form-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: var(--text-sm);
	color: var(--ink-soft);
	cursor: pointer;
	line-height: var(--leading-normal);
}

.form-checkbox {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	min-width: 20px;
	border: 1px solid var(--line);
	background-color: var(--surface-2);
	border-radius: var(--radius-xs);
	margin-top: 0.15rem;
	cursor: pointer;
	display: grid;
	place-content: center;
	transition: border-color var(--duration-fast) var(--ease-out-editorial),
							background-color var(--duration-fast) var(--ease-out-editorial);
}

.form-checkbox::before {
	content: "";
	width: 10px;
	height: 10px;
	background-color: var(--accent-ink);
	transform: scale(0);
	transition: transform var(--duration-fast) var(--ease-out-editorial);
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.form-checkbox:checked {
	background-color: var(--accent);
	border-color: var(--accent);
}

.form-checkbox:checked::before {
	transform: scale(1);
}

.form-checkbox:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

/* Visually Hidden Honeypot & Timestamp Containers */
.form-hp {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-footer {
	background-color: var(--ground);
	border-top: 1px solid var(--line);
	padding-block: clamp(2rem, 3.5vw, 3rem);
	text-align: center;
}

.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	max-width: 900px;
	margin-inline: auto;
}

.footer-brand img {
	height: 2.4rem;
	width: auto;
	display: block;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem 2rem;
}

.footer-nav-link {
	font-family: var(--woko-b9a);
	font-size: var(--text-sm);
	color: var(--ink-soft);
	text-decoration: none;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	transition: color var(--duration-fast) var(--ease-out-editorial);
}

.footer-nav-link:hover {
	color: var(--accent);
}

.footer-nav-link:active {
	color: #55D2F0;
}

.footer-facts {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-family: var(--woko-b9a);
	font-size: var(--text-sm);
	color: var(--ink-soft);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding-block: 0.85rem;
	width: 100%;
}

@media (min-width: 768px) {
	.footer-facts {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 1rem 2rem;
	}
}

.footer-contact-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.footer-contact-item a {
	color: var(--ink);
	text-decoration: none;
	transition: color var(--duration-fast) var(--ease-out-editorial);
}

.footer-contact-item a:hover {
	color: var(--accent);
}

.footer-contact-item a:active {
	color: #55D2F0;
}

.footer-legal-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem 1.25rem;
	font-family: var(--woko-b9a);
	font-size: var(--text-xs);
	color: var(--ink-soft);
}

.footer-legal-link {
	color: var(--ink-soft);
	text-decoration: none;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	transition: color var(--duration-fast) var(--ease-out-editorial);
}

.footer-legal-link:hover {
	color: var(--accent);
}

.footer-legal-link:active {
	color: #55D2F0;
}

.footer-legal-button {
	appearance: none;
	-webkit-appearance: none;
	background: none;
	border: 0;
	border-radius: var(--radius, 2px);
	font: inherit;
	font-family: var(--woko-b9a);
	font-size: var(--text-xs);
	color: var(--ink-soft);
	cursor: pointer;
	height: var(--control-h, 48px);
	min-height: var(--control-h, 48px);
	padding: 0;
	display: inline-flex;
	align-items: center;
	transition: color var(--duration-fast) var(--ease-out-editorial);
}

.footer-legal-button:hover {
	color: var(--accent);
}

.footer-legal-button:active {
	color: #55D2F0;
}

.footer-copy {
	font-size: var(--text-xs);
	color: var(--ink-soft);
	opacity: 0.8;
}

.consent-banner {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 105;
	background-color: rgba(23, 30, 50, 0.98);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
	padding: 0.75rem 1rem;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
	transform: translateY(120%);
	transition: transform var(--duration-normal) var(--ease-out-editorial);
}

.consent-banner.banner--visible {
	transform: translateY(0);
}

/* On mobile, keep banner extremely compact and unobtrusive */
@media (max-width: 959px) {
	.consent-banner {
		bottom: var(--dock-height);
		padding: 0.5rem 0.85rem;
		padding-bottom: 0.6rem;
	}
}

.consent-inner {
	max-width: var(--container-max);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: stretch;
}

@media (min-width: 768px) {
	.consent-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1.5rem;
	}
}

.consent-copy {
	font-family: var(--woko-e8c);
	font-size: var(--text-sm);
	color: var(--ink);
	line-height: var(--leading-snug);
	margin-bottom: 0;
}

.consent-link {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.consent-actions {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
}

.consent-btn {
	appearance: none;
	-webkit-appearance: none;
	font-family: var(--woko-b9a);
	font-size: var(--text-xs);
	font-weight: 500;
	padding: 0.5rem 1rem;
	min-height: 44px;
	border-radius: var(--radius-xs);
	cursor: pointer;
	transition: background-color var(--duration-fast) var(--ease-out-editorial),
							border-color var(--duration-fast) var(--ease-out-editorial),
							color var(--duration-fast) var(--ease-out-editorial),
							transform var(--duration-fast) var(--ease-out-editorial);
	white-space: nowrap;
}

.consent-btn-accept {
	background-color: var(--accent);
	color: var(--accent-ink);
	border: 1px solid var(--accent);
}

.consent-btn-accept:hover {
	background-color: #55D2F0;
	border-color: #55D2F0;
}

.consent-btn-accept:active {
	transform: translateY(1px);
}

.consent-btn-accept:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: 2px;
}

.consent-btn-decline {
	background-color: transparent;
	color: var(--ink-soft);
	border: 1px solid var(--line);
}

.consent-btn-decline:hover {
	background-color: var(--surface-2);
	color: var(--ink);
	border-color: var(--ink-soft);
}

.consent-btn-decline:active {
	transform: translateY(1px);
}

.consent-btn-decline:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.chat-launcher {
	position: fixed;
	right: clamp(1rem, 3vw, 2rem);
	bottom: clamp(1rem, 3vw, 2rem);
	z-index: 85;
	width: 52px;
	height: 52px;
	min-height: 44px;
	border-radius: var(--radius-xs);
	background-color: var(--surface-2);
	border: 1px solid var(--accent);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
	transition: background-color var(--duration-fast) var(--ease-out-editorial),
							border-color var(--duration-fast) var(--ease-out-editorial),
							color var(--duration-fast) var(--ease-out-editorial),
							transform var(--duration-fast) var(--ease-out-editorial),
							bottom var(--duration-normal) var(--ease-out-editorial);
	user-select: none;
}

@media (max-width: 959px) {
	.chat-launcher {
		bottom: calc(var(--dock-height) + 0.5rem);
		right: 0.75rem;
		width: 44px;
		height: 44px;
		z-index: 106;
	}
	.consent-banner.banner--visible ~ * .chat-launcher,
	body:has(.consent-banner.banner--visible) .chat-launcher,
	body:has(.consent-banner) .chat-launcher {
		bottom: calc(var(--dock-height) + 90px);
	}
}

.chat-launcher:hover {
	background-color: var(--accent);
	color: var(--accent-ink);
	border-color: var(--accent);
	transform: translateY(-2px);
}

.chat-launcher:active {
	transform: translateY(1px);
	background-color: #27A8C7;
}

.chat-launcher:focus-visible {
	outline: 2px solid #FFFFFF;
	outline-offset: 3px;
}

.chat-launcher-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background-color: var(--error);
	color: #FFFFFF;
	font-family: var(--woko-b9a);
	font-size: 10px;
	font-weight: 700;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.chat-launcher-badge.badge--visible {
	display: flex;
}

/* Chat Flyout Panel */
.chat-panel {
	position: fixed;
	right: clamp(1rem, 3vw, 2rem);
	bottom: clamp(5rem, 8vw, 6rem);
	z-index: 110;
	width: min(380px, calc(100vw - 2rem));
	height: min(520px, calc(100vh - 8rem));
	background-color: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-xs);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
	display: flex;
	flex-direction: column;
	opacity: 0;
	pointer-events: none;
	transform: translateY(20px) scale(0.96);
	transition: transform var(--duration-normal) var(--ease-out-editorial),
							opacity var(--duration-normal) var(--ease-out-editorial);
}

.chat-panel.panel--open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

@media (max-width: 959px) {
	.chat-panel {
		bottom: calc(var(--dock-height) + 1rem);
		right: 1rem;
		left: 1rem;
		width: auto;
	}
}

.chat-panel-header {
	padding: 1rem;
	background-color: var(--ground);
	border-bottom: 1px solid var(--line);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.chat-panel-title {
	font-family: var(--woko-9cc);
	font-size: var(--text-md);
	font-weight: 700;
	color: var(--ink);
}

.chat-panel-close {
	appearance: none;
	-webkit-appearance: none;
	background: none;
	border: none;
	color: var(--ink-soft);
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: var(--radius-xs);
	transition: color var(--duration-fast) var(--ease-out-editorial),
							background-color var(--duration-fast) var(--ease-out-editorial);
}

.chat-panel-close:hover {
	color: var(--ink);
	background-color: var(--surface-2);
}

.chat-panel-close:active {
	transform: scale(0.92);
}

.chat-panel-body {
	flex: 1;
	overflow-y: auto;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.chat-msg {
	max-width: 85%;
	padding: 0.65rem 0.85rem;
	border-radius: var(--radius-xs);
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
}

.chat-msg-agent {
	align-self: flex-start;
	background-color: var(--surface-2);
	color: var(--ink);
	border: 1px solid var(--line);
}

.chat-msg-user {
	align-self: flex-end;
	background-color: var(--accent);
	color: var(--accent-ink);
	font-weight: 500;
}

.chat-panel-footer {
	padding: 0.75rem;
	border-top: 1px solid var(--line);
	background-color: var(--ground);
}

.chat-form {
	display: flex;
	gap: 0.5rem;
}

.chat-input {
	flex: 1;
	min-height: 44px;
	background-color: var(--surface-2);
	border: 1px solid var(--line);
	color: var(--ink);
	font-family: var(--woko-e8c);
	font-size: 16px;
	padding: 0.4rem 0.75rem;
	border-radius: var(--radius-xs);
}

@media (max-width: 48rem) {
	.chat-input {
		font-size: 16px !important;
	}
}

.chat-input:focus {
	outline: none;
	border-color: var(--accent);
}

.chat-send-btn {
	appearance: none;
	-webkit-appearance: none;
	background-color: var(--accent);
	color: var(--accent-ink);
	border: 0;
	width: 40px;
	height: 40px;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-xs);
	cursor: pointer;
	transition: background-color var(--duration-fast) var(--ease-out-editorial),
							transform var(--duration-fast) var(--ease-out-editorial);
}

.chat-send-btn:hover {
	background-color: #55D2F0;
}

.chat-send-btn:active {
	transform: translateY(1px);
}
