.shuffle-ribbon{margin:16px 0 24px;padding:22px 26px;background:#18231e;color:#f4f5ee;border-radius:18px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}.shuffle-ribbon strong{display:block;font-size:25px;margin:5px 0}.shuffle-ribbon small{color:#b6c1b6;display:block}.shuffle-ribbon .eyebrow{color:#a6cc7c}.shuffle-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.shuffle-actions button{background:#2b3931;color:#fff;border:1px solid #5c6b5d;border-radius:30px;padding:13px 18px}.shuffle-actions button:hover{background:#557345}.shuffle-actions span{font-size:20px}#shuffleStatus{width:100%;margin:0;font-size:13px}#shuffleStatus:empty{display:none}.hilt-library{padding:20px 0 25px;margin:0 0 24px;border-bottom:1px solid #d8dcd0}.library-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}.library-heading>span{font-size:12px;color:#66715d}.hilt-filters{display:flex;gap:6px;margin:16px 0}.hilt-filters button{padding:8px 13px;border-radius:25px}.hilt-filters button[aria-pressed=true]{background:#22372a;color:#fff}.hilt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hilt-grid button{display:flex;flex-direction:column;text-align:left;padding:12px;min-height:130px;background:#f1f2eb;border:1px solid #d7dccf;border-radius:12px;color:#283b2d}.hilt-grid button[aria-pressed=true]{outline:2px solid #4b723a;background:#e7efdc}.hilt-grid button[hidden]{display:none}.hilt-grid svg{width:100%;height:58px}.hilt-grid small{font-size:9px;letter-spacing:1px;text-transform:uppercase}.hilt-grid strong{font-size:16px;margin:4px 0}.hilt-grid span{font-size:11px;opacity:.7}.zone-progress{display:flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:10px;margin:16px 0}.zone-progress button{padding:8px;font-size:11px}.zone-progress [aria-pressed=true]{background:#22372a;color:white}.studio[data-step="1"]:not([data-part=body]) .options-extension,.studio[data-step="1"]:not([data-part=body]) .panel-enhancements{display:none}.pop-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.pop-library-grid button{padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11px}.pop-library-grid svg{width:44px;height:44px}.steps{scrollbar-width:thin}.steps button{min-width:104px}.steps button.active{box-shadow:inset 0 -3px #6a8c4b}@media(max-width:700px){.shuffle-ribbon{padding:18px;gap:15px}.shuffle-actions{margin:0;display:grid;grid-template-columns:1fr 1fr;width:100%}.shuffle-actions button{padding:10px 12px}.hilt-grid{gap:8px}.library-heading{align-items:start}.zone-progress>span{display:none}}
.pop-library-grid [hidden]{display:none}.pop-library .hilt-filters{flex-wrap:wrap}.pop-library-grid button[aria-pressed=true]{background:#e7efdc;outline:2px solid #4b723a}.hilt-grid [aria-pressed=true] strong:after{content:' ✓'}

.grip-groups{flex-wrap:wrap}.grip-groups button{min-height:44px;line-height:1.35;text-align:left}.grip-preset-grid button{min-width:0}.grip-preset-grid small{line-height:1.5}.raw-hilt-choices{margin:18px 0;border:1px solid #d8dcd0;border-radius:10px;padding:0 12px}.raw-hilt-choices>summary{min-height:44px;line-height:1.5;padding:12px 0;cursor:pointer}.raw-hilt-choices[open]{padding-bottom:12px}#gripPresetStatus{padding:12px;background:#e7eddf;border-radius:8px}.grip-groups button:focus-visible,.grip-preset-grid button:focus-visible{outline:3px solid #6a8c4b;outline-offset:2px}

.motif-frame-library{margin:20px 0;padding:18px 0;border-block:1px solid #d8dcd0}.frame-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.frame-grid button{min-width:0;min-height:112px;padding:12px;display:flex;flex-direction:column;text-align:left;gap:6px;border-radius:12px;background:#f1f2eb;color:#283b2d}.frame-grid svg{width:100%;height:52px}.frame-grid strong{font-size:14px}.frame-grid [aria-pressed=true]{outline:2px solid #4b723a;background:#e7efdc}.frame-grid [aria-pressed=true] strong:after{content:' ✓'}.frame-grid button:focus-visible{outline:3px solid #6a8c4b;outline-offset:2px}.motif-frame-library summary{min-height:44px;padding:12px 0;cursor:pointer}.motif-frame-library>button{min-height:44px;width:100%;text-align:left}.pattern-library .hilt-filters{flex-wrap:wrap}.pattern-library .hilt-filters button{min-height:44px;line-height:1.35}.pattern-library button{min-width:0}.pattern-library summary{min-height:44px;padding:12px 0;cursor:pointer}.pattern-library [role=status]{padding:10px;background:#e7eddf;border-radius:8px}

.matched-set-library{margin:0 0 22px;padding:0 12px;border:1px solid #bdcbb2;border-radius:12px;background:#f1f4eb}.matched-set-library>summary{min-height:48px;padding:14px 0;font-weight:700;cursor:pointer}.matched-set-library .set-grid svg{height:76px}.matched-set-library select{min-height:44px;width:100%}.set-motif-toggle{display:flex!important;align-items:center;gap:10px;min-height:52px;padding:10px 0;line-height:1.4}.set-motif-toggle input{width:20px!important;height:20px;flex:0 0 20px}.set-view-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.set-view-actions button{min-height:44px;flex:1 1 120px}#matchedSetStatus{padding:12px;background:#e3ecd8;border-radius:8px;font-size:13px;line-height:1.5}.matched-set-library .hilt-filters{flex-wrap:wrap}

.surface-patch-editor{border:1px solid #bdcbb2;border-radius:12px;background:#f1f4eb;padding:0 12px;margin:20px 0}.surface-patch-editor>summary{min-height:48px;padding:14px 0;font-weight:700;cursor:pointer}.patch-add-actions,.patch-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.patch-add-actions button,.patch-actions button{min-height:44px;flex:1 1 120px}.surface-patch-editor input,.surface-patch-editor select{min-height:44px;width:100%;max-width:100%;box-sizing:border-box}.patch-enabled{display:flex!important;align-items:center;gap:10px;min-height:44px}.patch-enabled input{width:20px!important;flex:0 0 20px}.patch-fields{display:grid;grid-template-columns:1fr 90px;gap:8px;align-items:center;margin:14px 0}.patch-fields label{font-size:13px;line-height:1.4}.patch-fields input{text-align:right}.surface-patch-editor #patchPad{position:relative;display:flex;align-items:center;justify-content:space-around;height:140px;border:1px solid #94a589;background:repeating-linear-gradient(90deg,#e2e9d9 0,#e2e9d9 33%,#ced9c2 33%,#ced9c2 34%);border-radius:8px;touch-action:none;user-select:none;overflow:hidden;cursor:crosshair;margin:12px 0}.surface-patch-editor #patchPad span{font-size:11px;color:#52634c}.surface-patch-editor #patchPad b{position:absolute;transform:translate(-50%,-50%);border:2px solid #fafbf6;border-radius:50%;background:#24482f;color:white;width:32px;height:32px;text-align:center;line-height:28px;pointer-events:none}#patchPad:focus-visible{outline:3px solid #4e713b;outline-offset:2px}#patchStatus{font-size:12px;line-height:1.5;color:#3d5435}

@media(max-width:500px){.patch-add-actions button,.patch-actions button{flex-basis:100%;min-height:44px;padding:10px}}
