/* Shoe Size Converter — its own styles (the shared ones are core/tools.css). Scoped .chqt-shoe*, .chqt-doc. */
/* every brand's row: five narrow columns that fit a 390px phone without scrolling */
.chqt-shoe-wrap { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.chqt-shoe { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.3; color: var(--chqt-ink); }
.chqt-shoe caption { text-align: left; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--chqt-muted); padding: 10px 10px 4px; }
.chqt-shoe th, .chqt-shoe td { padding: 7px 6px; border-top: 1px solid var(--chqt-line); text-align: center; vertical-align: middle; }
.chqt-shoe thead th { font-size: 13px; color: var(--chqt-muted); font-weight: 700; border-top: 0; }
.chqt-shoe thead th:first-child { text-align: left; padding-left: 10px; }
.chqt-shoe abbr { text-decoration: none; }
.chqt-shoe tbody th { text-align: left; font-weight: 700; padding-left: 10px; }
.chqt-shoe tbody th small { display: block; font-weight: 400; font-size: 12.5px; color: var(--chqt-muted); }
.chqt-shoe .chqt-shoe-na { text-align: left; color: var(--chqt-muted); font-size: 14px; }
/* the column you typed in, and the column the answer is in */
.chqt-shoe[data-in="usw"] [data-col="usw"], .chqt-shoe[data-in="usm"] [data-col="usm"], .chqt-shoe[data-in="uk"] [data-col="uk"], .chqt-shoe[data-in="eu"] [data-col="eu"] { background: #f6ecee; }
.chqt-shoe[data-ans="usw"] td[data-col="usw"], .chqt-shoe[data-ans="usm"] td[data-col="usm"] { font-weight: 700; color: var(--chqt-accent); }
@media (max-width: 420px) { .chqt-shoe { font-size: 14px; } .chqt-shoe th, .chqt-shoe td { padding: 7px 4px; } .chqt-shoe tbody th { padding-left: 8px; } }
/* the measuring figure: space reserved, so the form never jumps when it is drawn */
.chqt-shoe-measure { min-height: 150px; }
.chqt-shoe-measure svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
/* the width letters: folded, with a thumb-sized summary */
.chqt-doc { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; padding: 0 12px; }
.chqt-doc summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; color: var(--chqt-ink); }
.chqt-doc[open] { padding-bottom: 12px; }
.chqt-doc .chqt-note { margin-top: 8px; font-size: 14.5px; }
.chqt-shoe-widths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chqt-shoe-widths table { border-collapse: collapse; width: 100%; font-size: 15px; color: var(--chqt-ink); }
.chqt-shoe-widths caption { text-align: left; font-weight: 700; padding: 4px 0; }
.chqt-shoe-widths th, .chqt-shoe-widths td { text-align: left; padding: 5px 4px; border-top: 1px solid var(--chqt-line); }
@media (max-width: 380px) { .chqt-shoe-widths { grid-template-columns: 1fr; } }
