/* Product-finish pass for the pad engine, warp, choke matrix, and Forge.
   Presentation only: no access, audio, timing, or event behavior lives here. */

/* PAD PARAMETERS / PAD ENGINE */
.heritage-ui #root .anvil-pad-parameters {
  position: relative;
  isolation: isolate;
  gap: 17px;
  padding: clamp(15px, 2vw, 24px);
  border: 2px solid #84998c;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, #6ac5b11d, transparent 30%),
    repeating-linear-gradient(117deg, transparent 0 3px, #ffffff03 3px 4px),
    linear-gradient(145deg, #233331, #121e20 52%, #1d2d2c);
  box-shadow: inset 0 1px #d0d1bd, inset 0 0 0 5px #172525,
    0 5px 0 #4f6a60, 0 18px 32px #02080870;
  color: #e2ece3;
}
.heritage-ui #root .anvil-pad-parameters > div:first-child {
  height: 5px;
  background: linear-gradient(90deg, #e88760, #f4c980 42%, #73d2bf 76%, transparent);
  box-shadow: 0 0 18px #e7a66a50;
}
.heritage-ui #root .anvil-pad-parameters::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5bf83;
  box-shadow: 0 0 0 2px #293c36, 0 0 11px #f1be74;
  pointer-events: none;
}
.heritage-ui #root .anvil-pad-parameters__header {
  gap: 15px;
  min-width: 0;
  padding: 7px 15px 17px 2px;
  border-bottom: 1px solid #6c8c7b;
}
.heritage-ui #root .anvil-pad-parameters__header > div { min-width: 0; gap: 6px; }
.heritage-ui #root .anvil-pad-parameters__header > div > span:first-child {
  color: #a9e5ce;
  font: 900 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .18em;
}
.heritage-ui #root .anvil-pad-parameters__header > div > span:first-child::before {
  content: "●";
  margin-right: 9px;
  color: #75e6b9;
  text-shadow: 0 0 10px #83efc3;
}
.heritage-ui #root .anvil-pad-parameters__header > div > span:last-child {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #fff2d8;
  font: 900 clamp(14px, 1.6vw, 21px) ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .045em;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px #0a1413, 0 0 18px #ffb86b48;
}
.heritage-ui #root .anvil-pad-parameters__header > button {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #b9e7cb;
  border-radius: 7px;
  background: linear-gradient(#28544d, #17362f);
  color: #e3ffea;
  box-shadow: inset 0 1px #96d9c0, 0 3px 0 #0a201a, 0 0 13px #58d8ab25;
  font: 900 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  white-space: nowrap;
}
.heritage-ui #root .anvil-pad-parameters__header > button:hover {
  transform: translateY(-1px);
  border-color: #e1ffdf;
  background: linear-gradient(#34665a, #1e4d40);
}
.heritage-ui #root .anvil-pad-parameters__header > button:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 6px #071b15;
}
.heritage-ui #root .anvil-pad-parameters__primary {
  gap: 10px;
  min-width: 0;
}
.heritage-ui #root .anvil-pad-parameters__control {
  position: relative;
  justify-content: space-between;
  min-width: 0;
  min-height: 115px;
  padding: 30px 15px 15px;
  border: 1px solid #568b7b;
  border-radius: 9px;
  background: radial-gradient(circle at 100% 0%, #67deb11c, transparent 46%),
    linear-gradient(145deg, #183a35, #0c2425);
  box-shadow: inset 0 1px #81bb9e55, 0 4px 0 #0b1918, 0 8px 15px #02080766;
}
.heritage-ui #root .anvil-pad-parameters__control::before {
  content: "01 / LEVEL";
  position: absolute;
  top: 11px;
  left: 15px;
  color: #a7e8c2;
  font: 900 9px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .13em;
}
.heritage-ui #root .anvil-pad-parameters__control:nth-child(2) {
  border-color: #a1805c;
  background: radial-gradient(circle at 100% 0%, #f8be6d1c, transparent 46%),
    linear-gradient(145deg, #352b25, #211f1e);
}
.heritage-ui #root .anvil-pad-parameters__control:nth-child(2)::before { content: "02 / VARISPEED"; color: #f0c286; }
.heritage-ui #root .anvil-pad-parameters__control:nth-child(3) {
  border-color: #8c7e8e;
  background: radial-gradient(circle at 100% 0%, #ddaedc1e, transparent 46%),
    linear-gradient(145deg, #302a35, #1e222a);
}
.heritage-ui #root .anvil-pad-parameters__control:nth-child(3)::before { content: "03 / TUNE"; color: #e6b9df; }
.heritage-ui #root .anvil-pad-parameters__control > div:first-child { align-items: baseline; gap: 8px; }
.heritage-ui #root .anvil-pad-parameters__control > div:first-child span:first-child {
  color: #e7f2e8;
  font-size: 11px;
  letter-spacing: .06em;
}
.heritage-ui #root .anvil-pad-parameters__control > div:first-child span:last-child {
  min-width: 61px;
  padding: 5px 7px;
  border: 1px solid #6db39a;
  border-radius: 5px;
  background: #081b17;
  box-shadow: inset 0 2px 7px #010a08;
  color: #adffd3;
  font: 900 17px ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
  text-shadow: 0 0 10px #70eba57a;
}
.heritage-ui #root .anvil-pad-parameters__control:nth-child(2) > div:first-child span:last-child {
  border-color: #c49762;
  background: #21180f;
  color: #ffd99d;
}
.heritage-ui #root .anvil-pad-parameters__control:nth-child(3) > div:first-child span:last-child {
  border-color: #b994b4;
  background: #211924;
  color: #f2caec;
}
.heritage-ui #root .anvil-pad-parameters input[type="range"] { min-height: 26px; touch-action: none; }
.heritage-ui #root .anvil-pad-parameters__control input[type="range"] {
  width: 100%;
  height: 8px;
  margin-top: 9px;
  accent-color: #78dab0;
  background: #071311;
}
.heritage-ui #root .anvil-pad-parameters__control:nth-child(2) input[type="range"] { accent-color: #eab66c; }
.heritage-ui #root .anvil-pad-parameters__control:nth-child(3) input[type="range"] { accent-color: #d5a4d4; }
.heritage-ui #root .anvil-pad-parameters__choke,
.heritage-ui #root .anvil-pad-parameters__eq,
.heritage-ui #root .anvil-pad-parameters__tempo {
  border: 1px solid #667f72;
  border-radius: 10px;
  background: linear-gradient(145deg, #1b2b27, #111d1d);
  box-shadow: inset 0 1px #92ab8f4d, 0 4px 0 #101b19;
}
.heritage-ui #root .anvil-pad-parameters__choke { padding: 15px 17px; gap: 12px; }
.heritage-ui #root .anvil-pad-parameters__choke span:first-child,
.heritage-ui #root .anvil-pad-parameters__eq > div:first-child > span:first-child {
  color: #f6d19b;
  font-size: 11px;
  letter-spacing: .1em;
}
.heritage-ui #root .anvil-pad-parameters__choke span:last-child { color: #bbd0bd; font-size: 10px; }
.heritage-ui #root .anvil-pad-parameters__choke select {
  min-height: 45px;
  border: 1px solid #d5ab72;
  background: linear-gradient(#2a261d, #101a17);
  color: #ffdc9c;
  box-shadow: inset 0 2px 8px #010706, 0 2px #0b1210;
  font-size: 13px;
}
.heritage-ui #root .anvil-pad-parameters__eq { padding: 15px; }
.heritage-ui #root .anvil-pad-parameters__eq > div:first-child { border-bottom-color: #638475; }
.heritage-ui #root .anvil-pad-parameters__eqband {
  min-width: 0;
  min-height: 102px;
  justify-content: space-between;
  padding: 12px 9px;
  border: 1px solid #4c7262;
  border-radius: 7px;
  background: linear-gradient(#142724, #0b1b1b);
  box-shadow: inset 0 2px 8px #020b09, 0 1px #87a38d55;
}
.heritage-ui #root .anvil-pad-parameters__eqband span:first-child { color: #c0dfc7; font-size: 9px; }
.heritage-ui #root .anvil-pad-parameters__eqband span:last-child {
  color: #b9f4cf;
  font-size: 12px;
  text-shadow: 0 0 8px #66d29466;
}
.heritage-ui #root .anvil-pad-parameters__eqband input { width: 100%; accent-color: #86dab6; }
.heritage-ui #root .anvil-pad-parameters__tempo { padding: 14px; }
.heritage-ui #root .anvil-pad-parameters__tempo > div:first-child { color: #bfe6cd; }
.heritage-ui #root .anvil-pad-parameters__tempo button { min-width: 30px; min-height: 30px; }

/* WARP / FLEX ENGINE — the full panel and compact quick editor share these cues. */
.heritage-ui #root .anvil-pad-warp {
  position: relative;
  gap: 12px;
  padding: 17px;
  border: 1px solid #aa7b72;
  border-left: 5px solid #db8d82;
  border-radius: 11px;
  background: radial-gradient(circle at 100% 0%, #f1958e21, transparent 36%),
    linear-gradient(125deg, #2a292c, #172628 65%, #132123);
  box-shadow: inset 0 1px #e4ad9d50, 0 4px 0 #251c1d,
    0 9px 21px #03080770;
}
.heritage-ui #root .anvil-pad-warp__heading {
  padding-bottom: 9px;
  border-bottom: 1px solid #92686180;
}
.heritage-ui #root .anvil-pad-warp__heading strong {
  color: #ffd2bc;
  font-size: 13px;
  text-shadow: 0 0 10px #e9837770;
}
.heritage-ui #root .anvil-pad-warp__heading strong::before {
  content: "●";
  margin-right: 9px;
  color: #ff9287;
  text-shadow: 0 0 11px #fa8577;
}
.heritage-ui #root .anvil-pad-warp__heading span { color: #cbdad1; }
.heritage-ui #root .anvil-pad-warp__section-label { color: #f5c595; font-size: 10px; }
.heritage-ui #root .anvil-pad-warp__controls { gap: 9px; }
.heritage-ui #root .anvil-pad-warp__controls input[type="range"] {
  min-height: 30px;
  accent-color: #f3a58d;
}
.heritage-ui #root .anvil-pad-warp__value {
  min-height: 38px;
  padding: 4px 8px;
  border-color: #d2a475;
  background: #1e1714;
  color: #ffd08e;
  box-shadow: inset 0 2px 7px #070a08;
  font-size: 14px;
}
.heritage-ui #root .anvil-pad-warp__controls button,
.heritage-ui #root .anvil-pad-warp__flex-actions button,
.heritage-ui #root .anvil-pad-warp__flex-footer button,
.heritage-ui #root .anvil-pad-warp__flex-transport button {
  min-height: 36px;
  border-color: #b17b72;
  border-radius: 6px;
  background: linear-gradient(#432d2b, #281f20);
  color: #ffe0ce;
  box-shadow: inset 0 1px #c9968270, 0 2px #171315;
  font-weight: 900;
}
.heritage-ui #root .anvil-pad-warp button:hover:not(:disabled) {
  border-color: #ffd3ad;
  background: linear-gradient(#61403a, #3e2928);
  color: #fff4e0;
}
.heritage-ui #root .anvil-pad-warp button:disabled { opacity: .42; cursor: not-allowed; }
.heritage-ui #root .anvil-pad-warp__readout {
  padding: 8px 10px;
  border: 1px solid #654a43;
  border-radius: 5px;
  background: #101a1b;
  color: #dfd1bd;
  font-size: 10px;
  line-height: 1.4;
}
.heritage-ui #root .anvil-pad-warp__flex {
  gap: 10px;
  padding-top: 12px;
  border-top-color: #936e6280;
}
.heritage-ui #root .anvil-pad-warp__flex-heading strong { color: #ffd0a2; font-size: 11px; }
.heritage-ui #root .anvil-pad-warp__flex-wave-wrap {
  border: 2px solid #b08c75;
  border-radius: 8px;
  background: #081414;
  box-shadow: inset 0 0 15px #020809, 0 0 0 4px #1b2726;
}
.heritage-ui #root .anvil-pad-warp__flex-ruler {
  border-bottom-color: #8f675b;
  background: linear-gradient(#3b3430, #1d2928);
}
.heritage-ui #root .anvil-pad-warp__flex-ruler-tick { border-left-color: #8ea598; }
.heritage-ui #root .anvil-pad-warp__flex-ruler-tick[data-downbeat="true"] { border-left-color: #ffc47b; }
.heritage-ui #root .anvil-pad-warp__flex-wave-wrap svg { background: #071514; }
.heritage-ui #root .anvil-pad-warp__flex-transport {
  padding: 7px 0;
  border-top: 1px solid #625a50;
  border-bottom: 1px solid #625a50;
}
.heritage-ui #root .anvil-pad-warp__pad-volume {
  border-color: #b77e74;
  background: linear-gradient(#4b2e30, #322629);
  color: #ffded1;
}
.heritage-ui #root .anvil-pad-warp__pad-volume output {
  border-color: #d6a987;
  background: #1a1517;
  color: #ffe0aa;
}
.heritage-ui #root .anvil-pad-quick-editor .anvil-pad-warp { padding: 9px; gap: 7px; }
.heritage-ui #root .anvil-pad-quick-editor .anvil-pad-warp__controls button,
.heritage-ui #root .anvil-pad-quick-editor .anvil-pad-warp__flex-actions button,
.heritage-ui #root .anvil-pad-quick-editor .anvil-pad-warp__flex-footer button,
.heritage-ui #root .anvil-pad-quick-editor .anvil-pad-warp__flex-transport button {
  min-height: 30px;
  padding: 4px 6px;
  font-size: 9px;
}

/* The phone-width mixer has three controls, not a four-slot instrument rack. */
@media (max-width: 900px) {
  .heritage-ui #root .anvil-pad-parameters__primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .heritage-ui #root .anvil-pad-parameters__control:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 94px;
  }
}
@media (max-width: 520px) {
  .heritage-ui #root .anvil-pad-parameters__primary {
    grid-template-columns: minmax(0, 1fr);
  }
  .heritage-ui #root .anvil-pad-parameters__control:nth-child(3) {
    grid-column: auto;
  }
}

/* Keep the Flex audition within the same control group on touch screens. */
.heritage-ui #root .anvil-pad-quick-editor .anvil-pad-warp__flex-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}
.heritage-ui #root .anvil-pad-quick-editor .anvil-pad-warp__flex-actions button {
  min-width: 0;
  min-height: 36px;
  padding: 6px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 9px;
}
.heritage-ui #root .anvil-pad-quick-editor .anvil-pad-warp__flex-actions .anvil-pad-warp__test {
  border-color: #e4a971;
  background: linear-gradient(#78422f, #4b2927);
  color: #fff0dc;
  box-shadow: inset 0 1px #ffc39380, 0 2px #241716;
}
/* CHOKE MATRIX — reinforce the relationship between bank-wide and pad-specific routing. */
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-routing {
  border-color: #ae8d61;
  background: radial-gradient(circle at 100% 0%, #edbf7833, transparent 38%),
    linear-gradient(145deg, #302e28, #172221 62%, #202c28);
}
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-routing__header span {
  color: #ffdaa0;
  font-size: 13px;
}
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--bank-choke,
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--pad-choke {
  min-height: 176px;
  border-color: #ac8a5c !important;
  background: linear-gradient(145deg, #39382c, #202b25) !important;
  box-shadow: inset 0 1px #eac89442, 0 4px 0 #111916 !important;
}
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--bank-choke::before,
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--pad-choke::before {
  content: "BANK WIDE";
  position: absolute;
  top: -9px;
  left: 12px;
  padding: 3px 8px;
  border: 1px solid #bd9a6c;
  border-radius: 4px;
  background: #262920;
  color: #ffd398;
  font: 900 8px ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
}
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--pad-choke::before { content: "THIS PAD"; }
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--bank-choke strong,
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--pad-choke strong { color: #fff0d0; }
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--bank-choke select,
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--pad-choke select {
  min-height: 46px;
  color: #ffe0a3;
  font-size: 13px;
}
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--bank-choke button {
  min-height: 46px;
  border-radius: 6px;
  background: linear-gradient(#ffd08b, #d9984f);
  box-shadow: inset 0 1px #ffebbc, 0 3px #68421e;
  color: #24180d;
}
.heritage-ui #root .anvil-bank-mix-panel .anvil-mix-row--bank-choke button:hover {
  background: linear-gradient(#ffe0aa, #edaf63);
}

/* FORGE / SONG PASS EDITOR */
.anvil-forge, .forge-pass-deck, .forge-pad-groove {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 2px solid #a68560;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, #f4a45522, transparent 34%),
    linear-gradient(140deg, #2d2b27, #181f20 55%, #182525);
  box-shadow: inset 0 1px #f0d1a15c, inset 0 0 0 4px #1b2524,
    0 5px 0 #5a5144, 0 15px 29px #02070870;
}
.anvil-forge::before, .forge-pass-deck::before, .forge-pad-groove::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #f07c54, #f7bf78 41%, #e9d595 67%, transparent);
  box-shadow: 0 0 15px #eb9d5866;
  pointer-events: none;
}
.anvil-forge { padding: clamp(16px, 2vw, 24px); }
.forge-header, .forge-pass-deck-heading, .forge-pad-groove__heading {
  padding-bottom: 14px;
  border-bottom: 1px solid #a37f5480;
}
.forge-header strong, .forge-pass-deck-heading strong, .forge-pad-groove__heading strong {
  color: #ffe0ad;
  text-shadow: 0 0 16px #f5a45b55;
}
.forge-header strong { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .1em; }
.forge-header strong::before, .forge-pad-groove__heading strong::before {
  content: "◆";
  margin-right: 10px;
  color: #f2a96c;
  font-size: .7em;
  text-shadow: 0 0 9px #ffae6f;
}
.forge-header span, .forge-pad-groove__heading span,
.forge-pass-deck-heading span { color: #d7d8c9; }
.forge-header .forge-unlocked, .forge-pass-deck-heading b,
.forge-pad-groove__heading b {
  border-color: #c5a47a;
  background: #1d2c28;
  color: #b7edcd;
  font-weight: 900;
  box-shadow: inset 0 1px #ffffff18;
}
.anvil-forge.forge-locked .forge-unlocked,
.forge-pad-groove.is-locked .forge-pad-groove__heading b {
  border-color: #d7a366;
  background: #30261c;
  color: #ffdcaa;
}
.forge-help {
  max-width: 76ch;
  margin: 15px 0;
  color: #d3d8c9;
  font-size: 12px;
  line-height: 1.6;
}
.anvil-forge.forge-locked .forge-copy-button,
.forge-pad-groove__unlock {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #ffe0a4;
  border-radius: 7px;
  background: linear-gradient(#ffd38e, #dc9f53);
  color: #20170d;
  box-shadow: inset 0 1px #ffefc9, 0 4px 0 #6d4927,
    0 0 14px #eeb56d32;
  font-size: 11px;
  letter-spacing: .08em;
}
.anvil-forge.forge-locked .forge-copy-button:hover,
.forge-pad-groove__unlock:hover { transform: translateY(-1px); filter: brightness(1.08); }
.forge-tabs { gap: 10px; padding: 5px 0; }
.forge-card {
  min-height: 73px;
  padding: 12px;
  border-color: #587069;
  border-radius: 9px;
  background: linear-gradient(#293b36, #1b2b28);
  box-shadow: inset 0 1px #8aa69438, 0 3px 0 #111b18;
}
.forge-card:hover { border-color: #e0b584; background: linear-gradient(#39483d, #26362e); }
.forge-card.is-active {
  border-color: #ffce87;
  background: linear-gradient(#88633b, #654629);
  box-shadow: inset 0 1px #ffe0a266, 0 3px 0 #4b321f, 0 0 16px #e39b5155;
}
.forge-tab { min-height: 33px; }
.forge-tab span { font-size: 11px; }
.forge-bank-picker summary, .forge-pass-bank {
  min-height: 34px;
  border-color: #a18864;
  background: #111e1a;
  color: #ffdaa0;
}
.forge-copy {
  margin-top: 17px;
  padding-top: 16px;
  border-top-color: #9b7d5e;
}
.forge-copy-title strong { color: #ffce8d; font-size: 13px; }
.forge-field select, .forge-pass-deck-copy select { min-height: 40px; border-color: #a98e6c; }
.forge-copy-button, .forge-pass-deck-copy button {
  min-height: 40px;
  border-color: #ffdaa4;
  background: linear-gradient(#fbd08d, #db9b4e);
  box-shadow: inset 0 1px #ffebc2, 0 3px 0 #674524;
}
.forge-pass-deck { padding: clamp(15px, 2vw, 23px); }
.forge-pass-deck-heading strong { font-size: 15px; }
.forge-pass-deck-choices { gap: 9px; }
.forge-pass-deck-choices button {
  min-height: 66px;
  padding: 11px 12px;
  border-color: #5f786b;
  border-radius: 8px;
  background: linear-gradient(#293b35, #1b2b28);
  box-shadow: inset 0 1px #8da99730, 0 3px #0d1714;
  font-size: 11px;
}
.forge-pass-deck-choices button.is-active {
  border-color: #ffd599;
  background: linear-gradient(#91693e, #704d2a);
  box-shadow: inset 0 1px #ffdfaa88, 0 3px #56371d, 0 0 15px #eea25955;
}
.forge-pass-deck-choices .forge-pass-deck-default {
  border-color: #79b99f;
  background: linear-gradient(#25443a, #17352e);
}
.forge-pass-deck-choices .forge-pass-deck-default.is-active {
  border-color: #a9eed0;
  background: linear-gradient(#376d55, #22523f);
}

/* FORGE PAD / BANK GROOVE */
.forge-pad-groove { margin: 14px 0 19px; padding: clamp(16px, 2vw, 22px); border-left: 2px solid #a68560; }
.forge-pad-groove.is-locked { border-color: #a68560; background: linear-gradient(140deg, #2d2b27, #181f20 55%, #182525); }
.forge-pad-groove__heading strong { font-size: clamp(15px, 1.7vw, 19px); }
.forge-pad-groove__heading b { align-self: flex-start; }
.forge-pad-groove__locked { margin-top: 16px; }
.forge-pad-groove__locked p { max-width: 68ch; color: #d3d8c9; font-size: 12px; }
.forge-pad-groove__target {
  margin: 15px 0;
  padding: 11px 13px;
  border: 1px solid #76aa93;
  border-radius: 6px;
  background: linear-gradient(#091c19, #102a22);
  color: #ffde9d;
  box-shadow: inset 0 2px 8px #010a08, 0 0 0 3px #23332c;
  font-size: 12px;
  line-height: 1.4;
}
.forge-pad-groove__layout { gap: 11px; }
.forge-pad-groove__control {
  min-width: 0;
  min-height: 166px;
  padding: 14px;
  border-color: #5b8975;
  border-radius: 9px;
  background: linear-gradient(#142b26, #0d1e1c);
  box-shadow: inset 0 1px #8bb69c50, 0 3px 0 #101a16;
}
.forge-pad-groove__control strong { color: #b8f0cf; font-size: 11px; }
.forge-pad-groove__control small { color: #c0d0c3; font-size: 10px; line-height: 1.4; }
.forge-pad-groove__control output { color: #ffda9d; font-size: 12px; }
.forge-pad-groove__control button {
  min-height: 34px;
  border-color: #6a9b82;
  border-radius: 6px;
  background: linear-gradient(#2c4d3e, #1c382f);
  color: #e7f7e8;
  box-shadow: inset 0 1px #95c4a251, 0 2px 0 #0b2117;
}
.forge-pad-groove__control button.is-active {
  border-color: #c8f4d2;
  background: linear-gradient(#b0e9ba, #70ba95);
  box-shadow: inset 0 2px 5px #386d4d66, 0 0 11px #8de0ac69;
  color: #0e291c;
}
.forge-pad-groove__control input[type="range"] { min-height: 34px; }
.forge-pad-groove__footer {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid #7d9a7d66;
}
.forge-pad-groove__footer button {
  min-height: 42px;
  padding: 9px 13px;
  box-shadow: inset 0 1px #ffffff5c, 0 3px #14221b;
}
.forge-pad-groove__apply-bank {
  border-color: #ffe0a4;
  background: linear-gradient(#ffd38e, #dc9f53);
  box-shadow: inset 0 1px #ffefc9, 0 3px #6d4927;
}
.forge-pad-groove__footer p { color: #d0ddce; font-size: 10px; }
.anvil-forge button:focus-visible, .forge-pass-deck button:focus-visible,
.forge-pad-groove button:focus-visible, .forge-pad-groove input:focus-visible,
.heritage-ui #root .anvil-pad-parameters :focus-visible {
  outline: 2px solid #fff0b7;
  outline-offset: 3px;
}
@media (max-width: 850px) {
  .forge-tabs, .forge-pass-deck-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .forge-pad-groove__control { min-height: 0; }
}
@media (max-width: 620px) {
  .heritage-ui #root .anvil-pad-parameters__header { flex-wrap: wrap; }
  .heritage-ui #root .anvil-pad-parameters__header > button { width: 100%; justify-content: center; }
  .heritage-ui #root .anvil-pad-parameters__eq > div:nth-child(2) { gap: 5px; }
  .heritage-ui #root .anvil-pad-parameters__eqband { min-height: 94px; padding: 8px 4px; }
  .heritage-ui #root .anvil-pad-parameters__eqband span:first-child { font-size: 8px; }
  .forge-header, .forge-pass-deck-heading { flex-wrap: wrap; }
  .forge-header .forge-unlocked { white-space: normal; }
  .forge-pad-groove__heading { gap: 8px; }
}
@media (max-width: 520px) {
  .forge-tabs, .forge-pass-deck-choices { grid-template-columns: 1fr; }
  .forge-pad-groove__control button { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .anvil-forge *, .forge-pass-deck *, .forge-pad-groove *,
  .anvil-pad-parameters * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.anvil-pad-normalize{margin-left:auto;min-height:36px;padding:7px 12px;border:1px solid #d4ad69;border-radius:8px;background:linear-gradient(180deg,#5d4630,#2b261e);color:#ffe6aa;font:800 11px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.04em;cursor:pointer;white-space:normal}
.anvil-pad-normalize:hover,.anvil-pad-normalize:focus-visible{border-color:#ffe5a9;background:#735337;outline:2px solid #f6ce80;outline-offset:2px}
.heritage-ui #root .anvil-pad-parameters__header > button.anvil-pad-normalize{border-color:#d4ad69;background:linear-gradient(180deg,#6c4d2b,#33261b);color:#ffe6aa;box-shadow:inset 0 1px #c69b60,0 3px 0 #140f0b,0 0 13px #e1aa5240}
.heritage-ui #root .anvil-pad-parameters__header > button.anvil-pad-normalize:hover,.heritage-ui #root .anvil-pad-parameters__header > button.anvil-pad-normalize:focus-visible{border-color:#ffe5a9;background:linear-gradient(180deg,#866039,#473121)}
