.nb-screen{--nb-red:#d9534f;--nb-red-soft:#fdeceb;--nb-green:#1f8a5b;--nb-green-soft:#e6f4ec;--nb-yellow-soft:#fff4cc;--nb-yellow-ink:#8a5a12}.nb-intro{margin:-6px 0 12px;color:var(--student-muted);font-size:14px}.nb-search{margin:0 0 12px}.student-workspace .nb-search input{height:46px}.student-workspace .nb-search button{right:1px;width:44px;height:44px}.nb-empty p{margin:0 0 6px;line-height:1.5}.nb-empty .sj-secondary{margin-top:8px;padding:0 18px}.nb-tabs{display:flex;gap:8px;margin:0 0 12px;padding-bottom:4px;overflow-x:auto;scrollbar-width:none}.nb-tabs::-webkit-scrollbar{display:none}.nb-tabs :is(button,a){flex:none;min-height:44px;padding:8px 16px;border:1px solid var(--student-line);border-radius:999px;background:var(--student-surface);color:var(--student-ink);font:inherit;font-size:14px;font-weight:700;cursor:pointer}.nb-tabs a[aria-current=page],.nb-tabs button[aria-selected=true]{border-color:var(--student-accent);background:var(--student-accent);color:#fff}.nb-subtabs{margin-top:-4px}.nb-subtabs button{min-height:44px;padding:6px 14px;border-radius:12px;font-size:13px}.nb-subtabs button[aria-selected=true]{border-color:var(--student-accent);background:var(--student-soft);color:var(--student-accent)}.nb-screen a:focus-visible,.nb-screen button:focus-visible,.nb-screen summary:focus-visible{outline:3px solid var(--student-accent);outline-offset:2px}.nb-count{margin:0 0 10px;color:var(--student-accent);font-size:15px;font-weight:700}.nb-empty{padding:18px 20px;border-radius:18px;background:var(--student-soft);color:var(--student-muted);font-size:14px}.nb-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin:0;padding:0;list-style:none}.nb-list :is(button,a){display:flex;flex-direction:column;width:100%;height:100%;padding:0;border:1px solid var(--student-line);border-radius:18px;background:var(--student-surface);color:var(--student-ink);font:inherit;text-align:left;overflow:hidden;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.nb-list :is(button,a):hover{transform:translateY(-2px);box-shadow:0 8px 22px rgb(20 30 80/10%)}.nb-thumb{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--student-soft)}.nb-thumb-blank{display:flex;align-items:center;justify-content:center;padding:16px;background:linear-gradient(135deg,var(--student-soft),color-mix(in srgb,var(--student-accent) 18%,var(--student-soft)));color:var(--student-accent);font-size:20px;font-weight:800;line-height:1.35;text-align:center;overflow-wrap:anywhere}.nb-head{display:grid;gap:4px;min-width:0;padding:12px 16px 16px}.nb-number{color:var(--student-accent);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}.nb-head>b{font-size:16px;line-height:1.45;overflow-wrap:anywhere}.nb-head>small{color:var(--student-muted);font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.nb-back{min-height:44px;margin:0 0 10px;padding:8px 16px 8px 10px;border:1px solid var(--student-line);border-radius:999px;background:var(--student-surface);font:inherit;font-size:14px;font-weight:700;cursor:pointer}.nb-article,.nb-back{color:var(--student-ink)}.nb-article{display:grid;gap:16px;font-size:16px;line-height:1.75;overflow-wrap:anywhere}.nb-hero{border:1px solid var(--student-line);border-radius:22px;background:var(--student-surface);overflow:hidden}.nb-cover{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:var(--student-soft)}.nb-hero-text{padding:22px 28px 24px}.nb-eyebrow{margin:0 0 6px;color:var(--student-accent);font-size:13px;font-weight:700}.nb-title{margin:0;font-size:26px;font-weight:800;line-height:1.4}.nb-title-sub{display:block;margin-top:6px;color:var(--student-accent);font-size:.62em;font-weight:700;line-height:1.45}.nb-article :is(p,li,td){text-wrap:pretty}.nb-article :is(h1,h2,h3,.nb-summary){text-wrap:balance}.nb-summary{margin:10px 0 0;color:var(--student-muted);font-size:15px}.nb-toc{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.nb-toc button{min-height:36px;padding:6px 12px;border:1px solid var(--student-line);border-radius:999px;background:var(--student-soft);color:var(--student-ink);font:inherit;font-size:13px;font-weight:700;cursor:pointer}@media (max-width:640px){.nb-toc button{min-height:44px}}.nb-toc button:hover{border-color:var(--student-accent);color:var(--student-accent)}.nb-sec{scroll-margin-top:16px;padding:22px 28px 24px;border:1px solid var(--student-line);border-radius:22px;background:var(--student-surface)}.nb-intro-card{background:var(--student-soft);border-color:transparent;font-size:17px;font-weight:500}.nb-sec-title{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:21px;font-weight:800;line-height:1.4}.nb-sec-icon{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;border-radius:11px;background:var(--student-accent);color:#fff}.nb-sec-summary{background:var(--student-soft);border-color:transparent}.nb-sec-mistakes .nb-sec-icon{background:var(--nb-red)}.nb-sec-exam .nb-sec-icon{background:var(--nb-yellow-ink)}.nb-sec-answers .nb-sec-icon{background:var(--nb-green)}.nb-sec-study{background:var(--student-soft);border-color:transparent}.nb-sub+.nb-sub,.nb-text+.nb-sub{margin-top:22px}.nb-sub>h3{margin:0 0 8px;padding-left:12px;border-left:4px solid var(--student-accent);font-size:18px;font-weight:800;line-height:1.45}.nb-block{margin-top:14px;padding:18px 20px;border:1px solid var(--student-line);border-radius:16px;background:var(--student-bg)}.nb-block-label{display:inline-block;margin:0 0 10px;padding:3px 14px;border-radius:999px;background:var(--student-accent);color:#fff;font-size:14px;font-weight:800}.nb-sec-mistakes .nb-block-label{background:var(--nb-red)}.nb-reveal{padding:0;overflow:hidden}.nb-reveal>summary{display:flex;align-items:center;min-height:52px;padding:12px 20px;color:var(--nb-green);font-weight:800;cursor:pointer;list-style:none}.nb-reveal>summary::-webkit-details-marker{display:none}.nb-reveal>summary:before{content:"▸";margin-right:10px;transition:transform .15s ease}.nb-reveal[open]>summary:before{transform:rotate(90deg)}.nb-reveal>:not(summary){margin-left:20px;margin-right:20px}.nb-reveal>:last-child{margin-bottom:18px}.nb-reveal-head{margin:0 0 6px;font-weight:800}.nb-text p{margin:0 0 8px}.nb-text h3{margin:18px 0 8px;font-size:17px;font-weight:700;line-height:1.45}.nb-text mark{padding:0 2px;background:linear-gradient(transparent 60%,color-mix(in srgb,var(--student-accent) 22%,transparent) 60%);color:var(--student-accent);font-weight:800}.nb-text .nb-muted{color:var(--student-muted);font-size:15px}.nb-text .nb-small{color:var(--student-muted);font-size:13px}.nb-text .nb-bullet,.nb-text .nb-check{position:relative;padding-left:26px}.nb-text .nb-check:before{content:"✔";position:absolute;left:2px;color:var(--student-accent);font-weight:800}.nb-sec-answers .nb-check:before{color:var(--nb-green)}.nb-text .nb-bullet:before{content:"•";position:absolute;left:8px;color:var(--student-accent);font-weight:800}.nb-sec-summary .nb-check{padding:10px 14px 10px 40px;border-radius:12px;background:var(--student-surface)}.nb-sec-summary .nb-check:before{left:16px;top:10px}.nb-text .nb-band{margin:16px 0 4px;padding:16px 20px;border-radius:16px;background:var(--student-accent);color:#fff;font-size:17px;font-weight:700;text-align:center}.nb-text .nb-band mark{background:none;color:inherit;text-decoration:underline;text-underline-offset:4px}.nb-text .nb-hint{display:inline-block;margin:2px 0 10px;padding:6px 14px;border-radius:12px;background:var(--nb-yellow-soft);color:var(--nb-yellow-ink);font-size:14px;font-weight:700}.nb-text .nb-step{display:flex;align-items:baseline;gap:10px}.nb-step-body{flex:1;min-width:0}.nb-step-no{flex:none;padding:1px 10px;border-radius:999px;background:var(--student-soft);color:var(--student-accent);font-size:13px;font-weight:800}.nb-text .nb-answer{display:inline-block;margin-top:6px;padding:6px 16px;border-radius:12px;background:var(--nb-green-soft);color:var(--nb-green);font-weight:800}.nb-text .nb-right,.nb-text .nb-why,.nb-text .nb-wrong{padding:10px 14px;border-radius:12px}.nb-text .nb-wrong{background:var(--nb-red-soft)}.nb-text .nb-why{background:var(--nb-yellow-soft)}.nb-text .nb-right{background:var(--nb-green-soft)}.nb-text .nb-link a{display:inline-flex;align-items:center;min-height:44px;padding:6px 16px;border:1px solid var(--student-accent);border-radius:999px;color:var(--student-accent);font-weight:700;text-decoration:none}.nb-text .nb-link a:hover{background:var(--student-soft)}.nb-display{padding:12px 8px;border-radius:12px;background:var(--student-soft);text-align:center}.nb-display,.nb-table{margin:10px 0 14px;overflow-x:auto}.nb-table table{min-width:100%;border-collapse:collapse;font-size:15px;line-height:1.55}.nb-table td,.nb-table th{padding:8px 10px;border:1px solid var(--student-line);text-align:center;vertical-align:middle}.nb-table th{background:var(--student-accent);color:#fff;font-weight:700}.nb-table th .math-expression{color:inherit}.nb-figure{margin:16px 0}.nb-figure img{height:auto;border:1px solid var(--student-line);border-radius:16px;background:#fff}.nb-figure img,.nb-zoom-open{display:block;width:100%;max-width:760px;margin:0 auto}.nb-zoom-open{position:relative;padding:0;border:0;background:none;cursor:zoom-in}.nb-zoom-open:focus-visible{outline:3px solid var(--student-accent);outline-offset:3px;border-radius:16px}.nb-zoom{width:calc(100vw / var(--page-z, 1));max-width:none;height:calc(100dvh / var(--page-z, 1));max-height:none;margin:0;padding:0;border:0;background:rgba(0,0,0,.9);overflow:auto;cursor:zoom-out}.nb-zoom::backdrop{background:rgba(0,0,0,.9)}.nb-figure .nb-zoom img{width:max(100%,900px);max-width:none;margin:0 auto;border:0;border-radius:0}.nb-zoom-close{position:fixed;top:max(12px,env(safe-area-inset-top));right:12px;z-index:1;width:44px;height:44px;border:0;border-radius:50%;background:rgba(18,18,20,.72);color:#fff;font-size:24px;line-height:1;cursor:pointer}@media (max-width:640px){.nb-zoom-open:after{content:"크게 보기";position:absolute;right:8px;bottom:8px;padding:4px 10px;border-radius:999px;background:rgba(18,18,20,.72);color:#fff;font-size:12px;font-weight:600}}.nb-figure figcaption{margin-top:6px;color:var(--student-muted);font-size:13px;text-align:center}.nb-pager{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}.nb-pager :is(button,a){display:grid;gap:2px;min-height:56px;padding:10px 14px;border:1px solid var(--student-line);border-radius:14px;background:var(--student-surface);color:var(--student-ink);font:inherit;font-size:14px;line-height:1.45;text-align:left;cursor:pointer}.nb-pager :is(button,a):last-child{text-align:right}.nb-pager small{color:var(--student-muted);font-size:12px}@media (max-width:640px){.nb-list{grid-template-columns:1fr;gap:10px}.nb-head{padding:10px 14px 14px}.nb-article,.nb-head>b{font-size:15px}.nb-article{gap:12px}.nb-hero-text{padding:16px 16px 18px}.nb-title{font-size:21px}.nb-sec{padding:18px 12px 20px;border-radius:18px}.nb-sec-title{font-size:18px}.nb-block{padding:14px 12px}.nb-reveal{padding:0}.nb-reveal>:not(summary){margin-left:14px;margin-right:14px}.nb-pager{grid-template-columns:1fr}.nb-pager :is(button,a):last-child{text-align:left}}@media (prefers-reduced-motion:reduce){.nb-list :is(button,a){transition:none}.nb-list :is(button,a):hover{transform:none}}:root[data-student-theme=dark] .nb-screen{--nb-red-soft:var(--student-soft);--nb-green-soft:var(--student-soft);--nb-yellow-soft:var(--student-soft);--nb-red:var(--student-ink);--nb-green:var(--student-ink);--nb-yellow-ink:var(--student-ink)}:root[data-student-theme=dark] .nb-tabs button[aria-selected=true]{border-color:var(--student-ink);background:var(--student-ink);color:var(--student-bg)}:root[data-student-theme=dark] .nb-subtabs button[aria-selected=true]{border-color:var(--student-ink);background:var(--student-soft);color:var(--student-ink)}:root[data-student-theme=dark] .nb-block-label,:root[data-student-theme=dark] .nb-sec-icon,:root[data-student-theme=dark] .nb-table th{background:var(--student-ink);color:var(--student-bg)}:root[data-student-theme=dark] .nb-text .nb-band{background:var(--student-soft);color:var(--student-ink)}:root[data-student-theme=dark] .nb-text .nb-band mark{color:var(--student-ink);text-decoration:underline}:root[data-student-theme=dark] .nb-cover,:root[data-student-theme=dark] .nb-figure img,:root[data-student-theme=dark] .nb-thumb{opacity:.92}