/* /foot-measuring-chart/ page styles. Built from /assets/polyatic.css tokens only (no new colours or fonts). */
.nojs{margin:1.25rem 0 0;padding:0.875rem 1rem;border:1px solid var(--line);border-left:0.25rem solid var(--accent);border-radius:0.625rem;background:var(--surface);color:var(--ink);font-size:0.9375rem;line-height:1.6}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fc-head .sub{max-width:60ch}
@media(max-width:520px){.fc-head h1{margin-bottom:0.25rem}.fc-head .sub{font-size:0.9375rem;margin-bottom:0.75rem}}

.fc-tool{display:grid;gap:0.875rem;grid-template-columns:minmax(0,1fr)}
@media(min-width:860px){.fc-tool{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start}}
.fc-print,.fc-size{padding:1rem;min-width:0}
@media(max-width:520px){.fc-print,.fc-size{padding:0.75rem}}

.fc-sec{display:flex;align-items:center;gap:0.5rem;font-family:var(--mono);font-size:0.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 0.625rem}
.fc-n{display:inline-grid;place-items:center;width:1.375rem;height:1.375rem;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-weight:600}
.fc-opts{display:flex;flex-wrap:wrap;gap:0.5rem 1rem}
.fc-chips{gap:0.375rem;margin:0 0 0.625rem}
.fc-chips .chip{padding:0.4375rem 0.75rem;font-size:0.875rem}
.fc-dim{color:var(--muted);font-weight:400;font-size:0.8125em}
.chip.on .fc-dim{color:inherit;opacity:.8}
.chip:focus-visible,.btn:focus-visible,.fc-field input:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.fc-dl{width:100%;margin:0.125rem 0 0.5rem}
@media(min-width:521px){.fc-dl{width:auto}}
.fc-state{margin:0 0 0.5rem;font-size:0.875rem;color:var(--ink-2);line-height:1.5}
.fc-state:empty,.fc-msg:empty,.fc-used:empty{display:none}
.fc-hint{margin:0.375rem 0 0.625rem;font-size:0.8125rem;color:var(--muted);line-height:1.5}
.fc-msg{margin:0.375rem 0 0;font-size:0.8125rem;color:var(--bad)}

/* the sheet preview, drawn in the theme's surface and ink */
.fc-preview{margin:0.75rem 0 0}
.fc-preview figcaption{margin-bottom:0}
.fc-sheets{display:flex;gap:0.75rem;justify-content:center;padding:0.75rem;border:1px solid var(--line);border-radius:0.5rem;background:var(--surface-2)}
.fc-sheets svg{display:block;flex:0 1 auto;width:auto;height:min(22rem,60vw);max-width:100%;background:var(--surface);color:var(--ink);box-shadow:var(--shadow);border-radius:2px}

/* size box */
.fc-inputs{display:flex;flex-wrap:wrap;align-items:flex-end;gap:0.625rem}
.fc-field{flex:1 1 8rem;min-width:0}
.fc-field label{display:block;font-size:0.875rem;font-weight:600;margin:0 0 0.375rem}
.fc-field input{width:100%;box-sizing:border-box;height:2.75rem;padding:0 0.75rem;border:1px solid var(--line-2);border-radius:0.5rem;background:var(--surface);color:var(--ink);font:inherit;font-family:var(--mono);font-size:1.0625rem}
.fc-unit{margin:0;flex:0 0 auto}
.fc-unit .chip{height:2.75rem}
.fc-used{margin:0.75rem 0 0.25rem;font-size:0.875rem;color:var(--ink-2)}
.fc-tablewrap{overflow-x:auto;margin:0.5rem 0 0}
.fc-sizes{width:100%;border-collapse:collapse;font-size:0.875rem;font-variant-numeric:tabular-nums}
.fc-sizes th,.fc-sizes td{text-align:left;padding:0.4375rem 0.5rem;border-bottom:1px solid var(--line);vertical-align:baseline}
.fc-sizes thead th{font-family:var(--mono);font-size:0.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.fc-sizes tbody th{font-weight:550;color:var(--ink-2)}
.fc-sizes .main{font-family:var(--mono);font-size:1.0625rem;font-weight:650;color:var(--accent)}
.fc-sizes .main small{font-family:var(--sans);font-size:0.75rem;font-weight:400;color:var(--muted)}
.fc-sizes .side{font-family:var(--mono);color:var(--muted);font-size:0.8125rem}
.fc-sizes .none{color:var(--muted);font-size:0.8125rem}
