.ob-back{position:fixed;inset:0;z-index:60;display:grid;place-items:center;background:#0a0a0c8c}.ob,.ob-guide{--ob-bg: #FBFAF7;--ob-ink: #151515;--ob-ink2: #5E5A53;--ob-line: #E3DED4;--ob-card: #FFFFFF;--ob-soft: #F1EEE7;--ob-accent: var(--accent, #2563EB);--ob-tint: rgba(37, 99, 235, .08);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,system-ui,sans-serif}.ob{width:min(960px,100vw);height:min(640px,100vh);position:relative;overflow:hidden;border-radius:14px;background:var(--ob-bg);color:var(--ob-ink);box-shadow:0 20px 60px #00000059;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,system-ui,sans-serif;-webkit-font-smoothing:antialiased}[data-theme=dark] .ob,[data-theme=dark] .ob-guide{--ob-bg: #1B1B1D;--ob-ink: #F7F4EE;--ob-ink2: #A8A39A;--ob-line: #34333A;--ob-card: #232327;--ob-soft: #2A2A2F}.ob button,.ob-guide button{font-family:inherit;cursor:pointer;color:inherit}.ob button:disabled{opacity:.4;cursor:default}.ob button:focus-visible,.ob input:focus-visible{outline:2px solid var(--ob-accent);outline-offset:2px}.ob-plateau{background-color:#0e0e10;background-image:radial-gradient(circle at 1px 1px,rgba(247,244,238,.07) 1px,transparent 0);background-size:18px 18px}.ob-welcome{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;padding:24px;box-sizing:border-box}.ob-welcome h1{margin:0;font-size:44px;line-height:1.05;font-weight:700;letter-spacing:-.02em;color:#f7f4ee;text-align:center}.ob-welcome p{margin:0;max-width:520px;font-size:17px;line-height:1.45;color:#b4afa6;text-align:center;text-wrap:pretty}.ob-primary{height:40px;padding:0 20px;border:0;border-radius:10px;background:var(--ob-accent);color:#fff!important;font-size:14px;font-weight:600}.ob-primary.large{height:46px;padding:0 30px;border-radius:12px;font-size:16px}.ob-secondary{height:40px;padding:0 16px;border-radius:10px;border:1px solid var(--ob-line);background:var(--ob-card);font-size:14px;font-weight:500}.ob-link{height:36px;padding:0 12px;border:0;background:transparent;font-size:14px}.ob-small{height:34px;padding:0 12px;border-radius:9px;border:1px solid var(--ob-line);background:var(--ob-card);font-size:13px}.ob-split{position:absolute;inset:0;display:flex}.ob-stage{width:420px;flex:none;position:relative;overflow:hidden}.ob-scene{position:absolute;left:0;top:0;width:420px;height:640px;transform-origin:0 0}.ob-mark{position:absolute;left:26px;top:24px;display:flex;align-items:center;gap:8px;color:#f7f4ee;font-size:15px;font-weight:600;z-index:1}.ob-caption{position:absolute;left:40px;width:340px;text-align:center;font-size:13px;line-height:1.45;color:#8f8a82;text-wrap:pretty}.ob-content{flex:1;min-width:0;display:flex;flex-direction:column;padding:26px 36px 24px 40px;box-sizing:border-box}.ob-head{height:32px;flex:none;display:flex;align-items:center;justify-content:space-between}.ob-overline{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ob-ink2)}.ob-body{flex:1;min-height:0;padding-top:22px;display:flex;flex-direction:column;overflow-y:auto}.ob-body h2{margin:0;font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.015em}.ob-intro{margin:10px 0 20px;font-size:15px;line-height:1.5;color:var(--ob-ink2);text-wrap:pretty}.ob-foot{height:46px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px}.ob-dots{display:flex;align-items:center;gap:6px}.ob-dots span{height:6px;border-radius:3px;transition:width .3s,background .3s}.ob-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ob-choice{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px;min-height:124px;text-align:left;border-radius:14px;border:1.5px solid var(--ob-line);background:var(--ob-card)}.ob-choice[aria-pressed=true],.ob-row[aria-pressed=true],.ob-corner[aria-pressed=true]{border-color:var(--ob-accent);background:var(--ob-tint)}.ob-choice.dashed{border-style:dashed}.ob-choice b,.ob-row b{font-size:15px}.ob-choice span,.ob-row small,.ob-detail{font-size:12.5px;line-height:1.4;color:var(--ob-ink2)}.ob-list{display:flex;flex-direction:column;gap:8px}.ob-row{display:flex;align-items:center;gap:12px;min-height:58px;padding:8px 14px;text-align:left;border-radius:12px;border:1.5px solid var(--ob-line);background:var(--ob-card)}.ob-row .ob-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.ob-row .ob-dot{width:20px;height:20px;flex:none;border-radius:50%;border:1.5px solid var(--ob-line);box-sizing:border-box}.ob-row[aria-pressed=true] .ob-dot{border-color:var(--ob-accent);background:var(--ob-accent)}.ob-icon{width:38px;height:38px;flex:none;border-radius:9px;background:var(--ob-soft);display:flex;align-items:center;justify-content:center;overflow:hidden}.ob-icon img{width:30px;height:30px;object-fit:contain}.ob-waiting{display:flex;align-items:center;gap:12px;height:56px;padding:0 14px;border-radius:12px;background:var(--ob-card);border:1px solid var(--ob-line);color:var(--ob-ink2);font-size:14px}.ob-wrap{display:flex;flex-wrap:wrap;gap:8px}.ob-gesture{display:flex;gap:14px;align-items:flex-start;padding:12px 14px;border-radius:12px;border:1px solid transparent}.ob-gesture .ob-num{width:26px;height:26px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;background:var(--ob-soft);color:var(--ob-ink2)}.ob-gesture .ob-gt{display:flex;flex-direction:column;gap:3px}.ob-gesture b{font-size:15px}.ob-gesture .ob-gt span{font-size:13px;line-height:1.45;color:var(--ob-ink2)}.ob-chip{height:30px;padding:0 11px;border-radius:15px;border:1px solid var(--ob-line);background:var(--ob-card);font-size:12.5px;font-weight:500}.ob-chip[aria-pressed=true]{background:var(--ob-accent);border-color:var(--ob-accent);color:#fff!important}.ob-model{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:0 14px;border-radius:10px;border:1px solid var(--ob-line);background:var(--ob-card);font-size:14px;text-align:left}.ob-settings{margin-top:14px;display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;row-gap:12px;column-gap:12px;font-size:14px}.ob-settings>.ob-label{color:var(--ob-ink2)}.ob-field{width:76px;height:34px;box-sizing:border-box;padding:0 10px;border-radius:8px;border:1px solid var(--ob-line);background:var(--ob-card);color:var(--ob-ink);font:inherit;font-size:14px}.ob-corners{display:grid;grid-template-columns:repeat(2,44px);gap:6px}.ob-corner{width:44px;height:44px;position:relative;border-radius:9px;border:1.5px solid var(--ob-line);background:var(--ob-card)}.ob-corner i{position:absolute;left:11px;top:11px;width:19px;height:19px;border-radius:3px;border:1.5px solid var(--ob-ink2);box-sizing:border-box}.ob-corner em{position:absolute;width:9px;height:9px;border-radius:50%;background:var(--ob-line)}.ob-corner[aria-pressed=true] em{background:var(--ob-accent)}.ob-switch{display:flex;align-items:flex-start;gap:10px;padding:0;border:0;background:transparent;text-align:left;font-size:14px}.ob-switch .ob-track{width:38px;height:22px;flex:none;border-radius:11px;position:relative;background:var(--ob-line);transition:background .2s}.ob-switch .ob-track:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0000004d;transition:left .2s}.ob-switch[aria-pressed=true] .ob-track{background:var(--ob-accent)}.ob-switch[aria-pressed=true] .ob-track:after{left:18px}.ob-badge{padding:3px 8px;border-radius:6px;background:var(--ob-soft);color:var(--ob-ink2);font-size:11.5px;font-weight:600}.ob-note{margin-top:16px;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ob-ink2)}.ob-warn{font-size:12px;color:#c2410c}@media(max-width:760px),(max-height:560px){.ob{width:100vw;height:100vh;border-radius:0}.ob-split{flex-direction:column}.ob-stage{width:100%;height:36vh}.ob-content{padding:14px 18px 16px}.ob-body h2{font-size:24px}.ob-welcome h1{font-size:34px}.ob-settings{grid-template-columns:110px minmax(0,1fr)}}@keyframes ob-rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes ob-fade{0%{opacity:0}to{opacity:1}}@keyframes ob-out{0%{opacity:1}to{opacity:0}}@keyframes ob-t2800{0%{stroke-dashoffset:2800}to{stroke-dashoffset:0}}@keyframes ob-t3300{0%{stroke-dashoffset:3300}to{stroke-dashoffset:0}}@keyframes ob-move{0%{offset-distance:0%;opacity:1}94%{offset-distance:100%;opacity:1}to{offset-distance:100%;opacity:0}}@keyframes ob-glow{0%{opacity:0;transform:scale(.6)}60%{opacity:1}to{opacity:.6;transform:scale(1)}}@keyframes ob-spin{to{transform:rotate(360deg)}}@keyframes ob-pulse{0%{transform:scale(.2);opacity:.7}to{transform:scale(1);opacity:0}}@keyframes ob-pop{0%{opacity:0;transform:scale(.4)}70%{opacity:1;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}@keyframes ob-flicker{0%,to{opacity:.95}50%{opacity:.55}}@keyframes ob-glide{0%{transform:translate(-70px)}50%{transform:translate(70px)}to{transform:translate(-70px)}}@keyframes ob-flow{to{stroke-dashoffset:-28}}@keyframes ob-smoke{0%{opacity:0;transform:translateY(0) scale(.6)}25%{opacity:.45}to{opacity:0;transform:translateY(-48px) scale(1.5)}}@keyframes ob-d-trail{0%{stroke-dashoffset:140;opacity:1}50%{stroke-dashoffset:0;opacity:1}85%{stroke-dashoffset:0;opacity:1}to{stroke-dashoffset:0;opacity:0}}@keyframes ob-f-ring{0%{stroke-dashoffset:302;opacity:1}40%{stroke-dashoffset:0;opacity:1}85%{stroke-dashoffset:0;opacity:1}to{stroke-dashoffset:0;opacity:0}}@keyframes ob-f-spot{0%{offset-distance:0%;opacity:1}40%{offset-distance:100%;opacity:1}41%,to{offset-distance:100%;opacity:0}}@keyframes ob-g-draw{0%{stroke-dashoffset:430;stroke:#f7f4ee;opacity:1}25%{stroke-dashoffset:0;stroke:#f7f4ee}36%{stroke:#f7f4ee}42%{stroke:#6e9bff}66%{stroke:#6e9bff;opacity:1}72%{opacity:.22}94%{opacity:.22;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:0;stroke:#6e9bff}}@keyframes ob-g-chip{0%,36%{opacity:0;transform:translateY(8px)}42%,94%{opacity:1;transform:none}to{opacity:0;transform:none}}@keyframes ob-g-wood{0%,62%{opacity:0}68%,94%{opacity:1}to{opacity:0}}@keyframes ob-g-burn{0%,66%{stroke-dashoffset:430;opacity:1}92%{stroke-dashoffset:0;opacity:1}96%{opacity:1}to{stroke-dashoffset:0;opacity:0}}@keyframes ob-g-head{0%,65.9%{offset-distance:0%;opacity:0}66%{offset-distance:0%;opacity:1}92%{offset-distance:100%;opacity:1}93%,to{offset-distance:100%;opacity:0}}@keyframes ob-g-row{0%,31%{background-color:var(--ob-soft);border-color:var(--ob-line)}34%,97%{background-color:transparent;border-color:transparent}to{background-color:var(--ob-soft);border-color:var(--ob-line)}}@keyframes ob-g-num{0%,31%{background-color:var(--ob-accent);color:#fff}34%,97%{background-color:var(--ob-soft);color:var(--ob-ink2)}to{background-color:var(--ob-accent);color:#fff}}.ob-w-tr1{stroke-dasharray:2800;opacity:0;animation:ob-t2800 1.2s .25s cubic-bezier(.45,0,.25,1) both,ob-out .5s 2.4s ease both}.ob-w-tr2{stroke-dasharray:3300;opacity:0;animation:ob-t3300 1.5s .9s cubic-bezier(.45,0,.25,1) both,ob-out .5s 2.4s ease both}.ob-w-h1{opacity:0;offset-path:path("M395 343L404.2 617.8L503 538L417.2 630.8L595 640L417.2 649.2L503 750L404.2 662.2L395 915L385.8 662.2L282 748L372.8 649.2L205 640L372.8 630.8L282 538L385.8 617.8Z");offset-rotate:0deg;animation:ob-move 1.2s .25s cubic-bezier(.45,0,.25,1) forwards}.ob-w-h2{opacity:0;offset-path:path("M440 253H815C915 253 985 330 985 430C985 505 935 565 855 595C945 625 1010 700 1010 790C1010 900 925 990 815 990H440V795H705C745 795 778 762 778 722C778 682 745 648 705 648H650L740 537C758 515 745 487 710 487H440Z");offset-rotate:0deg;animation:ob-move 1.5s .9s cubic-bezier(.45,0,.25,1) forwards}.ob-w-f1{animation:ob-fade .6s 1.4s ease both}.ob-w-f2{animation:ob-fade .6s 2.3s ease both}.ob-w-glow{opacity:.6;animation:ob-glow 1.4s 2.2s ease-out both}.ob-r1{animation:ob-rise .6s 2.45s cubic-bezier(.2,.8,.2,1) both}.ob-r2{animation:ob-rise .6s 2.6s cubic-bezier(.2,.8,.2,1) both}.ob-r3{animation:ob-rise .6s 2.75s cubic-bezier(.2,.8,.2,1) both}.ob-c1{animation:ob-rise .5s .05s cubic-bezier(.2,.8,.2,1) both}.ob-c2{animation:ob-rise .5s .12s cubic-bezier(.2,.8,.2,1) both}.ob-c3{animation:ob-rise .5s .2s cubic-bezier(.2,.8,.2,1) both}.ob-c4{animation:ob-rise .5s .28s cubic-bezier(.2,.8,.2,1) both}.ob-in{animation:ob-fade .7s ease both}.ob-spinner{animation:ob-spin .8s linear infinite}.ob-flick{animation:ob-flicker .35s ease-in-out infinite}.ob-glide{animation:ob-glide 4s ease-in-out infinite}.ob-flow{stroke-dasharray:8 6;animation:ob-flow .6s linear infinite}.ob-d-trail{stroke-dasharray:140;animation:ob-d-trail 4s ease-in-out infinite}.ob-f-ring{stroke-dasharray:302;animation:ob-f-ring 2.4s cubic-bezier(.3,0,.3,1) infinite}.ob-f-spot{opacity:0;offset-path:path("M110 282A70 18 0 1 0 250 282A70 18 0 1 0 110 282");offset-rotate:0deg;animation:ob-f-spot 2.4s cubic-bezier(.3,0,.3,1) infinite}.ob-g-draw{stroke-dasharray:430;stroke-dashoffset:0;opacity:.22;animation:ob-g-draw 9s linear infinite}.ob-g-chip{animation:ob-g-chip 9s linear infinite}.ob-g-wood{animation:ob-g-wood 9s linear infinite}.ob-g-burn{stroke-dasharray:430;stroke-dashoffset:0;animation:ob-g-burn 9s linear infinite}.ob-g-head{opacity:0;offset-path:path("M160 168C112 134 88 110 88 84C88 64 104 50 122 50C138 50 151 59 160 72C169 59 182 50 198 50C216 50 232 64 232 84C232 110 208 134 160 168Z");offset-rotate:0deg;animation:ob-g-head 9s linear infinite}.ob-gesture{animation:ob-g-row 9s linear infinite}.ob-gesture .ob-num{animation:ob-g-num 9s linear infinite}.ob-g-d2,.ob-g-d2 .ob-num{animation-delay:-6s}.ob-g-d3,.ob-g-d3 .ob-num{animation-delay:-3s}.ob-sweep{animation:ob-spin 2.6s linear infinite}.ob-pulse{animation:ob-pulse 2.6s ease-out infinite}.ob-pop1{animation:ob-pop .5s .1s cubic-bezier(.2,.8,.2,1) both}.ob-pop2{animation:ob-pop .5s .35s cubic-bezier(.2,.8,.2,1) both}.ob-e-tr{stroke-dasharray:2800;animation:ob-t2800 2s .3s linear both}.ob-e-fill{animation:ob-fade .8s 2.2s ease both}.ob-e-head{opacity:0;offset-path:path("M395 343L404.2 617.8L503 538L417.2 630.8L595 640L417.2 649.2L503 750L404.2 662.2L395 915L385.8 662.2L282 748L372.8 649.2L205 640L372.8 630.8L282 538L385.8 617.8Z");offset-rotate:0deg;animation:ob-move 2s .3s linear forwards}.ob-smoke{opacity:0;animation:ob-smoke 1.8s ease-out infinite}.ob-sm2{animation-delay:.6s}.ob-sm3{animation-delay:1.2s}.ob-home-ring{animation:ob-pulse 1.8s ease-out infinite}.ob-head-box{transition:left .9s cubic-bezier(.2,.8,.2,1),top .9s cubic-bezier(.2,.8,.2,1)}.ob-guide{position:fixed;inset:0;z-index:70;color:var(--ob-ink)}.ob-guide-block{position:absolute;inset:0}.ob-guide-hole{position:absolute;border-radius:10px;border:2px solid var(--ob-accent);box-sizing:border-box;pointer-events:none;box-shadow:0 0 0 9999px #0a0a0c73;transition:left .45s cubic-bezier(.2,.8,.2,1),top .45s cubic-bezier(.2,.8,.2,1),width .45s cubic-bezier(.2,.8,.2,1),height .45s cubic-bezier(.2,.8,.2,1)}.ob-guide-bubble{position:absolute;display:flex;flex-direction:column;gap:8px;padding:16px;box-sizing:border-box;border-radius:14px;background:var(--ob-card);box-shadow:0 16px 40px #0000004d;transition:left .45s cubic-bezier(.2,.8,.2,1),top .45s cubic-bezier(.2,.8,.2,1)}.ob-guide-bubble b{font-size:17px}.ob-guide-bubble p{margin:0;font-size:13.5px;line-height:1.45;color:var(--ob-ink2)}.ob-guide-actions{display:flex;align-items:center;gap:8px;margin-top:4px}.ob-guide-actions button{white-space:nowrap}@media(prefers-reduced-motion:reduce){.ob-guide-hole,.ob-guide-bubble{transition:none}}.ob.fb{display:flex}.fb .fb-col{display:flex;flex-direction:column}.fb .fb-gap2{gap:2px}.fb .fb-gap6{gap:6px}.fb .fb-gap8{gap:8px}.fb .fb-gap10{gap:10px}.fb .fb-grow{flex:1}.fb .fb-row{display:flex;gap:8px}.fb .fb-wrap{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.fb-side{width:300px;flex:none;box-sizing:border-box;padding:36px 32px 32px;display:flex;flex-direction:column;gap:22px;color:#f7f4ee;background-size:16px 16px}.fb-side h1{margin:0;font-size:26px;line-height:1.15;font-weight:700;letter-spacing:-.015em}.fb-side p{margin:0;font-size:15px;line-height:1.5;color:#a8a39a}.fb-what{font-size:12.5px;line-height:1.45;color:#a8a39a}.fb-what b{color:#f7f4ee;font-size:13px}.fb-art{position:relative;height:170px;display:flex;align-items:center;justify-content:center}.fb-art svg{position:relative;overflow:visible}.fb-glow{position:absolute;left:10px;top:-10px;width:220px;height:190px;border-radius:50%;background:radial-gradient(closest-side,#ff6a2b29,#ff6a2b00)}@keyframes fb-trace{0%{stroke-dashoffset:700}to{stroke-dashoffset:0}}@keyframes fb-move{0%{offset-distance:0%;opacity:1}94%{offset-distance:100%;opacity:1}to{offset-distance:100%;opacity:0}}@keyframes fb-fade{0%{opacity:0}to{opacity:1}}@keyframes fb-rise{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes fb-pop{0%{opacity:0;transform:scale(.4)}70%{opacity:1;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}@keyframes fb-spin{to{transform:rotate(360deg)}}.fb-tr{stroke-dasharray:700;animation:fb-trace 1.8s .3s cubic-bezier(.45,0,.25,1) both}.fb-head{opacity:0;offset-path:path("M30 20H170C181 20 190 29 190 40V100C190 111 181 120 170 120H90L56 148V120H30C19 120 10 111 10 100V40C10 29 19 20 30 20Z");offset-rotate:0deg;animation:fb-move 1.8s .3s cubic-bezier(.45,0,.25,1) forwards}.fb-l1{animation:fb-fade .5s 2.1s ease both}.fb-l2{animation:fb-fade .5s 2.25s ease both}.fb-l3{animation:fb-fade .5s 2.4s ease both}.fb-r1{animation:fb-rise .5s .05s cubic-bezier(.2,.8,.2,1) both}.fb-r2{animation:fb-rise .5s .12s cubic-bezier(.2,.8,.2,1) both}.fb-r3{animation:fb-rise .5s .2s cubic-bezier(.2,.8,.2,1) both}.fb-main{flex:1;min-width:0;display:flex;flex-direction:column}.fb-scroll{flex:1;overflow-y:auto;box-sizing:border-box;padding:30px 36px 24px;display:flex;flex-direction:column;gap:22px}.fb-caps{font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ob-ink2)}.fb-label{font-size:14px;font-weight:600}.fb-opt{font-weight:400;color:var(--ob-ink2)}.fb-sub{font-size:12.5px;color:var(--ob-ink2)}.fb-kinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fb .fb-kind{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 14px;text-align:left;border-radius:14px;border:1.5px solid var(--ob-line);background:var(--ob-card);color:var(--ob-ink)}.fb .fb-kind.on{border-color:var(--ob-accent);background:var(--ob-tint)}.fb-kind b{font-size:15px}.fb-ico{width:36px;height:36px;flex:none;border-radius:10px;background:var(--ob-soft);display:flex;align-items:center;justify-content:center}.fb .fb-input{height:44px;box-sizing:border-box;padding:0 14px;border-radius:10px;border:1px solid var(--ob-line);background:var(--ob-card);color:var(--ob-ink);font-size:15px;font-family:inherit}.fb .fb-area{height:auto;min-height:104px;padding:12px 14px;line-height:1.5;resize:vertical}.fb .fb-input::placeholder{color:var(--ob-ink2);opacity:.8}.fb .fb-input:focus-visible{outline:2px solid var(--ob-accent);outline-offset:2px}.fb-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.fb-seg{display:flex;padding:3px;gap:3px;border-radius:11px;background:var(--ob-soft)}.fb .fb-seg button{flex:1;min-height:38px;padding:4px 6px;border:0;border-radius:8px;background:transparent;color:var(--ob-ink);font-size:13px}.fb .fb-seg button.on{background:var(--ob-card);font-weight:600;box-shadow:0 1px 2px #0000001f}.fb .fb-chip{height:34px;padding:0 14px;border-radius:17px;border:1px solid var(--ob-line);background:var(--ob-card);color:var(--ob-ink);font-size:13.5px}.fb .fb-chip.on{border-color:var(--ob-accent);background:var(--ob-accent);color:#fff}.fb .fb-attach{display:flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:10px;border:1px solid var(--ob-line);background:var(--ob-card);color:var(--ob-ink);font-size:13.5px}.fb-pj{display:flex;align-items:center;gap:8px;height:38px;padding:0 6px 0 8px;border-radius:10px;background:var(--ob-soft);font-size:13px}.fb .fb-pj button{width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:var(--ob-ink2)}.fb-thumb{width:40px;height:26px;border-radius:5px;background-color:#0e0e10;background-image:radial-gradient(circle at 1px 1px,rgba(247,244,238,.18) 1px,transparent 0);background-size:5px 5px}.fb .fb-toggle{display:flex;align-items:flex-start;gap:12px;padding:4px 0;border:0;background:transparent;color:var(--ob-ink);text-align:left;font-size:14px}.fb-track{width:38px;height:22px;flex:none;margin-top:1px;border-radius:11px;position:relative;background:var(--ob-line)}.fb-track.on{background:var(--ob-accent)}.fb-knob{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .15s ease}.fb-track.on .fb-knob{left:18px}.fb-tech{margin-left:50px;padding:8px 12px;border-radius:8px;background:var(--ob-soft);font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:12px;line-height:1.5;color:var(--ob-ink2);overflow-wrap:anywhere}.fb-foot{flex:none;height:72px;box-sizing:border-box;padding:0 36px;display:flex;align-items:center;gap:12px;border-top:1px solid var(--ob-line)}.fb-hint{flex:1;font-size:13px;color:var(--ob-ink2)}.fb-hint.warn{color:#c2410c}.fb-send{display:flex;align-items:center;gap:8px}.fb-spin{width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:fb-spin .8s linear infinite}.fb-done{flex:1;min-width:0;box-sizing:border-box;padding:48px 56px;display:flex;flex-direction:column;justify-content:center;gap:22px}.fb-done h2{margin:0;font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.015em}.fb-done p{margin:0;max-width:480px;font-size:15px;line-height:1.5;color:var(--ob-ink2)}.fb-pop{width:56px;height:56px;border-radius:50%;background:var(--ob-accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:700;animation:fb-pop .5s .1s cubic-bezier(.2,.8,.2,1) both}.fb-recap{max-width:480px;display:flex;flex-direction:column;border-radius:14px;border:1px solid var(--ob-line);background:var(--ob-card);font-size:14px}.fb-recap>div{display:flex;gap:16px;padding:12px 16px;border-bottom:1px solid var(--ob-line)}.fb-recap>div:last-child{border-bottom:0}.fb-recap>div>span:first-child{width:110px;flex:none;color:var(--ob-ink2)}.fb-ell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fb-done .fb-note{font-size:12.5px}@media(max-width:760px){.ob.fb{flex-direction:column}.fb-side{width:auto;flex-direction:row;align-items:center;gap:16px;padding:16px 20px}.fb-art{height:96px;width:120px;flex:none;transform:scale(.6);transform-origin:center}.fb-side h1{font-size:20px}.fb-side p{font-size:13px}.fb .fb-what,.fb .fb-side .fb-grow{display:none}.fb-main,.fb-done{min-height:0}.fb-done{overflow-y:auto}.fb-scroll{padding:20px}.fb-kinds,.fb-two{grid-template-columns:minmax(0,1fr)}.fb-foot{padding:0 20px}.fb-done{padding:28px 24px}}@media(prefers-reduced-motion:reduce){.fb *{animation:none!important;transition:none!important}.fb .fb-head{opacity:0}}:root{--bg: #f4f5f7;--panel: #ffffff;--panel-2: #eef0f3;--line: #d9dde3;--text: #1d2026;--muted: #6b7280;--accent: #2f6fed;--accent-text: #ffffff;--stage: #e3e6ea;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:13px;color:var(--text);background:var(--bg)}:root[data-theme=dark]{--bg: #1b1d21;--panel: #24272c;--panel-2: #2c3036;--line: #3a3f46;--text: #e6e8eb;--muted: #9aa1ab;--accent: #4c8dff;--stage: #15171a}*{box-sizing:border-box}html,body,#root{margin:0;height:100%}body{background:var(--bg)}button,select,input,a.button{font:inherit;color:inherit}a.button{text-decoration:none;display:inline-block}button,a.button{background:var(--panel-2);border:1px solid var(--line);border-radius:6px;padding:4px 10px;cursor:pointer}button:hover:not(:disabled),a.button:hover{border-color:var(--accent)}button:disabled{opacity:.45;cursor:default}input,select{background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:3px 6px}.app{display:grid;grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,1fr);height:100%}.loading,.fatal{display:grid;place-items:center;height:100%;color:var(--muted);padding:16px;text-align:center}.fatal{color:#d33}.topbar{display:flex;align-items:center;gap:8px;padding:3px 10px;min-height:36px;background:var(--panel);border-bottom:1px solid var(--line)}.brand{font-weight:700;letter-spacing:.02em;margin-right:6px;white-space:nowrap}.menubar-item.app-menu>button{font-weight:700;letter-spacing:.02em;white-space:nowrap}.topbar>.grow{flex:1}.menubar{display:flex;align-items:center;gap:2px}.menubar-item{position:relative}.menubar-item>button{position:relative;z-index:22;background:none;border:1px solid transparent;padding:4px 10px;border-radius:6px}.menubar-item>button:hover:not(:disabled),.menubar-item>button:focus-visible{background:var(--panel-2);border-color:transparent}.menubar-item>button.on{background:var(--accent);color:var(--accent-text)}.menubar .menu.dropdown{min-width:240px}.menubar .menu-back{z-index:20}.menubar-item .menu button{display:flex;align-items:center;gap:8px}.menu-check{width:14px;flex:none;text-align:center}.menu-label{flex:1;overflow:hidden;text-overflow:ellipsis;max-width:360px}.menu-shortcut{color:var(--muted);font-size:12px;margin-left:18px;font-variant-numeric:tabular-nums}.menu button:not(:disabled):hover .menu-shortcut,.menu button:focus-visible .menu-shortcut{color:inherit}.menu button:focus-visible{background:var(--accent);color:var(--accent-text);outline:none}.topbar-actions{display:flex;align-items:center;gap:6px}.drop-overlay{position:fixed;inset:8px;z-index:50;pointer-events:none;display:grid;place-items:center;border:3px dashed var(--accent);border-radius:14px;background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--text);font-size:18px;font-weight:600}.topbar-actions button.icon{width:30px;padding:3px 0;font-size:16px;line-height:1.1}.sep{width:1px;height:20px;background:var(--line);margin:0 4px}.lang{color:var(--muted)}.body{display:grid;position:relative;min-height:0;grid-template-columns:calc(48px * var(--ui-zoom, 1)) minmax(0,1fr) min(var(--side-width, 300px),max(260px,calc(100% - 368px * var(--ui-zoom, 1))))}.side-resizer{position:absolute;top:0;bottom:0;z-index:6;width:9px;touch-action:none;cursor:col-resize;right:calc(min(var(--side-width, 300px),max(260px,calc(100% - 368px * var(--ui-zoom, 1)))) - 5px)}.side-resizer:after{content:"";position:absolute;top:0;bottom:0;left:3px;width:3px;border-radius:2px;transition:background .15s}.side-resizer:hover:after,.side-resizer.dragging:after,.side-resizer:focus-visible:after{background:var(--accent)}.side-resizer:focus-visible{outline:none}.tools{display:flex;flex-direction:column;gap:4px;padding:6px;background:var(--panel);border-right:1px solid var(--line)}.tools button{width:36px;height:36px;padding:0;font-size:18px;line-height:1}.tools button.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.stage{position:relative;background:var(--stage);min-width:0;min-height:0}.canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;transition:opacity .2s}.toast{position:absolute;left:50%;bottom:16px;transform:translate(-50%);max-width:70%;white-space:pre-line;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:8px 12px;box-shadow:0 4px 16px #0003;cursor:pointer}.panel{background:var(--panel);border-left:1px solid var(--line);overflow:auto;display:flex;flex-direction:column}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 6px}.panel-head h2{font-size:13px;margin:0}.icon{padding:0 8px;font-size:16px}.layers{list-style:none;margin:0;padding:0 8px}.layers li{display:flex;gap:8px;align-items:center;padding:6px;border-radius:8px;cursor:pointer;border:1px solid transparent}.layers li.active{background:var(--panel-2);border-color:var(--accent)}.swatch{width:28px;height:22px;border-radius:5px;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:700;text-shadow:0 0 2px rgba(0,0,0,.6);flex:none}button.swatch{border:none;padding:0;cursor:pointer}button.swatch:disabled{cursor:default;opacity:1}.layers li[draggable=true]{cursor:grab}.layers li.drop{box-shadow:inset 0 2px 0 var(--accent)}.menu.layer-menu{position:fixed;z-index:50;min-width:220px}.layer-colors{display:flex;flex-direction:column;gap:6px;padding:10px 12px;margin:6px 8px 0;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.layer-colors p{margin:0;font-size:12px}.layer-color-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.layer-color-grid .swatch{position:relative;width:100%;height:26px}.layer-color-grid .swatch.on{outline:2px solid var(--accent);outline-offset:1px}.layer-color-grid .taken{position:absolute;top:2px;right:2px;width:5px;height:5px;border-radius:50%;background:#fff;box-shadow:0 0 2px #000000b3}.layer-actions button{padding:2px 8px}.layer-name{display:flex;flex-direction:column;min-width:0;flex:1}.layers .row-icon{flex:none;display:grid;place-items:center;padding:3px;background:none;border:none;color:var(--muted)}.layers button.row-icon:hover{color:var(--text)}.layers .row-icon.on{color:var(--accent)}.layer-name small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.settings{display:flex;flex-direction:column;gap:8px;padding:12px;border-top:1px solid var(--line);margin-top:8px}.settings .ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.layer-dot{display:inline-block;width:10px;height:10px;border-radius:2px;flex:none}.layer-settings h2{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layer-settings h3{margin:4px 0 0;font-size:13px;font-weight:600}.layer-settings .sublayer-choice{align-items:flex-end}.layer-settings .sublayer-choice .field{flex:1}.layer-pages{display:flex;gap:4px}.layer-pages button{flex:1}.layer-pages button.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.layer-page{display:flex;flex-direction:column;gap:8px}.field{display:flex;justify-content:space-between;align-items:center;gap:8px}.field>span:first-child{color:var(--muted)}.field input{width:110px;text-align:right}.field select{min-width:0;max-width:65%}.field.job-gcode{flex-wrap:wrap;align-items:flex-start}.field.job-gcode textarea{flex:1 1 55%;min-width:0;font-family:ui-monospace,monospace}.field.job-gcode select{flex:1 1 100%;max-width:100%}.field.job-gcode small{flex:1 1 100%;line-height:1.35}.input-unit{display:flex;align-items:center;gap:4px}.input-unit input{width:80px}.input-unit em{font-style:normal;color:var(--muted);min-width:32px;white-space:nowrap}.segmented{display:grid;grid-template-columns:repeat(4,1fr);gap:2px}.segmented button{padding:4px 2px;font-size:12px;display:flex;flex-direction:column;align-items:center;gap:2px}.mode-icon{flex:none;vertical-align:-2px}.layer-name small .mode-icon{margin-right:3px;color:var(--muted)}fieldset.reminders{border:1px solid var(--line);border-radius:8px;padding:6px 10px 8px;margin:8px 0;display:flex;flex-direction:column;gap:4px}fieldset.reminders legend{font-weight:600;padding:0 4px}fieldset.reminders ul{margin:0;padding-left:18px}.segmented button.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.toggle{display:flex;gap:8px;align-items:center}.note{color:var(--muted);margin:0}.statusbar{display:flex;gap:18px;padding:4px 12px;background:var(--panel);border-top:1px solid var(--line);color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden}.grow{flex:1}@media(max-width:820px){.body{grid-template-columns:48px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 40%}.side{grid-column:1 / -1;border-left:none;border-top:1px solid var(--line)}.side-resizer{display:none}}.menu.dropdown.floating{position:fixed;margin-top:0}.side{display:flex;flex-direction:column;min-height:0;overflow:auto;background:var(--panel);border-left:1px solid var(--line)}.side .panel{border-left:none;overflow:visible}.inspector{padding:10px 12px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:8px}.inspector h2{font-size:13px;margin:0}.inspector .inspector{padding:10px 0 0;border-bottom:none;border-top:1px solid var(--line)}.inspector-hint{margin:0;font-size:12px;line-height:1.4}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:6px 10px}.grid2 label{display:flex;align-items:center;gap:6px;color:var(--muted)}.grid2 label input{margin-left:auto}.grid2 label .unit{font-size:11px}.row{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.row button.on,.topbar button.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.muted{color:var(--muted)}.text-style{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--line);padding-top:8px}.text-style textarea{font:inherit;color:inherit;background:var(--panel);border:1px solid var(--line);border-radius:5px;padding:4px 6px;resize:vertical}.text-style select{max-width:160px}button.link{background:none;border:none;color:var(--accent);padding:0;text-align:left}.text-field{position:absolute;z-index:2;font:inherit;font-size:14px;color:var(--text);background:var(--panel);border:1px solid var(--accent);border-radius:6px;padding:4px 6px;resize:none;box-shadow:0 4px 14px #0003}.preview-card{position:absolute;top:12px;left:12px;display:flex;flex-direction:column;gap:2px;background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:8px 12px;box-shadow:0 4px 16px #00000026}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:8px 12px 0}.tabs button.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.laser{display:flex;flex-direction:column;gap:10px;padding:12px}.laser h2{font-size:13px;margin:0}.galvo-summary{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin:0;font-size:12px}.galvo-summary dt{color:var(--muted)}.galvo-summary dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.framing-keys{flex-wrap:wrap;gap:4px}.framing-keys button{min-width:32px}.calibration-result{grid-template-columns:max-content 1fr}.glyph-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:6px 0}.glyph-grid .glyph{display:flex;justify-content:center;padding:6px;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit}.glyph-grid .glyph.selected{border:2px solid var(--accent)}.galvo-preview{width:100%;background:#fff;border:1px solid var(--line);border-radius:4px}.camera-result-image{margin:8px 0}.camera-result-image img{display:block;max-width:100%;max-height:300px;margin:0 auto;border:1px solid var(--line);border-radius:4px}.camera-result-findings{list-style:none;padding:0;margin:8px 0;display:flex;flex-direction:column;gap:8px}.camera-result-findings li{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.camera-result-findings li.ok strong{color:#1f9d55}.camera-result-findings li.warn strong{color:#c27c0e}.connect{display:flex;flex-direction:column;gap:8px}.connect .address{flex:1;min-width:0}.network-line{flex-wrap:nowrap}.network-line .address-line{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,Menlo,monospace;font-size:12px}.network-line .address-line.unset{font-family:inherit;font-size:inherit;color:var(--muted)}.found-lasers{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.found-lasers button{width:100%;display:flex;justify-content:space-between;gap:8px;text-align:left}.found-lasers button.on{border-color:var(--accent)}.laser-head{display:flex;align-items:center;gap:8px}.state{font-weight:600;padding:2px 8px;border-radius:10px;background:var(--panel-2);white-space:nowrap}.state.idle{color:#1f9d55}.state.run,.state.jog,.state.home{color:var(--accent)}.state.alarm,.state.door{color:#d33}.state.hold{color:#c27c0e}.mono{font-variant-numeric:tabular-nums;margin:0}.tangent-preview{width:100%;height:240px;background:var(--panel-2);border-radius:6px;color:var(--text, #888)}.device-icon{width:24px;height:24px;object-fit:contain;vertical-align:middle;margin-right:8px}.gcode-preview{font-family:ui-monospace,Menlo,monospace;font-size:11px;max-height:180px;overflow:auto;background:var(--panel-2);padding:6px 8px;border-radius:6px;white-space:pre}.jog{display:grid;grid-template-columns:repeat(3,72px);gap:4px;justify-content:center}.jog select{width:72px;padding:3px 2px}.jog button{height:34px;font-size:16px}button.primary{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}button.danger{background:#c0392b;color:#fff;border-color:#c0392b}button.stop{background:#d33;color:#fff;border-color:#d33;font-weight:700;flex:1}button.stop-small{color:#d33;border-color:#d33;font-weight:600}.console pre{max-height:180px;overflow:auto;font-size:11px;background:var(--panel-2);padding:6px;border-radius:6px;margin:6px 0}.console pre .sent{color:var(--accent)}.console pre .error{color:#d33}.console input{width:100%}.laser-card{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}.laser-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.laser-card-name{font-size:15px;font-weight:600}.laser-card-facts{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12px}.state-pill{font-weight:600;font-size:12px;padding:2px 10px;border-radius:999px;white-space:nowrap;background:var(--panel-2);color:var(--muted)}.state-pill.ok{background:color-mix(in srgb,#1f9d55 16%,transparent);color:#1f9d55}.state-pill.busy{background:color-mix(in srgb,#c27c0e 16%,transparent);color:#c27c0e}.state-pill.bad{background:color-mix(in srgb,#d33 16%,transparent);color:#d33}.laser-action{display:flex;flex-direction:column;gap:8px}.big-row{display:flex;flex-wrap:wrap;gap:8px}.big-row>button.big,.big-row>button.big.stop{flex:1 1 0;min-width:max-content}button.big{min-height:40px;font-size:14px;font-weight:600;border-radius:8px}button.big.primary{background:var(--accent);color:var(--accent-text);border-color:var(--accent);width:100%}button.big.stop{flex:none}.job-progress{width:100%;height:8px}.job-overview{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-size:12px}.job-overview p{margin:0}.job-overview-head{display:flex;justify-content:space-between;gap:8px;font-weight:600}.job-layers{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px;max-height:172px;overflow:auto}.job-layer{display:flex;align-items:center;gap:6px;width:100%;padding:2px 4px;border:none;border-radius:6px;background:none;color:inherit;font:inherit;text-align:left;min-height:0}button.job-layer{cursor:pointer}button.job-layer:hover{background:var(--panel-2)}.job-layer .swatch{width:22px;height:16px;font-size:10px;border-radius:4px}.job-layer-name{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.job-layer-name .mode-icon{flex:none;color:var(--muted)}.job-layer-values{flex:none;white-space:nowrap}.job-skipped{overflow-wrap:anywhere}button.job-placement{font:inherit;text-align:left}.alarm-banner{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:10px;border:1px solid #d33;background:color-mix(in srgb,#d33 10%,transparent);color:#d33}.alarm-banner span{color:var(--text)}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}button.tool{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;font-size:12px;border-radius:8px}button.tool.on{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent)}.tool-icon{font-size:18px;line-height:1.1;color:var(--muted)}button.tool.stop-tool{color:#d33;border-color:#d33;font-weight:600}button.tool.stop-tool .tool-icon{color:inherit}.ruida-jog{display:flex;flex-direction:column;gap:6px;align-items:center}.ruida-jog .jog{grid-template-columns:repeat(3,minmax(44px,60px))}.ruida-jog .jog button{touch-action:none;user-select:none}.ruida-jog-hint{font-size:11px;text-align:center;align-self:center}.ruida-jog-z{display:flex;gap:4px}.ruida-jog-z button{height:30px;min-width:64px;touch-action:none;user-select:none}.ruida-modal{width:min(460px,94vw)}.laser:not(.camera) button{white-space:nowrap;hyphens:none;overflow-wrap:normal;word-break:normal;max-width:100%;overflow:hidden;text-overflow:ellipsis}.laser:not(.camera) button.tool{white-space:normal;text-align:center;text-overflow:clip}.laser:not(.camera) button.link{white-space:normal}.dot-power{gap:8px}.dot-power .mono{min-width:3.5em;text-align:center}.jog-panel{display:flex;flex-direction:column;gap:8px;align-items:stretch;padding:8px;border:1px solid var(--line);border-radius:8px}.laser-section{border-top:1px solid var(--line);padding-top:8px}.laser-section>summary{cursor:pointer;font-weight:600;font-size:13px;padding:2px 0}.laser-section[open]>summary{margin-bottom:8px}.laser-section>:not(summary)+:not(summary){margin-top:8px}.laser-section.connect{display:block}.segmented.four{grid-template-columns:repeat(auto-fit,minmax(60px,1fr))}.shared-connect{display:flex;flex-direction:column;gap:8px}.shared-connect .address{width:100%}.hub-code-help{font-size:12.5px;line-height:1.4}.hub-code-help summary{cursor:pointer;font-weight:500}.hub-code-help dl{margin:6px 0}.hub-code-help dt{font-weight:600;margin-top:6px}.hub-code-help dd{margin:0;opacity:.8}.hub-code-help code{display:block;width:fit-content;margin-top:3px;padding:2px 6px;border-radius:4px;font-size:12.5px;background:#7f7f7f2e;user-select:all}.hub-code-help p{margin:6px 0 0;opacity:.8}.hub-queue ol{margin:4px 0 0;padding-left:20px;display:flex;flex-direction:column;gap:2px}.hub-activity{margin-top:6px}.hub-activity summary{cursor:pointer;color:var(--muted, #888)}.hub-log{list-style:none;margin:4px 0;padding:0;display:flex;flex-direction:column;gap:2px;font-size:12px}.hub-log .mono{opacity:.7;margin-right:4px}.hub-indicator{display:inline-flex;align-items:center;gap:6px}.hub-indicator .hub-dot{width:9px;height:9px;border-radius:50%;background:#9ca3af;box-shadow:0 0 0 2px #9ca3af40}.hub-indicator.green .hub-dot{background:#22c55e;box-shadow:0 0 0 2px #22c55e4d}.hub-indicator.orange .hub-dot{background:#f59e0b;box-shadow:0 0 0 2px #f59e0b4d}.hub-indicator.busy .hub-dot{animation:hub-pulse 1.4s ease-in-out infinite}@keyframes hub-pulse{50%{box-shadow:0 0 0 5px #22c55e26}}@media(prefers-reduced-motion:reduce){.hub-indicator.busy .hub-dot{animation:none}}@media(max-width:700px){.hub-indicator .hub-indicator-label{display:none}}.focus-dialog ol{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px}.speed-table{border-collapse:collapse;font-variant-numeric:tabular-nums}.speed-table th,.speed-table td{padding:3px 8px;text-align:right;border-bottom:1px solid var(--line)}.speed-table th:first-child,.speed-table td:first-child{text-align:left;color:var(--muted)}.note.warn{color:#c27c0e;cursor:pointer}.row.end{justify-content:flex-end}.modal-back{position:fixed;inset:0;background:#00000059;display:grid;place-items:center;z-index:30}.modal{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px;width:min(420px,92vw);max-height:calc(100dvh - 16px);overflow:auto;box-sizing:border-box;display:flex;flex-direction:column;gap:10px}.modal h2{margin:0;font-size:15px}.modal p{margin:0}.placement{display:flex;flex-direction:column;gap:8px;padding-top:10px;border-top:1px solid var(--line)}.placement h3,.advanced summary{margin:0;font-size:13px;font-weight:600}.origin-grid{display:grid;grid-template-columns:repeat(3,18px);gap:3px}.origin-grid button{width:18px;height:18px;padding:0;border-radius:4px}.origin-grid button.on{background:var(--accent);border-color:var(--accent)}.advanced{display:flex;flex-direction:column;gap:8px}.advanced[open]{padding-bottom:4px}.advanced>*:not(summary){margin-top:8px}.advanced summary{cursor:pointer;color:var(--muted)}.blockers ul{margin:4px 0 0;padding-left:18px}.modal p.warn{color:#c27c0e}.question-back{z-index:40}.modal.question p{white-space:pre-line;line-height:1.45}.modal.question>input{width:100%;box-sizing:border-box}.statusbar button.link{background:none;border:none;padding:0;color:inherit;font:inherit;cursor:pointer;text-decoration:underline dotted}.stage{display:flex;flex-direction:column}.viewport{position:relative;flex:1;min-height:0}.palette-bar{flex:none;display:flex;gap:3px;padding:4px 8px;overflow-x:auto;scrollbar-width:none;background:var(--panel);border-top:1px solid var(--line)}button.palette-swatch{flex:none;width:26px;height:20px;padding:0;border-radius:4px;border:1px solid rgba(128,128,128,.2);font-size:10px;font-variant-numeric:tabular-nums;line-height:1;cursor:pointer}button.palette-swatch.used{font-weight:700;border-color:#80808073}button.palette-swatch.on,button.palette-swatch.on:hover{border:2px solid var(--accent)}.editbar{display:flex;gap:4px;align-items:center;flex-wrap:wrap;padding:4px 8px;background:var(--panel);border-bottom:1px solid var(--line)}.editbar button{min-width:28px;height:26px;padding:0 6px;font-size:13px}.editbar .sep{width:1px;height:18px;background:var(--line);margin:0 2px}.editbar .tb-group{display:inline-flex;gap:4px;align-items:center;flex-wrap:nowrap}.segmented.two{grid-template-columns:repeat(2,1fr)}.menu-back{position:fixed;inset:0;z-index:20}.menu{position:fixed;display:flex;flex-direction:column;min-width:190px;padding:4px;background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:0 6px 24px #00000040}.menu button{text-align:left;border:none;background:none;padding:5px 10px;border-radius:5px}.menu button:not(:disabled):hover{background:var(--accent);color:var(--accent-text)}.menu hr{border:none;border-top:1px solid var(--line);margin:4px 0;width:100%}.modal .field input:not([inputmode]){width:220px;text-align:left}.image-panel h3{margin:0;font-size:13px}.slider{display:grid;grid-template-columns:96px 1fr 40px;align-items:center;gap:6px}.slider>span{color:var(--muted)}.slider em{font-style:normal;text-align:right;font-variant-numeric:tabular-nums;color:var(--muted)}.modal.wide{width:min(560px,94vw);max-height:92vh;overflow:auto}.trace-preview{width:100%;max-height:320px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:6px;image-rendering:pixelated}.model-preview{background:#000;image-rendering:auto}.modal.sim3d{width:min(1100px,96vw);height:min(780px,94dvh);max-height:none;overflow:hidden}.modal.sim3d h2{margin:0}.sim3d-view{position:relative;flex:1;min-height:200px;border-radius:8px;overflow:hidden;background:#1b1d22}.sim3d-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;cursor:grab}.sim3d-canvas:active{cursor:grabbing}.sim3d-laser{position:absolute;left:10px;top:10px;padding:3px 8px;border-radius:6px;font-size:12px;background:#00000073;color:#d8dbe2;pointer-events:none}.sim3d-laser.on{background:#7c5cffd9;color:#fff}.sim3d-home{position:absolute;right:10px;top:10px}.sim3d-empty{position:absolute;left:50%;top:56px;transform:translate(-50%);padding:6px 12px;border-radius:6px;background:#0000008c;color:#fff;pointer-events:none}.sim3d-bar{display:flex;align-items:center;gap:10px}.sim3d-bar.wrap{flex-wrap:wrap;row-gap:6px}.sim3d-bar .segmented{display:inline-flex}.sim3d-bar .segmented button{padding:4px 8px}.sim3d-time{font-variant-numeric:tabular-nums;white-space:nowrap}.field.inline{display:inline-flex;align-items:center;gap:6px}.field.inline .input-unit input{width:56px}@media(max-width:640px){.modal.sim3d{width:100vw;height:100dvh;border-radius:0}.sim3d-bar{flex-wrap:wrap}}.slider{grid-template-columns:88px minmax(0,1fr) 34px}.slider input{width:100%;min-width:0}.test-preview{max-width:100%;align-self:center;border:1px solid var(--line);border-radius:6px}.axes{display:grid;grid-template-columns:1fr 1fr;gap:8px}fieldset.axis{border:1px solid var(--line);border-radius:8px;padding:6px 8px 8px;margin:0;display:flex;flex-direction:column;gap:6px;min-width:0}fieldset.axis legend{color:var(--muted);padding:0 4px}fieldset.axis .field input{width:80px}@media(max-width:560px){.axes{grid-template-columns:1fr}}.reference-row{display:flex;gap:10px;align-items:center}.reference-row .grid2{flex:1}.sublayer{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--line);border-radius:8px}.segmented.three{grid-template-columns:repeat(3,1fr)}.library-list{display:flex;flex-direction:column;gap:4px;max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:4px}.library-entry{display:flex;align-items:center;gap:6px;padding:4px 6px;border-radius:6px}.library-entry:hover{background:var(--panel-2)}.library-entry>span{flex:1;display:flex;flex-direction:column;min-width:0}.library-entry small{color:var(--muted)}.library-filter{width:100%;box-sizing:border-box;margin-bottom:6px}textarea.notes{width:100%;box-sizing:border-box;font:inherit;resize:vertical}.menu-anchor{position:relative}.menu.dropdown{position:absolute;top:100%;left:0;margin-top:4px;z-index:21;max-height:70vh;overflow:auto}.menu-anchor .menu-back{z-index:20}.menu button{white-space:nowrap;line-height:1.3}.live-controls{display:flex;flex-direction:column;gap:4px}.ov-label{min-width:110px;font-variant-numeric:tabular-nums}.goto{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;align-items:center}.goto .field input{width:64px}.macros .macro{display:inline-flex;gap:2px}ol.steps{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:10px}ol.steps li>.row{margin-top:6px}.jog.mini{align-self:center;margin:6px 0}.live-controls .row{flex-wrap:nowrap}.live-controls button{padding:2px 6px}.ov-label{min-width:0;flex:1}.goto{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.goto .field input{width:52px}.goto .field{gap:4px}.modal.help{width:min(1000px,94vw);height:88vh;overflow:auto}.modal.help iframe{flex:1;width:100%;border:1px solid var(--line);border-radius:8px;background:#fff}.modal.help h2{margin:0}table.shortcuts{border-collapse:collapse;width:100%}table.shortcuts td{padding:4px 8px;border-bottom:1px solid var(--line);vertical-align:top}table.shortcuts td:first-child{white-space:nowrap;color:var(--muted)}table.shortcuts th{text-align:left;padding:10px 8px 4px;font-size:13px}.camera-preview{width:100%;border-radius:6px;border:1px solid var(--line);background:#000}.x1-align{display:flex;flex-direction:column;gap:6px;padding:8px 10px;border:1px solid var(--line);border-radius:8px}.calibration-image{max-width:100%;max-height:52vh;min-height:0;align-self:center;cursor:crosshair;border:1px solid var(--line);border-radius:8px}.tabs{grid-template-columns:repeat(3,1fr)}.editbar{position:relative}.mode-pill{position:absolute;top:calc(100% + 6px);left:8px;z-index:5;display:inline-flex;align-items:center;gap:6px;padding:2px 4px 2px 10px;border-radius:999px;background:color-mix(in srgb,#db2777 18%,var(--panel));color:#db2777;font-size:12px}.align-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.editbar .align-grid button{display:flex;flex-direction:column;align-items:center;gap:4px;height:auto;min-height:58px;padding:8px 4px;font-size:11px;line-height:1.2}.align-grid button .glyph{font-size:18px}.preview-card .probe{display:flex;flex-direction:column;gap:4px;margin-top:6px;padding:6px 8px;border-radius:6px;background:color-mix(in srgb,#facc15 14%,transparent);max-width:420px}.preview-card .probe .row{display:flex;gap:6px}.preview-timeline{display:flex;align-items:center;gap:8px;margin-top:6px;flex-wrap:wrap}.preview-timeline input[type=range]{flex:1 1 200px;min-width:160px}.preview-timeline .play{width:30px;padding-left:0;padding-right:0}.preview-timeline .stamp{font-variant-numeric:tabular-nums}.recovery-banner{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid var(--line);background:color-mix(in srgb,#f59e0b 16%,var(--panel));flex-wrap:wrap}.recovery-banner>span{flex:1 1 320px}.modal.font-browser{width:min(560px,94vw)}.font-list{max-height:50vh;overflow-y:auto;display:flex;flex-direction:column}.font-list h3{margin:8px 0 4px;font-size:12px;color:var(--muted);font-weight:600}.font-row{display:flex;align-items:baseline;gap:12px;text-align:left;padding:6px 8px;border:0;background:transparent;border-radius:6px}.font-row:hover,.font-row.on{background:color-mix(in srgb,var(--accent, #3b82f6) 16%,transparent)}.font-row .font-name{width:180px;flex:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.font-row .font-sample{font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.diagnosis{margin:0;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:6px}.diagnosis li.ok{color:var(--text)}.diagnosis li.warn{color:#c27c0e}.modal.lens-modal{width:min(560px,94vw)}.lens-models{display:flex;flex-direction:column;gap:8px}.lens-models [role=radiogroup]{display:flex;flex-direction:column;gap:4px}.lens-model{display:flex;align-items:flex-start;gap:8px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.lens-model.on{border-color:var(--accent)}.lens-name{flex:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px}.lens-name small{flex-basis:100%}.lens-tag{font-size:11px;font-weight:600;color:var(--accent);background:color-mix(in srgb,var(--accent) 15%,transparent);border-radius:9px;padding:0 7px}.lens-error{font-variant-numeric:tabular-nums}.lens-preview{width:100%;height:auto;max-height:300px;object-fit:contain;border-radius:6px;background:#000}.lens-frames{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px;font-size:13px}.lens-frames li{display:flex;align-items:center;gap:8px}.lens-frames li .muted{margin-left:auto;font-variant-numeric:tabular-nums}.lens-frames li.warn{color:#c27c0e}.topbar,.tools,.editbar,.selection-bar,.panel,.statusbar,.modal,.side .tabs,.side .laser,.side .inspector,.side .settings:not(.panel *),.pref-window,.ob{zoom:var(--ui-zoom, 1)}.editbar .grow{flex:1}.editbar .modes{display:inline-flex;gap:4px}.editbar .modes button.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.panel-head .grow{flex:1}.menu.dropdown.end{right:0;left:auto}.menu .menu-title{padding:6px 10px 2px;font-size:11px;color:var(--muted, #888);text-transform:uppercase;letter-spacing:.03em}.menu [role=group]{display:flex;flex-direction:column}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}.modal label.column{display:flex;flex-direction:column;gap:4px}.modal label.column textarea,.modal label.column input{width:100%;box-sizing:border-box;font:inherit}.modal label.column em{font-style:normal;font-size:12px}.modal details ul{margin:6px 0 0;padding-left:18px;font-size:12px;overflow-wrap:anywhere}.update-banner{position:fixed;top:12px;left:50%;transform:translate(-50%);z-index:20;display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:min(760px,94vw);padding:14px 18px;border-radius:12px;background:var(--accent);color:#fff;box-shadow:0 8px 30px #00000059;font-size:15px}.update-banner strong{font-size:17px}.update-banner span{flex:1 1 260px;opacity:.95}.update-banner button{background:#ffffff2e;color:#fff;border-color:#ffffff80}.update-banner button.primary{background:#fff;color:var(--accent);font-weight:600}.update-banner code{padding:2px 6px;border-radius:4px;background:#00000040;font-size:13px;user-select:all}a.button.donate{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border:1px solid #db2777;border-radius:6px;color:#db2777;text-decoration:none;font:inherit}a.button.donate:hover{background:color-mix(in srgb,#db2777 12%,transparent)}.debug-info{position:absolute;top:8px;left:8px;z-index:3;padding:6px 8px;border-radius:6px;background:color-mix(in srgb,var(--panel) 85%,transparent);color:#db2777;font:11px/1.4 ui-monospace,Menlo,monospace;pointer-events:none}.vendor-links{gap:14px;flex-wrap:wrap;font-size:13px}.diagnosis-path{list-style:none;margin:0;padding:0;font-size:12px}.diagnosis-answers{display:flex;flex-direction:column;gap:6px}.diagnosis-answers button{text-align:left;padding:8px 10px}.diagnosis-steps{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}.diagnosis-dialog h3{margin:4px 0;font-size:14px}.scan-table{display:flex;flex-direction:column;gap:4px}.scan-table .row .field{flex:1}.controller-dialog h3{margin:6px 0 2px;font-size:14px}.controller-dialog .ok{color:#16a34a;margin:0}.controller-dialog .warn{color:#dc2626;font-size:12px}ul.mismatches{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:4px}.setting-row{display:grid;grid-template-columns:1fr 110px 56px;gap:8px;align-items:center}.setting-name{display:flex;flex-direction:column}.setting-name em{font-size:11px;font-style:normal}.setting-value{text-align:right;font-variant-numeric:tabular-nums}.setting-unit{font-size:11px}ul.job-log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;max-height:50vh;overflow:auto}ul.job-log li{display:flex;flex-direction:column;gap:2px;padding-bottom:6px;border-bottom:1px solid var(--line, rgba(127,127,127,.2))}.job-log-head{display:flex;justify-content:space-between;gap:8px}ul.job-log .warn{color:#ea580c}table.usage-totals{width:100%;border-collapse:collapse;margin:4px 0}table.usage-totals th{text-align:left;font-weight:400;color:var(--muted);padding:2px 8px 2px 0}table.usage-totals td{text-align:right;padding:2px 16px 2px 0}ul.usage-tasks{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:10px}ul.usage-tasks li{display:flex;flex-direction:column;gap:4px;padding-bottom:8px;border-bottom:1px solid var(--line)}ul.usage-tasks progress{width:100%}ul.usage-tasks li.due progress{accent-color:#ea580c}ul.usage-tasks .row{justify-content:space-between}.usage-task-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}ul.usage-tasks .warn{color:#ea580c}.keep-out-zone{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}.keep-out-zone .row input{flex:1;min-width:0}.head-item{display:flex;flex-direction:column;gap:2px;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid var(--line)}.head-item .row input{flex:1;min-width:0}.head-item textarea{font-family:ui-monospace,monospace;font-size:12px}.templates-dialog h3{margin:6px 0 2px;font-size:14px}ul.templates{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}ul.templates li{display:flex;gap:6px}ul.templates .template{flex:1;text-align:left}.art-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;max-height:50vh;overflow:auto}.art-item{display:flex;flex-direction:column;gap:2px}.art-insert{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px}.art-insert span{font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.art-thumb{width:100%;height:80px}.art-item .row{justify-content:center}.heading-link{margin-left:auto;font-size:13px;font-weight:400}.modal h2:has(.heading-link){display:flex;align-items:center;gap:8px}.segmented.two{grid-template-columns:repeat(2,1fr);max-width:160px}.steps-dialog h3{margin:8px 0 0;font-size:14px}.steps-dialog>button{align-self:flex-start}.history-dialog h3{margin:6px 0 0;font-size:13px;color:var(--muted)}ul.history{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px;max-height:40vh;overflow:auto}ul.history button{width:100%;text-align:left}ul.batch-files{list-style:none;margin:8px 0;padding:0;max-height:40vh;overflow:auto}ul.batch-files li{display:flex;justify-content:space-between;gap:12px;padding:2px 0;border-bottom:1px solid var(--line)}ul.history.redo button{opacity:.7}.snap-toggle{display:inline-flex;align-items:center;gap:4px;font-size:12px;white-space:nowrap}.ruler{position:absolute;z-index:2;background:var(--panel);color:var(--muted);touch-action:none}.ruler-top{top:0;left:var(--ruler, 18px);right:0;height:var(--ruler, 18px);width:calc(100% - var(--ruler, 18px));border-bottom:1px solid var(--line);cursor:s-resize}.ruler-left{top:var(--ruler, 18px);left:0;bottom:0;width:var(--ruler, 18px);height:calc(100% - var(--ruler, 18px));border-right:1px solid var(--line);cursor:e-resize}.ruler-corner{position:absolute;z-index:2;top:0;left:0;width:var(--ruler, 18px);height:var(--ruler, 18px);padding:0;border:0;border-radius:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel);color:var(--muted);display:grid;place-items:center}.ruler-corner:hover{color:var(--text)}.ruler-bubble{position:absolute;z-index:3;pointer-events:none;padding:2px 7px;border-radius:6px;background:var(--text);color:var(--panel);font-size:calc(15px * var(--ruler-k, 1));font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;box-shadow:0 1px 4px #0000004d}.ruler-bubble.x{top:calc(var(--ruler, 18px) + 4px);transform:translate(-50%)}.ruler-bubble.y{left:calc(var(--ruler, 18px) + 4px);transform:translateY(-50%)}.guide-tag{position:absolute;z-index:2;pointer-events:none;padding:1px 5px;border-radius:4px;background:var(--guide);font-size:calc(11px * var(--ruler-k, 1));line-height:1.3;white-space:nowrap;max-width:28ch;overflow:hidden;text-overflow:ellipsis}.guide-tag.v{top:calc(var(--ruler, 18px) + 3px);margin-left:3px}.guide-tag.h{left:calc(var(--ruler, 18px) + 3px);transform:translateY(calc(-100% - 2px))}.debug-info{top:26px;left:26px}@media(max-width:560px){.brand{display:none}.topbar{flex-wrap:wrap;gap:4px;padding:2px 6px}.menubar-item>button{padding:4px 7px}.editbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.editbar>*{flex:none}.body{grid-template-columns:44px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 45%}.tools{padding:4px}.tools button{width:34px;height:34px}.statusbar{gap:10px;padding:4px 8px;overflow-x:auto;scrollbar-width:none}.statusbar>*{flex:none}}.info-list{margin:4px 0}.info-list .row{justify-content:space-between;gap:12px}.info-list dt{color:var(--muted, #888)}.info-list dd{margin:0;font-variant-numeric:tabular-nums}.preview-material{max-width:170px}.job-panel .laser-section-flat{display:flex;flex-direction:column;gap:4px;border-top:1px solid var(--line);padding-top:8px}.laser-picker{display:flex;flex-direction:column;gap:4px}.laser-picker-row{display:flex;align-items:center;gap:6px}.laser-picker-row select{flex:1;min-width:0;font-weight:600}.laser-picker-row .device-icon{margin-right:0}.laser-picker-row button.icon{width:30px;padding:3px 0;font-size:16px;line-height:1.1}.laser>button.add-laser{display:block;width:calc(100% - 16px);margin:8px}.art-catalog{display:flex;flex-direction:column;gap:8px}.art-entry{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid var(--line);border-radius:8px}.art-entry img{width:72px;height:72px;flex:none;background:#fff;border-radius:6px;object-fit:contain}.busy-note{position:fixed;left:50%;top:40%;transform:translate(-50%);z-index:1000;padding:10px 18px;border-radius:10px;background:var(--panel, #2c2c30);color:var(--text, #f2f2f5);box-shadow:0 6px 24px #00000059;font-size:14px;pointer-events:none;opacity:0;animation:busy-appear .2s ease-out .15s forwards}@keyframes busy-appear{to{opacity:1}}.galvo-board{border:1px solid var(--line);border-radius:8px;padding:8px 10px;margin-bottom:14px;background:var(--panel-2)}.galvo-board h2{margin-top:2px}.galvo-board .warn{color:#c27c0e}.tag{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;padding:1px 6px;border-radius:999px;border:1px solid #c27c0e;color:#c27c0e;vertical-align:middle}.projector-page{position:fixed;inset:0;background:#000}.projector-page canvas{display:block;width:100vw;height:100vh}.projector-hint{position:absolute;left:50%;bottom:24px;transform:translate(-50%);display:flex;gap:12px;align-items:center;color:#ccc;font:14px system-ui,sans-serif;background:#282828d9;padding:8px 14px;border-radius:8px}.projector-hint p{margin:0}.projector-dialog{max-width:560px}.projector-options{border:1px solid var(--line);border-radius:6px;margin:8px 0}.projector-preview{width:100%;height:auto;max-height:300px;border-radius:4px;touch-action:none;margin:6px 0}.projector-preview .corner circle{fill:#5aa0ff59;stroke:#5aa0ff;stroke-width:2;cursor:grab}.projector-preview .corner.on circle{fill:#ffc83c73;stroke:#ffc83c}.projector-preview .corner text{fill:#fff;pointer-events:none;font-family:system-ui,sans-serif}.pages-bar{display:inline-flex;align-items:center;gap:4px}.pages-bar select{max-width:160px}.menu.dropdown.up{top:auto;bottom:100%;margin-top:0;margin-bottom:4px}.web-tools{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:4px}.web-tools li{display:flex;align-items:center;justify-content:space-between;gap:8px}.web-tools li>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tools button.sketch-tool{font-size:20px}.sketchbar .sketch-title{margin-right:4px}.sketchbar button.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.sketch-status{margin-left:auto;color:var(--muted);white-space:nowrap}.sketch-status.good{color:#16a34a}.sketch-status.bad{color:#dc2626}.sketch-label{position:absolute;z-index:2;transform:translate(-50%,-50%);min-width:18px;height:18px;padding:0 4px;font-size:11px;line-height:16px;border-radius:4px;background:var(--panel);color:var(--muted);border:1px solid var(--line);white-space:nowrap;font-variant-numeric:tabular-nums}.sketch-label.dim{color:var(--text);font-size:12px;height:20px;line-height:18px}.sketch-label.redundant{color:#b45309;border-color:#f59e0b}.sketch-label.failing{color:#dc2626;border-color:#dc2626}.sketch-label.on{border-color:#ea580c;color:#ea580c;box-shadow:0 0 0 1px #ea580c}.sketch-field{position:absolute;z-index:3;transform:translate(-50%,-50%);display:flex;flex-direction:column;gap:2px}.sketch-field input{width:140px;font-size:13px;padding:3px 6px;border:1px solid var(--accent);border-radius:5px;background:var(--panel);box-shadow:0 4px 14px #0003}.sketch-error{color:#dc2626;font-size:12px}.sketch-field .sketch-error{background:var(--panel);border-radius:4px;padding:2px 4px;max-width:220px}.params-dialog{min-width:420px}.params-dialog table{width:100%;border-collapse:collapse}.params-dialog th{text-align:left;color:var(--muted);font-weight:400;padding:2px 4px}.params-dialog td{padding:2px 4px}.params-dialog td input{width:100%}.modal.guides-dialog{width:min(600px,94vw)}.guides-dialog h3{margin:6px 0 0;font-size:13px}.guides-table{width:100%;border-collapse:collapse}.guides-table th{text-align:left;color:var(--muted);font-weight:400;padding:2px 4px}.guides-table td{padding:2px 4px}.guides-dialog .guide-value{width:7em;text-align:right}.guides-dialog .guide-name{width:100%;min-width:8em;box-sizing:border-box}.guides-dialog input[type=color]{width:36px;height:24px;padding:0 2px}.guides-dialog .row{flex-wrap:wrap;align-items:center}.extensions-dialog{min-width:440px;max-width:560px}.extensions-dialog ul.extensions{list-style:none;padding:0;margin:0 0 8px;display:flex;flex-direction:column;gap:10px}.extensions-dialog ul.extensions li{border:1px solid var(--line);border-radius:8px;padding:8px 10px;display:flex;flex-direction:column;gap:2px}.extensions-dialog .row.wrap{flex-wrap:wrap;gap:6px}.extension-run{min-width:360px}.modal.examples-dialog{width:min(900px,96vw);max-height:94dvh}.examples-dialog .row.wrap{flex-wrap:wrap}.examples-dialog input[type=search]{min-width:140px}.example-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;min-height:160px;max-height:52dvh;overflow:auto;padding:2px}.example-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px;background:var(--panel);border:1px solid var(--line);border-radius:8px;text-align:center}.example-card.chosen{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}.example-card .name{font-size:12px;line-height:1.25}.example-card .small,.examples-dialog .small{font-size:11px}.example-thumb{width:100%;height:104px;object-fit:contain;background:#fff;border-radius:4px}.example-thumb.missing{display:block;background:repeating-linear-gradient(45deg,var(--line) 0 6px,transparent 6px 12px)}.example-chosen{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px;border:1px solid var(--line);border-radius:8px}.example-chosen input{width:180px}.modal.layered-dialog{width:min(1080px,96vw);max-height:96dvh}.layered-dialog h3{margin:6px 0 2px;font-size:13px}.layered-body{display:grid;grid-template-columns:minmax(240px,300px) 1fr;gap:16px;align-items:start}@media(max-width:760px){.layered-body{grid-template-columns:1fr}}.layered-settings{display:flex;flex-direction:column;gap:6px}.layered-settings input[type=number]{width:72px}.layered-settings .unit{width:28px}.layered-settings .ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layered-preview{display:flex;flex-direction:column;gap:8px;min-width:0}.layered-image{width:100%;max-height:52dvh;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:6px}.layered-image.clickable{cursor:crosshair}.layered-views{min-width:220px}.layered-layers{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;max-height:24dvh;overflow:auto}.layered-layers li{display:flex;gap:4px}.layered-layers li.selected .layer-row{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}.layered-layers .layer-row{display:flex;align-items:center;gap:8px;text-align:left}.layered-layers .swatch{width:14px;height:14px;border-radius:3px;border:1px solid var(--line);flex:none}.layered-dialog .warn{color:#c27c0e}.settings.flash{animation:section-flash 1.6s ease-out}@keyframes section-flash{0%,45%{box-shadow:inset 0 0 0 2px var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--panel))}to{box-shadow:inset 0 0 0 2px transparent}}.help-icon{width:22px;height:22px;padding:0;border-radius:50%;font-weight:600;flex:none}.field.readout>span:last-child{font-variant-numeric:tabular-nums}.context-menu button{display:flex;align-items:center;gap:8px}.context-menu .submenu{position:relative;display:flex;flex-direction:column}.context-menu .menu.nested{position:absolute;left:calc(100% - 4px);top:-4px;z-index:21;max-height:70vh;overflow:auto}.context-menu .menu-shortcut{color:var(--muted);font-size:12px}.inspector.nodes .row button{flex:1}.text-edit-large{width:100%;box-sizing:border-box;min-height:180px;font:inherit}.live-readout{position:absolute;pointer-events:none;font-size:12px;font-variant-numeric:tabular-nums;padding:2px 8px;border-radius:999px;background:var(--panel);border:1px solid var(--line);box-shadow:0 2px 8px #00000026;white-space:nowrap;z-index:5}.statusbar-measure{color:#e8890c;font-variant-numeric:tabular-nums}.menubar .menu-sub{position:relative;display:flex;flex-direction:column}.menubar .menu.dropdown.nested{position:fixed;z-index:22;max-height:75vh;overflow:auto}.boolean-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.boolean-grid button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px}.boolean-grid svg{width:100%;height:100px}.preview-card .findings{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.preview-card .findings.blocking{color:#d33}.preview-card .findings.warning{color:#e8890c}.findings-list{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.preview-legend{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12px;color:var(--muted)}.preview-legend span{display:inline-flex;align-items:center;gap:4px}.preview-controls select{max-width:200px}.split-button{display:inline-flex}.split-button .caret{width:18px;padding:0;font-size:10px}.trace-preview{cursor:crosshair;touch-action:none}.inspector .code-data{margin:0;word-break:break-all;font-size:12px}.field.readout.error,.note.error{color:#d33}.tools.large button{width:46px;height:46px;font-size:23px}.pref-num{display:inline-flex;align-items:center;gap:4px}.pref-num input{width:80px;text-align:right}.shortcuts-editor{width:min(680px,94vw)}.shortcut-key{min-width:90px;font-variant-numeric:tabular-nums}.shortcut-key.recording{background:var(--accent);color:var(--accent-text)}.shortcut-actions{white-space:nowrap;text-align:right}.statusbar .mode-pill{position:static;padding:0 4px 0 10px}.statusbar .mode-pill button{padding:0 8px;font-size:11px}.statusbar-rotary{color:#e8890c}.statusbar-hint{min-width:0;overflow:hidden;text-overflow:ellipsis;flex-shrink:1}.body{grid-template-columns:var(--body-columns);grid-template-areas:var(--body-areas)}.body>.tools{grid-area:tools}.body>.stage{grid-area:stage}.body>.side{grid-area:side}.body>.tools[hidden],.body>.side[hidden]{display:none}.body.tools-right>.tools{border-right:none;border-left:1px solid var(--line)}.body.side-left>.side{border-left:none;border-right:1px solid var(--line)}.body.side-left>.side-resizer{right:auto;left:calc(min(var(--side-width, 300px),max(260px,calc(100% - 368px * var(--ui-zoom, 1)))) - 4px)}.stage>.recovery-banner{order:-3}.stage>.editbar{order:-1}.stage>.viewport{order:0}.stage>.palette-bar{order:2}.stage.bars-bottom>.editbar{order:1;border-bottom:none;border-top:1px solid var(--line)}.stage.swatches-top>.palette-bar{order:-2;border-top:none;border-bottom:1px solid var(--line)}@media(max-width:820px){.body{grid-template-columns:48px minmax(0,1fr);grid-template-areas:"tools stage" "side side"}.body.no-tools{grid-template-columns:minmax(0,1fr);grid-template-areas:"stage" "side"}.body.no-side{grid-template-rows:minmax(0,1fr)}.body.tools-right>.tools{border-left:none;border-right:1px solid var(--line)}.body.side-left>.side{border-right:none;border-top:1px solid var(--line)}}.editbar[hidden]{display:none}.editbar .split-arrow{min-width:16px;padding:0 2px;font-size:10px;margin-left:-3px}.selection-bar{display:flex;align-items:center;gap:6px;height:36px;padding:3px 8px;box-sizing:border-box;background:var(--panel);border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:thin;white-space:nowrap;flex-shrink:0}.selection-bar[hidden]{display:none}.selection-bar label{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:12px}.selection-bar label input{height:24px;padding:0 5px;text-align:right;font-variant-numeric:tabular-nums;color:var(--text)}.selection-bar .unit{font-size:11px}.selection-bar .sep{width:1px;height:18px;background:var(--line);margin:0 2px;flex-shrink:0}.selection-bar .grow{flex:1}.selection-bar button{height:26px;min-width:26px;padding:0 6px;font-size:13px;flex-shrink:0}.selection-bar button.icon{display:inline-grid;place-items:center;padding:0;width:26px;font-size:15px}.selection-bar button.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.selection-bar .hint{font-size:12px;overflow:hidden;text-overflow:ellipsis}.selection-bar .locked{font-size:12px}.origin-grid.mini{grid-template-columns:repeat(3,8px);gap:2px;flex-shrink:0}.selection-bar .origin-grid.mini button{width:8px;height:8px;min-width:0;padding:0;border-radius:2px;box-sizing:border-box}.stage.bars-bottom>.selection-bar{order:1;border-bottom:none;border-top:1px solid var(--line)}.details-panel{position:absolute;z-index:12;width:300px;min-height:80px;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 28px #00000038;overflow:hidden}.details-panel>header{display:flex;align-items:center;gap:8px;padding:6px 6px 6px 12px;border-bottom:1px solid var(--line);font-size:13px;font-weight:600;cursor:grab;touch-action:none;user-select:none}.details-panel>header:active{cursor:grabbing}.details-panel>header span{flex:1}.details-panel>header button.icon{width:26px;height:24px;padding:0;font-size:16px;line-height:1}.details-body{overflow:auto;min-height:0}.details-body>.inspector:last-child{border-bottom:none}.details-body>.inspector-hint{padding:12px}.tools .tools-sep{height:1px;background:var(--line);margin:4px 2px;flex-shrink:0}.tools .flyout{position:relative;flex-shrink:0}.tools .flyout .flyout-arrow{position:absolute;right:1px;bottom:1px;width:12px;height:12px;min-width:0;padding:0;border:none;background:none;color:var(--muted);font-size:8px;line-height:12px}.tools .flyout .flyout-arrow:hover{color:var(--accent)}.tools.large .flyout .flyout-arrow{width:14px;height:14px;font-size:10px;line-height:14px}.menu.flyout-panel{position:fixed;z-index:50;display:flex;flex-direction:column;gap:6px;padding:8px;min-width:200px;width:max-content;max-width:min(340px,90vw);max-height:calc(100vh - 16px);overflow:auto}.flyout-panel .flyout-section{display:flex;flex-direction:column;gap:2px}.flyout-panel .flyout-section+.flyout-section{border-top:1px solid var(--line);padding-top:6px}.flyout-panel .flyout-title{font-size:11px;color:var(--muted);padding:0 4px 2px}.flyout-panel .flyout-icons{display:flex;flex-wrap:wrap;gap:4px}.flyout-panel .flyout-icons button{width:34px;height:32px;min-width:0;padding:0;font-size:17px;line-height:1;text-align:center}.flyout-panel .flyout-text{text-align:left;white-space:nowrap}.selection-bar .modes{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}.selection-bar .modes button.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}.pref-window{display:flex;flex-direction:column;width:min(820px,calc(100vw - 32px));height:min(600px,calc(100vh - 48px));overflow:hidden;color:var(--pref-text);background:var(--pref-window);-webkit-font-smoothing:antialiased}.pref-window button{font:inherit;color:inherit}.pref-content{flex:1;overflow:auto;min-height:0}.pref-row{display:flex;align-items:center;gap:16px}.pref-row-text{flex:1;min-width:0}.pref-row-control{flex:none;display:flex;align-items:center;gap:8px}.pref-row-subtitle{color:var(--pref-muted)}.pref-group-description{color:var(--pref-muted);margin:0}.pref-tab-icon svg,.pref-close svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.pref-nav{display:flex}.pref-tab{border:none;background:transparent;cursor:pointer;display:flex;align-items:center}.pref-switch-wrap{display:inline-flex;align-items:center;gap:10px}.pref-switch{position:relative;flex:none;cursor:pointer;padding:0;border:none}.pref-switch .knob{position:absolute;border-radius:50%;transition:transform .15s ease,width .1s,background .15s}.pref-select{cursor:pointer}@media(prefers-reduced-motion:reduce){.pref-switch .knob{transition:none}}.pref-windows{--pref-window: #f3f3f3;--pref-text: #1a1a1a;--pref-muted: #5f5f5f;--pref-card: #fbfbfb;--pref-card-line: #e5e5e5;--pref-hover: rgba(0, 0, 0, .04);--pref-selected: rgba(0, 0, 0, .06);--pref-accent: #005fb8;--pref-on-knob: #ffffff;--pref-field: #ffffff;--pref-field-line: #e5e5e5;font-family:Segoe UI Variable Text,Segoe UI,system-ui,sans-serif;font-size:14px;border-radius:8px;border:1px solid rgba(0,0,0,.1);box-shadow:0 32px 64px #00000047,0 2px 21px #00000038}[data-theme=dark] .pref-windows{--pref-window: #202020;--pref-text: #ffffff;--pref-muted: #c5c5c5;--pref-card: #2b2b2b;--pref-card-line: #1d1d1d;--pref-hover: rgba(255, 255, 255, .06);--pref-selected: rgba(255, 255, 255, .08);--pref-accent: #4cc2ff;--pref-on-knob: #000000;--pref-field: #2d2d2d;--pref-field-line: #303030;border-color:#ffffff14}.pref-windows .pref-titlebar{display:flex;align-items:center;height:40px;padding-left:16px;flex:none}.pref-windows .pref-app-title{flex:1;font-size:12px}.pref-windows .pref-close{width:46px;height:40px;border:none;border-radius:0 8px 0 0;background:transparent;padding:13px 16px;cursor:pointer}.pref-windows .pref-close:hover{background:#c42b1c;color:#fff}.pref-windows .pref-body{flex:1;display:flex;min-height:0}.pref-windows .pref-sidebar{width:240px;flex:none;padding:4px 8px}.pref-windows .pref-nav{flex-direction:column;gap:4px}.pref-windows .pref-tab{position:relative;gap:14px;height:36px;padding:0 12px;border-radius:4px;text-align:left}.pref-windows .pref-tab:hover{background:var(--pref-hover)}.pref-windows .pref-tab.on{background:var(--pref-selected)}.pref-windows .pref-tab.on:before{content:"";position:absolute;left:0;top:50%;width:3px;height:16px;margin-top:-8px;border-radius:2px;background:var(--pref-accent)}.pref-windows .pref-tab-icon{width:16px;height:16px}.pref-windows .pref-content{padding:4px 24px 24px 16px}.pref-windows .pref-page-title{font-family:Segoe UI Variable Display,Segoe UI,system-ui,sans-serif;font-size:28px;font-weight:600;margin:0 0 20px}.pref-windows .pref-group{margin-bottom:24px}.pref-windows .pref-group-title{font-size:14px;font-weight:600;margin:0 0 8px}.pref-windows .pref-group-rows{display:flex;flex-direction:column;gap:2px}.pref-windows .pref-group-description{font-size:12px;margin-top:8px}.pref-windows .pref-row{min-height:68px;padding:12px 16px 12px 20px;background:var(--pref-card);border:1px solid var(--pref-card-line);border-radius:4px}.pref-windows .pref-row-subtitle{font-size:12px;margin-top:2px}.pref-windows .pref-switch-state{min-width:64px;text-align:right}.pref-windows .pref-switch{width:40px;height:20px;border-radius:10px;background:transparent;border:1px solid var(--pref-muted)}.pref-windows .pref-switch .knob{width:12px;height:12px;left:3px;top:3px;background:var(--pref-muted)}.pref-windows .pref-switch:hover .knob{width:14px;height:14px;left:2px;top:2px}.pref-windows .pref-switch.on{background:var(--pref-accent);border-color:var(--pref-accent)}.pref-windows .pref-switch.on .knob{background:var(--pref-on-knob);transform:translate(20px)}.pref-windows .pref-switch.on:hover .knob{transform:translate(18px)}.pref-windows .pref-select,.pref-windows .pref-button{min-width:160px;height:32px;padding:0 11px;border-radius:4px;background:var(--pref-field);border:1px solid var(--pref-field-line);border-bottom-color:#7f7f7f66;color:var(--pref-text)}.pref-windows .pref-button:hover,.pref-windows .pref-select:hover{filter:brightness(.97)}.pref-mac{--pref-window: #ececec;--pref-text: #262626;--pref-muted: #808080;--pref-box: #ffffff;--pref-box-line: rgba(0, 0, 0, .08);--pref-sep: rgba(0, 0, 0, .08);--pref-tab-on: rgba(0, 0, 0, .08);--pref-accent: #007aff;--pref-switch-off: #e3e3e3;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Helvetica Neue,sans-serif;font-size:13px;width:min(640px,calc(100vw - 32px));border-radius:12px;border:.5px solid rgba(0,0,0,.2);box-shadow:0 22px 70px 4px #0000005c}[data-theme=dark] .pref-mac{--pref-window: #282828;--pref-text: #e5e5e5;--pref-muted: #9a9a9a;--pref-box: #323232;--pref-box-line: rgba(255, 255, 255, .06);--pref-sep: rgba(255, 255, 255, .08);--pref-tab-on: rgba(255, 255, 255, .1);--pref-accent: #0a84ff;--pref-switch-off: #4a4a4a;border-color:#ffffff29}.pref-mac .pref-toolbar{flex:none;padding:10px 12px 8px;border-bottom:1px solid var(--pref-sep);text-align:center}.pref-mac .pref-window-title{font-weight:600;margin-bottom:8px}.pref-mac .pref-nav{justify-content:center;gap:2px}.pref-mac .pref-tab{flex-direction:column;gap:3px;min-width:64px;padding:5px 8px 4px;border-radius:6px;font-size:11px}.pref-mac .pref-tab.on{background:var(--pref-tab-on);color:var(--pref-accent)}.pref-mac .pref-tab-icon{width:24px;height:24px}.pref-mac .pref-content{padding:20px 20px 8px}.pref-mac .pref-group{margin-bottom:18px}.pref-mac .pref-group-title{font-size:13px;font-weight:600;margin:0 0 6px 10px}.pref-mac .pref-group-rows{background:var(--pref-box);border:1px solid var(--pref-box-line);border-radius:10px}.pref-mac .pref-row{min-height:40px;padding:8px 10px}.pref-mac .pref-row+.pref-row{border-top:1px solid var(--pref-sep)}.pref-mac .pref-row-subtitle{font-size:11px;margin-top:2px}.pref-mac .pref-group-description{font-size:11px;margin:6px 10px 0}.pref-mac .pref-switch{width:38px;height:22px;border-radius:11px;background:var(--pref-switch-off)}.pref-mac .pref-switch .knob{width:20px;height:20px;left:1px;top:1px;background:#fff;box-shadow:0 1px 2px #0000004d,0 0 0 .5px #00000014}.pref-mac .pref-switch.on{background:var(--pref-accent)}.pref-mac .pref-switch.on .knob{transform:translate(16px)}.pref-mac .pref-select,.pref-mac .pref-button{height:22px;padding:0 8px;border-radius:5px;background:var(--pref-box);color:var(--pref-text);border:.5px solid rgba(127,127,127,.45);box-shadow:0 .5px 1px #0000001f}.pref-mac .pref-footer{flex:none;display:flex;justify-content:flex-end;padding:10px 20px 16px}.pref-mac .pref-default{min-width:80px;height:22px;border-radius:5px;border:none;background:var(--pref-accent);color:#fff;box-shadow:0 .5px 1px #0003;cursor:pointer}.pref-linux{--pref-window: #fafafb;--pref-text: rgba(0, 0, 6, .8);--pref-muted: rgba(0, 0, 6, .55);--pref-header: #ebebed;--pref-card: #ffffff;--pref-sep: rgba(0, 0, 6, .07);--pref-hover: rgba(0, 0, 6, .06);--pref-on: rgba(0, 0, 6, .1);--pref-accent: #3584e4;--pref-switch-off: rgba(0, 0, 6, .15);--pref-button: rgba(0, 0, 6, .08);font-family:Adwaita Sans,Cantarell,Noto Sans,Inter,system-ui,sans-serif;font-size:14px;width:min(640px,calc(100vw - 32px));border-radius:12px;box-shadow:0 0 0 1px #0000061a,0 6px 24px 2px #0000064d}[data-theme=dark] .pref-linux{--pref-window: #222226;--pref-text: #ffffff;--pref-muted: rgba(255, 255, 255, .55);--pref-header: #2e2e32;--pref-card: rgba(255, 255, 255, .08);--pref-sep: rgba(0, 0, 6, .36);--pref-hover: rgba(255, 255, 255, .07);--pref-on: rgba(255, 255, 255, .1);--pref-switch-off: rgba(255, 255, 255, .2);--pref-button: rgba(255, 255, 255, .1)}.pref-linux .pref-headerbar{flex:none;display:flex;align-items:center;height:47px;padding:0 6px;background:var(--pref-header)}.pref-linux .pref-headerbar-side{flex:1;display:flex}.pref-linux .pref-headerbar-side.end{justify-content:flex-end}.pref-linux .pref-window-title{font-weight:700}.pref-linux .pref-close{width:24px;height:24px;padding:6px;border:none;border-radius:50%;background:var(--pref-button);cursor:pointer;margin-right:6px}.pref-linux .pref-close:hover{filter:brightness(1.15)}.pref-linux .pref-switcher{flex:none;display:flex;justify-content:center;padding:6px;background:var(--pref-header);box-shadow:0 1px var(--pref-sep)}.pref-linux .pref-nav{gap:4px}.pref-linux .pref-tab{gap:8px;height:34px;padding:0 12px;border-radius:6px;font-weight:700;font-size:13px}.pref-linux .pref-tab:hover{background:var(--pref-hover)}.pref-linux .pref-tab.on{background:var(--pref-on)}.pref-linux .pref-tab-icon{width:16px;height:16px}.pref-linux .pref-content{padding:24px 12px}.pref-linux .pref-clamp{max-width:560px;margin:0 auto}.pref-linux .pref-group{margin-bottom:24px}.pref-linux .pref-group-title{font-size:14px;font-weight:700;margin:0 0 6px}.pref-linux .pref-group-description{font-size:13px;margin:-2px 0 10px}.pref-linux .pref-group-rows{background:var(--pref-card);border-radius:12px;box-shadow:0 0 0 1px #00000608,0 1px 3px 1px #00000612,0 2px 6px 2px #00000608;overflow:hidden}.pref-linux .pref-row{min-height:50px;padding:8px 12px}.pref-linux .pref-row+.pref-row{box-shadow:inset 0 1px var(--pref-sep)}.pref-linux .pref-row-subtitle{font-size:13px;margin-top:2px}.pref-linux .pref-switch{width:48px;height:26px;border-radius:13px;background:var(--pref-switch-off)}.pref-linux .pref-switch .knob{width:20px;height:20px;left:3px;top:3px;background:#fff;box-shadow:0 2px 4px #0003}.pref-linux .pref-switch.on{background:var(--pref-accent)}.pref-linux .pref-switch.on .knob{transform:translate(22px)}.pref-linux .pref-select,.pref-linux .pref-button{height:34px;padding:0 10px;border-radius:6px;border:none;background:var(--pref-button);font-weight:700;color:var(--pref-text)}.pref-linux .pref-select{font-weight:400}.pref-linux .pref-button:hover,.pref-linux .pref-select:hover{filter:brightness(1.08)}@media(max-width:600px){.pref-windows .pref-sidebar{width:56px}.pref-windows .pref-tab-label{display:none}.pref-mac .pref-tab{min-width:52px}.pref-linux .pref-tab-label{display:none}}.pref-mac,.pref-linux{height:auto;max-height:min(640px,calc(100vh - 48px))}.pref-mac .pref-content,.pref-linux .pref-content{min-height:220px}.pref-group .pref-row.reminder-items{flex-direction:column;align-items:stretch;gap:6px}.pref-row.reminder-items .row{display:flex;gap:6px;align-items:center}.pref-row.reminder-items input{flex:1;min-width:0}.mcp-address,.mcp-token code,.mcp-command code{font-family:ui-monospace,SF Mono,Menlo,Consolas,DejaVu Sans Mono,monospace;font-size:12px;user-select:text}.mcp-port{min-width:0;width:110px}.mcp-token{display:flex;align-items:center;gap:8px;justify-content:flex-end;min-width:0}.mcp-token code{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mcp-status{padding:8px 12px;margin:0}.mcp-command{padding:8px 12px;display:flex;flex-direction:column;gap:6px}.mcp-command code{word-break:break-all}.mcp-command .pref-button{align-self:flex-start}
