
:root{--ink:#161619;--cream:#f2eadb;--blue:#0786de;--pink:#ff4c9d;--yellow:#ffda22;--mono:'Courier New',monospace;--ease:cubic-bezier(.2,.75,.2,1)}*{box-sizing:border-box}body{margin:0;background:#f64599;color:var(--ink);font:15px/1.45 var(--mono);padding:28px 22px 76px}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button,input,textarea,a{outline:0}html[data-input='keyboard'] :is(button,input,textarea,a):focus{outline:3px solid #111;outline-offset:4px}html[data-input='keyboard'] .blue :is(button,a):focus{outline-color:#fff}button{touch-action:manipulation}button:active:not(:disabled){transform:translateY(2px)}button:focus{z-index:2}input,textarea{min-width:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.instrument{max-width:1470px;margin:auto;border-radius:35px;box-shadow:0 12px 0 #0475ba,0 17px 2px #033960,0 25px 30px #7025437d;border:2px solid #84cdfc;background:var(--blue);overflow:hidden}.blue{background:linear-gradient(132deg,#4ab1fb 0%,#078de9 22%,#057bd2 74%,#1498e8 100%);box-shadow:inset 2px 2px 2px #cff0ffcc,inset -2px -3px 2px #004579ab}.masthead{display:flex;align-items:center;gap:36px;min-height:104px;padding:17px 28px;border-bottom:3px solid #064b80}.brand{color:#fff6e6;display:flex;align-items:center;gap:15px;text-decoration:none}.brand strong{font:bold italic 38px/1 Arial,sans-serif;letter-spacing:4px;text-shadow:0 2px 0 #4c83ae}.brand small{display:block;font-size:10px;letter-spacing:2px;margin-top:5px}.brand-mark{color:#10121a;font:bold 55px/1 Arial}.vents{display:flex;gap:9px;margin:auto}.vents i{display:block;width:7px;height:43px;border-radius:8px;background:#101217;box-shadow:1px 1px 0 #92dcff,inset 1px 1px 2px #000}.sequence{color:white;font-size:12px;margin:0}.sequence small{display:block;font-size:10px}.power{display:flex;align-items:center;gap:17px;background:linear-gradient(#082b4b,#094a7b);border:2px solid #02243d;box-shadow:0 0 0 2px #65b4eb,inset 2px 3px 5px #0008;border-radius:30px;padding:9px 10px 9px 18px;color:#fff;font-size:12px}.power i{width:25px;height:25px;background:radial-gradient(circle at 32% 24%,#fff9be 0%,#ffe851 25%,#efbb00 70%);border-radius:50%;box-shadow:1px 2px 2px #0008,inset 1px 1px 1px white}.power[aria-pressed=false] i{background:radial-gradient(circle at 32% 24%,#ccd6df,#4e667f);box-shadow:1px 2px 2px #0008}.workbench{display:grid;grid-template-columns:132px minmax(0,1fr) 210px;gap:13px;padding:12px 13px 16px}.rail{display:flex;flex-direction:column;gap:5px;padding-right:4px;border-right:2px solid #025c9d}.rail-button{position:relative;border:1px solid #30312d;border-radius:5px 21px 21px 5px;min-height:118px;padding:13px 13px 13px 28px;text-align:left;box-shadow:inset 2px 2px 1px #fff9,inset -2px -2px 2px #3630264d,0 5px 0 #03457d,1px 8px 8px #00467e9c;transition:filter .16s,box-shadow .16s}.rail-button:before{content:'';position:absolute;left:11px;top:20px;bottom:20px;width:5px;background:#151719;border-radius:5px}.rail-button[aria-current]{box-shadow:inset 3px 3px 2px #fff9,inset -3px -3px 2px #99720065,0 3px 0 #03457d,1px 4px 4px #00467e9c}.rail-button b{display:block;font-size:17px;line-height:1.2}.rail-button small{display:block;font-size:10px;margin-top:4px}.nav-icon{display:block;font:bold 33px/1.1 Arial;margin-bottom:8px}.catch,.yellow-button{background:linear-gradient(140deg,#ffe867,#ffcf08 64%,#f3bd06)}.pair{background:linear-gradient(135deg,#ff8abc,#fc4092)}.replay{background:linear-gradient(135deg,#93a9ff,#566eff)}.library{background:linear-gradient(130deg,#f8eadc,#d7bca9)}.screw{display:block;width:19px;height:19px;border-radius:50%;border:2px solid #031c2b;background:radial-gradient(circle,#16212b 30%,#98a4ae 35%,#9facb1 49%,#283c47 51%,#91bbd0 68%);box-shadow:1px 1px 0 #bce9ff}.rail-screw{margin:auto 13px 0 auto}main{min-width:0}.capture-layout{display:grid;gap:16px;height:100%;grid-template-rows:minmax(315px,1.1fr) minmax(225px,.8fr)}.pad{min-width:0;padding:20px;background:linear-gradient(135deg,#faf2e4,#f1e8d9 55%,#e8dece);border:2px solid #485660;border-radius:17px;box-shadow:inset 2px 3px 4px #827a6a75,inset -2px -3px 3px #fff,0 0 0 2px #99daff,0 4px 0 #005a9b,0 6px 6px #024d8566}.legend{font-size:14px;letter-spacing:.4px;font-weight:400;margin:0 0 15px;display:flex;align-items:center;gap:10px}.legend>span{font-size:10px;letter-spacing:0;margin-left:auto;max-width:60%;text-align:right}.lamp{display:inline-block;width:16px;height:16px;flex-shrink:0;border-radius:50%;border:1px solid #5d4d39;box-shadow:1px 2px 2px #0003,inset 1px 2px 1px #fff9}.lamp.yellow{background:radial-gradient(at 25% 20%,#fff8aa,#ffce00)}.lamp.pink{background:radial-gradient(at 25% 20%,#ffe6f3,#f33488)}form{margin:0}textarea{width:100%;resize:vertical;background:#f5eddf4d;border:1px solid #d9ccba;border-radius:9px;padding:16px;line-height:1.6;min-height:164px;font-size:17px;box-shadow:inset 0 2px 8px #b4a2850a}textarea::placeholder{color:#4e493f;opacity:1}.tag-field{display:flex;align-items:center;gap:10px;border:1px solid #d9ccba;border-radius:8px;padding:7px 10px;margin-top:9px}.tag-field label{font-size:10px;color:#5e554c}.tag-field input{width:100%;border:0;background:transparent;padding:5px;font-size:12px}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px}.micro{font-size:10px;color:#61564e;letter-spacing:.3px}.yellow-button,.black-button,.small-button,.outlined-button{border:1px solid #ae8909;border-radius:12px;padding:12px 23px;box-shadow:inset 1px 2px 1px #fff9,inset -1px -2px 1px #bb8f0180,0 3px 0 #b18a03,0 5px 7px #5e462c26;font-size:13px;white-space:nowrap}.yellow-button{font-weight:bold;min-height:46px}.field-error{font-size:12px;color:#86202c;margin:8px 0 0}.field-error:empty{display:none}.pairing-pad{padding-bottom:12px}.pairing-content{display:grid;grid-template-columns:minmax(0,1fr) 205px;gap:17px}.pair-objects{display:grid;grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);align-items:center}.note-object{position:relative;align-self:stretch;border:1px solid #d5c5af;border-radius:13px;padding:15px 12px 15px 18px;text-align:left;background:linear-gradient(140deg,#f6edde,#ece2d2);box-shadow:inset 1px 1px 2px #fff8,0 3px 4px #95836c22;min-height:132px;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.note-object:before{content:'';position:absolute;left:7px;top:14px;width:7px;height:7px;border-radius:50%;background:var(--yellow)}.note-object:last-child:before{background:#1266ff}.note-object .tags{margin-top:12px;font-size:10px}.note-object.selected{border-color:#dd3880;box-shadow:0 0 0 2px #f97aaa77}.connector{height:40px;position:relative;display:grid;place-items:center}.connector:before{content:'';position:absolute;inset:13px -1px 0;border-top:5px solid #fc6ac2;border-radius:50% 50% 0 0}.connect-button{z-index:1;width:39px;height:39px;padding:0;border-radius:50%;background:radial-gradient(at 30% 20%,#ffb7e2,#e73aa0);border:1px solid #a53179;box-shadow:inset 1px 2px 1px #fff9,0 2px 3px #8a45735c;font-size:27px}.connect-button.linked{background:radial-gradient(at 30% 20%,#fff7a0,#ffd221)}.candidate-shelf{border-left:1px solid #d6c7b3;padding-left:16px}.candidate-shelf h3{font-weight:400;font-size:11px;margin:0 0 6px}.candidate-shelf button{display:block;width:100%;background:transparent;border:0;border-bottom:1px solid #ddceba;text-align:left;padding:10px 0 10px 15px;font-size:11px;position:relative;overflow-wrap:anywhere}.candidate-shelf button:before{content:'';width:8px;height:8px;background:#ffda22;border-radius:50%;position:absolute;left:0;top:14px}.candidate-shelf button[aria-pressed=true]{background:#f8c4df;border-radius:5px}.pair-controls{display:flex;flex-direction:column;gap:10px}.pink-panel{background:linear-gradient(125deg,#ff93c4 0%,#fe589f 30%,#f74795 70%,#ff74b0);box-shadow:inset 2px 3px 2px #ffd5e8cc,inset -2px -3px 2px #b8236ea3}.tension{border:2px solid #9c285b;border-radius:20px;padding:22px 18px 17px;flex:1}.tension h2,.mode-panel h2{font-size:14px;font-weight:400;line-height:1.5;margin:0 0 12px}.tension>label{font-size:9px}.lever{height:175px;position:relative;margin:9px -2px}.lever img{width:100%;height:100%;object-fit:contain;position:relative;z-index:1;pointer-events:none}.lever-fallback{position:absolute;left:22px;top:10px;width:80px;height:145px;border-radius:50%;background:linear-gradient(90deg,#0c0e10,#c9d3d6 9%,#fff 16%,#343942 25%,#03060b 43%,#1d2229 57%,#e9eff2 67%,#11151a 77%,#cbd5df 84%,#090c10);border:4px solid #d2d3d3;box-shadow:0 5px 9px #76214499,inset 0 0 0 2px #0c1722}.lever-fallback span{position:absolute;width:30px;height:83px;background:linear-gradient(90deg,#cb9d03,#ffe663 35%,#ffca0a 80%,#927306);left:82px;top:-1px;border-radius:12px 12px 6px 6px;box-shadow:inset 1px 2px 2px #fff,2px 3px 4px #72214c77}.lever input{position:absolute;z-index:2;bottom:0;left:0;width:100%;accent-color:#ffdb1a;height:27px;cursor:pointer}.tension output{display:block;font-size:9px;text-align:center}.mode-panel{border:2px solid #005b96;border-radius:16px;padding:18px 20px;color:white}.dial{width:83px;height:83px;border:5px solid #042334;border-radius:50%;margin:7px auto 12px;background:radial-gradient(at 30% 20%,#ffa4d4,#f83e9c 65%,#b9276b);box-shadow:0 0 0 2px #accadd,inset 2px 3px 1px #ffd2ec,0 4px 9px #004a7b}.dial span{display:block;width:8px;height:35px;border-radius:3px;background:#24282d;transform:rotate(43deg);margin:40px 0 0 11px;border:1px solid #adb7bf}.mode-buttons [data-pair-mode],.replay-modes button{background:none;border:0;display:flex;gap:10px;align-items:center;min-height:34px;font-size:11px;padding:5px 0;color:inherit;width:100%;text-align:left}.mode-buttons i,.replay-modes button i{width:11px;height:11px;border-radius:50%;background:#042b42;border:1px solid #012a47;box-shadow:inset 0 1px 2px #0009,0 1px 1px #83c9ee;flex-shrink:0}.mode-buttons [data-pair-mode][data-selected=true] i,.replay-modes button[aria-pressed=true] i{background:radial-gradient(at 25% 20%,white,#ffe326 40%,#ecbd04);box-shadow:0 0 6px #ffe579}.replay-deck{border-top:3px solid #06385a;border-bottom:3px solid #054978;display:grid;grid-template-columns:150px 160px minmax(0,1fr) 105px 118px;align-items:center;gap:20px;padding:19px 23px;min-height:233px}.replay-modes h2{margin-bottom:12px}.replay-modes small{font-size:8px;display:block;margin-top:9px}.replay-modes button i{background:#8a204e;border-color:#892649;box-shadow:inset 0 1px 2px #3f0629,0 1px 1px #ffa5d0}.chrome-play{width:160px;height:160px;border-radius:50%;background-image:url('assets/chrome-play.png'),radial-gradient(at 35% 30%,#fafafa 0%,#92989e 30%,#171b20 34%,#f7f8f8 37%,#75797d 47%,#ddd 65%,#080b11 68%,#fff 73%,#7b7e83 76%,#202126 85%);background-size:contain;background-position:center;background-repeat:no-repeat;border:2px solid #342d30;box-shadow:0 0 0 2px #facce1,3px 8px 10px #86214f66;display:grid;place-items:center;position:relative;transition:filter .16s,transform .16s}.chrome-play svg{width:65px;height:65px;filter:drop-shadow(1px 1px 0 #fff6);fill:#202124}.screen-frame{padding:10px;background:linear-gradient(130deg,#141215,#353034,#0b0b10);border:2px solid #612c44;border-radius:21px;box-shadow:0 0 0 2px #e49cb9,inset 1px 2px 2px #636066,0 4px 3px #8e25575e}.replay-screen{position:relative;min-height:186px;border:2px solid #000;border-radius:9px;background:linear-gradient(120deg,#ccdcecbd,#f6d7c061),url('assets/replay-landscape.png') center 65%/cover;background-color:#aacee5;padding:13px 17px 32px;overflow:hidden}.screen-meta{display:flex;justify-content:space-between;font-size:9px}.replay-screen p{font-size:17px;line-height:1.55;margin:13px 0 10px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:77px;overflow:auto}.tags{display:flex;gap:6px;flex-wrap:wrap;font-size:10px}.tag{display:inline-block;padding:3px 7px;border:1px solid #8f81714a;border-radius:7px;background:#fae9d440}.screen-open{position:absolute;bottom:9px;right:12px;border:0;background:#f7ebdcb5;padding:4px 8px;border-radius:4px;font-size:9px}.replay-progress{position:absolute;left:0;bottom:0;height:4px;background:#ffda22;width:0}.deck-actions{display:flex;flex-direction:column;gap:12px}.black-button{background:linear-gradient(#303033,#171719);border:2px solid #06070a;color:white;box-shadow:0 0 0 2px #cdaab7,inset 1px 2px 1px #888,0 4px 0 #702344;padding:9px 10px;font-size:12px}.deck-actions .yellow-button{padding:11px 9px}.deck-motto{font-size:13px;line-height:1.6;padding-left:15px;border-left:1px solid #cf337b;align-self:stretch;margin:0;display:flex;flex-direction:column;justify-content:center}.speaker{margin-top:19px;width:70px;height:27px;background:repeating-linear-gradient(to bottom,#161719 0 5px,transparent 5px 10px);border-radius:3px}.footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 30px;min-height:75px}.footer-brand{font:bold italic 17px Arial;letter-spacing:1px}.footer p{font-size:10px;margin:0}.footer>span:last-child{font-size:36px;line-height:1}.status-bar{position:relative;margin:14px auto 0;background:#161e2bef;color:#fff;border:1px solid #f5d5e77d;box-shadow:0 3px 12px #59233755;border-radius:12px;padding:10px 16px;display:grid;grid-template-columns:minmax(0,1fr) 104px;align-items:center;gap:12px;font-size:11px;width:100%;max-width:1220px;height:76px;overflow:auto}.status-bar>span{min-width:0;max-height:54px;overflow:auto;overflow-wrap:anywhere}.status-bar button{justify-self:end}.status-bar button{background:#ffdb27;border:0;border-radius:5px;padding:6px 9px;font-size:10px}.library-layout{display:grid;grid-template-columns:minmax(245px,.92fr) minmax(280px,1.05fr) minmax(205px,.7fr);gap:14px;min-height:553px}.library-layout .pad{padding:18px 15px}.workbench:has(.library-layout:not([hidden])){grid-template-columns:132px minmax(0,1fr)}.library-layout textarea{font-size:15px;min-height:325px;border:0;padding:9px 2px;background:transparent;box-shadow:none}.library-layout .tag-field{margin-top:3px}.search{display:flex;align-items:center;gap:9px;border:1px solid #cebeaa;border-radius:9px;padding:8px 10px;background:#f8f0e580}.search span{font-size:24px;line-height:1}.search input{width:100%;font-size:11px;background:transparent;border:0}.filter-row{display:flex;margin:12px 0 8px}.filter-row button{flex:1;padding:8px 5px;font-size:9px;border:1px solid #d8c6af;background:#e9dfd0}.filter-row button:first-child{border-radius:6px 0 0 6px}.filter-row button:last-child{border-radius:0 6px 6px 0}.filter-row button[aria-pressed=true]{background:var(--yellow);box-shadow:inset 0 1px 1px #fff9}.note-list{max-height:415px;overflow:auto}.note-row{display:block;width:100%;border:0;border-bottom:1px solid #d8c9b5;background:transparent;text-align:left;padding:12px 8px 12px 22px;position:relative}.note-row:before{content:'';position:absolute;width:9px;height:9px;border-radius:50%;background:#ffcf14;left:6px;top:16px;box-shadow:inset 1px 1px 1px #fff8}.note-row:nth-child(3n+2):before{background:#f64894}.note-row:nth-child(3n):before{background:#087df5}.note-row[aria-current=true]{background:#c3ddf5;border-radius:7px}.note-row b{display:block;font-weight:400;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-row small{display:block;font-size:9px;color:#665952;margin-top:4px}.editor-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.editor-actions .yellow-button{margin-left:auto;padding:10px 13px}.small-button{font-size:9px;padding:9px 8px;min-height:40px;box-shadow:inset 1px 1px 1px #fff8;background:#ede2d2;border-color:#c4b39d}.small-button[aria-pressed=true]{background:#ffdd48}.related-card{border:1px solid #d9c9b3;border-radius:9px;padding:12px;margin-bottom:10px}.related-card>button{background:none;border:0;text-align:left;font-size:12px;width:100%;padding:0}.related-card p{font-size:10px;line-height:1.5;color:#665952;margin:8px 0}.related-card .unlink{font-size:9px;text-decoration:underline;min-height:28px}.outlined-button{white-space:normal;font-size:10px;background:transparent;box-shadow:none;border-color:#bca891;width:100%;padding:12px 8px}.empty-state{padding:25px 8px;color:#655a50;font-size:12px}.connected-pad .empty-state{padding:12px 0}.is-standby .replay-screen{filter:saturate(.4)}.is-standby .replay-progress{display:none}@media(hover:hover){button:hover:not(:disabled){filter:brightness(1.055)}.note-row:hover,.candidate-shelf button:hover{background-color:#e6d7c380}}@media(max-width:1150px){body{padding:18px 12px 76px}.masthead{gap:18px;padding:17px 20px}.brand strong{font-size:30px}.vents{display:none}.sequence{margin-left:auto}.workbench{grid-template-columns:112px minmax(0,1fr) 170px;gap:12px}.rail-button{min-height:113px;padding-left:25px}.pairing-content{grid-template-columns:1fr}.candidate-shelf{border-left:0;padding-left:0}.candidate-shelf h3{display:none}#candidates{display:flex;gap:7px}.candidate-shelf button{padding:8px 5px 8px 14px;flex:1;border:1px solid #d8c9b6;border-radius:5px}.replay-deck{grid-template-columns:135px 130px minmax(0,1fr) 93px;gap:16px}.chrome-play{width:130px;height:130px}.deck-motto{display:none}.workbench:has(.library-layout:not([hidden])){grid-template-columns:112px minmax(0,1fr)}.library-layout{grid-template-columns:minmax(220px,.9fr) minmax(250px,1.1fr)}.connected-pad{grid-column:1/-1}.connected-pad #connected-list{display:flex;gap:10px;flex-wrap:wrap}.related-card{flex:1;min-width:180px}.connected-pad .outlined-button{width:auto}.mode-panel{padding:15px}.tension{padding:18px 13px}.capture-layout{grid-template-rows:auto auto}}@media(max-width:780px){body{padding:10px 8px 76px;font-size:14px}.instrument{border-radius:23px}.masthead{padding:17px 13px;gap:10px;min-height:84px}.brand{gap:7px}.brand-mark{font-size:35px}.brand strong{font-size:25px;letter-spacing:2px}.brand small{font-size:7px;letter-spacing:1px}.sequence{display:none}.power{margin-left:auto;font-size:9px;gap:8px;padding:7px 7px 7px 10px}.power i{width:20px;height:20px}.workbench,.workbench:has(.library-layout:not([hidden])){display:flex;flex-wrap:wrap;padding:9px;gap:12px}.rail{width:100%;flex-direction:row;border:0;padding:0;gap:5px}.rail-button{flex:1;min-width:0;min-height:65px;padding:9px 6px 9px 13px;border-radius:9px;font-size:10px}.rail-button:before{left:5px;top:13px;bottom:13px;width:3px}.rail-button b{font-size:11px}.nav-icon{font-size:20px;line-height:1;margin-bottom:5px}.rail-button small,.rail-screw{display:none}main{width:100%}.capture-layout{gap:13px}.pad{padding:17px 14px;border-radius:13px}.legend{font-size:12px;gap:8px}.legend>span{font-size:9px}.capture-pad textarea{font-size:16px;min-height:188px;padding:12px}.form-footer{align-items:center;gap:10px}.form-footer .micro{font-size:8px;max-width:130px}.yellow-button{font-size:12px;padding:11px 16px}.pairing-content{gap:10px}.pair-objects{grid-template-columns:minmax(0,1fr) 43px minmax(0,1fr)}.note-object{min-height:120px;padding:12px 8px 12px 16px;font-size:11px}.connect-button{width:34px;height:34px;font-size:24px}.candidate-shelf button{font-size:10px}#candidates{flex-wrap:wrap}.candidate-shelf button{flex-basis:44%;min-height:42px}.pair-controls{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}.tension{padding:13px 12px;border-radius:13px}.tension h2{font-size:11px;line-height:1.4;margin:0 0 5px}.tension h2 br{display:none}.tension label{font-size:8px}.lever{height:95px;margin:6px 0}.lever img{position:absolute;inset:0}.lever-fallback{width:47px;height:74px;top:0;left:28px;border-width:3px}.lever-fallback span{height:47px;width:20px;left:47px;border-radius:6px}.mode-panel{border-radius:13px;padding:12px;display:grid;grid-template-columns:50px 1fr;align-items:center;gap:4px}.mode-panel h2{grid-column:1/-1;font-size:11px;margin:0}.mode-panel h2 br{display:none}.dial{width:44px;height:44px;border-width:3px;margin:0}.dial span{height:20px;width:5px;margin:20px 0 0 5px}.mode-buttons [data-pair-mode]{font-size:9px;gap:5px;min-height:29px}.mode-buttons i{width:8px;height:8px}.replay-deck{grid-template-columns:88px 1fr;gap:13px;padding:16px 13px}.replay-modes{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:5px}.replay-modes h2{margin:0 7px 0 0}.replay-modes>div{display:flex;gap:9px;flex:1}.replay-modes button{font-size:9px;gap:5px;min-height:32px;width:auto}.replay-modes button i{width:8px;height:8px}.replay-modes small{display:none}.chrome-play{width:85px;height:85px}.chrome-play svg{width:43px;height:43px}.screen-frame{padding:7px;border-radius:15px}.replay-screen{min-height:177px;padding:10px 11px 31px}.replay-screen p{font-size:13px;max-height:90px;line-height:1.5}.screen-meta{font-size:8px}.screen-meta #replay-date{display:none}.replay-screen .tags{font-size:8px;gap:4px}.tag{padding:2px 5px}.deck-actions{grid-column:1/-1;flex-direction:row;gap:11px}.deck-actions button{flex:1}.footer{padding:17px 17px;gap:10px}.footer-brand{font-size:12px}.footer p{font-size:8px;max-width:150px}.footer>span:last-child{font-size:27px}.library-layout{display:flex;flex-direction:column;gap:14px;min-height:0}.library-layout .pad{padding:17px 14px}.note-list{max-height:257px}.library-layout textarea{min-height:260px;font-size:15px}.note-row b{font-size:12px}.note-row small{font-size:10px}.connected-pad #connected-list{display:block}.editor-actions .small-button{font-size:9px}.editor-actions .yellow-button{font-size:11px}.status-bar{font-size:10px;padding:9px 12px;gap:8px;max-width:100%}.status-bar>span{max-width:none}.status-bar button{font-size:9px;white-space:nowrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(forced-colors:active){.pad,.rail-button,.chrome-play,.screen-frame,.tension,.mode-panel{border:2px solid CanvasText}.lamp,.mode-buttons i,.replay-modes button i{background:Canvas;border:1px solid CanvasText}button[aria-pressed=true],button[aria-current]{outline:2px solid Highlight}html[data-input] :is(button,input,textarea,a):focus{outline:3px solid Highlight}.chrome-play svg{fill:ButtonText}.replay-screen{background:Canvas}.replay-progress{background:Highlight}}

/* Candidate access remains complete as the library grows. */
#candidates{max-height:180px;overflow:auto}
@media(max-width:780px){#candidates{max-height:170px}}
/* The printed legends use a clean monospaced sans; controls share the same material. */
:root{--mono:Consolas,'Lucida Console',monospace}
.legend{font-size:15px}.micro,.form-footer .micro{font-size:11px}.tag-field label{font-size:11px}.sequence small,.footer p{font-size:11px}.candidate-shelf button{font-size:12px}.mode-buttons [data-pair-mode],.replay-modes button{font-size:12px}.tension>label,.tension output{font-size:10px}.rail-button small{font-size:11px}.filter-row button{font-size:11px}.small-button{font-size:11px}.screen-meta{font-size:10px}.screen-open{font-size:10px}.tags{font-size:11px}.note-row b{font-size:14px}.note-row small{font-size:11px}.related-card>button{font-size:14px}.related-card p,.related-card .unlink{font-size:11px}.outlined-button{font-size:11px}
.connect-button svg{width:27px;height:27px;display:block;margin:auto;fill:none;stroke:#231d26;stroke-width:2.2;stroke-linecap:round}
.connect-vertical{transform-origin:16px 16px;transition:transform .22s var(--ease)}.linked .connect-vertical{transform:scaleY(0)}
.lever-skin{width:117px;height:175px;position:absolute;top:0;left:50%;transform:translateX(-50%)}
.lever-skin img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
.lever-base{clip-path:polygon(0 0,63% 0,63% 48%,56% 48%,56% 67%,63% 67%,63% 100%,0 100%)}
.lever-arm{clip-path:polygon(56% 0,100% 0,100% 100%,63% 100%,63% 67%,52% 67%,52% 48%,56% 48%);transform-origin:56% 57%;transition:transform .14s ease-out}
.lever input{appearance:none;height:27px;background:transparent}.lever input::-webkit-slider-runnable-track{height:7px;background:linear-gradient(#191c22,#444650);border:1px solid #171e22;border-radius:8px;box-shadow:0 0 0 2px #ebc7d5,inset 0 2px 3px #0007}.lever input::-webkit-slider-thumb{appearance:none;width:23px;height:25px;margin-top:-10px;border:1px solid #ae8404;border-radius:8px;background:linear-gradient(100deg,#e4ac06,#fff49c 30%,#ffda28 70%,#c18a02);box-shadow:inset 1px 1px 1px white,0 2px 3px #6b2c4c77}.dial span{transition:transform .22s var(--ease)}
@media(max-width:780px){.legend{font-size:13px}.legend>span{font-size:10px}.form-footer .micro{font-size:9px}.rail-button b{font-size:12px}.candidate-shelf button{font-size:12px;min-height:44px}.mode-panel{display:block}.mode-panel h2{font-size:12px}.mode-panel .dial{display:none}.mode-buttons [data-pair-mode]{min-height:44px;font-size:11px;gap:8px}.mode-buttons i{width:10px;height:10px}.tension h2{font-size:12px}.tension label,.tension output{font-size:10px}.lever{height:145px}.lever-skin{width:89px;height:133px}.lever input{height:44px;bottom:-8px}.replay-modes>div{gap:5px;justify-content:space-between;width:100%;flex-basis:100%}.replay-modes button{font-size:11px;min-height:44px;gap:7px}.replay-modes h2{font-size:13px}.filter-row button{min-height:44px;font-size:11px}.related-card .unlink{min-height:44px}.related-card>button{min-height:44px}.note-row{min-height:56px}.note-row b{font-size:14px}.note-row small{font-size:11px}.editor-actions .small-button{font-size:10px;min-height:44px}.editor-actions .yellow-button{font-size:12px}.screen-open{min-height:32px;font-size:10px}.screen-meta{font-size:10px}.replay-screen .tags{font-size:10px}.status-bar button{min-height:34px}.connect-button{width:44px;height:44px}.pair-objects{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr)}.note-object{font-size:12px}.search{min-height:44px}.search input{font-size:12px}.footer p{font-size:9px}}
@media(prefers-reduced-motion:reduce){.connect-vertical,.lever-arm,.dial span{transition:none}}/* The pairing pad owns all of its content, including recovery guidance. */
.capture-layout{grid-template-rows:minmax(315px,1.1fr) auto}
.pairing-pad{display:grid;grid-template-rows:auto auto auto;align-content:start;gap:12px}
.pairing-pad>.legend{margin-bottom:0}
.pairing-pad>.micro{margin:0;overflow-wrap:anywhere}
.pairing-content{min-width:0;align-items:start}
.note-object{max-height:180px;overflow:auto}
@media(max-width:1150px){.capture-layout{grid-template-rows:auto auto}}/* Static assets stay still until true geometry supplies material response. */
.lever-material{position:absolute;inset:0 0 28px;pointer-events:none}
.lever-material .lever-skin{width:100%;height:100%;left:0;transform:none}
.lever-material .lever-base{clip-path:none;object-fit:contain;transform:none}
.dial span{transform:none!important;transition:none}
[data-render-control] canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.dial{position:relative}
.chrome-play>svg{position:relative;z-index:2}
[data-render-control][data-render-ready=true] .lever-skin,[data-render-control][data-render-ready=true]>span{visibility:hidden}
.chrome-play[data-render-ready=true]{background-image:none}
@media(max-width:780px){
  .candidate-shelf #candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;align-content:start;height:170px;max-height:170px;gap:7px;overflow:auto}
  .candidate-shelf #candidates>.micro{grid-column:1/-1;margin:8px 0;align-self:start}
  .candidate-shelf button{flex:none;min-height:44px;height:auto;align-self:start}
  .pairing-pad>#pair-hint{min-height:48px;line-height:16px}
  .tension output{min-height:30px;line-height:15px}
  .lever-material{bottom:38px}
}.chrome-play:active:not(:disabled){transform:none}
.chrome-play[data-render-ready=true]:hover:not(:disabled){filter:none}
@media(max-width:780px){
  .mode-panel .dial{display:block;width:68px;height:68px;margin:10px auto}
  .mode-panel .dial span{width:6px;height:28px;margin:31px 0 0 8px}
  .library-pad .note-list{height:257px;max-height:257px;overflow:auto}
}.lever-material[data-render-ready=true]+.lever-fallback{visibility:hidden}
.lever-material[data-disabled=true] .lever-skin{opacity:.5}
.dial[data-render-ready=true]{background:none;border-color:transparent;box-shadow:none}
.chrome-play[data-render-ready=true]{border-color:transparent;box-shadow:none}
.chrome-play[data-render-ready=true]>svg{visibility:hidden}@media(max-width:780px){
  .candidate-shelf #candidates{grid-auto-rows:max-content}
  .candidate-shelf #candidates>button{align-self:start}
}/* Pairing is a stable instrument bay; variable notes remain locally readable. */
.pairing-pad{grid-template-rows:22px auto 48px}
.pairing-content{align-items:start}
.pair-objects{height:180px}
.note-object{height:180px;min-height:180px;max-height:180px;overflow:auto;align-self:stretch}
.candidate-shelf{display:grid;grid-template-rows:18px 180px;gap:6px;align-content:start}
.candidate-shelf h3{margin:0}
#candidates{height:180px;max-height:180px;overflow:auto}
#pair-hint{height:48px;min-height:48px;line-height:16px;overflow:auto}
.tension output{height:30px;min-height:30px;line-height:15px;overflow:auto}
.breadth-title{display:block;font-size:10px}
.control-instruction{display:block;font-size:9px;line-height:14px;margin-top:5px}
.lever-material{inset:0;pointer-events:auto;touch-action:none;cursor:ns-resize;user-select:none;outline:0}
.dial{touch-action:none;cursor:grab;user-select:none;outline:0}
.dial[data-pressed=true]{cursor:grabbing}
.lever-material[aria-disabled=true]{cursor:not-allowed}
html[data-input=keyboard] [role=slider]:focus{outline:3px solid #111;outline-offset:4px}
html[data-input=keyboard] .blue [role=slider]:focus{outline-color:white}
@media(max-width:1150px){
  .candidate-shelf{grid-template-rows:180px;gap:0}
  #candidates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:7px}
  .candidate-shelf #candidates>.micro{grid-column:1/-1;align-self:start}
  .candidate-shelf button{height:auto;align-self:start;min-height:44px}
}
@media(max-width:780px){
  .pair-objects{height:150px}
  .note-object{height:150px;min-height:150px;max-height:150px}
  .candidate-shelf{grid-template-rows:170px}
  .candidate-shelf #candidates{height:170px;max-height:170px;grid-auto-rows:max-content}
  .tension output{height:30px;min-height:30px}
  .lever-material{inset:0}
  .control-instruction{font-size:8px;line-height:13px;min-height:26px}
}
@media(forced-colors:active){html[data-input] [role=slider]:focus{outline:3px solid Highlight}}/* The replay monitor and connected-note bay keep their chassis dimensions. */
.replay-screen{height:186px;min-height:186px}
#replay-content{height:108px;overflow:auto}
.replay-screen p{max-height:none;overflow:visible}
.tag{max-width:100%;min-width:0;overflow-wrap:anywhere}
#connected-list{height:415px;overflow:auto}
.library-pad .note-list{height:415px;max-height:415px}
.lever-material[aria-disabled=true]{touch-action:pan-y}
@media(max-width:1150px){.connected-pad #connected-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;height:230px;gap:10px}.related-card{min-width:0}}
@media(max-width:780px){.replay-screen{height:177px;min-height:177px}.library-pad .note-list{height:257px;max-height:257px}.connected-pad #connected-list{display:block;height:230px}}
.lever-fallback{pointer-events:none}
/* Power labels change inside a fixed cavity; neighboring header objects stay put. */
.power{width:142px;min-width:142px;flex:0 0 142px;justify-content:space-between;gap:0}
.power>span{display:block;width:74px;text-align:left;flex:0 0 74px}
.power i{flex:0 0 25px;transition:transform .12s var(--ease),box-shadow .12s var(--ease)}
.power:active:not(:disabled){transform:none}
.power:active:not(:disabled) i{transform:translateY(1px);box-shadow:inset 1px 2px 3px #815e00,0 1px 1px #0007}
@media(max-width:780px){.power{width:104px;min-width:104px;flex-basis:104px}.power>span{width:56px;flex-basis:56px}.power i{flex-basis:20px}}
@media(max-width:370px){.masthead .brand{gap:5px}.masthead .brand-mark{font-size:28px}.masthead .brand strong{font-size:20px;letter-spacing:1px}.masthead .brand small{font-size:6px;letter-spacing:.5px}.masthead{gap:7px;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.power i{transition:none}}
.mode-buttons [data-pair-mode]{cursor:default;user-select:text}

html{scrollbar-gutter:stable}
#candidates{overflow-anchor:none}
.power{padding-inline:10px;display:grid;grid-template-columns:minmax(0,1fr) 25px;column-gap:10px;align-items:center}
/* Center the printed capitals themselves, not the font's ascender/descender box. */
.power>span{width:100%;text-align:center;justify-self:stretch;line-height:1;text-box-trim:trim-both;text-box-edge:cap alphabetic}
.power i{justify-self:center}
@media(max-width:780px){.power{padding-inline:7px;grid-template-columns:minmax(0,1fr) 20px;column-gap:8px}.power>span{width:100%;text-align:center}}
/* A live metal silhouette must meet pink directly, without the native button face. */
.chrome-play[data-render-ready=true]{background:transparent;border-color:transparent;box-shadow:none}
/* Narrow phones pair two readable full-width objects rather than thin columns. */
@media(max-width:380px){
  .pair-objects{grid-template-columns:minmax(0,1fr);grid-template-rows:150px 44px 150px;height:344px;gap:0}
  .pair-objects .note-object{width:100%;height:150px;min-height:150px;max-height:150px}
  .pair-objects .connector{width:100%;height:44px;align-self:center}
  .pair-objects .connector:before{inset:-1px auto -1px;left:50%;width:0;border-top:0;border-left:5px solid #fc6ac2;border-radius:0;transform:translateX(-50%)}
}

/* Reference reconstruction: the objects carry the bay hierarchy, rather than
   small controls floating in surplus panel space. Existing cavities stay fixed. */
.tension{padding:18px 14px 16px}
.tension h2,.mode-panel h2{margin-bottom:8px}
.lever{height:220px;margin:8px 0}
.mode-panel{padding:17px 16px}
.mode-panel .dial{width:118px;height:118px;margin:12px auto 8px}
.mode-panel .control-instruction{margin-bottom:8px}
.replay-deck{grid-template-columns:130px 180px minmax(0,1fr) 105px 118px;gap:16px}
.chrome-play{width:180px;height:180px;justify-self:center}
.replay-modes>div{display:flex;flex-direction:column;gap:2px}
.deck-actions{gap:9px}
.deck-actions button{min-height:44px}
@media(min-width:781px) and (max-width:1150px){
  .workbench{grid-template-columns:112px minmax(0,1fr) 190px}
  .replay-deck{grid-template-columns:112px 154px minmax(0,1fr) 93px;gap:13px;padding-inline:18px}
  .chrome-play{width:154px;height:154px}
  .mode-panel .dial{width:112px;height:112px}
}
@media(max-width:780px){
  .tension,.mode-panel{padding:14px 12px}
  .lever{height:184px;margin:8px 0}
  .mode-panel .dial{width:112px;height:112px;margin:14px auto 9px}
  .mode-panel .control-instruction{margin-bottom:9px}
  .mode-buttons [data-pair-mode]{min-height:38px}
  /* Keep the collection lamps beside the large playback object; the fixed
     monitor gets a complete row instead of competing with a tiny play button. */
  .replay-deck{grid-template-columns:minmax(0,1fr) 140px;gap:13px;padding:16px 13px}
  .replay-modes{grid-column:1;display:block;align-self:center}
  .replay-modes h2{margin:0 0 8px}
  .replay-modes>div{display:flex;flex-direction:column;gap:0;width:auto}
  .replay-modes button{width:100%;min-height:36px}
  .chrome-play{grid-column:2;width:140px;height:140px}
  .screen-frame{grid-column:1/-1;width:100%}
  .deck-actions{grid-column:1/-1;gap:9px}
}
@media(max-width:380px){
  .mode-panel .dial{width:96px;height:96px}
  .lever{height:178px}
  .replay-deck{grid-template-columns:minmax(0,1fr) 126px;gap:11px}
  .chrome-play{width:126px;height:126px}
}

/* Printed key legends fit their actual clearance; the cavity is not clipped. */
@media(max-width:780px){
  .rail-button{padding-left:10px;padding-right:6px}
  .rail-button b{font-size:clamp(9px,2.8vw,12px);letter-spacing:0}
}
@media(max-width:370px){
  .masthead .brand{gap:4px}
  .masthead .brand-mark{font-size:26px}
  .masthead .brand strong{font-size:18.5px;letter-spacing:.7px}
  .masthead .brand small{font-size:5.8px;letter-spacing:.2px}
}

/* Inactive breadth is a complete fitted bay, with a fixed footprint. */
.tension[data-inactive=true]{background:linear-gradient(125deg,#eef0f2,#bdc6ce 55%,#d8dee3);border-color:#687c8b;box-shadow:inset 2px 3px 2px #ffffffba,inset -2px -3px 2px #52687980}
.tension[data-inactive=true] .control-instruction{visibility:hidden}
/* Ambient sky remains behind the monitor's readable semantic content. */
.cloud-sky{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.replay-screen:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:1;background:linear-gradient(120deg,#ccdcecbd,#f6d7c061)}
.replay-screen>.screen-meta,.replay-screen>#replay-content{position:relative;z-index:2}
.replay-screen>.screen-open,.replay-screen>.replay-progress{z-index:3}
.replay-modes h2 .lamp{transition:box-shadow .25s}
body:has(#play[aria-pressed=true]) .replay-modes h2 .lamp{box-shadow:inset 1px 2px 1px #fff9,0 0 8px #ffb9dacc}
/* Feedback has no physical cavity; size it to its actual message and action. */
.status-bar{width:fit-content;max-width:min(900px,100%);min-height:36px;height:auto;display:flex;align-items:center;gap:12px;padding:8px 12px;margin:18px auto 0;box-shadow:none;border-radius:9px;overflow:visible}
.status-bar>span{max-height:none;overflow:visible;min-width:0;overflow-wrap:anywhere}
.status-bar button{flex:0 0 auto;min-height:30px}
@media(prefers-reduced-motion:reduce){.cloud-sky{display:none}.replay-modes h2 .lamp{transition:none}}

/* One mounted status display owns the feedback, rather than a floating caption. */
.footer{display:grid;grid-template-columns:180px minmax(0,1fr) 32px;align-items:center;gap:22px;min-height:86px;padding:12px 28px}
.footer-status{min-width:0;display:grid;grid-template-rows:36px 12px;gap:5px;justify-items:center}
.footer-status #storage-status{margin:0;max-width:none;font-size:8px;line-height:12px;text-align:center;white-space:nowrap}
.footer-status .status-bar{position:relative;display:flex;align-items:center;width:100%;max-width:680px;min-height:36px;height:36px;margin:0;padding:5px 10px;border:2px solid #102b3b;border-radius:6px;background:linear-gradient(#0c2029,#122b32);box-shadow:0 1px 0 #b6e7ffaa,inset 0 2px 4px #000b;gap:10px;overflow:hidden}
.footer-status .status-bar>span{color:#b6e4dc;text-shadow:0 0 3px #88dfcf35;white-space:nowrap;overflow:auto;scrollbar-width:none;max-height:none;line-height:20px;font-size:10px;flex:1;min-width:0}
.footer-status .status-bar>span::-webkit-scrollbar{display:none}
.footer-status .status-bar button{min-height:24px;padding:3px 8px;flex:0 0 auto;font-size:9px}
@media(max-width:780px){.footer{grid-template-columns:minmax(0,1fr) 28px;gap:9px;padding:12px 14px;min-height:108px}.footer-status{grid-column:1/-1;grid-row:1;width:100%}.footer-brand{grid-column:1;grid-row:2}.footer>span:last-child{grid-column:2;grid-row:2}.footer-status #storage-status{font-size:7px}.footer-status .status-bar>span{font-size:9px}}
.replay-screen:before{content:none}
.replay-screen:has(.cloud-sky:not([hidden])):before{content:''}
@media(forced-colors:active){.cloud-sky,.replay-screen:before{display:none}.footer-status .status-bar{background:Canvas;color:CanvasText;border-color:CanvasText}.footer-status .status-bar>span{color:CanvasText;text-shadow:none}}
