/* 160b: the military time converter (/tools/military-time-converter/) in the simple redesign. Loaded by
 * inc/pages/tc-160b.php on that page only, after 157a's shared sheet (tc-ui) and the page's own tailwind sheet. The top
 * (converter first and large, the result big right under it) is 157a's parts inside .tc-ui; this sheet sets their sizes
 * for the converter, puts the real clock screen beside the trial box's words, and tidies the rest of the page: the chart
 * (the current hour marked by tc160b.1.js), the PDF card, the time zone tool, the quiz, links #1a6e93, buttons at AA
 * contrast (white on #2284aa at 19 px bold), visible focus. Light only; no motion; nothing moves while the page loads. */

/* ---- the top: the converter first */
.tc-ui.tc-ui.tc-ui.tc160b-top { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, #fff 0%, var(--tc-blue-100, #eaf6fb) 100%); }
.tc-ui.tc160b-top .tcu-wrap { display: flex; flex-direction: column; gap: 16px; }
.tc-ui.tc160b-top .tcu-h1 { max-width: 900px; }
.tc-ui.tc160b-top .tcu-lead { max-width: 760px; }
.tc-ui.tc-ui.tc160b-top .tc160b-tool { display: grid; gap: 16px; max-width: 820px; margin-top: 8px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--tc-n-200, #dde9f0); border-radius: 18px; background: #fff; }
.tc-ui.tc-ui.tc160b-top .tc160b-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
@media (max-width: 640px) { .tc-ui.tc-ui.tc160b-top .tc160b-row { grid-template-columns: 1fr; } }
.tc-ui.tc-ui.tc160b-top .tcu-field > label { font-size: 16px; }
.tc-ui.tc-ui.tc160b-top .tcu-input, .tc-ui.tc-ui.tc160b-top .tcu-select { min-height: 64px; font: 600 28px/1.2 var(--tc-font-head, "Work Sans", Arial, sans-serif); font-variant-numeric: tabular-nums; }
.tc-ui.tc-ui.tc160b-top .tcu-select { font-size: 22px; }
.tc-ui.tc-ui.tc160b-top .tc160b-std { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 10px; }
/* the result box stays in place, empty until there is a result (the converter's script adds and removes the class
   "hidden"), so nothing below it moves */
.tc-ui.tc-ui.tc160b-top .tc160b-result, .tc-ui.tc-ui.tc160b-top .tc160b-result.hidden { display: block; min-height: 108px; }
.tc-ui.tc-ui.tc160b-top .tc160b-fig { margin: 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; }
@media (max-width: 640px) { .tc-ui.tc-ui.tc160b-top .tc160b-result, .tc-ui.tc-ui.tc160b-top .tc160b-result.hidden { min-height: 124px; } }
.tc-ui.tc-ui.tc160b-top .tcu-hint { margin: 0; font-size: 15px; }
.tc-ui.tc-ui.tc160b-top .tc160b-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tc-ui.tc-ui.tc160b-top .tc160b-jump-h { margin: 0; font: 600 15px/1.4 var(--tc-font-body, Inter, Arial, sans-serif); color: var(--tc-n-700, #33414f); }
.tc-ui.tc-ui.tc160b-top .tc160b-jump > div { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-ui.tc-ui.tc160b-top .tc160b-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--tc-n-200, #dde9f0); border-radius: 999px; background: #fff; color: var(--tc-link, #1a6e93); font: 600 15px/1.2 var(--tc-font-body, Inter, Arial, sans-serif); text-decoration: none; }
.tc-ui.tc-ui.tc160b-top .tc160b-chip:hover { background: var(--tc-blue-100, #eaf6fb); }

/* ---- the trial box: the real clock screen beside its words */
.tc160b .tc-tbox .tc-tbox-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); grid-template-areas: "txt shot" "act shot"; align-items: center; gap: 16px 48px; }
.tc160b .tc-tbox .tc-tbox-txt { grid-area: txt; }
.tc160b .tc-tbox .tc-tbox-act { grid-area: act; }
.tc160b .tc-tbox .tc160b-shot { grid-area: shot; margin: 0; }
@media (max-width: 900px) { .tc160b .tc-tbox .tc-tbox-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "act" "shot"; } .tc160b .tc-tbox .tc160b-shot { max-width: 480px; } }
/* the trial button at 157a's size (white on orange at large-text size, 19 px bold, like .tcu-btn--trial); the pricing
   link #1a6e93 */
.tc160b .tc-tbox .tc-tbox-cta { min-height: 56px; font: 700 19px/1.2 "Work Sans", Arial, sans-serif; }
.tc160b .tc-tbox .tc-tbox-link { color: #1a6e93; }
.tc160b .tc-tbox .tc-tbox-link:hover { color: #18566e; }

/* ---- the article: links, the chart, the PDF card, the time zone tool, the quiz */
/* links #1a6e93 (in/160 Rules); the page's tailwind sheet sets ".mil-article a" navy with !important, so this one must too */
.tc160b .mil-article a:not([class]), .tc160b #mil-faq a:not([class]) { color: #1a6e93 !important; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 2px; }
.tc160b .mil-article a:not([class]):hover, .tc160b #mil-faq a:not([class]):hover { color: #18566e !important; }
.tc160b .mil151-t1 tbody tr.tc160b-now td { background: #eaf6fb; font-weight: 600; box-shadow: inset 0 2px 0 #2aa5d5, inset 0 -2px 0 #2aa5d5; }
.tc160b .tc151-dl-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 20px; border: 1px solid #dde9f0; border-radius: 12px; background: #f6fafc; }
.tc160b .tc151-dl-wrap .tc151-dl { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #1a6e93; font-weight: 600; }
.tc160b .time-zone-converter form { box-shadow: none; border-color: #dde9f0; }
.tc160b .time-zone-converter input, .tc160b .time-zone-converter select { min-height: 48px; font-size: 16px; }
.tc160b #live-clocks > div { box-shadow: none; border: 1px solid #dde9f0; background: #fff; }
.tc160b #convert-time, .tc160b #check-answers, .tc160b #retake-quiz { min-height: 52px; border: 0; border-radius: 10px; background: #2284aa; color: #fff; font: 700 19px/1.2 "Work Sans", Arial, sans-serif; box-shadow: none; transform: none; }
.tc160b #convert-time:hover, .tc160b #check-answers:hover, .tc160b #retake-quiz:hover { background: #1c6b8a; }
.tc160b #retake-quiz { background: #4f5d6b; }
.tc160b #retake-quiz:hover { background: #33414f; }
.tc160b .quiz-btn { min-height: 44px; }
.tc160b .quiz-btn.bg-blue1 { background-color: #2284aa; }

/* ---- visible focus everywhere on the page */
.tc160b a:focus-visible, .tc160b button:focus-visible, .tc160b summary:focus-visible, .tc160b input:focus-visible, .tc160b select:focus-visible { outline: 3px solid #1f8fbf; outline-offset: 2px; }
