/* GIAD transition editor. Every rule is scoped to .ed so the editor can sit inside other pages. */
.ed{font-family:'Archivo',system-ui,sans-serif;color:#F3E6CC;background:#141619;-webkit-font-smoothing:antialiased;overflow-x:auto;container:ed/inline-size}
.ed *{box-sizing:border-box}
.ed a{color:#F3E6CC}.ed a:hover{color:#FF6B3D}
.ed :focus-visible{outline:2px solid #FF6B3D;outline-offset:2px}
.ed button{font-family:inherit}
.ed .mono{font-family:'JetBrains Mono',ui-monospace,monospace}
.ed .display{font-family:'Archivo',sans-serif;font-weight:900;font-stretch:125%;font-variation-settings:'wdth' 125}
.ed .lbl{font:500 11px/1 'JetBrains Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:#8F897F}
.ed .sw{display:inline-block;width:10px;height:10px;border-radius:3px;flex:0 0 auto}
.ed .dot8{display:inline-block;width:8px;height:8px;border-radius:50%;flex:0 0 auto}

.ed .seg{display:inline-flex;padding:3px;border-radius:9px;background:#1B1E22;border:1px solid #2C3036}
.ed .seg button{min-height:30px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:#A9A296;font:500 13px/1 'Archivo',sans-serif;white-space:nowrap;cursor:pointer;transition:background .2s,color .2s}
.ed .seg button:hover{color:#F3E6CC}
.ed .seg button.on{background:#2C3036;color:#F3E6CC}
.ed .btn{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 14px;border-radius:8px;border:1px solid #3A3F47;background:transparent;color:#F3E6CC;font:600 13px/1 'Archivo',sans-serif;cursor:pointer;transform:none;transition:border-color .2s,background .2s}
.ed .btn:hover{border-color:#8F897F;transform:none}
.ed .btn[disabled]{opacity:.45;cursor:not-allowed}
.ed .btn-primary{background:#F0441E;border-color:#F0441E;color:#141619}
.ed .btn-primary:hover{background:#FF5A33;border-color:#FF5A33;color:#141619}
.ed .vchip{min-height:28px;padding:0 10px;border-radius:999px;border:1px solid #3A3F47;background:transparent;color:#A9A296;font:500 12px/1 'JetBrains Mono',monospace;white-space:nowrap;cursor:pointer;transition:border-color .2s,color .2s}
.ed .vchip:hover{color:#F3E6CC}
.ed .vchip.on{border-color:#F3E6CC;color:#F3E6CC}
.ed .vchip.draft{border-style:dashed}

.ed .panel{background:#1B1E22;border:1px solid #2C3036;border-radius:10px}
.ed .ribbon{position:absolute;top:0;bottom:0;padding:0 6px;border-radius:3px;font:500 11px/18px 'JetBrains Mono',monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed .ribbon.A{background:#2A2C2F;color:#D9CDB5;box-shadow:inset 1px 0 0 #4A4F57}
.ed .ribbon.B{background:#2E2320;color:#FF8A66;box-shadow:inset 1px 0 0 #6A2E1F}
.ed .pin{position:absolute;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;border:1.5px solid #8F897F;background:#141619;color:#A9A296;font:700 10px/17px 'JetBrains Mono',monospace;text-align:center;cursor:pointer;padding:0}
.ed .pin.now{background:#F0441E;border-color:#F0441E;color:#141619}
.ed .pin.done{border-color:#F3E6CC;color:#F3E6CC}
.ed .lufs{position:absolute;bottom:0;border-radius:2px 2px 0 0;background:#4A4F57}
.ed .lufs.loud{background:#A9A296}

.ed .lane{display:grid;grid-template-columns:168px minmax(0,1fr);border-top:1px solid #23272C}
.ed .lane .name{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 14px;font-size:13px;color:#F3E6CC;min-width:0}
.ed .lane .trk{position:relative;background:#16181B;overflow:hidden}
.ed .lane .trk canvas{position:absolute;left:0;top:0;width:100%;height:100%;display:block}
.ed .lane.mix .trk{background:#121417;height:76px}
.ed .lane.stem .trk{height:40px}
.ed .lane.plan{border-top:0}
.ed .lane.plan .trk{height:40px;background:transparent}
.ed .lane.notes .trk{height:34px;background:transparent}
.ed .lane.rul .trk{height:28px;background:transparent}
.ed .rail{position:absolute;top:0;bottom:0;left:0;will-change:transform}

.ed .pad{display:inline-flex;align-items:center;justify-content:center;min-width:46px;min-height:30px;padding:0 6px;border-radius:6px;border:1px solid #3A3F47;font:700 11px/1 'JetBrains Mono',monospace;letter-spacing:.04em;transition:background .25s,color .25s,border-color .25s}
.ed .pad.hl{box-shadow:0 0 0 2px #141619,0 0 0 4px #F3E6CC;animation:ged-ring 1.6s ease-out infinite}
.ed .knob{position:relative;width:38px;height:38px;border-radius:50%;background:radial-gradient(circle at 50% 35%,#353A42,#24282E);border:1px solid #3A3F47;animation:none}
.ed .knob .ptr{position:absolute;inset:0;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.ed .knob .ptr::before{content:'';position:absolute;left:50%;top:4px;width:3px;height:11px;margin-left:-1.5px;border-radius:2px;background:#F3E6CC}
.ed .knob.hl{border-color:#F3E6CC;animation:ged-ring 1.6s ease-out infinite}
.ed .track{position:relative;width:6px;height:132px;margin:0;border-radius:3px;background:#0F1114}
.ed .cap{position:absolute;left:50%;width:36px;height:16px;margin-left:-18px;border-radius:4px;background:#3A3F47;border:1px solid #4A4F57;animation:none;transition:bottom .08s linear}
.ed .cap::after{content:'';position:absolute;left:6px;right:6px;top:7px;height:1.5px;background:#F3E6CC}
.ed .cap.hl{border-color:#F3E6CC;animation:ged-ring 1.6s ease-out infinite}
.ed .meter{position:relative;width:8px;height:132px;border-radius:3px;background:#0F1114;overflow:hidden}
.ed .meter span{position:absolute;left:0;right:0;bottom:0;border-radius:3px;transition:height .08s linear}
.ed .xtrack{position:relative;height:6px;border-radius:3px;background:#0F1114}
.ed .xcap{position:absolute;top:50%;width:22px;height:38px;margin:-19px 0 0 -11px;border-radius:4px;background:#3A3F47;border:1px solid #4A4F57;animation:none;transition:left .08s linear}
.ed .xcap::after{content:'';position:absolute;top:6px;bottom:6px;left:9.5px;width:1.5px;background:#F3E6CC}
.ed .share{display:block;height:100%;transition:width .08s linear}
.ed .move{min-width:30px;min-height:30px;border-radius:50%;border:1.5px solid #3A3F47;background:transparent;color:#8F897F;font:700 11px/1 'JetBrains Mono',monospace;cursor:pointer}
.ed .move:hover{border-color:#8F897F;color:#F3E6CC}
.ed .move.done{border-color:#8F897F;color:#A9A296}
.ed .move.now{background:#F0441E;border-color:#F0441E;color:#141619}
.ed .move.next{border-color:#FF6B3D;color:#FF6B3D}
.ed .spark{flex:1 1 0;min-width:1px;border-radius:1px}

.ed .playhead{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#FFFFFF;box-shadow:0 0 10px rgba(255,255,255,.55);pointer-events:none}
.ed .loading{animation:ged-pulse 1.4s ease-in-out infinite}

/* ---- layout (values from the design's inline styles) ---- */
.ed .ed-in{display:flex;flex-direction:column;gap:12px;padding:0 16px 16px;min-width:1180px}
.ed.standalone{min-height:100vh}
.ed.standalone .ed-in{min-width:1280px}
.ed .state{margin-top:16px;padding:48px;text-align:center}

.ed .ed-top{display:flex;align-items:center;gap:18px;height:60px;padding:0 4px;border-bottom:1px solid #2C3036}
.ed .ed-brand{display:flex;align-items:center;gap:10px}
.ed .ed-brand img{display:block;width:30px;height:30px}
.ed .ed-brand .display{font-size:18px}
.ed .ed-sep{width:1px;height:24px;background:#2C3036}
.ed .ed-title{margin:0;display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700;white-space:nowrap}
.ed .ed-title .dot8{margin-right:8px}
.ed .ed-title .arrow{color:#8F897F}
.ed .ed-versions{display:flex;gap:6px}
.ed .ed-transport{flex:1;display:flex;align-items:center;justify-content:center;gap:14px}
.ed .ed-play{width:40px;height:40px;border:0;border-radius:50%;background:#F0441E;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.ed .ed-play:hover{background:#FF5A33}
.ed .ed-clock{min-width:150px;font-size:20px;font-weight:500;white-space:nowrap}
.ed .ed-clock small{font-size:13px;color:#8F897F}
.ed .ed-bb{display:flex;gap:12px;padding:6px 12px;border-radius:8px;background:#1B1E22;border:1px solid #2C3036;font-size:13px}
.ed .ed-bb .ka{color:#8F897F}.ed .ed-bb .kb{color:#FF6B3D}
.ed .ed-looplbl{font-size:11px;color:#8F897F;white-space:nowrap}

.ed .ov{position:relative;padding:12px 16px 10px}
.ed .ov-grid{display:grid;grid-template-columns:104px minmax(0,1fr);row-gap:4px;align-items:center}
.ed .ov-row{position:relative}
.ed .ov-wave{display:block;width:100%;height:40px}
.ed .ov-line{position:absolute;left:0;right:0;top:50%;height:1px;background:#2C3036}
.ed .ov-ticks{position:relative;height:16px;font-size:11px;color:#8F897F}
.ed .ov-ticks i{font-style:normal}
.ed .ov-moves{height:26px}
.ed .ed-rotate,.ed .learn-toggle{display:none}
.ed .ov-ticks span{position:absolute;padding-left:4px;border-left:1px solid #3A3F47;white-space:nowrap}
.ed .ov-over{position:absolute;top:12px;bottom:30px;left:120px;right:16px;cursor:pointer}
.ed .ov-view{position:absolute;top:0;bottom:0;border:1.5px solid #F3E6CC;border-radius:6px;background:rgba(243,230,204,.05);pointer-events:none}
.ed .ov-step{position:absolute;top:-2px;transform:translateX(-50%);line-height:0}

.ed .legend{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;padding:2px 4px}
.ed .legend .it{display:flex;align-items:center;gap:7px;font-size:13px}
.ed .legend .hint{font-size:11px;color:#8F897F}
.ed .legend .pair{display:inline-flex;gap:2px}
.ed .legend .wfg{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-left:auto}
.ed .ed-break{display:none}

.ed .ed-main{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:12px;align-items:start}
.ed .arr{position:relative;overflow:hidden;user-select:none}
.ed .arr .ruler{height:28px;display:grid;font-size:12px;background:transparent}
.ed .arr .ruler span{padding:7px 0 0 6px;border-left:1px solid #2C3036;color:#A9A296;white-space:nowrap;overflow:hidden}
.ed .arr .ruler span.cur{color:#FFFFFF}
.ed .arr .ruler span.jump{border-left-color:#FF6B3D;color:#FF6B3D;font-weight:700}
.ed .arr .block{position:absolute;top:6px;bottom:6px;display:flex;align-items:center;gap:8px;padding:0 10px;border-radius:6px;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;background:#22262B;border:1px solid #2C3036;cursor:pointer}
.ed .arr .block .n{font-size:11px;color:#A9A296}
.ed .arr .block.now{background:#2E2320;border-color:#F0441E}
.ed .arr .block.now .n{color:#FF6B3D}
.ed .arr .block .nowtag{display:none}
.ed .arr .block.now .nowtag{display:inline}
.ed .arr .note{position:absolute;top:6px;bottom:6px;display:flex;align-items:center;gap:6px;padding:0 10px;border-radius:6px;background:#22262B;font-size:11px;color:#A9A296;white-space:nowrap;overflow:hidden;cursor:pointer}
.ed .arr .note.draft{background:#F3E6CC;color:#141619;font-weight:700}
.ed .arr .note.future{opacity:.45}
.ed .arr .note .by{color:#F3E6CC}
.ed .arr .deckhead{display:flex;align-items:center;gap:12px;padding:8px 14px;border-top:1px solid #2C3036;background:#1F2226}
.ed .arr .deckhead.B{background:#221F1E}
.ed .arr .deckhead strong{font-size:13px;font-weight:700}
.ed .arr .deckhead .meta{font-size:12px;color:#A9A296}
.ed .arr .deckhead .right{margin-left:auto;font-size:12px;color:#A9A296}
.ed .arr .gain{font-size:12px}
.ed .arr .notehint{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-size:11px;color:#5E5A54;white-space:nowrap;pointer-events:none}
.ed .arr .tracks{position:absolute;top:75px;bottom:0;left:168px;right:0;overflow:hidden;cursor:crosshair}
.ed .arr .selband{position:absolute;top:0;bottom:0;background:rgba(243,230,204,.06);border-left:1.5px solid #F3E6CC;border-right:1.5px solid #F3E6CC;pointer-events:none}
.ed .arr .fxband{position:absolute;top:0;bottom:0;background:repeating-linear-gradient(135deg,rgba(255,107,61,.07) 0 6px,transparent 6px 12px);border-left:1px dashed rgba(255,107,61,.5);border-right:1px dashed rgba(255,107,61,.5);pointer-events:none}
.ed .arr .beatline{position:absolute;top:0;bottom:0;width:1px;background:rgba(243,230,204,.05);pointer-events:none}
.ed .arr .barline{position:absolute;top:0;bottom:0;width:1px;background:rgba(243,230,204,.06);pointer-events:none}
.ed .arr .barline.q{background:rgba(243,230,204,.11)}
.ed .arr .barline.ph{background:rgba(243,230,204,.18)}
.ed .arr .outmix{position:absolute;top:0;bottom:0;background:rgba(8,9,11,.6);pointer-events:none}
.ed .arr .outloop{position:absolute;top:0;bottom:0;background:rgba(8,9,11,.3);pointer-events:none}
.ed .arr .played{position:absolute;top:0;bottom:0;left:0;background:rgba(20,23,27,.32);pointer-events:none}

.ed .composer{position:absolute;width:320px;padding:14px;border-radius:12px;background:#22262B;border:1px solid #3A3F47;box-shadow:0 18px 40px rgba(0,0,0,.5);z-index:3}
.ed .composer .hd{display:flex;align-items:center;gap:8px}
.ed .composer .av{width:24px;height:24px;border-radius:50%;background:#F3E6CC;color:#141619;font:700 9px/24px 'Archivo',sans-serif;text-align:center;flex:0 0 auto}
.ed .composer .ttl{font-size:13px;font-weight:600}
.ed .composer .len{margin-left:auto;font-size:11px;color:#8F897F}
.ed .composer textarea{width:100%;resize:none;padding:10px 12px;border-radius:8px;border:1px solid #3A3F47;background:#141619;color:#F3E6CC;font:400 14px/1.4 'Archivo',sans-serif}
.ed .composer .fine{margin:8px 0 0;font-size:11px;line-height:1.5;color:#A9A296}
.ed .composer .acts{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.ed .composer.busy textarea{opacity:.6}

.ed .toast{position:absolute;left:180px;right:12px;bottom:10px;display:flex;align-items:flex-start;gap:10px;padding:10px 14px;border-radius:10px;background:#22262B;border:1px solid #3A3F47;box-shadow:0 12px 30px rgba(0,0,0,.45);font-size:13px;line-height:1.45;color:#A9A296;z-index:2}
.ed .toast strong{color:#F3E6CC}
.ed .toast button{margin-left:auto;border:0;background:transparent;color:#8F897F;cursor:pointer;font-size:16px;line-height:1}

.ed .insp{display:flex;flex-direction:column;gap:12px}
.ed .insp .panel{padding:16px}
.ed .insp .big{margin:8px 0 0;font-size:18px;font-weight:700;line-height:1.3}
.ed .insp .glyph{font-size:13px;color:#FF6B3D}
.ed .insp .bar4{height:4px;margin-top:14px;border-radius:2px;background:#2C3036;overflow:hidden}
.ed .insp .bar4 span{display:block;height:100%;background:#F0441E}
.ed .insp .nexttitle{margin:8px 0 0;font-size:15px;font-weight:600;color:#A9A296}
.ed .checks{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column}
.ed .checks li{display:grid;grid-template-columns:20px minmax(0,1fr) auto;gap:10px;align-items:start;padding:9px 0;border-top:1px solid #23272C}
.ed .checks .t{display:block;font-size:14px;font-weight:600}
.ed .checks .d{font-size:11px;color:#A9A296}
.ed .checks .v{font-size:13px}
.ed .lag{display:flex;align-items:flex-end;gap:1px;height:24px}
.ed .facts{display:grid;grid-template-columns:64px minmax(0,1fr);row-gap:10px;font-size:13px}

.ed .learn{display:grid;grid-template-columns:360px minmax(0,1fr);overflow:hidden}
.ed .coach{display:flex;flex-direction:column;gap:12px;padding:18px 20px;border-right:1px solid #2C3036}
.ed .coach h2{margin:0;font-size:22px;line-height:1.2;font-weight:800}
.ed .coach ol.steps{margin:0;padding:0 0 0 18px;display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.45;color:#A9A296}
.ed .coach ol.steps strong{color:#F3E6CC}
.ed .coach .nowline{margin:0;font-size:12px;color:#8F897F}
.ed .coach .moves{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.ed .console{display:flex;align-items:stretch;gap:14px;padding:16px 20px}
.ed .strip{flex:1 1 0;display:flex;gap:14px;padding:14px 16px;border-radius:10px;background:#141619;border:1px solid #2C3036;min-width:0}
.ed .strip .col{flex:1;min-width:0;display:flex;flex-direction:column;gap:14px}
.ed .strip .hd{display:flex;align-items:center;justify-content:space-between;gap:8px}
.ed .strip .nm{font-size:12px;letter-spacing:.1em;color:#A9A296;white-space:nowrap}
.ed .strip .mt{font-size:11px;color:#8F897F;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed .pads{display:flex;flex-wrap:wrap;gap:6px}
.ed .knobs{display:flex;gap:14px}
.ed .knobs .k{display:flex;flex-direction:column;align-items:center;gap:6px}
.ed .knobs .kl{font-size:11px;color:#8F897F}
.ed .knobs .kv{font-size:11px;color:#A9A296;white-space:nowrap}
.ed .fadercol{display:flex;gap:10px;align-items:flex-end}
.ed .fadercol .c{display:flex;flex-direction:column;align-items:center;gap:6px}
.ed .fadercol .fv{width:56px;text-align:center;font-size:11px;color:#A9A296}
.ed .fadercol .mv{width:30px;text-align:center;font-size:11px;color:#8F897F}
.ed .xf{flex:0 0 236px;display:flex;flex-direction:column;justify-content:center;gap:14px;padding:14px 16px;border-radius:10px;background:#141619;border:1px solid #2C3036}
.ed .xf .row{display:flex;justify-content:space-between;align-items:baseline}
.ed .xf .lead{font-size:12px;font-weight:700}
.ed .xf .ends{display:flex;justify-content:space-between;font-size:11px;color:#8F897F}
.ed .xf .sharebar{display:flex;height:12px;border-radius:6px;overflow:hidden;background:#0F1114}
.ed .xf .sharetxt{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 8px;margin-top:6px;font-size:11px}

/* Narrower editors (the landing page's 00 Live window, laptop screens): the view controls take a
   second header row, and the console tightens so the knobs never slide under the faders. */
@container ed (max-width: 1540px){
  .ed .ed-top{flex-wrap:wrap;height:auto;row-gap:10px;padding:10px 4px}
  .ed .ed-break{display:block;flex-basis:100%;height:0}
  .ed .ed-top [data-ref="modes"]{margin-left:auto}
  .ed .ed-looplbl{display:none}
  .ed .learn{grid-template-columns:320px minmax(0,1fr)}
  .ed .console{gap:12px;padding:16px}
  .ed .xf{flex-basis:200px}
  .ed .knobs{gap:10px}
}

/* Opening: the landing page adds .ed-intro when its wizard hands over. Panels rise in turn and
   the waveforms wipe in from the left. */
.ed.ed-intro .ed-in > *{animation:ged-rise .7s cubic-bezier(.2,.8,.2,1) both}
.ed.ed-intro .ed-in > :nth-child(2){animation-delay:.08s}
.ed.ed-intro .ed-in > :nth-child(3){animation-delay:.16s}
.ed.ed-intro .ed-in > :nth-child(4){animation-delay:.24s}
.ed.ed-intro .ed-in > :nth-child(5){animation-delay:.32s}
.ed.ed-intro .ov-wave,.ed.ed-intro .lane .trk canvas{animation:ged-wipe 1.2s cubic-bezier(.6,0,.2,1) .3s both}
@keyframes ged-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes ged-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}

/* One screen, like a DAW (index.html sets data-fit="screen"; desktop only). The editor takes the
   viewport's height: the transport is one row, the overview a slim map, and the lanes share what
   is left, so both decks always show. Learn mode folds into a bar; opening it folds the stem lanes. */
.ed.ed-fit:not(.ed-mini){height:clamp(560px,calc(100vh - 96px),1000px)}
.ed.ed-fit:not(.ed-mini) .ed-in{height:100%;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:8px;padding-bottom:10px}
.ed.ed-fit:not(.ed-mini) .ed-top{flex-wrap:nowrap;height:52px;padding:0 4px;gap:14px}
.ed.ed-fit:not(.ed-mini) .ed-break,.ed.ed-fit:not(.ed-mini) .ed-looplbl,.ed.ed-fit:not(.ed-mini) .ed-brand .display,.ed.ed-fit:not(.ed-mini) .vlatest,.ed.ed-fit:not(.ed-mini) .legend .hint,.ed.ed-fit:not(.ed-mini) .ov-secs,.ed.ed-fit:not(.ed-mini) .ov-lufs,.ed.ed-fit:not(.ed-mini) .coach .moves,.ed.ed-fit:not(.ed-mini) .coach .nowline{display:none}
.ed.ed-fit:not(.ed-mini) .ed-top [data-ref="modes"]{margin-left:0}
.ed.ed-fit:not(.ed-mini) .ed-title{font-size:14px}
.ed.ed-fit:not(.ed-mini) .ed-clock{min-width:0;font-size:18px}
.ed.ed-fit:not(.ed-mini) .ed-transport{gap:12px}
.ed.ed-fit:not(.ed-mini) .ov{padding:6px 12px 4px}
.ed.ed-fit:not(.ed-mini) .ov-grid{row-gap:2px}
.ed.ed-fit:not(.ed-mini) .ov-wave{height:24px}
.ed.ed-fit:not(.ed-mini) .ov-moves{height:18px}
.ed.ed-fit:not(.ed-mini) .pin{width:16px;height:16px;margin:-8px 0 0 -8px;font-size:9px;line-height:13px}
.ed.ed-fit:not(.ed-mini) .ov-ticks{height:13px;font-size:10px}
.ed.ed-fit:not(.ed-mini) .ov-over{top:6px;bottom:19px;left:116px;right:12px}
.ed.ed-fit:not(.ed-mini) .legend{gap:4px 16px;padding:0 4px}
.ed.ed-fit:not(.ed-mini) .legend .it{font-size:12px}
.ed.ed-fit:not(.ed-mini) .legend .seg{padding:2px}
.ed.ed-fit:not(.ed-mini) .legend .seg button{min-height:24px;padding:0 10px;font-size:12px}
.ed.ed-fit:not(.ed-mini) .ed-main{min-height:0;grid-template-columns:minmax(0,1fr) 320px;align-items:stretch}
.ed.ed-fit:not(.ed-mini) .arr{display:flex;flex-direction:column;min-height:0}
.ed.ed-fit:not(.ed-mini) .arr > *{flex:0 0 auto}
.ed.ed-fit:not(.ed-mini) .arr .lane.mix{flex:2 1 0;min-height:28px}
.ed.ed-fit:not(.ed-mini) .arr .lane.stem{flex:1 1 0;min-height:12px}
.ed.ed-fit:not(.ed-mini) .lane.mix .trk,.ed.ed-fit:not(.ed-mini) .lane.stem .trk{height:auto}
.ed.ed-fit:not(.ed-mini) .lane.plan .trk{height:30px}
.ed.ed-fit:not(.ed-mini) .lane.notes .trk{height:24px}
.ed.ed-fit:not(.ed-mini) .lane.rul .trk,.ed.ed-fit:not(.ed-mini) .arr .ruler{height:22px}
.ed.ed-fit:not(.ed-mini) .arr .ruler span{padding-top:4px;font-size:11px}
.ed.ed-fit:not(.ed-mini) .arr .tracks{top:55px}
.ed.ed-fit:not(.ed-mini) .arr .block,.ed.ed-fit:not(.ed-mini) .arr .note{top:4px;bottom:4px}
.ed.ed-fit:not(.ed-mini) .arr .deckhead{padding:4px 14px}
.ed.ed-fit:not(.ed-mini) .lane .name{font-size:12px}
.ed.ed-fit:not(.ed-mini) .insp{min-height:0;overflow-y:auto}
.ed.ed-fit:not(.ed-mini) .insp .panel{padding:12px 14px}
.ed.ed-fit:not(.ed-mini).ed-learn .lane.stem{display:none}
.ed.ed-fit:not(.ed-mini) .learn-toggle{display:inline-flex}
.ed.ed-fit:not(.ed-mini) .learn .btn{min-height:32px}
.ed.ed-fit:not(.ed-mini) .learn:not(.open){display:block}
.ed.ed-fit:not(.ed-mini) .learn:not(.open) .console,.ed.ed-fit:not(.ed-mini) .learn:not(.open) .steps{display:none}
.ed.ed-fit:not(.ed-mini) .learn:not(.open) .coach{flex-direction:row;align-items:center;gap:16px;padding:8px 14px;border-right:0}
.ed.ed-fit:not(.ed-mini) .learn:not(.open) .coach h2{flex:1;min-width:0;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ed.ed-fit:not(.ed-mini) .learn.open .coach{gap:8px;padding:12px 16px}
.ed.ed-fit:not(.ed-mini) .learn.open .coach h2{font-size:17px}
.ed.ed-fit:not(.ed-mini) .learn.open .coach ol.steps{font-size:13px}
.ed.ed-fit:not(.ed-mini) .learn.open .console{padding:10px 14px}
.ed.ed-fit:not(.ed-mini) .learn.open .strip{padding:10px 12px;gap:12px}
.ed.ed-fit:not(.ed-mini) .learn.open .strip .col{gap:10px}
.ed.ed-fit:not(.ed-mini) .learn.open .track,.ed.ed-fit:not(.ed-mini) .learn.open .meter{height:90px}
.ed.ed-fit:not(.ed-mini) .learn.open .knob{width:30px;height:30px}
.ed.ed-fit:not(.ed-mini) .learn.open .pad{min-width:40px;min-height:24px}

/* Phones (index.html): just play and the two decks' waves, nothing to tap but Play. In portrait it
   suggests turning sideways; sideways, the waves get the width and fit the screen's height. */
.ed.ed-mini .ed-in{min-width:0;padding:0 0 10px;gap:0}
.ed.ed-mini .ed-top{flex-wrap:wrap;height:auto;gap:10px 12px;padding:12px;border-bottom:0}
.ed.ed-mini .ed-brand,.ed.ed-mini .ed-sep,.ed.ed-mini .ed-versions,.ed.ed-mini .ed-bb,.ed.ed-mini .ed-looplbl,.ed.ed-mini .ed-break,.ed.ed-mini .ed-top .seg,.ed.ed-mini .ed-top .btn,
.ed.ed-mini .ov,.ed.ed-mini .legend,.ed.ed-mini .learn,.ed.ed-mini .arr .lane:not(.mix),.ed.ed-mini .arr .lane .name,.ed.ed-mini .arr .deckhead .meta,.ed.ed-mini .arr .deckhead .right{display:none}
.ed.ed-mini .ed-transport{flex:0 0 auto;order:-1;justify-content:flex-start;gap:10px}
.ed.ed-mini .ed-title{flex:1 1 0;min-width:0;flex-wrap:wrap;justify-content:flex-end;gap:2px 8px;font-size:13px;white-space:normal}
.ed.ed-mini .ed-clock{min-width:0;font-size:16px}
.ed.ed-mini .ed-main{grid-template-columns:minmax(0,1fr);gap:0}
.ed.ed-mini .arr{border-radius:0;border-left:0;border-right:0}
.ed.ed-mini .arr .lane{grid-template-columns:minmax(0,1fr)}
.ed.ed-mini .lane.mix .trk{height:112px}
.ed.ed-mini .arr .deckhead{padding:6px 12px;gap:8px}
.ed.ed-mini .arr .tracks{left:0;top:0;pointer-events:none;cursor:default}
.ed.ed-mini .insp{gap:0}
.ed.ed-mini .insp > .panel:not(:first-child),.ed.ed-mini .insp > .panel:first-child > :not(.big){display:none}
.ed.ed-mini .insp > .panel:first-child{padding:10px 12px 0;border:0;background:transparent}
.ed.ed-mini .insp .big{margin:0;font-size:14px}
@media (orientation: portrait){
  .ed.ed-mini .ed-rotate{display:flex;flex-basis:100%;align-items:center;gap:8px;margin:0;font-size:11px;color:#8F897F}
}
@media (orientation: landscape) and (max-height: 500px){
  .ed.ed-mini .ed-top{padding:6px 12px}
  .ed.ed-mini .ed-play{width:36px;height:36px}
  .ed.ed-mini .arr .deckhead{padding:4px 12px}
  .ed.ed-mini .lane.mix .trk{height:clamp(48px,calc(50vh - 130px),112px)}
}

@keyframes ged-ring{0%{box-shadow:0 0 0 0 rgba(243,230,204,.5)}100%{box-shadow:0 0 0 9px rgba(243,230,204,0)}}
@keyframes ged-pulse{0%,100%{opacity:.45}50%{opacity:1}}
@media (prefers-reduced-motion: reduce){.ed *{animation:none !important;transition:none !important}}
