:root{color-scheme:light;--ink:#263d50;--muted:#516b7e;--blue:#3465a6;--line:#d4e2eb;--ice:#edf5fc}
#speedField{display:grid;gap:8px;min-width:0}#speedNode{width:100%;min-width:0;min-height:44px}#speedInfo,#speedPrivacy{color:var(--muted);font-size:13px;font-weight:400}
#workspace.speed-page .heading{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;justify-items:start;text-align:left;gap:12px;max-width:none;margin:22px 0}#workspace.speed-page #group,#workspace.speed-page #description{display:none}#workspace.speed-page #toolGlyph{width:44px;height:44px;padding:10px}#workspace.speed-page .heading h2{font:650 26px/1.4 system-ui,sans-serif}#workspace.speed-page #editor{background:transparent;border:0;border-block:1px solid var(--line);border-radius:0;padding:18px 0}
.speed-page #out:not(.error),.speed-page .result-head h3{display:none}.speed-page .result-head{justify-content:flex-end}
.speed-page#workspace{max-width:760px}.speed-page .heading h2{font:650 27px/1.4 system-ui,sans-serif}.speed-page .heading{margin:20px 0}.speed-page #editor{padding:22px 0;border-block:1px solid var(--line)}.speed-page .actions{margin-top:6px}.speed-page #run{min-width:132px;min-height:44px}.speed-page .result{margin-top:0}.speed-page #out{font-size:13px;color:var(--muted)}#speedPanel{padding:22px 0 14px}.speed-status{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--muted)}#speedPhase{display:flex;align-items:center;gap:8px}#speedPhase:before{content:"";height:7px;width:7px;background:#4c8b83;border-radius:50%}.speed-timing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));text-align:center;margin:28px 0 30px}.speed-timing>div+div{border-left:1px solid var(--line)}.speed-timing span{display:block;font-size:13px;color:var(--muted);margin-bottom:3px}.speed-timing strong{font:500 29px/1.5 system-ui,sans-serif;font-variant-numeric:tabular-nums;color:#a2665b}.speed-timing small{font-size:12px;margin-left:5px}.speed-gauges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.speed-metric{min-width:0;--gauge-color:#3465a6;text-align:center}.speed-upload{--gauge-color:#319279}.speed-metric h3{display:flex;align-items:center;justify-content:center;gap:7px;font:600 15px/1.4 system-ui,sans-serif}.speed-metric h3 img{width:17px;height:17px}.speed-dial{width:204px;max-width:100%;aspect-ratio:1;margin:12px auto 0;position:relative;--angle:0deg}.speed-ring{position:absolute;inset:0;background:conic-gradient(from 225deg,var(--gauge-color) var(--angle),#dce6eb var(--angle) 270deg,transparent 270deg);mask:radial-gradient(circle,transparent 62%,black 63%);border-radius:50%}.speed-number{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;padding-top:10px}.speed-number strong{font:550 38px/1.2 system-ui,sans-serif;font-variant-numeric:tabular-nums;max-width:100%;color:var(--ink)}.speed-number span{font-size:13px;color:var(--muted)}.speed-metric.is-active .speed-number{animation:speed-pulse 1.3s ease-in-out infinite}.speed-scale{font-size:12px;color:var(--muted);text-align:center;margin:0 0 8px}@keyframes speed-pulse{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){.speed-metric.is-active .speed-number{animation:none}}@media(max-width:540px){.speed-gauges{gap:16px}.speed-dial{width:164px}.speed-number strong{font-size:30px}.speed-timing{margin:22px 0}.speed-page #editor{padding:16px 0}.speed-scale{font-size:11px}.speed-page .heading h2{font-size:24px}}
#out.ip-profile{white-space:normal;word-break:normal}.ip-profile>*{display:block}.profile-address{font:600 20px/1.45 monospace;overflow-wrap:anywhere}.profile-title{margin:20px 0 6px;color:var(--blue)}.profile-row{display:grid;grid-template-columns:minmax(7em,1fr) 1.5fr;gap:12px;padding:6px 0;border-bottom:1px solid var(--line);font-size:14px}.profile-row b{overflow-wrap:anywhere;font-weight:550}.profile-note{margin-top:16px;color:var(--muted)}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#f5f9fc;font:16px/1.55 system-ui,"Microsoft YaHei",sans-serif}a{color:var(--blue);text-decoration:none}header{display:flex;align-items:center;justify-content:space-between;padding:12px max(5%,calc((100% - 1180px)/2));background:#eff8fc;border-bottom:1px solid var(--line)}header img{display:block;width:116px;height:38px;object-fit:contain}header a:last-child,#back{font-size:14px}
main{width:90%;max-width:1180px;margin:42px auto 72px}h1,h2,h3,p{margin:0}.eyebrow,#group,.category{font-size:12px;font-weight:650;color:#486e95}h1{font:700 44px/1.35 Georgia,"Songti SC","SimSun",serif;margin:8px 0}.intro,.desc,#description{color:var(--muted)}
.searchbox{display:flex;align-items:center;gap:12px;background:white;border:1px solid #c4d9e8;border-radius:32px;padding:0 20px;height:54px;margin:28px 0 15px}.searchbox img{width:20px;height:20px}.searchbox input{flex:1;width:0;border:0;background:none;color:inherit;outline:none}.searchbox:focus-within{outline:2px solid var(--blue);outline-offset:2px}
#filters{display:flex;overflow-x:auto;overscroll-behavior-x:contain;gap:6px;margin:0 0 24px}.filter{flex:none;white-space:nowrap;border:0;background:transparent;padding:7px 14px}.filter:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.filter[aria-pressed=true]{background:#dfedfa;color:#214f84;font-weight:650}
#catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:22px;min-height:181px}.card:hover{border-color:#91b7d6;background:#fbfdff}.iconrow,.badge,.actions,.result-head{display:flex;align-items:center}.iconrow,.result-head{justify-content:space-between}.badge{padding:8px;background:var(--ice);border-radius:6px}.glyph{width:21px;height:21px}.arrow{width:25px;height:25px;border:1px solid var(--line);border-radius:50%;padding:5px}.name{font-size:19px;margin:16px 0 4px}.desc{font-size:14px;flex:1}.category{margin-top:16px}#empty{text-align:center;padding:46px 12px;color:var(--muted)}#empty button{margin-top:12px}
#workspace{max-width:800px;margin:auto}.heading{margin:24px 0}.heading h2{font-size:29px}.heading p{margin-top:4px}form,form label{display:grid;gap:7px}form{gap:16px}label{font-weight:600}input,select,textarea,button{font:inherit;color:inherit}select,textarea,input[type=file]{max-width:100%;background:#fff;border:1px solid #bdcfd9;border-radius:6px;padding:9px 12px}select{width:max-content}textarea{width:100%;resize:vertical;min-height:120px}button,#download{cursor:pointer;border:1px solid #b9cedf;background:white;color:#345e82;border-radius:6px;padding:7px 14px}button.filter{border:0;background:transparent}button:disabled{opacity:.5;cursor:default}#run,#download{background:#345f95;color:white;border-color:#345f95}.actions,.result-head{gap:10px;flex-wrap:wrap}.result{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}h3{font-size:16px}output{display:block;min-height:40px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:460px;overflow:auto;margin-top:12px;font:15px/1.65 ui-monospace,monospace}output.error{color:#983e37}#preview{display:block;max-width:100%;max-height:340px;margin:12px 0}#download{display:inline-block}#swatch{width:96px;height:38px;border:1px solid #bbcbd5;border-radius:4px}[hidden]{display:none!important}:focus-visible{outline:2px solid #286ba7;outline-offset:2px}
@media(max-width:850px){#catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){main{margin:26px auto 50px}h1{font-size:34px}.searchbox{margin:20px 0 12px;height:46px}#filters{gap:3px;margin-bottom:16px}.filter{padding:6px 10px}#catalog{gap:10px}.card{padding:14px;min-height:167px}.name{font-size:16px;margin-top:12px}.desc{font-size:13px}.category{margin-top:10px}}
@media(max-width:340px){#catalog{grid-template-columns:minmax(0,1fr)}}
#pdfList{list-style:none;margin:0;padding:0}#pdfList li{display:flex;align-items:center;gap:6px;padding:8px 0;border-bottom:1px solid #d4e2eb}#pdfList span{flex:1;overflow-wrap:anywhere;min-width:0}#pdfList button{padding:5px 10px}#pdfParam{border:1px solid #bdcfd9;border-radius:6px;padding:9px 12px;min-width:0}#pdfSave{font-weight:650}
#localFields{display:flex;gap:12px;flex-wrap:wrap}#localFields:empty,#localPosition:empty{display:none}#localFields input{width:10em;max-width:100%;border:1px solid #bdcfd9;border-radius:6px;padding:8px}#localFields input[type=color]{width:60px;height:40px;padding:3px}#localSample{background:var(--ice);padding:16px;font-size:19px}#localAsset{min-width:0;overflow-wrap:anywhere}#localAsset pre{overflow:auto}#localAsset img{max-width:100%;max-height:420px}#localAsset .chip{display:inline-block;width:46px;height:34px;border:1px solid var(--line)}#localRun{background:#345f95;color:white}#localResult{font:inherit;font-size:18px;margin:0}#localSave{font-weight:650}
#localForm[data-tool=prompt] #localResult:not(:empty){font:600 30px/1.65 system-ui;padding:18px 0;border-block:1px solid var(--line)}
#practicePane label{display:grid;gap:6px}#practicePane input{border:1px solid var(--line);border-radius:6px;padding:10px;width:100%}#practiceState{font:600 26px/1.5 system-ui}#practiceRows{list-style:none;margin:18px 0;padding:0}#practiceRows li{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:8px 0;overflow-wrap:anywhere}#practiceRows button{max-width:80%}#practicePane .ready{color:white;background:#29765c}
#drawingCanvas{display:block;width:100%;height:auto;border:1px solid var(--line);margin:14px 0;touch-action:none}#drawingCanvas.qr{max-width:330px}#drawingInks{display:flex;gap:5px}#drawingInks button{width:28px;height:28px;padding:0;border-radius:50%}#drawingInks button[aria-pressed=true]{outline:2px solid var(--blue);outline-offset:1px}
.ai-entry{display:grid;gap:7px;min-width:0}.ai-composer textarea{display:block}.address-page#workspace{max-width:610px}.address-page #group{display:none}.address-page .heading{margin:16px 0 20px}.address-page .heading h2{font-size:26px}.address-page #aiForm{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.address-page #aiQuota{font-size:13px;color:var(--muted);margin-right:auto}.address-page #aiModeField{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500}.address-page #aiMode{padding:6px 8px}.address-page .ai-entry,.address-page #aiForm>.actions,.address-page #aiResult,.address-page #addressPrivacy{width:100%}.address-page #aiTextLabel{font-size:14px}
.address-page .ai-composer{border:1px solid #bdcfd9;border-radius:8px;background:white;overflow:hidden}.address-page .ai-composer:focus-within{border-color:#7196bd;box-shadow:0 0 0 2px #e0ebf5}.address-page #aiText{min-height:86px;border:0;outline:0;padding:14px 16px 4px;font:400 16px/1.6 system-ui,sans-serif;resize:vertical}.address-actions{display:flex;justify-content:flex-end;gap:2px;padding:0 6px 4px}.address-actions button{display:grid;place-items:center;width:44px;height:44px;border:none;background:none;padding:0}.address-actions button:hover,.address-actions button[aria-expanded=true]{background:var(--ice)}.address-actions img{width:19px;height:19px}
#addressRecords{padding:12px;border-block:1px solid var(--line)}#addressRows{display:grid;gap:4px;margin:8px 0}#addressRows button{text-align:left;overflow-wrap:anywhere}#addressStatus,#addressPrivacy{font-size:13px;color:var(--muted)}#addressPrivacy summary{cursor:pointer;width:max-content}#addressPrivacy small{display:block;margin-top:6px;font-size:13px}#addressStatus:empty,.address-page #aiAdStatus:empty,.address-page #aiResult:empty{display:none}.address-page #aiRun,.address-page #aiLogin{flex:1;min-height:44px;background:var(--blue);color:white;border:0;font-weight:600}.address-page #aiLogin:not([hidden])+#aiRun{display:none}.address-page #aiResult{margin:6px 0;padding:16px 0;border-top:1px solid var(--line);font:400 16px/1.65 system-ui,sans-serif}
.address-card{background:white;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:16px 20px;margin-bottom:12px;white-space:normal;text-align:left}
.address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px}
.address-caption,.address-grid>.address-cell:nth-child(2){grid-column:1/-1}
.address-caption,.address-key{font-size:12px;font-weight:650;color:var(--muted)}
.address-grid .address-cell{border-top:1px dashed var(--line);margin-top:9px;padding-top:10px}
.address-cell{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 6px;min-width:0}
.address-key{grid-column:1/-1}.address-value{font-size:16px;line-height:1.55;overflow-wrap:anywhere}
.address-card button.address-copy{width:40px;height:40px;display:grid;place-items:center;padding:0;border:none;background:transparent}
.address-copy img{width:17px;height:17px}.address-card .address-copy:hover{background:var(--ice)}
@media(max-width:360px){.address-grid{grid-template-columns:1fr}}
