/* /Components/Controls/AudioLevelMeter.razor.rz.scp.css */
.audio-level-meter[b-reb5kap5ns] {
  box-sizing: border-box;
  padding: 1rem 1.15rem;
  border-radius: 1.1rem;
  background: linear-gradient(110deg, #fff4f3, #f8eff2);
  color: #785d66;
}

.meter-label[b-reb5kap5ns] {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  color: #684155;
  font-size: 0.85rem;
  font-weight: 700;
}

.meter-hint[b-reb5kap5ns] { color: #927b83; font-size: 0.75rem; font-weight: 500; }

.meter-container[b-reb5kap5ns] {
  position: relative;
  height: 4rem;
  overflow: hidden;
  border-radius: 0.75rem;
  background: repeating-linear-gradient(90deg, #e8dfe3 0 0.42rem, transparent 0.42rem 0.95rem);
}

.meter-bar[b-reb5kap5ns] {
  position: relative;
  height: 100%;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, #6bcc9a 0%, #b4d56c 45%, #f2bd57 72%, #e96679 100%);
  transition: none;
}

.start-threshold-marker[b-reb5kap5ns] {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #4c1833;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  pointer-events: none;
}

.meter-values[b-reb5kap5ns] {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.45rem;
  font-size: 0.75rem;
}

.value-current[b-reb5kap5ns] { color: #4b2338; font-weight: 700; }
.value-start-threshold[b-reb5kap5ns] { display: inline-flex; align-items: center; gap: 0.35rem; color: #593149; font-weight: 700; }
.threshold-key[b-reb5kap5ns] { width: 0.2rem; height: 0.9rem; border-radius: 1px; background: #4c1833; }

@media (max-width: 575px) {
  .audio-level-meter[b-reb5kap5ns] { padding: 0.85rem; }
  .meter-label[b-reb5kap5ns] { align-items: flex-start; flex-direction: column; gap: 0.15rem; margin-bottom: 0.45rem; }
  .meter-hint[b-reb5kap5ns] { font-size: 0.7rem; }
  .meter-container[b-reb5kap5ns] { height: 2.75rem; }
  .meter-values[b-reb5kap5ns] { align-items: flex-start; flex-direction: column; gap: 0.3rem; font-size: 0.72rem; }
}

@media (max-width: 359px) {
  .audio-level-meter[b-reb5kap5ns] { padding: 0.7rem; }
  .meter-container[b-reb5kap5ns] { height: 2.4rem; }
  .value-start-threshold[b-reb5kap5ns] { font-size: 0.68rem; }
}
/* /Components/Controls/CalibrationPanel.razor.rz.scp.css */
.calibration-panel[b-lhf6nhfycj] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
}

.btn-calibrate[b-lhf6nhfycj] {
  padding: 0.45rem 0.85rem;
  border: 1px solid #eadde3;
  border-radius: 999px;
  background: #fff;
  color: #765469;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
}

.btn-calibrate:hover[b-lhf6nhfycj] { background: #faf1f5; }

.warning[b-lhf6nhfycj] {
  flex: 1 1 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.environment-loud[b-lhf6nhfycj] { background: #fff5df; color: #704b12; }
.clipping-detected[b-lhf6nhfycj] { background: #fff0ef; color: #7c2c38; }
/* /Components/Controls/ConfigurationPanel.razor.rz.scp.css */
.configuration-panel[b-4vx6tdl5zn] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.75rem;
  padding: 1rem;
  background: #fffdfd;
}

.config-item[b-4vx6tdl5zn] {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid #f0e7e9;
  border-radius: 0.75rem;
  color: #57374a;
}

.config-item label[b-4vx6tdl5zn] { margin: 0; font-size: 0.9rem; font-weight: 600; }

.config-item.max-phrase-length-item[b-4vx6tdl5zn],
.config-item.calibration-duration-item[b-4vx6tdl5zn] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.75rem;
  grid-column: 1 / -1;
}

.max-phrase-length-value[b-4vx6tdl5zn] {
  color: #62346f;
  font-size: 0.85rem;
  font-weight: 750;
  white-space: nowrap;
}

.calibration-duration-value[b-4vx6tdl5zn] {
  color: #62346f;
  font-size: 0.85rem;
  font-weight: 750;
  white-space: nowrap;
}

.config-range-hints[b-4vx6tdl5zn] {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  grid-column: 1 / -1;
  color: #876d76;
  font-size: 0.72rem;
}

.config-item input[type="number"][b-4vx6tdl5zn] {
  width: 5rem;
  min-height: 2.4rem;
  padding: 0.35rem;
  border: 1px solid #ddcbd2;
  border-radius: 0.55rem;
  background: white;
  color: #4c1833;
  font: inherit;
  text-align: center;
}

.config-item.pause-duration-item[b-4vx6tdl5zn] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.75rem;
  grid-column: 1 / -1;
}

.pause-duration-value[b-4vx6tdl5zn] {
  color: #62346f;
  font-size: 0.85rem;
  font-weight: 750;
  white-space: nowrap;
}

.config-item input[type="range"][b-4vx6tdl5zn] {
  width: 100%;
  min-height: 2.2rem;
  grid-column: 1 / -1;
  margin: 0;
  accent-color: #a348bd;
  cursor: pointer;
}

.pause-duration-item p[b-4vx6tdl5zn] {
  grid-column: 1 / -1;
  margin: 0;
  color: #765f66;
  font-size: 0.8rem;
  line-height: 1.4;
}

.pause-duration-range[b-4vx6tdl5zn] {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  grid-column: 1 / -1;
  color: #876d76;
  font-size: 0.72rem;
}

.config-item input:focus-visible[b-4vx6tdl5zn] {
  outline: 3px solid rgba(163, 72, 189, 0.3);
  outline-offset: 2px;
}

@media (max-width: 575px) {
  .configuration-panel[b-4vx6tdl5zn] { grid-template-columns: 1fr; padding: 0.75rem; }
  .config-item.pause-duration-item[b-4vx6tdl5zn] { grid-column: auto; }
  .config-item.max-phrase-length-item[b-4vx6tdl5zn],
  .config-item.calibration-duration-item[b-4vx6tdl5zn] { grid-column: auto; }
}
/* /Components/Controls/RecordingStatus.razor.rz.scp.css */
.recording-status[b-9g09gckl7i] {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  min-height: 10rem;
  align-items: center;
  gap: clamp(1rem, 4vw, 2.5rem);
  padding: 3rem 1rem 1.25rem;
  color: #4c1833;
}

.status-orb[b-9g09gckl7i] {
  display: grid;
  width: clamp(6rem, 15vw, 9rem);
  height: clamp(6rem, 15vw, 9rem);
  flex: 0 0 auto;
  place-items: center;
  border: 0.8rem solid #f9e9eb;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9e9f, #e83f5a);
  box-shadow: 0 0 0 0.6rem #fff1f2;
  color: white;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
}

.status-orb-icon[b-9g09gckl7i] { display: block; line-height: 1; }
.recording-status.recording .status-orb-icon[b-9g09gckl7i] { transform: translateY(-0.04em); }
.recording-status.playback .status-orb-icon[b-9g09gckl7i] { transform: translate(0.08em, -0.03em); }
.recording-symbol[b-9g09gckl7i] {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #f52b31 0 38%, #fff 39% 65%, #f52b31 66% 100%);
}

.recording-status.recording .status-orb[b-9g09gckl7i] { background: #fff; animation: status-pulse-b-9g09gckl7i 1.25s ease-in-out infinite; }
.recording-status.playback .status-orb[b-9g09gckl7i] { background: linear-gradient(145deg, #c58be2, #8249b8); }
.recording-status.listening .status-orb[b-9g09gckl7i] { background: linear-gradient(145deg, #f6a4a5, #dc586b); }

.status-badge[b-9g09gckl7i] {
  position: absolute;
  top: 0;
  left: 50%;
  display: inline-flex;
  min-height: 2.2rem;
  align-items: center;
  gap: 0.55rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #fff0f0;
  color: #a6324f;
  font-weight: 750;
}
.recording-status.recording .status-badge[b-9g09gckl7i] { background: #d92f49; color: #fff; }
.recording-status.playback .status-badge[b-9g09gckl7i] { background: #f2e7fa; color: #7132aa; }
.status-dot[b-9g09gckl7i] { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: currentColor; }
.recording-status.recording .status-dot[b-9g09gckl7i] { animation: status-pulse-b-9g09gckl7i 1.25s ease-in-out infinite; }

.status-copy[b-9g09gckl7i] { max-width: 38rem; }
.status-kicker[b-9g09gckl7i] { display: block; margin-bottom: 0.45rem; color: #9a7180; font-size: 0.74rem; font-weight: 750; letter-spacing: 0.13em; }
.status-copy h1[b-9g09gckl7i] { margin: 0; color: #4c1833; font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 750; letter-spacing: -0.04em; line-height: 1.08; }
.status-copy p[b-9g09gckl7i] { margin: 0.65rem 0 0; color: #745b5c; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.5; }

.max-length-info[b-9g09gckl7i] {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0.45rem 0.7rem;
  border-radius: 0.7rem;
  background: #f7eff1;
  color: #755564;
  font-size: 0.82rem;
  white-space: nowrap;
}

@keyframes status-pulse-b-9g09gckl7i {
  50% { box-shadow: 0 0 0 0.8rem rgba(231, 72, 84, 0.1); }
}

@media (max-width: 767px) {
  .recording-status[b-9g09gckl7i] { min-height: auto; gap: 1rem; padding: 2.8rem 0.15rem 1.2rem; }
  .status-badge[b-9g09gckl7i] { top: 0; }
  .status-orb[b-9g09gckl7i] { width: 4.5rem; height: 4.5rem; border-width: 0.4rem; box-shadow: 0 0 0 0.35rem #fff1f2; font-size: 2rem; }
  .status-copy h1[b-9g09gckl7i] { font-size: 1.65rem; }
  .status-copy p[b-9g09gckl7i] { font-size: 0.98rem; }
  .status-kicker[b-9g09gckl7i] { font-size: 0.65rem; }
  .max-length-info[b-9g09gckl7i] { display: none; }
}

@media (max-width: 575px) {
  .recording-status[b-9g09gckl7i] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 0.75rem;
    padding: 2.8rem 0.2rem 0.9rem;
    text-align: center;
  }
  .status-orb[b-9g09gckl7i] { width: 4rem; height: 4rem; border-width: 0.35rem; font-size: 1.8rem; }
  .status-copy[b-9g09gckl7i] { max-width: 32rem; }
  .status-copy h1[b-9g09gckl7i] { font-size: clamp(1.45rem, 6vw, 1.75rem); }
  .status-copy p[b-9g09gckl7i] { font-size: 0.96rem; line-height: 1.45; }
}

@media (max-width: 359px) {
  .recording-status[b-9g09gckl7i] { padding-inline: 0; }
  .status-copy h1[b-9g09gckl7i] { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .status-orb[b-9g09gckl7i] { animation: none !important; }
}
/* /Components/Controls/SensitivityControl.razor.rz.scp.css */
.sensitivity-control[b-pb2v2m0k0e] {
  min-width: 0;
  padding: 0.6rem 0;
  color: #4c1833;
}

.sensitivity-heading[b-pb2v2m0k0e] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sensitivity-heading label[b-pb2v2m0k0e] { font-weight: 750; }
.info-mark[b-pb2v2m0k0e] {
  display: inline-grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  margin-left: 0.25rem;
  border: 1px solid #8b6578;
  border-radius: 50%;
  color: #745267;
  font-size: 0.75rem;
  cursor: help;
}

.sensitivity-value[b-pb2v2m0k0e] {
  padding: 0.35rem 0.65rem;
  border-radius: 0.6rem;
  background: #f5edf7;
  color: #62346f;
  font-weight: 750;
  white-space: nowrap;
}

.sensitivity-description[b-pb2v2m0k0e] {
  margin: 0.45rem 0 0.7rem;
  color: #765f66;
  font-size: 0.85rem;
  line-height: 1.4;
}

input[type="range"][b-pb2v2m0k0e] {
  display: block;
  width: 100%;
  height: 1.3rem;
  margin: 0.2rem 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

input[type="range"][b-pb2v2m0k0e]::-webkit-slider-runnable-track {
  height: 0.45rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #75ce99, #e9c151 55%, #e96679);
}

input[type="range"][b-pb2v2m0k0e]::-moz-range-track {
  height: 0.45rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #75ce99, #e9c151 55%, #e96679);
}

input[type="range"][b-pb2v2m0k0e]::-webkit-slider-thumb {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: -0.45rem;
  appearance: none;
  border: 2px solid #a348bd;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 7px rgba(76, 24, 51, 0.18);
}

input[type="range"][b-pb2v2m0k0e]::-moz-range-thumb {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid #a348bd;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 7px rgba(76, 24, 51, 0.18);
}

input[type="range"]:focus-visible[b-pb2v2m0k0e] { outline: 3px solid rgba(163, 72, 189, 0.35); outline-offset: 4px; }

.sensitivity-hints[b-pb2v2m0k0e] {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  color: #876d76;
  font-size: 0.72rem;
}
/* /Components/Pages/PhraseLooper.razor.rz.scp.css */
.phrase-looper-container[b-ugj2873r6w] {
  box-sizing: border-box;
  min-height: 100vh;
  padding: 1.25rem 1.5rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 4% 35%, rgba(255, 205, 153, 0.24), transparent 18rem),
    radial-gradient(ellipse at 96% 62%, rgba(247, 195, 177, 0.25), transparent 20rem),
    linear-gradient(180deg, #fff9f4, #fff5f1),
    #fff8f3;
  color: #4c1833;
}

.brand-header[b-ugj2873r6w] {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 1.3rem;
  text-align: center;
}

.app-logo[b-ugj2873r6w] {
  display: block;
  width: min(19rem, 68vw);
  height: auto;
  object-fit: contain;
}

.brand-tagline[b-ugj2873r6w] {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0.3rem 0 0;
  color: #725448;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  font-style: italic;
}

.brand-tagline span[b-ugj2873r6w] {
  color: #e7a72e;
  font-size: 1.2em;
  font-style: normal;
}

.looper-card[b-ugj2873r6w] {
  box-sizing: border-box;
  width: min(100%, 82rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1.1rem 3.5rem rgba(101, 53, 61, 0.1), inset 0 0 0 1px rgba(116, 71, 82, 0.035);
  backdrop-filter: blur(12px);
}

.setup-steps[b-ugj2873r6w] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.35rem, 2vw, 1.2rem);
  margin: 0 auto 2.5rem;
  padding: 0;
  list-style: none;
}

.setup-step[b-ugj2873r6w] {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: #917d82;
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 650;
  white-space: nowrap;
}

.setup-step.active[b-ugj2873r6w] {
  background: #e3f6f3;
  color: #138e86;
}

.setup-step.complete .step-indicator[b-ugj2873r6w] {
  background: #7e6872;
  color: white;
}

.step-indicator[b-ugj2873r6w] {
  display: inline-grid;
  width: 1.8rem;
  height: 1.8rem;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 0.85rem;
}

.setup-step.complete .step-indicator[b-ugj2873r6w] {
  border-color: transparent;
}

.step-connector[b-ugj2873r6w] {
  width: clamp(1rem, 6vw, 4rem);
  height: 2px;
  background: #d9cbd0;
}

.state-panel[b-ugj2873r6w] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 4vw, 2.5rem);
  min-height: 16rem;
  padding: 1.25rem clamp(0.5rem, 3vw, 2rem) 2rem;
}

.calibration-state[b-ugj2873r6w] {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(1.2rem, 4vw, 2.5rem);
  row-gap: 1.5rem;
  align-items: center;
}

.calibration-state .countdown-ring[b-ugj2873r6w] { grid-column: 1 / -1; justify-self: center; margin-top: 0.25rem; }

.state-copy[b-ugj2873r6w] {
  max-width: 38rem;
}

.state-kicker[b-ugj2873r6w] {
  display: block;
  margin-bottom: 0.45rem;
  color: #9a7180;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.state-copy h1[b-ugj2873r6w] {
  margin: 0;
  color: #4c1833;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.08;
  outline: none;
}

.state-copy p[b-ugj2873r6w] {
  margin: 0.65rem 0 0;
  color: #745b5c;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
}

.state-orb[b-ugj2873r6w] {
  display: grid;
  width: clamp(6rem, 15vw, 9rem);
  height: clamp(6rem, 15vw, 9rem);
  flex: 0 0 auto;
  place-items: center;
  border: 0.8rem solid #f9e9eb;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9e9f, #e83f5a);
  box-shadow: 0 0 0 0.6rem #fff1f2;
  color: white;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
}

.setup-orb[b-ugj2873r6w] { background: linear-gradient(145deg, #e8c183, #cb824e); }
.denied-orb[b-ugj2873r6w] { background: linear-gradient(145deg, #f39483, #c94c54); }
.calibration-orb[b-ugj2873r6w] { background: linear-gradient(145deg, #59c8c2, #129b9b); }

.countdown-ring[b-ugj2873r6w] {
  position: relative;
  display: grid;
  width: clamp(10rem, 22vw, 14rem);
  height: clamp(10rem, 22vw, 14rem);
  flex: 0 0 auto;
  place-items: center;
  margin: 0.5rem auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0.5rem #e8f7f4, 0 0.8rem 2rem rgba(38, 156, 148, 0.1);
}

.countdown-progress[b-ugj2873r6w] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.countdown-track[b-ugj2873r6w],
.countdown-arc[b-ugj2873r6w] {
  fill: none;
  stroke-width: 5;
}

.countdown-track[b-ugj2873r6w] { stroke: #d8f1ed; }
.countdown-arc[b-ugj2873r6w] {
  stroke: #49c3b4;
  stroke-dasharray: 100;
  stroke-linecap: round;
  transition: stroke-dashoffset 120ms ease-out;
}

.countdown-content[b-ugj2873r6w] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-timer[b-ugj2873r6w] { color: #4c1833; font-size: clamp(3.3rem, 7vw, 5rem); font-weight: 800; line-height: 1; }
.countdown-label[b-ugj2873r6w] { margin-top: 0.3rem; color: #765b62; font-size: 0.95rem; }

.btn-primary[b-ugj2873r6w],
.btn-secondary[b-ugj2873r6w],
.btn-auto-detect[b-ugj2873r6w] {
  min-height: 2.8rem;
  padding: 0.7rem 1.3rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn-primary[b-ugj2873r6w] {
  margin-top: 1.2rem;
  background: linear-gradient(110deg, #ee5d67, #ce2674);
  box-shadow: 0 0.4rem 1rem rgba(199, 47, 80, 0.22);
  color: white;
}

.btn-primary:hover:not(:disabled)[b-ugj2873r6w] { background: linear-gradient(110deg, #d94c59, #b91f67); transform: translateY(-1px); }
.btn-primary:disabled[b-ugj2873r6w] { cursor: wait; opacity: 0.7; }
.btn-secondary[b-ugj2873r6w] { background: #f2e8eb; color: #4c1833; }
.btn-secondary:hover[b-ugj2873r6w] { background: #e9d8df; }

.practice-state[b-ugj2873r6w]  .audio-level-meter {
  margin: 0.5rem 0 1.3rem;
}

.settings-section[b-ugj2873r6w] {
  overflow: hidden;
  border: 1px solid #efe5e8;
  border-radius: 1rem;
  background: #fffdfd;
}

.settings-section summary[b-ugj2873r6w] {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  color: #4c1833;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  user-select: none;
}

.settings-section summary[b-ugj2873r6w]::-webkit-details-marker { display: none; }
.settings-section summary[b-ugj2873r6w]::after { content: "⌄"; margin-left: auto; font-size: 1.3rem; }
.settings-section[open] summary[b-ugj2873r6w]::after { content: "⌃"; }
.settings-icon[b-ugj2873r6w] { color: #8a6677; font-size: 1.2rem; }
.settings-section[b-ugj2873r6w]  .configuration-panel { margin: 0; border-radius: 0; box-shadow: none; }

.error-section[b-ugj2873r6w] {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid #efb7b9;
  border-radius: 1rem;
  background: #fff3f2;
  color: #762c38;
}

.error-section h2[b-ugj2873r6w] { margin: 0 0 0.25rem; font-size: 1.1rem; }
.error-section p[b-ugj2873r6w] { margin: 0.25rem 0 0.75rem; }

@media (max-width: 767px) {
  .phrase-looper-container[b-ugj2873r6w] { padding: 1rem 0.85rem 2rem; }
  .brand-header[b-ugj2873r6w] { margin-bottom: 1rem; }
  .app-logo[b-ugj2873r6w] { width: min(17rem, 70vw); }
  .brand-tagline[b-ugj2873r6w] { gap: 0.5rem; font-size: clamp(0.9rem, 2.4vw, 1.05rem); }
  .looper-card[b-ugj2873r6w] { padding: clamp(1rem, 3vw, 1.5rem); border-radius: 1.45rem; }
  .setup-steps[b-ugj2873r6w] { gap: clamp(0.2rem, 1vw, 0.55rem); margin-bottom: 1.6rem; }
  .setup-step[b-ugj2873r6w] { gap: 0.35rem; padding: 0.35rem 0.5rem; font-size: clamp(0.72rem, 1.7vw, 0.85rem); }
  .step-indicator[b-ugj2873r6w] { width: 1.55rem; height: 1.55rem; }
  .step-connector[b-ugj2873r6w] { width: clamp(0.45rem, 3vw, 1.1rem); }
  .state-panel[b-ugj2873r6w] { min-height: auto; gap: 1rem; padding: 0.25rem 0.15rem 1.2rem; }
  .calibration-state[b-ugj2873r6w] { grid-template-columns: minmax(0, 1fr); text-align: center; row-gap: 1rem; }
  .calibration-state .state-orb[b-ugj2873r6w] { justify-self: center; }
  .calibration-state .state-copy[b-ugj2873r6w] { justify-self: center; }
  .calibration-state .countdown-ring[b-ugj2873r6w] { grid-column: 1; }
  .state-orb[b-ugj2873r6w] { width: 4.5rem; height: 4.5rem; border-width: 0.4rem; box-shadow: 0 0 0 0.35rem #fff1f2; font-size: 2rem; }
  .countdown-ring[b-ugj2873r6w] { width: clamp(9rem, 25vw, 11rem); height: clamp(9rem, 25vw, 11rem); }
  .state-copy h1[b-ugj2873r6w] { font-size: clamp(1.55rem, 4.2vw, 1.9rem); }
  .state-copy p[b-ugj2873r6w] { font-size: 1rem; }
  .state-kicker[b-ugj2873r6w] { font-size: 0.68rem; }
  .settings-section summary[b-ugj2873r6w] { min-height: 3rem; padding-inline: 0.9rem; }
}

@media (max-width: 575px) {
  .phrase-looper-container[b-ugj2873r6w] { padding: 0.55rem 0.45rem 1.5rem; }
  .brand-header[b-ugj2873r6w] { margin-bottom: 0.75rem; }
  .app-logo[b-ugj2873r6w] { width: min(13.5rem, 64vw); }
  .brand-tagline[b-ugj2873r6w] { max-width: 20rem; gap: 0.35rem; margin-top: 0.1rem; font-size: 0.9rem; line-height: 1.25; }
  .looper-card[b-ugj2873r6w] { padding: 0.95rem 0.8rem; border-radius: 1.15rem; }
  .setup-steps[b-ugj2873r6w] { justify-content: space-between; gap: 0.1rem; margin-bottom: 1.25rem; }
  .setup-step[b-ugj2873r6w] { gap: 0.28rem; padding: 0.3rem 0.35rem; font-size: 0.72rem; }
  .step-indicator[b-ugj2873r6w] { width: 1.4rem; height: 1.4rem; font-size: 0.72rem; }
  .step-connector[b-ugj2873r6w] { width: auto; max-width: 1.1rem; flex: 1 1 0; }
  .setup-panel[b-ugj2873r6w] { flex-direction: column; align-items: center; gap: 0.85rem; padding: 0.3rem 0.1rem 0.8rem; text-align: center; }
  .setup-panel .state-orb[b-ugj2873r6w] { width: 3.9rem; height: 3.9rem; border-width: 0.35rem; font-size: 1.75rem; }
  .setup-panel .state-copy[b-ugj2873r6w] { max-width: 31rem; }
  .setup-panel .state-copy h1[b-ugj2873r6w] { font-size: clamp(1.45rem, 6vw, 1.8rem); }
  .setup-panel .state-copy p[b-ugj2873r6w] { margin-top: 0.55rem; font-size: 0.96rem; line-height: 1.45; }
  .setup-panel .btn-primary[b-ugj2873r6w] { width: min(100%, 20rem); margin-top: 0.9rem; }
  .calibration-state[b-ugj2873r6w] { row-gap: 0.85rem; padding-bottom: 0.75rem; }
  .calibration-state .state-orb[b-ugj2873r6w] { width: 3.75rem; height: 3.75rem; }
  .countdown-ring[b-ugj2873r6w] { width: min(10rem, 48vw); height: min(10rem, 48vw); margin-top: 0.2rem; }
  .countdown-timer[b-ugj2873r6w] { font-size: 3rem; }
  .countdown-label[b-ugj2873r6w] { font-size: 0.86rem; white-space: nowrap; }
}

@media (max-width: 359px) {
  .phrase-looper-container[b-ugj2873r6w] { padding-inline: 0.3rem; }
  .looper-card[b-ugj2873r6w] { padding-inline: 0.6rem; }
  .setup-step[b-ugj2873r6w] { gap: 0.2rem; padding-inline: 0.25rem; font-size: 0.68rem; }
  .step-indicator[b-ugj2873r6w] { width: 1.3rem; height: 1.3rem; }
  .step-connector[b-ugj2873r6w] { max-width: 0.7rem; }
  .countdown-label[b-ugj2873r6w] { font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *[b-ugj2873r6w], *[b-ugj2873r6w]::before, *[b-ugj2873r6w]::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
