.site-masthead {
	position: relative;
	z-index: var(--z-header);
	background-color: var(--ground);
	border-bottom: 2px solid var(--ink);
	width: 100%;
}


.masthead-topbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2) var(--space-4);
	padding: var(--space-2) var(--container-pad);
	border-bottom: 1px solid var(--border);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-muted);
	background-color: var(--surface);
	letter-spacing: 0.02em;
}


.masthead-topbar-left,
.masthead-topbar-right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-3) var(--space-5);
}


.topbar-item {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
}


.topbar-item a {
	color: var(--ink-muted);
	text-decoration: none;
}


.topbar-item a:hover {
	color: var(--accent);
	text-decoration: underline;
}


.status-dot {
	width: 7px;
	height: 7px;
	border-radius: var(--radius-pill);
	background-color: #10b981;
	display: inline-block;
}


.masthead-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-2);
	padding: var(--space-3) var(--container-pad);
	background-color: var(--ground);
}


.brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	line-height: 1;
	flex-shrink: 1;
	min-width: 0;
}


.brand img {
	height: 2rem;
	max-width: 100%;
	width: auto;
	display: block;
}


@media (max-width: 480px) {
	.brand img { height: 1.65rem; }
}


.masthead-tagline {
	display: none;
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-muted);
	max-width: 44ch;
	line-height: 1.45;
	border-left: 1px solid var(--border);
	padding-left: var(--space-4);
	margin-left: var(--space-4);
}


@media (min-width: 900px) {
	.masthead-tagline { display: block; }
}


.masthead-actions {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	margin-left: auto;
	flex-shrink: 0;
}


.nav-toggle-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: 44px;
	min-width: 44px;
	padding: var(--space-2) var(--space-3);
	border: 1px solid var(--ink);
	background-color: var(--surface);
	color: var(--ink);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: var(--radius-xs);
	cursor: pointer;
	transition: background-color var(--dur-fast) var(--ease-default), border-color var(--dur-fast) var(--ease-default), color var(--dur-fast) var(--ease-default);
}


.nav-toggle-btn:hover {
	background-color: var(--ink);
	color: var(--ink-inverse);
	border-color: var(--ink);
}


.nav-toggle-btn:active {
	background-color: var(--accent-deep);
	border-color: var(--accent-deep);
	color: var(--ink-inverse);
}


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


@media (min-width: 992px) {
	.nav-toggle-btn { display: none; }
}


.masthead-tabs {
	border-top: 1px solid var(--border);
	background-color: var(--surface);
	position: relative;
}


.nav-list {
	display: flex;
	flex-direction: column;
	list-style: none;
	width: 100%;
}


.nav-link {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	min-height: 44px;
	padding: var(--space-3) var(--container-pad);
	font-family: var(--rega-4f7);
	font-size: var(--text-sm);
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--border-subtle);
	transition: background-color var(--dur-fast) var(--ease-default), color var(--dur-fast) var(--ease-default), padding-left var(--dur-fast) var(--ease-default);
}


.nav-link:hover {
	background-color: var(--surface-alt);
	color: var(--accent);
	padding-left: calc(var(--container-pad) + 4px);
}


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


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


.nav-link[aria-current='page'] {
	background-color: var(--ground);
	color: var(--accent-deep);
	font-weight: 600;
	border-left: 3px solid var(--accent);
}


@media (max-width: 991px) {

	.masthead-tabs { display: none; }


	.masthead-tabs.is-open {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		box-shadow: var(--shadow-lg);
		border-bottom: 2px solid var(--ink);
	}
}


@media (min-width: 992px) {
	.masthead-tabs { display: block !important; }


	.nav-list {
		flex-direction: row;
		flex-wrap: wrap;
		padding: 0 var(--container-pad);
	}


	.nav-item { display: flex; }


	.nav-link {
		padding: var(--space-2) var(--space-3);
		min-height: 44px;
		border-bottom: 2px solid transparent;
		border-right: 1px solid var(--border);
		font-size: var(--text-xs);
		letter-spacing: 0.01em;
		white-space: nowrap;
	}


	.nav-item:first-child .nav-link { border-left: 1px solid var(--border); }


	.nav-link:hover {
		background-color: var(--surface-alt);
		color: var(--accent);
		padding-left: var(--space-3);
	}


	.nav-link[aria-current='page'] {
		background-color: var(--ground);
		border-bottom: 2px solid var(--accent);
		border-left: none;
		color: var(--accent-deep);
	}
}


.site-masthead.is-scrolled { box-shadow: var(--shadow-md); }


.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: 44px;
	padding: 0.65rem 1.4rem;
	font-family: var(--rega-4f7);
	font-size: var(--text-sm);
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	line-height: 1.2;
	letter-spacing: 0.02em;
	border-radius: var(--radius-xs);
	cursor: pointer;
	white-space: normal;
	word-break: keep-all;
	border: 1px solid transparent;
	transition: background-color var(--dur-fast) var(--ease-default), border-color var(--dur-fast) var(--ease-default), color var(--dur-fast) var(--ease-default), box-shadow var(--dur-fast) var(--ease-default), transform var(--dur-fast) var(--ease-default);
}


.btn-primary {
	background-color: var(--ink);
	border-color: var(--ink);
	color: var(--ink-inverse);
	box-shadow: var(--shadow-sm);
}


.btn-primary:hover {
	background-color: var(--accent-deep);
	border-color: var(--accent-deep);
	color: #fff;
	box-shadow: var(--shadow-md);
}


.btn-primary:active {
	background-color: #024e79;
	border-color: #024e79;
	color: #fff;
	transform: translateY(1px);
}


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


.btn-secondary {
	background-color: var(--surface-alt);
	border-color: var(--border);
	color: var(--ink);
}


.btn-secondary:hover,
button.btn-secondary:hover,
button#expand-all-disclosures:hover,
button#collapse-all-disclosures:hover {
	background-color: var(--ink) !important;
	border-color: var(--ink) !important;
	color: var(--ink-inverse) !important;
	box-shadow: var(--shadow-sm);
	transform: translateY(-1px);
}


.btn-secondary:active,
button.btn-secondary:active,
button#expand-all-disclosures:active,
button#collapse-all-disclosures:active {
	background-color: var(--accent-deep) !important;
	border-color: var(--accent-deep) !important;
	color: #fff !important;
	transform: translateY(1px);
	box-shadow: none;
}


.btn-secondary:focus-visible,
button.btn-secondary:focus-visible,
button#expand-all-disclosures:focus-visible,
button#collapse-all-disclosures:focus-visible {
	outline: 2px solid var(--accent) !important;
	outline-offset: 2px;
}


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


.btn-outline:hover {
	background-color: var(--ink);
	border-color: var(--ink);
	color: var(--ink-inverse);
}


.btn-outline:active {
	background-color: var(--accent-deep);

	border-color: var(--accent-deep);

	color: #fff;
	transform: translateY(1px);
}


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


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


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


.btn-ghost:active {
	background-color: var(--accent-wash);
	color: var(--accent-deep);
	transform: translateY(1px);
}


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


.btn-sm {
	min-height: 44px;
	padding: 0.45rem 0.95rem;
	font-size: var(--text-xs);
}


.btn-lg {
	min-height: 52px;
	padding: 0.85rem 1.85rem;
	font-size: var(--text-base);
}


.btn-block {
	display: flex;
	width: 100%;
}


.icon {
	width: 1.15em;
	height: 1.15em;
	fill: currentColor;
	display: inline-block;
	vertical-align: -0.18em;
	flex-shrink: 0;
	transition: transform var(--dur-fast) var(--ease-default);
}


.icon-xs {
	width: 0.85em;
	height: 0.85em;
}


.icon-sm {
	width: 1em;
	height: 1em;
}


.icon-lg {
	width: 1.5em;
	height: 1.5em;
}


.icon-xl {
	width: 2em;
	height: 2em;
}


.story-tile {
	background-color: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	position: relative;
	transition: border-color var(--dur-fast) var(--ease-default), box-shadow var(--dur-fast) var(--ease-default);
}


.story-tile:hover {
	border-color: var(--ink-muted);
	box-shadow: var(--shadow-md);
}


.story-tile-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin-bottom: var(--space-4);
	padding-bottom: var(--space-3);
	border-bottom: 1px solid var(--border-subtle);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-muted);
}


.story-tile-title {
	font-size: var(--text-xl);
	font-weight: 700;
	margin-bottom: var(--space-3);
	color: var(--ink);
}


.story-tile-title a {
	color: inherit;
	text-decoration: none;
}


.story-tile-title a:hover { color: var(--accent); }


.story-tile-body {
	font-size: var(--text-sm);
	color: var(--ink-muted);
	line-height: 1.65;
	margin-bottom: var(--space-6);
	flex-grow: 1;
}


.story-tile-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	margin-top: auto;
	padding-top: var(--space-4);
	border-top: 1px solid var(--border-subtle);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
}


.statutory-card {
	background-color: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	transition: border-color var(--dur-fast) var(--ease-default), box-shadow var(--dur-fast) var(--ease-default);
}


.statutory-card:hover {
	border-color: var(--accent);
	box-shadow: var(--shadow-card);
}


.card-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	padding: 0.2rem 0.55rem;
	background-color: var(--surface-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink);
	font-weight: 500;
	margin-bottom: var(--space-3);
	align-self: flex-start;
}


.card-title {
	font-size: var(--text-lg);
	font-weight: 700;
	margin-bottom: var(--space-2);
	color: var(--ink);
}


.card-price {
	font-family: var(--rega-4f7);
	font-size: var(--text-md);
	font-weight: 600;
	color: var(--accent-deep);
	margin-bottom: var(--space-4);
	padding-bottom: var(--space-3);
	border-bottom: 1px solid var(--border-subtle);
}


.card-text {
	font-size: var(--text-sm);
	color: var(--ink-muted);
	line-height: 1.62;
	margin-bottom: var(--space-6);
	flex-grow: 1;
}


.card-meta-list {
	list-style: none;
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-muted);
	margin-bottom: var(--space-5);
	border-top: 1px dashed var(--border);
	padding-top: var(--space-3);
}


.card-meta-item {
	display: flex;
	justify-content: space-between;
	padding: var(--space-1) 0;
}


.card-meta-label { color: var(--ink-light); }


.card-meta-val {
	color: var(--ink);
	font-weight: 500;
}


.record-tile {
	background-color: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	padding: var(--space-4);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink);
	border-radius: var(--radius-xs);
}


.record-num {
	font-weight: 600;
	color: var(--ink);
	margin-bottom: var(--space-1);
}


.record-desc {
	color: var(--ink-muted);
	line-height: 1.45;
}


.pill-tag {
	display: inline-flex;
	align-items: center;
	gap: var(--space-1);
	padding: 0.15rem 0.5rem;
	border-radius: var(--radius-pill);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	font-weight: 500;
	border: 1px solid var(--border);
	background-color: var(--surface);
	color: var(--ink-muted);
}


.pill-tag-active {
	background-color: var(--accent-wash);
	border-color: var(--accent);
	color: var(--accent-deep);
}


.lahu8a6 {
	width: 100%;
	overflow-x: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background-color: #fff;
	margin-bottom: var(--space-6);
	-webkit-overflow-scrolling: touch;
}


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


.spec-table th,
.spec-table td {
	padding: var(--space-3) var(--space-4);
	border-bottom: 1px solid var(--border-subtle);
	vertical-align: top;
}


.spec-table th {
	background-color: var(--surface);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--ink);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--border);
}


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


.spec-table tr:hover td { background-color: var(--surface-alt); }


.spec-table .col-mono {
	font-family: var(--rega-4f7);
	white-space: nowrap;
}


.spec-table .col-price {
	font-family: var(--rega-4f7);
	font-weight: 600;
	color: var(--accent-deep);
	white-space: nowrap;
}


.inquiry-form {
	background-color: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}


.form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-4);
}


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


.form-group {
	display: flex;
	flex-direction: column;
	gap: var(--space-1);
}


.form-label {
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: 0.02em;
}


.form-label-hint {
	font-weight: 400;
	color: var(--ink-light);
	font-size: var(--text-xs);
}


.form-input,
.form-select,
.form-textarea {
	width: 100%;
	min-height: 44px;
	padding: 0.55rem 0.85rem;
	background-color: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	font-family: var(--rega-4f7);
	font-size: var(--text-sm);
	color: var(--ink);
	transition: border-color var(--dur-fast) var(--ease-default), background-color var(--dur-fast) var(--ease-default), box-shadow var(--dur-fast) var(--ease-default);
}


.form-input:hover,
.form-select:hover,
.form-textarea:hover {
	border-color: var(--ink-muted);
	background-color: #fff;
}


.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--border-focus);
	background-color: #fff;
	box-shadow: 0 0 0 2px var(--accent-wash);
}


.form-textarea {
	min-height: 110px;
	resize: vertical;
}


.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
	border-color: var(--state-error);
	background-color: var(--state-error-wash);
}


.field-error {
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--state-error);
	margin-top: var(--space-1);
	display: none;
}


.form-group.has-error .field-error { display: block; }


.form-checkbox-label {
	display: grid;
	grid-template-columns: 20px 1fr;
	align-items: start;
	gap: var(--space-3);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-muted);
	line-height: 1.5;
	cursor: pointer;
}


.form-checkbox {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	accent-color: var(--accent);
	cursor: pointer;
}


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


.hp-field {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
}


.form-status {
	padding: var(--space-4);
	border-radius: var(--radius-xs);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	line-height: 1.5;
	display: none;
}


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


.form-status-success {
	background-color: var(--state-success-wash);
	border: 1px solid var(--state-success-border);
	color: var(--state-success);
}


.form-status-error {
	background-color: var(--state-error-wash);
	border: 1px solid var(--state-error-border);
	color: var(--state-error);
}


.calculator-card {
	background-color: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	gap: var(--space-6);
}


.calculator-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-6);
}


@media (min-width: 860px) {
	.calculator-grid { grid-template-columns: 1fr 1fr; }
}


.calc-inputs {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}


.calc-output-panel {
	background-color: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	padding: var(--space-6);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}


.calc-output-label {
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--ink-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: var(--space-2);
}


.calc-output-figure {
	font-family: var(--rega-3c4);
	font-size: clamp(2rem, 1.8rem + 1.8vw, 3.2rem);
	font-weight: 800;
	line-height: 1;
	color: var(--ink);
	letter-spacing: -0.03em;
	margin-bottom: var(--space-4);
}


.calc-note {
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-muted);
	line-height: 1.55;
	padding-top: var(--space-4);
	border-top: 1px solid var(--border);
}


.calc-status {
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-light);
	margin-top: var(--space-2);
}


.site-footer {
	background-color: var(--surface-dark);
	color: var(--ink-inverse);
	border-top: 3px solid var(--accent);
	padding-top: var(--space-12);
	padding-bottom: var(--space-8);
	font-family: var(--rega-a13);
	position: relative;
	z-index: var(--z-base);
}


.footer-top {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-8);
	margin-bottom: var(--space-10);
}


@media (min-width: 768px) {
	.footer-top {
		grid-template-columns: 1.5fr 1fr 1fr;
		gap: var(--space-8);
	}
}


.footer-brand-block {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}


.footer-logo {
	height: 2.5rem;
	width: auto;
	display: block;
}


.footer-statement {
	font-size: var(--text-xs);
	color: var(--ink-inverse-muted);
	line-height: 1.6;
	max-width: 48ch;
}


.footer-heading {
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	font-weight: 600;
	color: var(--ink-inverse);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: var(--space-4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	padding-bottom: var(--space-2);
}


.footer-nav {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: var(--space-2);
}


.footer-nav a {
	color: var(--ink-inverse-muted);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	text-decoration: none;
	min-height: 36px;
	display: inline-flex;
	align-items: center;
	transition: color var(--dur-fast) var(--ease-default);
}


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


.footer-nav a:active { color: #fff; }


.footer-nav a:focus-visible {
	outline: 2px solid var(--accent-light);
	outline-offset: 2px;
}


.footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: var(--space-2);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-inverse-muted);
	margin-bottom: var(--space-3);
	line-height: 1.5;
}


.footer-contact-item a {
	color: var(--ink-inverse-muted);
	text-decoration: none;
}


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


.footer-legal-bar {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: var(--space-6);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-inverse-muted);
}


.footer-legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2) var(--space-4);
	list-style: none;
}


.footer-legal-links a,
.footer-consent-btn {
	color: var(--ink-inverse-muted);
	text-decoration: none;
	min-height: 36px;
	display: inline-flex;
	align-items: center;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	padding: 0;
	transition: color var(--dur-fast) var(--ease-default);
}


.footer-legal-links a:hover,
.footer-consent-btn:hover {
	color: var(--accent-light);
	text-decoration: underline;
}


.footer-legal-links a:active,
.footer-consent-btn:active { color: #fff; }


.footer-legal-links a:focus-visible,
.footer-consent-btn:focus-visible {
	outline: 2px solid var(--accent-light);
	outline-offset: 2px;
}


.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: var(--z-banner);
	background-color: var(--surface-dark);
	color: var(--ink-inverse);
	border-top: 2px solid var(--accent);
	padding: var(--space-2) var(--container-pad);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}


.cookie-banner[hidden] { display: none !important; }


.cookie-banner-inner {
	max-width: var(--container-max);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	align-items: flex-start;
}


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


.cookie-text {
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-inverse-muted);
	line-height: 1.45;
	max-width: 68ch;
}


.cookie-text a {
	color: var(--accent-light);
	text-decoration: underline;
}


.cookie-text a:hover { color: #fff; }


.cookie-actions {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	flex-shrink: 0;
}


.cookie-btn-accept {
	min-height: 40px;
	padding: 0.4rem 1rem;
	background-color: #0369a1;
	border: 1px solid #0369a1;
	color: #fff;
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	font-weight: 600;
	border-radius: var(--radius-xs);
	cursor: pointer;
	transition: background-color var(--dur-fast) var(--ease-default), border-color var(--dur-fast) var(--ease-default);
}


.cookie-btn-accept:hover {
	background-color: var(--accent-deep);
	border-color: var(--accent-deep);
}


.cookie-btn-accept:active {
	background-color: #024e79;
	border-color: #024e79;
}


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


.cookie-btn-reject {
	min-height: 40px;
	padding: 0.4rem 0.9rem;
	background-color: transparent;
	border: 1px solid var(--ink-inverse-muted);
	color: var(--ink-inverse);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	font-weight: 500;
	border-radius: var(--radius-xs);
	cursor: pointer;
	transition: background-color var(--dur-fast) var(--ease-default), color var(--dur-fast) var(--ease-default);
}


.cookie-btn-reject:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff;
}


.cookie-btn-reject:active { background-color: rgba(255, 255, 255, 0.2); }


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


.chat-launcher {
	position: fixed;
	bottom: var(--space-5);
	right: var(--space-5);
	z-index: var(--z-chat);
	width: 54px;
	height: 54px;
	border-radius: var(--radius-pill);
	background-color: var(--ink);
	color: var(--ink-inverse);
	border: 2px solid var(--accent);
	box-shadow: var(--shadow-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color var(--dur-fast) var(--ease-default), border-color var(--dur-fast) var(--ease-default), transform var(--dur-fast) var(--ease-default), bottom var(--dur-fast) var(--ease-default);
}


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


.chat-launcher:active {
	background-color: #024e79;
	transform: translateY(0);
}


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


.has-cookie-banner .chat-launcher { bottom: clamp(70px, 12vh, 100px); }


.chat-unread-badge {
	position: absolute;
	top: -4px;
	right: -4px;
	background-color: var(--state-error);
	color: #fff;
	font-family: var(--rega-4f7);
	font-size: 10px;
	font-weight: 700;
	width: 20px;
	height: 20px;
	border-radius: var(--radius-pill);
	display: none;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--surface-dark);
}


.chat-unread-badge.is-visible { display: flex; }


.chat-panel {
	position: fixed;
	bottom: var(--space-5);
	right: var(--space-5);
	z-index: var(--z-chat);
	width: min(390px, calc(100vw - 2 * var(--space-4)));
	height: min(540px, calc(100vh - 2 * var(--space-5)));
	background-color: #fff;
	border: 1px solid var(--ink);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: opacity var(--dur-base) var(--ease-default), transform var(--dur-base) var(--ease-default);
}


.chat-panel[hidden] { display: none !important; }


.chat-header {
	background-color: var(--surface-dark);
	color: var(--ink-inverse);
	padding: var(--space-3) var(--space-4);
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid var(--accent);
}


.chat-title-group {
	display: flex;
	flex-direction: column;
}


.chat-header-title {
	font-family: var(--rega-3c4);
	font-size: var(--text-sm);
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}


.chat-header-sub {
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-inverse-muted);
}


.chat-close-btn {
	min-width: 44px;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--ink-inverse-muted);
	cursor: pointer;
	border-radius: var(--radius-xs);
	transition: color var(--dur-fast) var(--ease-default), background-color var(--dur-fast) var(--ease-default);
}


.chat-close-btn:hover {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.1);
}


.chat-close-btn:active { background-color: rgba(255, 255, 255, 0.2); }


.chat-close-btn:focus-visible {
	outline: 2px solid var(--accent-light);
	outline-offset: 1px;
}


.chat-intake-step {
	padding: var(--space-4);
	background-color: var(--surface);
	border-bottom: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
}


.chat-intake-step[hidden] { display: none !important; }


.chat-intake-note {
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	color: var(--ink-muted);
	line-height: 1.45;
}


.chat-messages {
	flex-grow: 1;
	overflow-y: auto;
	padding: var(--space-4);
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	background-color: var(--surface);
}


.chat-bubble {
	max-width: 85%;
	padding: var(--space-3) var(--space-4);
	border-radius: var(--radius-sm);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	line-height: 1.5;
	word-break: break-word;
}


.chat-bubble-agent {
	align-self: flex-start;
	background-color: #fff;
	border: 1px solid var(--border);
	color: var(--ink);
}


.chat-bubble-user {
	align-self: flex-end;
	background-color: var(--ink);
	color: var(--ink-inverse);
}


.chat-bubble-time {
	display: block;
	font-size: 10px;
	color: var(--ink-light);
	margin-top: var(--space-1);
	text-align: right;
}


.chat-bubble-user .chat-bubble-time { color: var(--ink-inverse-muted); }


.chat-composer {
	padding: var(--space-3);
	background-color: #fff;
	border-top: 1px solid var(--border);
	display: flex;
	gap: var(--space-2);
}


.chat-input {
	flex-grow: 1;
	min-height: 44px;
	padding: var(--space-2) var(--space-3);
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	font-family: var(--rega-4f7);
	font-size: var(--text-xs);
	resize: none;
}


.chat-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 2px var(--accent-wash);
}


.chat-send-btn {
	min-height: 44px;
	min-width: 44px;
	padding: 0 var(--space-3);
	background-color: var(--ink);
	color: #fff;
	border: 1px solid var(--ink);
	border-radius: var(--radius-xs);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--dur-fast) var(--ease-default), border-color var(--dur-fast) var(--ease-default);
}


.chat-send-btn:hover {
	background-color: var(--accent-deep);
	border-color: var(--accent-deep);
}


.chat-send-btn:active { background-color: #024e79; }


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


.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--radius-xs);
	background-color: #fff;
	margin-bottom: var(--space-3);
}


.faq-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-3);
	padding: var(--space-4) var(--space-5);
	font-family: var(--rega-4f7);
	font-size: var(--text-sm);
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
	min-height: 44px;
	transition: background-color var(--dur-fast) var(--ease-default), color var(--dur-fast) var(--ease-default);
}


.faq-summary::-webkit-details-marker { display: none; }


.faq-summary:hover {
	background-color: var(--surface);
	color: var(--accent);
}


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


.faq-content {
	padding: 0 var(--space-5) var(--space-4) var(--space-5);
	font-size: var(--text-sm);
	color: var(--ink-muted);
	line-height: 1.65;
}
