/* A deliberately separate, silent sketch of a composing surface. */
.automation-sketch{--as-paper:#faf8f0;--as-ink:#201a22;--as-violet:#54218e;--as-rule:#bcb2b9;--as-role:#df1d7c;--as-ui:#c71568;margin:3rem 0;padding:1.5rem 0;border-top:3px solid var(--as-violet);border-bottom:1px solid var(--as-rule);color:var(--as-ink)}
.automation-sketch *{box-sizing:border-box}.automation-sketch [hidden]{display:none!important}
.as-heading{max-width:780px}.as-kicker{font:700 .8rem/1.5 "Courier New",monospace;letter-spacing:.08em;color:var(--as-violet);margin:0 0 .7rem}.as-heading h2{margin:0 0 .8rem;font-size:clamp(1.8rem,4vw,3rem);line-height:1.08}.as-caption{font-size:1.05rem;line-height:1.6;margin:0 0 1.5rem;max-width:68ch}
.as-workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:2rem;align-items:start}.as-field,.as-editor{min-width:0}.as-sphere{display:block;width:100%;height:auto;aspect-ratio:15/11;max-height:325px;object-fit:contain}.as-time-heading,.as-point-heading,.as-curve-heading{display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;font: .875rem/1.5 "Courier New",monospace}.as-time-output,.as-direction-output{font-weight:700;color:var(--as-ui);white-space:nowrap}.as-range-ends{display:flex;justify-content:space-between;gap:8px;font:.75rem/1.4 "Courier New",monospace;color:#645667}
.automation-sketch input[type=range]{display:block;appearance:none;-webkit-appearance:none;width:100%;height:44px;margin:0;background:transparent;touch-action:pan-y;cursor:pointer}.automation-sketch input[type=range]::-webkit-slider-runnable-track{height:5px;background:#d8cfd7;border-radius:0}.automation-sketch input[type=range]::-moz-range-track{height:5px;background:#d8cfd7;border-radius:0}.automation-sketch input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:44px;height:44px;margin-top:-19.5px;border:9px solid transparent;border-radius:50%;background:var(--as-role);background-clip:content-box}.automation-sketch input[type=range]::-moz-range-thumb{width:44px;height:44px;border:9px solid transparent;border-radius:50%;background:var(--as-role);background-clip:content-box;box-sizing:border-box}
.automation-sketch button{min-height:44px;min-width:44px;background:transparent;border:1px solid var(--as-violet);border-radius:0;padding:9px 14px;color:var(--as-violet);font: .85rem/1.35 "Courier New",monospace;cursor:pointer}.automation-sketch button:hover{background:#54218e0b}.automation-sketch :is(button,input):focus-visible{outline:3px solid #007fbd;outline-offset:3px}.automation-sketch button:disabled{opacity:.5;cursor:default}.as-preview{margin-top:1rem;display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.as-preview button[aria-pressed=true]{background:var(--as-violet);color:var(--as-paper)}.as-reduced-note{font:.8rem/1.5 "Courier New",monospace;max-width:33ch}
.as-role-choices{padding:0;margin:0 0 1.25rem;border:0;min-width:0}.as-role-choices legend{font:.875rem/1.5 "Courier New",monospace;padding:0;margin-bottom:.65rem}.as-role-choices>div{display:flex;gap:8px;flex-wrap:wrap}.as-role-choices button{color:var(--as-ui);border-color:var(--as-ui);flex:1 1 auto}.as-role-choices button[aria-pressed=true]{background:var(--as-ui);color:var(--as-paper);box-shadow:3px 3px 0 #ddd3dc}.as-curve-heading{margin-bottom:.65rem}.as-curve-heading h3{margin:0;font:inherit;font-weight:700}.as-curve-role{color:var(--as-ui)}
.as-curve-wrap{display:grid;grid-template-columns:38px minmax(0,1fr);gap:6px;margin:0 22px 1rem 0;padding:22px 0}.as-curve-labels{height:180px;display:flex;flex-direction:column;justify-content:space-between;font:.7rem/1 "Courier New",monospace;color:#645667;padding:7px 0}.as-curve{position:relative;height:180px;min-width:0;overflow:visible}.as-curve svg{display:block;width:100%;height:100%;overflow:visible}.as-guide{fill:none;stroke:#cabfca;stroke-width:1;stroke-dasharray:2 5;vector-effect:non-scaling-stroke}.as-trace{fill:none;stroke:var(--as-role);stroke-width:2.5;vector-effect:non-scaling-stroke}.as-cursor{fill:none;stroke:#201a22;stroke-width:1;stroke-dasharray:3 4;vector-effect:non-scaling-stroke}.as-moving-point{fill:var(--as-ink);stroke:var(--as-paper);stroke-width:2;vector-effect:non-scaling-stroke}.as-points{position:absolute;inset:0}.automation-sketch .as-point{position:absolute;width:44px;height:44px;min-height:44px;min-width:44px;transform:translate(-50%,-50%);padding:0;border:0;background:transparent;touch-action:none;color:var(--as-ui);font:bold .75rem/1 "Courier New",monospace;border-radius:50%;display:grid;place-items:center}.as-point span{width:24px;height:24px;border:1.5px solid var(--as-role);border-radius:50%;display:grid;place-items:center;background:var(--as-paper)}.as-point[aria-pressed=true] span{background:var(--as-ui);color:var(--as-paper);box-shadow:0 0 0 3px var(--as-paper),0 0 0 4px var(--as-role)}.as-point:hover span{box-shadow:0 0 0 4px #df1d7c14}.as-help{font:.85rem/1.5 "Courier New",monospace;margin:1rem 0}.as-footnote{font:.85rem/1.5 "Courier New",monospace;color:#645667;max-width:80ch;margin:1.5rem 0 0}
@media(max-width:700px){
 .automation-sketch{padding-top:1rem}.automation-sketch .as-kicker{margin-bottom:.4rem}.automation-sketch .as-heading h2{font-size:clamp(1.65rem,7vw,2rem);margin-bottom:.5rem}.automation-sketch .as-caption{font-size:1rem;line-height:1.4;margin-bottom:.5rem}
 .as-workspace{grid-template-columns:minmax(0,1fr);gap:.75rem}.as-sphere{height:160px;max-height:160px}.as-field{padding-bottom:.5rem;border-bottom:1px solid #d8cfd7}.as-preview{margin-top:.25rem;gap:.5rem}
 .as-role-choices{margin-bottom:.6rem}.as-role-choices legend{margin-bottom:.25rem}.as-curve-wrap{margin:0 22px .5rem 0;padding:15px 0}.as-curve,.as-curve-labels{height:150px}.as-curve-heading{margin-bottom:0}.as-help{margin:.6rem 0}.as-footnote{margin-top:1rem}
}
@media(prefers-reduced-motion:reduce){.automation-sketch *{scroll-behavior:auto}}
@media print{.automation-sketch{break-inside:avoid}.as-preview,.as-direction,.as-time,.as-reset{display:none!important}}
