body{margin:0;background:#f5f6f4;color:#20312c;font-family:Arial,'Apple SD Gothic Neo','Noto Sans KR',sans-serif;-webkit-font-smoothing:antialiased}
.hy-main{--foreground:#253c34;--muted-foreground:#6c7b73;--background:#fff;--viz-series-1:#23836a;--orange:#b86b2d;--font-size-base:14px;box-sizing:border-box;max-width:1120px;margin:0 auto;padding:42px 28px 60px;font-size:15px;line-height:1.65}.hy-main *{box-sizing:border-box}.hy-main button{font:inherit;touch-action:manipulation;cursor:pointer}.hy-main a{color:inherit}.hy-main button:focus-visible,.hy-main a:focus-visible,.hy-main summary:focus-visible{outline:3px solid #69ad95;outline-offset:4px}.hy-back{display:inline-block;margin-bottom:28px;color:#65756b!important;text-decoration:none;font-size:13px}.hy-title-row{display:flex;justify-content:space-between;align-items:center;gap:24px}.hy-eyebrow{margin:0 0 5px;color:#33826a;font-size:13px;font-weight:700;letter-spacing:.05em}.hy-main h1{margin:0;font-size:clamp(25px,3vw,36px);line-height:1.3;letter-spacing:-.055em;font-weight:650}.hy-intro-copy{margin:16px 0 6px;color:#596b61;font-size:16px}.hy-scope{margin:0 0 26px;font-size:12px;color:#748078}.hy-preferences{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap}.hy-choice{display:flex;border:1px solid #d4ded7;border-radius:9px;background:#fff;padding:3px;gap:3px}.hy-choice button{border:0;background:transparent;border-radius:6px;padding:5px 9px;color:#66736b;font-size:12px;min-height:32px}.hy-choice button[aria-pressed=true]{background:#e5eee8;color:#1d5e49;font-weight:700}.hy-lesson{background:#fff;border:1px solid #e0e6df;border-radius:20px;padding:26px 32px 20px;box-shadow:0 5px 24px #243b2d04}.hd-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#718078;font-size:12px}.hy-tabular{font-variant-numeric:tabular-nums}.hy-progress{height:3px;background:#eff3ef;border-radius:2px;margin:13px 0 19px;overflow:hidden}.hy-progress span{display:block;height:100%;background:#4d997a;transition:width .3s}.hy-main #hd-title{margin:0 0 20px;font-size:24px;line-height:1.35;letter-spacing:-.035em;font-weight:600}.hd-metrics{display:flex;flex-wrap:wrap;gap:14px 60px;padding-bottom:15px;border-bottom:1px solid #edf0ec}.hd-metrics>div{display:grid;gap:2px;min-width:130px}.hd-metrics span{font-size:12px;color:#748178}.hd-metrics strong{font-size:23px;line-height:1.45;font-weight:500;letter-spacing:-.035em}.hd-view-row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:50px;font-size:12px;color:#77867b}.hy-paper{border:1px solid #ecf0eb;border-radius:12px;overflow:hidden;background-color:#fdfefc;background-image:radial-gradient(#cfd9d0 0.5px,transparent .5px);background-size:18px 18px}#hd-paper{display:block;width:100%;overflow:hidden}.hy-endpoints{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:17px 0 14px;border-bottom:1px solid #edf0ec}.hy-endpoints>div{display:flex;gap:12px;align-items:baseline}.hy-endpoints span{font-size:12px;color:#77837b;white-space:nowrap}.hy-endpoints strong{font-size:14px;font-weight:600}.hd-instructions{display:grid;gap:9px;margin:18px 0 22px;min-height:80px}.hd-action-row{display:grid;grid-template-columns:76px 1fr;gap:13px;align-items:baseline;font-size:14px}.hd-action-row>span:first-child{color:#77837b;font-size:12px}.hd-action-row.is-current>span:last-child{color:#245e49;font-weight:600}.hd-action-row[hidden]{display:none}.hy-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border-top:1px solid #edf0ec;padding-top:20px}.hy-button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:9px 15px;border:1px solid #d6e0d8;background:#fff;border-radius:8px;color:#355142;font-size:13px!important;white-space:nowrap}.hy-button:hover:not(:disabled){background:#f0f5ef}.hy-button:disabled{opacity:.35;cursor:default}.hy-button.hy-primary{background:#276c52;border-color:#276c52;color:#fff}.hy-button.hy-primary:hover:not(:disabled){background:#20583f}.hy-button.hy-ghost{border-color:transparent;background:transparent;color:#6a7b70}.hy-button.hy-ghost:hover:not(:disabled){background:#f2f5f1}.hy-main #hd-view{min-height:34px;padding:4px 10px}.hy-main #hd-restart{margin-left:auto}.hd-note{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:18px;font-size:11px;color:#7b877e}.hd-key{display:inline-block;width:18px;height:0;border-top:2px solid #85968b}.hd-key.hd-dash{border-top-style:dotted;margin-left:10px}.hd-note #hd-unit-note{margin-left:auto}.hy-save{margin:9px 0 0;color:#849087;font-size:11px}.hy-details{margin-top:20px;padding:18px 22px;border:1px solid #e0e6df;border-radius:13px;background:#f9faf7;color:#607167;font-size:13px}.hy-details summary{cursor:pointer;font-weight:600;color:#4d6255}.hy-details p{margin:13px 0 0}.hy-sources{display:flex;flex-wrap:wrap;gap:8px 16px}.hy-sources a{text-underline-offset:4px}.hy-scale{margin:18px 0 0;text-align:center;color:#8a958c;font-size:11px}.hy-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#hc-draw-v5 svg text{fill:var(--foreground);font-size:var(--font-size-base);font-weight:400;paint-order:stroke;stroke:var(--background);stroke-width:5px;stroke-linejoin:round}#hc-draw-v5 svg .old{stroke:var(--foreground);stroke-opacity:.4;stroke-width:1.15;fill:none}#hc-draw-v5 svg .reference{stroke:var(--foreground);stroke-opacity:.95;stroke-width:1.7;fill:none}#hc-draw-v5 svg .guide{stroke:var(--muted-foreground);stroke-opacity:.65;stroke-width:1;stroke-dasharray:2 5;stroke-linecap:round;fill:none}#hc-draw-v5 svg .active{stroke:var(--viz-series-1);stroke-opacity:1;stroke-width:2.8;fill:none;stroke-linecap:round}#hc-draw-v5 svg .measure{stroke:var(--orange);stroke-width:1.4;stroke-dasharray:2 5;stroke-linecap:round;fill:none}#hc-draw-v5 svg .start{fill:var(--orange);stroke:var(--background);stroke-width:1.5}#hc-draw-v5 svg .end{fill:var(--viz-series-1);stroke:var(--background);stroke-width:1.5}#hc-draw-v5 svg .pen{fill:var(--foreground);stroke:var(--background);stroke-width:1.5}
@media(max-width:760px){.hy-main{padding:27px 16px 40px}.hy-title-row{flex-direction:column;align-items:flex-start;gap:18px}.hy-back{margin-bottom:21px}.hy-intro-copy{font-size:14px}.hy-scope{line-height:1.9}.hy-lesson{padding:20px 17px 16px;border-radius:15px}.hy-main #hd-title{font-size:21px}.hd-metrics{gap:12px 28px}.hd-metrics strong{font-size:21px}.hd-action-row{grid-template-columns:62px 1fr;gap:9px;font-size:13px}.hy-endpoints{gap:10px}.hy-endpoints>div{display:grid;gap:2px}.hy-controls{gap:7px}.hy-button{padding:9px 12px;font-size:12px!important;min-height:44px}.hy-main #hd-restart{margin-left:0}.hd-note #hd-unit-note{margin-left:5px}.hy-details{padding:16px 17px}.hy-preferences{gap:10px}.hy-choice button{min-height:36px;padding:5px 13px}.hy-main{--font-size-base:12px}}
@media(prefers-reduced-motion:reduce){.hy-progress span{transition:none}}

/* Scoped shared chrome: preserve the lesson’s light drawing surface in either system appearance. */
body.hyeonchido-page .brand{text-decoration:none}
body.system-theme.hyeonchido-page{color-scheme:light;--site-bg:#f5f6f4;--site-surface:#fff;--site-soft:#edf1ec;--site-ink:#20312c;--site-muted:#69776e;--site-line:#dce3dc;--site-brand:#385adb;--site-mark:#6e9185;--site-active:#397561;background:#f5f6f4;color:#20312c}
.hyeonchido-page>footer{max-width:1240px;margin:28px auto 0;padding:24px;display:flex;justify-content:space-between;align-items:baseline;gap:20px;border-top:1px solid #dce3dc;font-size:12px;color:#69776e}.hyeonchido-page>footer .footer-brand{display:flex;align-items:baseline;gap:16px;min-width:0;flex-wrap:wrap}.hyeonchido-page>footer .wordmark{color:#20312c;font-size:28px;font-weight:700;letter-spacing:-1px;text-decoration:none}.hyeonchido-page>footer .wordmark span{color:#6e9185}.hyeonchido-page>footer .footer-brand small{font-size:11px;font-weight:400;letter-spacing:.2px;color:#66695e}@media(max-width:600px){.hyeonchido-page>footer{padding:20px 16px}.hyeonchido-page>footer .footer-brand{gap:10px}.hyeonchido-page>footer .footer-brand small{font-size:10px}}
