/* Full guide: illustrations and shared measurements, within TM's palette. */
.m-sg .tm-sg-custom { margin: 28px 0 0; padding: 28px 32px; max-width: none; background: var(--m-panel); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px 32px; align-items: center; }
.m-sg .tm-sg-custom .m-sg__customTitle { margin: 0; font: 400 28px/1.2 'Cormorant Garamond', 'Cormorant', Georgia, serif; letter-spacing: -.01em; text-transform: none; }
.m-sg .tm-sg-custom .m-sg__customText { grid-column: 1; margin: 0; max-width: 66ch; }
.m-sg .tm-sg-custom .m-sg__customLink { grid-column: 2; grid-row: 1 / 3; margin: 0; color: var(--tm-teal); }
.m-sg .m-sg__measure { grid-template-columns: 1fr; }
@media(max-width:767px) {
 .m-sg .tm-sg-custom { grid-template-columns: 1fr; padding: 24px; }
 .m-sg .tm-sg-custom .m-sg__customLink { grid-column: 1; grid-row: auto; margin-top: 8px; }
}
body.mitesh .m-sg { max-width: 1240px; margin-inline: auto; padding-inline: clamp(20px,4vw,56px); }
.m-sg .m-sg__intro { max-width: 600px; margin: 18px auto 0; font: 400 20px/1.6 'Cormorant Garamond', 'Cormorant', Georgia, serif; letter-spacing: 0; }
.m-sg .m-sg__section { margin-top: 64px; padding: 0; }
.m-sg .m-sg__chart { display: block; }
.m-sg .m-sg__tabs { display: flex; width: 100%; max-width: none; margin-inline: auto; justify-content: center; gap: 28px; flex-wrap: wrap; }
.m-sg .m-sg__tab,
.m-sg .m-sg__tab.is-current,
.m-sg .m-sg__tab:hover,
.m-sg .m-sg__tab.is-current:hover {
	font-size: 14px;
	padding: 12px 0;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--m-label);
}
.m-sg .m-sg__tab.is-current,
.m-sg .m-sg__tab.is-current:hover {
	color: var(--tm-teal);
	border-bottom-color: var(--tm-teal);
}
.m-sg .m-sg__tab:hover:not(.is-current) {
	color: var(--tm-teal);
	border-bottom-color: transparent;
}
.tm-sg-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 28px 0 24px; }
.tm-sg-toolbar p { margin: 0; font: 400 13px/1.6 var(--m-sans); color: var(--m-label); }
.tm-sg-toolbar > div { display: flex; gap: 16px; }
.tm-sg-toolbar button { border: 0; border-bottom: 1px solid transparent; padding: 8px 0; background: transparent; color: var(--m-label); font: 500 12px var(--m-sans); cursor: pointer; }
.tm-sg-toolbar button[aria-pressed=true] { color: var(--tm-teal); border-bottom-color: currentColor; }
.tm-sg-chart-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 36px; align-items: start; padding: 28px; background: transparent; }
.m-sg .m-sg__table :is(thead,tbody,tr,th,td) { background: transparent; }
.tm-sg-illustration { margin: 0; }
.tm-sg-illustration img { display: block; width: 100%; height: 260px; object-fit: contain; mix-blend-mode: multiply; }
.tm-sg-illustration figcaption { margin-top: 16px; font: 400 12px/1.65 var(--m-sans); color: var(--m-label); text-align: center; }
.tm-sg-chart-details { min-width: 0; }
.m-sg .m-sg__table { width: 100%; table-layout: fixed; min-width: 650px; }
.m-sg .m-sg__table :is(th,td) { padding: 14px 8px; font-size: 14px; text-align: center; vertical-align: middle; font-variant-numeric: tabular-nums; }
.m-sg .m-sg__table :is(th,td):first-child { width: 160px; text-align: left; white-space: normal; overflow-wrap: break-word; }
.m-sg .m-sg__table th { font-weight: 500; font-size: 12px; letter-spacing: .02em; text-transform: none; }
.m-sg .m-sg__note { font: 400 12px/1.7 var(--m-sans); margin: 18px 0 0; }
.m-sg :is(.m-sg__label,.tm-sg-fit > h2,.tm-sg-trousers > h2) { font: 400 clamp(28px,2.7vw,38px)/1.2 var(--m-display); text-transform: none; letter-spacing: -.02em; margin: 0 0 28px; }
.tm-sg-fit-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.tm-sg-fit-grid span { color: var(--tm-teal); font: 400 26px var(--m-display); }
.tm-sg-fit-grid h3,.tm-sg-trousers dt { font: 500 17px/1.4 var(--m-sans); margin: 12px 0; }
.tm-sg-fit-grid p,.tm-sg-trousers dd { font: 400 15px/1.8 var(--m-sans); margin: 0; color: var(--m-label); }
.tm-sg-trousers dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin: 0; }
.tm-sg-trousers a { color: var(--tm-teal); font: 500 14px/1.6 var(--m-sans); text-decoration: underline; text-underline-offset: 4px; }
.m-sg .m-sg__stepText,.m-sg .m-sg__customText { font: 400 15px/1.8 var(--m-sans); }
.m-sg :focus-visible { outline: 2px solid var(--tm-teal); outline-offset: 4px; }
@media(max-width: 900px) { .tm-sg-chart-layout { grid-template-columns: 160px minmax(0,1fr); gap: 24px; padding: 20px; } }
@media(max-width: 767px) {
 .m-sg .m-sg__section { margin-top: 44px; }
 .tm-sg-chart-layout,.tm-sg-fit-grid,.tm-sg-trousers dl { grid-template-columns: 1fr; gap: 24px; }
 .tm-sg-illustration { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 20px; }
 .tm-sg-illustration img { height: 150px; }
 .tm-sg-illustration figcaption { text-align: left; margin: 0; }
 .tm-sg-toolbar { align-items: flex-start; }
 .tm-sg-toolbar > div { flex-shrink: 0; }
 .m-sg .m-sg__tabs { gap: 12px 20px; }
 .m-sg .m-sg__tab { padding: 10px 0; }
}

/* Reference sections (how to measure, UK/US/EU, fit tips): one subject each. */
.m-sg .tm-sg-lead { max-width: 62ch; margin: -12px 0 32px; font: 400 15px/1.8 var(--m-sans); color: var(--m-label); }
.m-sg .tm-sg-sub { margin: 36px 0 18px; font: 500 12px/1.4 var(--m-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--m-ink); }
.m-sg .tm-sg-measure .m-sg__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 32px; margin: 0; padding: 0; list-style: none; }
.m-sg .tm-sg-measure .m-sg__stepLabel { margin: 0 0 6px; }
.m-sg .tm-sg-standards .m-sg__scroll { margin: 0 0 36px; }
.m-sg .tm-sg-convert { min-width: 560px; }
.m-sg .tm-sg-fit-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.m-sg .tm-sg-help { margin: 36px 0 0; }
.m-sg .tm-sg-help a { color: var(--tm-teal); font: 500 14px/1.6 var(--m-sans); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1023px) { .m-sg .tm-sg-fit-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.m-sg .tm-sg-fit-grid--four,
	.m-sg .tm-sg-standards dl,
	.m-sg .tm-sg-measure dl { grid-template-columns: 1fr; gap: 20px; }
	.m-sg .tm-sg-lead { margin-top: -8px; font-size: 14px; }
}

/* Consistent section rhythm and smaller, deliberate internal gaps. */
.m-sg .tm-sg-measure dl { counter-reset: measurement; }
.m-sg .tm-sg-measure .tm-sg-topmeasure { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1023px) {
 .m-sg .tm-sg-measure .tm-sg-topmeasure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
 .m-sg .tm-sg-measure .tm-sg-topmeasure { grid-template-columns: 1fr; gap: 20px; }
}
.m-sg .tm-sg-measure dl > div { counter-increment: measurement; }
.m-sg .tm-sg-measure dl > div::before {
	content: counter(measurement, decimal-leading-zero);
	display: block;
	margin-bottom: 12px;
	font: 400 22px var(--m-display);
	color: var(--tm-teal);
}
.m-sg .tm-sg-measure dl dt { margin: 0 0 12px; font: 500 15px/1.4 var(--m-sans); letter-spacing: 0; text-transform: none; }
.m-sg .tm-sg-measure dl dd { margin: 0; font: 400 14px/1.75 var(--m-sans); }
.m-sg :is(.tm-sg-measure,.tm-sg-standards,.tm-sg-fit) :is(.tm-sg-lead,.m-sg__stepText,dd,.tm-sg-fit-grid p) {
	font-size: 14px;
	line-height: 1.75;
}
.m-sg :is(.tm-sg-measure,.tm-sg-standards,.tm-sg-fit) :is(.m-sg__stepLabel,dt,.tm-sg-fit-grid h3) {
	font-size: 15px;
}
body.mitesh .m-sg { --sg-section-space: 64px; padding-bottom: var(--sg-section-space); }
.m-sg > .m-sg__section { margin: var(--sg-section-space) 0 0; }
.m-sg > .m-sg__chart { margin-top: 48px; }
.m-sg .m-sg__tabs { margin-bottom: 0; }
.m-sg .tm-sg-toolbar { margin: 24px 0 20px; }
.m-sg .tm-sg-chart-layout { padding: 0; }
.m-sg .m-sg__scroll { margin-bottom: 0; }
.m-sg .tm-sg-custom { margin-top: 32px; }
.m-sg :is(.tm-sg-measure,.tm-sg-standards,.tm-sg-fit) > h2 { margin: 0 0 20px; font-size: clamp(25px, 2.3vw, 32px); }
.m-sg :is(.tm-sg-measure,.tm-sg-standards,.tm-sg-fit) > h2 {
	font: 400 clamp(26px, 2.4vw, 32px)/1.25 var(--m-sans);
	letter-spacing: -.02em;
	text-transform: none;
	color: var(--m-ink);
}
.m-sg .tm-sg-lead { margin: 0 0 28px; }
.m-sg .tm-sg-sub {
 display: flex;
 align-items: center;
 gap: 18px;
 margin: 36px 0 24px;
 font: 500 25px/1.25 'Cormorant Garamond', 'Cormorant', Georgia, serif;
 letter-spacing: 0;
 text-transform: none;
 color: var(--tm-teal);
}
.m-sg .tm-sg-sub::after {
 content: '';
 display: block;
 width: 64px;
 height: 1px;
 flex: 0 0 64px;
 background: #c7d6ce;
}
.m-sg .tm-sg-lead + .tm-sg-sub { margin-top: 0; }
.m-sg .tm-sg-standards .m-sg__scroll { margin-bottom: 28px; }
.m-sg :is(.tm-sg-measure,.tm-sg-standards,.tm-sg-fit) > :last-child { margin-bottom: 0; }
.m-sg .tm-sg-help { margin-top: 28px; }
@media(max-width:767px) {
 body.mitesh .m-sg { --sg-section-space: 44px; }
 .m-sg > .m-sg__chart { margin-top: 36px; }
 .m-sg .tm-sg-custom { margin-top: 24px; }
 .m-sg .tm-sg-toolbar { margin: 20px 0; }
 .m-sg .tm-sg-lead { margin: 0 0 24px; }
 .m-sg .tm-sg-sub { margin: 28px 0 16px; }
 .m-sg .tm-sg-lead + .tm-sg-sub { margin-top: 0; }
}
