/* TIW Size Calculator + Tools hub. Scoped to .tiw-size-calc / .tiw-tools-hub. */
.tiw-size-calc,
.tiw-tools-hub {
	--sc-ink: var(--tiw-ink, #17324d);
	--sc-slate: var(--tiw-slate, #657782);
	--sc-mist: var(--tiw-mist, #dbe5e8);
	--sc-cream: var(--tiw-cream, #fff8f0);
	--sc-signal: var(--tiw-signal, #ff6a3d);
	--sc-signal-deep: var(--tiw-signal-deep, #c44924);
	--sc-teal: var(--tiw-teal, #137c8b);
	--sc-radius: 14px;
	color: var(--sc-ink);
	font-size: 16px;
	line-height: 1.5;
}
.tiw-size-calc *,
.tiw-tools-hub * { box-sizing: border-box; }

.tiw-size-calc { margin: 0 0 32px; }
.tiw-size-calc__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--sc-mist);
	border-radius: 18px;
	box-shadow: 0 10px 40px rgba(23, 50, 77, .08);
}
@media (min-width: 850px) {
	.tiw-size-calc__panel { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; padding: 28px; }
	.tiw-size-calc__result { position: sticky; top: calc(var(--tiw-sticky-header-offset, 64px) + 16px); align-self: start; }
}

.tiw-size-calc__title { margin: 0 0 4px; color: var(--sc-ink); font-size: 22px; font-weight: 850; letter-spacing: -.02em; line-height: 1.2; text-transform: none; }
.tiw-size-calc__form { display: grid; gap: 18px; margin: 0; }
.tiw-size-calc__form[hidden] { display: none; }
.tiw-size-calc fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.tiw-size-calc legend,
.tiw-size-calc__label {
	display: block;
	margin: 0 0 8px;
	padding: 0;
	color: var(--sc-ink);
	font-size: 14px;
	font-weight: 750;
	text-transform: none;
	letter-spacing: 0;
}
/* Flatsome draws a rule under every legend. */
.tiw-size-calc legend { width: auto; border: 0; }

/* Segmented radio controls */
.tiw-size-calc__segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.tiw-size-calc__segmented legend { flex: 0 0 100%; }
.tiw-size-calc__segmented label { position: relative; flex: 1 1 0; min-width: 0; margin: 0; cursor: pointer; }
.tiw-size-calc__segmented input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}
.tiw-size-calc__segmented span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 12px;
	color: var(--sc-ink);
	background: #fff;
	border: 1px solid #aebec6;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 750;
	text-align: center;
	transition: border-color .14s ease, background-color .14s ease, color .14s ease;
}
.tiw-size-calc__segmented input:checked + span { color: #fff; background: var(--sc-ink); border-color: var(--sc-ink); }
.tiw-size-calc__segmented input:focus-visible + span { outline: 2px solid var(--sc-signal); outline-offset: 2px; }
.tiw-size-calc__segmented label:hover input:not(:checked) + span { border-color: var(--sc-ink); }
.tiw-size-calc__units { justify-content: flex-start; }
.tiw-size-calc__units label { flex: 0 0 auto; }
.tiw-size-calc__units span { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 999px; }

/* Number inputs with a unit suffix */
.tiw-size-calc__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .tiw-size-calc__row { grid-template-columns: minmax(0, 1fr); } }
.tiw-size-calc__inputs { display: flex; gap: 8px; }
.tiw-size-calc__inputs label { position: relative; flex: 1 1 0; min-width: 0; margin: 0; }
.tiw-size-calc__inputs input,
.tiw-size-calc select {
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 44px 0 14px;
	color: var(--sc-ink);
	background-color: #fff; /* not the shorthand: it would wipe the theme's select arrow */
	border: 1px solid #aebec6;
	border-radius: 10px;
	box-shadow: none;
	font-size: 17px;
	font-weight: 700;
	-moz-appearance: textfield;
}
.tiw-size-calc select { padding-right: 36px; font-size: 16px; font-weight: 650; }
.tiw-size-calc__inputs input::-webkit-outer-spin-button,
.tiw-size-calc__inputs input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.tiw-size-calc__inputs input:focus,
.tiw-size-calc select:focus { border-color: var(--sc-ink); outline: 2px solid var(--sc-signal); outline-offset: 1px; box-shadow: none; }
.tiw-size-calc__inputs span {
	position: absolute;
	top: 50%;
	right: 14px;
	color: var(--sc-slate);
	font-size: 14px;
	font-weight: 650;
	pointer-events: none;
	transform: translateY(-50%);
}

.tiw-size-calc[data-unit="imperial"] [data-only="metric"],
.tiw-size-calc[data-unit="metric"] [data-only="imperial"] { display: none; }

/* Optional measurement: body chest or a shirt that fits */
.tiw-size-calc__measure { padding: 12px 14px; background: var(--sc-cream); border-radius: 12px; }
.tiw-size-calc__measure summary { color: var(--sc-ink); font-size: 14px; font-weight: 750; cursor: pointer; }
.tiw-size-calc__measure summary span { margin-left: 6px; color: var(--sc-teal); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.tiw-size-calc__measure-mode { margin: 12px 0 10px; }
.tiw-size-calc__measure-mode span { min-height: 38px; font-size: 14px; }
.tiw-size-calc__measure-panel { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: start; }
.tiw-size-calc__measure-panel .tiw-size-calc__svg { width: 88px; }
.tiw-size-calc__measure-panel p { margin: 0 0 10px; color: var(--sc-slate); font-size: 14px; line-height: 1.45; }
.tiw-size-calc__measure-panel .tiw-size-calc__inputs { max-width: 220px; }
.tiw-size-calc[data-measure="shirt"] [data-measure-panel="chest"],
.tiw-size-calc:not([data-measure="shirt"]) [data-measure-panel="shirt"] { display: none; }

/* Measuring diagrams (inline SVG, no ids) */
.tiw-size-calc__svg { display: block; width: 100%; height: auto; overflow: visible; }
.tiw-size-calc__svg .f { fill: #eef3f5; stroke: var(--sc-ink, #17324d); stroke-width: 2; stroke-linejoin: round; }
.tiw-size-calc__svg .t { fill: none; stroke: var(--sc-signal-deep, #c44924); stroke-width: 3; stroke-linecap: round; }
.tiw-size-calc__svg .t.b { stroke-dasharray: 5 5; stroke-width: 2; opacity: .6; }
.tiw-size-calc__svg .t.l { stroke: var(--sc-teal, #137c8b); }
.tiw-size-calc__svg .h { fill: var(--sc-signal-deep, #c44924); }
.tiw-size-calc__svg .h.l { fill: var(--sc-teal, #137c8b); }
.tiw-size-calc__svg text { fill: var(--sc-ink, #17324d); font-size: 13px; font-weight: 800; font-family: inherit; }

/* [tiw_size_calc_measure_guide] — standalone, so it carries its own tokens */
.tiw-size-calc-guide {
	--sc-ink: var(--tiw-ink, #17324d);
	--sc-slate: var(--tiw-slate, #657782);
	--sc-mist: var(--tiw-mist, #dbe5e8);
	--sc-signal-deep: var(--tiw-signal-deep, #c44924);
	--sc-teal: var(--tiw-teal, #137c8b);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	margin: 16px 0 28px;
}
@media (min-width: 720px) { .tiw-size-calc-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tiw-size-calc-guide__item { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: start; margin: 0; padding: 18px; background: #fff; border: 1px solid var(--sc-mist); border-radius: 14px; }
.tiw-size-calc-guide__item h3 { margin: 0 0 8px; color: var(--sc-ink); font-size: 17px; font-weight: 800; line-height: 1.25; text-transform: none; }
.tiw-size-calc-guide__item h3 span { display: inline-block; margin-left: 4px; padding: 2px 8px; color: #fff; background: var(--sc-teal); border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; vertical-align: 2px; }
.tiw-size-calc-guide__item ol { margin: 0; padding-left: 18px; color: var(--sc-ink); font-size: 15px; line-height: 1.5; }
.tiw-size-calc-guide__item li + li { margin-top: 4px; }
@media (max-width: 420px) { .tiw-size-calc-guide__item { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 14px; } }

/* With JS the result updates live, so the button only matters without it. */
.tiw-size-calc__submit {
	height: 50px;
	margin: 0;
	color: #fff;
	background: var(--sc-signal-deep);
	border: 0;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0;
}
.tiw-size-calc.is-enhanced .tiw-size-calc__submit { display: block; width: 100%; }

/* Article embed: charts stay easy to reach; the form opens only on request. */
.tiw-size-calc--compact { margin: 20px 0 28px; }
.tiw-size-calc__quick-start { padding: 18px; border: 1px solid var(--sc-mist); border-radius: 14px 14px 0 0; background: #f6f9fa; }
.tiw-size-calc__quick-start p { margin: 0; }
.tiw-size-calc__quick-start p + p { margin-top: 10px; }
.tiw-size-calc__disclosure { border: 1px solid var(--sc-mist); border-top: 0; border-radius: 0 0 14px 14px; }
.tiw-size-calc__disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; min-height: 48px; padding: 14px 18px; color: #fff; background: var(--sc-ink); border-radius: 0 0 13px 13px; font-weight: 750; cursor: pointer; }
.tiw-size-calc__disclosure > summary::-webkit-details-marker { display: none; }
.tiw-size-calc__disclosure > summary:hover { background: #234862; }
.tiw-size-calc__disclosure-copy { min-width: 0; }
.tiw-size-calc__disclosure-open { display: block; }
.tiw-size-calc__disclosure-close { display: none; }
.tiw-size-calc__disclosure-hint { display: block; margin-top: 4px; color: #e5eef4; font-size: 13px; font-weight: 400; line-height: 1.4; }
.tiw-size-calc__disclosure-icon { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-size: 22px; font-weight: 400; line-height: 1; }
.tiw-size-calc__disclosure-icon::before { content: '+'; }
.tiw-size-calc__disclosure[open] > summary .tiw-size-calc__disclosure-open { display: none; }
.tiw-size-calc__disclosure[open] > summary .tiw-size-calc__disclosure-close { display: block; }
.tiw-size-calc__disclosure[open] > summary .tiw-size-calc__disclosure-icon::before { content: '\2212'; }
.tiw-size-calc__disclosure[open] > summary { border-radius: 0; }
.tiw-size-calc--compact .tiw-size-calc__panel { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 16px; border: 0; box-shadow: none; margin: 0; }
.tiw-size-calc--compact .tiw-size-calc__form { gap: 14px; }
.tiw-size-calc--compact.is-enhanced .tiw-size-calc__submit { display: block; width: 100%; }
.tiw-size-calc--compact .tiw-size-calc__result { position: static; min-height: 0; padding: 16px; scroll-margin-top: 90px; }
.tiw-size-calc--compact .tiw-size-calc__result[hidden] { display: none; }
.tiw-size-calc--compact .tiw-size-calc__size { font-size: 48px; }
.tiw-size-calc--compact .tiw-size-calc__footnote { margin: 0; padding: 0 16px 16px; }
.tiw-size-calc__advanced summary { min-height: 44px; cursor: pointer; display: list-item; }
.tiw-size-calc__advanced .tiw-size-calc__build { margin-top: 8px; }
.tiw-size-calc--compact input, .tiw-size-calc--compact select { font-size: 16px; }
.tiw-size-calc--compact summary:focus-visible, .tiw-size-calc--compact button:focus-visible,
.tiw-size-calc--compact a:focus-visible { outline: 3px solid var(--sc-teal); outline-offset: 3px; }

/* Only wrappers explicitly added by the approved article patch are affected. */
.tiw-size-chart { margin: 18px 0 24px; }
.tiw-size-chart__scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tiw-size-chart__scroll table { width: 100%; table-layout: fixed; }
.tiw-size-chart__scroll th:first-child { width: 18%; }
.tiw-size-chart__scroll th, .tiw-size-chart__scroll td { overflow-wrap: anywhere; }
.tiw-size-chart__note { margin: 8px 0 0; font-size: 14px; }
#unisex-size-chart, #womens-size-chart { scroll-margin-top: 90px; }

/* Result */
.tiw-size-calc__result {
	min-height: 220px;
	padding: 22px;
	background: var(--sc-cream);
	border-radius: var(--sc-radius);
}
.tiw-size-calc__result[data-state="empty"],
.tiw-size-calc__result[data-state="invalid"] { display: flex; align-items: center; justify-content: center; text-align: center; }
.tiw-size-calc__hint { margin: 0; color: var(--sc-slate); font-size: 15px; }
.tiw-size-calc__result[data-state="invalid"] .tiw-size-calc__hint { color: var(--sc-signal-deep); font-weight: 650; }
.tiw-size-calc__eyebrow { margin: 0; color: var(--sc-slate); font-size: 14px; font-weight: 650; }
.tiw-size-calc__size { margin: 2px 0 6px; color: var(--sc-ink); font-size: 72px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.tiw-size-calc__headline { margin: 6px 0; color: var(--sc-ink); font-size: 20px; font-weight: 800; line-height: 1.3; }
.tiw-size-calc__alt { margin: 0 0 8px; color: var(--sc-signal-deep); font-size: 15px; font-weight: 700; }
.tiw-size-calc__detail { margin: 0 0 8px; color: var(--sc-ink); font-size: 15px; }
.tiw-size-calc__facts { display: grid; gap: 0; margin: 14px 0 0; padding: 0; border-top: 1px solid rgba(23, 50, 77, .12); }
.tiw-size-calc__facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(23, 50, 77, .12); }
.tiw-size-calc__facts dt { margin: 0; color: var(--sc-slate); font-size: 14px; font-weight: 600; }
.tiw-size-calc__facts dd { margin: 0; color: var(--sc-ink); font-size: 15px; font-weight: 800; white-space: nowrap; }
.tiw-size-calc__fineprint { margin: 12px 0 0; color: var(--sc-slate); font-size: 13px; line-height: 1.45; }
.tiw-size-calc__footnote { margin: 12px 4px 0; color: var(--sc-slate); font-size: 13px; }
.tiw-size-calc a { color: var(--sc-teal); text-decoration: underline; text-underline-offset: 2px; }

/* Tools hub */
.tiw-tools-hub { margin: 0 0 32px; }
.tiw-tools-hub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tiw-tools-hub__card {
	position: relative;
	margin: 0;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--sc-mist);
	border-radius: var(--sc-radius);
	transition: border-color .14s ease, box-shadow .14s ease;
}
.tiw-tools-hub__card:hover,
.tiw-tools-hub__card:focus-within { border-color: var(--sc-ink); box-shadow: 0 10px 30px rgba(23, 50, 77, .1); }
.tiw-tools-hub__card h2 { margin: 0 0 6px; font-size: 19px; font-weight: 850; line-height: 1.25; text-transform: none; }
.tiw-tools-hub__card h2 a { color: var(--sc-ink); text-decoration: none; }
.tiw-tools-hub__card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--sc-radius); }
.tiw-tools-hub__card h2 a:focus-visible { outline: none; }
.tiw-tools-hub__card:focus-within { outline: 2px solid var(--sc-signal); outline-offset: 2px; }
.tiw-tools-hub__card p { margin: 0 0 12px; color: var(--sc-slate); font-size: 15px; }
.tiw-tools-hub__cta { color: var(--sc-signal-deep); font-size: 15px; font-weight: 800; }
.tiw-tools-hub__guides { margin-top: 28px; }
.tiw-tools-hub__guides h2 { margin: 0 0 8px; font-size: 17px; font-weight: 800; text-transform: none; }
.tiw-tools-hub__guides ul { margin: 0; padding-left: 18px; }
.tiw-tools-hub__guides a { color: var(--sc-teal); }

/* Cut scale under the style picker: where this garment sits, fitted to oversized */
.tiw-size-calc__cut { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin-top: 10px; }
.tiw-size-calc__cut-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.tiw-size-calc__cut-scale i { display: block; height: 6px; background: var(--sc-mist); border-radius: 3px; }
.tiw-size-calc__cut[data-stop="1"] i:nth-child(1),
.tiw-size-calc__cut[data-stop="2"] i:nth-child(2),
.tiw-size-calc__cut[data-stop="3"] i:nth-child(3),
.tiw-size-calc__cut[data-stop="4"] i:nth-child(4),
.tiw-size-calc__cut[data-stop="5"] i:nth-child(5) { background: var(--sc-ink); }
.tiw-size-calc__cut-ends { display: flex; justify-content: space-between; color: var(--sc-slate); font-size: 12px; }
.tiw-size-calc__cut-label { color: var(--sc-ink); font-size: 13px; font-weight: 700; }

/* Measurements carry both units; show the one the shopper picked */
.tiw-size-calc[data-unit="imperial"] [data-u="cm"],
.tiw-size-calc[data-unit="metric"] [data-u="in"] { display: none; }

/* Reference: size chart + height x weight table */
.tiw-size-calc__reference { margin-top: 36px; }
.tiw-size-calc__reference h2 { margin: 0 0 6px; color: var(--sc-ink); font-size: 22px; font-weight: 850; letter-spacing: -.02em; line-height: 1.2; text-transform: none; }
.tiw-size-calc__ref-intro { max-width: 720px; margin: 0 0 14px; color: var(--sc-slate); font-size: 15px; }
.tiw-size-calc__ref-note { max-width: 720px; margin: 10px 0 0; color: var(--sc-slate); font-size: 13px; }
.tiw-size-calc__chart,
.tiw-size-calc__grid { overflow-x: auto; border: 1px solid var(--sc-mist); border-radius: var(--sc-radius); -webkit-overflow-scrolling: touch; }
.tiw-size-calc__chart[hidden],
.tiw-size-calc__grid[hidden] { display: none; }
.tiw-size-calc__reference table { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; line-height: 1.3; }
.tiw-size-calc__reference caption { padding: 12px 14px; color: var(--sc-ink); font-size: 14px; font-weight: 750; text-align: left; caption-side: top; }
.tiw-size-calc__reference th,
.tiw-size-calc__reference td { padding: 10px 12px; border-top: 1px solid var(--sc-mist); color: var(--sc-ink); text-align: left; white-space: nowrap; }
.tiw-size-calc__reference thead th { background: #f6f9fa; color: var(--sc-slate); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .03em; }
.tiw-size-calc__reference thead th small { font-size: inherit; font-weight: 600; text-transform: none; letter-spacing: 0; }
.tiw-size-calc__reference tbody th { font-weight: 800; }

/* Height x weight grid: sticky height column, tinted cells, centred sizes */
.tiw-size-calc__grid th,
.tiw-size-calc__grid td { padding: 8px 10px; text-align: center; }
.tiw-size-calc__grid tbody th,
.tiw-size-calc__grid thead th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; box-shadow: 1px 0 0 var(--sc-mist); }
.tiw-size-calc__grid thead th:first-child { background: #f6f9fa; }
.tiw-size-calc__grid td { font-weight: 750; }
.tiw-size-calc__s0 { background: rgba(19, 124, 139, .05); }
.tiw-size-calc__s1 { background: rgba(19, 124, 139, .11); }
.tiw-size-calc__s2 { background: rgba(19, 124, 139, .17); }
.tiw-size-calc__s3 { background: rgba(19, 124, 139, .23); }
.tiw-size-calc__s4 { background: rgba(19, 124, 139, .29); }
.tiw-size-calc__s5 { background: rgba(19, 124, 139, .35); }
.tiw-size-calc__s6 { background: rgba(19, 124, 139, .41); }
.tiw-size-calc__s7 { background: rgba(19, 124, 139, .47); }
.tiw-size-calc__grid td.is-out { color: var(--sc-slate); font-weight: 600; }
.tiw-size-calc__ref-tabs { display: inline-flex; gap: 6px; margin: 0 0 12px; }
.tiw-size-calc__ref-tabs button {
	min-height: 36px;
	margin: 0;
	padding: 0 16px;
	color: var(--sc-ink);
	background: #fff;
	border: 1px solid #aebec6;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 750;
	text-transform: none;
	letter-spacing: 0;
}
.tiw-size-calc__ref-tabs button[aria-pressed="true"] { color: #fff; background: var(--sc-ink); border-color: var(--sc-ink); }
.tiw-size-calc__ref-tabs button:focus-visible { outline: 2px solid var(--sc-signal); outline-offset: 2px; }
/* Without JS both grids stay visible and the tabs would do nothing. */
.tiw-size-calc:not(.is-enhanced) .tiw-size-calc__ref-tabs { display: none; }
.tiw-size-calc:not(.is-enhanced) .tiw-size-calc__grid + .tiw-size-calc__grid { margin-top: 16px; }

/* The recommended size, marked in the chart below the calculator */
.tiw-size-calc__chart tr.is-match th,
.tiw-size-calc__chart tr.is-match td { background: var(--sc-cream); }
.tiw-size-calc__chart tr.is-match th { box-shadow: inset 4px 0 0 var(--sc-signal); }

/* Thumbnails are too small for labels; the full guide below carries them. */
.tiw-size-calc__measure-panel .tiw-size-calc__svg text { display: none; }

/* Flatsome indents list items inside page content. */
.tiw-tools-hub .tiw-tools-hub__grid > .tiw-tools-hub__card { margin: 0; }
/* Shared tool and article: explicit modes and accessible result submission. */
.tiw-size-calc:not([data-measure="estimate"]) [data-estimate-only],
.tiw-size-calc[data-measure="estimate"] .tiw-size-calc__measure,
.tiw-size-calc[data-measure="shirt"] .tiw-size-calc__fit { display: none; }
.tiw-size-calc__result[hidden] { display: none; }
.tiw-size-calc__result { scroll-margin-top: 100px; }
.tiw-size-calc__measure-mode label { flex-basis: 100%; }
.tiw-size-calc__measure-mode span { min-height: 44px; }
.tiw-size-calc__units span { min-height: 44px; }
.tiw-size-calc [aria-invalid="true"] { border-color: var(--sc-signal-deep); }
.tiw-size-calc summary:focus-visible, .tiw-size-calc button:focus-visible,
.tiw-size-calc a:focus-visible, .tiw-size-calc [tabindex]:focus-visible { outline: 3px solid var(--sc-teal); outline-offset: 3px; }
.tiw-size-calc__grid-disclosure > summary { min-height: 44px; font-size: 20px; font-weight: 750; cursor: pointer; }
.tiw-size-calc__chart table { table-layout: fixed; }
.tiw-size-calc__chart th, .tiw-size-calc__chart td { white-space: normal; overflow-wrap: anywhere; padding: 10px 8px; }
.tiw-size-calc__chart th:first-child { width: 20%; }
.tiw-size-calc__measure-panel .tiw-size-calc__inputs + p { margin-top: 14px; }
@media (max-width: 600px) {
  .tiw-size-calc__panel { padding: 16px; }
  .tiw-size-calc__measure-panel { grid-template-columns: minmax(0, 1fr); }
  .tiw-size-calc__measure-panel .tiw-size-calc__svg { width: 72px; }
  .tiw-size-calc__facts div { flex-wrap: wrap; gap: 4px 12px; }
}
