/* =============================================================================
   RKC Finserve - design system
   Single stylesheet for every RKC module. Modules emit markup only.

   Rules of the house
   - Colours and fonts come from the Elementor Kit and the --rkc-* custom
     properties printed by RKC_Core::inline_tokens(). No raw hex here except
     (a) the hero overlay gradient specified by the brief, (b) semantic state
     colours the kit does not define, (c) shadow / hairline alphas, and
     (d) the one data-URI select chevron (data URIs cannot read var()).
   - font-family is declared ONLY where Montserrat is specifically wanted,
     via var(--rkc-head). Everything else inherits the kit's body face.
   - Mobile first. Breakpoints: 480 / 768 / 1024. Nothing may overflow
     horizontally at 360px.
   - Every transition is neutralised under prefers-reduced-motion.

   Contents
     01  Derived tokens
     02  Base + safety
     03  Layout: wrap / sections
     04  Utility bar
     05  Page hero + breadcrumb
     06  Typography helpers
     07  Buttons
     08  WhatsApp buttons
     09  Cards and grids
     10  Forms and alerts
     11  Calculators
     12  Chat
     13  Dashboard
     14  Booking
     15  Small helpers
     16  Responsive - 480
     17  Responsive - 768
     18  Responsive - 1024
     19  Reduced motion
     20  Print
   ========================================================================== */


/* =============================================================================
   01  DERIVED TOKENS
   Names not printed by rkc-core. The kit tokens themselves are never
   redefined here - they are authored server-side and win by cascade order.
   ========================================================================== */

:root {
	/* motion */
	--rkc-t:        170ms cubic-bezier(.4, 0, .2, 1);
	--rkc-t-slow:   280ms cubic-bezier(.16, 1, .3, 1);

	/* Translucent brass. Plain rgba is the default so the value is always a
	   valid colour; color-mix (which keeps tracking a re-themed --rkc-brass)
	   is applied behind @supports below. A bare second declaration would NOT
	   work as a fallback here: custom properties accept any token stream, so
	   an unsupported color-mix() would still win and then fail at
	   computed-value time, blanking the property. */
	--rkc-brass-08: rgba(190, 138, 44, .08);
	--rkc-brass-18: rgba(190, 138, 44, .18);
	--rkc-brass-30: rgba(190, 138, 44, .30);

	/* focus ring - one ring for the whole system */
	--rkc-ring:     0 0 0 3px var(--rkc-brass-30);

	/* elevation */
	--rkc-shadow-sm:  0 1px 2px rgba(10, 26, 31, .06);
	--rkc-shadow-pop: 0 2px 8px rgba(10, 26, 31, .08), 0 18px 44px rgba(10, 26, 31, .16);

	/* hairlines on dark ground */
	--rkc-line-dark:  rgba(255, 255, 255, .13);
	--rkc-line-dark2: rgba(255, 255, 255, .22);

	/* semantic states - the kit defines no success/warn/error hues */
	--rkc-ok:        #1E7A5A;
	--rkc-ok-wash:   #E4F1EC;
	--rkc-warn:      #8A5F14;
	--rkc-warn-wash: #FBF1DC;
	--rkc-err:       #A32B2B;
	--rkc-err-wash:  #F7E7E7;

	/* rhythm */
	--rkc-gap:       16px;
	--rkc-pad:       16px;
	--rkc-topbar-h:  38px;
	--rkc-chart-h:   160px;
}

/* Brass tints follow the brand token wherever the engine can mix colours. */
@supports (color: color-mix(in srgb, red 50%, transparent)) {
	:root {
		--rkc-brass-08: color-mix(in srgb, var(--rkc-brass) 8%, transparent);
		--rkc-brass-18: color-mix(in srgb, var(--rkc-brass) 18%, transparent);
		--rkc-brass-30: color-mix(in srgb, var(--rkc-brass) 30%, transparent);
	}
}


/* =============================================================================
   02  BASE + SAFETY
   Only what is needed to stop RKC components from ever pushing the page wide.
   ========================================================================== */

[class*="rkc-"],
[class*="rkc-"]::before,
[class*="rkc-"]::after {
	box-sizing: border-box;
}

/* Flex/grid children default to min-width:auto, which is the single most
   common cause of horizontal overflow on narrow phones. */
.rkc-grid > *,
.rkc-calcgrid > *,
.rkc-dash__grid > *,
.rkc-readout > *,
.rkc-card > *,
.rkc-calc > * {
	min-width: 0;
}

.rkc-card,
.rkc-calc,
.rkc-dash__tile,
.rkc-readout__cell,
.rkc-alert,
.rkc-chat__msg,
.rkc-gate {
	overflow-wrap: break-word;
}

/* Long unbroken strings (account numbers, URLs) inside RKC surfaces. */
.rkc-card a[href^="http"],
.rkc-alert a[href^="http"],
.rkc-chat__msg a {
	overflow-wrap: anywhere;
}

.rkc-sec img,
.rkc-card img,
.rkc-calc img,
.rkc-dash__tile img,
.rkc-phero img {
	max-width: 100%;
	height: auto;
}

/* Any wide block an author drops in scrolls inside itself, never the page. */
.rkc-scroll-x {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}


/* =============================================================================
   03  LAYOUT - WRAP AND SECTIONS
   ========================================================================== */

.rkc-wrap {
	width: 100%;
	max-width: var(--rkc-wrap);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--rkc-pad);
	padding-right: var(--rkc-pad);
}

.rkc-sec {
	position: relative;
	padding-top: 40px;
	padding-bottom: 40px;
}

.rkc-sec--tight {
	padding-top: 24px;
	padding-bottom: 24px;
}

.rkc-sec--paper {
	background: var(--rkc-paper);
}

.rkc-sec--dark {
	background: var(--rkc-deep);
	color: var(--rkc-mist);
}

.rkc-sec--dark h1,
.rkc-sec--dark h2,
.rkc-sec--dark h3,
.rkc-sec--dark h4,
.rkc-sec--dark h5,
.rkc-sec--dark h6 {
	color: var(--rkc-white);
}

.rkc-sec--dark a:not(.rkc-btn):not(.rkc-wa) {
	color: var(--rkc-brass-hi);
}

.rkc-sec--dark .rkc-eyebrow {
	color: var(--rkc-brass-hi);
}

.rkc-sec--dark .rkc-note {
	color: var(--rkc-mist);
}

/* Hairline rule between stacked light sections - a quiet, ledger-ish seam. */
.rkc-sec + .rkc-sec:not(.rkc-sec--paper):not(.rkc-sec--dark) {
	border-top: 1px solid var(--rkc-line);
}


/* =============================================================================
   04  UTILITY BAR
   Deep teal strip above the white header. Contact left, social / CTA right.
   Desktop only - it is decoration, and every item it holds is repeated in the
   mobile menu and the footer.
   ========================================================================== */

.rkc-topbar {
	display: none;
	background: var(--rkc-deep);
	color: var(--rkc-mist);
	font-size: 12.5px;
	line-height: 1.4;
	border-bottom: 1px solid var(--rkc-line-dark);
}

.rkc-topbar .rkc-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--rkc-topbar-h);
}

/* Works with explicit __left/__right groups or with bare child elements. */
.rkc-topbar .rkc-wrap > *,
.rkc-topbar__left,
.rkc-topbar__right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 20px;
	min-width: 0;
}

.rkc-topbar__right {
	justify-content: flex-end;
}

.rkc-topbar__item,
.rkc-topbar a,
.rkc-topbar span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}

.rkc-topbar a {
	color: var(--rkc-mist);
	text-decoration: none;
	transition: color var(--rkc-t);
}

.rkc-topbar a:hover,
.rkc-topbar a:focus-visible {
	color: var(--rkc-brass-hi);
}

.rkc-topbar a:focus-visible {
	outline: none;
	box-shadow: var(--rkc-ring);
	border-radius: 3px;
}

.rkc-topbar svg {
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	fill: currentColor;
	opacity: .8;
}

/* ARN / regulatory chip - the credential that belongs in the utility bar. */
.rkc-topbar__arn {
	font-family: var(--rkc-head);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rkc-brass-hi);
	padding: 3px 9px;
	border: 1px solid var(--rkc-line-dark2);
	border-radius: 999px;
}

.rkc-topbar .rkc-btn--sm {
	padding: 5px 14px;
	min-height: 0;
	font-size: 12px;
}


/* =============================================================================
   05  PAGE HERO + BREADCRUMB
   Background image is supplied inline on the element by the page, so the dark
   overlay lives on ::before and never competes with it.
   ========================================================================== */

.rkc-phero {
	position: relative;
	width: 100%;
	display: flex;
	align-items: flex-end;
	min-height: 200px;
	padding-top: 34px;
	padding-bottom: 26px;
	background-color: var(--rkc-deep);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--rkc-white);
	isolation: isolate;
	overflow: hidden;
}

.rkc-phero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(12, 40, 48, .88), rgba(12, 40, 48, .55));
}

/* Brass hairline along the bottom edge - ties the hero to the accent. */
.rkc-phero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--rkc-brass), var(--rkc-brass-hi) 55%, transparent);
}

.rkc-phero > .rkc-wrap,
.rkc-phero__inner {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

/* Optional edge-to-edge escape hatch for a hero nested inside a constrained
   Elementor container. Guarded so it can never widen the document. */
.rkc-phero--bleed {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
}

.rkc-phero__title {
	font-family: var(--rkc-head);
	font-weight: 700;
	font-size: clamp(26px, 6vw, 44px);
	line-height: 1.14;
	letter-spacing: -.015em;
	color: var(--rkc-white);
	margin: 0;
	max-width: 22ch;
	text-wrap: balance;
}

.rkc-phero .rkc-eyebrow {
	color: var(--rkc-brass-hi);
}

.rkc-phero .rkc-lede {
	color: var(--rkc-mist);
	max-width: 56ch;
	margin: 0;
}

/* --- breadcrumb ---------------------------------------------------------- */

.rkc-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--rkc-slate);
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}

.rkc-phero .rkc-crumb {
	color: var(--rkc-mist);
}

.rkc-crumb li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.rkc-crumb a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color var(--rkc-t), border-color var(--rkc-t);
}

.rkc-crumb a:hover,
.rkc-crumb a:focus-visible {
	color: var(--rkc-brass-hi);
	border-bottom-color: var(--rkc-brass-30);
}

/* Current page: dark by default so a breadcrumb used outside the hero is
   always legible, inverted only on the hero's dark ground. */
.rkc-crumb [aria-current],
.rkc-crumb__now {
	color: var(--rkc-ink);
	font-weight: 500;
}

.rkc-phero .rkc-crumb [aria-current],
.rkc-phero .rkc-crumb__now {
	color: var(--rkc-white);
}

.rkc-crumb__sep {
	opacity: .5;
	user-select: none;
}


/* =============================================================================
   06  TYPOGRAPHY HELPERS
   ========================================================================== */

.rkc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--rkc-head);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--rkc-brass-deep);
	margin: 0 0 10px;
}

.rkc-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	flex: 0 0 auto;
	background: var(--rkc-brass);
}

.rkc-eyebrow--plain::before {
	display: none;
}

.rkc-lede {
	font-size: 16px;
	line-height: 1.72;
	color: var(--rkc-slate);
	max-width: 62ch;
	margin: 0 0 18px;
}

.rkc-note {
	font-size: 12.5px;
	line-height: 1.65;
	color: var(--rkc-slate);
	margin: 12px 0 0;
}

.rkc-note strong {
	color: var(--rkc-ink);
	font-weight: 600;
}

/* Regulatory footnote treatment - a left brass rule, no shouting. */
.rkc-note--rule {
	border-left: 2px solid var(--rkc-brass-18);
	padding-left: 12px;
}


/* =============================================================================
   07  BUTTONS
   ========================================================================== */

.rkc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--rkc-r);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .005em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	background: transparent;
	color: var(--rkc-ink);
	max-width: 100%;
	transition: background-color var(--rkc-t), color var(--rkc-t),
	            border-color var(--rkc-t), box-shadow var(--rkc-t),
	            transform var(--rkc-t);
}

.rkc-btn:focus-visible {
	outline: none;
	box-shadow: var(--rkc-ring);
}

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

.rkc-btn[disabled],
.rkc-btn[aria-disabled="true"],
.rkc-btn.is-disabled {
	opacity: .5;
	pointer-events: none;
}

.rkc-btn svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
	fill: currentColor;
}

/* --- brass (primary) ----------------------------------------------------- */

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

.rkc-btn--brass:hover,
.rkc-btn--brass:focus-visible {
	background: var(--rkc-brass-deep);
	border-color: var(--rkc-brass-deep);
	color: var(--rkc-white);
}

/* --- ghost (secondary) --------------------------------------------------- */

.rkc-btn--ghost {
	background: transparent;
	border-color: var(--rkc-brass);
	color: var(--rkc-brass-deep);
}

.rkc-btn--ghost:hover,
.rkc-btn--ghost:focus-visible {
	background: var(--rkc-brass-08);
	border-color: var(--rkc-brass-deep);
	color: var(--rkc-brass-deep);
}

.rkc-sec--dark .rkc-btn--ghost,
.rkc-phero .rkc-btn--ghost {
	color: var(--rkc-brass-hi);
	border-color: var(--rkc-brass-hi);
}

.rkc-sec--dark .rkc-btn--ghost:hover,
.rkc-phero .rkc-btn--ghost:hover {
	background: var(--rkc-brass-18);
	color: var(--rkc-white);
	border-color: var(--rkc-brass-hi);
}

/* --- dark ---------------------------------------------------------------- */

.rkc-btn--dark {
	background: var(--rkc-deep);
	border-color: var(--rkc-deep);
	color: var(--rkc-white);
}

.rkc-btn--dark:hover,
.rkc-btn--dark:focus-visible {
	background: var(--rkc-deep-3);
	border-color: var(--rkc-deep-3);
	color: var(--rkc-white);
}

.rkc-sec--dark .rkc-btn--dark {
	border-color: var(--rkc-line-dark2);
}

/* --- size ---------------------------------------------------------------- */

.rkc-btn--sm {
	min-height: 38px;
	padding: 8px 16px;
	font-size: 13px;
	gap: 7px;
}

.rkc-btn--sm svg {
	width: 15px;
	height: 15px;
}

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

/* Buttons sitting side by side wrap cleanly on a 360px screen. */
.rkc-btnrow {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}


/* =============================================================================
   08  WHATSAPP BUTTONS
   Markup comes from RKC_Core::sc_wa_button(). Kept in the brand palette rather
   than WhatsApp green so it does not fight the brass accent.
   ========================================================================== */

.rkc-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--rkc-r);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	max-width: 100%;
	transition: background-color var(--rkc-t), color var(--rkc-t),
	            border-color var(--rkc-t), transform var(--rkc-t);
}

.rkc-wa svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.rkc-wa:focus-visible {
	outline: none;
	box-shadow: var(--rkc-ring);
}

.rkc-wa--solid {
	background: var(--rkc-deep);
	border-color: var(--rkc-deep);
	color: var(--rkc-white);
}

.rkc-wa--solid:hover {
	background: var(--rkc-deep-3);
	border-color: var(--rkc-deep-3);
	color: var(--rkc-white);
}

.rkc-wa--ghost {
	background: transparent;
	border-color: var(--rkc-line);
	color: var(--rkc-ink);
}

.rkc-wa--ghost:hover {
	border-color: var(--rkc-brass);
	color: var(--rkc-brass-deep);
	background: var(--rkc-brass-08);
}

.rkc-sec--dark .rkc-wa--ghost,
.rkc-phero .rkc-wa--ghost {
	border-color: var(--rkc-line-dark2);
	color: var(--rkc-white);
}

/* A floating WhatsApp button is pinned bottom-LEFT so it can never collide
   with the chat FAB and panel on the right. */
.rkc-wa--float {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99990;
	width: 52px;
	height: 52px;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	box-shadow: var(--rkc-shadow-pop);
}

.rkc-wa--float span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.rkc-wa--float svg {
	width: 24px;
	height: 24px;
}


/* =============================================================================
   09  CARDS AND GRIDS
   ========================================================================== */

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

.rkc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--rkc-white);
	border: 1px solid var(--rkc-line);
	border-radius: var(--rkc-r);
	padding: 20px;
	color: inherit;
	text-decoration: none;
	transition: box-shadow var(--rkc-t-slow), transform var(--rkc-t-slow),
	            border-color var(--rkc-t-slow);
}

.rkc-card:hover,
.rkc-card:focus-within {
	box-shadow: var(--rkc-shadow);
	transform: translateY(-2px);
	border-color: var(--rkc-brass-30);
}

.rkc-card > :first-child {
	margin-top: 0;
}

.rkc-card > :last-child {
	margin-bottom: 0;
}

.rkc-card h2,
.rkc-card h3,
.rkc-card h4 {
	margin: 0 0 8px;
}

.rkc-card p {
	color: var(--rkc-slate);
	line-height: 1.7;
	margin: 0 0 12px;
}

.rkc-card svg {
	flex: 0 0 auto;
}

/* Card kicker - the small label above the card title. */
.rkc-card__k {
	display: block;
	font-family: var(--rkc-head);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rkc-brass-deep);
	margin: 0 0 9px;
}

/* Card call-to-action, pinned to the bottom so ragged cards still line up. */
.rkc-card__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--rkc-brass-deep);
	text-decoration: none;
	align-self: flex-start;
	transition: gap var(--rkc-t), color var(--rkc-t);
}

.rkc-card__go::after {
	content: "\2192";
	font-size: 15px;
	line-height: 1;
	transition: transform var(--rkc-t);
}

.rkc-card:hover .rkc-card__go,
.rkc-card__go:hover {
	gap: 12px;
	color: var(--rkc-brass);
}

.rkc-card__go:focus-visible {
	outline: none;
	box-shadow: var(--rkc-ring);
	border-radius: 4px;
}

/* Whole-card link: stretch the CTA anchor over the card face. */
.rkc-card--link .rkc-card__go::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

/* Cards on the dark band. */
.rkc-sec--dark .rkc-card {
	background: var(--rkc-deep-2);
	border-color: var(--rkc-line-dark);
	color: var(--rkc-mist);
}

.rkc-sec--dark .rkc-card p {
	color: var(--rkc-mist);
}

.rkc-sec--dark .rkc-card:hover {
	border-color: var(--rkc-brass-30);
	box-shadow: none;
}

.rkc-sec--dark .rkc-card__k,
.rkc-sec--dark .rkc-card__go {
	color: var(--rkc-brass-hi);
}


/* =============================================================================
   10  FORMS AND ALERTS
   ========================================================================== */

.rkc-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
	min-width: 0;
}

.rkc-label {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--rkc-ink);
}

.rkc-label span {
	color: var(--rkc-brass-deep);
}

.rkc-input {
	width: 100%;
	min-width: 0;
	min-height: 46px;
	padding: 11px 14px;
	font-size: 15px;
	line-height: 1.4;
	color: var(--rkc-ink);
	background: var(--rkc-white);
	border: 1px solid var(--rkc-line);
	border-radius: var(--rkc-r);
	appearance: none;
	-webkit-appearance: none;
	transition: border-color var(--rkc-t), box-shadow var(--rkc-t),
	            background-color var(--rkc-t);
}

.rkc-input::placeholder {
	color: var(--rkc-slate);
	opacity: .65;
}

.rkc-input:hover {
	border-color: var(--rkc-mist);
}

.rkc-input:focus {
	outline: none;
	border-color: var(--rkc-brass);
	box-shadow: var(--rkc-ring);
}

.rkc-input:disabled,
.rkc-input[readonly] {
	background: var(--rkc-paper);
	color: var(--rkc-slate);
	cursor: not-allowed;
}

.rkc-input[aria-invalid="true"] {
	border-color: var(--rkc-err);
}

textarea.rkc-input {
	min-height: 118px;
	resize: vertical;
	line-height: 1.65;
}

/* Chevron must be a data URI, so this hex cannot be a custom property. */
select.rkc-input {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%234A5F63' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.6 6 6.4 11 1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px 8px;
	cursor: pointer;
}

/* Figures typed into forms line up like a statement. */
input.rkc-input[type="number"],
input.rkc-input[type="tel"],
.rkc-input--num {
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

.rkc-input[type="checkbox"],
.rkc-input[type="radio"] {
	width: 18px;
	height: 18px;
	min-height: 0;
	padding: 0;
	accent-color: var(--rkc-brass);
}

.rkc-field--inline {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
}

.rkc-field--inline .rkc-label {
	font-weight: 400;
	font-size: 13px;
	line-height: 1.6;
	color: var(--rkc-slate);
}

/* --- alerts -------------------------------------------------------------- */

.rkc-alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 13px 15px;
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.6;
	border: 1px solid var(--rkc-line);
	border-left-width: 3px;
	border-radius: var(--rkc-r);
	background: var(--rkc-paper);
	color: var(--rkc-ink);
}

.rkc-alert svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	margin-top: 1px;
	fill: currentColor;
}

.rkc-alert p {
	margin: 0;
}

.rkc-alert--ok {
	background: var(--rkc-ok-wash);
	border-color: var(--rkc-ok-wash);
	border-left-color: var(--rkc-ok);
	color: var(--rkc-ok);
}

.rkc-alert--warn {
	background: var(--rkc-warn-wash);
	border-color: var(--rkc-warn-wash);
	border-left-color: var(--rkc-brass);
	color: var(--rkc-warn);
}

.rkc-alert--err {
	background: var(--rkc-err-wash);
	border-color: var(--rkc-err-wash);
	border-left-color: var(--rkc-err);
	color: var(--rkc-err);
}

.rkc-alert--ok strong,
.rkc-alert--warn strong,
.rkc-alert--err strong {
	color: inherit;
}


/* =============================================================================
   11  CALCULATORS
   Structure:
     .rkc-calcgrid > .rkc-calc
         .rkc-calc__head > .rkc-calc__title + .rkc-calc__blurb
         .rkc-ctrl > .rkc-ctrl__head > .rkc-ctrl__label + .rkc-ctrl__num
                   > .rkc-ctrl__range
         .rkc-chart  (svg)
         .rkc-readout > .rkc-readout__cell > .rkc-readout__big
         .rkc-gate    (locked state)
   Every figure uses tabular numerals so digits do not jitter while dragging.
   ========================================================================== */

.rkc-calcgrid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--rkc-gap);
	align-items: start;
}

.rkc-calc {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--rkc-white);
	border: 1px solid var(--rkc-line);
	border-radius: var(--rkc-r-lg);
	padding: 18px;
	min-width: 0;
}

.rkc-calc__head {
	margin: 0 0 16px;
	padding: 0 0 14px;
	border-bottom: 1px solid var(--rkc-line);
}

.rkc-calc__title {
	font-family: var(--rkc-head);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.005em;
	color: var(--rkc-ink);
	margin: 0;
}

.rkc-calc__blurb {
	font-size: 13px;
	line-height: 1.6;
	color: var(--rkc-slate);
	margin: 6px 0 0;
	max-width: 60ch;
}

/* --- one control: label + editable number + slider ----------------------- */

.rkc-ctrl {
	display: block;
	margin: 0 0 18px;
	min-width: 0;
}

.rkc-ctrl:last-of-type {
	margin-bottom: 4px;
}

.rkc-ctrl__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 9px;
	min-width: 0;
}

.rkc-ctrl__label {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--rkc-slate);
}

.rkc-ctrl__label small {
	display: block;
	font-size: 11.5px;
	color: var(--rkc-slate);
	opacity: .8;
}

/* The editable figure. Reads unmistakably as an input: white face, hairline
   border, right-aligned tabular digits, brass ring on focus. */
.rkc-ctrl__num {
	flex: 0 0 auto;
	width: 118px;
	max-width: 48%;
	min-width: 0;
	padding: 8px 11px;
	text-align: right;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
	color: var(--rkc-ink);
	background: var(--rkc-white);
	border: 1px solid var(--rkc-line);
	border-radius: 6px;
	box-shadow: inset 0 1px 2px rgba(10, 26, 31, .04);
	appearance: textfield;
	-moz-appearance: textfield;
	cursor: text;
	transition: border-color var(--rkc-t), box-shadow var(--rkc-t),
	            background-color var(--rkc-t);
}

.rkc-ctrl__num::-webkit-outer-spin-button,
.rkc-ctrl__num::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.rkc-ctrl__num:hover {
	border-color: var(--rkc-brass-30);
}

.rkc-ctrl__num:focus,
.rkc-ctrl__num:focus-visible {
	outline: none;
	border-color: var(--rkc-brass);
	box-shadow: var(--rkc-ring);
	background: var(--rkc-white);
}

.rkc-ctrl__num[aria-invalid="true"] {
	border-color: var(--rkc-err);
	color: var(--rkc-err);
}

/* If a module wraps the input to hang a unit (Rs / yrs / %) beside it. */
.rkc-ctrl__num input {
	width: 100%;
	border: 0;
	background: transparent;
	text-align: right;
	font: inherit;
	color: inherit;
	font-variant-numeric: tabular-nums;
	padding: 0;
}

.rkc-ctrl__num input:focus {
	outline: none;
}

/* --- range slider -------------------------------------------------------- */

.rkc-ctrl__range {
	display: block;
	width: 100%;
	min-width: 0;
	height: 22px;
	margin: 0;
	padding: 0;
	background: transparent;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	touch-action: pan-y;
}

.rkc-ctrl__range:focus {
	outline: none;
}

/* WebKit / Blink */
.rkc-ctrl__range::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: var(--rkc-paper-2);
	box-shadow: inset 0 0 0 1px var(--rkc-line);
}

.rkc-ctrl__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	margin-top: -7px;
	border-radius: 50%;
	background: var(--rkc-brass);
	border: 3px solid var(--rkc-white);
	box-shadow: 0 1px 4px rgba(10, 26, 31, .28);
	transition: background-color var(--rkc-t), box-shadow var(--rkc-t);
}

.rkc-ctrl__range:hover::-webkit-slider-thumb {
	background: var(--rkc-brass-deep);
}

.rkc-ctrl__range:focus-visible::-webkit-slider-thumb {
	box-shadow: var(--rkc-ring), 0 1px 4px rgba(10, 26, 31, .28);
}

/* Gecko */
.rkc-ctrl__range::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: var(--rkc-paper-2);
	box-shadow: inset 0 0 0 1px var(--rkc-line);
}

.rkc-ctrl__range::-moz-range-progress {
	height: 6px;
	border-radius: 999px;
	background: var(--rkc-brass);
}

.rkc-ctrl__range::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--rkc-brass);
	border: 3px solid var(--rkc-white);
	box-shadow: 0 1px 4px rgba(10, 26, 31, .28);
}

.rkc-ctrl__range:focus-visible::-moz-range-thumb {
	box-shadow: var(--rkc-ring), 0 1px 4px rgba(10, 26, 31, .28);
}

/* Min / max hints under a slider. */
.rkc-ctrl__scale {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	margin-top: 4px;
	font-size: 11px;
	color: var(--rkc-slate);
	font-variant-numeric: tabular-nums;
}

/* --- chart --------------------------------------------------------------- */

.rkc-chart {
	position: relative;
	width: 100%;
	max-width: 100%;
	height: var(--rkc-chart-h);
	margin: 16px 0 18px;
	border-radius: var(--rkc-r);
	background: var(--rkc-paper);
	overflow: hidden;
}

.rkc-chart svg {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	overflow: visible;
}

.rkc-chart text {
	font-size: 10px;
	fill: var(--rkc-slate);
	font-variant-numeric: tabular-nums;
}

.rkc-chart--bare {
	background: transparent;
}

/* --- readout ------------------------------------------------------------- */

.rkc-readout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	margin: 0;
	background: var(--rkc-line);
	border: 1px solid var(--rkc-line);
	border-radius: var(--rkc-r);
	overflow: hidden;
}

.rkc-readout__cell {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 13px 15px;
	background: var(--rkc-white);
	min-width: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--rkc-slate);
}

.rkc-readout__cell b,
.rkc-readout__cell strong,
.rkc-readout__cell .rkc-readout__v {
	font-size: 16px;
	font-weight: 600;
	color: var(--rkc-ink);
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
	letter-spacing: -.005em;
}

.rkc-readout__cell--accent {
	background: var(--rkc-brass-08);
}

.rkc-readout__cell--wide {
	grid-column: 1 / -1;
}

/* The headline figure. Works standalone or inside a cell. */
.rkc-readout__big {
	display: block;
	font-family: var(--rkc-head);
	font-size: clamp(24px, 6.4vw, 32px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: var(--rkc-ink);
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
	margin: 0;
}

.rkc-readout__big small {
	display: block;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--rkc-slate);
	margin-top: 6px;
}

.rkc-readout__cell--accent .rkc-readout__big {
	color: var(--rkc-brass-deep);
}

/* Any stray figure inside a calculator still gets lining, tabular digits. */
.rkc-calc [data-num],
.rkc-calc output,
.rkc-dash [data-num] {
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

/* --- gate: the locked calculator ---------------------------------------- */

.rkc-gate {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
	padding: 26px 18px;
	background: var(--rkc-paper);
	border: 1px dashed var(--rkc-mist);
	border-radius: var(--rkc-r);
	color: var(--rkc-slate);
	font-size: 14px;
	line-height: 1.65;
}

.rkc-gate__icon,
.rkc-gate > svg {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: var(--rkc-brass-wash);
	color: var(--rkc-brass-deep);
	padding: 11px;
}

.rkc-gate__icon svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.rkc-gate p {
	margin: 0;
	max-width: 42ch;
}

.rkc-gate strong,
.rkc-gate__title {
	display: block;
	font-family: var(--rkc-head);
	font-size: 15px;
	font-weight: 700;
	color: var(--rkc-ink);
}

.rkc-gate .rkc-btn,
.rkc-gate .rkc-wa {
	margin-top: 2px;
}

.rkc-gate .rkc-note {
	margin-top: 0;
	font-size: 11.5px;
}

/* When the gate sits over a live calculator, mute what is behind it. */
.rkc-calc.is-locked .rkc-chart,
.rkc-calc.is-locked .rkc-readout,
.rkc-calc.is-locked .rkc-ctrl {
	filter: blur(3px);
	opacity: .45;
	pointer-events: none;
	user-select: none;
}

.rkc-calc.is-locked .rkc-gate {
	margin-top: 16px;
}


/* =============================================================================
   12  CHAT
   .rkc-chat is a zero-size, unpositioned anchor on purpose: the FAB and the
   panel are each position:fixed with their own z-index, so neither is trapped
   inside a stacking context and both outrank any floating WhatsApp widget.
   ========================================================================== */

.rkc-chat {
	position: static;
	display: block;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	pointer-events: none;
}

/* --- floating action button (z-index 99997) ------------------------------ */

.rkc-chat__fab {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99997;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 1px solid var(--rkc-line-dark2);
	border-radius: 999px;
	background: var(--rkc-deep);
	color: var(--rkc-brass-hi);
	box-shadow: var(--rkc-shadow-pop);
	cursor: pointer;
	pointer-events: auto;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	transition: background-color var(--rkc-t), transform var(--rkc-t),
	            box-shadow var(--rkc-t), border-color var(--rkc-t);
}

.rkc-chat__fab:hover {
	background: var(--rkc-deep-3);
	border-color: var(--rkc-brass);
	transform: translateY(-2px);
}

.rkc-chat__fab:focus-visible {
	outline: none;
	box-shadow: var(--rkc-ring), var(--rkc-shadow-pop);
}

.rkc-chat__fab svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
	flex: 0 0 auto;
}

/* Label variant: a pill instead of a circle. */
.rkc-chat__fab--label {
	width: auto;
	height: 52px;
	padding: 0 20px;
	color: var(--rkc-white);
}

.rkc-chat__fab--label svg {
	color: var(--rkc-brass-hi);
}

/* Swap icons when open, if the module ships both. */
.rkc-chat__fab .rkc-chat__ico--close,
.rkc-chat.is-open .rkc-chat__fab .rkc-chat__ico--open {
	display: none;
}

.rkc-chat.is-open .rkc-chat__fab .rkc-chat__ico--close {
	display: block;
}

/* --- panel (z-index 99998) ----------------------------------------------- */

.rkc-chat__panel {
	position: fixed;
	right: 16px;
	bottom: 84px;
	z-index: 99998;
	display: flex;
	flex-direction: column;
	width: min(370px, calc(100vw - 32px));
	max-height: 70vh;
	background: var(--rkc-white);
	border: 1px solid var(--rkc-line);
	border-radius: var(--rkc-r-lg);
	box-shadow: var(--rkc-shadow-pop);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(14px) scale(.98);
	transform-origin: 100% 100%;
	transition: opacity var(--rkc-t), transform var(--rkc-t-slow),
	            visibility var(--rkc-t-slow);
}

.rkc-chat.is-open .rkc-chat__panel,
.rkc-chat__panel.is-open,
.rkc-chat__panel[data-open="1"] {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

.rkc-chat__panel[hidden] {
	display: none;
}

/* Panel header, if present. */
.rkc-chat__panel > header,
.rkc-chat__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex: 0 0 auto;
	padding: 13px 15px;
	background: var(--rkc-deep);
	color: var(--rkc-white);
	border-bottom: 1px solid var(--rkc-deep-3);
}

.rkc-chat__panel > header strong,
.rkc-chat__head strong {
	font-family: var(--rkc-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .005em;
}

.rkc-chat__panel > header small,
.rkc-chat__head small {
	display: block;
	font-size: 11.5px;
	font-weight: 400;
	color: var(--rkc-mist);
	margin-top: 2px;
}

.rkc-chat__panel > header button,
.rkc-chat__head button {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--rkc-mist);
	cursor: pointer;
	transition: background-color var(--rkc-t), color var(--rkc-t);
}

.rkc-chat__panel > header button:hover,
.rkc-chat__head button:hover {
	background: var(--rkc-deep-3);
	color: var(--rkc-white);
}

/* --- transcript ---------------------------------------------------------- */

.rkc-chat__log {
	flex: 1 1 auto;
	min-height: 96px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 9px;
	background: var(--rkc-paper);
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.rkc-chat__log::-webkit-scrollbar {
	width: 8px;
}

.rkc-chat__log::-webkit-scrollbar-thumb {
	background: var(--rkc-mist);
	border-radius: 999px;
}

.rkc-chat__msg {
	max-width: 86%;
	padding: 9px 13px;
	font-size: 14px;
	line-height: 1.6;
	border-radius: 13px;
}

.rkc-chat__msg p {
	margin: 0 0 8px;
}

.rkc-chat__msg p:last-child {
	margin-bottom: 0;
}

.rkc-chat__msg ul,
.rkc-chat__msg ol {
	margin: 6px 0;
	padding-left: 18px;
}

.rkc-chat__msg--bot {
	align-self: flex-start;
	background: var(--rkc-white);
	border: 1px solid var(--rkc-line);
	border-bottom-left-radius: 4px;
	color: var(--rkc-ink);
}

.rkc-chat__msg--bot a {
	color: var(--rkc-brass-deep);
	font-weight: 600;
}

.rkc-chat__msg--user {
	align-self: flex-end;
	background: var(--rkc-deep);
	border: 1px solid var(--rkc-deep);
	border-bottom-right-radius: 4px;
	color: var(--rkc-white);
}

.rkc-chat__msg--user a {
	color: var(--rkc-brass-hi);
}

/* Typing indicator, if the module emits one. */
.rkc-chat__msg--typing {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	padding: 12px 14px;
}

.rkc-chat__msg--typing i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rkc-mist);
	animation: rkc-blink 1.2s infinite ease-in-out;
}

.rkc-chat__msg--typing i:nth-child(2) { animation-delay: .18s; }
.rkc-chat__msg--typing i:nth-child(3) { animation-delay: .36s; }

@keyframes rkc-blink {
	0%, 80%, 100% { opacity: .3; }
	40%           { opacity: 1; }
}

/* --- quick replies ------------------------------------------------------- */

.rkc-chat__quick {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 10px 12px;
	background: var(--rkc-white);
	border-top: 1px solid var(--rkc-line);
	max-height: 118px;
	overflow-y: auto;
}

.rkc-chat__quick button,
.rkc-chat__quick a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--rkc-brass-deep);
	background: var(--rkc-white);
	border: 1px solid var(--rkc-brass-30);
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	transition: background-color var(--rkc-t), border-color var(--rkc-t),
	            color var(--rkc-t);
}

.rkc-chat__quick button:hover,
.rkc-chat__quick a:hover {
	background: var(--rkc-brass-08);
	border-color: var(--rkc-brass);
}

.rkc-chat__quick button:focus-visible,
.rkc-chat__quick a:focus-visible {
	outline: none;
	box-shadow: var(--rkc-ring);
}

/* --- composer ------------------------------------------------------------ */

.rkc-chat__form {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background: var(--rkc-white);
	border-top: 1px solid var(--rkc-line);
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

.rkc-chat__input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 42px;
	max-height: 96px;
	padding: 10px 13px;
	font-size: 15px;
	line-height: 1.4;
	color: var(--rkc-ink);
	background: var(--rkc-paper);
	border: 1px solid var(--rkc-line);
	border-radius: 999px;
	resize: none;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color var(--rkc-t), box-shadow var(--rkc-t),
	            background-color var(--rkc-t);
}

.rkc-chat__input::placeholder {
	color: var(--rkc-slate);
	opacity: .7;
}

.rkc-chat__input:focus {
	outline: none;
	background: var(--rkc-white);
	border-color: var(--rkc-brass);
	box-shadow: var(--rkc-ring);
}

.rkc-chat__form button {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid var(--rkc-brass);
	border-radius: 50%;
	background: var(--rkc-brass);
	color: var(--rkc-ink);
	cursor: pointer;
	transition: background-color var(--rkc-t), color var(--rkc-t),
	            border-color var(--rkc-t);
}

.rkc-chat__form button:hover {
	background: var(--rkc-brass-deep);
	border-color: var(--rkc-brass-deep);
	color: var(--rkc-white);
}

.rkc-chat__form button:focus-visible {
	outline: none;
	box-shadow: var(--rkc-ring);
}

.rkc-chat__form button svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.rkc-chat__foot {
	flex: 0 0 auto;
	padding: 8px 14px 11px;
	font-size: 10.5px;
	line-height: 1.5;
	color: var(--rkc-slate);
	background: var(--rkc-white);
	text-align: center;
}


/* =============================================================================
   13  DASHBOARD
   ========================================================================== */

.rkc-dash {
	display: block;
	min-width: 0;
}

.rkc-dash__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	align-items: stretch;
}

.rkc-dash__tile {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	background: var(--rkc-white);
	border: 1px solid var(--rkc-line);
	border-radius: var(--rkc-r);
	min-width: 0;
	transition: border-color var(--rkc-t), box-shadow var(--rkc-t);
}

.rkc-dash__tile:hover {
	border-color: var(--rkc-brass-30);
}

.rkc-dash__tile > :first-child {
	margin-top: 0;
}

.rkc-dash__tile > :last-child {
	margin-bottom: 0;
}

/* Tile label. */
.rkc-dash__tile h3,
.rkc-dash__tile h4,
.rkc-dash__tile .rkc-card__k {
	margin: 0;
	font-family: var(--rkc-head);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rkc-slate);
}

/* Tile figure - reuse .rkc-readout__big for the number itself. */
.rkc-dash__tile b,
.rkc-dash__tile strong,
.rkc-dash__tile .rkc-dash__num {
	font-family: var(--rkc-head);
	font-size: 25px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
	color: var(--rkc-ink);
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

.rkc-dash__tile p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--rkc-slate);
}

.rkc-dash__tile--accent {
	background: var(--rkc-brass-08);
	border-color: var(--rkc-brass-30);
}

.rkc-dash__tile--dark {
	background: var(--rkc-deep);
	border-color: var(--rkc-deep-3);
	color: var(--rkc-mist);
}

.rkc-dash__tile--dark b,
.rkc-dash__tile--dark strong,
.rkc-dash__tile--dark .rkc-dash__num {
	color: var(--rkc-white);
}

.rkc-dash__tile--dark h3,
.rkc-dash__tile--dark h4,
.rkc-dash__tile--dark p {
	color: var(--rkc-mist);
}

/* Status pill. */
.rkc-dash__status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: flex-start;
	padding: 4px 11px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.5;
	white-space: nowrap;
	background: var(--rkc-paper-2);
	border: 1px solid var(--rkc-line);
	color: var(--rkc-slate);
}

.rkc-dash__status::before {
	content: "";
	width: 6px;
	height: 6px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: currentColor;
}

.rkc-dash__status--ok {
	background: var(--rkc-ok-wash);
	border-color: var(--rkc-ok-wash);
	color: var(--rkc-ok);
}

.rkc-dash__status--warn {
	background: var(--rkc-warn-wash);
	border-color: var(--rkc-warn-wash);
	color: var(--rkc-warn);
}

.rkc-dash__status--err {
	background: var(--rkc-err-wash);
	border-color: var(--rkc-err-wash);
	color: var(--rkc-err);
}

.rkc-dash__status--info {
	background: var(--rkc-brass-08);
	border-color: var(--rkc-brass-30);
	color: var(--rkc-brass-deep);
}

/* A dashboard table stays inside its tile on a phone. */
.rkc-dash table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
}

.rkc-dash th,
.rkc-dash td {
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid var(--rkc-line);
	vertical-align: top;
}

.rkc-dash th {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--rkc-slate);
	white-space: nowrap;
}

.rkc-dash td:last-child,
.rkc-dash th:last-child {
	text-align: right;
	font-variant-numeric: tabular-nums;
}


/* =============================================================================
   14  BOOKING
   Wrapper around the Amelia embed plus a WhatsApp fallback strip.
   ========================================================================== */

.rkc-booking {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	background: var(--rkc-white);
	border: 1px solid var(--rkc-line);
	border-radius: var(--rkc-r-lg);
	padding: 16px;
	overflow: hidden;
}

.rkc-booking > :first-child {
	margin-top: 0;
}

/* Keep third-party booking markup inside the card on narrow screens. */
.rkc-booking .amelia-app-booking,
.rkc-booking [id^="amelia"] {
	max-width: 100%;
}

.rkc-booking img,
.rkc-booking iframe {
	max-width: 100%;
}

.rkc-booking__wa {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-top: 16px;
	padding: 15px 16px;
	background: var(--rkc-paper);
	border: 1px solid var(--rkc-line);
	border-left: 3px solid var(--rkc-brass);
	border-radius: var(--rkc-r);
	font-size: 13.5px;
	line-height: 1.65;
	color: var(--rkc-slate);
}

.rkc-booking__wa strong {
	display: block;
	font-family: var(--rkc-head);
	font-size: 14px;
	font-weight: 700;
	color: var(--rkc-ink);
}

.rkc-booking__wa p {
	margin: 0;
	max-width: 58ch;
}

.rkc-booking__wa .rkc-wa,
.rkc-booking__wa .rkc-btn {
	flex: 0 0 auto;
}


/* =============================================================================
   15  SMALL HELPERS
   ========================================================================== */

.rkc-hide {
	display: none !important;
}

.rkc-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.rkc-rule {
	height: 1px;
	border: 0;
	background: var(--rkc-line);
	margin: 26px 0;
}

.rkc-sec--dark .rkc-rule {
	background: var(--rkc-line-dark);
}

.rkc-stack > * + * {
	margin-top: 12px;
}

.rkc-center {
	text-align: center;
}

.rkc-center .rkc-eyebrow,
.rkc-center .rkc-lede {
	margin-left: auto;
	margin-right: auto;
}


/* =============================================================================
   16  RESPONSIVE - 480px and up
   ========================================================================== */

@media (min-width: 480px) {

	:root {
		--rkc-pad: 20px;
		--rkc-gap: 18px;
		--rkc-chart-h: 180px;
	}

	.rkc-sec {
		padding-top: 52px;
		padding-bottom: 52px;
	}

	.rkc-sec--tight {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.rkc-phero {
		min-height: 230px;
		padding-top: 44px;
		padding-bottom: 34px;
	}

	.rkc-card,
	.rkc-calc {
		padding: 22px;
	}

	.rkc-grid--2,
	.rkc-grid--3,
	.rkc-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rkc-dash__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rkc-readout {
		grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
	}

	.rkc-booking {
		padding: 22px;
	}

	.rkc-booking__wa {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 18px;
	}

	.rkc-gate {
		padding: 32px 26px;
	}
}


/* =============================================================================
   17  RESPONSIVE - 768px and up
   ========================================================================== */

@media (min-width: 768px) {

	:root {
		--rkc-pad: 24px;
		--rkc-gap: 20px;
	}

	/* The utility bar appears only here - below this width every item it holds
	   is available in the mobile menu and the footer. */
	.rkc-topbar {
		display: block;
	}

	.rkc-sec {
		padding-top: 66px;
		padding-bottom: 66px;
	}

	.rkc-sec--tight {
		padding-top: 36px;
		padding-bottom: 36px;
	}

	.rkc-phero {
		min-height: 260px;
		padding-top: 54px;
		padding-bottom: 40px;
	}

	/* Title left, breadcrumb pushed to the right edge and baselined with it. */
	.rkc-phero > .rkc-wrap,
	.rkc-phero__inner {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: 28px;
		flex-wrap: wrap;
	}

	.rkc-phero__title {
		font-size: clamp(30px, 3.6vw, 44px);
	}

	.rkc-phero .rkc-crumb {
		justify-content: flex-end;
		text-align: right;
		flex: 0 1 auto;
		padding-bottom: 4px;
	}

	/* A hero that also carries a lede keeps the crumb on its own top line. */
	.rkc-phero__inner > .rkc-crumb:first-child {
		flex: 1 0 100%;
		justify-content: flex-start;
		text-align: left;
	}

	.rkc-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rkc-calcgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rkc-calc {
		padding: 26px;
	}

	.rkc-calc__title {
		font-size: 18px;
	}

	.rkc-card {
		padding: 26px;
	}

	.rkc-dash__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.rkc-ctrl__num {
		width: 132px;
	}

	.rkc-chat__panel {
		right: 20px;
		bottom: 88px;
	}

	.rkc-chat__fab {
		right: 20px;
		bottom: 20px;
	}

	.rkc-wa--float {
		left: 20px;
		bottom: 20px;
	}

	.rkc-booking {
		padding: 28px;
	}
}


/* =============================================================================
   18  RESPONSIVE - 1024px and up
   ========================================================================== */

@media (min-width: 1024px) {

	:root {
		--rkc-gap: 24px;
		--rkc-chart-h: 196px;
	}

	.rkc-sec {
		padding-top: 84px;
		padding-bottom: 84px;
	}

	.rkc-sec--tight {
		padding-top: 44px;
		padding-bottom: 44px;
	}

	.rkc-phero {
		min-height: 300px;
		padding-top: 66px;
		padding-bottom: 48px;
	}

	.rkc-grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.rkc-dash__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.rkc-lede {
		font-size: 17px;
	}

	.rkc-calc {
		padding: 30px;
	}

	.rkc-readout__cell {
		padding: 16px 18px;
	}

	/* Wide calculators: controls beside the chart + readout. */
	.rkc-calc--wide {
		display: grid;
		grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
		grid-column-gap: 30px;
		align-items: start;
	}

	.rkc-calc--wide .rkc-calc__head {
		grid-column: 1 / -1;
	}

	.rkc-calc--wide .rkc-chart,
	.rkc-calc--wide .rkc-readout,
	.rkc-calc--wide .rkc-gate {
		grid-column: 2;
	}

	.rkc-calc--wide .rkc-chart {
		margin-top: 0;
	}

	.rkc-calcgrid--full {
		grid-template-columns: 1fr;
	}
}


/* =============================================================================
   19  REDUCED MOTION
   Every transition and animation in this file is opt-out.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

	[class*="rkc-"],
	[class*="rkc-"]::before,
	[class*="rkc-"]::after {
		transition-duration: .01ms !important;
		transition-delay: 0ms !important;
		animation-duration: .01ms !important;
		animation-delay: 0ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}

	/* Positional movement is removed outright, not merely sped up. */
	.rkc-card:hover,
	.rkc-card:focus-within,
	.rkc-btn:active,
	.rkc-chat__fab:hover,
	.rkc-wa:hover {
		transform: none;
	}

	.rkc-chat__panel {
		transform: none;
	}

	.rkc-chat.is-open .rkc-chat__panel,
	.rkc-chat__panel.is-open,
	.rkc-chat__panel[data-open="1"] {
		transform: none;
	}

	.rkc-card:hover .rkc-card__go,
	.rkc-card__go:hover {
		gap: 8px;
	}

	.rkc-chat__msg--typing i {
		animation: none;
		opacity: .6;
	}
}


/* =============================================================================
   20  PRINT
   Interface furniture off, content on white with hairline rules.
   ========================================================================== */

@media print {

	.rkc-topbar,
	.rkc-chat,
	.rkc-chat__fab,
	.rkc-chat__panel,
	.rkc-wa--float,
	.rkc-gate,
	.rkc-chat__quick,
	.rkc-chat__form {
		display: none !important;
	}

	.rkc-sec,
	.rkc-sec--paper,
	.rkc-sec--dark {
		background: transparent !important;
		color: #000 !important;
		padding-top: 18pt;
		padding-bottom: 18pt;
	}

	.rkc-sec--dark h1,
	.rkc-sec--dark h2,
	.rkc-sec--dark h3,
	.rkc-sec--dark p,
	.rkc-sec--dark a {
		color: #000 !important;
	}

	.rkc-phero {
		min-height: 0;
		background: none !important;
		color: #000 !important;
		padding: 0 0 12pt;
		border-bottom: 1pt solid #000;
	}

	.rkc-phero::before,
	.rkc-phero::after {
		display: none;
	}

	.rkc-phero__title,
	.rkc-phero .rkc-crumb {
		color: #000 !important;
	}

	.rkc-card,
	.rkc-calc,
	.rkc-dash__tile,
	.rkc-booking,
	.rkc-readout {
		break-inside: avoid;
		page-break-inside: avoid;
		box-shadow: none !important;
		transform: none !important;
		border-color: #999 !important;
		background: transparent !important;
	}

	.rkc-chart {
		background: transparent !important;
		height: 150pt;
	}

	.rkc-btn,
	.rkc-wa {
		border: 1pt solid #000 !important;
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
	}

	.rkc-note {
		font-size: 8pt;
		color: #333 !important;
	}
}
