.tpc {
	--tpc-ink: var(--tlt-title, #0A0C00);
	--tpc-lime: var(--tlt-theme, #E3FF04);
	--tpc-panel: var(--tlt-smoke, #F6F5F3);
	--tpc-panel-hl: #F8FFC2;
	--tpc-line: var(--tlt-border, #E3E3E3);
	--tpc-muted: #5d5f55;
	--tpc-edge: #787973;
	--tpc-err: #b00020;
	--tpc-ok: #1d6b2a;
	position: relative;
	width: 100%;
	margin: 0 auto;
	color: var(--tpc-ink);
	font-family: var(--tlt-font-body, inherit);
	font-size: 16px;
	line-height: 1.5;
}
.tpc *, .tpc *::before, .tpc *::after { box-sizing: border-box; }
.tpc [hidden] { display: none !important; }
.tpc--nojs .tpc-js, .tpc--js .tpc-nojs { display: none !important; }
.tpc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.tpc-h { font-family: var(--tlt-font-title, inherit); font-size: 22px; font-weight: 600; line-height: 1.25; margin: 0 0 12px; color: var(--tpc-ink); }
.tpc-muted { color: var(--tpc-muted); font-size: 15px; margin: 0 0 16px; }
.tpc-note { color: var(--tpc-muted); font-size: 13.5px; line-height: 1.45; margin: 12px 0 0; }
.tpc-label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.tpc-input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--tpc-edge); border-radius: 12px; background: #fff; color: var(--tpc-ink); font: inherit; }
.tpc-input:focus-visible { outline: 2px solid var(--tpc-ink); outline-offset: 2px; border-color: var(--tpc-ink); }
.tpc-input--qty { width: 84px; min-height: 40px; padding: 6px 10px; }
.tpc-input--qty:disabled { background: var(--tpc-panel); color: var(--tpc-muted); }

.tpc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 9px 18px; border-radius: 99px; background: var(--tpc-ink); color: #fff !important; border: 1.5px solid var(--tpc-ink); font: 600 15px/1.2 var(--tlt-font-body, inherit); text-decoration: none !important; text-align: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tpc-btn:hover { background: #2a2c20; border-color: #2a2c20; }
.tpc-btn--hl { background: var(--tpc-lime); border-color: var(--tpc-lime); color: var(--tpc-ink) !important; }
.tpc-btn--hl:hover { background: #d4ef00; border-color: #d4ef00; }
.tpc-btn--ghost { background: transparent; color: var(--tpc-ink) !important; border-color: rgba(10, 12, 0, .3); font-weight: 500; }
.tpc-btn--ghost:hover { background: var(--tpc-ink); border-color: var(--tpc-ink); color: #fff !important; }
.tpc-btn--block { display: flex; width: 100%; margin-top: 16px; }
.tpc-btn:disabled { opacity: .6; cursor: progress; }
.tpc-btn:focus-visible, .tpc-link:focus-visible, .tpc a:focus-visible, .tpc-w__rm:focus-visible { outline: 2px solid var(--tpc-ink); outline-offset: 3px; }
.tpc-link { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; padding: 0; font: inherit; color: var(--tpc-ink); text-decoration: underline; cursor: pointer; }

/* Plans */
.tpc__plans { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
.tpc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--tpc-line); border-radius: 24px; padding: 28px 24px 24px; }
.tpc-card.is-hl { box-shadow: 0 10px 32px rgba(227, 255, 4, .22); }
.tpc--js .tpc-card.is-sel { border-color: var(--tpc-ink); }
.tpc--js .tpc-card.is-hl.is-sel { border-color: #b8cf00; }
.tpc--nojs .tpc-card.is-hl { border-color: var(--tpc-lime); }
.tpc-card__badge { position: absolute; top: -13px; left: 24px; background: var(--tpc-lime); color: var(--tpc-ink); font-size: 12px; font-weight: 700; line-height: 1; padding: 7px 14px; border-radius: 99px; white-space: nowrap; }
.tpc-card__radio { position: absolute; top: 30px; right: 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--tpc-ink); cursor: pointer; }
.tpc-card__title { display: flex; align-items: center; min-height: 44px; font-family: var(--tlt-font-title, inherit); font-size: 22px; font-weight: 600; line-height: 1.2; margin: 0 40px 10px 0; cursor: pointer; }
.tpc--js .tpc-card__title::after { content: ''; position: absolute; inset: 0; border-radius: 22px; }
.tpc-card__desc { position: relative; font-size: 15px; line-height: 1.5; color: var(--tpc-muted); margin: 0 0 18px; }
.tpc-card__price { font-family: var(--tlt-font-title, inherit); font-size: 30px; font-weight: 600; line-height: 1.1; margin: auto 0 18px; white-space: nowrap; }
.tpc-card .tpc-btn { position: relative; z-index: 1; }
.tpc-card__inc { position: relative; z-index: 1; margin-top: 16px; border-top: 1px solid var(--tpc-line); padding-top: 12px; }
.tpc-card__inc summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.tpc-card__inc summary::-webkit-details-marker { display: none; }
.tpc-card__inc summary::after { content: '+'; font-size: 22px; font-weight: 400; line-height: 1; }
.tpc-card__inc[open] summary::after { content: '−'; }
.tpc-card__inc summary:focus-visible { outline: 2px solid var(--tpc-ink); outline-offset: 3px; border-radius: 6px; }
.tpc-card__inc ul { list-style: none; margin: 8px 0 0; padding: 0; }
.tpc-card__inc li { position: relative; padding: 6px 0 6px 26px; font-size: 14.5px; line-height: 1.4; }
.tpc-card__inc li::before { content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0C00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.tpc-card__line { display: block; font-weight: 500; }
.tpc-card__tip { display: block; margin-top: 2px; font-size: 13px; color: var(--tpc-muted); }
.tpc-card__radio:focus-visible { outline: 2px solid var(--tpc-ink); outline-offset: 3px; }

/* Body */
.tpc__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.tpc__main { display: grid; gap: 24px; min-width: 0; }
.tpc-box { background: var(--tpc-panel); border-radius: 24px; padding: 24px 20px; scroll-margin-top: calc(var(--tlt-sticky-h, 0px) + 16px); }
.tpc-box:focus { outline: none; }

/* Spec */
.tpc-spec { background: #fff; border: 2px dashed #c9c9c2; }
.tpc-spec__src { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.tpc-spec__file { cursor: pointer; }
.tpc-spec #tpc-file:focus-visible + .tpc-spec__file, .tpc-spec__src:focus-within .tpc-spec__file { outline: none; }
.tpc-spec__src:has(#tpc-file:focus-visible) .tpc-spec__file { outline: 2px solid var(--tpc-ink); outline-offset: 3px; }
.tpc-spec__name { font-size: 14px; margin: 0 0 12px; word-break: break-all; }
.tpc-spec__clear { margin: -8px 0 12px; font-size: 14.5px; }
.tpc-spec__clear[hidden] { display: none; }
#tpc-text-wrap { margin-bottom: 12px; }
#tpc-text { min-height: 140px; resize: vertical; }
.tpc-spec__ts { margin: 4px 0 12px; min-height: 0; }
.tpc-spec__status { margin: 12px 0 0; font-size: 15px; font-weight: 500; }
.tpc-spec__status:empty { display: none; }
.tpc-spec__status.is-err { color: var(--tpc-err); }
.tpc-spec__status.is-ok { color: var(--tpc-ok); }

/* Features */
.tpc-group + .tpc-group { margin-top: 20px; }
.tpc-group__h { font-family: var(--tlt-font-title, inherit); font-size: 17px; font-weight: 600; margin: 0 0 6px; padding: 0; }
.tpc-f { padding: 4px 0 10px; border-top: 1px solid var(--tpc-line); }
.tpc-f__line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; }
.tpc--nojs .tpc-f__line { grid-template-columns: minmax(0, 1fr) auto; }
.tpc-f__cb { width: 20px; height: 20px; margin: 12px 0 0; accent-color: var(--tpc-ink); cursor: pointer; }
.tpc-f__cb:focus-visible { outline: 2px solid var(--tpc-ink); outline-offset: 2px; }
.tpc-f__label { display: block; min-height: 44px; padding: 10px 0; font-weight: 500; cursor: pointer; }
.tpc-f__line > .tpc-f__price { padding-top: 10px; }
.tpc-f__price { font-weight: 600; white-space: nowrap; text-align: right; }
.tpc-f__desc, .tpc-f__inc, .tpc-f__from, .tpc-f__qty, .tpc-f__why { margin: 4px 0 0 32px; font-size: 14px; line-height: 1.45; color: var(--tpc-muted); }
.tpc--nojs .tpc-f__desc, .tpc--nojs .tpc-f__from { margin-left: 0; }
.tpc-f__qty { display: flex; align-items: center; gap: 10px; }
.tpc--js .tpc-f.is-included .tpc-f__label, .tpc--js .tpc-f.is-included .tpc-f__price { color: var(--tpc-muted); }
.tpc--js .tpc-f.is-included .tpc-f__price { text-decoration: line-through; }
.tpc-f.is-included .tpc-f__cb { cursor: default; }
.tpc-f.is-included .tpc-f__label { cursor: default; }
.tpc-f__inc { font-weight: 600; color: var(--tpc-ink); }
.tpc-f__why { padding: 8px 12px; background: var(--tpc-panel-hl); border-radius: 10px; color: var(--tpc-ink); }
.tpc-f__src { font-weight: 600; margin-right: 4px; }
.tpc-f__quote { display: block; margin-top: 2px; font-style: italic; }

/* Wishes */
.tpc-wishes { list-style: none; margin: 0 0 12px; padding: 0; }
.tpc-w { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--tpc-line); }
.tpc-w__body { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.tpc-w__reason { font-size: 13.5px; color: var(--tpc-muted); }
.tpc-w__price { font-weight: 600; white-space: nowrap; font-size: 14.5px; }
.tpc-w__rm { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--tpc-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.tpc-w__rm:hover { background: #e9e8e4; }
.tpc-wish-add__row { display: flex; gap: 10px; }
.tpc-wish-add__row .tpc-btn { flex: none; }

/* Summary */
.tpc-sum { background: #fff; border: 2px solid var(--tpc-line); }
.tpc-sum__lines { list-style: none; margin: 0 0 12px; padding: 0; font-size: 14.5px; }
.tpc-sum__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--tpc-line); }
.tpc-sum__l { min-width: 0; overflow-wrap: anywhere; }
.tpc-sum__a { white-space: nowrap; font-weight: 500; }
.tpc-sum__total { margin: 12px 0 0; font-size: 16px; }
.tpc-sum__total strong { display: block; font-family: var(--tlt-font-title, inherit); font-size: 34px; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.tpc-sum__total .tpc-muted { font-size: 14px; margin: 0; }
.tpc-sum__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-size: 14.5px; }
.tpc-sum__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tpc-ink); }
.tpc-contact { margin-top: 16px; padding: 14px 16px; background: var(--tpc-panel); border-radius: 14px; font-size: 15px; }
.tpc-contact p { margin: 0 0 6px; }
.tpc-contact p:last-child { margin: 0; }
.tpc-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tpc-ink); font-weight: 600; }
.tpc-contact__links { list-style: none; margin: 0; padding: 0; }

/* Lead form */
.tpc-lead { margin-top: 24px; }
.tpc-lead__grid { display: grid; gap: 14px; margin: 16px 0 0; }
.tpc-lead__f { margin: 0; }
.tpc-input[aria-invalid="true"] { border-color: var(--tpc-err); }
.tpc-lead__consent { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; font-size: 15px; }
.tpc-lead__consent input { flex: none; width: 20px; height: 20px; margin: 12px 0 0; accent-color: var(--tpc-ink); }
.tpc-lead__consent label { display: inline-block; min-height: 44px; padding: 10px 0; }
.tpc-lead__consent.is-invalid input { outline: 2px solid var(--tpc-err); outline-offset: 2px; }
.tpc-req { color: var(--tpc-err); font-weight: 600; }
.tpc-err { display: block; margin: 6px 0 0; font-size: 14px; font-weight: 500; color: var(--tpc-err); }
.tpc-lead__consent + .tpc-err { margin: -8px 0 12px 30px; }
.tpc-lead__req { margin: 8px 0 0; }
.tpc-lead__consent a { color: var(--tpc-ink); }
.tpc-lead__consent.is-invalid { color: var(--tpc-err); }
.tpc-lead__ts { margin: 0 0 12px; }

/* Mobile total bar */
.tpc-bar { display: none; }

@media (max-width: 767px) {
	/* One floating element on calculator pages: the total bar carries the chat button; the sectors tab and the
	   separate chat launcher step aside while the bar is shown. */
	body:has(.tpc--js #tpc-bar) { --tpc-bar-h: 64px; padding-bottom: calc(var(--tpc-bar-h) + env(safe-area-inset-bottom, 0px)); }
	body:has(.tpc--js #tpc-bar) .tlt-sectors-tab,
	body.tpc-chat-proxied:has(.tpc--js #tpc-bar) #tobalt-chatbot-launcher,
	body.tpc-chat-proxied:has(.tpc--js #tpc-bar) #tobalt-chatbot-launcher-tip { display: none !important; }
	body:not(.tpc-chat-proxied):has(.tpc--js #tpc-bar) #tobalt-chatbot-launcher { bottom: calc(var(--tpc-bar-h) + env(safe-area-inset-bottom, 0px) + 8px); }
	body:has(.tpc--js #tpc-bar) #tobalt-sausainiai-reopen { bottom: calc(var(--tpc-bar-h) + env(safe-area-inset-bottom, 0px) + 8px) !important; }
	html:has(.tpc--js #tpc-bar) { scroll-padding-bottom: calc(var(--tpc-bar-h, 64px) + 16px); }
	.tpc--js { padding-bottom: 12px; }
	.tpc-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: calc(var(--tpc-bar-h) + env(safe-area-inset-bottom, 0px)); align-items: center; gap: 12px; padding: 0 16px env(safe-area-inset-bottom, 0px); background: #fff; box-shadow: 0 -8px 24px -12px rgba(10, 12, 0, .35); }
	.tpc--nojs .tpc-bar { display: none; }
	.tpc-bar > .tpc-btn { margin-left: auto; }
	.tpc-bar__chat { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -4px; border: 0; border-radius: 50%; background: var(--tpc-ink); color: var(--tpc-lime); cursor: pointer; }
	.tpc-bar__chat[hidden] { display: none; }
	.tpc-bar__chat:focus-visible { outline: 2px solid var(--tpc-ink); outline-offset: 3px; }
	.tpc-bar__t { font-size: 14px; }
	.tpc-bar__t strong { display: block; font-family: var(--tlt-font-title, inherit); font-size: 20px; white-space: nowrap; }
	.tpc-wish-add__row { flex-direction: column; }
	.tpc-w { grid-template-columns: minmax(0, 1fr) auto; }
	.tpc-w__price { grid-column: 1; grid-row: 2; }
	.tpc-w__rm { grid-column: 2; grid-row: 1 / 3; }
}
@media (min-width: 768px) {
	.tpc__plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.tpc-box { padding: 28px; }
	.tpc-lead__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.tpc__body { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
	.tpc__sum { position: sticky; top: calc(var(--tlt-sticky-h, 0px) + 24px); }
	.tpc__plans { gap: 20px; }
	.tpc-card__price { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
	.tpc-btn { transition: none; }
}
