:root {
  color-scheme: dark;
  --bg: #171817;
  --panel: #20211f;
  --surface: #272824;
  --border: #363730;
  --muted: #999b90;
  --text: #eae9df;
  --orange: #f5a168;
  --orange-soft: #342a23;
  --green: #afc39e;
  --font: "Segoe UI","Malgun Gothic",Arial,sans-serif;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

button,input,a,summary,audio {
  -webkit-tap-highlight-color: transparent;
}

button,input {
  font: inherit;
}

button,a,summary {
  touch-action: manipulation;
}

button,a,input,summary {
  outline-offset: 5px;
}

button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible {
  outline: 2px solid var(--orange);
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 600;
}

button:disabled,fieldset:disabled {
  opacity: .5;
}

[hidden] {
  display: none!important;
}

.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;
}

.app-shell {
  max-width: 1344px;
  margin: auto;
  padding: 0 56px;
}

.site-header {
  min-height: 94px;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-size: 1.3125rem;
  letter-spacing: -.9px;
  font-weight: 650;
}

.brand b {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 2.3px;
  margin-left: 9px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
  color: var(--orange);
}

.brand-mark i {
  display: block;
  width: 3px;
  background: currentColor;
  border-radius: 1px;
}

.brand-mark i:nth-child(1) {
  height: 13px;
}

.brand-mark i:nth-child(2) {
  height: 25px;
}

.brand-mark i:nth-child(3) {
  height: 18px;
}

.brand-mark i:nth-child(4) {
  height: 9px;
}

.connection {
  font-size: 0.875rem;
  letter-spacing: .4px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 11px;
}

.status-dot,.small-dot {
  width: 5px;
  height: 5px;
  background: var(--muted);
  border-radius: 50%;
  display: inline-block;
}

.connection.ready {
  color: var(--green);
}

.connection.ready .status-dot {
  background: var(--green);
}

.connection.offline {
  color: #e99b90;
}

.connection.offline .status-dot {
  background: #e99b90;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 45px 0 34px;
  gap: 24px;
}

.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0;
  color: var(--orange);
  margin-bottom: 10px;
  font-weight: 600;
}

h1 {
  font-size: 1.9375rem;
  letter-spacing: -1.5px;
  line-height: 1.4;
}

.intro-copy {
  font-size: 1rem;
  margin-top: 9px;
  color: var(--muted);
}

.local-note {
  display: flex;
  align-items: center;
  gap: 13px;
}

.local-note svg {
  width: 26px;
  height: 26px;
  color: var(--muted);
}

.local-note strong,.local-note span {
  display: block;
}

.local-note strong {
  font-size: 0.875rem;
  font-weight: 500;
}

.local-note span {
  font-size: 0.875rem;
  margin-top: 2px;
  color: var(--muted);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(310px,.85fr) minmax(380px,1.3fr);
  gap: 22px;
  align-items: stretch;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  min-width: 0;
  overflow: hidden;
}

.source-panel {
  padding: 24px;
}

.section-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  min-height: 24px;
}

.step {
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 1px;
  font-family: Consolas,monospace;
}

.section-heading h2 {
  font-size: 0.875rem;
  letter-spacing: -.3px;
}

.section-heading .result-badge {
  margin-left: auto;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 4px;
  padding: 1px 7px;
  white-space: nowrap;
}

.result-badge.success {
  color: var(--green);
  border-color: #48543e;
}

.result-badge.processing {
  color: var(--orange);
  border-color: #725039;
}

.result-badge.failed {
  color: #e99b90;
  border-color: #764b41;
}

.result-badge.review {
  color: #e9bb8e;
  border-color: #70563a;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.dropzone {
  position: relative;
  display: flex;
  min-height: 186px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed #56564b;
  border-radius: 7px;
  background: #252620;
  padding: 25px 15px 17px;
  transition: border-color .2s,background .2s;
}

.dropzone:hover,.dropzone.dragging,.dropzone:focus-within {
  border-color: var(--orange);
  background: #2b2a23;
}

.dropzone input[type=file] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  cursor: pointer;
}

.dropzone label {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  pointer-events: none;
  min-width: 0;
}

.upload-icon {
  background: #30312a;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  color: #c2c5b4;
}

.upload-icon svg {
  width: 20px;
  height: 20px;
}

.dropzone strong {
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropzone label>span:not(.upload-icon) {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 5px;
}

.dropzone em {
  color: var(--orange);
  font-style: normal;
}

.dropzone p {
  font-size: 0.875rem;
  color: #919384;
  margin-top: 12px;
}

.dropzone.has-file .upload-icon {
  color: var(--orange);
}

.dropzone.has-file strong {
  color: var(--orange);
}

.setting-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 23px 0 11px;
  gap: 12px;
}

.setting-title h3 {
  font-size: 0.875rem;
  font-weight: 500;
}

.setting-title span {
  font-size: 0.875rem;
  color: var(--muted);
}

.presets {
  display: grid;
  gap: 7px;
}

.preset {
  position: relative;
  display: block;
  cursor: pointer;
}

.preset input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.preset-content {
  display: block;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 13px;
  transition: background .15s,border-color .15s;
}

.preset-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.preset-top strong {
  font-size: 0.875rem;
  font-weight: 550;
  letter-spacing: .3px;
}

.preset-content>span:last-child {
  font-size: 0.875rem;
  color: var(--muted);
}

.radio-mark {
  width: 12px;
  height: 12px;
  border: 1px solid #626357;
  border-radius: 50%;
  position: relative;
}

.preset input:checked+.preset-content {
  border-color: #a57750;
  background: #30291f;
}

.preset input:checked+.preset-content .preset-top {
  color: var(--orange);
}

.preset input:checked+.preset-content .radio-mark {
  border-color: var(--orange);
}

.preset input:checked+.preset-content .radio-mark:after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--orange);
}

.preset input:focus-visible+.preset-content {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.preset:hover .preset-content {
  border-color: #777569;
}

.advanced {
  border-top: 1px solid var(--border);
  margin-top: 23px;
  padding-top: 15px;
}

.advanced summary {
  font-size: 0.875rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.advanced summary::-webkit-details-marker {
  display: none;
}

.summary-chevron {
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--muted);
  border-right: 1px solid var(--muted);
  transform: rotate(135deg);
  margin-right: 3px;
  transition: transform .2s;
}

.advanced[open] .summary-chevron {
  transform: rotate(-45deg);
}

.range-setting {
  margin-top: 17px;
}

.range-setting>div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.range-setting label {
  font-size: 0.875rem;
  color: #b5b6aa;
}

.range-setting output {
  font: 0.875rem Consolas,monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.3px;
}

.range-setting output span {
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--muted);
  margin-left: 3px;
}

.range-setting input {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(to right,var(--orange) 0%,var(--orange) var(--range-progress,50%),#43443b var(--range-progress,50%),#43443b 100%);
  margin: 13px 0 9px;
  cursor: pointer;
  accent-color: var(--orange);
}

.range-setting input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ece9d9;
  border: 2px solid #ece9d9;
}

.range-setting input::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ece9d9;
  border: 2px solid #ece9d9;
}

.range-setting p {
  color: var(--muted);
  font-size: 0.875rem;
}

.policy-note,.measurement-note,.processing-summary,.report-details>p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 13px;
  line-height: 1.8;
}

.policy-note {
  padding: 12px;
  background: #28291f;
  border-left: 2px solid #7c806a;
}

.select-setting {
  margin-top: 19px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
}

.select-setting select {
  font: inherit;
  padding: 6px 8px;
  border: 1px solid #5b5d50;
  border-radius: 4px;
  color: var(--text);
  background: var(--surface);
  max-width: 100%;
}

.processing-options {
  display: grid;
  gap: 12px;
  margin-top: 21px;
}

.option-toggle {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.875rem;
}

.option-toggle input {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  flex-shrink: 0;
}

.option-toggle strong,.option-toggle small {
  display: block;
  font-size: inherit;
  font-weight: 400;
}

.option-toggle small {
  color: var(--muted);
}

.validation-result {
  margin-top: 19px;
  padding: 13px 15px;
  border: 1px solid #48543e;
  border-radius: 6px;
  background: #242a20;
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.validation-result h3 {
  font-size: 0.875rem;
  color: var(--green);
}

.validation-result p {
  margin-top: 6px;
}

.validation-result ul {
  padding-left: 19px;
  margin: 8px 0;
}

.validation-result li+li {
  margin-top: 5px;
}

.validation-result.review {
  background: #332c22;
  border-color: #70563a;
}

.validation-result.review h3 {
  color: #e9bb8e;
}

.validation-result.fail {
  background: #342722;
  border-color: #764b41;
}

.validation-result.fail h3 {
  color: #e99b90;
}

.validation-note {
  color: #b7b8aa;
}

.report-details {
  margin-top: 17px;
  font-size: 0.875rem;
}

.report-details summary {
  cursor: pointer;
  color: #c9c7af;
}

.report-details pre {
  max-height: 360px;
  overflow: auto;
  font: 0.8125rem/1.7 Consolas,monospace;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: #191b18;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.report-download {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem;
  text-align: center;
  color: #c9c7af;
}

.primary-button {
  margin-top: 22px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #2b2119;
  width: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 45px;
  font-size: 0.875rem;
  font-weight: 650;
  transition: background .15s;
}

.primary-button:not(:disabled):hover {
  background: #ffb681;
}

.primary-button svg {
  width: 17px;
  height: 17px;
}

.form-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 9px;
  min-height: 16px;
}

.form-error {
  padding: 10px 12px;
  margin-top: 16px;
  border: 1px solid #694941;
  border-radius: 5px;
  color: #f0afa1;
  font-size: 0.875rem;
  background: #342722;
  overflow-wrap: anywhere;
}

.result-panel {
  display: flex;
  flex-direction: column;
  padding: 24px 27px 0;
  position: relative;
  min-height: 700px;
}

.result-panel>.section-heading {
  margin-bottom: 0;
}

.empty-state {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  min-height: 600px;
  padding-bottom: 32px;
}

.empty-symbol {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 49px;
  margin-bottom: 26px;
}

.empty-symbol span {
  display: block;
  width: 5px;
  background: #494b40;
  border-radius: 5px;
}

.empty-symbol span:nth-child(1),.empty-symbol span:nth-child(5) {
  height: 15px;
}

.empty-symbol span:nth-child(2),.empty-symbol span:nth-child(4) {
  height: 30px;
}

.empty-symbol span:nth-child(3) {
  height: 47px;
  background: #7c806a;
}

.empty-state h3 {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.4px;
}

.empty-state p {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.9;
}

.empty-format {
  font: 0.875rem var(--font);
  letter-spacing: 0;
  color: #858779;
  margin-top: 35px;
}

.empty-format span {
  margin: 0 10px;
  color: #aaa78e;
}

.panel-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.875rem;
}

.panel-footer .small-dot {
  background: var(--green);
  width: 4px;
  height: 4px;
}

.footer-separator {
  color: #5b5d50;
  margin: 0 3px;
}

.processing-state {
  margin: auto 0;
  padding: 90px 10px;
  min-width: 0;
}

.processing-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}

.processing-top strong {
  margin-left: auto;
  font: 0.875rem Consolas,monospace;
  color: var(--orange);
}

.process-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #575145;
  border-right-color: var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

.processing-state progress {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: #3c3d33;
  border: 0;
  border-radius: 8px;
  margin: 22px 0 12px;
  overflow: hidden;
}

.processing-state progress::-webkit-progress-bar {
  background: #3c3d33;
  border-radius: 8px;
}

.processing-state progress::-webkit-progress-value {
  background: var(--orange);
  border-radius: 8px;
  transition: width .3s;
}

.processing-state progress::-moz-progress-bar {
  background: var(--orange);
  border-radius: 8px;
}

.processing-description {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.9;
}

.result-content {
  padding-top: 28px;
  padding-bottom: 24px;
}

.result-track {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.track-icon {
  width: 38px;
  height: 42px;
  border: 1px solid #555241;
  border-radius: 5px;
  color: #c9c7af;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.track-icon svg {
  width: 19px;
  height: 19px;
}

.result-track>div {
  min-width: 0;
}

.result-track h3 {
  font-size: 0.875rem;
  overflow-wrap: anywhere;
  font-weight: 500;
}

.result-track p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 3px;
}

.settings-snapshot {
  color: #b0ae9b;
  font-size: 0.875rem;
  margin-top: 12px;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--border);
}

.stale-note {
  color: #e9bb8e;
  background: var(--orange-soft);
  border: 1px solid #70563a;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 0.875rem;
  line-height: 1.8;
  margin-top: 16px;
}

.comparison-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.comparison-heading h3,.measure-heading h3 {
  font-size: 0.875rem;
  font-weight: 500;
}

.toggle {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.875rem;
  color: #c1c0b1;
  cursor: pointer;
  position: relative;
}

.toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.toggle-track {
  display: block;
  width: 26px;
  height: 14px;
  border-radius: 10px;
  background: #505146;
  position: relative;
}

.toggle-track:after {
  content: "";
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 10px;
  height: 10px;
  background: #ddddcf;
  border-radius: 50%;
  transition: transform .2s;
}

.toggle input:checked+.toggle-track {
  background: #bd8456;
}

.toggle input:checked+.toggle-track:after {
  transform: translateX(12px);
  background: #fff1df;
}

.toggle input:focus-visible+.toggle-track {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.toggle input:disabled~span {
  opacity: .5;
}

.comparison-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 7px;
  margin-bottom: 15px;
}

.audio-row {
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-top: 9px;
  background: #252621;
}

.audio-row.mastered {
  border-color: #65503b;
  background: #29261f;
}

.audio-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}

.ab-letter {
  font: 0.875rem Consolas,monospace;
  display: grid;
  place-items: center;
  border: 1px solid #60614f;
  border-radius: 3px;
  width: 19px;
  height: 19px;
  color: #babcaa;
}

.audio-label strong {
  font-size: 0.875rem;
  font-weight: 500;
}

.mastered .ab-letter {
  color: var(--orange);
  border-color: #946e4a;
}

.mastered .audio-label strong {
  color: var(--orange);
}

.gain-label {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--muted);
}

audio {
  display: block;
  width: 100%;
  height: 33px;
  max-width: 100%;
  color-scheme: dark;
}

audio::-webkit-media-controls-enclosure {
  border-radius: 5px;
  background: #33342d;
}

audio::-webkit-media-controls-panel {
  background: #33342d;
}

.measure-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 10px;
}

.measure-heading>span {
  font-size: 0.875rem;
  color: var(--muted);
}

.measurements {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 10px;
  table-layout: fixed;
}

.measurements th,.measurements td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}

.measurements thead th {
  color: var(--muted);
  font-size: 0.875rem;
  padding: 7px 0;
}

.measurements th:first-child {
  text-align: left;
  width: 50%;
}

.measurements th:not(:first-child),.measurements td {
  text-align: right;
}

.measurements tbody th {
  font-size: 0.875rem;
  color: #c9c9b9;
}

.measurements th small {
  font-size: 0.875rem;
  color: var(--muted);
  display: inline-block;
  margin-left: 4px;
}

.measurements td {
  font-family: Consolas,monospace;
  font-variant-numeric: tabular-nums;
}

.measurements td:last-child {
  color: var(--orange);
}

.warnings {
  padding: 10px 12px 10px 26px;
  margin: 15px 0 0;
  background: #332c22;
  color: #e0bf95;
  font-size: 0.875rem;
  border-radius: 5px;
  overflow-wrap: anywhere;
}

.warnings li+li {
  margin-top: 6px;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 43px;
  text-decoration: none;
  border: 1px solid #77705a;
  background: #343126;
  color: #e9dfbf;
  border-radius: 6px;
  font-size: 0.875rem;
  margin-top: 23px;
  transition: background .2s;
}

.download-button:hover {
  background: #423a2c;
  border-color: var(--orange);
}

.download-button svg {
  width: 17px;
  height: 17px;
}

.download-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 8px;
}

.failure-state {
  padding: 75px 12px;
  text-align: center;
  margin: auto 0;
}

.failure-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #966451;
  color: #f0afa1;
  border-radius: 50%;
  margin: 0 auto 18px;
  font-family: Consolas,monospace;
}

.failure-state h3 {
  font-size: 0.9375rem;
}

.failure-state p {
  font-size: 0.875rem;
  color: #e7b6a1;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.failure-state .failure-help {
  font-size: 0.875rem;
  color: var(--muted);
}

.history-section {
  margin-top: 30px;
}

.history-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.history-heading h2 {
  font-size: 0.875rem;
  font-weight: 500;
}

.history-heading>span {
  color: var(--muted);
  font-size: 0.875rem;
}

.history-list {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #1d1e1b;
}

.history-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  min-height: 55px;
  padding: 11px 18px;
}

.history-row+.history-row {
  border-top: 1px solid var(--border);
}

.history-name {
  border: 0;
  padding: 0;
  background: none;
  color: var(--text);
  text-align: left;
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 160px;
}

.history-name:hover {
  color: var(--orange);
}

.history-status {
  font-size: 0.875rem;
  margin-left: auto;
  color: var(--muted);
  white-space: nowrap;
}

.history-status.completed {
  color: var(--green);
}

.secondary-button {
  border: 1px solid #5b5d50;
  border-radius: 4px;
  background: var(--surface);
  color: #d1d1c3;
  padding: 5px 9px;
  font: 0.8125rem var(--font);
  white-space: nowrap;
}

.secondary-button:not(:disabled):hover {
  border-color: var(--orange);
  color: var(--orange);
}

.playlist-panel {
  margin-top: 26px;
  padding: 24px;
}

.playlist-panel>.section-heading {
  margin-bottom: 12px;
}

.playlist-description,.playlist-help,.playlist-empty,.playlist-settings {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--muted);
}

.playlist-add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.875rem;
}

.playlist-add select {
  flex: 1 1 220px;
  min-width: 0;
  max-width: 100%;
  font: inherit;
  padding: 8px;
  border: 1px solid #5b5d50;
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
}

.playlist-help {
  margin-top: 7px;
}

.playlist-selection {
  padding-left: 28px;
  margin: 18px 0;
  font-size: 0.875rem;
}

.playlist-selection li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.playlist-track-name {
  display: inline-block;
  width: calc(100% - 184px);
  min-width: 130px;
  overflow-wrap: anywhere;
  margin-right: 8px;
  vertical-align: middle;
}

.playlist-selection .secondary-button {
  margin-left: 4px;
}

.playlist-settings {
  margin-top: 18px;
  color: #c9c7af;
}

.playlist-empty {
  margin-top: 17px;
}

.playlist-track-report,.target-comparison {
  margin-top: 22px;
}

.playlist-track-report h3,.target-comparison h3 {
  font-size: 0.875rem;
}

.table-scroll {
  overflow-x: auto;
}

.playlist-track-report table,.target-comparison table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8125rem;
}

.playlist-track-report td,.playlist-track-report th,.target-comparison td,.target-comparison th {
  padding: 9px 6px;
  border-bottom: 1px solid var(--border);
  text-align: right;
  font-weight: 400;
}

.playlist-track-report td:first-child,.playlist-track-report th:first-child,.target-comparison td:first-child,.target-comparison th:first-child {
  text-align: left;
  min-width: 130px;
  overflow-wrap: anywhere;
}

.playlist-track-report th,.target-comparison th {
  color: var(--muted);
}

.target-selector .select-setting select {
  min-width: 150px;
  max-width: 100%;
}

.target-selector {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.target-changes {
  padding: 10px 0 10px 20px;
  margin: 10px 0;
  font-size: 0.875rem;
  color: #c9c7af;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}

.target-changes li+li {
  margin-top: 6px;
}

.target-selector .setting-title a {
  font-size: 0.8125rem;
  color: var(--orange);
}

.profile-library {
  padding: 24px;
  margin-top: 26px;
}

.profile-library>.section-heading {
  margin-bottom: 12px;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr));
  gap: 15px 20px;
  margin-top: 19px;
}

.profile-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.875rem;
  color: #c9c7af;
  min-width: 0;
}

.profile-form-grid input,.profile-form-grid select {
  min-width: 0;
  width: 100%;
  border: 1px solid #5b5d50;
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  padding: 9px;
}

.profile-status {
  color: #c9c7af;
  font-size: 0.875rem;
  margin-top: 14px;
  overflow-wrap: anywhere;
}

.profile-result {
  padding: 28px 0;
  overflow-wrap: anywhere;
}

.profile-result h3 {
  font-size: 1rem;
  color: var(--green);
  margin-bottom: 12px;
}

.profile-result>p {
  font-size: 0.875rem;
}

.audio-row.reference {
  background: #23292a;
  border-color: #506469;
}

.audio-row.reference strong,.audio-row.reference .ab-letter {
  color: #a9cbd1;
}

.history-status.pass {
  color: var(--green);
}

.history-status.review {
  color: #e9bb8e;
}

.history-status.fail {
  color: #e99b90;
}

.history-status.failed {
  color: #e99b90;
}

.history-status.running,.history-status.queued {
  color: var(--orange);
}

.history-download {
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--muted);
  padding: 4px;
}

.history-download:hover {
  color: var(--orange);
}

.history-download svg {
  width: 15px;
  height: 15px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border);
  margin-top: 37px;
  padding: 23px 0 30px;
  font-size: 0.875rem;
  color: #919384;
}

.site-footer>span:first-child {
  font-size: 0.875rem;
  font-weight: 600;
}

.site-footer b {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  margin-left: 4px;
}

.site-footer>span:nth-child(2) {
  font-size: 0.875rem;
}

.api-note {
  font: 0.875rem Consolas,monospace;
  letter-spacing: 1px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media(min-width:1400px) {
  .app-shell {
    max-width: 1380px;
    padding: 0 64px;
  }
  .intro {
    padding-top: 53px;
    padding-bottom: 38px;
  }
  .workspace {
    grid-template-columns: 420px minmax(0,1fr);
    gap: 26px;
  }
  .source-panel {
    padding: 27px;
  }
  .result-panel {
    padding: 27px 32px 0;
  }
}

@media(max-width:1000px) {
  .app-shell {
    padding: 0 30px;
  }
  .workspace {
    grid-template-columns: minmax(290px,.9fr) minmax(340px,1.15fr);
    gap: 17px;
  }
  .source-panel {
    padding: 20px;
  }
  .result-panel {
    padding: 20px 21px 0;
  }
  .section-heading h2 {
    font-size: 0.875rem;
  }
  .local-note {
    display: none;
  }
  h1 {
    font-size: 1.75rem;
  }
  .dropzone p {
    font-size: 0.875rem;
  }
  .section-heading {
    gap: 8px;
  }
}

@media(max-width:760px) {
  .app-shell {
    padding: 0 20px;
  }
  .site-header {
    min-height: 76px;
    padding: 18px 0;
  }
  .brand {
    font-size: 1.1875rem;
  }
  .brand b {
    font-size: 0.875rem;
    letter-spacing: 1.6px;
    margin-left: 6px;
  }
  .connection {
    font-size: 0.875rem;
    padding: 4px 8px;
  }
  .intro {
    padding: 32px 0 26px;
  }
  h1 {
    font-size: 1.6875rem;
  }
  .eyebrow {
    font-size: 0.875rem;
  }
  .intro-copy {
    font-size: 0.875rem;
  }
  .workspace {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .source-panel {
    padding: 22px;
  }
  .result-panel {
    padding: 22px 22px 0;
    min-height: 440px;
  }
  .section-heading h2 {
    font-size: 0.875rem;
  }
  .dropzone {
    min-height: 177px;
  }
  .dropzone p {
    font-size: 0.875rem;
  }
  .presets {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .preset-content {
    height: 100%;
    padding: 11px 10px;
  }
  .preset-top {
    gap: 10px;
  }
  .preset-top strong {
    font-size: 0.875rem;
  }
  .preset-content>span:last-child {
    font-size: 0.875rem;
    line-height: 1.6;
    display: block;
    margin-top: 5px;
  }
  .radio-mark {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
  }
  .preset input:checked+.preset-content .radio-mark:after {
    inset: 2px;
  }
  .empty-state {
    min-height: 340px;
    padding: 40px 0;
  }
  .range-setting {
    margin-top: 20px;
  }
  .advanced {
    margin-top: 23px;
  }
  .primary-button {
    min-height: 48px;
  }
  .site-footer>span:nth-child(2) {
    display: none;
  }
  .processing-state {
    padding: 75px 0;
  }
  .history-row {
    padding: 11px 13px;
  }
  .history-status {
    font-size: 0.875rem;
  }
  .measurements th:first-child {
    width: 54%;
  }
}

@media(max-width:420px) {
  .app-shell {
    padding: 0 14px;
  }
  .brand-mark {
    gap: 2px;
  }
  .brand {
    gap: 9px;
  }
  .brand b {
    font-size: 0.875rem;
  }
  .connection {
    font-size: 0.875rem;
    gap: 5px;
  }
  .source-panel,.result-panel {
    padding-left: 18px;
    padding-right: 18px;
  }
  .section-heading h2 {
    font-size: 0.875rem;
  }
  .section-heading {
    gap: 7px;
  }
  h1 {
    font-size: 1.5rem;
  }
  .preset-content {
    padding: 10px 8px;
  }
  .preset-top strong {
    font-size: 0.875rem;
  }
  .preset-content>span:last-child {
    font-size: 0.875rem;
  }
  .radio-mark {
    width: 9px;
    height: 9px;
  }
  .measurements th small {
    display: block;
    margin-left: 0;
  }
  .gain-label {
    font-size: 0.875rem;
  }
  .result-badge {
    font-size: 0.875rem;
  }
  .history-heading>span {
    font-size: 0.875rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation-duration: .01ms!important;
    animation-iteration-count: 1!important;
    transition: none!important;
  }
}

.cloud-notice{border:1px solid #454b3b;background:#252b20;color:#d0d7bd;border-radius:12px;padding:14px 18px;font-size:13px;line-height:1.7;margin-bottom:24px}body{overscroll-behavior-y:contain}audio{max-width:100%}
/* Product controls extend the existing spacing/type/color system. */
#legacy-selection:not([hidden]) {display:grid;gap:12px;margin-top:16px;}
#legacy-selection label {display:grid;gap:8px;min-width:0;}
#legacy-selection select {width:100%;min-width:0;}
#preset-status {overflow-wrap:anywhere;}
.basic-settings {display:grid;gap:16px;margin:24px 0}
.basic-settings label,.preset-tools label,.advanced>label {display:grid;gap:8px;font-size:13px;color:var(--text,#eee)}
.basic-settings select,.preset-tools select,.advanced select {width:100%;min-height:42px}
.rights-note {display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;margin:14px 0}
.rights-note input {margin-top:5px}
.eq-fields {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}
.eq-fields label {font-size:12px;display:grid;gap:7px}
.eq-fields input {width:100%;min-width:0;min-height:42px}
.preset-tools {display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}
.preset-tools input {min-width:0;width:100%}
.action-row {display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.action-row button {min-height:44px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,audio:focus-visible {outline:3px solid #d7e895;outline-offset:3px}
input[type=number],input[type=text],select {color:#eeefe8;background:#242622;border:1px solid #696e60;border-radius:7px;padding:9px;font:inherit}
@media(max-width:520px){.preset-tools{grid-template-columns:1fr}.eq-fields{gap:6px}.action-row button{flex:1 1 140px}}

/* Task-first workspace. Keep detailed tools available without crowding the first visit. */
:root { --muted:#b1b3a7; --border:#3c3e36; }
.app-shell {max-width:1240px;padding:0 36px}
.site-header {min-height:72px;padding:16px 0}
.intro {padding:34px 0 26px;gap:36px}
.intro h1 {font-size:clamp(26px,3vw,36px);letter-spacing:-1.5px}
.intro-copy {line-height:1.75;margin-top:10px}
.eyebrow {font-size:12px;letter-spacing:.04em}
.workflow {display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0;margin:0;color:var(--muted);font-size:13px}
.workflow li {display:grid;gap:10px;justify-items:center;white-space:nowrap}
.workflow span {display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid var(--border);font-size:12px;color:var(--orange)}
.availability-note {font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 18px;padding-left:12px;border-left:2px solid var(--border);overflow-wrap:anywhere}
.workspace {grid-template-columns:minmax(360px,.95fr) minmax(0,1.1fr);align-items:start;gap:24px}
.source-panel,.result-panel {padding:24px;border-radius:16px}
.section-heading {margin-bottom:22px;gap:12px}
.section-heading h2 {font-size:17px}
.step {font-size:12px;color:var(--muted)}
.dropzone {min-height:180px;padding:22px 16px;border-radius:10px}
.upload-icon {margin-bottom:12px;width:36px;height:36px}
.dropzone strong {font-size:15px;line-height:1.5}
.dropzone p {font-size:12px;line-height:1.7;max-width:310px;margin-top:12px}
.dropzone.has-file {min-height:138px}
.dropzone.has-file .upload-icon {display:none}
.basic-settings {gap:16px;margin:24px 0 20px}
.basic-settings label {font-size:13px;gap:7px}
.basic-settings select {min-height:46px;font-size:15px;padding:10px 12px;border-color:#626658}
.rights-note {font-size:13px;align-items:center;min-height:44px;margin:8px 0;cursor:pointer}
.rights-note input {accent-color:var(--orange);width:18px;height:18px;flex:0 0 auto;margin:0}
.advanced {margin:0;border-top:1px solid var(--border);padding:0}
.advanced>summary,.local-preview>summary {min-height:52px;padding:12px 0;display:flex;align-items:center;gap:10px;list-style:none;font-size:13px;cursor:pointer}
.advanced>summary::after,.local-preview>summary::after {content:'+';font-size:19px;font-weight:400;color:var(--muted);flex:0 0 14px;text-align:center}
.advanced[open]>summary::after,.local-preview[open]>summary::after {content:'−'}
.advanced>summary small {margin-left:auto;font-size:11px;color:var(--muted);text-align:right}
.advanced>summary span:first-child {margin-right:auto}
.advanced>summary::-webkit-details-marker,.tool-panel>summary::-webkit-details-marker,.local-preview>summary::-webkit-details-marker {display:none}
.advanced[open] {padding-bottom:18px}
.advanced[open]>summary {margin-bottom:12px;color:var(--orange)}
.advanced>label,.target-selector>label {display:grid;gap:8px;font-size:13px;margin:14px 0}
.advanced .select-setting {flex-wrap:wrap;gap:8px}
.advanced select,.advanced input[type=text] {max-width:100%;min-width:0}
.advanced .policy-note {font-size:12px;line-height:1.8}
.advanced.configured>summary small {color:var(--green)}
.target-selector {margin-top:0}
.local-preview {margin:0 0 8px;border-bottom:1px solid var(--border)}
.local-preview>summary {font-size:12px;color:var(--muted);justify-content:space-between}
.local-preview p {font-size:12px;color:var(--muted);margin:10px 0}
.local-preview[open] {padding-bottom:14px}
.preset-tools {margin-top:0;align-items:end}
.text-button {border:0;background:none;color:var(--muted);font:inherit;font-size:13px;min-height:44px;padding:8px 4px;text-decoration:underline;text-underline-offset:4px}
.text-button:hover {color:var(--text)}
.reset-button {display:block;margin:0 auto}
#start-button {margin-top:20px;border-radius:9px;min-height:52px;font-size:15px}
.form-footnote {font-size:12px;line-height:1.7;margin:12px 0 20px}
.result-panel {min-height:0}
.result-panel[data-state=empty] {min-height:480px}
.result-actions {display:flex;justify-content:flex-end;gap:8px}
.result-actions:has(button:not([hidden])) {margin-top:16px}
.empty-state {min-height:350px;padding:40px 0;flex:1}
.empty-state h3 {font-size:17px;line-height:1.6}
.empty-state p {font-size:13px;line-height:1.8}
.empty-format {font-size:12px;margin-top:22px}
.empty-symbol {margin-bottom:22px}
.panel-footer {font-size:11px;gap:8px;margin-top:24px;min-height:40px}
.processing-state {padding:60px 0}
.result-content {padding-top:22px}
.result-track {margin-bottom:14px}
.result-track h3 {font-size:16px;overflow-wrap:anywhere}
.validation-result {padding:12px 14px;margin:14px 0 18px;border-radius:9px}
.validation-result h3 {font-size:13px}
.validation-result p,.validation-result li {font-size:12px;line-height:1.7}
.validation-result ul {padding-left:18px}
.validation-note {margin-top:4px}
.comparison-heading {gap:12px;flex-wrap:wrap;margin-top:0}
.comparison-heading h3 {font-size:14px}
.toggle {font-size:12px;min-height:44px}
.comparison-note {font-size:12px;margin:6px 0 14px;line-height:1.7}
.audio-row {padding:14px;margin-top:10px;border-radius:10px}
.audio-label {margin-bottom:8px;flex-wrap:wrap;gap:8px}
.audio-label strong {font-size:13px}
.gain-label {font-size:11px}
.download-button {margin-top:20px;border-radius:9px;min-height:52px;font-size:15px;background:var(--orange);border-color:var(--orange);color:#28231c;font-weight:600}
.download-button:hover {background:#ffb680;color:#28231c}
.download-note {font-size:12px;margin:10px 0 12px;line-height:1.7}
#file-retention {padding:0;margin:0 0 18px;border:0;background:none;color:var(--muted);font-size:12px}
.warnings {font-size:12px;line-height:1.7}
.measure-heading {flex-wrap:wrap;gap:6px}
.measurements {font-size:13px}
#target-delta {font-size:13px;line-height:1.7;margin-bottom:10px;color:var(--muted)}
.tool-panel {margin:12px 0 0;padding:0;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
.tool-panel>summary {list-style:none;cursor:pointer;display:flex;gap:20px;align-items:center;justify-content:space-between;padding:20px 24px;min-height:80px}
.tool-panel>summary strong {font-size:14px;font-weight:600;display:block}
.tool-panel>summary small {font-size:12px;font-weight:400;display:block;color:var(--muted);margin-top:3px}
.tool-action {font-size:12px;color:var(--muted);display:flex;gap:14px;align-items:center;white-space:nowrap}
.tool-action::after {content:'+';font-size:20px}
.tool-panel[open] .tool-action {font-size:0}
.tool-panel[open] .tool-action::after {content:'−'}
.tool-panel[open]>summary {border-bottom:1px solid var(--border)}
.tool-content {padding:22px 24px}
.tool-content .playlist-description {margin:0 0 20px}
.tool-content .primary-button {max-width:440px;margin-top:18px}
.history-section {margin-top:24px}
.history-list {border:0;border-radius:0;margin:0}
.history-row {gap:10px;flex-wrap:wrap}
.more-tools {display:grid;grid-template-columns:1fr 1fr;column-gap:16px;align-items:start;margin-top:28px}
.tools-label {grid-column:1/-1;font-size:12px;color:var(--muted)}
.profile-form-grid {grid-template-columns:1fr}
.playlist-add {grid-template-columns:1fr;gap:10px}
.playlist-add select {min-width:0;max-width:100%}
.retention-note {font-size:12px;color:var(--muted);line-height:1.8;margin:24px 0 0}
.site-footer {margin-top:24px;padding:20px 0;font-size:12px}
@media(max-width:820px) {
  .app-shell {padding:0 20px}
  .intro {padding:26px 0 20px}
  .workspace {grid-template-columns:1fr}
  .workflow {gap:12px;font-size:11px}
  .source-panel,.result-panel {padding:22px}
  .result-panel[data-state=empty] {min-height:0}
  .empty-state {min-height:180px;padding:24px 0 6px}
  .empty-symbol,.empty-format {display:none}
  .more-tools {grid-template-columns:1fr}
}
@media(max-width:520px) {
  .app-shell {padding:0 16px}
  .site-header {min-height:64px;gap:10px}
  .brand {font-size:16px;gap:8px}.brand b {font-size:10px;letter-spacing:1.5px}
  .connection {font-size:11px;letter-spacing:0;padding:4px 8px}
  .intro {display:block}.intro h1 {font-size:28px}
  .intro-copy {font-size:14px}.eyebrow {margin-bottom:6px}
  .workflow {justify-content:flex-start;gap:16px;margin-top:20px;font-size:11px}
  .workflow li {display:flex;gap:6px}.workflow span {width:22px;height:22px;font-size:10px}
  .availability-note {font-size:12px;line-height:1.75}
  .source-panel,.result-panel {padding:20px 16px}
  .section-heading h2 {font-size:16px}
  .dropzone {min-height:168px}
  .advanced>summary small {font-size:10px}
  .advanced>summary {gap:6px}
  input[type=text],input[type=number],select {font-size:16px}
  .basic-settings select {font-size:16px}
  .tool-panel>summary {padding:16px;gap:10px}
  .tool-content {padding:18px 16px}
  .tool-panel>summary small {font-size:11px}
  .toggle {font-size:11px}
  .comparison-heading {gap:2px}
  .audio-row {padding:12px}
  .history-name {flex-basis:70%;min-width:0}
  .panel-footer {gap:6px}
}
.studio-language-settings{position:relative;margin-left:auto;font-size:12px;flex-shrink:0}
.quick-guide{border:1px solid #44483f;border-radius:10px;margin:0 0 22px;padding:0 18px;background:#20231f}
.quick-guide summary,.plain-help summary{padding:14px 0;cursor:pointer;line-height:1.7;color:#e1e5d9}
.quick-guide ol{padding-left:20px;margin:0 0 12px}.quick-guide li{font-size:14px;line-height:1.9}
.quick-guide a{display:inline-block;margin-bottom:16px;color:#d5c5a0;text-decoration:underline;font-size:13px}
.plain-help{border-top:1px solid #44483f;border-bottom:1px solid #44483f;margin:16px 0;font-size:13px}
.plain-help p{line-height:1.85;margin:0 0 12px;color:#bbc0b0}.plain-help a{display:inline-block;margin-bottom:14px;text-decoration:underline}
.basic-help p,.control-help{font-size:13px;line-height:1.8;color:#bbc0b0;overflow-wrap:anywhere}
.basic-help{margin:12px 0 18px}.basic-help p{margin:6px 0}
.quick-guide summary:focus-visible,.plain-help summary:focus-visible{outline:2px solid #e3ae78;outline-offset:3px}
.source-panel .policy-note,.range-setting p{font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.measurements th{overflow-wrap:anywhere}.measurements th small{display:block}
@media(max-width:650px){.source-panel .policy-note,.range-setting p{font-size:13px}.quick-guide{padding:0 14px}.plain-help summary{font-size:14px}}
.studio-language-settings[hidden]{display:none}
.studio-language-settings label{display:flex;align-items:center;gap:5px}
.studio-language-settings select{width:124px;max-width:32vw;padding:8px 4px;min-height:36px;color:inherit;background:#20231f;border:1px solid #45493f;border-radius:7px;font-size:12px}
.studio-language-settings [role=status]:not(:empty){display:block;position:absolute;right:0;top:100%;min-width:180px;background:#20231f;padding:8px;z-index:20}
.site-header{flex-wrap:wrap;gap:12px}
@media(max-width:650px){.site-header .connection{order:3;flex-basis:100%}.studio-language-settings{order:2}.site-header .brand{order:1}}
