
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { margin: 0; font-family: "Segoe UI", "Noto Sans KR", sans-serif; font-size: 16px; line-height: 1.45; }
.top, .find, main, footer { width: min(920px, calc(100% - 24px)); margin-inline: auto; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; }
.brand { font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.lang summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.lang a { display: block; min-height: 44px; line-height: 44px; }
.find, form.shop-form, form.band-form, form.optic-form, form.motion-form, form.studio-form { display: grid; gap: 10px; margin-bottom: 12px; }
label { display: grid; gap: 4px; font-size: 16px; }
input, select, button { min-height: 48px; font-size: 16px; padding: 8px 10px; }
button { min-width: 44px; }
main { padding: 16px; }
.answer { font-size: 1.15rem; }
.mono { font-family: Consolas, "Noto Sans Mono", monospace; }
h1, h2, p, label, .lead { overflow-wrap: anywhere; }
.lead { display: block; margin: 0 0 16px; }
.formula, .note, .lead { max-width: 68ch; }
.warn { padding: 8px 10px; border: 1px solid currentColor; }
footer { padding: 18px 0 28px; }
.copy-note { margin-left: 6px; }
@media (max-width: 720px) {
  .top { align-items: flex-start; }
  form.shop-form, form.band-form, form.optic-form, form.motion-form, form.studio-form { grid-template-columns: 1fr; }
}


body.pcb { background: #091e13; color: #ecfccb; }
body.pcb .brand { color: #fbbf24; }
body.pcb .mask { background: #052e16; border: 1px solid #3f6212; }
body.pcb a { color: #fde68a; }
body.pcb .lang summary { color: #fde68a; }
.resistor { display: flex; align-items: center; gap: 0; margin: 12px 0; }
.lead { width: 18%; height: 6px; background: #d6d3d1; }
.ceramic { flex: 1; display: flex; justify-content: space-evenly; align-items: center; height: 54px; background: #e7d3b0; border-radius: 28px; }
.band { width: 10px; height: 54px; display: block; }
.band[data-band="black"] { background: #111; }
.band[data-band="brown"] { background: #7c4a1e; }
.band[data-band="red"] { background: #dc2626; }
.band[data-band="orange"] { background: #ea580c; }
.band[data-band="yellow"] { background: #eab308; }
.band[data-band="green"] { background: #16a34a; }
.band[data-band="blue"] { background: #2563eb; }
.band[data-band="violet"] { background: #7c3aed; }
.band[data-band="gray"] { background: #6b7280; }
.band[data-band="white"] { background: #f8fafc; }
.band[data-band="gold"] { background: #d4a017; }
.band[data-band="silver"] { background: #cbd5e1; }
