:root{color:#202b33;font-synthesis:none;--accent:#126354;--line:#dce2e5;background:#fff;font-family:Arial,Malgun Gothic,Apple SD Gothic Neo,sans-serif;font-size:16px;line-height:1.6}*{box-sizing:border-box}body{margin:0}button,select{font:inherit;color:inherit}button{cursor:pointer;background:#fff;border:1px solid #cdd5d9;border-radius:5px;min-height:44px;padding:8px 14px}button:hover{background:#f0f5f4}button[aria-pressed=true]{border-color:var(--accent);color:#104f43;background:#e4f1ec}button:disabled{opacity:.45;cursor:default}:focus-visible{outline-offset:3px;outline:3px solid #167bba}header{border-bottom:1px solid var(--line);align-items:center;gap:16px;min-height:102px;padding:20px 30px;display:flex}h1{letter-spacing:-.6px;margin:0;font-size:23px;line-height:1.25}h1 span{font-weight:400}header p{color:#58676e;margin:4px 0 0;font-size:14px}.brand-mark{color:#fff;background:#173d35;border-radius:5px;place-items:center;width:44px;height:44px;font-size:23px;display:grid}.workspace{grid-template-columns:minmax(205px,18%) minmax(0,1fr) minmax(265px,24%);min-height:calc(100dvh - 228px);display:grid}.sidebar{border-right:1px solid var(--line);padding:26px 20px}h2{margin:8px 0 18px;font-size:23px;line-height:1.35}.molecule-category h2{justify-content:space-between;align-items:baseline;gap:10px;margin:0 0 4px;font-size:19px;display:flex}.molecule-category h2 span{color:#758287;font-variant-numeric:tabular-nums;font-size:13px;font-weight:400}.molecule-category+.molecule-category{border-top:1px solid var(--line);margin-top:26px;padding-top:22px}.molecule-category:first-of-type{margin-top:14px}.molecule-group{margin:24px 0}.molecule-group h3{color:#65737b;margin:0 0 8px;font-size:14px}.molecule-choice{text-align:left;border:1px solid #0000;width:100%;margin:4px 0;padding:10px 11px;display:block}.molecule-choice span{font-size:16px;font-weight:600;display:block}.molecule-choice small{color:#66756e;font-size:13px;display:block}.molecule-choice.selected{border-left:3px solid var(--accent)}.library-note{color:#718087;margin-top:32px;font-size:13px}.viewer-area{flex-direction:column;min-width:0;display:flex;position:relative}.molecule-stage{flex:1;min-width:0;min-height:600px;position:relative;overflow:hidden}.canvas-host{touch-action:none;position:absolute;inset:0 0 42px}.stage-heading{z-index:1;pointer-events:none;justify-content:space-between;gap:12px;padding:25px 26px;display:flex;position:absolute;top:0;left:0;right:0}.stage-heading h2{margin:0;font-size:21px}.stage-heading p{color:#6a777d;margin:3px 0 0;font-size:13px}.form-tag{white-space:nowrap;border:1px solid var(--line);color:#5b6a72;border-radius:3px;align-self:flex-start;padding:3px 9px;font-size:12px}.stage-footer{color:#788289;justify-content:space-between;gap:10px;padding:14px 25px;font-size:12px;display:flex;position:absolute;bottom:0;left:0;right:0}.stage-footer i{color:#d93835;margin-left:10px;font-style:normal}.stage-footer b{color:#b7bec6;margin-left:10px;font-weight:400}.viewer-message{text-align:center;background:#fff;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:100px 20px 60px}.viewer-message.error{color:#a33e25}.info{border-left:1px solid var(--line);background:#fcfdfd;padding:27px 24px}.info h3{margin:26px 0 8px;font-size:15px}.info p,.info li{word-break:keep-all;font-size:16px}.info p{margin:6px 0 12px}.info .formula{letter-spacing:2px;margin-top:-4px;font-size:30px}.info ol{padding-left:23px}.info li{margin:12px 0;padding-left:3px}.viewer-controls{border-top:1px solid var(--line);background:#f8fafb;flex-wrap:wrap;gap:16px 25px;padding:19px 26px;display:flex}.control-group{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.control-group>span{color:#67767e;margin-right:5px;font-size:12px}.control-group button{padding:8px 12px;font-size:14px}@media (width>=1500px){.molecule-stage{min-height:670px}}@media (width<=1100px){.workspace{grid-template-columns:190px minmax(0,1fr)}.info{border-left:0;border-top:1px solid var(--line);grid-column:1/-1}.molecule-stage{min-height:580px}}@media (width<=900px){header{gap:10px;padding:18px}h1{font-size:19px}.workspace{flex-direction:column;display:flex}.sidebar{border-right:0;border-bottom:1px solid var(--line);gap:14px;padding:12px;display:flex;overflow-x:auto}.sidebar>.section-kicker,.library-note{display:none}.molecule-category,.molecule-category+.molecule-category{border-top:0;border-left:1px solid var(--line);align-items:center;gap:10px;margin:0;padding:0 0 0 12px;display:flex}.molecule-category:first-of-type{border-left:0;margin-top:0;padding-left:0}.molecule-category h2{white-space:nowrap;color:#68767c;margin:0;font-size:12px}.molecule-category h2 span{display:none}.molecule-group{align-items:center;gap:5px;margin:0;display:flex}.molecule-group h3{display:none}.molecule-choice{min-width:164px;margin:0}.molecule-stage{min-height:510px}.viewer-controls{padding:15px}.stage-heading{padding:20px 16px;display:block}.stage-heading h2{font-size:19px}.info{padding:24px}.stage-footer{padding:14px}.form-tag{margin-top:4px;padding:2px 6px;font-size:11px;display:inline-block}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}a{color:#126354;text-underline-offset:3px}.header-actions{gap:8px;margin-left:auto;display:flex}.header-actions .compare-button{color:#134d41;border-color:#185d4f}.viewer-pair{flex:1;min-height:0;display:flex}.viewer-pair>.molecule-stage{flex:1}.comparison-right{border-left:1px solid var(--line);flex:1;min-width:0;display:flex}.comparison-right[hidden]{display:none}.compare-toolbar{border-bottom:1px solid var(--line);background:#f7faf9;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 20px;display:flex}.compare-toolbar label{align-items:center;gap:9px;font-size:14px;display:flex}.compare-toolbar select{background:#fff;border:1px solid #bbc9c6;border-radius:4px;max-width:240px;min-height:44px;padding:7px}.compare-toolbar button{font-size:14px}.axis-note{background:#f0f7f3;border-top:1px solid #d7e5df;flex-wrap:wrap;gap:6px 16px;padding:12px 20px;font-size:14px;display:flex}.axis-note strong{color:#185a4d}.highlight-note{color:#9c2862;border-top:1px solid var(--line);margin:0;padding:8px 20px;font-size:13px}.molecule-facts{margin:18px 0 22px}.molecule-facts dt{color:#617078;margin-top:14px;font-size:13px}.molecule-facts dd{overflow-wrap:anywhere;margin:2px 0;font-size:15px}.info .concept-note{background:#faf6ee;border-left:3px solid #b4781d;margin-top:22px;padding:12px 14px;font-size:15px}.answer-button{text-align:left;color:#145c4e;width:100%;font-size:15px}.info .answer{background:#eaf3ee;border-left:3px solid #32795f;margin-top:10px;padding:14px;font-size:15px}.haworth{border-top:1px solid var(--line);margin-top:26px}.haworth h3{justify-content:space-between;display:flex}.haworth h3 span{color:#718087;font-size:12px;font-weight:400}.haworth svg{width:100%;max-height:240px}.haworth p,.info .small-note{color:#69777d;font-size:13px}.haworth-carbon{cursor:pointer}.haworth-carbon:hover circle{stroke:#126354;stroke-width:3px}.provenance{border-top:1px solid var(--line);margin-top:25px;padding-top:15px;font-size:14px}.provenance summary{cursor:pointer;min-height:44px}.info .provenance p{font-size:13px}.page-footer{border-top:1px solid var(--line);color:#748188;justify-content:space-between;gap:15px;padding:12px 26px;font-size:12px;display:flex}.page-footer__brand{line-height:1.45;display:grid}.page-footer__brand b{color:#34444b}.page-footer__brand span{font-size:11px}.skip-link{z-index:100;background:#fff;padding:10px;position:absolute;top:-80px;left:10px}.skip-link:focus{top:10px}.keyboard-view{color:#65747c;border:0;min-height:32px;padding:2px 7px;font-size:12px}dialog{color:#25352f;border:1px solid #c0ccca;border-radius:8px;width:calc(100% - 36px);max-width:640px;padding:28px}dialog::backdrop{background:#13231ccc}.dialog-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.dialog-heading h2{margin:0}dialog p,dialog li{font-size:16px}dialog h3{margin-top:25px;font-size:17px}.comparing .stage-heading{padding:20px;display:block}.comparing .stage-heading h2{font-size:18px}.comparing .stage-heading p{font-size:12px}.comparing .form-tag{margin-top:8px;display:inline-block}.comparing .stage-footer{flex-wrap:wrap;padding:12px}.comparing .stage-footer>span:last-child{display:none}@media (width>=1101px){.workspace{height:calc(100dvh - 250px);min-height:590px}.sidebar,.info{overflow-y:auto}.molecule-stage,.viewer-area{min-height:0}.viewer-controls{min-height:100px}.comparison-layout{grid-template-columns:190px minmax(0,1fr) 270px}}@media (width<=1100px){.viewer-pair{min-height:580px}.comparison-layout{grid-template-columns:175px minmax(0,1fr)}.info{overflow:visible}.viewer-pair .molecule-stage{min-height:580px}.comparing .stage-heading{padding:18px 12px}.header-actions button{font-size:14px}}@media (width<=700px){header{flex-wrap:wrap}.header-actions{width:100%;margin:3px 0 0;padding-left:54px}.viewer-pair.comparing{flex-direction:column}.comparison-right{border-left:0;border-top:1px solid var(--line)}.viewer-pair .molecule-stage,.viewer-pair{min-height:480px}.compare-toolbar{padding:10px}.compare-toolbar label{flex-wrap:wrap}.compare-toolbar select{max-width:210px}.page-footer{flex-direction:column;gap:3px}.stage-footer{flex-wrap:wrap}.stage-footer>span:last-child{display:none}.axis-note{padding:12px}.viewer-controls .control-group{gap:7px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}.fragment-tag{color:#5b5136;background:#faf6ee;border:1px solid #e3d6b8;border-radius:3px;margin:0 0 14px;padding:4px 9px;font-size:12px;display:inline-block}.residue-list,.linkage-list{border-top:1px solid var(--line);margin-top:24px;padding-top:4px}.residue-list h3,.linkage-list h3,.schematic h3{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.residue-list h3 span,.linkage-list h3 span,.schematic h3 span{color:#718087;text-align:right;font-size:12px;font-weight:400}.chips{flex-wrap:wrap;gap:6px;display:flex}.info .chip{text-align:left;border-color:#d3dbdf;min-height:40px;padding:6px 9px;font-size:13px;line-height:1.35;display:block}.info .chip small{color:#6c7a80;font-size:11px;display:block}.info .chip.selected{border-color:var(--accent);background:#e4f1ec}.info .chip.linkage{border-left:3px solid #2f5fa8}.info .chip.linkage.branch{border-left:3px solid #7b3f9d}.schematic{border-top:1px solid var(--line);margin-top:26px}.schematic svg{width:100%;max-height:260px;margin:4px 0 2px}.schematic-node,.schematic-link rect[role=button]{cursor:pointer}.schematic-node:hover .residue-label{stroke:#126354;stroke-width:2.6px}.schematic-legend{flex-wrap:wrap;gap:4px 16px;margin:2px 0 8px;padding:0;list-style:none;display:flex}.info .schematic-legend li{color:#5d6b72;align-items:center;gap:6px;margin:0;padding:0;font-size:12px;display:flex}.schematic-legend i{border-top:2.4px solid #5b6a72;width:20px;height:0}.schematic-legend i.branch{border-top-style:dashed;border-top-color:#7b3f9d}.schematic-legend i.reducing{border:1.6px solid #1b7f3b;border-radius:50%;width:10px;height:10px}.schematic p{color:#69777d;font-size:13px}.schematic-pair{border-top:1px solid var(--line);margin-top:22px}.schematic-pair h4{margin:18px 0 0;font-size:14px}.schematic-pair .schematic{border-top:0;margin-top:0}.schematic-pair .schematic h3{display:none}.linkage-note{background:#eef2fa;border-top-color:#d5deef}.linkage-note strong{color:#23477e}.ring-chain-entry{flex-wrap:wrap;align-items:center;gap:12px;padding:14px 24px 0;display:flex}.ring-chain-entry>span{color:#65736e;font-size:13px}.workspace.ring-chain-layout{height:auto}@media (width>=1101px){.ring-chain-layout .sidebar{max-height:calc(100dvh - 250px);position:sticky;top:0}}.ring-chain-stage .canvas-host{width:100%;height:clamp(320px,46vh,520px);position:relative;inset:auto}.ring-chain-stage .stage-footer{position:relative}.ring-chain-stage .stage-heading{padding-bottom:8px}.ring-chain-controls{border:1px solid var(--line);background:#f8fbf9;border-radius:6px;margin:4px 22px 22px;padding:18px}.ring-chain-heading,.ring-chain-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.ring-chain-heading{justify-content:space-between}.ring-chain-controls p{margin:10px 0}.ring-chain-controls [role=status]{color:#145847;min-height:26px;font-weight:700}.timeline-label{font-size:13px;font-weight:600;display:block}.timeline-label input{width:100%;min-height:44px;accent-color:var(--accent);cursor:pointer;margin:0;display:block}.ring-chain-steps{flex-wrap:wrap;gap:5px;margin:0 0 12px;display:flex}.ring-chain-steps button{white-space:nowrap;flex:1;padding:6px 8px;font-size:13px}.closure-choice{border:1px solid #a6c8bc;border-radius:5px;margin:14px 0;padding:10px}.closure-choice legend{padding:0 5px;font-weight:600}.closure-choice button{margin:3px 6px 3px 0}.ring-chain-science{border-top:1px solid var(--line);padding-top:12px;font-size:13px}.ring-chain-science summary{cursor:pointer;min-height:30px}@media (width<=700px){.ring-chain-controls{margin:5px 10px 14px;padding:12px}.ring-chain-stage .stage-heading{flex-wrap:wrap}.ring-chain-entry{padding:12px 14px 0}.ring-chain-stage .canvas-host{height:340px}}:root{color:#1d2a33;font-family:Pretendard,Malgun Gothic,Apple SD Gothic Neo,Noto Sans KR,system-ui,sans-serif}body{word-break:keep-all;overflow-wrap:break-word}header{min-height:0;padding:14px 30px}h1{letter-spacing:-.3px;font-size:22px}header p{color:#4b5a61;font-size:14.5px}.breadcrumb{color:#5b696f;flex-wrap:wrap;align-items:center;gap:2px 7px;margin-bottom:3px;font-size:13.5px;display:flex}header .breadcrumb a{color:#4b5a61;padding:2px 0;text-decoration:none}header .breadcrumb a:hover{color:var(--accent);text-decoration:underline}.section-kicker{letter-spacing:0;color:var(--accent);font-size:13.5px;font-weight:600}.molecule-category h2 span{color:#5f6d73;font-size:13px}.molecule-group h3,.control-group>span{color:#55636a}.control-group>span{font-size:13px;font-weight:600}.stage-heading p,.stage-footer,.keyboard-view,.library-note,.haworth p,.info .small-note,.schematic p{color:#5b696f}.answer-button{font-weight:600}.page-footer{color:#5b696f;align-items:center;font-size:13px}.page-footer__brand{color:#34444b;display:block}@media (width>=1101px){.workspace{height:calc(100dvh - 222px)}}@media (width<=700px){header{padding:14px 16px}.header-actions{padding-left:0}}.viewer-pane{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.viewer-pane>.molecule-stage{min-height:340px}.structure-reference{border-top:1px solid var(--line);background:#f8fbfa;flex:0 0 282px;min-width:0;padding:10px 18px 12px;container-type:inline-size}.reference-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.reference-heading h3{color:#5b696f;align-items:baseline;gap:5px;margin:0;font-size:12px;font-weight:400;display:flex}.reference-heading h3 span{white-space:nowrap}.reference-heading button{background:#fff;flex-shrink:0;min-height:34px;padding:4px 9px;font-size:12px}.reference-body{grid-template-rows:minmax(0,1fr) auto;align-items:center;gap:3px;height:220px;display:grid}.reference-drawing{justify-content:center;align-items:center;min-width:0;height:100%;min-height:0;display:flex}.haworth-formula{width:100%;height:100%;min-height:0;max-height:100%;font-family:Arial,Malgun Gothic,sans-serif;display:block}.reference-caption{color:#52635e;font-size:12px;line-height:1.45}.reference-caption p{margin:2px 0}.reference-caption .reference-convention{display:none}.reference-reducing{color:#326249}.reference-linkages{flex-wrap:wrap;gap:4px 14px;display:flex}.reference-linkages span{color:#69318b}.reference-drawing .schematic{border:0;align-items:center;width:100%;max-width:660px;height:100%;margin:0;display:flex}.reference-drawing .schematic svg{height:100%;max-height:100%;margin:0;display:block}.haworth-carbon:hover .carbon-label{stroke:var(--accent);stroke-width:2px}.haworth-carbon.is-selected .carbon-label{stroke-width:1.5px}.formula-selection-marker{fill:none;stroke:#126354;stroke-width:1.6px;pointer-events:none}.formula-keyboard-marker{fill:none;stroke:#264a5c;stroke-width:2px;stroke-dasharray:3 3;visibility:hidden;pointer-events:none}.haworth-carbon:focus,.formula-bond:focus,.schematic-node:focus,.schematic-link-target:focus{outline:none}.haworth-carbon:focus-visible .formula-keyboard-marker,.formula-bond:focus-visible .formula-keyboard-marker,.schematic-node:focus-visible .formula-keyboard-marker{visibility:visible}.schematic-link-target:focus-visible{stroke:#264a5c;stroke-width:1.6px;stroke-dasharray:3 3;outline:none}.formula-bond{cursor:pointer}.formula-bond:hover .formula-bond-line{stroke-width:4px}.formula-dialog{max-width:940px;max-height:calc(100dvh - 32px);overflow:auto}.formula-dialog h2{font-size:20px}.formula-dialog p{color:#52635e;font-size:14px}.formula-enlarged{overscroll-behavior-x:contain;padding:12px 2px;overflow-x:auto}.formula-enlarged>.haworth-formula{width:480px;max-width:100%;height:auto;max-height:none;margin:0 auto}.formula-enlarged>.two-residues{width:820px;min-width:640px}.formula-enlarged .schematic{border:0;min-width:620px;margin:0}.formula-enlarged .schematic svg{max-height:none}.formula-enlarged .haworth-carbon,.formula-enlarged .formula-bond,.formula-enlarged .schematic-node{cursor:default}@container (width>=580px){.reference-monosaccharide .reference-body{grid-template-rows:1fr;grid-template-columns:290px minmax(0,1fr);gap:20px}.reference-monosaccharide .reference-caption{max-width:320px;font-size:13px}.reference-monosaccharide .reference-caption .reference-convention{margin-top:8px;display:block}}@container (width<=500px){.two-residues text{font-size:22px}.two-residues .haworth-carbon text{font-size:20px}.two-residues .haworth-carbon text:last-child:not(:first-of-type){font-size:17px}}@media (width>=1101px){.workspace{min-height:750px}.ring-chain-layout{min-height:590px}}@media (width>=1101px) and (height<=820px){.workspace:not(.ring-chain-layout){min-height:690px}}@media (width>=701px) and (width<=1100px){.workspace{grid-template-rows:auto auto}.sidebar{max-height:800px;overflow-y:auto}.viewer-area,.viewer-pair{min-height:0}.viewer-pair .molecule-stage{min-height:440px}.viewer-pane{min-height:0}.workspace:not(.ring-chain-layout) .viewer-area{height:800px}}@media (width<=700px){.viewer-pair .molecule-stage{min-height:400px}.structure-reference{flex-basis:auto;min-height:282px;padding:10px 12px 14px}.reference-body{height:214px}.reference-heading button{min-height:44px}.reference-caption{font-size:12px}.formula-dialog{padding:18px}.formula-dialog .dialog-heading{gap:8px}.formula-dialog h2{font-size:17px}.formula-dialog .dialog-heading button{flex-shrink:0}}
