#fx-mic-icon{top:108px;left:8px}

/* FX-MIC Studio is a contained workspace within K.O. TOOL's classic desktop. */
.fx-mic-window{
  position:fixed;transform:none;max-width:none;left:5vw;top:5vh;
  width:min(1180px,94vw);max-height:90vh;z-index:800;
  display:flex;flex-direction:column;box-sizing:border-box;
  color:#243248;background:#e9edf3;
  border:2px outset #f8fbff;box-shadow:4px 7px 0 #0b183148
}
.fx-mic-window[hidden],.fx-mic-window [hidden]{display:none!important}
.fx-mic-window .title-bar{
  flex:none;display:flex;justify-content:space-between;align-items:center;
  cursor:move;background:#101b46;color:#fff;
  padding:7px 12px;letter-spacing:.045em;font-size:12px;font-weight:700
}
.fx-mic-window .title-bar button{color:#101b46;font-size:18px;min-width:30px;cursor:pointer}
.fx-body{
  padding:0 16px 20px;overflow:auto;min-height:0;
  color:#243248;background:linear-gradient(#eff3f9,#e8edf4);
  font-size:12px;line-height:1.5;scroll-behavior:smooth
}
.fx-body h2{font-size:15px;line-height:1.3;margin:14px 0 7px;color:#14254f}
.fx-body p{font-size:12px;line-height:1.55;margin:7px 0 10px}
.fx-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.fx-toolbar label{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.fx-toolbar input[type=file]{max-width:230px}
.fx-body button,.fx-body select,.fx-body input{font:inherit;font-size:12px;max-width:100%;box-sizing:border-box}
.fx-body button{
  padding:7px 11px;min-height:34px;cursor:pointer;border:1px solid #aab6ce;
  background:#fff;color:#21365e;border-radius:5px;font-weight:600
}
.fx-body button:hover:not(:disabled){background:#e9f1ff;border-color:#506aa1}
.fx-body button:disabled{cursor:default;opacity:.52}
.fx-body button[aria-pressed=true]{background:#193e84;color:#fff;border-color:#193e84}
.fx-body :is(button,select,input,textarea,summary):focus-visible{outline:3px solid #e9a643;outline-offset:2px}
.fx-body label{font-size:12px}
.fx-body input:not([type=checkbox]):not([type=range]):not([type=file]),.fx-body select{
  min-height:33px;padding:5px 7px;border:1px solid #a7b6cf;
  border-radius:4px;background:#fff;color:#233453
}
.fx-body input[type=number]{width:95px}
.fx-body input[type=range]{width:100%;min-width:85px;accent-color:#2455ae;cursor:pointer}
.fx-body fieldset{min-width:0;border:1px solid #c5d0e0;border-radius:7px;padding:12px;background:#f9fbff}
.fx-body legend{font-weight:700;font-size:12px;color:#1b356b}
.fx-primary-nav{
  position:sticky;top:0;z-index:3;min-height:52px;
  background:#e2eafa;border-bottom:1px solid #c3d2eb;
  margin:0 -16px;padding:8px 16px
}
.fx-primary-nav [data-fx-status]{
  margin-left:auto;padding:4px 9px;border:1px solid #c5d4ec;
  border-radius:4px;background:#f8fbff;color:#25427a;
  overflow-wrap:anywhere;max-width:100%
}
.fx-workspace-tabs{
  position:sticky;top:52px;z-index:2;display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;
  background:#eef3fb;border-bottom:1px solid #d0d9e9;
  margin:0 -16px 12px;padding:9px 16px
}
.fx-workspace-tabs button{min-height:38px}
.fx-pack-toolbar{padding:10px 0 12px;border-bottom:1px solid #d0daea}
.fx-pack-toolbar label:first-child input{width:min(230px,56vw)}
.fx-section{
  background:#fff;border:1px solid #ccd7e6;border-radius:10px;
  padding:14px 16px 17px;margin:14px 0;
  box-shadow:0 2px 6px #21365e0b
}
.fx-section-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;margin-bottom:12px}
.fx-section-heading h2{margin:0}
.fx-section-heading p{margin:0;color:#596b84}
.fx-preset-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:15px}
.fx-preset-cards>button{
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  text-align:left;min-height:86px;padding:10px 12px;background:#f4f7fc;
  border:1px solid #c8d4e6;border-left:4px solid #c0cce0
}
.fx-preset-cards>button[aria-pressed=true]{background:#e8f0ff;color:#18386c;border-left-color:#ed9c36}
.fx-preset-cards .fx-preset-index{font:700 11px/1 monospace;letter-spacing:.08em;color:#6c7d98}
.fx-preset-cards strong{font-size:13px;overflow-wrap:anywhere}
.fx-preset-cards small{font-size:11px;color:#687991}
.fx-preset-actions{padding:11px 0;margin-top:8px;border-top:1px dashed #d3deec}
.fx-body .fx-preset-note{display:flex;flex-direction:column;align-items:stretch;flex:1 1 230px;min-width:170px}
.fx-body .fx-preset-note textarea{height:61px;min-height:56px;resize:vertical;font-size:12px;line-height:1.5;padding:6px 8px;border:1px solid #a7b6cf;border-radius:4px;background:#fff;color:#243248}
.fx-param-control{display:grid;grid-template-columns:minmax(72px,1fr) 70px auto;align-items:center;gap:7px}
.fx-body .fx-param-control input[type=number]{width:70px;min-width:0}
.fx-param-control output{min-width:27px;text-align:right;overflow-wrap:anywhere}
.fx-samples,.fx-mods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fx-samples fieldset{min-width:0}
.fx-samples label,.fx-mods label{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin-bottom:7px}
.fx-samples p{min-height:34px;overflow-wrap:anywhere;color:#5e6d84}
.fx-samples button{margin:3px 3px 3px 0}
.fx-crop{display:flex;flex-wrap:wrap;gap:7px}
.fx-samples input[type=file]{width:100%}
.fx-chain{padding:0;list-style:none;counter-reset:fxRow}
.fx-chain>li{
  border:1px solid #cbd7e7;border-left:3px solid #a9bedc;
  border-radius:7px;padding:10px 12px;margin-bottom:9px;background:#f8faff
}
.fx-chain>li .fx-toolbar strong{font-size:13px;color:#1d3670;margin-right:auto}
.fx-drag-handle{
 display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:30px;
 cursor:grab;user-select:none;font-size:18px;font-weight:900;letter-spacing:-.15em;
 border:1px dashed #a9b8d0;border-radius:4px;background:#eaf0fb;color:#344c7c
}
.fx-drag-handle:active{cursor:grabbing}
.fx-shortcuts{font-size:11px;color:#536782;padding-top:10px;border-top:1px dashed #d3deeb}
.fx-parameters{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px;margin-top:11px}
.fx-parameters label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#546888}
.fx-parameters output{font-variant-numeric:tabular-nums;font-weight:700;color:#203e7c}
.fx-budget{
  background:#e7f0ff;padding:10px 12px;
  border:1px solid #bfcfe8;border-radius:6px;color:#263e6f
}
.fx-range{font-size:12px;display:flex;flex-direction:column}
.fx-range meter{width:100%}
.fx-body textarea{width:100%;height:220px;font:12px/1.5 monospace;box-sizing:border-box;padding:10px}
.fx-body details{margin-top:14px;padding:9px 12px;background:#f9fbff;border:1px solid #d4deed;border-radius:7px}
.fx-body details summary{cursor:pointer;font-weight:700}
.fx-body [data-fx-error]{color:#8e1735;white-space:pre-wrap;font-weight:700}
.fx-body [data-fx-error]:empty{display:none}
.fx-body [data-fx-live]{
  background:#fff;border:1px solid #cbd7e8;border-radius:9px;
  margin-top:14px;padding:13px 15px
}
.fx-live-offline{background:#f4f8ff;border:1px solid #b7c9e4;padding:12px;margin-top:10px;border-radius:7px}
.fx-body [data-fx-device-config]{padding:10px;border:1px solid #d6e1ee;border-radius:7px;background:#f8faff}
.fx-body [data-fx-device-config] ul{padding-left:20px}
.fx-body [data-fx-device-config] li{padding:3px 0;overflow-wrap:anywhere}
.fx-body [data-fx-device-config] label{display:flex;flex-direction:column;max-width:420px;gap:5px}
@media(max-width:760px){
  .fx-mic-window{left:2vw;top:2vh;width:96vw;max-height:96vh}
  .fx-preset-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fx-workspace-tabs{top:52px}
  .fx-body{padding-left:10px;padding-right:10px}
  .fx-primary-nav,.fx-workspace-tabs{margin-left:-10px;margin-right:-10px;padding-left:10px;padding-right:10px}
  .fx-section{padding:12px}
}
@media(max-width:520px){
  .fx-samples,.fx-mods,.fx-parameters{grid-template-columns:1fr}
  .fx-workspace-tabs{grid-template-columns:repeat(2,minmax(0,1fr));position:static}
  .fx-primary-nav{position:static}
  .fx-primary-nav [data-fx-status]{margin-left:0;width:100%}
  .fx-preset-cards>button{min-height:72px}
  .fx-section-heading{display:block}
}
@media(prefers-reduced-motion:reduce){.fx-body{scroll-behavior:auto}}
