/**
 * TCN Gateway — front-end styling.
 * Tuned to the TCN-28 deck: near-black surfaces, warm orange accent.
 */

/*
 * Two palettes, one set of rules. Everything below paints with these tokens,
 * so a light site only needs the override block — no duplicated selectors.
 * The accent is shared: it is the brand, not a theme choice.
 */
:root,
body.tcng-theme-dark {
	--tcng-orange: #ee7127;
	--tcng-orange-hover: #d9601a;
	--tcng-orange-soft: rgba(238, 113, 39, 0.14);

	--tcng-ink: #ffffff;
	--tcng-body: #d3d3da;
	--tcng-dim: #a9a9b2;
	--tcng-faint: #74747d;
	--tcng-nda-ink: #c8c8d0;

	--tcng-line: rgba(255, 255, 255, 0.14);
	--tcng-panel: #141416;
	--tcng-panel-2: #1b1b1f;
	--tcng-hover: rgba(255, 255, 255, 0.02);

	--tcng-input-bg: #0d0d0f;
	--tcng-input-ink: #ffffff;
	--tcng-tabs-bg: #17171b;

	--tcng-track: rgba(255, 255, 255, 0.08);
	--tcng-thumb: #34343a;
	--tcng-disabled-bg: #3a3a41;
	--tcng-disabled-ink: #7d7d86;
	--tcng-ghost-ink: #ffffff;

	/*
	 * A signature is ink on paper in both themes — flipping it to white-on-dark
	 * would not read as a signature, and the drawn one is captured as a PNG
	 * that has to look right on the printed agreement too.
	 */
	--tcng-paper: #ffffff;
	--tcng-paper-ink: #111111;
	--tcng-paper-line: var(--tcng-line);
	--tcng-watermark: rgba(255, 255, 255, 0.22);
}

body.tcng-theme-light {
	--tcng-ink: #15151b;
	--tcng-body: #3f3f4a;
	--tcng-dim: #5f5f6b;
	--tcng-faint: #6f6f7a;
	--tcng-nda-ink: #3f3f4a;

	--tcng-line: rgba(17, 17, 24, 0.13);
	--tcng-panel: #ffffff;
	--tcng-panel-2: #f5f5f7;
	--tcng-hover: rgba(17, 17, 24, 0.02);

	--tcng-input-bg: #ffffff;
	--tcng-input-ink: #15151b;
	--tcng-tabs-bg: #eeeef1;

	--tcng-track: rgba(17, 17, 24, 0.08);
	--tcng-thumb: #c6c6ce;
	--tcng-disabled-bg: #e5e5ea;
	--tcng-disabled-ink: #9a9aa4;
	--tcng-ghost-ink: #15151b;

	--tcng-paper: #ffffff;
	--tcng-paper-ink: #111111;
	--tcng-paper-line: rgba(17, 17, 24, 0.22);
	--tcng-watermark: rgba(17, 17, 24, 0.28);
}

/* ---------- Reading progress ---------- */

.tcng-progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	background: var(--tcng-track);
	z-index: 9999;
	pointer-events: none;
}

.tcng-progress__bar {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #f0913f, var(--tcng-orange));
	transition: width 0.12s linear;
}

/* ---------- Alerts ---------- */

.tcng-alert {
	border-radius: 10px;
	padding: 16px 20px;
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.6;
	border: 1px solid var(--tcng-line);
	background: var(--tcng-panel-2);
	color: var(--tcng-ink);
}

.tcng-alert strong {
	color: var(--tcng-ink);
}

.tcng-alert--info {
	border-color: rgba(238, 113, 39, 0.4);
	background: var(--tcng-orange-soft);
}

.tcng-alert--error {
	border-color: rgba(239, 68, 68, 0.45);
	background: rgba(239, 68, 68, 0.12);
}

.tcng-alert--ok {
	border-color: rgba(16, 185, 129, 0.45);
	background: rgba(16, 185, 129, 0.12);
}

.tcng-alert ul {
	margin: 8px 0 0 18px;
	padding: 0;
}

.tcng-alert a {
	color: var(--tcng-orange);
}

/* ---------- Forms ---------- */

.tcng-gate {
	max-width: 860px;
	margin: 0 auto;
	color: var(--tcng-ink);
}

.tcng-form__section {
	background: var(--tcng-panel);
	border: 1px solid var(--tcng-line);
	border-radius: 14px;
	padding: 30px 32px;
	margin-bottom: 22px;
}

.tcng-form__legend {
	margin: 0 0 6px;
	font-size: 19px;
	color: var(--tcng-ink);
	letter-spacing: 0.01em;
}

.tcng-form__hint {
	margin: 0 0 18px;
	font-size: 14px;
	color: var(--tcng-dim);
}

.tcng-form__hint--muted {
	margin: 10px 0 0;
	font-size: 13px;
}

.tcng-form__fineprint {
	font-size: 12.5px;
	color: var(--tcng-faint);
	margin-top: 14px;
}

.tcng-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

.tcng-field--wide {
	grid-column: 1 / -1;
}

.tcng-field {
	display: block;
}

.tcng-field > span {
	display: block;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tcng-dim);
	margin-bottom: 7px;
}

.tcng-field > span em {
	color: var(--tcng-orange);
	font-style: normal;
}

.tcng-field input,
.tcng-field textarea,
.tcng-field select {
	width: 100%;
	background: var(--tcng-input-bg);
	border: 1px solid var(--tcng-line);
	border-radius: 8px;
	color: var(--tcng-input-ink);
	font-size: 15px;
	padding: 12px 14px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	box-shadow: none;
}

.tcng-field input:focus,
.tcng-field textarea:focus {
	outline: none;
	border-color: var(--tcng-orange);
	box-shadow: 0 0 0 3px rgba(238, 113, 39, 0.18);
}

/* ---------- NDA box ---------- */

.tcng-nda {
	max-height: 340px;
	overflow-y: auto;
	/* Keep touch swipes inside the box instead of handing off to the page. */
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background: var(--tcng-input-bg);
	border: 1px solid var(--tcng-line);
	border-radius: 10px;
	padding: 24px 26px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--tcng-nda-ink);
	scrollbar-width: thin;
}

.tcng-nda p {
	margin: 0 0 14px;
}

/* End-of-agreement sentinel: the scroll gate watches for this coming into view. */
/* Real area, but pulled back over the trailing text so it adds no height:
   a zero-height target is not reliably reported by IntersectionObserver. */
.tcng-nda__end {
	display: block;
	height: 12px;
	margin-top: -12px;
	pointer-events: none;
}

/* A 340px window holding many screens of text is a trap on a phone. */
@media (max-width: 549px) {
	.tcng-nda {
		max-height: 60vh;
	}
}

.tcng-nda::-webkit-scrollbar {
	width: 10px;
}

.tcng-nda::-webkit-scrollbar-thumb {
	background: var(--tcng-thumb);
	border-radius: 6px;
}

.tcng-nda--static {
	max-height: none;
}

.tcng-nda.is-complete {
	border-color: rgba(16, 185, 129, 0.5);
}

/* ---------- Signature ---------- */

.tcng-sign {
	margin-top: 22px;
	border: 1px solid var(--tcng-line);
	border-radius: 10px;
	padding: 18px 20px;
	background: var(--tcng-input-bg);
}

.tcng-sign__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	gap: 12px;
	flex-wrap: wrap;
}

.tcng-sign__head > span {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tcng-dim);
}

.tcng-sign__head em {
	color: var(--tcng-orange);
	font-style: normal;
}

.tcng-sign__tabs {
	display: inline-flex;
	background: var(--tcng-tabs-bg);
	border: 1px solid var(--tcng-line);
	border-radius: 8px;
	overflow: hidden;
}

/*
 * Flatsome gives every <button> a min-height of 2.5em, a 2.4em line-height
 * and a bottom margin. Those have to be unset explicitly or the controls
 * below balloon — overriding padding alone is not enough.
 */
.tcng-sign__tabs button {
	background: transparent;
	border: 0;
	color: var(--tcng-dim);
	font-size: 13px;
	font-weight: 600;
	padding: 7px 20px;
	cursor: pointer;
	line-height: 1.5;
	min-height: 0;
	height: auto;
	margin: 0;
	border-radius: 0;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
	text-shadow: none;
}

.tcng-sign__tabs button.is-active {
	background: var(--tcng-orange);
	color: #fff;
}

.tcng-sign__panel {
	display: none;
}

.tcng-sign__panel.is-active {
	display: block;
}

.tcng-sign__typed {
	width: 100%;
	background: var(--tcng-paper);
	border: 1px solid var(--tcng-paper-line);
	border-radius: 8px;
	padding: 14px 18px;
	font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;
	font-size: 30px;
	line-height: 1.4;
	color: var(--tcng-paper-ink);
}

.tcng-sign__canvas {
	width: 100%;
	height: 150px;
	background: var(--tcng-paper);
	border: 1px solid var(--tcng-paper-line);
	border-radius: 8px;
	display: block;
	touch-action: none;
	cursor: crosshair;
}

.tcng-sign__clear {
	margin: 10px 0 0;
	background: transparent;
	border: 1px solid var(--tcng-line);
	color: var(--tcng-dim);
	border-radius: 6px;
	padding: 6px 14px;
	font-size: 13px;
	cursor: pointer;
	line-height: 1.5;
	min-height: 0;
	height: auto;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
}

/* ---------- Consent ---------- */

.tcng-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-top: 22px;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--tcng-body);
}

.tcng-check input {
	margin-top: 3px;
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
	accent-color: var(--tcng-orange);
}

.tcng-check input:disabled + span {
	opacity: 0.5;
}

/* ---------- Buttons ---------- */

.tcng-btn {
	display: inline-block;
	border: 0;
	border-radius: 8px;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: 0.01em;
	padding: 12px 26px;
	line-height: 1.5;
	min-height: 0;
	height: auto;
	margin: 0;
	cursor: pointer;
	text-decoration: none;
	text-transform: none;
	box-shadow: none;
	text-shadow: none;
	transition: transform 0.12s ease, background 0.15s ease;
}

.tcng-btn--primary {
	background: var(--tcng-orange);
	color: #fff;
}

.tcng-btn--primary:hover {
	background: var(--tcng-orange-hover);
	color: #fff;
	transform: translateY(-1px);
}

.tcng-btn--primary:disabled {
	background: var(--tcng-disabled-bg);
	color: var(--tcng-disabled-ink);
	cursor: not-allowed;
	transform: none;
}

.tcng-btn--ghost {
	background: transparent;
	border: 1px solid var(--tcng-line);
	color: var(--tcng-ghost-ink);
}

.tcng-btn--ghost:hover {
	border-color: var(--tcng-orange);
	color: var(--tcng-ghost-ink);
}

/* Rendered as a <button> so it can reveal the reset form without a page load. */
.tcng-link {
	display: inline-block;
	background: none;
	border: 0;
	padding: 0;
	margin: 0 0 0 18px;
	min-height: 0;
	height: auto;
	line-height: 1.5;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--tcng-dim);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
}

.tcng-link:hover {
	color: var(--tcng-orange);
	background: none;
}

/* ---------- Agreement helper note ---------- */

.tcng-ndanote {
	margin: 12px 0 0;
	font-size: 13.5px;
	line-height: 1.6;
}

.tcng-ndanote a {
	color: var(--tcng-orange);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tcng-ndanote span {
	display: block;
	margin-top: 4px;
	color: var(--tcng-faint);
	font-size: 12.5px;
}

.tcng-lostpass {
	margin-top: 4px;
}

/* ---------- Returning user card ---------- */

.tcng-altcard {
	margin-top: 34px;
	padding: 28px 32px;
	border: 1px solid var(--tcng-line);
	border-radius: 14px;
	background: var(--tcng-hover);
}

.tcng-altcard h3 {
	margin: 0 0 18px;
	font-size: 17px;
	color: var(--tcng-ink);
}

.tcng-form--compact .tcng-grid {
	margin-bottom: 18px;
}

/* ---------- Download cards ---------- */

.tcng-files {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 14px;
	margin: 24px 0;
}

.tcng-file {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 1px solid var(--tcng-line);
	border-radius: 12px;
	background: var(--tcng-panel);
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.tcng-file:hover {
	border-color: var(--tcng-orange);
	background: var(--tcng-panel-2);
}

.tcng-file__icon {
	flex: 0 0 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--tcng-orange-soft);
	color: var(--tcng-orange);
}

.tcng-file__text {
	flex: 1 1 auto;
	min-width: 0;
}

.tcng-file__text strong {
	display: block;
	color: var(--tcng-ink);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.tcng-file__text small {
	display: block;
	margin-top: 3px;
	color: var(--tcng-dim);
	font-size: 12.5px;
	letter-spacing: 0.03em;
}

.tcng-file__go {
	color: var(--tcng-orange);
	font-size: 18px;
}

/* ---------- Account ---------- */

.tcng-account__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	margin-bottom: 26px;
}

.tcng-card {
	border: 1px solid var(--tcng-line);
	border-radius: 12px;
	padding: 24px 26px;
	background: var(--tcng-panel);
}

.tcng-card h3 {
	margin: 0 0 16px;
	font-size: 16px;
	color: var(--tcng-ink);
}

.tcng-card dl {
	margin: 0;
	font-size: 14px;
}

/*
 * Flatsome leaves definition lists inline, which runs each label straight
 * into the value beside it. Force the pairs to stack.
 */
.tcng-card dt {
	display: block;
	color: var(--tcng-faint);
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 14px;
	line-height: 1.4;
}

.tcng-card dt:first-child {
	margin-top: 0;
}

.tcng-card dd {
	display: block;
	margin: 3px 0 0;
	color: var(--tcng-body);
	line-height: 1.5;
}

.tcng-account__docs {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tcng-account__docs li {
	padding: 10px 0;
	border-bottom: 1px solid var(--tcng-line);
}

.tcng-account__docs li:last-child {
	border-bottom: 0;
}

.tcng-account__docs a {
	color: var(--tcng-orange);
	font-weight: 600;
	text-decoration: none;
}

.tcng-account__docs small {
	display: block;
	color: var(--tcng-faint);
	font-size: 12px;
	margin-top: 2px;
}

/* ---------- Pharmacy ---------- */

.tcng-pharmacy {
	border: 1px solid var(--tcng-line);
	border-radius: 12px;
	padding: 28px 30px;
	background: var(--tcng-panel-2);
}

.tcng-pharmacy + .tcng-pharmacy {
	margin-top: 16px;
}

.tcng-pharmacy__name {
	margin: 0 0 10px;
	font-size: 20px;
	color: var(--tcng-ink);
}

.tcng-pharmacy__addr,
.tcng-pharmacy__lines,
.tcng-pharmacy__states,
.tcng-pharmacy__note {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--tcng-body);
}

.tcng-pharmacy__lines span {
	display: block;
}

.tcng-pharmacy__lines a {
	color: var(--tcng-orange);
	text-decoration: none;
}

.tcng-pharmacy__states {
	font-size: 13.5px;
	color: var(--tcng-dim);
}

.tcng-pharmacy__note {
	color: var(--tcng-orange);
}

.tcng-pharmacy__admin {
	margin: 14px 0 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--tcng-faint);
}

/*
 * The locked state stands in for content the clinic has not earned access to
 * yet. It has to read as deliberate rather than broken, so it keeps the same
 * card shape as the real thing.
 */
.tcng-locked {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	border: 1px solid var(--tcng-line);
	border-radius: 12px;
	padding: 28px 30px;
	background: var(--tcng-panel-2);
}

.tcng-locked__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tcng-orange-soft);
	color: var(--tcng-orange);
}

.tcng-locked__body strong {
	display: block;
	font-size: 17px;
	color: var(--tcng-ink);
	margin-bottom: 8px;
	line-height: 1.4;
}

.tcng-locked__body p {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--tcng-body);
}

.tcng-locked--soft .tcng-locked__body p {
	margin-bottom: 0;
}

/* ---------- Small screens ---------- */

@media (max-width: 680px) {
	.tcng-grid {
		grid-template-columns: 1fr;
	}

	.tcng-form__section {
		padding: 24px 20px;
	}

	.tcng-btn {
		width: 100%;
		text-align: center;
	}

	.tcng-link {
		display: block;
		margin: 14px 0 0;
	}

	.tcng-locked {
		flex-direction: column;
		gap: 14px;
		padding: 24px 20px;
	}

	.tcng-pharmacy {
		padding: 24px 20px;
	}
}

/* ---------- Disclaimers ---------- */

/*
 * A proximal disclaimer has to be readable but must not compete with the
 * claim it qualifies — hence the quiet orange rule rather than a box.
 */
.tcng-disclaimer {
	margin: 10px 0 18px;
	padding: 2px 0 2px 14px;
	border-left: 2px solid rgba(238, 113, 39, 0.55);
	font-size: 13px;
	line-height: 1.6;
	color: var(--tcng-faint);
}

/* ---------- In-page anchors ---------- */

/*
 * The header is fixed and ~92px tall, so a raw fragment jump buries the
 * heading underneath it. scroll-margin-top pushes the landing point down.
 */
.tcng-anchor {
	display: block;
	height: 0;
	overflow: hidden;
	scroll-margin-top: 120px;
}

#request-access {
	display: block;
	scroll-margin-top: 120px;
}

/* The cards are scroll targets in their own right — the header Login/Register
   link and the "Sign in instead" error both land on them. */
#tcng-signup,
#tcng-login {
	scroll-margin-top: 120px;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

/* ---------- Spam protection ---------- */

/*
 * Off-screen rather than display:none — some bots skip hidden inputs, but
 * far fewer skip ones that are merely positioned away.
 */
.tcng-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tcng-turnstile {
	margin: 0 0 20px;
}

/* ---------- Confidentiality watermark ---------- */

/*
 * The plugin prints this marker, so it carries its own baseline styling —
 * relying on the theme's CSS left it invisible on a light background. A
 * theme is still free to override it.
 */
.tcn-confidential {
	position: fixed;
	right: 14px;
	bottom: 12px;
	z-index: 60;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tcng-watermark);
	pointer-events: none;
	user-select: none;
}


/* ---------- Header sign-in dropdown ---------- */

/*
 * Lives inside the theme's nav dropdown, so several of these have to outrank
 * the site's own "#top-bar a { ... !important }" rules.
 */
.tcng-login-dropdown {
	width: 320px !important;
	padding: 0 !important;
	text-align: left;
}

.tcng-login-dropdown > li {
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none;
}

.tcng-logindrop {
	padding: 20px 22px 22px;
}

.tcng-logindrop .tcng-field {
	display: block;
	margin: 0 0 14px;
}

.tcng-logindrop .tcng-field > span {
	display: block;
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1e1e1e;
}

.tcng-logindrop .tcng-field > span em {
	font-style: normal;
	color: #c11b1b;
}

.tcng-logindrop input[type="text"],
.tcng-logindrop input[type="password"] {
	width: 100%;
	height: auto;
	margin: 0;
	box-sizing: border-box;
	padding: 11px 12px;
	border: 1px solid #d6d8db;
	border-radius: 4px;
	background: #fff;
	box-shadow: none;
	font-size: 15px;
	line-height: 1.3;
	color: #1e1e1e;
}

.tcng-logindrop input:focus {
	outline: none;
	border-color: #c11b1b;
	box-shadow: 0 0 0 3px rgba(193, 27, 27, 0.12);
}

#top-bar .nav-dropdown .tcng-logindrop a,
#top-bar .tcng-logindrop a,
.tcng-logindrop a {
	display: inline-block;
	margin: 0 0 16px !important;
	padding: 0 !important;
	color: #c11b1b !important;
	background: none !important;
	font-size: 13.5px;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
}

#top-bar .nav-dropdown .tcng-logindrop a:hover,
#top-bar .tcng-logindrop a:hover,
.tcng-logindrop a:hover {
	background: none !important;
	color: #a31616 !important;
	text-decoration: underline;
}

.tcng-logindrop__submit {
	display: block;
	width: 100%;
	padding: 13px 18px;
	border: 0;
	border-radius: 99px;
	background: #c11b1b;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
	cursor: pointer;
}

.tcng-logindrop__submit:hover {
	background: #a31616;
}

/* Typing inside a hover-opened panel must not close it. */
.tcng-login-item:focus-within > .nav-dropdown {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
	transform: none !important;
}

/* The same form inside the off-canvas menu, where there is no hover panel. */
.tcng-login-dropdown--sidebar {
	width: 100% !important;
	margin: 6px 0 10px;
	background: #fff;
	border: 1px solid #e6e7ea;
	border-radius: 6px;
}

.tcng-login-dropdown--sidebar .tcng-logindrop {
	padding: 16px 16px 18px;
}


/* ---------- Order history on the account page ---------- */

.tcng-orders {
	margin-bottom: 26px;
}

.tcng-orders__table {
	width: 100%;
	border-collapse: collapse;
	margin: 6px 0 18px;
	font-size: 14.5px;
}

.tcng-orders__table th {
	text-align: left;
	padding: 0 12px 8px 0;
	border-bottom: 1px solid var(--tcng-line);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
}

.tcng-orders__table td {
	padding: 12px 12px 12px 0;
	border-bottom: 1px solid var(--tcng-line);
	vertical-align: middle;
}

.tcng-orders__table tr:last-child td {
	border-bottom: 0;
}

.tcng-orders__view {
	text-align: right;
	padding-right: 0 !important;
}

/* The money markup comes from WooCommerce; keep it from inheriting shop styles. */
.tcng-orders__table .woocommerce-Price-amount {
	font-size: inherit;
	font-weight: 600;
	color: inherit;
}

/* Stack into labelled rows rather than squeezing five columns onto a phone. */
@media (max-width: 549px) {
	.tcng-orders__table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.tcng-orders__table tr {
		display: block;
		padding: 10px 0;
		border-bottom: 1px solid var(--tcng-line);
	}

	.tcng-orders__table td {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		padding: 4px 0;
		border: 0;
	}

	.tcng-orders__table td::before {
		content: attr(data-label);
		font-size: 12px;
		font-weight: 700;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		color: #6b7280;
	}

	.tcng-orders__view {
		text-align: left;
		justify-content: flex-start !important;
	}
}
