:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#171d2c;background:#fafbfe;font-size:15px;font-synthesis:none;--blue:#4264ed;--blueDark:#3351d2;--line:#e9edf5;--muted:#7d8799;--shadow:0 14px 40px rgba(22,34,75,.045)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(ellipse 60% 360px at 50% -130px,#e9eeff,transparent 80%),#fafbfe}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a4b5ff;outline-offset:3px}button{touch-action:manipulation}svg{width:26px;height:26px}h1,h2,h3,p{margin-top:0}p{line-height:1.65} .app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:83px;border-bottom:1px solid rgba(232,236,246,.95);display:flex;align-items:center;gap:30px;padding:0 max(26px,calc((100vw - 1120px)/2));background:rgba(255,255,255,.88);backdrop-filter:blur(14px)}.brand{border:0;background:transparent;display:flex;align-items:center;gap:10px;color:#152037;padding:0}.brand-logo{display:grid;place-items:center;width:39px;height:39px;background:#4264ed;border-radius:12px;box-shadow:0 6px 16px #4767d02c}.brand-logo svg{width:21px;height:21px}.brand-name{font-size:20px;font-weight:850;letter-spacing:-1.1px}.brand-name span{color:#4564f0}.topnav{display:flex;align-items:center;gap:6px;margin-left:42px}.nav-item{border:0;background:transparent;color:#8d95a5;font-size:13px;font-weight:650;padding:10px 17px;border-radius:9px}.nav-item:hover,.nav-item.active{background:#f0f3ff;color:#4264ed}.topright{display:flex;align-items:center;gap:13px;margin-left:auto}.connection{display:flex;align-items:center;gap:8px;border:1px solid #e7eaf2;border-radius:50px;background:#fff;padding:9px 13px;font-size:12px;color:#778092;font-weight:650;white-space:nowrap}.status-dot{width:7px;height:7px;background:#cba452;border-radius:50%}.connection.online .status-dot{background:#31be8e}.connection.demo .status-dot{background:#7f96f4}.help-btn{width:31px;height:31px;border-radius:50%;border:1px solid #e6eaf2;background:#fff;color:#6f7990;font-weight:800}.main{max-width:1118px;padding:0 24px;flex:1;width:100%;margin:0 auto}.view[hidden],.demo-notice[hidden],.demo-canvas-card[hidden]{display:none!important}.demo-notice{display:flex;align-items:center;gap:12px;background:#edf2ff;border:1px solid #d8e3ff;border-radius:12px;padding:13px 16px;margin:22px auto -22px;color:#3c5bcc;font-size:12px}.demo-notice strong{font-size:13px}.home-view{padding-top:69px}.hero{text-align:center;margin-bottom:48px}.hero-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #dce4ff;background:#f1f4ff;color:#536cdc;border-radius:50px;padding:8px 14px;font-weight:750;font-size:12px}.sparkle{font-size:15px}.hero h1{font-size:clamp(36px,5.2vw,57px);letter-spacing:-2.7px;line-height:1.28;margin:20px 0 14px;font-weight:850}.hero h1 span{color:#4264ed}.hero p{color:#8791a2;font-size:15px;line-height:1.9;margin:0}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0 auto;max-width:930px}.choice-card{position:relative;min-height:258px;text-align:left;background:#fff;border:1.5px solid #e7eaf2;border-radius:22px;padding:29px;display:flex;flex-direction:column;gap:22px;box-shadow:var(--shadow);color:#1d2537;transition:transform .18s,box-shadow .18s,border .18s}.choice-card:hover{transform:translateY(-3px);border-color:#b7c6ff;box-shadow:0 23px 54px rgba(53,72,151,.12)}.choice-icon,.heading-icon{width:62px;height:62px;border-radius:17px;display:grid;place-items:center}.choice-icon svg,.heading-icon svg{width:29px;height:29px}.blue-icon{background:#eaf0ff;color:#4667ec}.coral-icon{background:#fff0eb;color:#ea7965}.choice-copy{display:flex;flex-direction:column;gap:10px}.choice-title{font-size:22px;font-weight:800;letter-spacing:-.7px}.choice-arrow{float:right;position:absolute;right:28px;top:29px;border:1px solid #edf0f6;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;color:#a3adc1;font-size:19px}.choice-description{font-size:14px;line-height:1.75;color:#778394}.choice-tag{display:inline-flex;align-self:flex-start;margin-top:2px;background:#f0f4ff;color:#4b6ae7;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:700}.coral-tag{background:#fff2ee;color:#dd7764}.home-bottom{max-width:930px;margin:24px auto 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.howto{color:#798496;font-size:13px;display:flex;align-items:center;gap:8px}.howto b{color:#535e73}.howto-icon{display:grid;place-items:center;background:#e4f8ef;color:#22ad7c;width:23px;height:23px;border-radius:50%;font-weight:800}.text-link{border:0;background:transparent;color:#526fdd;font-weight:750;font-size:13px;padding:6px}.text-link span{margin-left:5px}.trustline{display:flex;justify-content:center;gap:33px;color:#9ca6b5;font-size:12px;margin:68px auto 33px}.workspace-view{padding:36px 0 70px;max-width:1030px;margin:auto}.back-link{border:0;background:transparent;padding:7px 2px;color:#7e8a9e;font-weight:650;font-size:13px;margin:0 0 24px}.back-link:hover{color:#345ce9}.workspace-heading{display:flex;gap:17px;align-items:center;margin-bottom:31px}.heading-icon{width:67px;height:67px;border-radius:20px;flex-shrink:0}.eyebrow{display:block;color:#5977eb;font-size:12px;font-weight:800;margin-bottom:5px}.workspace-heading h1{font-weight:850;font-size:29px;letter-spacing:-1px;margin:0 0 7px}.workspace-heading p,.saved-head p{font-size:14px;color:#8791a3;margin:0}.workspace-grid,.record-layout{display:grid;grid-template-columns:minmax(0,1.23fr) minmax(330px,.88fr);gap:22px;align-items:start}.stack{display:flex;flex-direction:column;gap:20px}.surface-card{background:white;border:1px solid var(--line);border-radius:18px;padding:25px;box-shadow:var(--shadow);min-width:0}.surface-card h2{font-size:17px;letter-spacing:-.35px;margin:0 0 6px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:10px}.section-title h2{display:flex;align-items:center;gap:10px}.section-title p{font-size:12px;color:#929bab;margin:5px 0 0}.step-badge{width:25px;height:25px;border-radius:8px;background:#edf1ff;color:#4562d8;display:inline-grid;place-items:center;font-size:12px}.btn{min-height:43px;padding:11px 18px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:11px;font-weight:750;font-size:13px;white-space:nowrap;transition:filter .15s,transform .1s}.btn:hover:not(:disabled){filter:brightness(.96)}.btn:active:not(:disabled){transform:scale(.985)}.btn-primary{background:var(--blue);color:white;box-shadow:0 4px 12px rgba(66,100,237,.12)}.btn-soft{background:#f4f6fb;border-color:#edf0f5;color:#58677b}.btn-quiet{background:transparent;color:#a1aabb}.btn-stop{background:#fff2f1;border:1px solid #ffdedb;color:#dc6d68;width:50px;font-size:19px}.full{width:100%}.big{min-height:54px;font-size:15px}.flex{flex:1}.hint-inline{font-size:12px;color:#99a2b0;text-align:center;margin:11px auto 14px;line-height:1.6}.point-list{display:flex;flex-direction:column;gap:11px;margin:15px 0 12px}.point-row{border:1px solid #edf0f6;border-radius:11px;padding:12px 13px;display:flex;align-items:center;gap:11px}.point-index{width:30px;height:30px;border-radius:9px;background:#e9efff;color:#4965dc;display:grid;place-items:center;font-size:12px;font-weight:800;flex-shrink:0}.point-inputs{display:flex;gap:8px;min-width:0;flex:1;align-items:center}.point-inputs label{display:flex;align-items:center;gap:5px;color:#9aa4b3;font-size:11px}.point-inputs input{border:1px solid #e7ebf2;background:#fafbfe;border-radius:8px;padding:8px 5px;width:64px;font-size:12px;color:#2e3c56;text-align:center}.icon-btn{background:transparent;color:#a2adbd;border:0;border-radius:7px;width:27px;height:30px;font-size:20px}.icon-btn:hover{background:#fff0f0;color:#dc6d6d}.empty-points{font-size:13px;color:#9da7b7;padding:19px;text-align:center}.form-label{display:block;color:#58667c;font-size:13px;font-weight:720;margin-bottom:10px}.space-top{margin-top:22px}.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:10px}.segmented button{border:1px solid #ecedf2;background:#f8f9fc;padding:12px 8px;border-radius:9px;font-size:12px;font-weight:750;color:#8590a2}.segmented button.selected{color:#4164ed;background:#eef2ff;border-color:#bac8ff}.inline-number{display:flex;align-items:center;border:1px solid #e9edf4;background:#fff;border-radius:11px;overflow:hidden;min-height:45px}.inline-number input{width:100%;border:0;background:transparent;padding:11px 14px;font-size:14px;color:#293a52;outline:0}.inline-number span{white-space:nowrap;color:#9aa6b5;font-size:13px;padding-right:15px}.action-card{background:#eff3ff;border:1px solid #dfe8ff;border-radius:18px;padding:26px;display:flex;flex-direction:column;gap:24px}.ready-line{font-size:12px;color:#5870be;display:flex;align-items:center;gap:7px;font-weight:750;margin-bottom:12px}.ready-dot{width:8px;height:8px;background:#4ba781;border-radius:50%}.action-card h3{font-size:19px;letter-spacing:-.6px;margin:0 0 6px}.action-card p{color:#8d9ab2;font-size:12px;margin:0}.action-row{display:flex;align-items:center;gap:9px}.subhint{color:#8593ab;font-size:11px;line-height:1.6}.subhint kbd{color:#5e6fb4;font-weight:850;background:white;border:1px solid #e3e7f6;border-radius:5px;padding:2px 5px}.advanced{border:1px solid #e8ecf4;background:#fff;border-radius:14px;margin-top:20px;overflow:hidden}.advanced summary{list-style:none;font-size:13px;color:#768397;padding:17px 21px;cursor:pointer;font-weight:700}.advanced summary::-webkit-details-marker{display:none}.advanced summary span{float:right}.advanced-body{border-top:1px solid var(--line);padding:18px 22px}.input-control{border:1px solid #e5e9f3;border-radius:9px;padding:10px 12px;background:#fff;color:#49556b}.advanced-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.demo-screen{position:relative;aspect-ratio:16/9;min-height:220px;border:1px solid #cbd4e8;border-radius:12px;overflow:hidden;touch-action:none;background:linear-gradient(90deg,rgba(216,224,244,.45) 1px,transparent 1px),linear-gradient(rgba(216,224,244,.45) 1px,transparent 1px),linear-gradient(135deg,#f1f5ff,#e9eef8);background-size:24px 24px,24px 24px,auto}.screen-label{position:absolute;top:12px;left:12px;font-size:11px;color:#8995ab}.screen-marker{position:absolute;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#4868e8;color:white;font-size:12px;font-weight:800;box-shadow:0 3px 12px #4764a844;touch-action:none;cursor:grab;border:2px solid #fff;transform:translate(-50%,-50%);user-select:none}.record-layout{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr)}.record-main{padding:0;overflow:hidden}.record-stage{min-height:390px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 40%,#fff3ef,#fff 58%);padding:36px 20px;text-align:center}.rec-status{font-size:12px;color:#9c9fb0;background:#fff;border:1px solid #f0e5e3;border-radius:50px;padding:7px 13px;display:flex;align-items:center;gap:7px;font-weight:750;margin-bottom:28px}.rec-status-dot{width:7px;height:7px;border-radius:50%;background:#b6bdca}.record-stage.live .rec-status-dot{background:#f06663;box-shadow:0 0 0 5px #ffe3de}.record-orb{width:102px;height:102px;border:8px solid white;background:#ed7668;border-radius:50%;display:grid;place-items:center;box-shadow:0 13px 33px #ec938645;margin-bottom:28px;transition:transform .2s}.record-orb:hover:not(:disabled){transform:scale(1.05)}.record-orb span{height:36px;width:36px;border-radius:50%;background:white}.record-stage.live .record-orb span{height:32px;width:32px;border-radius:7px}.record-stage h2{font-size:20px;letter-spacing:-.5px;margin:0 0 10px}.record-stage p{font-size:13px;color:#98a0ad;max-width:320px;margin:0 0 19px}.privacy-note{display:flex;align-items:start;gap:10px;padding:19px 24px;background:#fff;border-top:1px solid #f0edf1;color:#8c96a7;font-size:12px;line-height:1.8}.privacy-note strong{color:#5a6679;font-size:13px}.record-summary{display:flex;align-items:center;gap:20px;min-height:115px}.record-count{min-width:102px;color:#4566eb;font-size:37px;font-weight:850;letter-spacing:-1px}.record-count small{display:block;font-size:12px;font-weight:650;color:#9fa9b5;letter-spacing:0}.recent-events{font-size:12px;color:#8f9aae;line-height:1.9}.saved-head{margin:3px 0 24px}.saved-head h1{font-size:29px;letter-spacing:-1px;margin-bottom:8px}.saved-head p{font-size:14px}.save-row{display:flex;gap:10px}.text-input{min-width:0;flex:1;padding:12px 14px;border:1px solid #e4e9f3;border-radius:10px;color:#3c4b62}.library-list{margin-top:20px;display:flex;flex-direction:column;gap:8px}.library-item{border:1px solid #eef1f7;border-radius:12px;display:flex;gap:12px;align-items:center;padding:14px 15px}.library-ico{width:38px;height:38px;border-radius:10px;background:#eef2ff;color:#4167df;display:grid;place-items:center;font-size:20px}.library-name{flex:1;font-weight:700;color:#28374c;font-size:13px}.library-empty{color:#a0aaba;text-align:center;padding:38px 20px;font-size:13px}.library-item .btn{padding:9px 12px;min-height:35px}.import-row{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #f0f2f8;margin-top:25px;padding-top:17px}.file-label{cursor:pointer}.timeline-tools{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.timeline-list{display:flex;flex-direction:column;gap:9px}.timeline-row{border:1px solid #edf0f5;border-radius:10px;display:flex;gap:10px;align-items:center;padding:11px 13px;flex-wrap:wrap}.timeline-id{width:27px;height:27px;border-radius:7px;background:#eef2ff;display:grid;place-items:center;color:#5672e6;font-weight:800;font-size:12px}.timeline-kind{font-weight:760;font-size:13px;min-width:65px}.timeline-fields{display:flex;gap:8px;flex:1;flex-wrap:wrap}.timeline-fields label{display:flex;align-items:center;gap:4px;color:#9ca6b5;font-size:11px}.timeline-fields input,.timeline-fields select{border:1px solid #e5eaf2;border-radius:6px;max-width:80px;padding:6px;font-size:12px;color:#485670;background:#fff}.timeline-row .icon-btn{width:26px}.timeline-empty{color:#99a4b3;font-size:13px;text-align:center;padding:24px}.site-footer{border-top:1px solid #edf0f7;display:flex;justify-content:space-between;gap:12px;padding:23px max(25px,calc((100vw - 1120px)/2));color:#a6afbc;font-size:11px;margin-top:auto}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(15px);background:#25365e;color:white;font-size:13px;border-radius:11px;padding:12px 19px;box-shadow:0 15px 35px #1a2b4f50;z-index:99;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;max-width:calc(100vw - 24px);text-align:center}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.modal{max-width:420px;width:calc(100% - 30px);padding:29px;border:1px solid #e4e9f3;border-radius:21px;box-shadow:0 24px 70px #19294c33}.modal::backdrop{background:#0c173c83}.modal form{position:relative}.modal h2{font-size:21px;letter-spacing:-.6px}.modal p{font-size:13px;color:#788397;line-height:1.85}.modal-emoji{font-size:32px;margin-bottom:13px}.modal .close{position:absolute;right:0;top:0;border:0;background:#f3f5fa;border-radius:50%;width:28px;height:28px;color:#8b96a6;font-size:21px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:830px){.topbar{padding:0 22px}.topnav{margin-left:5px}.main{padding:0 19px}.home-view{padding-top:55px}.workspace-grid,.record-layout{grid-template-columns:minmax(0,1fr)}.choices{gap:13px}.choice-card{padding:22px;min-height:240px}.site-footer{padding:18px 22px}}@media(max-width:560px){.topbar{height:68px;padding:0 15px;gap:8px}.brand-name{font-size:17px}.brand-logo{width:34px;height:34px}.topnav{margin-left:auto;gap:0}.nav-item{padding:8px;font-size:12px}.connection{padding:7px;font-size:11px}.connection #connectionLabel{display:none}.help-btn{display:none}.topright{margin-left:0;gap:0}.main{padding:0 15px}.demo-notice{flex-direction:column;align-items:start;gap:4px;margin-top:14px}.home-view{padding-top:45px}.hero{margin-bottom:31px}.hero h1{font-size:36px;letter-spacing:-1.8px;margin:17px 0 10px}.hero p{font-size:13px}.desktop-only{display:none}.choices{grid-template-columns:1fr;gap:12px}.choice-card{min-height:164px;padding:21px;gap:12px;flex-direction:row}.choice-icon{width:48px;height:48px;border-radius:13px;flex-shrink:0}.choice-icon svg{width:24px;height:24px}.choice-title{font-size:18px}.choice-description{font-size:12px}.choice-copy{gap:6px}.choice-arrow{top:15px;right:16px}.home-bottom{flex-direction:column;align-items:start;gap:10px;margin-top:21px}.trustline{flex-direction:column;align-items:start;gap:12px;margin:40px 0}.workspace-view{padding-top:23px}.workspace-heading h1{font-size:23px}.workspace-heading p{font-size:12px}.heading-icon{width:53px;height:53px;border-radius:14px}.heading-icon svg{width:24px;height:24px}.surface-card{padding:18px}.workspace-grid,.record-layout{gap:14px}.point-inputs input{width:54px}.action-card{padding:21px}.record-stage{min-height:345px}.save-row{flex-direction:column}.site-footer{flex-direction:column;align-items:center;text-align:center}.timeline-row .timeline-fields{flex-basis:100%}}

/* V9: understated keyboard sequence additions within the approved V6 design. */
.keyboard-add-row{display:flex;align-items:stretch;gap:9px;margin-top:8px;min-width:0}
.keyboard-add-row .text-input,.keyboard-add-row .input-control{flex:1;min-width:0;width:auto}
.keyboard-add-row .btn{white-space:nowrap;flex-shrink:0}
.keyboard-card .subhint{line-height:1.6;margin:12px 0}
.simple-sequence{margin-top:18px;border-top:1px solid #e9edf5;padding-top:13px}
.simple-sequence-title{font-size:13px;font-weight:800;color:#404d64;margin-bottom:8px}
.simple-step{display:flex;gap:9px;align-items:center;border:1px solid #eef1f7;border-radius:10px;background:#fcfdff;padding:7px 9px;margin:6px 0;min-width:0}
.simple-step-number{font-size:11px;color:#5d6c90;background:#edf1fb;border-radius:6px;min-width:23px;height:23px;display:grid;place-items:center;font-weight:800}
.simple-step-name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#44516a}
.simple-step-actions{display:flex;gap:3px}
.simple-step-btn{width:27px;height:28px;border:0;border-radius:6px;color:#64748b;background:#f2f4f9;font-size:14px}
.simple-step-btn:disabled{opacity:.3}
@media(max-width:520px){.keyboard-add-row{flex-wrap:wrap}.keyboard-add-row>.text-input,.keyboard-add-row>.input-control{flex:1 1 100%}.keyboard-add-row>.btn{flex:1 1 100%}}
@media(max-width:520px){.demo-screen{min-height:0;aspect-ratio:16/9}}

/* V10: compact click/keyboard workbench; drag handles replace reorder buttons. */
.workspace-view{padding-top:21px}.workspace-heading{margin-bottom:17px}.workspace-heading h1{font-size:25px}.workspace-heading p{font-size:12px}
.workspace-heading .heading-icon{width:55px;height:55px;border-radius:15px}.workspace-grid{grid-template-columns:minmax(0,1.06fr) minmax(335px,.96fr);gap:15px}
.workspace-grid>.stack{gap:13px}.workspace-grid .surface-card{padding:17px 19px}.workspace-grid .section-title{margin-bottom:13px}
.workspace-grid .surface-card h2{font-size:15px}.point-list{margin:8px 0}.point-row{padding:5px 9px;gap:8px}.point-index{width:27px;height:27px;border-radius:50%;background:#4568ec;color:white}
.point-inputs input{padding:6px 5px}.keyboard-card .space-top{margin-top:11px}.keyboard-add-row{margin-top:4px}.keyboard-add-row .btn{min-height:39px;padding:8px 11px}.keyboard-card .subhint{margin:9px 0 0}
.mini-screen-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#405479;margin:11px 0 7px}.mini-screen-head>span{font-size:10px;color:#8d9bb4}
.inline-screen{aspect-ratio:16/7.1;min-height:140px;max-height:215px;background:linear-gradient(90deg,rgba(216,224,244,.4) 1px,transparent 1px),linear-gradient(rgba(216,224,244,.4) 1px,transparent 1px),linear-gradient(135deg,#f7f9ff,#edf2fa);background-size:22px 22px,22px 22px,auto}
.inline-screen .screen-label{top:9px;left:10px;font-size:10px}.screen-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:11px;color:#9aa4b9;pointer-events:none;padding:15px;text-align:center}.screen-empty[hidden]{display:none}
.inline-screen .screen-marker{width:37px;height:37px;font-size:14px;box-shadow:0 2px 0 4px #4868e829,0 3px 12px #4764a844}.screen-marker.moving{cursor:grabbing;box-shadow:0 0 0 8px #4565e52d,0 5px 20px #4565e57b}
.position-caption{font-size:10px;color:#8896a9;line-height:1.55;margin:7px 0 10px}.order-card{border-color:#bdcaff;box-shadow:0 10px 30px #4264ed10;background:linear-gradient(180deg,#fff,#fcfdff)}
.order-header{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #e4eaff;padding-bottom:11px;margin-bottom:8px}.order-header h2{margin:2px 0 4px;font-size:18px!important}.order-overline{color:#5774e6;font-size:11px;font-weight:800}.order-header p{font-size:11px;color:#7c8aa4;margin:0}.order-badge{font-size:9px;font-weight:850;letter-spacing:1px;border-radius:6px;background:#eef2ff;color:#6179d8;padding:6px 7px}.order-count{font-size:11px;font-weight:700;color:#6075d6;background:#edf2ff;padding:4px 6px;border-radius:6px;vertical-align:middle}
.order-card .simple-sequence{border:0;margin:0;padding:0;min-height:105px;max-height:300px;overflow-y:auto;scrollbar-color:#d0d9ef transparent}.simple-step{margin:5px 0;padding:7px 8px;gap:7px;border:1px solid #e7ebf5;background:#fff;min-height:39px;position:relative;transition:border-color .12s,background .12s}.simple-step:hover{border-color:#bfcbf4}.simple-step-number{font-size:10px;min-width:23px;width:23px;height:23px}.step-kind-icon{font-size:14px;width:23px;text-align:center;color:#5b72b6}.simple-step-name{font-size:12px;font-weight:650;color:#39465f}.drag-handle{width:25px;height:28px;display:grid;place-items:center;font-size:22px;line-height:1;border-radius:6px;color:#93a4c2;cursor:grab;touch-action:none;user-select:none;flex-shrink:0}.drag-handle:hover,.drag-handle:focus-visible{color:#4264ed;background:#eef2ff}.drag-handle:active{cursor:grabbing}.step-remove{border:0;background:none;color:#adbacb;width:23px;height:25px;font-size:18px;border-radius:6px;flex-shrink:0}.step-remove:hover{color:#d64d55;background:#fff1f2}.is-dragging{opacity:.6;background:#f1f5ff;border-color:#7a91f0}.drop-before:before{content:'';position:absolute;top:-5px;left:0;right:0;height:3px;background:#4163ec;border-radius:6px;pointer-events:none}.drop-after:after{content:'';position:absolute;bottom:-5px;left:0;right:0;height:3px;background:#4163ec;border-radius:6px;pointer-events:none}
.order-empty{min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;color:#8392ad}.order-empty span{font-size:24px;color:#9cadcf}.order-empty strong{font-size:12px;color:#657692}.order-empty small{font-size:11px}
.order-foot{display:flex;justify-content:space-between;gap:6px;align-items:center;border-top:1px solid #e9ecf6;margin-top:10px;padding-top:10px}.order-foot>span{font-size:10px;color:#9aa7bb}.order-foot .text-link{font-size:11px;padding:3px 0}
.repeat-card .segmented{margin-bottom:7px}.repeat-card .segmented button{padding:8px 5px}.repeat-card .inline-number{min-height:37px}.repeat-card .inline-number input{padding:7px 12px}.repeat-card .space-top{margin-top:12px}.repeat-card .form-label{margin-bottom:7px;font-size:12px}
.action-card{padding:17px 19px;gap:13px}.action-card h3{font-size:17px}.ready-line{margin-bottom:5px}.action-card .big{min-height:47px}
.timeline-row{position:relative}.timeline-list .drag-handle{flex-shrink:0}.timeline-list .timeline-fields{min-width:0}
@media(max-width:830px){.workspace-grid{grid-template-columns:1fr}.right-workspace{order:0}.workspace-grid>.stack{gap:12px}}
@media(max-width:560px){.workspace-heading h1{font-size:21px}.workspace-heading .heading-icon{width:46px;height:46px}.workspace-grid .surface-card{padding:14px 15px}.inline-screen{min-height:135px}.order-card .simple-sequence{max-height:225px}.point-inputs input{width:58px}.order-foot>span{font-size:9px}.keyboard-add-row .btn{flex:0 0 auto}.keyboard-add-row>.text-input,.keyboard-add-row>.input-control{flex:1 1 0}.keyboard-add-row{flex-wrap:nowrap}.keyboard-add-row .btn{font-size:11px;padding:8px 9px}.keyboard-add-row>.text-input,.keyboard-add-row>.input-control{width:0;min-width:0}.workspace-grid>.stack{gap:11px}}

.demo-nav{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 20px;background:#eef2ff;border-bottom:1px solid #c7d6ff;color:#3a519c;font:500 12px/1.5 'Segoe UI',sans-serif}.demo-nav>div{display:flex;gap:12px}.demo-nav a{color:#3053bf;text-decoration:none;font-weight:700}.demo-nav a:hover{text-decoration:underline}@media(max-width:600px){.demo-nav{flex-direction:column;align-items:flex-start;padding:8px 14px}}


/* v12: no embedded miniature coordinate board; desktop uses native full-screen overlay. */
#view-click .point-list{height:94px;max-height:94px;min-height:94px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:3px}
#view-click .point-row{flex-shrink:0;margin-bottom:5px}
#view-click .position-toolbar{margin-top:7px}
#view-click .position-caption{font-size:11px;line-height:1.5;margin:7px 1px 0;color:#7c8ba4}
#view-click .hint-inline{margin:9px 0 8px;line-height:1.45}
#view-click .order-card .simple-sequence{height:210px;min-height:210px;max-height:210px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}
#view-click .order-card{min-height:0}
#view-click .keyboard-card{min-width:0}
#view-click .keyboard-add-row{min-width:0}
#view-click .keyboard-add-row .text-input{min-width:0}
#view-timeline .timeline-list{height:min(52vh,490px);min-height:240px;max-height:min(52vh,490px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.fullscreen-position-layer[hidden]{display:none!important}
.fullscreen-position-layer{position:fixed;inset:0;width:100vw;height:100dvh;z-index:10000;isolation:isolate;overflow:hidden;touch-action:none;background:rgba(18,28,49,.20)}
.fullscreen-position-canvas{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;touch-action:none;background:linear-gradient(90deg,rgba(255,255,255,.09) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.09) 1px,transparent 1px);background-size:36px 36px,36px 36px}
.fullscreen-markers{position:absolute;inset:0;pointer-events:none}
.fullscreen-position-layer .screen-marker{position:absolute;display:grid;place-items:center;width:50px;height:50px;border-radius:50%;font-size:17px;font-weight:800;color:white;background:#4264ed;box-shadow:0 0 0 6px #4264ed2f,0 8px 30px #3244a253;transform:translate(-50%,-50%);touch-action:none;cursor:grab;pointer-events:auto;user-select:none}
.fullscreen-position-layer .screen-marker:active{cursor:grabbing}
.fullscreen-position-layer .screen-marker.moving{box-shadow:0 0 0 10px #4264ed4f,0 10px 35px #3244a267}
.fullscreen-position-top{position:absolute;z-index:3;left:18px;right:18px;top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:#fffffff2;border:1px solid #e0e6f5;border-radius:15px;box-shadow:0 12px 34px #233f7b1a;pointer-events:auto}
.fullscreen-position-top strong{color:#223353;font-size:16px}
.fullscreen-position-top p{margin:4px 0 0;color:#7a8ba8;font-size:12px}
.fullscreen-position-actions{display:flex;gap:8px}
.fullscreen-position-bottom{position:absolute;z-index:3;bottom:18px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#3d5483;font-size:12px;font-weight:600;pointer-events:none}
.fullscreen-position-bottom span{background:#ffffffd9;padding:9px 12px;border:1px solid #dbe4f7;border-radius:10px}
.fullscreen-empty{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#8b9bb6;font-size:13px;text-align:center;pointer-events:none}
body.position-editing{overflow:hidden}
@media(max-width:830px){#view-click .order-card .simple-sequence{height:200px;min-height:200px;max-height:200px}}
@media(max-width:600px){.fullscreen-position-top{flex-wrap:wrap;left:9px;right:9px;top:9px;padding:10px 12px}.fullscreen-position-top strong{font-size:13px}.fullscreen-position-top p{font-size:11px}.fullscreen-position-actions{width:100%}.fullscreen-position-actions .btn{flex:1;min-width:0;padding:9px 7px;font-size:11px}.fullscreen-position-bottom{left:9px;right:9px;bottom:9px;flex-wrap:wrap;font-size:10px}.fullscreen-position-bottom span{padding:6px 9px}#view-click .point-list{height:87px;min-height:87px;max-height:87px}}

#view-click .position-action-row{display:flex;gap:8px;align-items:stretch;min-width:0}
#view-click .position-action-row .btn{min-width:0;min-height:41px;padding:9px 10px;font-size:12px}
#view-click .position-action-row #addPoint{flex:0 0 auto}
#view-click .position-action-row #selectOnScreen{flex:1 1 0}
#view-click .point-list{margin-top:5px}
@media(max-width:500px){#view-click .position-action-row .btn{font-size:11px;padding:7px 8px}}

/* Desktop-first compact workbench: controls visible without scrolling in 900px-tall viewports. */
@media(min-width:960px) and (min-height:730px){
 .topbar{height:65px}
 .workspace-view{padding-top:10px;padding-bottom:25px}
 .back-link{margin-bottom:8px;padding:4px 2px}
 .workspace-heading{margin-bottom:10px;gap:10px}
 .workspace-heading h1{font-size:23px;margin-bottom:2px}
 .workspace-heading .heading-icon{width:48px;height:48px;border-radius:13px}
 .workspace-heading p{font-size:11px}
 .workspace-grid>.stack{gap:9px}
 .workspace-grid .surface-card{padding:12px 16px}
 .workspace-grid .section-title{margin-bottom:8px}
 .workspace-grid .section-title p{margin-top:2px}
 #view-click .hint-inline{margin:5px 0;font-size:11px}
 #view-click .point-list{height:72px;min-height:72px;max-height:72px}
 #view-click .position-caption{margin:3px 0 0}
 #view-click .order-card .simple-sequence{height:150px;min-height:150px;max-height:150px}
 #view-click .order-header{padding-bottom:6px;margin-bottom:5px}
 #view-click .order-foot{padding-top:5px;margin-top:5px}
 #view-click .simple-step{margin:3px 0;padding:5px 7px;min-height:34px}
 #view-click .keyboard-card .form-label{margin-bottom:6px}
 #view-click .keyboard-card .space-top{margin-top:7px}
 #view-click .keyboard-card .subhint{margin-top:4px}
 #view-click .repeat-card .segmented{margin-bottom:4px}
 #view-click .repeat-card .segmented button{padding:6px 5px}
 #view-click .repeat-card .space-top{margin-top:7px}
 #view-click .repeat-card .form-label{margin-bottom:4px}
 #view-click .action-card{padding:12px 16px;gap:7px}
 #view-click .action-card h3{font-size:15px}
 #view-click .action-card .big{min-height:42px}
 #view-click .action-card .ready-line{margin:0}
}

/* V13: translucent placement scrim (20% opacity) with full-opacity coordinates. */
.fullscreen-position-layer .screen-marker{isolation:isolate;border:2px solid #fff;box-shadow:0 0 0 5px rgba(66,100,237,.20),0 8px 24px rgba(30,41,80,.30)}
.fullscreen-position-layer .screen-marker::before,.fullscreen-position-layer .screen-marker::after{content:"";position:absolute;z-index:-1;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:2px;background:rgba(255,255,255,.95);box-shadow:0 0 0 1px rgba(30,54,128,.5)}
.fullscreen-position-layer .screen-marker::before{width:88px;height:2px}
.fullscreen-position-layer .screen-marker::after{width:2px;height:88px}

/* v13.1 explicit scrim: only the background is 20% opaque, while markers remain fully visible. */
.fullscreen-position-layer:not([hidden]){background-color:rgba(18,28,49,0.20)!important;opacity:1!important;}
.fullscreen-position-layer .fullscreen-position-canvas{background-color:transparent!important;}
.fullscreen-position-layer .screen-marker{opacity:1!important;}
