.trc-shell {
	--trc-ink: var(--wp--preset--color--contrast, #171717);
	--trc-muted: #5f6368;
	--trc-line: #dedede;
	--trc-soft: #f6f6f4;
	--trc-accent: var(--wp--preset--color--contrast, #171717);
	--trc-radius: 14px;
	box-sizing: border-box;
	max-width: 1040px;
	margin: 2rem auto;
	color: var(--trc-ink);
	font: inherit;
}
.trc-shell *, .trc-shell *::before, .trc-shell *::after { box-sizing: border-box; }
.trc-shell [hidden] { display: none !important; }
.trc-intro { max-width: 760px; margin-bottom: 1.5rem; }
.trc-intro h2, .trc-result h3, .trc-form h3, .trc-result-title { margin: .2rem 0 .65rem; line-height: 1.15; }
.trc-result-title { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 750; }
.trc-eyebrow { margin: 0 0 .35rem; color: var(--trc-muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.trc-selector, .trc-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.trc-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.25rem; border: 1px solid var(--trc-line); border-radius: var(--trc-radius); background: #fff; }
.trc-selector-step { min-width: 0; }
.trc-selector-model-step { grid-column: 1 / -1; margin: 0; padding: 0 0 1rem; border: 0; border-bottom: 1px solid var(--trc-line); }
.trc-selector-model-step legend { margin-bottom: .65rem; padding: 0; font-weight: 750; }
.trc-repair-step { grid-column: 1 / -1; }
.trc-quality-step { grid-column: 1 / -1; margin: 0; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--trc-line); }
.trc-quality-step legend { margin-bottom: .65rem; padding: 0; font-weight: 750; }
.trc-quality-placeholder { margin: 0; color: var(--trc-muted); }
.trc-quality-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .75rem; }
.trc-quality-card { display: grid !important; grid-template-columns: 1.25rem minmax(0, 1fr); gap: .7rem !important; align-items: start; min-height: 100%; padding: .9rem; border: 1px solid var(--trc-line); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 500 !important; }
.trc-quality-card:hover { border-color: #8b8b8b; }
.trc-quality-card:has(input:checked) { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, .12); }
.trc-quality-card:has(input:focus-visible) { outline: 3px solid rgba(37, 99, 235, .25); outline-offset: 2px; border-color: #2563eb; }
.trc-shell .trc-quality-card input { width: 1.1rem; min-height: 1.1rem; height: 1.1rem; margin: .15rem 0 0; padding: 0; }
.trc-quality-card-content { display: grid; gap: .28rem; min-width: 0; }
.trc-quality-card-content strong { font-size: 1rem; line-height: 1.25; }
.trc-quality-card-content small { line-height: 1.35; overflow-wrap: anywhere; }
.trc-quality-price { margin-top: .2rem; font-weight: 750; line-height: 1.25; }
.trc-selector-model-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .8rem; }
.trc-model-search { grid-column: 1 / -1; }
.trc-model-search input { font-size: 1.05rem; }
.trc-search-hint { margin: .45rem 0 0; color: var(--trc-muted); font-size: .9rem; }
.trc-model-unknown { margin: .45rem 0 0; font-size: .92rem; font-weight: 700; }
.trc-model-unknown a { text-underline-offset: .2em; }
.trc-selector-fallback { margin-top: .8rem; }
.trc-selector-fallback summary { cursor: pointer; color: var(--trc-muted); font-weight: 650; }
.trc-model-help { margin: .8rem 0 0; padding: .75rem 1rem; border: 1px solid var(--trc-line); border-radius: 10px; background: var(--trc-soft); }
.trc-model-help summary { cursor: pointer; font-weight: 700; }
.trc-model-help p { margin: .65rem 0 0; color: var(--trc-muted); line-height: 1.6; }
.trc-shell label { display: grid; gap: .4rem; font-weight: 650; }
.trc-shell input, .trc-shell select, .trc-shell textarea {
	width: 100%; min-height: 46px; padding: .7rem .8rem; border: 1px solid #b8b8b8; border-radius: 8px; background: #fff; color: var(--trc-ink); font: inherit;
}
.trc-shell textarea { resize: vertical; }
.trc-shell input:focus, .trc-shell select:focus, .trc-shell textarea:focus, .trc-button:focus-visible, .trc-close:focus-visible { outline: 3px solid rgba(37, 99, 235, .25); outline-offset: 2px; border-color: #2563eb; }
.trc-shell select:disabled { background: #f1f1f1; color: #777; }
.trc-notice { min-height: 1.5rem; margin: .75rem 0; }
.trc-notice-error, .trc-message-error { color: #9f1239; }
.trc-result, .trc-form, .trc-safety-box, .trc-service-note, .trc-step2-result { margin-top: 1.25rem; padding: 1.35rem; border: 1px solid var(--trc-line); border-radius: var(--trc-radius); background: #fff; }
.trc-result-heading { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.trc-form-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.trc-total { flex: 0 0 auto; text-align: left; }
.trc-total span { display: block; color: var(--trc-muted); font-size: .82rem; }
.trc-total strong { display: block; margin-top: .15rem; font-size: clamp(1.55rem, 4vw, 2.2rem); line-height: 1; }
.trc-breakdown { display: grid; grid-template-columns: 1fr auto; gap: 0; margin: 1.2rem 0; border-top: 1px solid var(--trc-line); }
.trc-breakdown-details { margin-top: 1rem; }
.trc-breakdown-details summary { cursor: pointer; font-weight: 700; }
.trc-breakdown dt, .trc-breakdown dd { margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--trc-line); }
.trc-breakdown dd { padding-left: 1rem; font-weight: 700; text-align: right; }
.trc-flags { display: grid; gap: .55rem; }
.trc-flag { margin: 0; padding: .7rem .8rem; border-left: 4px solid #64748b; background: #f8fafc; }
.trc-flag-warning { border-color: #d97706; background: #fffbeb; }
.trc-flag-info { border-color: #2563eb; background: #eff6ff; }
.trc-disclaimer { margin: 1rem 0; color: var(--trc-muted); font-size: .92rem; }
.trc-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.trc-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: .7rem 1rem; border: 1px solid var(--trc-accent); border-radius: 999px; background: transparent; color: var(--trc-accent); font: inherit; font-weight: 700; line-height: 1.1; text-decoration: none; cursor: pointer; }
.trc-button:hover { filter: brightness(.92); }
.trc-button-primary { background: var(--trc-accent); color: var(--wp--preset--color--base, #fff); }
.trc-button-quiet { border-color: transparent; text-decoration: underline; text-underline-offset: .2em; }
.trc-button:disabled { cursor: wait; opacity: .65; }
.trc-close { min-width: 42px; min-height: 42px; border: 0; background: transparent; color: inherit; font-size: 2rem; line-height: 1; cursor: pointer; }
.trc-form { background: var(--trc-soft); }
.trc-form fieldset { margin: 0 0 1.5rem; padding: 0; border: 0; }
.trc-form legend { margin-bottom: 1rem; padding: 0; font-size: 1.2rem; font-weight: 750; }
.trc-form-grid { margin: 1rem 0 1.25rem; }
.trc-span-2 { grid-column: 1 / -1; }
.trc-shell small { color: var(--trc-muted); font-weight: 400; }
.trc-field-group { display: grid; align-content: start; gap: .7rem; }
.trc-field-label { font-weight: 650; }
.trc-choice-list { display: grid; gap: .6rem; }
.trc-choice-list .trc-choice { display: grid; grid-template-columns: 1.25rem 1fr; gap: .65rem; align-items: start; padding: .75rem; border: 1px solid var(--trc-line); border-radius: 9px; background: #fff; font-weight: 500; }
.trc-choice-list .trc-choice:has(input:checked) { border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, .12); }
.trc-choice-list input { width: 1.1rem; min-height: 1.1rem; margin-top: .15rem; }
.trc-checks { display: grid; gap: .75rem; margin: 1rem 0; }
.trc-checks label { display: grid; grid-template-columns: 1.25rem 1fr; gap: .65rem; align-items: start; font-size: .92rem; font-weight: 450; }
.trc-checks input { width: 1.1rem; min-height: 1.1rem; margin-top: .15rem; }
.trc-checks label > span { min-width: 0; line-height: 1.55; overflow-wrap: anywhere; }
.trc-shell input.trc-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; min-height: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; pointer-events: none !important; }
.trc-form-message { min-height: 1.5rem; margin-top: .75rem; font-weight: 700; }
.trc-message-success { color: #166534; }
.trc-message-warning { color: #92400e; }
.trc-safety-box { border-left: 5px solid #d97706; background: #fffbeb; }
.trc-safety-box h3, .trc-service-note p { margin-top: 0; }
.trc-safety-box-compact p { max-width: 780px; }
.trc-service-note { background: var(--trc-soft); }
.trc-instructions { margin: 1rem 0 1.25rem; padding: .85rem 1rem; border: 1px solid var(--trc-line); border-radius: 10px; background: #fff; }
.trc-instructions summary { cursor: pointer; font-weight: 750; }
.trc-instructions ul { margin: .8rem 0 0; padding-left: 1.2rem; color: var(--trc-muted); line-height: 1.6; }
.trc-instructions li + li { margin-top: .35rem; }
.trc-consent-group { margin-top: 1.25rem !important; padding: 1rem !important; border: 1px solid var(--trc-line) !important; border-radius: 10px; background: #fff; }
.trc-consent-group legend { margin: 0 !important; padding: 0 .35rem !important; }
.trc-status-panel { min-height: 0; padding: 1rem 1.1rem; border: 1px solid #fecdd3; border-radius: var(--trc-radius); background: #fff1f2; }
.trc-status-panel p { margin: .35rem 0 0; color: var(--trc-ink); }
.trc-step2-result:focus { outline: 3px solid rgba(37, 99, 235, .25); outline-offset: 3px; }
.trc-step2-result > h3 { margin: .2rem 0 .65rem; line-height: 1.2; }
.trc-step2-card { margin-top: 1rem; padding: 1rem; border: 1px solid var(--trc-line); border-radius: 10px; background: var(--trc-soft); }
.trc-step2-card h4 { margin: 0 0 .65rem; font-size: 1.05rem; }
.trc-step2-card ul { margin: 0; padding-left: 1.2rem; }
.trc-step2-card li + li { margin-top: .4rem; }
.trc-step2-card address { white-space: pre-line; font-style: normal; font-weight: 700; }
.trc-step2-card-warning { border-left: 5px solid #d97706; background: #fffbeb; }
.trc-summary { display: grid; grid-template-columns: minmax(9rem, .7fr) minmax(0, 1.3fr); gap: 0; margin: 0; }
.trc-summary dt, .trc-summary dd { margin: 0; padding: .55rem 0; border-bottom: 1px solid var(--trc-line); }
.trc-summary dt { color: var(--trc-muted); }
.trc-summary dd { padding-left: 1rem; font-weight: 650; overflow-wrap: anywhere; white-space: pre-line; }

/* Public repair tracking: deliberately scoped so existing forms are unchanged. */
.trc-tracking-card, .trc-tracking-unavailable { margin-top: 1.25rem; padding: clamp(1.1rem, 3vw, 1.6rem); border: 1px solid var(--trc-line); border-radius: var(--trc-radius); background: #fff; }
.trc-tracking-summary { display: grid; gap: 0; margin: 0; }
.trc-tracking-summary > div { display: grid; grid-template-columns: minmax(10rem, .7fr) minmax(0, 1.3fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--trc-line); }
.trc-tracking-summary > div:first-child { padding-top: 0; }
.trc-tracking-summary dt, .trc-tracking-summary dd { margin: 0; }
.trc-tracking-summary dt { color: var(--trc-muted); font-weight: 650; }
.trc-tracking-summary dd { font-weight: 750; overflow-wrap: anywhere; }
.trc-tracking-status { font-size: clamp(1.2rem, 3vw, 1.55rem); line-height: 1.2; }
.trc-tracking-next { margin-top: 1.25rem; padding: 1rem; border-left: 5px solid #2563eb; border-radius: 8px; background: #eff6ff; }
.trc-tracking-next h3, .trc-tracking-next p, .trc-tracking-unavailable h3, .trc-tracking-unavailable p { margin-top: 0; }
.trc-tracking-next p, .trc-tracking-unavailable p { margin-bottom: 0; }
.trc-tracking-unavailable { border-color: #e5e7eb; background: var(--trc-soft); }
.trc-tracking-unavailable:focus { outline: 3px solid rgba(37, 99, 235, .25); outline-offset: 3px; }
html.trc-tracking-exchange .trc-tracking .trc-tracking-card { display: none !important; }

@media (max-width: 820px) {
	.trc-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trc-selector-model-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 600px) and (max-width: 1400px) and (any-pointer: coarse) {
	body:has(.trc-mail-in[data-trc-mail-in-stage="step2"]) header.wp-block-template-part:has(.ext-header-sticky),
	body:has(.trc-tracking) header.wp-block-template-part:has(.ext-header-sticky) {
		position: relative !important;
		top: auto !important;
	}
}
@media (max-width: 560px) {
	.trc-shell { margin: 1.25rem auto; }
	.trc-selector, .trc-form-grid, .trc-selector-model-grid { grid-template-columns: 1fr; }
	.trc-span-2 { grid-column: auto; }
	.trc-total { text-align: left; }
	.trc-actions .trc-button { width: 100%; }
	.trc-summary { grid-template-columns: 1fr; }
	.trc-summary dt { padding-bottom: .15rem; border-bottom: 0; }
	.trc-summary dd { padding-top: 0; padding-left: 0; }
	.trc-tracking-summary > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
	.trc-shell * { scroll-behavior: auto !important; }
}
