/* Kern CRE Data: stat tiles (Market Statistics and Economic & Commodity Data).
   Brand: gold #F6B412, charcoal #2E3438, gray #636B70, light gray #F3F4F4. Red Hat Display for numbers. */

.kerncre-tiles {
	--kc-gold: var(--wp--preset--color--asu-gold, #f6b412);
	--kc-charcoal: var(--wp--preset--color--theme-4, #2e3438);
	--kc-gray: var(--wp--preset--color--theme-5, #636b70);
	--kc-line: #e3e5e6;
	--kc-up: #1a6b43;
	--kc-up-bg: #e4f2ea;
	--kc-down: #a52e27;
	--kc-down-bg: #fae8e6;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 224px), 1fr));
	grid-auto-rows: 1fr;
	align-items: stretch;
	gap: 8px;
	margin: 0 0 8px;
	padding: 0;
}

.kerncre-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
	margin: 0;
	padding: 9px 12px 7px;
	background: #fff;
	border: 1px solid var(--kc-line);
	border-top: 3px solid var(--kc-gold);
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(46, 52, 56, 0.05), 0 10px 24px -18px rgba(46, 52, 56, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kerncre-tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(46, 52, 56, 0.06), 0 18px 32px -16px rgba(46, 52, 56, 0.4);
}

/* The theme gives every <p> a margin; nothing inside a tile keeps one (the number and chips sit inside the row). */
.kerncre-tile > *,
.kerncre-tile p,
.kerncre-tile__row > * {
	margin: 0;
}

.kerncre-tile__label {
	font-family: var(--wp--preset--font-family--red-hat-text, inherit);
	min-height: 2.5em;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--kc-gray);
	text-wrap: balance;
}

/* Number, unit and change chips on one row; the chips drop below the number only when the tile is too narrow. */
.kerncre-tile__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 10px;
	min-height: 40px;
	margin-top: 3px;
}

.kerncre-tile__value {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	min-width: 0;
	font-family: var(--wp--preset--font-family--red-hat-display, inherit);
	font-size: clamp(1.375rem, 1.2rem + 0.55vw, 1.625rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: var(--kc-charcoal);
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}

.kerncre-tile__value.is-long {
	font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
}

.kerncre-tile__unit {
	font-family: var(--wp--preset--font-family--red-hat-text, inherit);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	color: var(--kc-gray);
}

.kerncre-tile.is-empty .kerncre-tile__changes {
	display: none;
}

.kerncre-tile.is-empty .kerncre-tile__asof::before {
	content: "Not published yet";
	font-style: italic;
}

.kerncre-tile.is-empty .kerncre-tile__value {
	color: var(--kc-gray);
	opacity: 0.6;
}

.kerncre-tile__value .kerncre-data__lbl {
	display: inline-block;
	margin-left: 0.4em;
	font-family: var(--wp--preset--font-family--red-hat-text, inherit);
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--kc-gray);
	vertical-align: 0.15em;
}

.kerncre-tile__asof {
	font-size: 0.75rem;
	line-height: 1.3;
	color: var(--kc-gray);
}

.kerncre-tile__changes {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}

.kerncre-tile__changes:empty {
	display: none;
}

.kerncre-tile__chg {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 1px 6px 1px 5px;
	border-radius: 5px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	background: #f3f4f4;
	color: var(--kc-gray);
	font-variant-numeric: tabular-nums;
}

.kerncre-tile__chg.is-up {
	background: var(--kc-up-bg);
	color: var(--kc-up);
}

.kerncre-tile__chg.is-down {
	background: var(--kc-down-bg);
	color: var(--kc-down);
}

.kerncre-tile__chg .kerncre-tile__lbl {
	font-weight: 500;
	opacity: 0.85;
}

/* The same move as a percentage, in brackets after the move in units. */
.kerncre-tile__pct {
	font-weight: 600;
	opacity: 0.9;
}

.kerncre-tile__pct::before {
	content: "(";
}

.kerncre-tile__pct::after {
	content: ")";
}

.kerncre-tile__pct:empty {
	display: none;
}

/* Arrows drawn with borders so they look the same on every phone; colour is never the only signal. */
.kerncre-tile__arrow {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
}

.kerncre-tile__chg.is-up .kerncre-tile__arrow {
	border-bottom: 6px solid currentColor;
}

.kerncre-tile__chg.is-down .kerncre-tile__arrow {
	border-top: 6px solid currentColor;
}

.kerncre-tile__chg.is-flat .kerncre-tile__arrow {
	width: 8px;
	height: 3px;
	border: 0;
	border-radius: 2px;
	background: currentColor;
}

.kerncre-tile__chg.is-na .kerncre-tile__arrow {
	display: none;
}

.kerncre-tile__chart {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 4px;
	overflow: visible;
	font-family: var(--wp--preset--font-family--red-hat-text, inherit);
}

.kerncre-tile__chart--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	aspect-ratio: 300 / 76;
	border: 1px dashed #d9dcdd;
	border-radius: 6px;
	font-size: 0.75rem;
	font-style: italic;
	color: var(--kc-gray);
	background: repeating-linear-gradient(180deg, transparent 0 24%, #eef0f0 24% calc(24% + 1px));
}

.kerncre-tile__chart-grid {
	stroke: #e3e5e6;
	stroke-width: 1;
	vector-effect: non-scaling-stroke;
}

.kerncre-tile__chart-axis {
	fill: var(--kc-gray);
	font-size: 9px;
	font-variant-numeric: tabular-nums;
}

.kerncre-tile__chart-fill {
	fill: rgba(246, 180, 18, 0.14);
}

.kerncre-tile__chart-line {
	fill: none;
	stroke: var(--kc-charcoal);
	stroke-width: 2;
	stroke-linejoin: round;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
}

.kerncre-tile__chart-dot {
	fill: var(--kc-gold);
	stroke: #fff;
	stroke-width: 1.5;
}

.kerncre-tile__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2px 10px;
	margin-top: auto;
	padding-top: 4px;
}

.kerncre-tile__foot:empty {
	display: none;
}

.kerncre-tile__source {
	margin-left: auto;
	font-size: 0.75rem;
	line-height: 1.3;
	color: var(--kc-gray);
	text-decoration: none;
}

.kerncre-tile__source::after {
	content: " \2197";
	font-size: 0.85em;
}

.kerncre-tile__source:hover,
.kerncre-tile__source:focus-visible {
	color: var(--kc-charcoal);
	text-decoration: underline;
	text-decoration-color: var(--kc-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

/* Market tiles: submarket selector and the "where and when" line above the grid. */
.kerncre-market__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px 20px;
	margin: 0 0 10px;
}

.kerncre-market__field {
	display: flex;
	flex: 1 1 240px;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	max-width: 360px;
}

.kerncre-market__field span {
	font-family: var(--wp--preset--font-family--red-hat-display, inherit);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--theme-5, #636b70);
}

.kerncre-market__field select {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0.55em 2.6em 0.55em 0.9em;
	font: inherit;
	font-weight: 600;
	color: var(--wp--preset--color--theme-4, #2e3438);
	background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%232E3438' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.9em center;
	border: 1px solid #c3c8cb;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(46, 52, 56, 0.06);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kerncre-market__field select:hover {
	border-color: var(--wp--preset--color--theme-5, #636b70);
}

.kerncre-market__field select:focus-visible {
	outline: none;
	border-color: var(--wp--preset--color--asu-gold, #f6b412);
	box-shadow: 0 0 0 3px rgba(246, 180, 18, 0.35);
}

.kerncre-market__note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	font-family: var(--wp--preset--font-family--red-hat-display, inherit);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--wp--preset--color--theme-4, #2e3438);
}

.kerncre-market__note::before {
	content: "";
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--wp--preset--color--asu-gold, #f6b412);
}

/* Locked preview (Subscriber Gate): no hint of which way a number moved. */
.kerncre-gate__preview .kerncre-tile__chg {
	background: #f3f4f4;
	color: #636b70;
}

.kerncre-gate__preview .kerncre-tile__arrow {
	display: none;
}

.kerncre-gate__preview .kerncre-tile:hover {
	transform: none;
}

/* Topic filter ([kerncre_filter]): a "Topics" button that opens a list of checkboxes.
   Block-level on purpose: the theme's constrained layout centres block children at the content width
   with auto margins; a max-width of our own (even 100%) outranks the theme's zero-specificity content
   width and the box then spans the full page, sitting at the viewport's left edge. */
.kerncre-filter {
	position: relative;
	display: block;
	box-sizing: border-box;
	margin: 0 0 16px;
	font-family: var(--wp--preset--font-family--red-hat-text, inherit);
}

.kerncre-filter__toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	max-width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 8px 14px 8px 16px;
	font: inherit;
	font-size: 1rem;
	line-height: 1.3;
	color: var(--wp--preset--color--theme-4, #2e3438);
	background: #fff;
	border: 1px solid #c3c8cb;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(46, 52, 56, 0.06);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kerncre-filter__toggle:hover {
	border-color: var(--wp--preset--color--theme-5, #636b70);
}

.kerncre-filter__toggle:focus-visible {
	outline: none;
	border-color: var(--wp--preset--color--asu-gold, #f6b412);
	box-shadow: 0 0 0 3px rgba(246, 180, 18, 0.35);
}

.kerncre-filter__name {
	font-family: var(--wp--preset--font-family--red-hat-display, inherit);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--theme-5, #636b70);
}

.kerncre-filter__summary {
	overflow: hidden;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.kerncre-filter.is-filtered .kerncre-filter__summary {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--wp--preset--color--asu-gold, #f6b412);
}

.kerncre-filter__caret {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin: -3px 2px 0 0;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.kerncre-filter.is-open .kerncre-filter__caret {
	margin-top: 4px;
	transform: rotate(225deg);
}

.kerncre-filter__panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 20;
	display: grid;
	gap: 2px;
	min-width: min(320px, calc(100vw - 32px));
	max-height: min(70vh, 480px);
	overflow: auto;
	padding: 8px;
	background: #fff;
	border: 1px solid #e3e5e6;
	border-radius: 10px;
	box-shadow: 0 2px 4px rgba(46, 52, 56, 0.06), 0 18px 36px -16px rgba(46, 52, 56, 0.45);
}

.kerncre-filter__panel[hidden] {
	display: none;
}

.kerncre-filter__option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 0.9375rem;
	line-height: 1.3;
	color: var(--wp--preset--color--theme-4, #2e3438);
	cursor: pointer;
}

.kerncre-filter__option:hover {
	background: #f3f4f4;
}

.kerncre-filter__option--all {
	margin-bottom: 4px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e3e5e6;
	border-radius: 6px 6px 0 0;
	font-weight: 600;
}

.kerncre-filter__option input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--wp--preset--color--asu-gold, #f6b412);
}

.kerncre-filter__option input:focus-visible {
	outline: 3px solid rgba(246, 180, 18, 0.5);
	outline-offset: 2px;
}

@media (max-width: 599px) {
	.kerncre-filter,
	.kerncre-filter__toggle {
		display: flex;
		width: 100%;
	}

	.kerncre-filter__summary {
		flex: 1 1 auto;
		text-align: left;
	}

	.kerncre-filter__panel {
		right: 0;
		min-width: 0;
	}
}

/* Home page "Kern market at a glance": the same tiles, a little roomier and with larger numbers, in the hero. */
.kerncre-hero .kerncre-tiles {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
}

.kerncre-hero .kerncre-tile {
	padding: 14px 16px 10px;
	border-top-width: 4px;
}

.kerncre-hero .kerncre-tile__label {
	font-size: 0.9375rem;
	min-height: 0;
}

.kerncre-hero .kerncre-tile__row {
	margin-top: 6px;
}

.kerncre-hero .kerncre-tile__value {
	font-size: clamp(1.75rem, 1.35rem + 1vw, 2.25rem);
}

.kerncre-hero .kerncre-tile__value.is-long {
	font-size: clamp(1.375rem, 1.15rem + 0.6vw, 1.625rem);
}

.kerncre-hero .kerncre-tile__foot {
	margin-top: 8px;
}

/* The rotating box: every set sits in the same grid cell, so the box keeps the height of its tallest set. */
.kerncre-glance__sets {
	display: grid;
}

.kerncre-glance__set {
	grid-area: 1 / 1;
	transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.kerncre-glance__set:not(.is-active) {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

.kerncre-glance__set.is-active {
	transition: opacity 0.6s ease, visibility 0s;
}

.kerncre-glance__dots {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.kerncre-glance__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: #c9cdcf;
	cursor: pointer;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.kerncre-glance__dot.is-active {
	width: 26px;
	background: var(--wp--preset--color--asu-gold, #f6b412);
}

.kerncre-glance__dot:focus-visible {
	outline: 3px solid var(--wp--preset--color--asu-gold, #f6b412);
	outline-offset: 3px;
}

/* Without the script (or inside the gate's blurred preview) only the first set shows and the dots are hidden. */
.kerncre-glance:not(.is-ready) .kerncre-glance__dots {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.kerncre-glance__set,
	.kerncre-glance__set.is-active,
	.kerncre-glance__dot {
		transition: none;
	}
}

/* Narrow hero tiles: a long chip ("-1,300,000 SF (-72.2%) y/y") wraps inside the tile instead of overflowing. */
.kerncre-hero .kerncre-tile__changes {
	min-width: 0;
	max-width: 100%;
}

.kerncre-hero .kerncre-tile__chg {
	flex-wrap: wrap;
	max-width: 100%;
	white-space: normal;
}

/* No empty chips in the hero: a change shows once its earlier period is entered. */
.kerncre-hero .kerncre-tile__chg.is-na {
	display: none;
}

@media (max-width: 599px) {
	.kerncre-hero .kerncre-tile__source {
		display: none;
	}
}

.kerncre-topic-hidden {
	display: none !important;
}

@media (max-width: 599px) {
	.kerncre-tiles {
		gap: 8px;
	}

	.kerncre-tile {
		padding: 9px 11px 7px;
	}

	.kerncre-tile__value {
		font-size: 1.5rem;
	}

	.kerncre-tile__value.is-long {
		font-size: 1.1875rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kerncre-tile,
	.kerncre-filter__toggle,
	.kerncre-filter__caret,
	.kerncre-market__field select {
		transition: none;
	}

	.kerncre-tile:hover {
		transform: none;
	}
}

@media print {
	.kerncre-tile {
		box-shadow: none;
		break-inside: avoid;
	}
}

/* "Coming soon" notice (setting on the plugin's Settings tab): covers the Industrial and Office tiles and the home
   page box with a short note for new subscribers, the tiles blurred behind it. Tiles and notice share one grid cell,
   so the box is as tall as whichever is taller. Hidden in the gate's locked preview, where the sign-up form shows. */
.kerncre-soon-wrap {
	display: grid;
}

.kerncre-soon-wrap > * {
	grid-area: 1 / 1;
	min-width: 0;
}

.kerncre-soon-wrap > .kerncre-tiles {
	filter: blur(5px);
	opacity: 0.5;
	pointer-events: none;
	user-select: none;
}

.kerncre-soon {
	position: relative;
	z-index: 2;
	align-self: start;
	justify-self: center;
	width: 100%;
	max-width: 620px;
	margin-top: 24px;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 32px rgba(46, 52, 56, 0.16);
	color: #2e3438;
	text-align: left;
	animation: kerncre-soon-in 0.5s ease-out both;
}

.kerncre-soon__tape {
	height: 12px;
	background: repeating-linear-gradient(-45deg, #f6b412 0 14px, #2e3438 14px 28px);
	background-size: 39.6px 12px;
	animation: kerncre-soon-tape 1.6s linear infinite;
}

.kerncre-soon__body {
	padding: 22px 26px 24px;
}

.kerncre-soon__title {
	margin: 0 0 14px;
	font-family: var(--wp--preset--font-family--red-hat-display, inherit);
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.25;
}

.kerncre-soon__steps {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: kerncre-soon;
}

.kerncre-soon__steps li {
	position: relative;
	margin: 0;
	padding: 0 0 0 40px;
	font-size: 1rem;
	line-height: 1.45;
	counter-increment: kerncre-soon;
}

.kerncre-soon__steps li + li {
	margin-top: 12px;
}

.kerncre-soon__steps li::before {
	content: counter(kerncre-soon);
	position: absolute;
	top: 0;
	left: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #f6b412;
	color: #2e3438;
	font-weight: 800;
	font-size: 0.875rem;
	line-height: 26px;
	text-align: center;
}

.kerncre-soon a {
	color: #2e3438;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: #f6b412;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	white-space: nowrap;
}

.kerncre-soon a:hover,
.kerncre-soon a:focus-visible {
	background: rgba(246, 180, 18, 0.2);
}

/* The home box: tighter, so it fits over four tiles. */
.kerncre-soon--compact {
	margin-top: 0;
	align-self: center;
}

.kerncre-soon--compact .kerncre-soon__tape {
	height: 8px;
	background-size: 39.6px 8px;
}

.kerncre-soon--compact .kerncre-soon__body {
	padding: 16px 18px 18px;
}

.kerncre-soon--compact .kerncre-soon__title {
	margin-bottom: 10px;
	font-size: 1.125rem;
}

.kerncre-soon--compact .kerncre-soon__steps li {
	padding-left: 32px;
	font-size: 0.9375rem;
}

.kerncre-soon--compact .kerncre-soon__steps li + li {
	margin-top: 8px;
}

.kerncre-soon--compact .kerncre-soon__steps li::before {
	width: 22px;
	height: 22px;
	font-size: 0.8125rem;
	line-height: 22px;
}

@keyframes kerncre-soon-tape {
	to { background-position: 39.6px 0; }
}

@keyframes kerncre-soon-in {
	from { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 599px) {
	.kerncre-soon {
		margin-top: 12px;
	}

	.kerncre-soon__body {
		padding: 18px 18px 20px;
	}

	.kerncre-soon__title {
		font-size: 1.1875rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kerncre-soon,
	.kerncre-soon__tape {
		animation: none;
	}
}

.kerncre-gate__preview .kerncre-soon {
	display: none;
}

.kerncre-gate__preview .kerncre-soon-wrap > .kerncre-tiles {
	filter: none;
	opacity: 1;
}

@media print {
	.kerncre-soon {
		display: none;
	}

	.kerncre-soon-wrap > .kerncre-tiles {
		filter: none;
		opacity: 1;
	}
}


/* Kern CRE delivery tracker v01 (replaces the "loading dock" notice). Flat cut-out look of the
   conversion Reels: paper background, navy truck, gold accents. Uses the .kerncre-soon slot. */
.kerncre-track{--paper:#F6F1E7;--navy:#16263B;--gold:#F6B412;--gold-d:#C98A00;--char:#2E3438;--muted:#6B7378;--line:#E2DACB;
  position:relative;z-index:2;align-self:start;justify-self:center;width:100%;max-width:760px;margin-top:24px;
  border-radius:14px;overflow:hidden;background:var(--paper);color:var(--char);text-align:left;
  box-shadow:0 14px 36px rgba(46,52,56,.18);font-family:var(--wp--preset--font-family--red-hat-text,inherit);
  animation:kct-in .5s ease-out both}
.kerncre-track__body{padding:22px 26px 24px}
.kerncre-track__eyebrow{margin:0;font:700 .75rem/1.2 var(--wp--preset--font-family--red-hat-display,inherit);letter-spacing:.14em;text-transform:uppercase;color:var(--gold-d)}
.kerncre-track__title{margin:6px 0 0;font:800 1.5rem/1.2 var(--wp--preset--font-family--red-hat-display,inherit);color:var(--navy)}
.kerncre-track__eta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:12px 0 0}
.kerncre-track__date{margin:0;font-size:1rem;line-height:1.35}
.kerncre-track__date strong{color:var(--navy)}
.kerncre-track__count{display:flex;gap:6px;margin:0;padding:0;list-style:none}
.kerncre-track__count li{min-width:54px;padding:6px 8px 5px;border-radius:8px;background:var(--navy);color:#fff;text-align:center;line-height:1}
.kerncre-track__count b{display:block;font:800 1.375rem/1 var(--wp--preset--font-family--red-hat-display,inherit);font-variant-numeric:tabular-nums}
.kerncre-track__count span{display:block;margin-top:3px;font-size:.6875rem;letter-spacing:.08em;text-transform:uppercase;color:#C9D1DA}
/* Road scene */
.kerncre-track__scene{position:relative;margin:18px -26px 0;height:120px;background:linear-gradient(#F6F1E7 0 64%,#2E3438 64% 100%)}
.kerncre-track__scene::before{content:"";position:absolute;left:0;right:0;top:80%;height:4px;margin-top:-2px;
  background:repeating-linear-gradient(90deg,var(--gold) 0 22px,transparent 22px 44px);animation:kct-road .6s linear infinite}
.kerncre-track__scene::after{content:"";position:absolute;left:0;right:0;bottom:36%;height:64px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 64'%3E%3Crect x='0' y='30' width='110' height='34' fill='%23D9CBB0'/%3E%3Crect x='0' y='30' width='110' height='3' fill='%23C4B494'/%3E%3Crect x='0' y='40' width='18' height='12' fill='%238FB3C9'/%3E%3Cg fill='%235D6B78'%3E%3Crect x='26' y='50' width='10' height='14'/%3E%3Crect x='42' y='50' width='10' height='14'/%3E%3Crect x='58' y='50' width='10' height='14'/%3E%3Crect x='74' y='50' width='10' height='14'/%3E%3Crect x='90' y='50' width='10' height='14'/%3E%3C/g%3E%3Crect x='112' y='60' width='58' height='4' fill='%23C9B48A'/%3E%3Cg fill='%237C5E3C'%3E%3Crect x='118' y='54' width='2' height='7'/%3E%3Crect x='132' y='54' width='2' height='7'/%3E%3Crect x='146' y='54' width='2' height='7'/%3E%3Crect x='160' y='54' width='2' height='7'/%3E%3C/g%3E%3Cg fill='%238DAA6B'%3E%3Ccircle cx='119' cy='52' r='6'/%3E%3Ccircle cx='133' cy='52' r='6'/%3E%3Ccircle cx='147' cy='52' r='6'/%3E%3Ccircle cx='161' cy='52' r='6'/%3E%3C/g%3E%3Crect x='174' y='10' width='36' height='54' fill='%237E9BB0'/%3E%3Crect x='174' y='10' width='36' height='3' fill='%235F7E94'/%3E%3Cg fill='%23C3D7E4'%3E%3Crect x='178' y='17' width='28' height='4'/%3E%3Crect x='178' y='25' width='28' height='4'/%3E%3Crect x='178' y='33' width='28' height='4'/%3E%3Crect x='178' y='41' width='28' height='4'/%3E%3Crect x='178' y='49' width='28' height='4'/%3E%3C/g%3E%3Crect x='214' y='42' width='58' height='22' fill='%23EADFCB'/%3E%3Crect x='214' y='42' width='58' height='4' fill='%23C9BBA2'/%3E%3Crect x='216' y='48' width='17' height='4' fill='%23D9774B'/%3E%3Crect x='235' y='48' width='17' height='4' fill='%23F6B412'/%3E%3Crect x='254' y='48' width='16' height='4' fill='%235E8C6A'/%3E%3Cg fill='%239FC0D3'%3E%3Crect x='217' y='53' width='15' height='11'/%3E%3Crect x='236' y='53' width='15' height='11'/%3E%3Crect x='255' y='53' width='14' height='11'/%3E%3C/g%3E%3Cpath d='M276 30h76v34h-76z' fill='%23B7BEC4'/%3E%3Cpath d='M276 30l12-9v9l12-9v9l12-9v9l12-9v9l12-9v9z' fill='%239AA3AA'/%3E%3Crect x='342' y='6' width='7' height='24' fill='%238A939A'/%3E%3Crect x='342' y='10' width='7' height='3' fill='%23C0503A'/%3E%3Cg fill='%235D6B78'%3E%3Crect x='284' y='48' width='14' height='16'/%3E%3Crect x='304' y='40' width='40' height='5'/%3E%3C/g%3E%3Crect x='356' y='24' width='46' height='40' fill='%23D79B73'/%3E%3Crect x='356' y='22' width='46' height='4' fill='%23B97A55'/%3E%3Cg fill='%23F6F1E7'%3E%3Crect x='361' y='30' width='8' height='6'/%3E%3Crect x='375' y='30' width='8' height='6'/%3E%3Crect x='389' y='30' width='8' height='6'/%3E%3Crect x='361' y='41' width='8' height='6'/%3E%3Crect x='375' y='41' width='8' height='6'/%3E%3Crect x='389' y='41' width='8' height='6'/%3E%3Crect x='361' y='52' width='8' height='6'/%3E%3Crect x='375' y='52' width='8' height='6'/%3E%3Crect x='389' y='52' width='8' height='6'/%3E%3C/g%3E%3Cg fill='%23B97A55'%3E%3Crect x='359' y='36' width='12' height='2'/%3E%3Crect x='373' y='36' width='12' height='2'/%3E%3Crect x='387' y='36' width='12' height='2'/%3E%3Crect x='359' y='47' width='12' height='2'/%3E%3Crect x='373' y='47' width='12' height='2'/%3E%3Crect x='387' y='47' width='12' height='2'/%3E%3C/g%3E%3Crect x='406' y='34' width='74' height='30' fill='%23E3D6BC'/%3E%3Crect x='406' y='34' width='74' height='3' fill='%23F6B412'/%3E%3Cg fill='%235D6B78'%3E%3Crect x='414' y='51' width='10' height='13'/%3E%3Crect x='430' y='51' width='10' height='13'/%3E%3Crect x='446' y='51' width='10' height='13'/%3E%3Crect x='462' y='51' width='10' height='13'/%3E%3C/g%3E%3C/svg%3E") repeat-x 0 100%/480px 64px;animation:kct-sky 9.6s linear infinite}
.kerncre-track__scene.is-done::before,.kerncre-track__scene.is-done::after{animation:none}
.kerncre-track__dest{position:absolute;z-index:1;right:14px;bottom:44px;width:84px;filter:drop-shadow(0 2px 0 rgba(0,0,0,.08))}
.kerncre-track__truck{position:absolute;z-index:2;bottom:16px;width:118px;margin-left:-59px;transition:left 1.2s cubic-bezier(.3,.7,.2,1)}
.kerncre-track__scene:not(.is-done) .kerncre-track__truck svg{animation:kct-bob .3s ease-in-out infinite alternate}
.kerncre-track__scene:not(.is-done) .kct-wheel{animation:kct-spin .6s linear infinite;transform-box:fill-box;transform-origin:center}
/* Steps */
.kerncre-track__steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:16px 0 0;padding:0;list-style:none;counter-reset:kct}
.kerncre-track__steps li{position:relative;margin:0;padding-top:30px;font-size:.8125rem;line-height:1.3;color:var(--muted);text-align:center}
.kerncre-track__steps li::before{content:"";position:absolute;top:3px;left:50%;width:20px;height:20px;margin-left:-10px;border-radius:50%;
  border:2px solid #C9C2B4;background:var(--paper);box-sizing:border-box}
.kerncre-track__steps li::after{content:"";position:absolute;top:12px;left:calc(50% + 12px);right:calc(-50% + 12px);height:2px;background:#D6CFC0}
.kerncre-track__steps li:last-child::after{display:none}
.kerncre-track__steps li.is-done{color:var(--char)}
.kerncre-track__steps li.is-done::before{border-color:var(--gold);background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2316263B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.kerncre-track__steps li.is-done::after{background:var(--gold)}
.kerncre-track__steps li.is-now{color:var(--navy);font-weight:700}
.kerncre-track__steps li.is-now::before{border:6px solid var(--gold);background:var(--navy);box-shadow:0 0 0 0 rgba(246,180,18,.6);animation:kct-pulse 1.8s ease-out infinite}
.kerncre-track__status{margin:14px 0 0;padding:10px 12px;border-left:4px solid var(--gold);background:#fff;border-radius:0 8px 8px 0;font-size:.9375rem;line-height:1.45}
.kerncre-track__status strong{color:var(--navy)}
.kerncre-track__wait{margin:14px 0 0;padding:0;list-style:none;font-size:.9375rem;line-height:1.45}
.kerncre-track__wait li{position:relative;margin:6px 0 0;padding-left:22px}
.kerncre-track__wait li::before{content:"";position:absolute;left:2px;top:.55em;width:9px;height:9px;border-radius:2px;background:var(--gold);transform:rotate(45deg)}
.kerncre-track a{color:var(--navy);font-weight:700;text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:3px;white-space:nowrap}
/* Home box: compact */
.kerncre-track--compact{max-width:620px;margin-top:0;align-self:center}
.kerncre-track--compact .kerncre-track__body{padding:16px 18px 16px}
.kerncre-track--compact .kerncre-track__title{font-size:1.1875rem}
.kerncre-track--compact .kerncre-track__scene{margin:12px -18px 0;height:96px}
.kerncre-track--compact .kerncre-track__truck{width:94px;margin-left:-47px;bottom:15px}
.kerncre-track--compact .kerncre-track__dest{width:66px;bottom:34px}
.kerncre-track--compact .kerncre-track__wait li+li{display:none}
.kerncre-track--compact .kerncre-track__steps{margin-top:12px}
.kerncre-track--compact .kerncre-track__steps li{font-size:.75rem}
.kerncre-track--compact .kerncre-track__wait{margin-top:10px}
.kerncre-track--compact .kerncre-track__count li{min-width:46px}
.kerncre-track--compact .kerncre-track__count b{font-size:1.125rem}
@keyframes kct-in{from{opacity:0;transform:translateY(10px)}}
@keyframes kct-road{to{background-position:-44px 0}}
@keyframes kct-sky{to{background-position:-480px 100%}}
@keyframes kct-bob{to{transform:translateY(-1.5px)}}
@keyframes kct-spin{to{transform:rotate(360deg)}}
@keyframes kct-pulse{70%{box-shadow:0 0 0 9px rgba(246,180,18,0)}100%{box-shadow:0 0 0 0 rgba(246,180,18,0)}}
@media (max-width:599px){
  .kerncre-track{margin-top:12px}
  .kerncre-track__body{padding:18px 16px 18px}
  .kerncre-track__title{font-size:1.25rem}
  .kerncre-track__scene{margin:14px -16px 0;height:104px}
  .kerncre-track__truck{width:96px;margin-left:-48px;bottom:17px}
  .kerncre-track__dest{width:64px;right:8px;bottom:36px}
  .kerncre-track__steps{gap:2px}
  .kerncre-track__steps li{font-size:.6875rem}
  /* Phones: the card is the whole box. Drop the blurred tiles behind it so the frame fits the card. */
  .kerncre-soon-wrap:has(.kerncre-track)>.kerncre-tiles{display:none}
  .kerncre-soon-wrap>.kerncre-track{margin:0;max-width:none;width:100%;align-self:stretch}
  .kerncre-track--compact .kerncre-track__body{padding:16px 14px 14px}
  .kerncre-track--compact .kerncre-track__scene{margin:12px -14px 0}
}
@media (prefers-reduced-motion:reduce){.kerncre-track,.kerncre-track *,.kerncre-track *::before,.kerncre-track__scene::before,.kerncre-track__scene::after{animation:none!important;transition:none!important}}

.kerncre-gate__preview .kerncre-track{display:none}

/* 1.10.0: a short line under the number (a scheduled change, a plain-words caveat). */
.kerncre-tile__note {
	margin-top: 4px;
	font-size: 0.75rem;
	line-height: 1.35;
	color: var(--kc-gray);
}

/* 1.10.0: a figure its source has not refreshed for well past its usual cadence. */
.kerncre-tile.is-stale {
	border-top-color: #c9cdcf;
}

.kerncre-tile.is-stale .kerncre-tile__asof {
	font-weight: 600;
	color: #8a5a00;
}

/* 1.10.0: outside links on a tile (Bakersfield pump prices on the two fuel tiles). */
.kerncre-tile__links a {
	font-weight: 600;
	color: var(--kc-charcoal, #2e3438);
	text-decoration: underline;
	text-decoration-color: var(--kc-gold, #f6b412);
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
	white-space: nowrap;
}
