/* MilitaryScore theme, concept B "Signal": white and graphite with one orange accent.
   Status is always spelled out in words and icons; color only reinforces it. */

@font-face { font-family: Barlow; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/barlow-semi-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/barlow-semi-condensed-latin-800-normal.woff2) format("woff2"); }
/* Fallbacks while the woff2 files load: local Arial (desktop, iOS; Liberation Sans or Arimo on Linux and ChromeOS)
   and Roboto (Android), scaled so that text takes the same width and line height as in Barlow and does not reflow
   when Barlow arrives. size-adjust = width of the face's text in Barlow over its width in the fallback, measured in
   Chrome: for Arial all the text on all pages, for Roboto the first two screens of each page (each gave the lower
   layout shift in tests); ascent and descent are Barlow's 1000/200 units, divided by size-adjust.
   unicode-range is the woff2 files' own character set, so characters Barlow lacks fall through as before.
   Text measures are in em, not ch: ch follows the zero of whichever face is loaded. 1ch in Barlow 400 = 0.565em. */
@font-face { font-family: "Barlow Fallback Arial"; font-style: normal; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Arimo"); unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215; size-adjust: 96.00%; ascent-override: 104.17%; descent-override: 20.83%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback Arial"; font-style: normal; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"); unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215; size-adjust: 91.96%; ascent-override: 108.74%; descent-override: 21.75%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback Arial"; font-style: normal; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"); unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215; size-adjust: 93.53%; ascent-override: 106.92%; descent-override: 21.38%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Semi Condensed Fallback Arial"; font-style: normal; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"); unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215; size-adjust: 81.53%; ascent-override: 122.65%; descent-override: 24.53%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Semi Condensed Fallback Arial"; font-style: normal; font-weight: 800; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Arimo Bold"); unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215; size-adjust: 85.65%; ascent-override: 116.75%; descent-override: 23.35%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback Roboto"; font-style: normal; font-weight: 400; src: local("Roboto"), local("Roboto-Regular"), local("Roboto Regular"); unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215; size-adjust: 96.58%; ascent-override: 103.54%; descent-override: 20.71%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback Roboto"; font-style: normal; font-weight: 600; src: local("Roboto Bold"), local("Roboto-Bold"); unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215; size-adjust: 95.80%; ascent-override: 104.39%; descent-override: 20.88%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback Roboto"; font-style: normal; font-weight: 700; src: local("Roboto Bold"), local("Roboto-Bold"); unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215; size-adjust: 97.30%; ascent-override: 102.77%; descent-override: 20.55%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Semi Condensed Fallback Roboto"; font-style: normal; font-weight: 700; src: local("Roboto Bold"), local("Roboto-Bold"); unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215; size-adjust: 84.83%; ascent-override: 117.89%; descent-override: 23.58%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Semi Condensed Fallback Roboto"; font-style: normal; font-weight: 800; src: local("Roboto Bold"), local("Roboto-Bold"); unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+2215; size-adjust: 88.82%; ascent-override: 112.59%; descent-override: 22.52%; line-gap-override: 0%; }

:root {
	--bg: #FFFFFF;
	--surface: #FFFFFF;
	--panel: #F4F4F5;
	--ink: #0B0B0C;
	--muted: #55585E;
	--line: #E4E4E7;
	--field-line: #8E9196;
	--accent: #FF5A1F;
	--accent-text: #C2410C;
	--accent-tint: #FFF1EA;
	--on-accent: #0B0B0C;
	--slab: #0B0B0C;
	--slab-ink: #FFFFFF;
	--slab-muted: #B4B4BB;
	--slab-line: #2E2E33;
	--slab-track: #2A2A2E;
	--slab-accent: #FF7A45;
	--focus: #C2410C;
	--display: "Barlow Semi Condensed", "Barlow Semi Condensed Fallback Arial", "Barlow Semi Condensed Fallback Roboto", "Arial Narrow", system-ui, sans-serif;
	--body: Barlow, "Barlow Fallback Arial", "Barlow Fallback Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 8px;
	--radius-sm: 6px;
	--gutter: 40px;
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0C0C0D;
		--surface: #141416;
		--panel: #1A1A1D;
		--ink: #F4F4F5;
		--muted: #A1A1AA;
		--line: #2C2C31;
		--field-line: #6B6B73;
		--accent: #FF6B35;
		--accent-text: #FF8A5C;
		--accent-tint: #2A1912;
		--slab: #18181B;
		--slab-ink: #F4F4F5;
		--slab-muted: #A1A1AA;
		--slab-line: #33333A;
		--slab-track: #2E2E34;
		--slab-accent: #FF8A5C;
		--focus: #FF8A5C;
	}
}

/* Base and parent-theme resets */

html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
	-webkit-font-smoothing: antialiased;
}
/* Header, content, footer as one column: on a short page the content grows, so the footer meets the bottom edge. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > .site { flex: 1 0 auto; }
body > .ms-header, body > .site-footer { flex: none; }
/* The parent theme centers the container with auto margins, which would shrink it to its content in the column. */
body .site.grid-container { width: 100%; max-width: none; margin: 0; padding: 0; background: transparent; }
body .site-content { display: block; padding: 0; }
body .content-area { width: auto; float: none; }
.separate-containers .inside-article, .one-container .site-content, .inside-article { background: transparent; padding: 0; }
h1, h2, h3, h4 { color: inherit; font-family: var(--display); font-weight: 800; letter-spacing: 0; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--ink); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ms-visually-hidden, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); width: auto; height: auto; clip: auto; }

.ms-shell { max-width: 1260px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: border-box; }
.ms-shell > * { min-width: 0; }

/* Header */

.ms-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.ms-header__bar { display: flex; align-items: center; gap: 32px; height: 68px; }
.ms-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.ms-brand:hover, .ms-brand:focus { color: var(--ink); }
.ms-mark { display: block; flex: none; }
.ms-brand__word { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .01em; line-height: 1; }
.ms-brand__word span { color: var(--accent-text); }
.ms-nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 16px; }
.ms-nav a { color: var(--muted); text-decoration: none; padding: 22px 0; }
.ms-nav a:hover, .ms-nav a:focus-visible { color: var(--ink); }
.ms-nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.ms-header__scores { flex: none; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 9px 14px; border: 1.5px solid var(--ink); border-radius: var(--radius-sm); }
.ms-header__scores:hover, .ms-header__scores:focus-visible, .ms-header__scores[aria-current] { background: var(--ink); color: var(--bg); }
.ms-menu { display: none; position: relative; margin-left: auto; }
.ms-menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); cursor: pointer; }
.ms-menu summary::-webkit-details-marker { display: none; }
.ms-menu[open] summary { background: var(--panel); }
.ms-menu__panel { position: absolute; right: 0; top: 52px; z-index: 30; min-width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); display: grid; }
.ms-menu__panel a { padding: 12px 14px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; }
.ms-menu__panel a:hover, .ms-menu__panel a[aria-current] { background: var(--panel); }

/* Page intro: text, then the photo; on phones the photo moves below the tool */

.ms-tool__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	grid-template-areas: "intro photo" "tool tool";
	column-gap: 48px;
	align-items: end;
	padding-top: 40px;
}
.ms-tool__intro { grid-area: intro; padding-bottom: 36px; }
/* A page without a photo: the intro keeps a reading width and the tool runs under it. */
.ms-tool__layout--text { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "tool"; }
.ms-tool__layout--text .ms-tool__intro { max-width: 760px; }
.ms-tool__photo { grid-area: photo; margin: 0 0 36px; }
.ms-calc, .ms-standards, .ms-event-chart, .ms-calc-missing { grid-area: tool; }
.ms-breadcrumb { font-size: 15px; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ms-breadcrumb a { color: var(--muted); }
.ms-breadcrumb a:hover { color: var(--ink); }
.ms-eyebrow { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.ms-tool__intro h1 { font-size: 68px; line-height: .98; margin-bottom: 16px; }
.ms-lead { font-size: 19px; color: var(--muted); max-width: 520px; margin-bottom: 14px; }
.ms-version { font-size: 14px; color: var(--muted); margin: 0; }
.ms-figure { margin: 0; }
.ms-figure img { display: block; width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-sm); }
.ms-figure figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.ms-figure figcaption a { color: var(--muted); }

/* Shared controls */

.ms-label { margin: 0 0 14px; font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ms-panel { background: var(--panel); border-radius: var(--radius); padding: 22px; }
.ms-panel--line { background: var(--bg); border: 1px solid var(--line); }
.ms-field { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.ms-field:last-child { margin-bottom: 0; }
.ms-field legend, .ms-field > label, .ms-target > label { display: block; padding: 0; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.ms-note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
input.ms-input, select.ms-select {
	box-sizing: border-box; width: 100%; height: 46px; padding: 0 14px;
	border: 1px solid var(--field-line); border-radius: var(--radius-sm);
	background: var(--surface); color: var(--ink); font-size: 18px; font-weight: 600;
}
.ms-select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
input.ms-input:focus, select.ms-select:focus { background-color: var(--surface); color: var(--ink); border-color: var(--ink); }
.ms-input[aria-invalid="true"] { border-color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-text); }
.ms-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; }
.ms-seg--stack { grid-template-columns: minmax(0, 1fr); }
.ms-seg label { position: relative; display: block; }
.ms-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ms-seg span {
	display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 14px; box-sizing: border-box;
	border: 1px solid var(--field-line); border-radius: var(--radius-sm); background: transparent; color: var(--muted);
	font-weight: 600; font-size: 16px; text-align: center; cursor: pointer;
}
.ms-seg--stack span { justify-content: flex-start; }
.ms-seg input:checked + span { border: 2px solid var(--ink); background: var(--surface); color: var(--ink); font-weight: 700; }
.ms-seg input:checked + span::before { content: ""; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.ms-seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.ms-seg input:disabled + span { opacity: .45; cursor: not-allowed; }
.ms-hint { margin-top: 10px; font-size: 14px; color: var(--muted); }
.ms-hint summary { cursor: pointer; color: var(--ink); font-weight: 600; padding: 6px 0; }
.ms-hint p { margin: 6px 0; }
.ms-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; box-sizing: border-box;
	border-radius: var(--radius-sm); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
	border: 1.5px solid currentColor; background: transparent; color: var(--ink);
}
/* The parent theme paints any focused button dark grey; ours keep their own colors, and keyboard focus adds the tint. */
.ms-btn:focus { color: var(--ink); background: transparent; }
.ms-btn:hover, .ms-btn:focus-visible { color: var(--ink); background: var(--panel); }
.ms-btn--accent, .ms-btn--accent:focus { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ms-btn--accent:hover, .ms-btn--accent:focus-visible { background: var(--accent); color: var(--on-accent); filter: brightness(1.06); }
.ms-btn:disabled { opacity: .4; cursor: not-allowed; filter: none; }
.ms-chip { display: inline-block; padding: 3px 10px; border-radius: 4px; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; background: var(--slab-ink); color: var(--slab); }

/* Calculator layout */

.ms-calc {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr) minmax(0, 1.05fr);
	grid-template-areas: "profile events result" "detail detail detail";
	gap: 20px;
	align-items: start;
}
.ms-calc__profile { grid-area: profile; }
.ms-calc__events { grid-area: events; padding-top: 18px; padding-bottom: 14px; }
.ms-result { grid-area: result; }
.ms-detail { grid-area: detail; }

/* Event rows */

.ms-choice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 190px); align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ms-choice label { font-weight: 600; font-size: 15px; color: var(--muted); }
.ms-choice .ms-select { height: 42px; font-size: 16px; }
.ms-event { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head entry" "msg msg"; align-items: center; column-gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ms-event[hidden] { display: none; }
.ms-event__head { grid-area: head; min-width: 0; }
.ms-event__name { display: block; font-weight: 700; font-size: 17px; line-height: 1.25; }
.ms-event__hint { display: block; font-size: 14px; color: var(--muted); }
.ms-event__entry { grid-area: entry; display: flex; align-items: center; gap: 10px; }
.ms-stepper { display: flex; align-items: stretch; height: 48px; border: 1px solid var(--field-line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); }
.ms-stepper:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.ms-stepper button { width: 42px; border: 0; padding: 0; background: var(--panel); color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1; cursor: pointer; touch-action: manipulation; }
.ms-stepper button:first-child { border-right: 1px solid var(--line); }
.ms-stepper button:last-child { border-left: 1px solid var(--line); }
.ms-stepper button:hover { background: var(--line); }
input.ms-event__input, input.ms-event__input:focus { width: 84px; height: auto; max-width: none; border-radius: 0; border: 0; outline: 0; padding: 0 4px; background: transparent; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 22px; text-align: center; }
.ms-event__input::placeholder { color: var(--muted); font-family: var(--body); font-weight: 400; font-size: 15px; opacity: .8; }
input.ms-event__input[aria-invalid="true"] { color: var(--accent-text); }
.ms-stepper:has(.ms-event__input[aria-invalid="true"]) { border-color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent-text); }
.ms-event__pts { min-width: 54px; display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 3px; font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--muted); }
.ms-event__pts small { font-family: var(--body); font-weight: 600; font-size: 13px; color: var(--muted); }
.ms-event__pts[data-state="ok"] { color: var(--ink); }
.ms-event__pts[data-state="fail"] { color: var(--ink); }
.ms-event__pts svg { align-self: center; flex: none; }
.ms-event__msg { grid-area: msg; margin: 0; font-size: 14px; color: var(--muted); }
.ms-event__msg:empty { display: none; }
.ms-event__msg:not(:empty) { margin-top: 8px; }
.ms-event__msg[data-kind="error"], .ms-event__msg[data-kind="fail"], .ms-event__msg[data-kind="warn"] { color: var(--accent-text); font-weight: 600; }
.ms-event__msg svg { vertical-align: -3px; margin-right: 6px; }
.ms-calc__timehint { margin: -6px 0 4px; }
.ms-event__help { margin-top: 2px; font-size: 14px; }
.ms-event__help summary { display: inline-flex; align-items: center; min-height: 24px; color: var(--accent-text); font-weight: 600; cursor: pointer; }
.ms-event__help summary::-webkit-details-marker { display: none; }
.ms-event__help summary::after { content: "+"; margin-left: 6px; font-weight: 700; }
.ms-event__help[open] summary::after { content: "\2212"; }
.ms-event__help p { margin: 2px 0 4px; max-width: 29.38em; color: var(--muted); }
/* Air Force: the ratio worked out from two measurements, under its field */
.ms-event:has(> .ms-ratio) { grid-template-areas: "head entry" "ratio ratio" "msg msg"; }
.ms-ratio { grid-area: ratio; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 12px 0 0; max-width: 420px; padding: 10px 12px 12px; border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.ms-ratio legend { padding: 0 4px; font-size: 14px; font-weight: 700; color: var(--ink); }
.ms-ratio label { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 6px; font-size: 14px; font-weight: 600; }
.ms-ratio .ms-input { grid-column: 1 / -1; min-height: 44px; }
.ms-ratio__unit { color: var(--muted); font-weight: 400; }
.ms-ratio__out { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
.ms-scope { margin: 18px 0 0; grid-column: 1 / -1; padding: 10px 12px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface); font-size: 14px; line-height: 1.4; color: var(--muted); }
.ms-scope p { margin: 0; color: var(--ink); }
.ms-scope summary { margin-top: 6px; min-height: 24px; color: var(--accent-text); font-weight: 600; cursor: pointer; }
.ms-scope ul { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.ms-scope li { margin: 0; }

/* Result panel */

.ms-result { position: relative; display: flex; flex-direction: column; padding: 24px 26px; border-radius: var(--radius); background: var(--slab); color: var(--slab-ink); border: 1px solid var(--slab-line); outline: 0; }
.ms-result a { color: var(--slab-accent); }
.ms-result .ms-label { color: var(--slab-muted); margin: 0; }
.ms-result__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; }
.ms-result__context { margin: 6px 0 0; font-size: 15px; color: var(--slab-muted); }
.ms-result__context strong { color: var(--slab-ink); font-weight: 600; }
.ms-result__sofar { margin: 10px 0 -4px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--slab-ink); }
.ms-result__sofar[hidden] { display: none; }
.ms-result__score { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 18px; margin: 6px 0 8px; }
.ms-result__total { margin: 0; font-family: var(--display); font-weight: 800; font-size: 120px; line-height: .9; letter-spacing: -.02em; }
.ms-result__max { margin-left: 8px; font-weight: 700; font-size: 26px; letter-spacing: 0; color: var(--slab-muted); }
.ms-result[data-state="empty"] .ms-result__total [data-ms-total], .ms-result[data-state="incomplete"] .ms-result__total [data-ms-total] { color: var(--slab-muted); }
.ms-result[data-state="empty"] .ms-result__total { font-size: 56px; }
.ms-result[data-state="empty"] .ms-result__max { font-size: 20px; }
.ms-result[data-state="empty"] .ms-target, .ms-result[data-state="empty"] .ms-result__actions { display: none; }
.ms-status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 12px 6px 8px; border-radius: 4px; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid var(--slab-muted); color: var(--slab-ink); }
.ms-status__icon { display: grid; place-items: center; width: 20px; height: 20px; }
.ms-status[data-status="pass"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ms-status[data-status="fail"] { background: var(--slab-ink); border-color: var(--slab-ink); color: var(--slab); }
.ms-status[data-status="pass_requirement_unmet"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ms-status[data-status="empty"], .ms-status[data-status="incomplete"] { color: var(--slab-muted); border-style: dashed; }
.ms-status[data-status="depends_on_rule"], .ms-status[data-status="preliminary"], .ms-status[data-status="unsettled"] { color: var(--slab-ink); border-style: dashed; border-color: var(--slab-accent); }
.ms-result__summary { font-size: 16px; }
.ms-result__summary p { margin: 0 0 6px; }
.ms-result__summary ul { margin: 4px 0 8px; padding: 0; list-style: none; }
.ms-result__summary li { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; }
.ms-result__summary li svg { flex: none; margin-top: 3px; }
.ms-result__rule { margin: 4px 0 16px; font-size: 15px; color: var(--slab-muted); }
.ms-result__rule:empty { display: none; }
.ms-followup { display: flex; gap: 8px; align-items: flex-start; }
.ms-followup svg { flex: none; margin-top: 4px; }
.ms-followup__ref { display: block; margin-top: 4px; font-size: 13px; color: var(--slab-muted); }
.ms-result__scope { margin: -6px 0 16px; padding-left: 10px; border-left: 2px solid var(--slab-accent); font-size: 14px; line-height: 1.4; color: var(--slab-muted); }
.ms-result__example { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 18px; font-size: 14px; color: var(--slab-muted); }
.ms-result__example[hidden] { display: none; }
.ms-result .ms-btn--line, .ms-result .ms-btn--line:focus { color: var(--slab-ink); border-color: var(--slab-muted); background: transparent; }
.ms-result .ms-btn--line:hover, .ms-result .ms-btn--line:focus-visible { background: var(--slab-line); color: var(--slab-ink); }

.ms-bars { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--slab-line); }
.ms-bars:empty { display: none; }
.ms-bars li { display: grid; grid-template-columns: 128px minmax(0, 1fr) minmax(58px, auto); align-items: center; gap: 12px; min-height: 36px; margin: 0; }
.ms-bars__name { font-size: 15px; font-weight: 600; line-height: 1.2; }
.ms-bars__track { position: relative; height: 12px; background: var(--slab-track); }
.ms-bars__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); }
.ms-bars li[data-state="fail"] .ms-bars__fill { background: repeating-linear-gradient(135deg, var(--slab-ink) 0 3px, transparent 3px 6px); }
.ms-bars__min { position: absolute; top: -5px; width: 2px; height: 22px; margin-left: -1px; background: var(--slab-ink); }
.ms-bars__target { position: absolute; top: -5px; height: 22px; margin-left: -1px; border-left: 2px dashed var(--slab-accent); }
.ms-bars__note { grid-column: 2 / -1; margin: -8px 0 4px; font-size: 13px; font-weight: 700; line-height: 1.3; }
.ms-bars__pts { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; font-family: var(--display); font-weight: 800; font-size: 20px; text-align: right; white-space: nowrap; }
.ms-bars li[data-state="empty"] .ms-bars__pts { color: var(--slab-muted); font-weight: 600; }
.ms-bars__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 0; font-size: 13px; color: var(--slab-muted); }
.ms-bars__key { display: inline-block; width: 2px; height: 14px; background: var(--slab-ink); }
.ms-bars__key--target { width: 0; border-left: 2px dashed var(--slab-accent); background: none; margin-left: 10px; }
.ms-bars__legend[hidden], .ms-bars__legend [hidden] { display: none; }

.ms-target { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--slab-line); }
.ms-target > label { color: var(--slab-ink); }
.ms-target__row { display: flex; gap: 8px; }
.ms-result select.ms-select, .ms-result input.ms-input, .ms-result input.ms-input:focus, .ms-result select.ms-select:focus { background-color: var(--slab); color: var(--slab-ink); border-color: var(--slab-muted); }
.ms-target__custom { max-width: 110px; }
.ms-target__custom[hidden] { display: none; }
.ms-target__gap { margin: 8px 0 0; font-size: 15px; }
.ms-target__gap:empty { display: none; }
.ms-result__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 2px; }
.ms-result__actions .ms-btn { padding: 0 10px; font-size: 15px; }
.ms-result__saved { margin: 10px 0 0; font-size: 14px; color: var(--slab-muted); overflow-wrap: anywhere; }
.ms-result__saved:empty { display: none; }

/* Breakdown, scenario and standards link */

.ms-detail { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-areas: "table scenario" "table norms"; gap: 20px; align-items: start; }
.ms-breakdown { grid-area: table; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.ms-breakdown summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 18px 0; cursor: pointer; list-style: none; }
.ms-breakdown summary::-webkit-details-marker { display: none; }
.ms-breakdown summary::after { content: "Show"; margin-left: auto; font-weight: 700; font-size: 15px; color: var(--accent-text); }
.ms-breakdown[open] summary::after { content: "Hide"; }
.ms-breakdown summary .ms-label { margin: 0; color: var(--ink); }
.ms-breakdown__sub { font-size: 14px; color: var(--muted); }
.ms-breakdown .ms-note { margin: 12px 0 18px; }
.ms-scenario { grid-area: scenario; }
.ms-scenario__pick { display: grid; gap: 6px; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.ms-scenario__steps { list-style: none; margin: 0; padding: 0; }
.ms-scenario__steps:empty { display: none; }
.ms-scenario__steps li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ms-scenario__steps li:last-child { border-bottom: 0; }
.ms-scenario[hidden], .ms-breakdown[hidden] { display: none; }
.ms-scenario__raw { font-family: var(--display); font-weight: 800; font-size: 19px; }
.ms-scenario__raw small { display: block; font-family: var(--body); font-weight: 700; font-size: 12px; color: var(--accent-text); }
.ms-scenario__steps li strong { font-weight: 700; }
.ms-scenario__gain { font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.ms-norms { grid-area: norms; }
/* Before the first result the breakdown is hidden: the standards take the first column instead of leaving it empty. */
@media (min-width: 1200px) { .ms-detail:has(> .ms-breakdown[hidden]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "norms scenario"; } }
.ms-norms p { font-size: 15px; color: var(--muted); }
.ms-norms .ms-table { font-size: 15px; }
.ms-norms .ms-table th, .ms-norms .ms-table td { padding: 9px 6px; }
.ms-norms .ms-table td strong { font-size: 17px; }
.ms-norms .ms-table-wrap + .ms-btn { margin-top: 16px; }

.ms-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ms-table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 16px; }
.ms-table th, .ms-table td { padding: 12px 10px; border: 0; border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; }
/* The first column only: a second header row (the events under "Cardio · choose one") starts mid-table. */
.ms-table :where(thead > tr:first-child, tbody > tr, tfoot > tr) > :is(th, td):first-child { text-align: left; padding-left: 0; }
.ms-table th:last-child, .ms-table td:last-child { padding-right: 0; }
.ms-table thead th { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.ms-table tbody th { font-weight: 600; }
.ms-table td strong { font-family: var(--display); font-weight: 800; font-size: 20px; }
.ms-table .ms-cell-status { display: inline-flex; align-items: center; gap: 5px; }
.ms-cell-fail { white-space: nowrap; font-size: 14px; font-weight: 600; }
.ms-table__unit { display: block; font-family: var(--body); font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.ms-table caption { caption-side: top; text-align: left; padding: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }

/* Sticky result row on phones */

.ms-sticky { display: none; }

/* Print scorecard: built from the current result when the visitor prints */

.ms-printcard[hidden] { display: none; }

/* Standards page */

.ms-standards__controls { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.ms-standards__controls .ms-field { margin: 0; }
/* Three standards (Marine PFT) take a row of their own so their labels stay on one line. */
.ms-standards__controls--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ms-standards__controls--wide > .ms-field:first-child { grid-column: 1 / -1; }
.ms-standards__controls [data-ms-std-sex-field][hidden] { display: block !important; visibility: hidden; }
.ms-th-short, .ms-th-key { display: none; }
.ms-standards__hint { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.ms-standards__hint[hidden] { display: none; }
.ms-group-card { margin-top: 20px; padding: 24px 26px; border-radius: var(--radius); background: var(--slab); color: var(--slab-ink); }
.ms-group-card[hidden] { display: none; }
.ms-group-card h2 { font-size: 30px; line-height: 1.1; margin: 4px 0 6px; }
.ms-group-card .ms-label { color: var(--slab-muted); margin: 0; }
.ms-group-card p { color: var(--slab-muted); font-size: 15px; margin-bottom: 14px; }
.ms-group-card .ms-table th, .ms-group-card .ms-table td { border-color: var(--slab-line); }
.ms-group-card .ms-table thead th { color: var(--slab-muted); border-color: var(--slab-muted); }
.ms-group-card .ms-table__unit { color: var(--slab-muted); }
.ms-group-card__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ms-group-card .ms-btn--line, .ms-group-card .ms-btn--line:focus { color: var(--slab-ink); border-color: var(--slab-muted); background: transparent; }
.ms-group-card .ms-btn--line:hover { background: var(--slab-line); color: var(--slab-ink); }
.ms-std-variant { margin-top: 40px; }
.ms-std-variant[hidden] { display: none; }
.ms-std-variant__head h2 { font-size: 34px; line-height: 1.05; margin-bottom: 8px; }
.ms-std-variant__head p { color: var(--muted); max-width: 39.55em; }
.ms-std-variant__head .ms-std-variant__req { color: var(--ink); font-weight: 600; }
.ms-std-variant__tables { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; margin-top: 18px; }
.ms-std-variant__tables .ms-table-wrap[hidden] { display: none; }
.ms-table--chart th, .ms-table--chart td { padding: 10px 8px; }
.ms-table--chart thead th a { color: var(--ink); text-decoration: none; }
.ms-table--chart thead th a:hover { text-decoration: underline; }
.ms-table--chart tbody tr.is-selected th, .ms-table--chart tbody tr.is-selected td { background: var(--accent-tint); font-weight: 700; }
.ms-table--chart tbody tr.is-selected th { box-shadow: inset 4px 0 0 var(--accent); padding-left: 12px; }
.ms-table--chart tbody tr.is-selected th::after { content: " · yours"; font-weight: 600; font-size: 13px; color: var(--accent-text); }
.ms-event-chart .ms-table-wrap { margin-top: 18px; max-height: 80vh; overflow: auto; border-bottom: 1px solid var(--line); }
.ms-table--event { font-variant-numeric: tabular-nums; }
.ms-table--event th, .ms-table--event td { padding: 8px 10px; white-space: nowrap; }
.ms-table--event thead th { position: sticky; top: 0; z-index: 2; background: var(--bg); }
.ms-table--event tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg); padding-right: 14px; }
.ms-table--event thead th:first-child { left: 0; z-index: 3; }
.ms-table--event tr.is-min th, .ms-table--event tr.is-min td { background: var(--accent-tint); font-weight: 700; }
.ms-table--event tr.is-min th { box-shadow: inset 4px 0 0 var(--accent); padding-left: 12px; }
.ms-table--event tr.is-max th, .ms-table--event tr.is-max td { font-weight: 700; }
.ms-event-chart__same { margin: 14px 0 0; color: var(--muted); }
.ms-event-chart__note { margin: 14px 0 0; max-width: 42.375em; color: var(--muted); }
.ms-event-chart__note .ms-flag { margin: 0 4px 0 0; }
.ms-table--event tr.is-min .ms-flag, .ms-table--event tr.is-max .ms-flag { font-weight: 400; }
.ms-quick { margin-bottom: 36px; }
.ms-quick h2 { font-size: 34px; line-height: 1.05; margin-bottom: 8px; }
.ms-quick > p { max-width: 39.55em; color: var(--muted); }
.ms-quick > p strong { color: var(--ink); }
.ms-table--quick { width: auto; min-width: min(100%, 560px); }
.ms-table--quick th, .ms-table--quick td { padding: 10px 14px; white-space: nowrap; }
.ms-table--quick thead tr:first-child th[scope="colgroup"] { text-align: center; color: var(--ink); border-bottom: 1px solid var(--line); }
.ms-table--quick td strong { font-size: 19px; }
.ms-quick__jump { margin: 14px 0 0; font-size: 15px; }
.ms-event-chart .ms-quick .ms-table-wrap { max-height: none; overflow-y: visible; border-bottom: 0; }
.ms-event-chart .ms-toc { margin: 0 0 32px; }
.ms-table--event tr.is-min { scroll-margin-top: 48px; }
.ms-event-chart__how { margin: 0; max-width: 36.725em; color: var(--muted); }
.ms-table--event td span { color: var(--muted); }
.ms-prose .ms-codes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.1em; padding: 0; list-style: none; }
.ms-prose .ms-codes li { margin: 0; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-variant-numeric: tabular-nums; font-weight: 600; }
.ms-standards__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); color: var(--muted); }
.ms-standards__controls--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ms-std-variant__tables--wide { grid-template-columns: minmax(0, 1fr); }
.ms-table .ms-th-group { text-align: center; border-bottom-color: var(--line); padding-bottom: 6px; }
.ms-flag { margin-left: 2px; color: var(--accent-text); font-weight: 700; text-decoration: none; }
/* A selected row is bold, so its flag is set apart by weight as well as color. */
.ms-table--chart tbody tr.is-selected .ms-flag { font-weight: 400; }
.ms-group-card .ms-flag { color: var(--slab-accent); }
.ms-group-row th { padding-top: 16px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--slab-muted); }
.ms-group-card h3.ms-label { margin: 22px 0 4px; }
.ms-group-card tr.is-min th, .ms-group-card tr.is-min td { background: var(--slab-line); font-weight: 700; }
.ms-group-card tr.is-min th { box-shadow: inset 4px 0 0 var(--slab-accent); padding-left: 12px; }
.ms-group-card tr.is-max th, .ms-group-card tr.is-max td { font-weight: 700; }
.ms-printchart[hidden] { display: none; }
.ms-group-card .ms-table caption { color: var(--slab-ink); font-size: 16px; }
.ms-group-card .ms-lvl { color: var(--slab-muted); }
.ms-full { margin-top: 32px; }
.ms-full h3 { font-size: 22px; margin: 0 0 6px; }
.ms-full > p { color: var(--muted); max-width: 39.55em; }
.ms-full__lists { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; align-items: start; }
.ms-full__sex[hidden] { display: none; }
.ms-full__sex h4 { margin: 8px 0 4px; }
.ms-full__group { border-bottom: 1px solid var(--line); }
.ms-full__group summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; font-weight: 600; }
.ms-full__group summary::-webkit-details-marker { display: none; }
.ms-full__group summary::after { content: "+"; margin-left: auto; font-weight: 700; color: var(--accent-text); }
.ms-full__group[open] summary::after { content: "\2212"; }
.ms-full__body { padding: 4px 0 20px; }
.ms-full__body .ms-table-wrap + .ms-table-wrap { margin-top: 20px; }
.ms-full__once { margin-top: 28px; max-width: 420px; }
.ms-full__once h4 { margin: 0 0 6px; }
/* A standard scored on another's tables links to them instead of repeating them (USMC combat arms). */
.ms-full__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.ms-full__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; text-decoration: none; }
.ms-full__links a:hover { border-color: var(--accent); }
.ms-table--full th, .ms-table--full td { padding: 7px 8px; font-variant-numeric: tabular-nums; }
.ms-table--full caption { font-size: 16px; }
.ms-lvl { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
/* Army ranks: tables read from the left, with a schematic insignia drawn in ink, gold or silver. */
.ms-table--ranks, .ms-table--ranks-rules, .ms-table--ranks-compare { font-size: 15px; }
.ms-prose :is(.ms-table--ranks, .ms-table--ranks-rules, .ms-table--ranks-compare) :is(th, td) { text-align: left; vertical-align: top; padding: 10px 8px; }
.ms-table--ranks .ms-lvl, .ms-table--ranks-compare .ms-lvl { font-size: 13px; margin-top: 2px; }
.ms-table--ranks td:last-child .ms-lvl { margin-top: 6px; }
.ms-ranks__ins { width: 52px; }
.ms-insignia { --ms-gold: #C2952F; --ms-silver: #B9BDC4; display: block; width: 44px; height: 44px; color: var(--ink); }
.ms-insignia--none { width: auto; height: auto; font-size: 13px; color: var(--muted); }
.ms-ins-line { fill: none; stroke: currentColor; stroke-width: 4.5; stroke-linejoin: miter; }
.ms-ins-thin { fill: none; stroke: currentColor; stroke-width: 1.6; }
.ms-ins-fill { fill: currentColor; }
.ms-ins-cut { fill: var(--bg); }
.ms-ins-gold { fill: var(--ms-gold); stroke: var(--ink); stroke-width: 1; }
.ms-ins-silver { fill: var(--ms-silver); stroke: var(--ink); stroke-width: 1; }
.ms-ins-enamel { fill: #18181B; }
.ms-ins-vein { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .55; }
.ms-table--ranks-compare { min-width: 760px; }
.ms-prose .ms-table--ranks-compare tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg); }
@media (prefers-color-scheme: dark) { .ms-insignia { --ms-gold: #D4A843; --ms-silver: #C9CDD3; } }
/* Military alphabet: the stressed syllable underlined as the Coast Guard handbook marks it, Morse code as dots and
   dashes, the converter's result as a line of words and a grid of characters, and a chart that prints on its own. */
.ms-stress { font-style: normal; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ms-morse { white-space: nowrap; letter-spacing: .08em; font-weight: 700; }
.ms-prose .ms-table--alphabet :is(th, td) { padding: 8px 10px; }
.ms-prose .ms-table--alphabet tbody th { font-family: var(--display); font-weight: 800; font-size: 20px; width: 3.5em; }
.ms-prose .ms-table--alphabet td:nth-child(2) { font-weight: 700; }
.ms-prose .ms-table--alphabet tr.is-first-digit :is(th, td) { border-top: 1px solid var(--ink); }
.ms-prose .ms-table--alpha-history { min-width: 620px; }
.ms-prose .ms-table--alpha-history tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg); }
.ms-prose .ms-table--alpha-history td:last-child { font-weight: 700; }
.ms-prose .ms-table--prowords tbody th { white-space: nowrap; }
.ms-prose .ms-table--prowords .ms-lvl { margin-top: 4px; font-size: 14px; }
.ms-alpha-chart__print { display: none; }
.ms-alpha-chart__actions { margin: -6px 0 1.4em; }
.ms-alpha-chart__actions:not(:has(button:not([hidden]))) { display: none; }
.ms-check.ms-check--text .ms-result__total { font-size: 34px; line-height: 1.15; letter-spacing: 0; overflow-wrap: anywhere; }
.ms-spell__radio { margin: 4px 0 14px; padding: 0; list-style: none; font-size: 16px; line-height: 1.5; }
.ms-check .ms-result__summary .ms-spell__radio li { display: block; margin: 0 0 4px; list-style: none; overflow-wrap: anywhere; }
.ms-spell { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.ms-check .ms-result__summary .ms-spell li { display: grid; gap: 1px; margin: 0; padding: 8px 10px; list-style: none; border: 1px solid var(--slab-line); border-radius: var(--radius-sm); }
.ms-spell b { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; }
.ms-spell span { font-weight: 700; }
.ms-spell small { font-size: 13px; color: var(--slab-muted); overflow-wrap: anywhere; }
.ms-spell small .ms-stress { color: var(--slab-ink); }
.ms-spell__mark { letter-spacing: .02em; }
.ms-spell__radio .ms-spell__say { white-space: nowrap; }

/* Klick converter: compact unit and time tables in the result, a label above each part. */
.ms-check .ms-result__summary :is(.ms-table--klick-units, .ms-table--klick-times) :is(th, td) { padding-top: 6px; padding-bottom: 6px; font-size: 15px; }
.ms-check .ms-result__summary .ms-table--klick-units td { text-align: right; font-variant-numeric: tabular-nums; }
.ms-check .ms-result__summary .ms-table--klick-times td { white-space: nowrap; }
.ms-check .ms-result__summary .ms-table-wrap + .ms-label { margin: 18px 0 4px; }
.ms-prose :is(.ms-table--klicks, .ms-table--klick-miles) td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ms-prose .ms-table--klicks tbody th, .ms-prose .ms-table--klick-miles tbody th { white-space: nowrap; }
.ms-std-notes { margin-top: 40px; max-width: 42.375em; }
.ms-std-notes h2 { font-size: 26px; margin-bottom: 8px; }
.ms-std-notes p { color: var(--muted); }
.ms-std-notes .ms-flag { margin: 0 4px 0 0; }

/* Home: one card per calculator, the AFT card wider; the title link covers its card */

.ms-home__intro { padding: 48px 0 32px; max-width: 760px; }
.ms-home__intro h1 { font-size: 68px; line-height: .98; margin-bottom: 16px; text-wrap: balance; }
.ms-home__intro .ms-lead { max-width: 600px; }
.ms-home__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; }
.ms-home__facts li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.ms-home__facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.ms-home__tools .ms-label { margin-bottom: 14px; }
.ms-home__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ms-tool-card { position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); background: var(--surface); }
.ms-tool-card:hover, .ms-tool-card:focus-within { border-color: var(--ink); }
.ms-tool-card--lead { grid-column: span 2; background: var(--slab); color: var(--slab-ink); border-color: var(--slab-line); border-top-color: var(--accent); }
.ms-tool-card__branch { margin: 0; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.ms-tool-card--lead .ms-tool-card__branch { color: var(--slab-accent); }
.ms-tool-card__short { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-size: 56px; line-height: .95; letter-spacing: -.01em; }
.ms-tool-card--lead .ms-tool-card__short { font-size: 84px; }
.ms-tool-card__title { margin: 6px 0 2px; font-size: 24px; line-height: 1.15; }
.ms-tool-card__title a { color: inherit; text-decoration: none; }
.ms-tool-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.ms-tool-card__title a:hover, .ms-tool-card__title a:focus { color: inherit; text-decoration: underline; }
.ms-tool-card__title a:focus-visible { outline: 0; }
.ms-tool-card__title a:focus-visible::after { outline: 3px solid var(--focus); outline-offset: 2px; }
.ms-tool-card__name { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.ms-tool-card--lead .ms-tool-card__name { color: var(--slab-muted); }
.ms-tool-card__facts { display: grid; gap: 8px; margin: 0 0 18px; font-size: 15px; line-height: 1.4; }
.ms-tool-card__facts div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.ms-tool-card--lead .ms-tool-card__facts div { border-color: var(--slab-line); }
.ms-tool-card__facts dt { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 1px; }
.ms-tool-card--lead .ms-tool-card__facts dt { color: var(--slab-muted); }
.ms-tool-card__facts dd { margin: 0; }
.ms-tool-card__go { margin: auto 0 0; }
.ms-tool-card__go .ms-btn { pointer-events: none; }
.ms-tool-card__more { position: relative; z-index: 1; margin: 14px 0 0; font-size: 15px; }
.ms-tool-card__more a { color: var(--ink); font-weight: 600; }
nav.ms-tool-card__more { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid var(--slab-line); }
nav.ms-tool-card__more a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--slab-line); border-radius: var(--radius-sm); color: var(--slab-ink); text-decoration: none; }
nav.ms-tool-card__more a:hover, nav.ms-tool-card__more a:focus-visible { border-color: var(--slab-muted); color: var(--slab-ink); }
.ms-home__more { margin-top: 32px; }
.ms-home__more .ms-label { margin-bottom: 14px; }
.ms-home__more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ms-home__more nav { display: grid; align-content: start; gap: 4px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.ms-home__more h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.15; }
.ms-home__more a { padding: 4px 0; font-weight: 600; }
.ms-home__scores { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 16px; padding: 22px; border-radius: var(--radius); background: var(--panel); }
.ms-home__scores > div { flex: 1 1 420px; min-width: 0; }
.ms-home__scores h2 { font-size: 26px; line-height: 1.1; margin: 0 0 6px; }
.ms-home__scores p { margin: 0; color: var(--muted); max-width: 36.725em; }
.ms-home__copy { padding-top: 64px; padding-bottom: 80px; }

/* My scores */

.ms-scores-page__inner { padding-bottom: 80px; }
.ms-scores { max-width: 820px; margin-bottom: 32px; }
.ms-scores__status { margin: 0 0 20px; font-size: 17px; color: var(--muted); }
.ms-scores__status:focus { outline: none; }
.ms-scores__list { display: grid; gap: 16px; }
.ms-scores__item { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ms-scores__date { margin: 0 0 4px; font-size: 14px; color: var(--muted); }
.ms-scores__title { font-size: 24px; line-height: 1.15; margin: 0 0 10px; }
.ms-scores__total { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: 18px; color: var(--muted); }
.ms-scores__total strong { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--ink); }
.ms-scores__status[data-status] { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 4px; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid var(--muted); color: var(--ink); }
.ms-scores__status[data-status="pass"], .ms-scores__status[data-status="pass_requirement_unmet"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ms-scores__status[data-status="fail"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ms-scores__status[data-status="depends_on_rule"], .ms-scores__status[data-status="preliminary"], .ms-scores__status[data-status="unsettled"] { border-style: dashed; border-color: var(--accent-text); }
.ms-scores__notes { margin: 12px 0 0; padding: 0; list-style: none; font-size: 16px; }
.ms-scores__notes li { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 6px; }
.ms-scores__notes li svg { flex: none; margin-top: 3px; }
.ms-scores__notes small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.ms-scores__actions, .ms-scores__confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.ms-scores__confirm { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--panel); font-weight: 600; }
.ms-scores__confirm[hidden], .ms-scores__clear[hidden], .ms-scores__compare[hidden] { display: none; }
.ms-scores__clear { margin-top: 24px; }
.ms-scores-start { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ms-scores-start .ms-label { flex-basis: 100%; margin: 0 0 4px; }

/* Photo credits */
.ms-credits-page { max-width: 880px; }
.ms-credits { display: grid; gap: 16px; }
.ms-credit { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); scroll-margin-top: 96px; }
.ms-credit:target { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.ms-credit img { display: block; width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius-sm); }
.ms-credit h2 { font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
.ms-credit p { margin: 0 0 6px; font-size: 15px; color: var(--muted); }
.ms-credit a { color: var(--ink); }
@media (max-width: 599px) { .ms-credit { grid-template-columns: minmax(0, 1fr); } }
.ms-scores__confirm span { flex: 1 1 200px; }
.ms-scores__compare { margin-top: 16px; }
.ms-scores__compare td small { display: block; font-size: 13px; color: var(--muted); }
.ms-scores__sum th, .ms-scores__sum td { font-weight: 800; border-bottom: 0; }
.ms-share-url { display: block; width: 100%; margin-top: 8px; font-size: 15px; }

/* Copy under the tool */

.ms-page-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-top: 64px; padding-bottom: 80px; align-items: start; }
.ms-prose { max-width: 760px; font-size: 18px; line-height: 1.6; }
.ms-prose h2 { font-size: 36px; line-height: 1.08; margin: 48px 0 14px; }
.ms-prose h2:first-child { margin-top: 0; }
.ms-prose h3 { font-size: 23px; line-height: 1.2; margin: 28px 0 8px; }
.ms-prose ul, .ms-prose ol { margin: 0 0 1.1em 1.2em; padding: 0; }
.ms-prose li { margin-bottom: .45em; }
.ms-prose li::marker { color: var(--accent-text); }
.ms-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; border: 0; font-variant-numeric: tabular-nums; }
.ms-prose .ms-table-wrap { margin: 0 0 1.4em; }
.ms-prose .ms-table-wrap table { margin: 0; }
.ms-prose th, .ms-prose td { padding: 10px; border: 0; border-bottom: 1px solid var(--line); text-align: right; vertical-align: baseline; }
.ms-prose th:first-child, .ms-prose td:first-child { text-align: left; padding-left: 0; }
/* A table of words, not numbers: every column reads from the left */
.ms-prose .ms-text-table :is(th, td) { text-align: left; vertical-align: top; }
/* Edge shades show that a table of words scrolls sideways; each fades out once its edge is reached. */
.ms-prose .ms-table-wrap:has(> .ms-text-table) {
	background:
		linear-gradient(to right, var(--bg) 40%, transparent) left / 32px 100% no-repeat local,
		linear-gradient(to left, var(--bg) 40%, transparent) right / 32px 100% no-repeat local,
		radial-gradient(farthest-side at 0 50%, color-mix(in srgb, var(--ink) 22%, transparent), transparent) left / 14px 100% no-repeat scroll,
		radial-gradient(farthest-side at 100% 50%, color-mix(in srgb, var(--ink) 22%, transparent), transparent) right / 14px 100% no-repeat scroll;
}
.ms-prose th:last-child, .ms-prose td:last-child { padding-right: 0; }
.ms-prose thead th { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); vertical-align: bottom; }
.ms-related { position: sticky; top: 24px; border-top: 3px solid var(--ink); padding-top: 14px; }
.ms-related .ms-label { color: var(--ink); }
.ms-related ul { list-style: none; margin: 0; padding: 0; }
.ms-related li { margin: 0; border-bottom: 1px solid var(--line); }
.ms-related a { display: block; padding: 12px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.ms-related a:hover { color: var(--accent-text); }
.ms-page-body__main { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-content: start; }
.ms-page-body [id] { scroll-margin-top: 20px; }

/* Jump list on long pages */

.ms-toc { border-top: 3px solid var(--ink); padding-top: 14px; }
.ms-toc .ms-label { color: var(--ink); margin-bottom: 10px; }
.ms-toc ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ms-toc li { margin: 0; }
.ms-toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; box-sizing: border-box; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; }
.ms-toc a:hover, .ms-toc a:focus-visible { border-color: var(--ink); color: var(--ink); }

/* Minimums and maximums by age, on calculators without a standards page */

/* Combat guide: the pass rule and the jumps under the H1, then the specialty list with names */
.ms-rule { margin: 22px 0 0; padding: 16px 18px 18px; border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: var(--surface); }
.ms-rule .ms-label { margin: 0 0 10px; color: var(--ink); }
.ms-rule__facts { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 17px; line-height: 1.35; }
.ms-rule__facts li { margin: 0; }
.ms-rule__facts strong { font-family: var(--display); font-size: 22px; margin-right: 4px; font-variant-numeric: tabular-nums; }
.ms-rule__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.ms-specialties h2 { font-size: 36px; line-height: 1.08; margin: 0 0 14px; }
.ms-specialties > p { max-width: 36.725em; color: var(--muted); }
.ms-specialties__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.ms-specialties__list li { display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.3; }
.ms-specialties__list strong { flex: none; min-width: 3.4em; font-variant-numeric: tabular-nums; }
.ms-specialties__note { display: block; margin-top: 4px; font-style: normal; font-size: 14px; color: var(--muted); }

/* Field test guide: the events in their official order, numbered */
.ms-prose .ms-steps { counter-reset: ms-step; display: grid; gap: 8px; margin: 0 0 1.1em; padding: 0; list-style: none; }
.ms-steps li { counter-increment: ms-step; display: grid; grid-template-columns: 2em minmax(0, 1fr); column-gap: 12px; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.35; }
.ms-steps li::before { content: counter(ms-step); grid-row: 1 / span 2; font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.ms-steps span { grid-column: 2; color: var(--muted); }

/* Body composition: the waist-to-height check under the rule, then the maximum waist and the historical tables */
.ms-check { grid-area: tool; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.ms-check[hidden], .ms-rule__links [hidden] { display: none; }
.ms-check .ms-result { grid-area: auto; }
.ms-check__unit { font-weight: 400; color: var(--muted); }
.ms-check__readings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
.ms-check__readings label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; color: var(--muted); }
.ms-check__readings label[hidden] { display: none; }
.ms-check__msg { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--accent-text); }
.ms-check__msg:empty { display: none; }
.ms-check .ms-result__total { font-size: 96px; font-variant-numeric: tabular-nums; }
.ms-check .ms-result[data-state="empty"] .ms-result__total, .ms-check .ms-result[data-state="incomplete"] .ms-result__total, .ms-check .ms-result[data-state="depends_on_rule"] .ms-result__total { font-size: 56px; color: var(--slab-muted); }
.ms-check .ms-result__summary ul { display: grid; gap: 4px; }
.ms-check .ms-result__summary li { display: list-item; margin-left: 1.1em; list-style: disc; }
.ms-check__max { margin: 10px 0 0; }
.ms-check__note { margin: 10px 0 0; font-size: 15px; color: var(--slab-muted); }
.ms-check .ms-result__scope { margin: 14px 0 0; }
.ms-bca__step { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 14px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.ms-check__form .ms-label + .ms-bca__step { margin-top: 0; padding-top: 0; border-top: 0; }
.ms-bca__step span, .ms-bca__tag { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.ms-bca__tag { margin-right: 6px; color: inherit; }
.ms-whtr-table__jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.ms-whtr-table__jump a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; text-decoration: none; }
.ms-whtr-table .ms-table-wrap { max-height: 70vh; overflow: auto; border-bottom: 1px solid var(--line); }
/* A link to a height row (from the check, the jump links or the FAQ) lands below the sticky table head. */
.ms-whtr-table tr[id] { scroll-margin-top: 64px; }
.ms-table--whtr th, .ms-table--whtr td { padding: 8px 10px; white-space: nowrap; }
.ms-table--whtr thead th { position: sticky; top: 0; z-index: 1; background: var(--bg); }
.ms-table--whtr caption { font-size: 18px; white-space: normal; }
.ms-table--whtr tbody tr { scroll-margin-top: 56px; }
.ms-table--whtr tbody tr:target th, .ms-table--whtr tbody tr:target td { background: var(--accent-tint); font-weight: 700; }
.ms-table--whtr tbody tr:target th { box-shadow: inset 4px 0 0 var(--accent); padding-left: 12px; }
/* Five columns on a phone: the heads may wrap, the values stay on one line. */
.ms-table--whtr-points thead th { white-space: normal; }
/* OPAT run grid: the shuttle numbers stay on one line, the category note reads from the left, and its levels stand out. */
.ms-table--levels td:nth-child(3) { white-space: nowrap; }
.ms-table--levels :is(th, td):last-child { text-align: left; }
.ms-table--points :is(th, td):last-child { text-align: left; }
:is(.ms-table--levels, .ms-table--points) tr.is-line :is(th, td) { background: var(--accent-tint); font-weight: 700; }
:is(.ms-table--levels, .ms-table--points) tr.is-line th { box-shadow: inset 4px 0 0 var(--accent); padding-left: 12px; }
/* Promotion points: Table 3-4 is two narrow columns, and a link from the calculator marks its row; the weapons tables
   keep each hits range on one line. */
.ms-table--pp-aft { width: auto; min-width: min(100%, 420px); font-variant-numeric: tabular-nums; }
.ms-table--pp-aft th, .ms-table--pp-aft td { padding: 8px 10px; }
.ms-table--pp-aft tbody tr { scroll-margin-top: 24px; }
.ms-table--pp-aft tbody tr:target :is(th, td) { background: var(--accent-tint); font-weight: 700; }
.ms-table--pp-aft tbody tr:target th { box-shadow: inset 4px 0 0 var(--accent); padding-left: 12px; }
.ms-table--pp-weapons { font-variant-numeric: tabular-nums; }
.ms-table--pp-weapons td { padding: 8px 10px; white-space: nowrap; }
/* BTZ: the result is a board month, set smaller than a score; Table 2.7 reads from the left. */
.ms-check.ms-btz .ms-result__total { font-size: 64px; }
.ms-table--btz :is(th, td) { text-align: left; }
/* Pay and benefits: the result is an amount of money, set smaller than a score. The pay chart keeps every amount
   on one line and its years column in view while it scrolls sideways. */
.ms-check.ms-check--money .ms-result__total { font-size: 64px; }
/* Ratings and pass or fail: the result is a word. */
.ms-check.ms-check--word .ms-result__total { font-size: 56px; }
.ms-check .ms-result[data-state="no_rate"] .ms-result__total, .ms-check .ms-result[data-state="unsettled"] .ms-result__total { font-size: 56px; color: var(--slab-muted); }
.ms-status[data-status="no_rate"] { color: var(--slab-muted); border-style: dashed; }
.ms-table--pay { font-size: 15px; font-variant-numeric: tabular-nums; }
.ms-prose .ms-table--pay :is(th, td) { padding: 8px; white-space: nowrap; }
.ms-prose .ms-table--pay tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg); padding-right: 12px; }
/* VA rates: the dependents column wraps so the rates stay in view on a phone. */
.ms-prose .ms-table--va tbody th { white-space: normal; min-width: 8.5em; }
/* Pay dates: the next payday from the reader's own date, in the rule under the H1, with its lines reserved before
   the module fills them; why a payday moved, under its date in the tables; the next payday marked in the tables. */
.ms-next { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); background: var(--bg); }
.ms-next p { margin: 0; }
.ms-next__label { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ms-next__date { min-height: 1.2em; margin-top: 2px !important; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--ink); }
.ms-next__note { min-height: 1.4em; font-size: 16px; line-height: 1.4; color: var(--muted); }
.ms-cell-note { display: block; font-size: 13px; line-height: 1.3; color: var(--muted); }
.ms-prose .ms-table--dates :is(th, td) { white-space: normal; }
.ms-table--dates .ms-cell-date { white-space: nowrap; }
.ms-prose .ms-table--dates td.is-next { box-shadow: inset 3px 0 0 var(--accent); font-weight: 700; }
.ms-cell-pay { display: block; }
.ms-cell-pay + .ms-cell-pay { margin-top: 6px; }
.ms-prose .ms-table--dates .ms-cell-pay.is-next { padding-left: 8px; box-shadow: inset 3px 0 0 var(--accent); }
.ms-cell-pay.is-next .ms-cell-date { font-weight: 700; }
/* VA calculator: each rating and its arm or leg on one row; the steps of the combined rating as a numbered list;
   Table I keeps its narrow value column. */
.ms-pair { margin-bottom: 10px; }
.ms-check__form > .ms-note + .ms-pair { margin-top: 14px; }
.ms-pair__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.ms-check .ms-result__summary ol.ms-result__steps { margin: 4px 0 0; padding: 0; }
.ms-check .ms-result__summary ol.ms-result__steps li { list-style: decimal; }
.ms-result__summary h3.ms-label { margin: 12px 0 4px; }
.ms-prose .ms-table--combined tbody th { min-width: 0; text-align: right; }
.ms-legacy { margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.ms-legacy summary { padding: 14px 0; cursor: pointer; font-weight: 700; line-height: 1.35; }
.ms-legacy__warn { margin: 0 0 14px; padding: 10px 12px; border-left: 3px solid var(--ink); background: var(--panel); font-size: 16px; }
.ms-prose .ms-legacy .ms-table-wrap { margin: 0 0 12px; }
.ms-table--legacy { font-size: 15px; }
.ms-prose .ms-table--legacy th, .ms-prose .ms-table--legacy td { padding: 7px 8px; white-space: nowrap; }
.ms-legacy__notes { font-size: 15px; color: var(--muted); }
.ms-tape { margin: 0 0 1.4em; }
.ms-tape[hidden], .ms-tape [hidden] { display: none; }
.ms-tape__sex { display: flex; flex-wrap: wrap; gap: 6px 20px; border: 0; padding: 0; margin: 0 0 12px; }
.ms-tape__sex legend { width: 100%; margin-bottom: 4px; font-weight: 600; }
.ms-tape__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 12px; }
.ms-tape__out { margin-top: 12px; }
.ms-tape__out p { margin: 0 0 8px; }
.ms-legacy .ms-note { margin: 0 0 16px; }

.ms-group-std h2 { font-size: 36px; line-height: 1.08; margin: 0 0 14px; }
.ms-group-std > p { max-width: 36.725em; color: var(--muted); }
.ms-group-std .ms-std-variant { margin-top: 32px; }
.ms-group-std h3 { font-size: 23px; line-height: 1.2; margin: 0 0 4px; }
.ms-group-std .ms-table-wrap { margin-top: 20px; }
.ms-table--minmax td, .ms-table--minmax tbody th { white-space: nowrap; }
.ms-table--minmax td strong { font-size: 18px; }

/* Default pages (information pages until they get their own template) */

/* Same weight as the parent theme's container reset above, so this padding wins. */
.separate-containers .inside-article, .one-container .inside-article { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 80px; box-sizing: content-box; }
.entry-header .entry-title { font-size: 56px; line-height: 1; margin-bottom: 24px; }
.entry-content { font-size: 18px; line-height: 1.6; }
.entry-content h2 { font-size: 32px; margin: 40px 0 12px; }
.entry-content h3 { font-size: 22px; margin: 26px 0 8px; }

/* Footer */

.ms-footer { margin-top: 0; padding: 48px 0 40px; background: var(--slab); color: var(--slab-muted); font-size: 15px; }
.ms-footer .ms-brand { color: var(--slab-ink); }
.ms-footer .ms-brand__word span { color: var(--slab-accent); }
.ms-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.ms-footer__brand p { margin: 14px 0 0; max-width: 300px; }
.ms-footer nav { display: grid; align-content: start; gap: 8px; }
.ms-footer strong { color: var(--slab-ink); font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.ms-footer nav a { color: var(--slab-muted); text-decoration: none; padding: 2px 0; }
.ms-footer nav a:hover, .ms-footer nav a[aria-current] { color: var(--slab-ink); text-decoration: underline; }
.ms-footer__note { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--slab-line); font-size: 14px; max-width: 900px; }
.site-footer { background: transparent; padding: 0; }

/* Tablet: profile and inputs on the left, the result alongside */

@media (max-width: 1199px) {
	:root { --gutter: 28px; }
	.ms-calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "profile result" "events result" "detail detail"; }
	.ms-result { position: sticky; top: 16px; }
	.ms-calc__profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; }
	.ms-calc__profile .ms-label { grid-column: 1 / -1; }
	.ms-calc__profile .ms-field:first-of-type { grid-row: span 2; }
	.ms-result__total { font-size: 100px; }
	.ms-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "table table" "scenario norms"; }
	.ms-page-body { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.ms-home__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ms-home__more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ms-related { position: static; }
	.ms-nav { gap: 20px; }
}

@media (max-width: 1023px) {
	.ms-nav, .ms-header__scores { display: none; }
	.ms-menu { display: block; }
}

/* Phones and small tablets: form first, then the result; the photo comes after the tool */

@media (max-width: 899px) {
	:root { --gutter: 24px; }
	.ms-tool__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "tool" "photo"; padding-top: 16px; }
	.ms-tool__layout--text { grid-template-areas: "intro" "tool"; }
	.ms-tool__intro { padding-bottom: 18px; }
	.ms-breadcrumb { margin-bottom: 10px; }
	.ms-tool__intro h1 { font-size: 46px; margin-bottom: 12px; }
	.ms-home__intro { padding: 28px 0 24px; }
	.ms-home__intro h1 { font-size: 46px; margin-bottom: 12px; }
	.ms-lead { font-size: 17px; }
	.ms-tool__photo { margin: 36px 0 0; }
	.ms-figure img { height: 220px; }
	.ms-calc { grid-template-columns: minmax(0, 1fr); grid-template-areas: "profile" "events" "result" "detail"; gap: 16px; }
	.ms-check { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.ms-check .ms-result__total { font-size: 72px; }
	.ms-result { position: relative; top: auto; scroll-margin-top: 12px; }
	.ms-detail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "table" "scenario" "norms"; gap: 16px; }
	.ms-standards__controls { grid-template-columns: minmax(0, 1fr); }
	.ms-std-variant__tables { grid-template-columns: minmax(0, 1fr); }
	.ms-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ms-footer__brand { grid-column: 1 / -1; }

	.ms-sticky:not([hidden]) {
		display: flex; align-items: center; gap: 12px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--slab); color: var(--slab-ink); border-top: 1px solid var(--slab-line);
		box-shadow: 0 -8px 24px rgba(0, 0, 0, .18);
	}
	.ms-sticky__score { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; }
	.ms-sticky__max { margin-left: 4px; font-weight: 600; font-size: 16px; color: var(--slab-muted); }
	.ms-sticky__status { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--slab-muted); }
	.ms-sticky__status[data-status="pass"], .ms-sticky__status[data-status="pass_requirement_unmet"] { color: var(--slab-accent); }
	.ms-sticky__status[data-status="fail"] { color: var(--slab-ink); }
	.ms-sticky__go { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm); background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
	.ms-sticky__go:hover, .ms-sticky__go:focus { color: var(--on-accent); }
	body.ms-has-sticky .ms-footer { padding-bottom: 96px; }
}

@media (max-width: 599px) {
	.ms-next__note { min-height: 2.8em; }
	:root { --gutter: 16px; }
	/* A table of words keeps readable columns and scrolls in its wrapper instead of stacking a word per line. */
	.ms-prose .ms-text-table :is(th, td) { min-width: 8em; }
	.ms-standards__controls--wide > .ms-field:first-child .ms-seg { grid-template-columns: minmax(0, 1fr); }
	.ms-standards__controls--wide > .ms-field:first-child .ms-seg span { justify-content: flex-start; }
	/* Stacked fields have no row to hold, so a hidden Sex field leaves no gap. */
	.ms-standards__controls [data-ms-std-sex-field][hidden] { display: none !important; }
	body { font-size: 16px; }
	.ms-header__bar { height: 60px; }
	.ms-brand__word { font-size: 20px; }
	.ms-tool__intro h1 { font-size: 40px; }
	/* On a calculator the H1 already names the test; the first field matters more than the eyebrow. */
	.ms-tool .ms-tool__intro .ms-eyebrow { display: none; }
	.ms-version { font-size: 13px; }
	.ms-lead { margin-bottom: 10px; }
	.ms-home__intro h1 { font-size: 40px; }
	.ms-home__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.ms-home__more-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.ms-check.ms-check--money .ms-result__total { font-size: 48px; }
	.ms-check.ms-check--word .ms-result__total { font-size: 44px; }
	.ms-check.ms-check--text .ms-result__total { font-size: 26px; }
	.ms-spell { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
	/* The alphabet's short tables fit a phone: no 8em floor, tighter cells, a smaller header. */
	.ms-prose :is(.ms-table--alphabet, .ms-table--alpha-digits, .ms-table--alpha-marks, .ms-table--prowords) td { min-width: 0; }
	.ms-prose :is(.ms-table--alphabet, .ms-table--alpha-digits, .ms-table--alpha-marks) :is(th, td) { min-width: 0; padding: 8px 6px; }
	.ms-prose :is(.ms-table--alphabet, .ms-table--alpha-digits, .ms-table--alpha-marks) thead th { font-size: 11px; letter-spacing: .04em; }
	.ms-prose .ms-table--alphabet tbody th { width: auto; font-size: 18px; }
	.ms-prose .ms-table--prowords tbody th { white-space: normal; min-width: 0; width: 34%; }
	/* The klick tables fit a phone: no 8em floor, tighter cells, a smaller header; times may wrap. */
	.ms-prose :is(.ms-table--klicks, .ms-table--klick-miles, .ms-table--klick-rates) :is(th, td) { min-width: 0; padding: 8px 6px; }
	.ms-prose :is(.ms-table--klicks, .ms-table--klick-miles, .ms-table--klick-rates) thead th { font-size: 11px; letter-spacing: .04em; }
	.ms-prose .ms-table--klicks td:nth-child(n+4) { white-space: normal; }
	.ms-tool-card--lead { grid-column: auto; }
	.ms-tool-card { padding: 18px 16px; }
	.ms-tool-card__short { font-size: 44px; }
	.ms-tool-card--lead .ms-tool-card__short { font-size: 60px; }
	.ms-home__scores { padding: 18px 16px; }
	.ms-home__copy { padding-top: 48px; padding-bottom: 56px; }
	.ms-panel { padding: 18px 16px; }
	.ms-calc__profile { grid-template-columns: minmax(0, 1fr) 116px; column-gap: 12px; }
	.ms-calc__profile .ms-field:first-of-type { grid-row: auto; }
	.ms-calc__profile .ms-field--standard { grid-column: 1 / -1; margin-bottom: 14px; }
	.ms-calc__profile .ms-field--sex, .ms-calc__profile .ms-field--age { margin-bottom: 0; }
	.ms-seg--stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ms-seg--stack span { justify-content: center; }
	.ms-event { padding: 10px 0; column-gap: 10px; }
	.ms-event__name { font-size: 16px; }
	.ms-event__hint { font-size: 13px; }
	.ms-event__entry { gap: 8px; }
	.ms-stepper { height: 46px; }
	.ms-stepper button { display: none; }
	input.ms-event__input, input.ms-event__input:focus { width: 96px; font-size: 21px; }
	.ms-event__pts { min-width: 48px; font-size: 20px; }
	.ms-choice { grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; }
	.ms-result { padding: 20px 16px; }
	.ms-result__total { font-size: 84px; }
	.ms-result__max { font-size: 22px; }
	.ms-bars li { grid-template-columns: 92px minmax(0, 1fr) minmax(50px, auto); gap: 10px; }
	.ms-bars__name { font-size: 14px; }
	.ms-result__actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ms-result__actions .ms-btn--accent { grid-column: 1 / -1; }
	.ms-breakdown { padding: 0 14px; }
	.ms-table { font-size: 15px; }
	.ms-table th, .ms-table td { padding: 10px 6px; }
	.ms-table--chart th, .ms-table--chart td { padding: 9px 4px; font-size: 14px; }
	.ms-table--chart thead th { font-size: 11px; letter-spacing: .04em; }
	.ms-table__unit { font-size: 10px; }
	.ms-th-full { display: none; }
	.ms-th-short { display: inline; text-decoration: none; }
	.ms-th-key { display: block; font-size: 14px; }
	.ms-table--chart thead th { font-size: 12px; }
	.ms-table--chart tbody tr.is-selected th::after { content: none; }
	.ms-table--chart tbody th { white-space: nowrap; }
	.ms-std-variant__head h2 { font-size: 28px; }
	.ms-prose { font-size: 17px; }
	.ms-prose h2 { font-size: 30px; margin-top: 40px; }
	.ms-page-body { padding-top: 48px; padding-bottom: 56px; }
	.ms-group-card { padding: 20px 16px; }
	.ms-full__lists { grid-template-columns: minmax(0, 1fr); }
	.ms-table--full th, .ms-table--full td { padding: 7px 4px; font-size: 14px; }
	.ms-prose :is(.ms-table--ranks, .ms-table--ranks-rules) :is(th, td) { padding: 8px 4px; font-size: 14px; }
	.ms-prose .ms-table--ranks-rules thead th { letter-spacing: .04em; }
	.separate-containers .inside-article, .one-container .inside-article { padding-top: 32px; }
	.entry-header .entry-title { font-size: 40px; }
}

@media (prefers-reduced-motion: no-preference) {
	.ms-bars__fill { transition: width .25s ease-out; }
}

@media print {
	@page { margin: 14mm; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.ms-header, .ms-footer, .site-footer, .ms-tool__intro, .ms-tool__photo, .ms-page-body, .ms-sticky, .skip-link,
	.ms-calc > :not(.ms-printcard), .ms-standards__controls, .ms-standards__hint, .ms-standards__cta { display: none !important; }
	.ms-tool__layout { display: block; padding: 0; }
	.ms-calc { display: block; }
	.ms-printcard, .ms-printcard[hidden] { display: block !important; color: #000; }
	.ms-printcard h1 { font-size: 26pt; margin: 6pt 0; }
	.ms-printcard__brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 14pt; }
	.ms-printcard__meta { margin: 0 0 12pt; font-size: 11pt; }
	.ms-printcard__total { font-family: var(--display); font-weight: 800; font-size: 40pt; margin: 8pt 0 2pt; }
	.ms-printcard__status { font-weight: 700; font-size: 14pt; margin: 0 0 12pt; }
	.ms-printcard__notes { margin: -6pt 0 12pt; padding-left: 14pt; font-size: 11pt; }
	.ms-printcard__notes li { margin: 0 0 3pt; }
	.ms-printcard__notes small { font-size: 9.5pt; color: #333; }
	.ms-printcard table { width: 100%; border-collapse: collapse; }
	.ms-printcard th, .ms-printcard td { border-bottom: 1px solid #999; padding: 6pt 4pt; text-align: right; }
	.ms-printcard th:first-child, .ms-printcard td:first-child { text-align: left; }
	.ms-printcard__foot { margin-top: 14pt; font-size: 9.5pt; color: #333; }
	.ms-table--chart tbody tr.is-selected th, .ms-table--chart tbody tr.is-selected td { background: #eee; }
	/* Printed chart of one group: only the sheet, the long table in two columns, one page for the AFT. */
	.ms-standards[data-ms-printing] > :not(.ms-printchart) { display: none !important; }
	.ms-standards[data-ms-printing] .ms-printchart { display: block !important; color: #000; font-size: 9pt; }
	.ms-printchart h1 { font-size: 18pt; line-height: 1.1; margin: 4pt 0 3pt; }
	.ms-printchart h2 { font-size: 11pt; margin: 6pt 0 2pt; }
	.ms-printchart p { margin: 0 0 2pt; font-size: 9pt; color: #000; }
	.ms-printchart .ms-printchart__meta { margin-bottom: 4pt; font-weight: 700; }
	.ms-printchart__parts { display: flex; flex-wrap: wrap; gap: 4pt 5mm; align-items: flex-start; margin-top: 4pt; }
	.ms-printchart__part { flex: 0 1 auto; }
	.ms-printchart__part--wide { flex: 1 1 auto; }
	.ms-printchart__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 5mm; align-items: start; }
	.ms-printchart__cols table { width: 100%; }
	.ms-printchart table { width: auto; min-width: 36mm; border-collapse: collapse; font-size: 8pt; line-height: 1.1; font-variant-numeric: tabular-nums; break-inside: auto; }
	.ms-printchart th, .ms-printchart td { padding: .4pt 3pt; border-bottom: .5pt solid #bbb; text-align: right; white-space: nowrap; color: #000; background: none; box-shadow: none; }
	.ms-printchart tbody th, .ms-printchart thead tr:first-child th:first-child { text-align: left; }
	.ms-printchart thead th { vertical-align: bottom; border-bottom: 1pt solid #000; font-weight: 700; letter-spacing: 0; text-transform: none; }
	.ms-printchart a { color: inherit; text-decoration: none; }
	.ms-printchart .ms-th-full { display: none; }
	.ms-printchart .ms-th-short { display: block; text-decoration: none; border: 0; }
	.ms-printchart .ms-table__unit { display: block; font-size: 6.5pt; font-weight: 400; white-space: normal; color: #333; }
	.ms-printchart tr.is-min th, .ms-printchart tr.is-min td { font-weight: 700; border-top: 1pt solid #000; border-bottom: 1pt solid #000; background: #e6e6e6; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.ms-printchart tr.is-max th, .ms-printchart tr.is-max td { font-weight: 700; }
	.ms-printchart .ms-printchart__foot { margin-top: 5pt; font-size: 8pt; color: #333; }
	/* Military alphabet: only the chart, on one sheet. */
	html[data-ms-printing="alphabet"] :is(.ms-check, .ms-related, .ms-toc, .ms-alpha-chart__actions) { display: none !important; }
	html[data-ms-printing="alphabet"] .ms-page-body { display: block !important; padding: 0; }
	html[data-ms-printing="alphabet"] .ms-prose > :not(.ms-alpha-chart) { display: none !important; }
	html[data-ms-printing="alphabet"] .ms-alpha-chart__print { display: block; margin: 0 0 4pt; font-size: 9pt; color: #333; }
	html[data-ms-printing="alphabet"] .ms-table--alphabet { font-size: 10.5pt; color: #000; }
	html[data-ms-printing="alphabet"] .ms-table--alphabet caption { font-size: 14pt; padding-bottom: 3pt; color: #000; }
	html[data-ms-printing="alphabet"] .ms-table--alphabet :is(th, td) { padding: 1.4pt 6pt; font-size: 10.5pt; line-height: 1.2; border-bottom: .5pt solid #999; color: #000; }
	html[data-ms-printing="alphabet"] .ms-table--alphabet thead th { font-size: 8pt; }
	html[data-ms-printing="alphabet"] .ms-table--alphabet tbody th { font-size: 11pt; }
}
