@charset "UTF-8";

:root{
  color-scheme:light;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic",sans-serif;
  --text:#202329;--muted:#656B74;--dim:#777F89;--text-strong:#181B20;
  --accent:#FF5B24;--accent-hover:#E94A15;--accent-soft:#FFF1E9;
  --line:#CCD1D7;--line-soft:#DEE2E7;--panel:#F3F5F7;--input-border:#B8C0C9;
  --chart-grid:#CFD5DC;--chart-zero:#969FA9;--chart-axis:#535C67;
  --chart-line-start:#FF5B24;--chart-line-mid:#FF5B24;--chart-line-end:#F04C18;
  --chart-label:#242A31;--chart-marker:#FFFFFF;--chart-halo:#FF5B2420;--chart-measured:#208776;
  --sidebar-width:clamp(248px,20vw,304px);
  --slider-height:clamp(100px,16dvh,164px);
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#EEF1F4}
body{font:14px/1.5 var(--font);color:var(--text);-webkit-font-smoothing:antialiased}
button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}
button,input,select,a{-webkit-tap-highlight-color:transparent}
button,a,input,select{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent)}
button{transition:background .15s,border-color .15s,color .15s}a{color:inherit;text-decoration:none}
p,h1,h2,h3{margin:0}[hidden]{display:none!important}.svg-library{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.app-shell{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);min-height:100dvh}

/* Dark navigation: one alignment for branding, modes, and device controls. */
.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100dvh;min-width:0;padding:28px 20px 20px;background:linear-gradient(155deg,#1D1E20,#131416 75%);border-right:1px solid #0E1012;color:#F7F7F8}
.brand{display:block;padding:8px 10px 34px;flex:none}.brand-wordmark{display:block;width:218px;max-width:100%}.brand-logo{display:block;width:100%;height:auto;filter:invert(1)}
.sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px 16px;font-size:18px;font-weight:650;letter-spacing:-.4px}
.library-count{font-size:10px;font-weight:500;letter-spacing:1px;color:#9D9FA5;white-space:nowrap}
.sidebar-utilities{display:grid;gap:8px;margin-bottom:20px;flex:none}
.create-sound-button,.saved-eq-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #45474C;border-radius:7px;background:#242528;color:#F7F7F8;text-align:left;font-size:15px;font-weight:550}
.saved-eq-button{background:transparent;color:#D6D8DD;font-size:14px}
.create-sound-button:hover:not(:disabled),.saved-eq-button:hover:not(:disabled){background:#303237;border-color:#666B73}
.saved-eq-button[aria-pressed=true]{border-color:#EC734B;background:#302720;color:#FFFFFF}
.create-sound-plus{font-size:21px;font-weight:400;line-height:1;width:24px;text-align:center}
.preset-list{display:flex;flex-direction:column;gap:7px;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#4D5057 transparent;counter-reset:mode}
.preset-item{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:12px;border:1px solid transparent;border-radius:8px;background:transparent;color:#CACDD3;text-align:left;flex:none}
.preset-item:hover:not(:disabled){background:#25272B;color:#FFFFFF}
.preset-item[aria-pressed=true]{background:linear-gradient(110deg,#353638,#2B2D30);border-color:#484A4F;color:#FFFFFF;box-shadow:inset 3px 0 var(--accent)}
.preset-item[data-preset]::after{counter-increment:mode;content:counter(mode,decimal-leading-zero);margin-left:auto;color:#9DA1A9;font-size:10px;font-variant-numeric:tabular-nums}
.preset-icon{display:flex;align-items:center;justify-content:center;width:20px;height:22px;flex:none}.preset-icon svg{width:18px;height:18px}
.preset-copy{display:flex;min-width:0;flex:1}.preset-name{display:block;min-width:0;font-size:16px;font-weight:550;line-height:1.45;overflow-wrap:anywhere}
.preset-item[aria-pressed=true] .preset-name{font-weight:650}.preset-caption,.preset-active-mark{display:none}
.user-sound-row{display:flex;align-items:stretch;gap:0;flex:none}.user-sound-row .user-sound{width:0;flex:1;min-width:0}
.sound-manage{width:38px;min-height:44px;flex:none;border:0;border-radius:6px;background:transparent;color:#BFC4CC;font-size:25px}
.sound-manage:hover:not(:disabled){background:#303238;color:#FFFFFF}.sidebar-spacer{flex:1;min-height:20px}
.sidebar-note{margin:18px 10px 12px;padding-top:13px;border-top:1px solid #3C3E44;color:#8D929B;font-size:9px;letter-spacing:2px;flex:none}
.device-card{padding:15px 12px 12px;border:1px solid #53565C;border-radius:9px;background:#17191C;flex:none}
.device-card-top{display:flex;align-items:center}.device-icon{display:none}.device-copy{display:flex;flex-direction:column;min-width:0;gap:7px}
.device-copy strong{font-size:13px;font-weight:600;letter-spacing:.3px;color:#F3F4F6}.device-copy>span{display:flex;align-items:center;gap:6px;font-size:12px;color:#BCC1CA}
.status-dot{width:7px;height:7px;flex:none;display:inline-block;background:#8C919A;border-radius:50%}.status-dot.connected{background:#31C69A}
.connect-button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;width:100%;margin-top:14px;padding:11px 13px;border:1px solid #FF7950;border-radius:6px;background:var(--accent);color:#FFFFFF;font-size:16px;font-weight:650}
.connect-button .icon{width:16px;height:16px}.connect-button:hover:not(:disabled){background:var(--accent-hover)}
.device-card.is-connected .connect-button{background:#22252A;border-color:#626873;color:#E8EBEF;font-weight:550}.device-card.is-connected .connect-button:hover:not(:disabled){background:#31353C;border-color:#929BA8}

/* Bright working surface with a fixed, reachable device-save action. */
.main-content{display:flex;flex-direction:column;min-width:0;height:100dvh;padding:20px 30px 16px;background:linear-gradient(145deg,#FAFBFC 0,#F0F2F5 70%,#E9EDF1 100%)}
.equalizer-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#BCC4CE transparent;scrollbar-gutter:auto}
.profile-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 17px;flex:none;min-height:62px}
.profile-intro{display:flex;align-items:center;gap:20px;min-width:0}.profile-topline{display:none}
.profile-intro h2{font-size:25px;line-height:1.35;font-weight:700;letter-spacing:-.8px;white-space:nowrap}
.profile-intro p{font-size:13px;line-height:1.6;color:#5D6570;border-left:1px solid #C4CAD2;padding-left:20px;max-width:510px}
.profile-actions{display:flex;align-items:center;gap:16px;flex:none}
.switch-label{position:relative;display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:15px;font-weight:550;white-space:nowrap;cursor:pointer;user-select:none}
.switch-label input{position:absolute;width:44px;height:26px;margin:0;opacity:0}
.switch-track{position:relative;display:block;width:44px;height:26px;flex:none;border:1px solid #929DA9;border-radius:14px;background:#ACB5BE;transition:background .15s;pointer-events:none}
.switch-track:after{content:'';position:absolute;width:18px;height:18px;top:3px;left:3px;border-radius:50%;background:#FFFFFF;box-shadow:0 1px 3px #17202B20;transition:transform .15s}
.switch-label input:checked+.switch-track{background:var(--accent);border-color:var(--accent)}
.switch-label input:checked+.switch-track:after{transform:translateX(18px)}.switch-label input:focus-visible+.switch-track{outline:2px solid #D94B1B;outline-offset:3px}
.switch-label:has(input:disabled){cursor:not-allowed;opacity:.55}
.quiet-button,.secondary-button,.primary-button,.return-edit-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #C2C9D1;border-radius:7px;font-size:15px;font-weight:600;line-height:1.4;white-space:nowrap}
.quiet-button,.secondary-button{background:#FFFFFFA6;color:#343B45}.quiet-button:hover:not(:disabled),.secondary-button:hover:not(:disabled){background:#FFFFFF;border-color:#929EAC}
.quiet-button .icon{width:18px;height:18px}.return-edit-button{background:#FFF3EC;border-color:#F19D7F;color:#853719;font-size:13px}
.primary-button{background:var(--accent);border-color:var(--accent);color:#FFFFFF}.primary-button:hover:not(:disabled){background:var(--accent-hover)}
.chart-section{display:flex;flex-direction:column;flex:1;min-height:176px;padding-bottom:14px}
.chart-toolbar{display:flex;align-items:center;min-height:30px;margin-bottom:5px}.chart-legends{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.chart-legend{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:650}.legend-line{display:inline-block;width:20px;height:2px;background:var(--accent)}.legend-line.measured{background:#208776}
.chart-wrap{position:relative;flex:1;min-height:96px;height:190px}#responseChart{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}
.chart-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:9px 0 0 34px;line-height:1.5}
#modelLabel{font-size:16px;font-weight:650;color:#29313C;max-width:85%}.peak-label{font-size:12px;font-weight:550;color:#4D5866;white-space:nowrap}.peak-label b{margin-left:6px;color:#E74A18;font-weight:650;font-variant-numeric:tabular-nums}
.controls-section{padding-top:13px;border-top:1px solid #BBC3CD;flex:none}
.controls-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin-bottom:10px}
.controls-title h3{font-size:17px;font-weight:700;letter-spacing:-.4px;white-space:nowrap}.controls-title h3:before{content:'';display:inline-block;width:20px;height:2px;margin-right:10px;background:var(--accent);vertical-align:middle}.controls-hint{display:none}
.controls-actions{display:flex;align-items:center;gap:16px}.action-divider{height:12px;width:1px;background:#B8C1CC}
.text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:5px 2px;background:transparent;border:0;color:#55606D;font-size:13px;white-space:nowrap}.text-button:hover{color:#CE461B}
.bands-scroll{position:relative;padding-left:25px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#BCC4CD transparent}
.band-controls{display:grid;grid-template-columns:repeat(var(--band-count,10),minmax(56px,1fr));gap:7px;min-width:calc(var(--band-count,10)*60px)}
.band-column{display:flex;flex-direction:column;align-items:center;min-width:0;padding:9px 5px 7px;border:1px solid #C5CED9;border-radius:9px;background:#FFFFFF50;cursor:pointer;transition:background .15s,border-color .15s}
.band-column:hover{background:#FFFFFFB0;border-color:#9DABBC}.band-column.selected{background:linear-gradient(#FFF0E5A6,#FFF7F080);border-color:#F28B66}
.band-frequency{order:0;display:flex;align-items:center;justify-content:center;gap:3px;width:100%;min-height:30px}
.band-frequency input{border:1px solid #B7C0CB;border-radius:5px;background:#FFFFFF;cursor:text;min-width:0;width:62px;max-width:calc(100% - 19px);height:30px;text-align:center;padding:0;color:#29313B;font-size:14px;font-weight:650}
.band-frequency small,.band-gain small{font-size:11px;font-weight:400;color:#5F6976;flex:none}
.band-gain{order:1;display:flex;align-items:center;justify-content:center;gap:3px;width:100%;margin:5px 0 12px;min-height:30px}
.band-gain input{min-width:0;width:60px;max-width:calc(100% - 18px);height:32px;border:1px solid #B7C0CB;border-radius:5px;background:#FFFFFFE8;text-align:center;font-size:15px;font-weight:650;color:#262F39;padding:3px 1px;font-variant-numeric:tabular-nums}
.band-column.selected .band-frequency input{border-color:#F1835C;background:#FFFFFF}
.band-column.selected .band-gain input{border-color:#F1835C;background:#FFFDFB}
.band-column input[aria-invalid=true]{border-color:#BA3346;background:#FFF2F4}
.band-frequency input::-webkit-inner-spin-button,.band-gain input::-webkit-inner-spin-button,.band-q input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.band-frequency input,.band-gain input,.band-q input{-moz-appearance:textfield;appearance:textfield}
.slider-shell{order:2;display:flex;justify-content:center;width:100%;height:var(--slider-height);margin-bottom:8px}
.gain-slider{writing-mode:vertical-lr;direction:rtl;appearance:none;-webkit-appearance:none;display:block;width:30px;height:var(--slider-height);padding:0;margin:0;border:0;border-radius:2px;touch-action:none;cursor:ns-resize;background-color:transparent;background-image:linear-gradient(to bottom,#ADB7C2 0 var(--gain-stop,50%),#FF5B24 var(--gain-stop,50%) 100%);background-size:3px 100%;background-position:center;background-repeat:no-repeat}
.gain-slider::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:4px solid #FFFFFF;border-radius:50%;background:#FF5B24;box-shadow:0 0 0 1px #F37950,0 2px 7px #FF5B2420}
.gain-slider::-moz-range-thumb{width:12px;height:12px;border:4px solid #FFFFFF;border-radius:50%;background:#FF5B24;box-shadow:0 0 0 1px #F37950,0 2px 7px #FF5B2420}
.band-column.selected .gain-slider::-webkit-slider-thumb{box-shadow:0 0 0 1px #F37950,0 0 11px #FF5B2440}.band-column.selected .gain-slider::-moz-range-thumb{box-shadow:0 0 0 1px #F37950,0 0 11px #FF5B2440}
.band-scale{position:absolute;top:88px;left:0;display:flex;flex-direction:column;justify-content:space-between;height:var(--slider-height);font-size:11px;color:#606B79;font-variant-numeric:tabular-nums}
.band-number{order:5;font-size:11px;line-height:17px;color:#626E7D;font-variant-numeric:tabular-nums}
.band-advanced{display:none}.advanced-visible .band-advanced{display:flex}.band-q{order:3;align-items:center;justify-content:center;gap:5px;min-height:26px;margin-top:4px;font-size:10px;color:#63707F}
.band-q input{width:45px;min-width:0;height:25px;padding:2px;border:1px solid #BCC5D0;border-radius:4px;text-align:center;font-size:11px;background:#FFFFFFD9;color:#343D49}
.band-filter{order:4;width:100%;margin:5px 0 4px}.band-filter select{width:100%;min-width:0;height:27px;padding:3px;border:1px solid #BCC5D0;border-radius:4px;background:#FFFFFFE8;color:#465160;font-size:10px}
.band-controls.advanced-visible{--slider-height:clamp(92px,13dvh,134px)}.bands-scroll:has(.advanced-visible) .band-scale{--slider-height:clamp(92px,13dvh,134px)}
.volume-guidance{display:flex;align-items:center;gap:11px;margin-top:9px;padding:9px 12px;border:2px solid transparent;border-left:6px solid var(--accent);border-radius:0 5px 5px 0;background:#FFF0E6;font-family:"Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-size:16px;font-weight:700;font-synthesis:none;line-height:1.6;color:#4B352B}
.volume-guidance:before{content:'!';display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:50%;background:#B76B35;color:#FFFFFF;font-size:18px;font-weight:800;line-height:1}
.controls-footnote{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-top:9px;font-size:14px;font-weight:650;line-height:1.65;color:#303B49}
.controls-footnote>span:first-child{display:flex;align-items:center;gap:7px}.controls-footnote>span:last-child{font-size:10px;white-space:nowrap;color:#8B929E}.mini-dot{display:none}

.apply-bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;flex:none;min-height:82px;margin-top:15px;padding-top:15px;border-top:1px solid #B9C2CD}
.apply-copy{display:flex;align-items:center;gap:12px;min-width:0}.apply-copy:before{content:'';width:8px;height:8px;flex:none;border-radius:50%;background:var(--accent)}.apply-symbol{display:none}.apply-copy>div{min-width:0}
.apply-copy strong{font-size:17px;font-weight:650;line-height:1.5}.apply-copy p{font-size:14px;font-weight:600;line-height:1.65;color:#303B49;margin-top:3px}
.apply-actions{display:flex;align-items:center;gap:12px;flex:none}
.apply-button,.sound-save-button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;min-width:178px;height:50px;padding:0 18px;border:1px solid #FA5924;border-radius:7px;background:var(--accent);color:#FFFFFF;font-size:17px;font-weight:650;white-space:nowrap;box-shadow:0 3px 8px #FF5B2412}
.apply-button:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.apply-button:disabled{background:#DFE3E9;border-color:#CAD1DA;color:#8A93A0;box-shadow:none;opacity:1}
.sound-save-button{min-width:150px;justify-content:center;font-size:14px;background:#FFFFFFA6;color:#B94A23;border-color:#E4B79F;box-shadow:none}.sound-save-button:hover:not(:disabled){background:#FFFFFF}
#applyProgress{position:absolute;top:1px;right:0;width:178px;height:3px;appearance:none;-webkit-appearance:none;border:0;border-radius:2px;overflow:hidden;background:#D1D8E1;direction:ltr;writing-mode:horizontal-tb}
#applyProgress::-webkit-progress-bar{background:#D1D8E1}#applyProgress::-webkit-progress-value{background:var(--accent);transition:none}#applyProgress::-moz-progress-bar{background:var(--accent);transition:none}
.bottom-caption{display:none}

/* Connection guide and approachable, non-technical feedback. */
.connection-guide{display:flex;flex:1;min-height:0;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px 24px;overflow-y:auto}
.welcome-eyebrow{font-size:11px;color:#8A919C;letter-spacing:3px;margin-bottom:19px}.connection-guide h1{font-size:clamp(36px,3.5vw,56px);font-weight:700;line-height:1.3;letter-spacing:-2px;color:#252A31}
.welcome-description{font-size:15px;line-height:1.9;color:#727C89;margin-top:20px}.welcome-device{width:min(350px,100%);aspect-ratio:1815/867;margin:24px 0;flex:none;overflow:hidden;border-radius:18px;box-shadow:0 4px 20px #55647705}.welcome-device img{display:block;width:100%;height:auto;max-width:100%}
.welcome-connect{display:inline-flex;align-items:center;justify-content:space-between;gap:55px;min-height:54px;padding:0 24px;border:1px solid #FF6D3C;border-radius:8px;background:var(--accent);color:#FFFFFF;font-size:17px;font-weight:650}.welcome-connect:hover:not(:disabled){background:var(--accent-hover)}
.welcome-help{font-size:14px;color:#626E7F;line-height:1.8;margin-top:18px}
.connection-issue{max-width:470px;padding:13px 17px;margin-top:18px;border:1px solid #E4B29C;border-radius:8px;background:#FFF5EE;color:#875237;font-size:13px;line-height:1.7}.connection-issue button{margin-top:10px}.connection-issue-help{font-size:11px;color:#9B7F6C;margin-top:5px}
.toast{position:fixed;right:26px;bottom:112px;z-index:100;display:flex;align-items:center;gap:11px;max-width:min(430px,calc(100vw - 36px));padding:15px 18px;border:1px solid #CDDAD4;border-radius:10px;background:#FFFFFF;color:#344D42;font-size:14px;line-height:1.6;box-shadow:0 8px 28px #182A3B20;pointer-events:none;overflow-wrap:anywhere}
.toast:before{content:'✓';display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:#249A65;color:#FFFFFF;font-size:15px;font-weight:700}
.toast.error{background:#FFFAFA;border-color:#E9BFC3;color:#9F3E4B}.toast.error:before{content:'!';background:#BE4B5A}

/* Saved sounds, confirmations and optional measurement tools. */
.dialog{max-width:calc(100vw - 32px);width:660px;max-height:90dvh;padding:25px;border:1px solid #D4DCE5;border-radius:14px;background:#F9FAFC;color:var(--text);box-shadow:0 20px 65px #16233730;overflow-y:auto}
.dialog::backdrop{background:#10151D80;backdrop-filter:blur(3px)}.dialog h2{font-size:23px;line-height:1.4;letter-spacing:-.5px}.dialog h3{font-size:15px;font-weight:650}
.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.dialog-kicker{font-size:10px;letter-spacing:2px;color:#8B94A2;margin-bottom:5px}.icon-button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #CBD4DF;border-radius:8px;background:#FFFFFF;color:#607084}
.settings-section{padding:19px 0;border-top:1px solid #D7DFE8}.settings-status{margin:13px 0}.settings-status>div{display:flex;justify-content:space-between;gap:20px;padding:4px 0}.settings-status dt{color:#6F7C8E}.settings-status dd{margin:0;text-align:right}
.help-text,.settings-footer{font-size:12px;line-height:1.8;color:#798494}.settings-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-footer{margin-top:14px}.diagnostics-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.measurement-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.measurement-upload{display:flex;flex-direction:column;gap:9px;padding:12px;border:1px dashed #BFC9D6;border-radius:8px;background:#FFFFFF;font-size:12px}.measurement-upload input{max-width:100%;font-size:11px}.measurement-summary{font-size:12px;color:#718199;margin:12px 0}.comparison-scroll{overflow-x:auto}.comparison-table{width:100%;border-collapse:collapse;font-size:11px}.comparison-table th,.comparison-table td{text-align:right;padding:8px;border-bottom:1px solid #DBE2EC}.comparison-table th{font-weight:600;color:#78889B}.discovery-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}
.sound-dialog{width:420px;padding:26px}.sound-dialog-help{font-size:14px;line-height:1.8;color:#778392;margin:13px 0 18px}.sound-name-label{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.sound-name-input{width:100%;height:46px;padding:10px 12px;border:1px solid #BDC9D8;border-radius:7px;background:#FFFFFF;color:#283240;font-size:16px}.sound-form-error{min-height:22px;margin-top:9px;color:#B34555;font-size:12px;line-height:1.6}.sound-dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px}.delete-sound-name{margin-top:15px;font-size:17px;font-weight:650;overflow-wrap:anywhere}
.sound-menu{position:fixed;inset:auto;margin:0;min-width:150px;padding:6px;border:1px solid #C8D1DF;border-radius:9px;background:#FFFFFF;box-shadow:0 8px 30px #1F2F451C;color:#354253}.sound-menu:popover-open{display:flex;flex-direction:column}.sound-menu button{min-height:42px;padding:9px 13px;text-align:left;border:0;border-radius:5px;background:transparent;color:inherit;font-size:14px}.sound-menu button:hover{background:#F0F3F8}.sound-menu [data-menu-action=delete]{color:#AC4251}
.saved-eq-view #responseChart{cursor:crosshair}

@media(min-width:901px) and (max-width:1200px){
  :root{--sidebar-width:248px}.main-content{padding-left:22px;padding-right:22px}.profile-intro{display:block}.profile-intro h2{font-size:23px}.profile-intro p{margin-top:4px;padding:0;border:0;font-size:12px}.profile-actions{gap:10px}.band-frequency small{display:none}.band-frequency input{max-width:100%}.band-controls{gap:3px}.apply-copy strong{font-size:16px}.apply-copy p{font-size:13px;max-width:320px}.apply-actions{gap:8px}.sound-save-button{min-width:128px}
}
@media(min-width:901px) and (max-height:820px){
  :root{--slider-height:104px}.main-content{padding-top:15px;padding-bottom:12px}.sidebar{padding-top:21px;padding-bottom:15px}.brand{padding-bottom:27px}.sidebar-heading{padding-bottom:12px}.sidebar-utilities{margin-bottom:14px}.preset-item{min-height:51px;padding-top:10px;padding-bottom:10px}.profile-header{min-height:56px;padding-bottom:12px}.profile-intro h2{font-size:23px}.chart-section{min-height:154px;padding-bottom:12px}.chart-toolbar{min-height:27px;margin-bottom:1px}.chart-bottom{padding-top:6px}#modelLabel{font-size:15px}.controls-section{padding-top:9px}.controls-heading{margin-bottom:5px}.band-column{padding-top:5px;padding-bottom:4px}.band-gain{margin-bottom:10px}.band-scale{top:82px}.band-controls.advanced-visible,.bands-scroll:has(.advanced-visible) .band-scale{--slider-height:92px}.volume-guidance{margin-top:6px;padding-top:6px;padding-bottom:6px}.controls-footnote{padding-top:6px}.apply-bar{min-height:74px;padding-top:12px;margin-top:10px}.connection-guide h1{font-size:39px}.welcome-eyebrow{margin-bottom:12px}.welcome-description{margin-top:14px}.welcome-device{width:290px;margin:18px 0}.welcome-help{margin-top:14px}
}
@media(min-width:901px) and (max-height:660px){
  :root{--slider-height:92px}.sidebar{padding-top:14px;padding-bottom:12px}.brand{padding-bottom:17px}.sidebar-heading{font-size:16px;padding-bottom:10px}.sidebar-utilities{gap:6px;margin-bottom:10px}.sidebar-utilities button{min-height:40px;padding-top:8px;padding-bottom:8px;font-size:13px}.preset-item{min-height:45px;padding:8px 10px}.preset-name{font-size:14px}.sidebar-note{margin-top:10px;padding-top:8px}.device-card{padding:11px 10px 10px}.device-copy>span{font-size:11px}.connect-button{min-height:44px;margin-top:10px;font-size:14px}.profile-header{padding-bottom:10px}.profile-intro h2{font-size:21px}.chart-section{min-height:145px}.connection-guide{justify-content:flex-start;padding-top:12px}.connection-guide h1{font-size:32px}.welcome-description{font-size:13px;margin-top:9px}.welcome-eyebrow{margin-bottom:9px}.welcome-device{width:225px;margin:12px 0}.welcome-connect{min-height:48px;font-size:15px}.welcome-help{font-size:13px;margin-top:11px}
}
@media(max-width:900px){
  :root{--slider-height:138px}.app-shell{display:block;min-height:100dvh}.sidebar{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 20px;height:auto;padding:18px 20px 0;border-right:0;border-bottom:1px solid #30343B}
  .brand{grid-column:1;grid-row:1;padding:8px 0 23px;align-self:center}.brand-wordmark{width:176px}.sidebar-heading{grid-column:1;grid-row:2;padding:0 0 12px;font-size:16px;justify-content:flex-start;gap:16px}.sidebar-utilities{grid-column:1/-1;grid-row:3;grid-template-columns:1fr 1fr;margin-bottom:12px}.sidebar-utilities button{min-height:44px;font-size:13px}.preset-list{grid-column:1/-1;grid-row:4;flex-direction:row;overflow-x:auto;padding-bottom:14px;gap:7px}.preset-item{width:auto;min-width:105px;min-height:45px;padding:9px 11px;gap:8px;white-space:nowrap}.preset-item[data-preset]::after{display:none}.preset-name{font-size:13px;white-space:nowrap}.user-sound-row .user-sound{width:auto;flex:initial}.sound-manage{width:32px}.sidebar-spacer,.sidebar-note{display:none}
  .sidebar .device-card{grid-column:2;grid-row:1/3;align-self:start;margin:0 0 16px;padding:11px 12px;width:180px;background:#1D2024}.device-copy strong{font-size:11px}.device-copy>span{font-size:10px}.connect-button{min-height:40px;margin-top:9px;padding:8px 10px;font-size:13px}
  .main-content{height:auto;min-height:calc(100dvh - 210px);padding:22px 20px}.equalizer-panel{overflow:visible;min-height:0}.profile-header{flex-wrap:wrap;gap:12px;padding-bottom:18px}.profile-intro{display:block}.profile-intro h2{font-size:24px}.profile-intro p{padding:0;border:0;margin-top:5px;font-size:13px}.profile-actions{gap:15px;flex-wrap:wrap}.switch-label,.quiet-button{font-size:15px}.chart-section{flex:none;min-height:0;padding-bottom:16px}.chart-wrap{height:225px;flex:none}.chart-bottom{padding-left:10px;align-items:flex-start}#modelLabel{max-width:78%;font-size:15px}.peak-label{font-size:11px}.controls-section{padding-top:12px}.controls-heading{flex-wrap:wrap;gap:8px;margin-bottom:9px}.controls-actions{margin-left:auto;gap:14px}.controls-title h3{font-size:16px}.band-controls{min-width:calc(var(--band-count,10)*80px);gap:6px}.band-frequency small{display:block}.band-controls.advanced-visible,.bands-scroll:has(.advanced-visible) .band-scale{--slider-height:120px}.volume-guidance{font-size:14px;margin-top:12px}.controls-footnote{font-size:13px}.controls-footnote>span:last-child{display:none}.apply-bar{flex-wrap:wrap;gap:14px;min-height:0;padding-top:17px;margin-top:18px}.apply-copy{width:100%}.apply-copy strong{font-size:17px}.apply-copy p{font-size:13px}.apply-actions{width:100%;justify-content:flex-end}.apply-button{min-width:170px;height:50px}.sound-save-button{min-width:150px;height:50px}.toast{right:18px;bottom:22px;font-size:13px;padding:13px 15px}.connection-guide{min-height:570px;padding:28px 12px}.connection-guide h1{font-size:38px}.welcome-device{width:310px}.welcome-help{font-size:13px}.dialog{padding:22px}.sound-dialog{padding:24px}
}
@media(max-width:520px){
  .sidebar{padding:15px 15px 0;gap:0 12px}.brand-wordmark{width:144px}.sidebar .device-card{width:150px;padding:9px 10px}.sidebar-heading{font-size:14px;gap:10px}.library-count{font-size:9px}.brand{padding-bottom:20px}.sidebar-utilities{gap:7px}.sidebar-utilities button{padding:8px 9px;font-size:12px}.create-sound-plus{font-size:19px}.main-content{padding:20px 15px}.profile-intro h2{font-size:23px}.profile-actions{gap:12px}.quiet-button{padding:9px 12px}.chart-wrap{height:205px}.chart-legend{font-size:15px}.chart-bottom{gap:8px;padding-left:0}#modelLabel{font-size:14px}.peak-label{font-size:11px}.controls-title h3{font-size:15px}.controls-actions{gap:12px}.text-button{font-size:12px}.controls-footnote{font-size:13px}.apply-actions{gap:8px}.apply-button,.sound-save-button{min-width:0;flex:1;padding:0 14px;font-size:15px}.apply-button{justify-content:space-between}.apply-copy p{font-size:13px}.toast{max-width:calc(100vw - 28px);right:14px;bottom:18px}.connection-guide{min-height:540px;padding-left:5px;padding-right:5px}.connection-guide h1{font-size:34px}.welcome-description{font-size:14px}.measurement-upload-grid{grid-template-columns:1fr}.profile-header .return-edit-button{font-size:12px;padding:10px}.dialog{max-width:calc(100vw - 24px)}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* CB output warning: prominent banner above the individual band threshold. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.volume-guidance.is-alerting{border-color:#931E19;background:#B3261E;color:#FFFFFF;animation:gain-warning-frame 1.6s ease-in-out infinite}
.volume-guidance.is-alerting:before{background:#FFFFFF;color:#A4221A}
.volume-guidance-copy{opacity:1;animation:none;transform:none;text-shadow:none}
.band-column.is-high-gain{border-color:#C42D23;background:#FFF0EA;box-shadow:inset 0 0 0 1px #C42D23}.band-column.is-high-gain .band-gain input{border:2px solid #C42D23;background:#FFF6F2;color:#9F2018;font-weight:750}
@keyframes gain-warning-frame{0%,100%{background:#B3261E;box-shadow:0 0 0 0 #C42D2300}50%{background:#CB3324;box-shadow:0 0 0 3px #C42D2335}}
@media(prefers-reduced-motion:reduce){.volume-guidance.is-alerting,.volume-guidance.is-alerting .volume-guidance-copy{animation:none}}
/* Keep transient notifications away from an active output warning. */
body:has(#volumeGuidance.is-alerting) .toast{top:82px;bottom:auto}
@media(max-width:900px){body:has(#volumeGuidance.is-alerting) .toast{top:18px}}

/* Same slots and type sizes in both languages; switching never changes EQ geometry. */
.language-bar{display:flex;justify-content:flex-end;align-items:center;flex:none;height:44px;margin-bottom:6px}
.language-picker{display:inline-flex;align-items:center;border:1px solid #B8C1CC;border-radius:7px;background:#FFFFFF;overflow:hidden}
.language-picker button{width:66px;height:40px;padding:0;border:0;background:transparent;color:#495361;font-size:14px;font-weight:650}
.language-picker button[aria-pressed=true]{background:#FF5B24;color:white}
.language-picker button:focus-visible{outline-offset:-4px}
.profile-intro{flex:1;overflow:hidden}.profile-intro h2{width:250px;flex:none;font-size:23px;overflow:hidden;text-overflow:ellipsis}
.profile-intro p{flex:1;min-width:0;height:42px;overflow:auto;font-size:13px}
.profile-header{height:72px}.profile-actions{gap:10px}.eq-power{width:130px}.quiet-button{width:112px}.return-edit-button{width:120px}
.controls-actions .switch-label{width:140px}.controls-actions .text-button{width:72px}
.controls-title h3{min-width:190px}
.preset-copy{overflow:hidden}.preset-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preset-item{height:58px}
#modelLabel{height:48px;overflow:auto;flex:1}.chart-bottom{min-height:57px}.peak-label{width:150px;text-align:right;flex:none}
.controls-footnote{min-height:54px}.controls-footnote>span:first-child{height:46px;overflow:auto;flex:1;align-items:center}
.volume-guidance-copy{display:flex;align-items:center;min-width:0;height:52px;overflow:auto;flex:1}
.apply-copy{flex:1}.apply-copy strong{display:block;height:26px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.apply-copy p{height:47px;overflow:auto}
.apply-actions{width:340px;justify-content:flex-end}.apply-button{width:178px;min-width:178px;flex:none}.sound-save-button{width:150px;min-width:150px;flex:none}
.welcome-connect{width:244px}.welcome-description{height:58px}.welcome-help{height:51px}
@media(min-width:901px) and (max-width:1400px){.profile-intro{display:block}.profile-intro h2{width:100%;font-size:23px;line-height:31px}.profile-intro p{height:32px;line-height:16px;padding:0;border:0;font-size:12px;margin-top:0}.preset-name{font-size:14px}.sidebar-heading{font-size:16px}}
@media(min-width:901px) and (max-height:820px){.language-bar{height:40px;margin-bottom:2px}.language-picker button{height:36px}.profile-header{height:72px}.preset-item{height:51px}#modelLabel{height:45px}.chart-bottom{min-height:51px}.controls-footnote{min-height:50px}.controls-footnote>span:first-child{height:44px}.apply-bar{min-height:88px}.volume-guidance-copy{height:52px}}
@media(max-width:900px){.profile-header{height:auto;min-height:150px;flex-direction:column;align-items:stretch}.profile-intro{flex:none}.profile-intro h2{width:100%;font-size:23px;line-height:32px}.profile-intro p{height:42px;font-size:13px;line-height:21px}.profile-actions{height:44px;flex:none;flex-wrap:nowrap;gap:8px}.quiet-button{width:95px}.return-edit-button{width:110px}.eq-power{width:125px}.controls-heading{min-height:100px;align-content:center}.controls-actions{width:100%;justify-content:flex-end}.apply-copy p{height:65px}.apply-actions{width:100%}.apply-button{flex:none;min-width:178px}.sound-save-button{flex:none;min-width:150px}.controls-footnote{min-height:70px}.controls-footnote>span:first-child{height:64px}.volume-guidance-copy{height:92px}#modelLabel{height:85px;max-width:none}.chart-bottom{min-height:95px}.peak-label{width:100px}.welcome-description{font-size:13px}.welcome-help{height:72px}.language-bar{height:44px;margin-bottom:8px}}
@media(min-width:901px){
 .main-content{position:relative}.language-bar{position:absolute;top:20px;right:30px;width:134px;height:44px;margin:0;z-index:2}.profile-actions{padding-right:148px}
 .controls-footnote{min-height:30px}.controls-footnote>span:first-child{height:24px}.volume-guidance-copy{height:26px}
 .chart-section{min-height:180px}
}
@media(min-width:901px) and (max-height:820px){.language-bar{top:15px}.chart-section{min-height:174px}.volume-guidance-copy{height:26px}}
@media(min-width:901px) and (max-width:1200px){.language-bar{right:22px}.profile-actions{padding-right:142px;gap:6px}.eq-power{width:120px}.quiet-button{width:95px}.return-edit-button{width:110px}.volume-guidance-copy{height:52px}.controls-footnote>span:first-child{height:46px}.controls-footnote{min-height:52px}}
@media(min-width:1201px) and (max-height:820px){.controls-heading{margin-bottom:1px}.band-gain{margin-bottom:6px}.controls-footnote{min-height:25px}.controls-footnote>span:first-child{height:23px}}
@media(min-width:1201px) and (max-height:820px){.controls-heading{margin-bottom:0}.band-gain{margin-bottom:3px}}
@media(max-width:900px){.peak-label{display:flex;flex-direction:column;align-items:flex-end;white-space:normal;line-height:18px}.peak-label b{margin-left:0;white-space:nowrap}}
#connectionLabel{height:36px;line-height:18px;align-items:center}
@media(max-width:900px){#connectionLabel{height:30px;line-height:15px}}

/* Enlarged connection artwork. The brand is the shared vector, never generated lettering. */
.connection-guide h1{font-size:clamp(42px,4.1vw,64px)}
.welcome-description{font-size:16px}.welcome-help{font-size:15px}
.welcome-device{position:relative;width:min(480px,100%);aspect-ratio:1.55;margin:25px 0;border:1px solid #E2E5E8;border-radius:20px;background:#FFFFFF;box-shadow:0 5px 22px #55647706}
.welcome-device .welcome-device-art{position:absolute;left:50%;top:50%;display:block;width:135%;height:auto;max-width:none;transform:translate(-50%,-50%)}
.welcome-device .welcome-device-logo{position:absolute;left:50%;top:44.77%;display:block;width:14.4%;height:auto;max-width:none;transform:translate(-50%,-50%)}
@media(min-width:901px) and (max-height:820px){.connection-guide h1{font-size:46px}.welcome-device{width:400px;margin:18px 0}.welcome-description{font-size:15px}}
@media(min-width:901px) and (max-height:660px){.connection-guide h1{font-size:36px}.welcome-device{width:310px;margin:12px 0}.welcome-description{font-size:14px}.welcome-help{font-size:13px}}
@media(max-width:900px){.connection-guide h1{font-size:42px}.welcome-device{width:min(440px,100%);margin:22px 0}.welcome-description{font-size:14px}.welcome-help{font-size:14px}}
@media(max-width:520px){.connection-guide h1{font-size:36px}.welcome-device{width:100%;border-radius:16px}.welcome-description{font-size:13px}.welcome-help{font-size:13px}}
/* Scale the whole welcome group together, including its primary action. */
.welcome-eyebrow{font-size:12px}.welcome-connect{width:300px;max-width:100%;min-height:60px;font-size:19px;padding:0 27px}
@media(min-width:901px) and (max-height:820px){.welcome-connect{width:280px;min-height:56px;font-size:18px}}
@media(min-width:901px) and (max-height:660px){.welcome-connect{width:260px;min-height:50px;font-size:16px}}
@media(max-width:900px){.welcome-connect{width:280px;min-height:56px;font-size:18px}}
@media(max-width:900px){.connect-button{height:44px;min-height:44px;padding:8px;gap:4px;white-space:nowrap}}

/* One shared toolbar row: equal control boxes and a larger language selector. */
.profile-header{padding-bottom:12px}
.profile-actions{gap:12px;padding-right:0}
.profile-actions .eq-power,.profile-actions .quiet-button,.profile-actions .return-edit-button{width:152px;height:48px;min-height:48px;flex:none;font-size:16px}
.profile-actions .eq-power{justify-content:center;border:1px solid #C2C9D1;border-radius:7px;background:#FFFFFFA6;padding:0 10px;gap:10px}
.language-bar{width:152px;height:48px}
.language-picker{width:152px;height:48px;flex:none}
.language-picker button{width:75px;height:46px;flex:1;font-size:16px;font-weight:650}
.profile-actions .language-bar{position:static;display:flex;width:152px;height:48px;margin:0;flex:none;z-index:auto}
.toast{width:max-content;max-width:min(760px,calc(100vw - 52px));word-break:keep-all;overflow-wrap:break-word}
@media(min-width:901px) and (max-width:1200px){
 .profile-actions{gap:8px;padding-right:0}
 .profile-actions .eq-power,.profile-actions .quiet-button,.profile-actions .return-edit-button,.profile-actions .language-bar,.profile-actions .language-picker{width:132px}
 .profile-actions .language-picker button{width:65px}
}
@media(max-width:900px){
 .profile-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;height:auto;min-height:48px;width:100%;padding-right:0}
 .profile-actions .eq-power,.profile-actions .quiet-button,.profile-actions .return-edit-button,.profile-actions .language-bar,.profile-actions .language-picker{width:100%;min-width:0;font-size:14px}
 .profile-actions .eq-power{grid-column:1;grid-row:1;padding:0 5px;gap:5px}
 .profile-actions .quiet-button{grid-column:2;grid-row:1;padding:0 5px}
 .profile-actions .language-bar{grid-column:3;grid-row:1}
 .profile-actions .return-edit-button{grid-column:1/-1;grid-row:2}
 .profile-actions .language-picker button{width:50%;min-width:0;font-size:14px}
 .profile-actions .switch-track{width:38px;height:24px}.profile-actions .switch-track:after{width:16px;height:16px}.profile-actions .switch-label input:checked+.switch-track:after{transform:translateX(14px)}
 .language-bar{height:48px;margin-bottom:8px}
 .toast{max-width:calc(100vw - 32px);right:16px}
}
/* Type hierarchy: headings, values/actions, guidance, then supporting labels. */
:root{--type-title:24px;--type-section:17px;--type-value:16px;--type-body:14px;--type-detail:12px;--guidance-ink:#3D4856}
.profile-intro h2{font-size:var(--type-title);font-weight:700}
.chart-legend,.controls-title h3{font-size:var(--type-section);font-weight:650}
.profile-intro p{font-size:var(--type-body);font-weight:400;color:#56616E;line-height:20px}
#modelLabel{font-size:15px;font-weight:500;color:var(--guidance-ink)}
.controls-footnote{font-size:var(--type-body);font-weight:500;line-height:22px;color:var(--guidance-ink)}
.apply-copy p{font-size:var(--type-body);font-weight:500;color:var(--guidance-ink)}
.apply-copy strong{font-size:var(--type-section);font-weight:650}
.band-frequency input{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.band-gain input{font-size:var(--type-value);font-weight:650;font-variant-numeric:tabular-nums}
.band-frequency small,.band-gain small,.band-number,.band-scale{font-size:var(--type-detail);font-weight:500;color:#52606E}
.band-q{font-size:var(--type-detail);color:#52606E}.band-q input{font-size:13px;line-height:18px}
.band-filter select{font-size:var(--type-detail);line-height:18px}
.controls-footnote>span:last-child{font-size:var(--type-detail);color:#687483}
.sound-save-button{font-size:var(--type-value);font-weight:600}
.sound-dialog-help,.help-text,.settings-footer{color:#56616E}.sound-name-label{font-size:var(--type-body)}
.library-count,.preset-item[data-preset]::after{font-size:11px}
@media(min-width:901px) and (max-width:1400px){.profile-intro p{font-size:13px;line-height:16px}}
@media(max-width:900px){#modelLabel{font-size:var(--type-body)}.controls-footnote>span:first-child{height:66px}.apply-copy p{height:70px}}
.profile-intro p,#modelLabel,#controlsFootnoteText,.apply-copy p{word-break:keep-all;overflow-wrap:break-word}
/* Audio-device guidance stays easy to notice without changing its reserved slot. */
#modelLabel{font-size:16px;font-weight:650;line-height:22px;color:#253342}
@media(max-width:900px){#modelLabel{font-size:15px;line-height:21px}}

/* Flat connection artwork: retain the welcome slot and the shared vector logo. */
.welcome-device{background:#FFFFFF}
.welcome-device .welcome-device-art{width:100%;height:100%;object-fit:contain}
.welcome-device .welcome-device-logo{top:41%;width:12.4%}
