:root{font-family:Inter,"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;color:#253c40;background:#f5f7f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,#canvasWrap:focus-visible{outline:3px solid #3cb8a6;outline-offset:3px}button{border:0;background:none;color:inherit}header{height:88px;background:#fff;border-bottom:1px solid #e1e7e7;display:flex;align-items:center;justify-content:space-between;padding:0 30px}.brand{text-decoration:none;color:inherit;display:flex;align-items:center;gap:12px;font-size:22px;font-weight:650;letter-spacing:3px}.brandmark{background:#193f43;color:#e4f0e8;padding:9px 11px;border-radius:10px;font-family:serif;font-size:25px}.brand small{display:block;font-size:12px;letter-spacing:2px;margin-top:5px;font-weight:500}.header-label{font-size:15px;color:#738488;display:flex;gap:16px;align-items:center}.badge{font-size:12px;padding:6px 10px;border:1px solid #dce6e3;border-radius:5px;color:#3e7569}.plain{font-size:14px}main{display:grid;grid-template-columns:258px minmax(360px,1fr) 300px;min-height:760px;height:calc(100dvh - 126px)}.sidebar,.detail{background:#fff;padding:24px 20px;overflow:auto}.sidebar{border-right:1px solid #e1e7e7}.detail{border-left:1px solid #e1e7e7}.section-title{font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.muted{font-size:12px;letter-spacing:1px;color:#81918f;font-weight:500}.search{display:flex;gap:8px;align-items:center;background:#f3f6f5;border:1px solid #e4eae8;border-radius:7px;padding:10px;margin-bottom:24px}.search>span{font-size:24px;line-height:20px;color:#66817c}.search input{width:100%;min-width:0;border:0;outline:none;background:transparent;font-size:14px}.search kbd{font-size:12px;border:1px solid #dce3e1;padding:0 4px;color:#8a9995}.list-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#7e8e8a;font-size:12px}.text-button{font-size:12px;color:#217e6b;padding:5px 0}nav{display:flex;flex-direction:column;gap:4px}.channel{display:flex;align-items:center;text-align:left;padding:10px 11px;border-radius:7px;gap:12px;font-size:14px;border:1px solid transparent;width:100%}.channel:hover{background:#f4f7f6}.channel.active{background:#edf6f2;border-color:#d3e9df;color:#186c58;font-weight:600}.dot{width:7px;height:7px;border-radius:100%;background:var(--color);flex-shrink:0}.channel .code{margin-left:auto;color:#71877f;font-size:12px}.sidebar-note{margin-top:27px;padding-top:20px;border-top:1px solid #e7edeb}.sidebar-note p{font-size:14px;line-height:1.8;color:#7c8e87}.sidebar-note small{font-size:12px;color:#778c85}.tiny-line{display:block;width:22px;height:2px;background:#98b3a5}.viewer{position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#343b40 0%,#232a30 55%,#1b2228 100%);color:#f3f6f2;min-height:670px}.viewer-top{position:absolute;top:28px;left:28px;right:25px;display:flex;justify-content:space-between;pointer-events:none;z-index:2}.eyebrow{font-size:12px;letter-spacing:2px;color:#9fb6b6}h1{font-size:27px;letter-spacing:3px;font-weight:500;margin:11px 0 7px}.viewer-top p{font-size:12px;letter-spacing:.5px;color:#adc1c1;margin:0}.model-badge{font-size:12px;height:29px;color:#c2d4c9;border:1px solid #ffffff20;padding:6px 9px;border-radius:20px}#canvasWrap{position:absolute;inset:0;touch-action:none;outline-offset:-4px}canvas{display:block;width:100%;height:100%}#loading{position:absolute;top:50%;width:100%;text-align:center;color:#b9ceca;font-size:14px}#pointLabel{position:absolute;transform:translate(15px,-50%);padding:7px 11px;background:#eff8f0;color:#295a48;border:1px solid #b7dfbe;border-radius:5px;font-size:14px;pointer-events:none;white-space:nowrap;box-shadow:0 3px 18px #0002}.orientation{position:absolute;left:28px;bottom:112px;color:#9bb1b5;font-size:12px;letter-spacing:1px;pointer-events:none}.view-tools{position:absolute;bottom:62px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;background:#0d252ee6;border:1px solid #ffffff1c;border-radius:10px;padding:5px;white-space:nowrap}.view-tools button{padding:8px 14px;color:#aec1c1;border-radius:5px;font-size:14px}.view-tools button.active{background:#375059;color:#fff}.view-tools span{height:18px;width:1px;background:#ffffff20}.zoom-tools{position:absolute;bottom:120px;right:24px;display:flex;flex-direction:column;border:1px solid #ffffff20;border-radius:7px;background:#122d36}.zoom-tools button{width:38px;height:39px;color:#c3d3d2;font-size:20px}.zoom-tools button+button{border-top:1px solid #ffffff20}.viewer-bottom{position:absolute;left:24px;right:24px;bottom:29px;display:flex;justify-content:space-between;color:#adc0c0;font-size:12px;gap:10px}.viewer-bottom label{display:flex;align-items:center;gap:5px}.model-note{position:absolute;bottom:7px;width:100%;text-align:center;font-size:12px;color:#91a9ae;pointer-events:none}input[type=checkbox]{accent-color:#3b8f75;cursor:pointer}.point-code{color:#39765d;letter-spacing:2px;font-size:14px;display:flex;justify-content:space-between}.point-code small{letter-spacing:0;font-size:12px;color:#718779}.point-name{font-size:38px;font-weight:500;letter-spacing:4px;margin:12px 0 8px}.point-en{color:#73897e;letter-spacing:1px;font-size:12px;margin-bottom:24px}.info-row{font-size:14px;padding:13px 0;border-top:1px solid #edf0ef;display:flex;justify-content:space-between;gap:10px}.info-row span{color:#758779}.description{font-size:14px;line-height:1.8;color:#6a8073;padding:14px;background:#f4f7f5;border-radius:7px;margin:13px 0 20px}.locate{width:100%;padding:11px;background:#285e4e;color:#fff;font-size:14px;border-radius:7px;margin-bottom:28px}.point-list-title{display:flex;justify-content:space-between;font-size:14px;margin-bottom:10px}.point-list-title span{font-size:12px;color:#718679}#pointList{display:flex;flex-wrap:wrap;gap:7px}.point-chip{border:1px solid #e2e9e4;border-radius:5px;padding:6px 10px;font-size:14px}.point-chip.active{color:#296b53;background:#edf5ef;border-color:#9cbfa9}.display-settings{margin-top:26px;border-top:1px solid #e5ebe7;padding-top:20px}.display-settings h3{font-size:14px;font-weight:500;margin:0 0 15px}.display-settings label{display:flex;justify-content:space-between;font-size:14px;margin:12px 0;color:#6b8072}.display-settings output{font-size:12px}input[type=range]{width:100%;accent-color:#39765d}.notice{margin-top:23px;border-top:1px solid #e5ebe7;padding-top:17px;color:#718474}.notice strong{font-size:12px;font-weight:500}.notice p{font-size:12px;line-height:1.8;margin:7px 0}footer{display:flex;height:38px;align-items:center;justify-content:space-between;padding:0 25px;font-size:12px;letter-spacing:1px;color:#73857a;border-top:1px solid #e1e7e7}footer b{font-weight:400;margin:0 8px}.result{display:block;width:100%;text-align:left;padding:12px 6px;border-bottom:1px solid #edf0ef;font-size:14px}.result small{display:block;font-size:12px;color:#748779;margin-top:5px}.empty{font-size:14px;line-height:1.8;color:#708376}dialog{width:min(680px,90vw);border:1px solid #dde7e0;border-radius:15px;padding:30px;color:#29483a;max-height:85dvh}dialog::backdrop{background:#0b242bc9;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;gap:15px}.dialog-head small{letter-spacing:2px;color:#788e7c;font-size:12px}.dialog-head h2{font-weight:500;font-size:23px}.dialog-head button{font-size:30px;align-self:start}dialog p{font-size:16px;line-height:1.8;color:#687e6e}dialog li{padding:8px 0}dialog li p{margin:6px 0}dialog ol{padding-left:22px}.architecture{background:#f1f6f1;padding:15px;border-radius:7px}@media(min-width:1500px){main{grid-template-columns:290px minmax(360px,1fr) 330px}.sidebar,.detail{padding:28px}}@media(max-width:1100px){main{grid-template-columns:220px minmax(300px,1fr) 260px}.sidebar,.detail{padding:20px 15px}.model-badge{display:none}.viewer-top{left:20px}.viewer-bottom>span{max-width:145px}.muted{display:none}}@media(max-width:800px){header{height:74px;padding:0 17px}.brand{font-size:18px}.brandmark{font-size:20px}.header-label{display:none}main{height:auto;min-height:0;grid-template-columns:1fr}.sidebar{padding:17px;border-right:0}.section-title,.sidebar-note,.list-heading{display:none}.search{margin-bottom:12px}nav{flex-direction:row;overflow:auto;gap:6px;padding-bottom:5px}.channel{width:auto;white-space:nowrap;padding:9px 12px;border-color:#e2e9e4}.channel .code{display:none}.viewer{height:660px;min-height:0;grid-row:2}.detail{padding:24px;display:block;border-left:0}.point-name{font-size:32px}.point-en{margin-bottom:16px}.notice{margin-bottom:0}.viewer-top{top:22px}.viewer-bottom>span{max-width:190px}footer{font-size:10px;letter-spacing:0;padding:0 15px}.plain{font-size:12px}#searchResults{max-height:260px;overflow:auto}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

@media(max-width:800px){.list-heading{display:flex;margin-bottom:8px}.model-note{font-size:12px}.viewer-bottom{left:16px;right:16px}.viewer-bottom>span{font-size:12px;max-width:175px}}

#svgSurface{position:absolute;inset:0;pointer-events:none}#svgSurface svg{width:100%;height:100%;display:block}#pointList{max-height:250px;overflow:auto;padding:3px}.svg-help{font-size:14px;line-height:1.6;color:#60756b}.display-settings .locate{margin:12px 0 0}.description{font-size:16px}.list-heading,.text-button{font-size:14px}[hidden]{display:none!important}
.admin-user{color:#39765d;font-size:13px;margin-left:auto;margin-right:12px;letter-spacing:0}
.admin-link{color:#39765d;text-decoration:none;font-size:12px;margin-left:auto}
#editorLogout{color:#39765d;font-size:13px;padding:6px 12px;border:1px solid #d3e9df;border-radius:5px}
#editorLogout:hover{background:#edf6f2}

#reviewTools{border-top:1px solid #dce5e1;margin-top:24px;padding-top:16px}#reviewTools h3{font-size:16px}#reviewTools p{font-size:14px;line-height:1.65;color:#536b64}#reviewTools label{display:block;font-size:14px;margin:12px 0 5px}#reviewTools input:not([type=checkbox]):not([type=file]),#reviewTools select,#reviewTools textarea{width:100%;font:inherit;font-size:14px;padding:9px;border:1px solid #b7c7c0;border-radius:5px;background:white;color:#253c40}#reviewTools textarea{resize:vertical}.draft-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.draft-actions button,.draft-actions .import-label{font-size:14px;padding:9px;border:1px solid #b7c7c0;border-radius:5px;text-align:center;margin:0!important;cursor:pointer}.import-label input{width:100%;font-size:12px;margin-top:4px}button:disabled,select:disabled{opacity:.5;cursor:default}#editMessage{min-height:1.6em}#reviewProgress{font-variant-numeric:tabular-nums}.detail{scrollbar-gutter:stable}#loading{padding:24px;z-index:3;background:#18333cee}

.model-switcher{position:absolute;top:130px;left:28px;right:28px;z-index:3;display:flex;align-items:center;gap:12px;flex-wrap:wrap;pointer-events:none}.model-switcher [role=group]{display:flex;padding:4px;border:1px solid #789797;border-radius:9px;background:#122d36;pointer-events:auto}.model-switcher button{min-height:40px;padding:7px 20px;color:#e3eded;border-radius:6px;font-size:16px}.model-switcher button[aria-pressed=true]{background:#dcece5;color:#183d38;font-weight:650}#bodyPreset{font-size:14px;color:#cee0dc}#modelMessage{width:100%;font-size:13px;color:#d2e5df;min-height:20px}@media(max-width:1100px){.model-switcher{left:20px;right:20px;top:126px}#bodyPreset{font-size:13px}}@media(max-width:800px){.viewer{height:730px}.model-switcher{top:118px}.viewer-top{top:18px}#bodyPreset{max-width:190px}.model-switcher button{padding:7px 16px}}

/* Reserve separate rows so controls never cover the head or SVG title. */
.model-switcher{position:relative;top:auto!important;left:auto!important;right:auto!important;margin:126px 20px 0;min-height:110px;align-content:start;gap:8px}.model-switcher [role=group]{flex-shrink:0}#bodyPreset{flex:1;min-width:150px}#canvasWrap{top:246px;bottom:112px}.viewer{min-height:860px}@media(max-width:800px){.viewer{height:900px;min-height:900px}.model-switcher{margin-top:116px}#canvasWrap{top:236px}}

main{min-height:900px}.viewer{min-height:900px}.model-switcher{display:grid;grid-template-columns:1fr;gap:6px;min-height:132px}.model-switcher [role=group]{justify-self:start}#bodyPreset{max-width:none!important}#canvasWrap{top:272px}@media(max-width:800px){main{min-height:0}.viewer{height:900px}#canvasWrap{top:262px}}

.cloud-tools{border:1px solid #bccfc9;background:#f1f7f4;border-radius:8px;padding:14px;margin-bottom:24px}.cloud-tools h3{margin:0 0 12px;font-size:16px}.cloud-tools p{font-size:14px;line-height:1.6}.cloud-tools .locate{margin:8px 0}.draft-actions button{min-height:40px}button:disabled{opacity:.5;cursor:default}.cloud-tools button[aria-pressed=true]{background:#285e4e;color:white}#workflowContent{font-size:16px;line-height:1.7}#workflowContent article{border-bottom:1px solid #d3dfda;padding:14px 0}#workflowContent small{display:block;font-size:13px;color:#566e64}#workflowCommit{background:#285e4e;color:white;padding:10px 18px;border-radius:6px}.cloud-tools [hidden]{display:none!important}

#labelLayer{position:absolute;inset:0;z-index:2;pointer-events:none}#labelLayer svg{width:100%;height:100%;overflow:hidden}.acupoint-label{pointer-events:auto;cursor:pointer}.acupoint-label:focus{outline:2px solid #a9eacb}.acupoint-label:hover rect{stroke:#fff;stroke-width:1}#labelHint{position:absolute;bottom:143px;left:20px;right:65px;font-size:13px;color:#d0e4df;pointer-events:none}.view-tools{max-width:calc(100% - 20px);flex-wrap:wrap;justify-content:center}.view-tools button{padding:8px 9px}#labelMode{width:100%;padding:8px;font:inherit}#labelLayer[hidden]{display:none}
