:root{--ink:#221f2b;--muted:#625e6b;--purple:#6644c9;--line:#dddbdf;--paper:#f6f7f5}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-height:100vh;background:var(--paper);color:var(--ink);font:16px/1.5 "Helvetica Neue",Arial,sans-serif;display:flex;flex-direction:column}
[hidden]{display:none!important}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button,.overlay a{color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:8px;min-height:44px;padding:8px 15px;cursor:pointer;font-size:14px;font-weight:600;touch-action:manipulation}
button:hover,.overlay a:hover{border-color:var(--purple)}
button:disabled{opacity:.48;cursor:default}
.primary{color:#fff;background:var(--purple);border-color:var(--purple)}
.primary:hover{background:#5336a8}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #8764e7;outline-offset:3px}
.shell{width:calc(100% - 80px);max-width:1184px;margin:0 auto}
.mast{border-bottom:1px solid var(--line);background:#fff}
.mast-inner,.brand,.net,.footer,.footer>span,.heading-actions,.script-bottom,.panel-title,.panel-title h2,.editor-heading,.transport,.steps,.back,.eyebrow,.card-foot,.range-wrap>div,.flips>div{display:flex;align-items:center}
.mast-inner{height:74px;justify-content:space-between}
.brand{font-size:21px;font-weight:750;letter-spacing:-.9px}
.brand strong{font-weight:500;margin-left:5px}
.logo{margin-right:11px;width:35px;height:35px;border-radius:10px;background:var(--purple);position:relative}
.logo:before{content:"";position:absolute;inset:8px 6px 12px;border:2px solid #fff;border-radius:3px}
.logo:after{content:"";position:absolute;width:13px;height:2px;left:11px;bottom:7px;background:#fff}
.logo i{position:absolute;background:#fff;width:2px;height:5px;bottom:8px;left:17px}
.net{font-size:13px;color:var(--muted)}
.net i,.presence:before,.mode:before{content:"";width:8px;height:8px;border-radius:50%;background:#a6a2ac;display:inline-block;margin-right:8px}
.net.online i,.presence.online:before{background:#388363}
.net.offline i{background:#c26b30}
.content{flex:1}
.intro{margin:clamp(38px,6.6vw,86px) 0 32px}
.eyebrow{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:1.55px;color:var(--purple);margin:0}
.signal{display:inline-block;position:relative;width:15px;height:13px;margin-right:9px;background:linear-gradient(to right,transparent 0 40%,currentColor 40% 58%,transparent 58%)}
.signal:before,.signal:after{content:"";position:absolute;top:3px;width:3px;height:7px;background:currentColor;left:1px}.signal:after{left:11px;top:5px;height:4px}
h1,h2,p{margin:0}
h1{font-size:clamp(36px,4.7vw,68px);font-weight:600;line-height:1.08;letter-spacing:-.055em}
.intro h1{margin:13px 0}
.intro>p:last-child{font-size:18px;color:var(--muted)}
.roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:64px}
.role-card,.panel{border:1px solid var(--line);border-radius:16px;background:#fff}
.role-card{overflow:hidden;display:block;transition:box-shadow .18s,border-color .18s}
.role-card:hover{border-color:#b3a5cc;box-shadow:0 6px 22px #24133410}
.art{height:clamp(180px,18vw,246px);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;isolation:isolate}
.desk{background-color:#e4ddf7;background-image:radial-gradient(#bcb1d5 1px,transparent 1px);background-size:14px 14px}
.desk-device{width:246px;height:148px;border-radius:9px;border:2px solid #777086;background:#f9f8fc;transform:perspective(720px) rotateX(17deg) rotateY(-15deg) rotateZ(-6deg);box-shadow:1px 2px #756e85,2px 4px #878094,4px 7px #837c93,9px 16px 16px #47355e30}
.device-head{height:23px;border-bottom:1px solid #cbc6d7;display:flex;align-items:center;padding:0 9px}
.device-head i{width:4px;height:4px;border-radius:50%;background:#9991a9;margin-right:3px}
.desk-body{display:flex;padding:13px;height:calc(100% - 23px)}
.paper{width:65%;border:1px solid #d6d1de;border-radius:4px;background:white;padding:11px}
.paper i,.paper b,.glass-text i{display:block;height:4px;background:#bdb5ce;margin-bottom:7px;border-radius:3px}
.paper b{background:#7d61c9;width:50%;height:6px;margin-bottom:10px}.paper i:nth-child(3){width:90%}.paper i:last-child{width:67%}
.meters{flex:1;margin:7px 0 0 13px}.meters i{display:block;position:relative;height:3px;background:#cec4e6;margin:11px 0 16px}.meters i:before{content:"";width:8px;height:8px;position:absolute;left:55%;top:-3px;border-radius:50%;background:#7353bd}.meters i:nth-child(2):before{left:24%}
.monitor{background-color:#292831;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:26px 26px}
.glass{width:226px;height:138px;background:linear-gradient(145deg,#27242f,#0e0e13 76%);border:4px solid #151419;border-radius:10px;box-shadow:0 0 0 1px #8e889f,3px 4px 0 1px #645e70,9px 14px 20px #0007;position:relative;margin-top:-15px;transform:perspective(630px) rotateY(-16deg) rotateX(5deg) rotateZ(-5deg);display:grid;place-items:center}
.glass-text{width:58%}.glass-text i{height:5px;background:#e4deef;margin:9px 0}.glass-text i:nth-child(2){width:90%}.glass-text i:last-child{width:68%}
.glass span{position:absolute;top:48%;left:10%;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid #a68ae8}
.stand{position:absolute;width:14px;height:36px;background:linear-gradient(90deg,#63606e,#322e39);top:calc(50% + 45px);transform:skew(-8deg)}
.stand:after{content:"";position:absolute;bottom:-4px;left:-32px;width:77px;height:6px;border-radius:50%;background:#777281;box-shadow:0 3px 5px #0008}
.card-foot{justify-content:space-between;padding:26px 27px 29px;gap:12px}
h2{font-size:23px;letter-spacing:-.04em;line-height:1.25}
.card-foot h2{margin:7px 0 5px;font-size:clamp(22px,2.1vw,30px);font-weight:600}
.card-foot p:last-child,.panel-title>span,.steps>span,.script-bottom>span{font-size:14px;color:var(--muted)}
.go{display:grid;place-items:center;flex:none;width:39px;height:39px;border:1px solid var(--line);border-radius:50%;color:var(--purple);font-size:23px}
.footer{margin-top:auto;padding:21px 0;border-top:1px solid var(--line);justify-content:space-between;color:var(--muted);font-size:12px}
.tiny-logo{width:11px;height:8px;border:1.5px solid currentColor;border-radius:2px;margin-right:7px}
.editor-heading{justify-content:space-between;margin:33px 0 25px;gap:15px}
.editor-heading h1{font-size:clamp(32px,3.8vw,52px);margin-top:8px}
.back{font-size:14px;color:var(--purple);width:fit-content}
.heading-actions{gap:12px}
.presence,.mode{font-size:13px;background:#efedf2;border-radius:99px;padding:5px 11px;white-space:nowrap;display:inline-flex;align-items:center}
.presence.online{background:#e2eee7;color:#235e43}
.workspace{display:grid;grid-template-columns:1.12fr 1fr;gap:18px}
.panel{padding:21px}
.panel-title{justify-content:space-between;gap:9px;margin-bottom:15px}
.panel-title h2{font-size:20px;gap:8px}
.section-icon,.sliders-icon{font-size:23px;color:var(--purple);line-height:1}
.screen-icon{display:inline-block;width:17px;height:12px;border:2px solid var(--purple);border-radius:3px}
.script-panel{display:flex;flex-direction:column;min-width:0}
textarea{width:100%;min-height:240px;flex:1;resize:vertical;padding:14px;border:1px solid #d3cfda;border-radius:8px;line-height:1.55;color:var(--ink);background:#fcfcfc}
.script-bottom{margin-top:13px;gap:10px;justify-content:space-between}
.primary b{margin-left:4px}
.preview{position:relative;padding-top:56.25%;background:#000;border-radius:8px;overflow:hidden}
.stage,.mirror{position:absolute;inset:0;top:0;right:0;bottom:0;left:0;overflow:hidden;background:#000;color:#fff}
.scale{position:absolute;left:0;top:27%;transform-origin:0 0;width:1024px}
.copy,.measure{width:1024px;padding:0 60px;white-space:pre-wrap;overflow-wrap:break-word;word-wrap:break-word;font-family:Arial,sans-serif;font-weight:400;letter-spacing:normal;color:#fff;tab-size:4}
.copy{will-change:transform}
.measure{visibility:hidden;position:absolute;left:-12000px;top:0;pointer-events:none}
.progress{height:3px;background:#e3dee9;margin:12px 0}.progress i{display:block;width:0;height:100%;background:var(--purple)}
.transport,.steps{gap:7px;flex-wrap:wrap}
.transport button{flex:1}.transport b{margin:0 3px 0 0}
.steps{margin-top:12px}.steps>span{margin-right:auto}.steps button,.flips button{font-size:13px;padding:6px 10px}
.settings{margin-top:18px}
.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:22px}
.range-wrap>div{justify-content:space-between;gap:5px}
.range-wrap label,.flips>span,.pin label{font-size:14px;font-weight:600}
output{color:var(--purple);font:12px/1.4 Menlo,monospace}
input[type=range]{width:100%;accent-color:var(--purple);margin:4px 0 0;height:42px}
.flips>div{gap:5px;margin-top:3px}
button[aria-pressed=true]{color:#5434aa;background:#eee8fc;border-color:#a58fd9}
.notice{color:#884322;font-size:14px;min-height:23px;margin:10px 0 19px}
.pin{display:grid;gap:12px;max-width:400px;margin-bottom:50px}.pin input{border:1px solid var(--line);border-radius:6px;padding:10px;width:100%}
.view-display{background:#000;color:#fff;overflow:hidden}
#screen{position:fixed;inset:0;top:0;left:0;bottom:0;right:0;outline:none;cursor:none}
.overlay{position:fixed;bottom:18px;bottom:calc(18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:96%;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:10px;border:1px solid #666;background:#19191b;border-radius:12px;color:#fff}
.overlay .net,.overlay button,.overlay a{color:white}.overlay button,.overlay a{background:#303033;border-color:#555}
#display-help:not(:empty){width:100%;text-align:center;font-size:13px}
@media(min-width:1450px){.intro{margin-top:100px}}
@media(max-width:980px){.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shell{width:calc(100% - 48px)}.card-foot{padding:22px 18px}.transport button{padding:7px 8px}}
@media(max-width:720px){.workspace,.roles{grid-template-columns:1fr}.roles{gap:15px;margin-bottom:35px}.shell{width:calc(100% - 32px)}.mast-inner{height:61px}.intro{margin:34px 0 23px}.intro>p:last-child{font-size:16px}.art{height:155px}.desk-device,.glass{scale:.82}.card-foot{padding:16px 18px}.editor-heading{align-items:flex-start;flex-direction:column;margin:24px 0 16px}.panel{padding:16px}.settings-grid{gap:12px 18px}.footer{padding:16px 0}.mast .net{font-size:12px}.brand{font-size:18px}.panel-title h2{font-size:18px}}
@media(max-width:470px){.settings-grid{grid-template-columns:1fr}.settings-grid>div{padding-top:8px;border-top:1px solid var(--line)}.logo{margin-right:7px}.mast .net{max-width:112px}.art{height:140px}.card-foot p:last-child{font-size:13px}.card-foot h2{font-size:23px}.overlay{width:94%}.script-bottom>span{font-size:12px}}
.preview{background:#242229}
