:root{color-scheme:light;--ink:#172821;--muted:#56655d;--border:#dce5dd;--accent:#14583b;--paper:#f4f7f2;--rail:#14251e;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,pre:focus-visible{outline:2px solid #217b53;outline-offset:3px}svg{width:19px;height:19px;display:block;flex:none}h1,h2,p{margin:0}
.rail{position:fixed;inset:0 auto 0 0;width:218px;display:flex;flex-direction:column;background:var(--rail);color:#dce8de;padding:29px 18px 21px}.brand{display:flex;align-items:center;gap:11px;padding:0 6px;font-size:17px;letter-spacing:.03em;font-weight:750}.brand small{display:block;margin-top:4px;color:#a3b7a9;font:600 10px system-ui;letter-spacing:.17em}.mark{width:38px;height:38px;display:grid;place-items:center;background:#c3ec9b;color:#204229;border-radius:11px}.mark svg{width:23px;height:23px}.rail-caption{font-size:11px;color:#a3b7a9;margin:49px 12px 13px;letter-spacing:.12em}.nav-link{display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid transparent;border-radius:8px;font-size:13px;margin-bottom:5px}.nav-link:hover{background:#21382a}.nav-link.current{background:#294533;color:#e3f8d9;border-color:#3c5944;font-weight:700}.nav-link svg{width:16px;height:16px}.rail-footer{display:flex;gap:8px;align-items:center;margin-top:auto;padding:17px 9px 0;border-top:1px solid #3a4d40;color:#bbcebe;font-size:11px}.indicator{height:7px;width:7px;border-radius:50%;background:#a9df84}
main{margin-left:218px}.topline{display:flex;justify-content:space-between;align-items:center;gap:12px;height:65px;padding:0 34px;border-bottom:1px solid var(--border);background:#fbfcfa;font-size:12px;color:var(--muted)}.topline strong{color:var(--ink)}.crumb{padding:0 7px;color:#627367}.private{display:flex;align-items:center;gap:6px;color:#24583b;background:#e9f3e7;border:1px solid #d8e9d7;border-radius:30px;padding:5px 10px;white-space:nowrap}.private svg{width:14px;height:14px}
.content{width:min(1230px,100%);margin:auto;padding:26px 34px 24px}.hero{overflow:hidden;position:relative;isolation:isolate;display:flex;align-items:center;background:linear-gradient(110deg,#174534,#20583e 72%,#256545);min-height:146px;border:1px solid #225b40;border-radius:16px;padding:26px 29px;color:#f5fbf2;margin-bottom:22px}.hero-copy{z-index:2}.hero h1{font-size:clamp(27px,3vw,39px);font-weight:790;letter-spacing:-.055em;line-height:1.22}.hero p{margin-top:11px;font-size:13px;color:#d5e9d9;line-height:1.6}.hero-art{position:absolute;inset:0 0 0 auto;width:45%;background:radial-gradient(#a3d29e55 1px,transparent 1px) 1px 2px/14px 14px;mask-image:linear-gradient(90deg,transparent,#000 25%);pointer-events:none}.hero-art i{position:absolute;left:56%;top:50%;width:130px;height:130px;border:1px solid #b5e6a788;border-radius:23px;transform:translate(-50%,-50%) rotate(45deg)}.hero-art i:nth-child(2){width:99px;height:99px;background:#99d08018}.hero-art i:nth-child(3){width:62px;height:62px;background:#b8ea933b;border-color:#d7f2be}.art-line{position:absolute;width:85%;height:1px;left:13%;top:50%;background:linear-gradient(90deg,transparent,#b5e6a775,transparent)}
.workspace{display:grid;grid-template-columns:1.08fr 1fr;gap:18px;align-items:stretch}.card{min-width:0;display:flex;flex-direction:column;gap:18px;padding:20px;border:1px solid var(--border);background:#fff;border-radius:14px;box-shadow:0 2px 6px #193b2810}.card-heading{display:flex;align-items:center;gap:12px}.tile{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:#e8f2e8;color:#276145;flex:none}.card-heading h2,.section-heading h2{font-size:18px;line-height:1.25;letter-spacing:-.025em}.card-heading p{font-size:12px;color:var(--muted);margin-top:5px}.tabs{display:flex;gap:3px;padding:3px;background:#eff3ee;border:1px solid #e6ece6;border-radius:9px}.tabs button{width:50%;border:1px solid transparent;display:flex;justify-content:center;align-items:center;gap:7px;background:transparent;border-radius:7px;padding:7px 4px;color:var(--muted);font-size:12px;font-weight:650}.tabs button svg{width:14px;height:14px}.tabs button[aria-pressed=true]{color:#174c33;background:#fff;border-color:#dce5dc;box-shadow:0 1px 3px #23352910}
.label-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}label{font-size:12px;font-weight:700}.text-button{display:flex;align-items:center;gap:4px;background:none;border:0;padding:1px;color:#17623d;font-size:11px;font-weight:700}.text-button:hover{text-decoration:underline}.text-button svg{width:12px;height:12px}textarea,input,select{width:100%;min-width:0;border:1px solid #dbe4dc;border-radius:8px;background:#fcfdfa;color:var(--ink);font-size:13px;padding:9px 11px}textarea{height:105px;min-height:85px;resize:vertical;display:block;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all}textarea::placeholder,input::placeholder{color:#647469}.hint{color:var(--muted);font-size:11px;line-height:1.55;margin-top:7px}.field{display:grid;gap:7px;align-content:start;min-width:0}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:11px}.target{margin-top:17px}.target-hint{min-height:17px}.actions{display:flex;gap:8px;margin-top:15px}.actions button{display:flex;justify-content:center;align-items:center;gap:7px;white-space:nowrap;border-radius:8px;padding:9px 13px;font-size:12px;font-weight:700;min-height:37px}.actions svg{width:15px;height:15px}.primary{flex:1;background:var(--accent);color:white;border:1px solid var(--accent)}.primary:hover:not(:disabled){background:#1c724b}.secondary{background:#fff;color:#294337;border:1px solid #dbe5dc}.secondary:hover:not(:disabled){background:#edf4ed}.primary:disabled{background:#dbe6dd;color:#4d6456;border-color:#dbe6dd}.secondary:disabled{opacity:.65}.error{padding:9px 11px;background:#fff1ed;border:1px solid #efd1cb;border-radius:8px;color:#862d1f;font-size:12px;line-height:1.55;margin-top:10px}
.output-card{gap:14px}.preview{min-height:235px;flex:1;display:flex;flex-direction:column;background:#14271e;color:#e8f2e8;border-radius:10px;overflow:hidden;border:1px solid #263e30}.preview-head{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;background:#1d3327;border-bottom:1px solid #304c3a;font-size:11px;color:#d0e6d3}.preview-head span:first-child{display:flex;gap:7px;align-items:center}.preview-head svg{width:15px;height:15px}.extension{background:#324d3a;border-radius:4px;padding:3px 6px;font:650 10px ui-monospace,SFMono-Regular,monospace;color:#d4efcf}.empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:18px 10px;color:#b9cebd;font-size:11px}.empty strong{font-size:13px;color:#f0faee}.empty-icon{display:grid;place-items:center;width:40px;height:40px;background:#263f30;border:1px solid #3c5b46;border-radius:10px;color:#b9e3af;margin-bottom:3px}pre{white-space:pre;overflow:auto;margin:0;padding:14px;color:#d0f0c6;font:11px/1.62 ui-monospace,SFMono-Regular,Consolas,monospace;max-height:310px}.result{margin:0;min-height:0}.result:empty{display:none}.output-actions{margin-top:auto}
.protocols{margin-top:24px;scroll-margin-top:15px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}.section-heading span{color:var(--muted);font-size:11px}.protocol-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.protocol-card{display:flex;align-items:center;text-align:left;gap:8px;min-width:0;padding:11px 9px;background:#fff;border:1px solid var(--border);border-radius:10px;color:var(--ink)}.protocol-card:hover{border-color:#87ae90;background:#f7fbf5}.protocol-card strong{display:block;font-size:11px;overflow-wrap:anywhere;line-height:1.35}.protocol-card small{display:block;font-size:9px;color:var(--muted);margin-top:4px;line-height:1.35}.protocol-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;flex:none}.protocol-icon svg{width:15px;height:15px}.green{background:#e5f2e5;color:#226544}.blue{background:#e6f1f7;color:#205e79}.purple{background:#eee9f7;color:#624c8f}.orange{background:#faefdf;color:#8c562c}.protocol-arrow{margin-left:auto;color:#526c5b}.protocol-arrow svg{width:12px;height:12px}
@media(max-width:1140px){.rail{width:180px}main{margin-left:180px}.topline{padding-inline:24px}.content{padding-inline:24px}.protocol-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.rail{position:static;width:auto;flex-direction:row;align-items:center;padding:12px 17px;gap:18px}.brand{padding:0}.brand small,.rail-caption,.rail-footer{display:none}.rail nav{display:flex;gap:3px}.nav-link{padding:7px 8px;margin:0;white-space:nowrap}.nav-link svg{display:none}.mark{width:31px;height:31px}.mark svg{width:18px;height:18px}main{margin-left:0}.topline{height:45px}.hero{min-height:119px}}
@media(max-width:590px){.content,.topline{padding-inline:14px}.content{padding-top:15px}.workspace{grid-template-columns:1fr;gap:13px}.hero{padding:18px;min-height:120px;margin-bottom:14px}.hero-art{opacity:.45;width:41%}.hero p{font-size:12px;max-width:245px}.card{padding:15px}.protocols{margin-top:18px}.brand{font-size:14px;gap:7px}.rail{gap:10px;justify-content:space-between;padding-inline:13px}.nav-link{font-size:11px}.output-card .preview{min-height:212px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}}
